vendor: 4,285 bytes, lines 1-4
1(function($){typeof define=="function"&&define.amd?define($):$()})(function(){"use strict";/*! 2* tabbable 6.2.0 3* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 4*/var $=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Z=$.join(","),oe=typeof Element>"u",R=oe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z=!oe&&Element.prototype.getRootNode?function(i){var e;return i==null||(e=i.getRootNode)===null||e===void 0?void 0:e.call(i)}:function(i){return i==null?void 0:i.ownerDocument},J=function i(e,t){var n;t===void 0&&(t=!0);var s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),c=s===""||s==="true",a=c||t&&e&&i(e.parentNode);return a},we=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},se=function(e,t,n){if(J(e))return[];var s=Array.prototype.slice.apply(e.querySelectorAll(Z));return t&&R.call(e,Z)&&s.unshift(e),s=s.filter(n),s},ce=function i(e,t,n){for(var s=[],c=Array.from(e);c.length;){var a=c.shift();if(!J(a,!1))if(a.tagName==="SLOT"){var l=a.assignedElements(),v=l.length?l:a.children,N=i(v,!0,n);n.flatten?s.push.apply(s,N):s.push({scopeParent:a,candidates:N})}else{var S=R.call(a,Z);S&&n.filter(a)&&(t||!e.includes(a))&&s.push(a);var k=a.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(a),P=!J(k,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(k&&P){var U=i(k===!0?a.children:k.children,!0,n);n.flatten?s.push.apply(s,U):s.push({scopeParent:a,candidates:U})}else c.unshift.apply(c,a.children)}}return s},ue=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},q=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||we(e))&&!ue(e)?0:e.tabIndex},Te=function(e,t){var n=q(e);return n<0&&t&&!ue(e)?0:n},Be=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},le=function(e){return e.tagName==="INPUT"},Ee=function(e){return le(e)&&e.type==="hidden"},ke=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Le=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Se=function(e){if(!e.name)return!0;var t=e.form||z(e),n=function(l){return t.querySelectorAll('input[type="radio"][name="'+l+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=n(window.CSS.escape(e.name));else try{s=n(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var c=Le(s,e.form);return!c||c===e},xe=function(e){return le(e)&&e.type==="radio"},_e=function(e){return xe(e)&&!Se(e)},Fe=function(e){var t,n=e&&z(e),s=(t=n)===null||t===void 0?void 0:t.host,c=!1;if(n&&n!==e){var a,l,v;for(c=!!((a=s)!==null&&a!==void 0&&(l=a.ownerDocument)!==null&&l!==void 0&&l.contains(s)||e!=null&&(v=e.ownerDocument)!==null&&v!==void 0&&v.contains(e));!c&&s;){var N,S,k;n=z(s),s=(N=n)===null||N===void 0?void 0:N.host,c=!!((S=s)!==null&&S!==void 0&&(k=S.ownerDocument)!==null&&k!==void 0&&k.contains(s))}}return c},de=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return n===0&&s===0},Ie=function(e,t){var n=t.displayCheck,s=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var c=R.call(e,"details>summary:first-of-type"),a=c?e.parentElement:e;if(R.call(a,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof s=="function"){for(var l=e;e;){var v=e.parentElement,N=z(e);if(v&&!v.shadowRoot&&s(v)===!0)return de(e);e.assignedSlot?e=e.assignedSlot:!v&&N!==e.ownerDocument?e=N.host:e=v}e=l}if(Fe(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return de(e);return!1}
vendor: 5,529 bytes, lines 4-8
4,Pe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var s=t.children.item(n);if(s.tagName==="LEGEND")return R.call(t,"fieldset[disabled] *")?!0:!s.contains(e)}return!0}t=t.parentElement}return!1},X=function(e,t){return!(t.disabled||J(t)||Ee(t)||Ie(t,e)||ke(t)||Pe(t))},te=function(e,t){return!(_e(t)||q(t)<0||!X(e,t))},Ae=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ce=function i(e){var t=[],n=[];return e.forEach(function(s,c){var a=!!s.scopeParent,l=a?s.scopeParent:s,v=Te(l,a),N=a?i(s.candidates):l;v===0?a?t.push.apply(t,N):t.push(l):n.push({documentOrder:c,tabIndex:v,item:s,isScope:a,content:N})}),n.sort(Be).reduce(function(s,c){return c.isScope?s.push.apply(s,c.content):s.push(c.content),s},[]).concat(t)},Oe=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ce([e],t.includeContainer,{filter:te.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ae}):n=se(e,t.includeContainer,te.bind(null,t)),Ce(n)},De=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ce([e],t.includeContainer,{filter:X.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=se(e,t.includeContainer,X.bind(null,t)),n},K=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return R.call(e,Z)===!1?!1:te(t,e)},Re=$.concat("iframe").join(","),ne=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return R.call(e,Re)===!1?!1:X(t,e)};/*! 5* focus-trap 7.6.2 6* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 7*/function ie(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=Array(e);t<e;t++)n[t]=i[t];return n}function qe(i){if(Array.isArray(i))return ie(i)}function Ue(i,e,t){return(e=Ge(e))in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function je(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Ke(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fe(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),t.push.apply(t,n)}return t}function ve(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(t),!0).forEach(function(n){Ue(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function Me(i){return qe(i)||je(i)||Ve(i)||Ke()}function $e(i,e){if(typeof i!="object"||!i)return i;var t=i[Symbol.toPrimitive];if(t!==void 0){var n=t.call(i,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function Ge(i){var e=$e(i,"string");return typeof e=="symbol"?e:e+""}function Ve(i,e){if(i){if(typeof i=="string")return ie(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ie(i,e):void 0}}var be={activateTrap:function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var s=e.indexOf(t);s===-1||e.splice(s,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},We=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ye=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},G=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},He=function(e){return G(e)&&!e.shiftKey},Ze=function(e){return G(e)&&e.shiftKey},ge=function(e){return setTimeout(e,0)},V=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return typeof e=="function"?e.apply(void 0,n):e},Q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},ze=[],Je=function(e,t){var n=(t==null?void 0:t.document)||document,s=(t==null?void 0:t.trapStack)||ze,c=ve({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:He,isKeyBackward:Ze},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,v=function(r,o,u){return r&&r[o]!==void 0?r[o]:c[u||o]},N=function(r,o){var u=typeof(o==null?void 0:o.composedPath)=="function"?o.composedPath():void 0;return a.containerGroups.findIndex(function(m){var h=m.container,w=m.tabbableNodes;return h.contains(r)||(u==null?void 0:u.includes(h))||w.find(function(f){return f===r})})},S=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.hasFallback,m=u===void 0?!1:u,h=o.params,w=h===void 0?[]:h,f=c[r];if(typeof f=="function"&&(f=f.apply(void 0,Me(w))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(r,"` was specified but was not a node, or did not return a node"))}var T=f;if(typeof f=="string"){try{T=n.querySelector(f)}catch(B){throw new Error("`".concat(r,'` appears to be an invali
8d selector; error="').concat(B.message,'"'))}if(!T&&!m)throw new Error("`".concat(r,"` as selector refers to no known node"))}return T},k=function(){var r=S("initialFocus",{hasFallback:!0});if(r===!1)return!1;if(r===void 0||r&&!ne(r,c.tabbableOptions))if(N(n.activeElement)>=0)r=n.activeElement;else{var o=a.tabbableGroups[0],u=o&&o.firstTabbableNode;r=u||S("fallbackFocus")}else r===null&&(r=S("fallbackFocus"));if(!r)throw new Error("Your focus-trap needs to have at least one focusable element");return r},P=function(){if(a.containerGroups=a.containers.map(function(r){var o=Oe(r,c.tabbableOptions),u=De(r,c.tabbableOptions),m=o.length>0?o[0]:void 0,h=o.length>0?o[o.length-1]:void 0,w=u.find(function(B){return K(B)}),f=u.slice().reverse().find(function(B){return K(B)}),T=!!o.find(function(B){return q(B)>0});return{container:r,tabbableNodes:o,focusableNodes:u,posTabIndexesFound:T,firstTabbableNode:m,lastTabbableNode:h,firstDomTabbableNode:w,lastDomTabbableNode:f,nextTabbableNode:function(j){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=o.indexOf(j);return D<0?Y?u.slice(u.indexOf(j)+1).find(function(H){return K(H)}):u.slice(0,u.indexOf(j)).reverse().find(function(H){return K(H)}):o[D+(Y?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(r){return r.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!S("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find(function(r){return r.posTabIndexesFound})&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},U=function(r){var o=r.activeElement;if(o)return o.shadowRoot&&o.shadowRoot.activeElement!==null?U(o.shadowRoot):o},I=function(r){if(r!==!1&&r!==U(document)){if(!r||!r.focus){I(k());return}r.focus({preventScroll:!!c.preventScroll}),a.mostRecentlyFocusedNode=r,We(r)&&r.select()}},ee=function(r){var o=S("setReturnFocus",{params:[r]});return o||(o===!1?!1:r)},A=function(r){var o=r.target,u=r.event,m=r.isBackward,h=m===void 0?!1:m;o=o||Q(u),P();var w=null;if(a.tabbableGroups.length>0){var f=N(o,u),T=f>=0?a.containerGroups[f]:void 0;if(f<0)h?w=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:w=a.tabbableGroups[0].firstTabbableNode;else if(h){var B=a.tabbableGroups.findIndex(function(ae){var re=ae.firstTabbableNode;return o===re});if(B<0&&(T.container===o||ne(o,c.tabbableOptions)&&!K(o,c.tabbableOptions)&&!T.nextTabbableNode(o,!1))&&(B=f),B>=0){var j=B===0?a.tabbableGroups.length-1:B-1,Y=a.tabbableGroups[j];w=q(o)>=0?Y.lastTabbableNode:Y.lastDomTabbableNode}else G(u)||(w=T.nextTabbableNode(o,!1))}else{var D=a.tabbableGroups.findIndex(function(ae){var re=ae.lastTabbableNode;return o===re});if(D<0&&(T.container===o||ne(o,c.tabbableOptions)&&!K(o,c.tabbableOptions)&&!T.nextTabbableNode(o))&&(D=f),D>=0){var H=D===a.tabbableGroups.length-1?0:D+1,Ne=a.tabbableGroups[H];w=q(o)>=0?Ne.firstTabbableNode:Ne.firstDomTabbableNode}else G(u)||(w=T.nextTabbableNode(o))}}else w=S("fallbackFocus");return w},C=function(r){var o=Q(r);if(!(N(o,r)>=0)){if(V(c.clickOutsideDeactivates,r)){l.deactivate({returnFocus:c.returnFocusOnDeactivate});return}V(c.allowOutsideClick,r)||r.preventDefault()}},d=function(r){var o=Q(r),u=N(o,r)>=0;if(u||o instanceof Document)u&&(a.mostRecentlyFocusedNode=o);else{r.stopImmediatePropagation();var m,h=!0;if(a.mostRecentlyFocusedNode)if(q(a.mostRecentlyFocusedNode)>0){var w=N(a.mostRecentlyFocusedNode),f=a.containerGroups[w].tabbableNodes;if(f.length>0){var T=f.findIndex(function(B){return B===a.mostRecentlyFocusedNode});T>=0&&(c.isKeyForward(a.recentNavEvent)?T+1<f.length&&(m=f[T+1],h=!1):T-1>=0&&(m=f[T-1],h=!1))}}else a.containerGroups.some(function(B){return B.tabbableNodes.some(function(j){return q(j)>0})})||(h=!1);else h=!1;h&&(m=A({target:a.mostRecentlyFocusedNode,isBackward:c.isKeyBackward(a.recentNavEvent)})),I(m||a.mostRecentlyFocusedNode||k())}a.recentNavEvent=void 0},p=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;a.recentNavEvent=r;var u=A({event:r,isBackward:o});u&&(G(r)&&r.preventDefault(),I(u))},y=function(r){(c.isKeyForward(r)||c.isKeyBackward(r))&&p(r,c.isKeyBackward(r))},b=function(r){Ye(r)&&V(c.escapeDeactivates,r)!==!1&&(r.preventDefault(),l.deactivate())},E=function(r){var o=Q(r);N(o,r)>=0||V(c.clickOutsideDeactivates,r)||V(c.allowOutsideClick,r)||(r.preventDefault(),r.stopImmediatePropagation())},x=function(){if(a.active)return be.activateTrap(s,l),a.delayInitialFocusTimer=c.delayInitialFocus?ge(function(){I(k())}):I(k()),n.addEventListener("focusin",d,!0),n.addEventListener("mousedown",C,{capture:!0,passive:!1}),n.addEventListener("touchstart",C,{capture:!0,passive:!1}),n.addEventListener("click",E,{capture:!0,passive:!1}),n.addEventListener("keydown",y,{capture:!0,passive:!1}),n.addEventListener("keydown",b),l},L=function(){if(a.active)return n.removeEventListener("focusin",d,!0),n.removeEventListener("mousedown",C,!0),n.removeEventListener("touchstart",C,!0),n.removeEventListener("click",E,!0),n.removeEventListener("keydown",y,!0),n.removeEventListener("keydown",b),l},_=function(r){var o=r.some(function(u){var m=Array.from(u.removedNodes
8);return m.some(function(h){return h===a.mostRecentlyFocusedNode})});o&&I(k())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,O=function(){M&&(M.disconnect(),a.active&&!a.paused&&a.containers.map(function(r){M.observe(r,{subtree:!0,childList:!0})}))};return l={get active(){return a.active},get paused(){return a.paused},activate:function(r){if(a.active)return this;var o=v(r,"onActivate"),u=v(r,"onPostActivate"),m=v(r,"checkCanFocusTrap");m||P(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=n.activeElement,o==null||o();var h=function(){m&&P(),x(),O(),u==null||u()};return m?(m(a.containers.concat()).then(h,h),this):(h(),this)},deactivate:function(r){if(!a.active)return this;var o=ve({onDeactivate:c.onDeactivate,onPostDeactivate:c.onPostDeactivate,checkCanReturnFocus:c.checkCanReturnFocus},r);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,L(),a.active=!1,a.paused=!1,O(),be.deactivateTrap(s,l);var u=v(o,"onDeactivate"),m=v(o,"onPostDeactivate"),h=v(o,"checkCanReturnFocus"),w=v(o,"returnFocus","returnFocusOnDeactivate");u==null||u();var f=function(){ge(function(){w&&I(ee(a.nodeFocusedBeforeActivation)),m==null||m()})};return w&&h?(h(ee(a.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(r){if(a.paused||!a.active)return this;var o=v(r,"onPause"),u=v(r,"onPostPause");return a.paused=!0,o==null||o(),L(),O(),u==null||u(),this},unpause:function(r){if(!a.paused||!a.active)return this;var o=v(r,"onUnpause"),u=v(r,"onPostUnpause");return a.paused=!1,o==null||o(),P(),x(),O(),u==null||u(),this},updateContainerElements:function(r){var o=[].concat(r).filter(Boolean);return a.containers=o.map(function(u){return typeof u=="string"?n.querySelector(u):u}),a.active&&P(),O(),this}},l.updateContainerElements(e),l};function F(i,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};const t=document.createEvent("CustomEvent");return t.initCustomEvent(i,e.bubbles,e.cancelable,e.detail),t}typeof window.CustomEvent!="function"&&(F.prototype=window.Event.prototype,window.CustomEvent=F);function Xe(i){if(!i.tracking.gtm)return;window.dataLayer=window.dataLayer||[];const e="data-mf-analytics";document.querySelectorAll(`.mf-header [${e}], 9 .mf-sideNavigation [${e}]`).forEach(n=>{const s="microfrontend: header",c=`click: ${n.getAttribute(e)}`;n.addEventListener("click",()=>window.dataLayer.push({event:"event",eventCategory:s,eventAction:c})),n.removeAttribute(e)})}function me(){window.dispatchEvent(new CustomEvent("mf-header:ready"))}function Qe(){const i=window.setInterval(me,1e3);window.addEventListener("mf-header:ready-acknowledged",()=>{window.clearInterval(i)}),me()}let W=null;function et(){W=window.pageYOffset,document.querySelector("body").style.position="fixed",document.querySelector("body").style.top=`-${W}px`,document.querySelector("body").style.width="100%"}function tt(){document.querySelector("body").style.removeProperty("position"),document.querySelector("body").style.removeProperty("top"),document.querySelector("body").style.removeProperty("width"),W!==null&&(window.scrollTo(0,W),W=null)}const he=".mf-headerViewModel",pe="skip-to-content-target";function ye(){const i=document.querySelector(he).textContent,e=JSON.parse(i),t={sideNavigationTrigger:document.querySelector(".mf-header__sideNavigationTrigger"),loginButton:document.querySelector(".mf-header__loginButton"),bentoBoxTrigger:document.querySelector(".mf-header__bentoBoxTrigger"),bentoBox:document.querySelector(".mf-bentoBox"),loadingDots:document.querySelector(".mf-header .k-c-loadingDots")},n={bentoBoxTrigger:document.querySelector(".mf-header__bentoBoxTriggerTitle"),bentoBoxTitle:document.querySelector(".mf-bentoBox__userTitle"),bentoBoxPortrait:document.querySelector(".mf-bentoBox__userPortrait"),bentoBoxUserIcon:document.querySelector(".mf-bentoBox__userIcon"),sideNavigationUserTitle:document.querySelector(".mf-sideNavigation__userTitle"),sideNavigationUserPortrait:document.querySelector(".mf-sideNavigation__userPortrait"),sideNavigationUserIcon:document.querySelector(".mf-sideNavigation__userIcon"),bentoBoxLoginButton:document.querySelector(".mf-bentoBox__loginButton"),bentoBoxLogoutButton:document.querySelector(".mf-bentoBox__logoutButton"),bentoBoxRegisterLink:document.querySelector(".mf-bentoBox__guestLink"),bentoNavigationLinks:document.querySelectorAll(".mf-bentoBox__navigationLink")},s={sideNavigationTrigger:document.querySelector(".mf-header__sideNavigation .mf-notification"),bentoBoxTrigger:document.querySelector(".mf-header__bentoBoxTrigger .mf-notification"),sideNavigation:document.querySelectorAll(".mf-sideNavigation__userNavigation .mf-notification"),bentoBoxNavigation:document.querySelectorAll(".mf-bentoBox__userNavigation .mf-notification")},c={container:document.querySelector(".mf-sideNavigation"),guest:document.querySelector(".mf-sideNavigation__guest"),userDivider:document.querySelector(".mf-sideNavigation__userDivider"),close:document.querySelector(".mf-sideNavigation__close"),drawer:document.querySelector(".mf-sideNavigation__drawer"),loginButton:document.querySelector(".mf-sideNavigation__loginButton"),logoutButton:document.querySelector(".mf-sideNavigation__logoutButton"),registerLink:document.querySelector(".mf-sideNavigation__guestLink")},a={header:document.querySelectorAll(".mf-header__navigationItem"),sideNavigation:document.querySelectorAll(".mf-sideNavigation__navigationItem"),sideNavigationLinks:document.querySelectorAll(".mf-sideNavigation__navigationLink")},l={active:"k-state--active",open:"k-state--open",close:"k-state--close",hidden:"k-state--hidden"};function v(){var b,E,x;let d=!1;const p=Je(c.container,{allowOutsideClick:!0});function y(){c.container.classList.toggle(l.open),c.container.classList.toggle(l.close),d?(tt(),p.deactivate()):(et(),p.activate()),d=!d}(b=t.sideNavigationTrigger)==null||b.addEventListener("click",y),(E=c.container)==null||E.addEventListener("click",L=>{d&&L.target!==c.drawer&&!c.drawer.contains(L.target)&&y(),L.stopPropagation()}),(x=c.close)==null||x.addEventListener("click",L=>{y(),L.stopPropagation()})}function N(){var y;let d=!1;function p(){t.bentoBox.classList.toggle(l.open),t.bentoBox.classList.toggle(l.close),d=!d}(y=t.bentoBoxTrigger)==null||y.addEventListener("click",b=>{p(),b.stopPropagation()}),t.bentoBox&&document.addEventListener("click",b=>{d&&b.target!==t.bentoBox&&!t.bentoBox.contains(b.target)&&p(),b.stopPropagation()})}function S(){t.loginButton&&t.loginButton.tagName==="BUTTON"&&t.loginButton.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-loginButton"))}),n.bentoBoxLoginButton&&n.bentoBoxLoginButton.tagName==="BUTTON"&&n.bentoBoxLoginButton.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-loginButton"))}),n.bentoBoxLogoutButton&&n.bentoBoxLogoutButton.tagName==="BUTTON"&&n.bentoBoxLogoutButton.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-logoutButton"))}),n.bentoBoxRegisterLink&&!n.bentoBoxRegisterLink.href.length&&n.bentoBoxRegisterLink.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-registerLink"))}),c.loginButton&&c.loginButton.tagName==="BUTTON"&&c.loginButton.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-loginButton"))}),c.logoutButton&&c.logoutButton.tagName==="BUTTON"&&c.logoutButton.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-logoutButton"))}),c.registerLink&&!n.bentoBoxRegisterLink.href.length&&c.registerLink.addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-registerLink"))});for(let d=0;d<n.bentoNavigationLinks.length;d+=1)n.bentoNavigationLinks[d].tagName==="BUTTON"&&n.bentoNavigationLinks[d].addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-nav-item",{detail:{redirectUrl:n.bentoNavigationLinks[d].getAttribute("data-redirect-url")}}))});for(let d=0;d<a.sideNavigationLinks.length;d+=1)a.sideNavigationLinks[d].tagName==="BUTTON"&&a.sideNavigationLinks[d].addEventListener("click",()=>{window.dispatchEvent(new F("mf-header:click-nav-item",{detail:{redirectUrl:a.sideNavigationLinks[d].getAttribute("data-redirect-url")}}))})}function k(){if(document.getElementById(pe))return;const d=document.createElement("div");d.id=pe,d.classList.add("mf-visually-hidden");const p=document.querySelector(".mf-sideNavigation");p.parentNode.insertBefore(d,p.nextSibling)}function P(){var d,p,y,b;e.status.loggedIn&&(e.status.loading?((d=t.loadingDots)==null||d.classList.remove(l.hidden),(p=t.bentoBoxTrigger)==null||p.classList.add(l.hidden)):((y=t.loadingDots)==null||y.classList.add(l.hidden),(b=t.bentoBoxTrigger)==null||b.classList.remove(l.hidden)))}function U(){var d,p,y,b,E,x,L,_;e.status.loggedIn&&!e.headerAppearance.minimal&&(e.user.firstName?(n.bentoBoxTitle.innerText=`${e.user.firstName} ${e.user.lastName}`,n.sideNavigationUserTitle.innerText=`${e.user.firstName} ${e.user.lastName}`):(n.bentoBoxTitle.innerText=e.user.email,n.sideNavigationUserTitle.innerText=e.user.email),e.user.profileImageUrl?((d=n.bentoBoxUserIcon)==null||d.classList.add("mf-bentoBox__userIcon--hidden"),(p=n.bentoBoxPortrait)==null||p.classList.remove("mf-bentoBox__userPortrait--hidden"),(y=n.sideNavigationUserIcon)==null||y.classList.add("mf-sideNavigation__userIcon--hidden"),(b=n.sideNavigationUserPortrait)==null||b.classList.remove("mf-sideNavigation__userPortrait--hidden"),n.bentoBoxPortrait.src=e.user.profileImageUrl,n.sideNavigationUserPortrait.src=e.user.profileImageUrl):((E=n.bentoBoxUserIcon)==null||E.classList.remove("mf-bentoBox__userIcon--hidden"),(x=n.bentoBoxPortrait)==null||x.classList.add("mf-bentoBox__userPortrait--hidden"),(L=n.sideNavigationUserIcon)==null||L.classList.remove("mf-sideNavigation__userIcon--hidden"),(_=n.sideNavigationUserPortrait)==null||_.classList.add("mf-sideNavigation__userPortrait--hidden")))}function I(){var p,y,b,E;
9Object.entries(e.notifications).forEach(([x,L],_)=>{var M,O,g,r,o;if(L){(M=s.bentoBoxNavigation[_])==null||M.classList.add(l.active);const u=document.createElement("span");u.innerText=", neue Benachrichtigungen",u.classList.add("mf-visually-hidden"),s.bentoBoxNavigation[_].parentElement.appendChild(u),(O=s.sideNavigation[_])==null||O.classList.add(l.active)}else(g=s.bentoBoxNavigation[_].parentElement.querySelector(".mf-visually-hidden"))==null||g.remove(),(r=s.bentoBoxNavigation[_])==null||r.classList.remove(l.active),(o=s.sideNavigation[_])==null||o.classList.remove(l.active)}),Object.values(e.notifications).some(x=>x===!0)?((p=s.bentoBoxTrigger)==null||p.classList.add(l.active),(y=s.sideNavigationTrigger)==null||y.classList.add(l.active)):((b=s.bentoBoxTrigger)==null||b.classList.remove(l.active),(E=s.sideNavigationTrigger)==null||E.classList.remove(l.active))}function ee(){var d,p,y,b,E,x,L,_;e.loginButton.hidden?((d=t.loginButton)==null||d.classList.add(l.hidden),(p=t.bentoBoxTrigger)==null||p.classList.add(l.hidden),(y=c.guest)==null||y.classList.add(l.hidden),(b=c.userDivider)==null||b.classList.add(l.hidden)):((E=t.loginButton)==null||E.classList.remove(l.hidden),(x=t.bentoBoxTrigger)==null||x.classList.remove(l.hidden),(L=c.guest)==null||L.classList.remove(l.hidden),(_=c.userDivider)==null||_.classList.remove(l.hidden)),e.loginButton.targetUrl&&(t.loginButton.href=e.loginButton.targetUrl,c.loginButton.href=e.loginButton.targetUrl,n.bentoBoxLoginButton.href=e.loginButton.targetUrl)}function A(d){const p=e[d],y=`mf-header:update-${d}`;window.addEventListener(y,b=>{b.detail&&(Object.keys(b.detail).forEach(E=>{p[E]=b.detail[E]}),d==="user"&&U(),d==="notifications"&&I(),d==="status"&&P(),d==="loginButton"&&ee())})}const C=document.querySelector(".linkToHr");C==null||C.addEventListener("click",()=>{var d;(d=window.dataLayer)==null||d.push({event:"click_element",element:"HEAD: Main Navigation",element_detail:"Für Arbeitgeber"})}),v(),N(),S(),k(),A("activeMenuItem"),A("user"),A("notifications"),A("status"),A("loginButton"),Xe(e),Qe()}window.addEventListener("mf-header:mount",ye),document.querySelector(he)&&ye()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.