<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response query-string="rq_VM=696E7465726E616C2F6C61796F75742F766D2F68746D6C2F6672616D65732F6C6F67696E5F73746172742E766D"><![CDATA[<div id="Login_Start">
    <div id="Login_Start_Header">
                <span>Bitte melden Sie sich mit Ihrem Benutzername und Kennwort an.<br><br>Sollten Sie Probleme mit dem Login haben oder Ihr Kennwort nicht mehr wissen, dürfen Sie sich gerne an uns wenden. <br><br><br><br>Please log in with your username and password.</span>
    </div>
    <div id="Login_Start_SignIn">
        

<style data-style="login_styles">
    /* login core */
    #Cookie_Warning {
        display: none;
    }
    #Cookie_Warning_Help_Content {
        display: none;
    }

    /* password change */
    #ID_PwContainer .ShowElement {
        display: block;
    }

    /* notifications */
    .Login_InfoBox {
        display: none;
    }
</style>

<div class="InfoBox_Warning" id="Cookie_Warning">
    <h2 id="Cookie_Warning_Caption">Cookies scheinen deaktiviert zu sein.</h2>
    <p class="Text_Standard" id="Cookie_Warning_Content">
        Möglicherweise sind in Ihrem Browser Cookies deaktiviert. Stellen Sie sicher, dass Cookies aktiviert sind, oder öffnen Sie ein neues Browser-Fenster. <a class="Link_Standard" id="Cookie_Warning_Help" href="#">[<strong>?</strong>]</a>
    </p>
    <p class="Text_Standard" id="Cookie_Warning_Help_Content">Das Aktivieren von Cookies erleichtert Ihnen das Surfen im Web. Cookies sind von besuchten Websites erstellte Dateien, die Informationen wie Ihre bevorzugte Sprache oder Profilinformationen speichern. Wenn Sie Cookies in Ihrem Browser aktiviert haben und die Fehlermeldung dennoch angezeigt wird, versuchen Sie, ein neues Fenster in Ihrem Browser zu öffnen oder andere Tabs im Browser zu schließen. Sollten weiterhin Probleme auftreten, versuchen Sie, den Cache zu leeren und die Cookies zu löschen.</p>
</div>

<div class="Login_Container loggedout" id="login_4301835049126672056">
                    
        <form aria-label="Login" id="ID_frmLogin_3662402046830937660" name="frmLogin" accept-charset="UTF-8" method="POST" action="" enctype="multipart/form-data">
        <div class="Login_Header">
            <div class="Login_Header_Icon"></div>
            <div class="Login_Header_Username">
                
                                                            Gast
                                                </div>
        </div>

        <div class="Login_Content clearfix">
                                        <div class="Login_Row">
                    <label class="Login_Row_Label username-label Text_Standard" for="ID_USERNAME">Benutzername / Username</label>
                    <div class="Login_Row_Icon_Group">
                        <span class="Login_Row_Icon username-icon"></span>
                        <input class="Editfield_Standard username-input" id="ID_USERNAME" name="fr_LoginName" type="text" value="" placeholder="Benutzername / Username" form="ID_frmLogin_3662402046830937660" size="27">
                    </div>
                </div>
            
                                        <div class="Login_Row">
                    <label class="Login_Row_Label password-label Text_Standard" for="ID_PASSWORD">Passwort / Password</label>
                    <div class="Login_Row_Icon_Group">
                        <span class="Login_Row_Icon password-icon"></span>
                        <input class="Editfield_Standard password-input" id="ID_PASSWORD" name="fr_Password" type="password" placeholder="Passwort / Password" form="ID_frmLogin_3662402046830937660" autocomplete="off" size="27">
                        <a role="button" tabindex="0" aria-label="Passwort anzeigen" class="Login_Row_Icon passwordShow-icon" id="ID_PWDToggle" title="Passwort anzeigen"></a>
                    </div>
                                    </div>
            
                                                            <input id="ID_LOGINDOMAIN" name="fr_LoginDomain" type="hidden" value="" form="ID_frmLogin_3662402046830937660">
                                    </div>

                    <div class="Login_InfoBox InfoBox_Warning" aria-describedby="LoginErrorCapslock" role="alert" aria-atomic="true">
                <div class="InfoBoxContent">
                    <span aria-hidden="true" class="icon icon54-s_BasicIcons-ErrorMark"></span>
                    <span class="text" id="LoginErrorCapslock">Achtung: Die Feststelltaste ist aktiviert.</span>
                </div>
            </div>
        
        <div class="Login_InfoBox InfoBox_Error" aria-describedby="LoginErrorMsg" role="alert" aria-atomic="true">
            <div class="InfoBoxContent">
                <span aria-hidden="true" class="icon icon54-s_BasicIcons-Error"></span>
                <span class="text" id="LoginErrorMsg">Ihre Benutzername/Passwortkombination ist nicht gültig.<br>Bitte versuchen Sie es erneut.</span>
            </div>
        </div>

        <div class="Login_Footer">
                                        <input class="Button_Standard" id="ID_LOGIN" name="Login" type="submit" value="Anmelden / Login" form="ID_frmLogin_3662402046830937660">
                                                                        <input class="Button_Azure" id="ID_LOGIN_azure" type="button" onclick="location.href='/oauth2/authorization/azure'" value="Microsoft Azure">
                                                </div>
    </form>

                <div class="Login_Footer">
            <input class="$provider.getStyleClass()" id="ID_LOGIN_$provider.getName()" type="button" onclick="location.href='https://portal.fleetteam.de/Registrierung'" value="Registrierung" style="background-color: #267BD9; color: black;">
    </div>

<style>
    .Login_Footer input:hover {
        background-color: blue; /* Ändere die Hintergrundfarbe hier nach Bedarf */
    }
</style>    
    <script id="initLogin">
        






function handleLoginResponse(status, data, loginContainer) {
    if (data.initOtpLogin) {
        // remove initOtpLogin
        delete data.initOtpLogin;

        // Replace the current login content with the ix-login-otp component
        loginContainer.html("<ix-login-otp></ix-login-otp>");

        // Retrieve the inserted ix-login-otp element
        const ixLoginOtp = loginContainer.find("ix-login-otp")[0];
        if (!ixLoginOtp) {
            console.error("» Failed to insert or find `ix-login-otp` element!");
            return;
        }

        // Remove non-otp related data from the object to keep the config clean
        Object.keys(data).forEach(key => {
            if (key !== 'credentials' && !key.startsWith('hints')) {
                delete data[key];
            }
        });
        
        // Assign the data config to the ix-login-otp component
        ixLoginOtp._config = data;

        // Hide the .Login_Start_Header when the ix-login-otp component is shown
        $("#Login_Start_Header").hide();

        // Stop the default login process and handle the login + otp process with the ix-login-otp component
        return;
    }


    // handle password expire logic
    var pwdExpiresInDays = !!data.daysPwdExpires ? data.daysPwdExpires : "infinite";
    if (pwdExpiresInDays !== "infinite") {
        pwdExpiresInDays = parseInt(pwdExpiresInDays, 10);
    }

    // set user language and locale
    ix.cookie.setValue("co_Lang", data.language, true);
    ix.cookie.setValue("co_Locale", data.locale, true);

    // handle password change/expire
    if (data.mustChangePwd) {
        if (!data.canChangePwd) {
            console.warn("LOGIN: The User must change its password but has insufficient rights to do that!");
        }
        closeAndReload();
    } else if (data.warnPwdExpires && data.canChangePwd) {
        // hide warning after 20sec
        var timeout = window.setTimeout("closeAndReload()", 20000);

        // setup warning text
        var warnMsg;
        if (pwdExpiresInDays === 'infinite') {
            warnMsg = "Ihr\x20Passwort\x20l\xE4uft\x20ab\x2E" + " Zeit\x20zum\x20\xE4ndern\x20Ihres\x20Passwortes\x2E";
        } else if (pwdExpiresInDays === 1) {
            warnMsg = "Ihr\x20Passwort\x20l\xE4uft\x20ab\x2E" + " Sie\x20haben\x20noch\x20" + "einen\x20Tag\x20" + "Zeit\x20zum\x20\xE4ndern\x20Ihres\x20Passwortes\x2E";
        } else {
            warnMsg = "Ihr\x20Passwort\x20l\xE4uft\x20ab\x2E" + " Sie\x20haben\x20noch\x20 " + pwdExpiresInDays + " Tage\x20" + " Zeit\x20zum\x20\xE4ndern\x20Ihres\x20Passwortes\x2E";
        }

        // determine correct login container
        loginContainer = loginContainer || $(".Login_Container").last();

        // parse warning text
        loginContainer.replaceWith(        `<div class="Login_InfoBoxPersistence InfoBox_Warning" id="PWD_REMAINDER">
        <div class="InfoBoxContent">
            <span class="icon icon54-s_BasicIcons-ErrorMark"></span>
            <span class="text">
                <h2 style="padding-bottom:10px;">${warnMsg}</h2>
                Zum ändern des Passwortes hier klicken:
                <a class="Link_Strong" onclick="clearTimeout(${timeout}); changePassword(\'intrexxauth\'); return true;" href="#">
                    Jetzt ändern
                </a>
            </span>
        </div>
    </div>
    <a class="Link_Standard" onclick="clearTimeout(${timeout}); closeAndReload(); return true;" href="#" style="float:right; padding-top:5px; color:inherit;">
        Fenster schließen
    </a>`
);
    } else {
        closeAndReload();
    }
}

function closeAndReload() {
    $.when(oHtmlRoot.oUp.mediator.publish("ix:login:successfull", {}))
    .done(function(subscriberResults) {
        if (subscriberResults.length === 0) {
            oHtmlRoot.document.location.href = ix.util.getBaseUrl();
        }    
    })
    .fail(function() {
        oHtmlRoot.document.location.href = ix.util.getBaseUrl();
    })
    

    }

        function initLogin() {
            var login_4301835049126672056 = new upLogin();

                                
            login_4301835049126672056.init("intrexxauth", $("#login_4301835049126672056"));

                            var token = [];
                                    token.push("urn:schemas-unitedplanet-de:login-token:oauth2-claim");
                                login_4301835049126672056.setToken(token);
                            var token = [];
                                    token.push("urn:schemas-unitedplanet-de:login-token:user-name");
                                    token.push("urn:schemas-unitedplanet-de:login-token:domain-name");
                                    token.push("urn:schemas-unitedplanet-de:login-token:password");
                                login_4301835049126672056.setToken(token);
                            var token = [];
                                login_4301835049126672056.setToken(token);
            
            login_4301835049126672056.setFocus();
        }

        $(function() {
            $.when($.loadLegacyBundle("all_login.js")).done(function() {
                initLogin();
            });

            $("#Cookie_Warning_Help").on("click", function(e) {
                e.preventDefault();
                $("#Cookie_Warning_Help_Content").toggle();
            });
        });
    </script>
</div>    </div>
</div>
]]></response>            