@luigi-project/core 2.22.2-dev.20250610044 → 2.22.2-dev.202506180036
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/fd_fiori.css +1 -1
- package/fd_horizon.css +1 -1
- package/luigi.css +2 -2
- package/luigi.js +1 -52
- package/luigi.js.map +1 -1
- package/luigi_core.css +1 -1
- package/luigi_horizon.css +2 -2
- package/luigi_theme_vars.js +1 -1
- package/package.json +2 -2
package/luigi.js
CHANGED
|
@@ -1,53 +1,2 @@
|
|
|
1
|
-
var nk=Object.defineProperty;var ik=(i,e,t)=>e in i?nk(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Un=(i,e,t)=>ik(i,typeof e!="symbol"?e+"":e,t);function Ue(){}function lk(i,e){for(const t in e)i[t]=e[t];return i}function rk(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Y_(i){return i()}function jf(){return Object.create(null)}function Ze(i){i.forEach(Y_)}function ki(i){return typeof i=="function"}function Rt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ts;function nt(i,e){return i===e?!0:(ts||(ts=document.createElement("a")),ts.href=e,i===ts.href)}function ak(i){return Object.keys(i).length===0}function zo(i,...e){if(i==null){for(const n of e)n(void 0);return Ue}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function hl(i){let e;return zo(i,t=>e=t)(),e}function Si(i,e,t){i.$$.on_destroy.push(zo(e,t))}function hs(i,e,t,n){if(i){const l=Q_(i,e,t,n);return i[0](l)}}function Q_(i,e,t,n){return i[1]&&n?lk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(i,e,t,n){return i[2],e.dirty}function _s(i,e,t,n,l,r){if(l){const a=Q_(e,t,n,r);i.p(a,l)}}function ps(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function Bn(i){return i??""}function Z_(i){return i&&ki(i.destroy)?i.destroy:Ue}const wl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function w(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode&&i.parentNode.removeChild(i)}function dt(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function sk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Te(i){return document.createTextNode(i)}function W(){return Te(" ")}function we(){return Te("")}function x(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function kt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Dt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function ok(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.data!==e&&(i.data=e)}function Jf(i,e){i.value=e??""}function ii(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,"")}function Qt(i,e,t){i.classList.toggle(e,!!t)}function uk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class Cr{constructor(e=!1){Un(this,"is_svg",!1);Un(this,"e");Un(this,"n");Un(this,"t");Un(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=sk(t.nodeName):this.e=k(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let Xr;function Ki(i){Xr=i}function kl(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Qn(i){kl().$$.before_update.push(i)}function ln(i){kl().$$.on_mount.push(i)}function ea(i){kl().$$.after_update.push(i)}function ta(i){kl().$$.on_destroy.push(i)}function Zt(){const i=kl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=uk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return kl().$$.context.set(i,e),e}function yt(i){return kl().$$.context.get(i)}function Gi(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _r=[],Qe=[];let mr=[];const Fo=[],fk=Promise.resolve();let Uo=!1;function ck(){Uo||(Uo=!0,fk.then(Go))}function Bo(i){mr.push(i)}function St(i){Fo.push(i)}const Vo=new Set;let dr=0;function Go(){if(dr!==0)return;const i=Xr;do{try{for(;dr<_r.length;){const e=_r[dr];dr++,Ki(e),dk(e.$$)}}catch(e){throw _r.length=0,dr=0,e}for(Ki(null),_r.length=0,dr=0;Qe.length;)Qe.pop()();for(let e=0;e<mr.length;e+=1){const t=mr[e];Vo.has(t)||(Vo.add(t),t())}mr.length=0}while(_r.length);for(;Fo.length;)Fo.pop()();Uo=!1,Vo.clear(),Ki(i)}function dk(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Bo)}}function hk(i){const e=[],t=[];mr.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),mr=e}const is=new Set;let ql;function be(){ql={r:0,c:[],p:ql}}function ve(){ql.r||Ze(ql.c),ql=ql.p}function R(i,e){i&&i.i&&(is.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(is.has(i))return;is.add(i),ql.c.push(()=>{is.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function rs(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(be(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),ve())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&Go()}if(rk(i)){const l=kl();if(i.then(r=>{Ki(l),n(e.then,1,e.value,r),Ki(null)},r=>{if(Ki(l),n(e.catch,2,e.error,r),Ki(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function X_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}function Ve(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Ct(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Be(i){i&&i.c()}function Me(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Bo(()=>{const r=i.$$.on_mount.map(Y_).filter(ki);i.$$.on_destroy?i.$$.on_destroy.push(...r):Ze(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(hk(t.after_update),Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function gk(i,e){i.$$.dirty[0]===-1&&(_r.push(i),ck(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Vt(i,e,t,n,l,r,a=null,o=[-1]){const c=Xr;Ki(i);const h=i.$$={fragment:null,ctx:[],props:r,update:Ue,not_equal:l,bound:jf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:jf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&gk(i,g)),p}):[],h.update(),d=!0,Ze(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=ok(e.target);h.fragment&&h.fragment.l(g),g.forEach(T)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor),Go()}Ki(c)}class Ot{constructor(){Un(this,"$$");Un(this,"$$set")}$destroy(){Fe(this,1),this.$destroy=Ue}$on(e,t){if(!ki(t))return Ue;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!ak(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const _k="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_k);class pk{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),ie.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ie.getConfigValueFromObject(e,t);return ie.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const as=new pk;class mk{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new mk;class bk{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Yn=new bk;let vk=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{xk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=vn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),ji.getLuigiContainer().appendChild(n)}getConfigValue(e){return ie.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ie.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return as.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ie.isFunction(l))try{return await as.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),gn.unload(),Hn.removeAllEventListeners();const e=ji.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&ie.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&ie.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Yn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ee.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ee.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ee.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const os=new vk;let wk=class{constructor(){}isAuthorizationEnabled(){return!!ne.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&gn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&gn.logout()}async handleAuthEvent(e,t,n,l){const r=await ne.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ne.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ci.getStorageKey(),getStorageType:()=>ci.getStorageType(),getAuthData:()=>ci.getAuthData(),setAuthData:e=>ci.setAuthData(e),removeAuthData:()=>ci.removeAuthData(),setNewlyAuthorized:()=>{ci.setNewlyAuthorized(),gn.resetExpirationChecks()}}}};const $_=new wk,hn={desktopMinWidth:600},kk=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],Sk={cssSelector:"[luigi-app-root]"},Ck={cssSelector:"[luigi-app-loading-indicator]"};let yk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(Sk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const x_=new yk;class Pk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Ln extends Pk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=ie.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}openAsModal(e,t={},n){if(ie.isFunction(n)){const l=ie.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(ie.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class Ik{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Ln().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Ln().navigateToIntent(e,t)}openAsModal(e,t,n){return new Ln().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Ln().openAsSplitView(e,t)}openAsDrawer(e,t){return new Ln().openAsDrawer(e,t)}fromContext(e){return new Ln().fromContext(e)}fromClosestContext(){return new Ln().fromClosestContext()}fromVirtualTreeRoot(){return new Ln().fromVirtualTreeRoot()}fromParent(){return new Ln().fromParent()}getCurrentRoute(){return new Ln().getCurrentRoute()}withParams(e){return new Ln().withParams(e)}pathExists(e){return new Ln().pathExists(e)}hasBack(){return new Ln().hasBack()}goBack(e){return new Ln().goBack(e)}}const ep=new Ik,Nk={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},Tk=Nk;class Lk{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Tk,this.listeners={}}_init(){vn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(ie.isFunction(e)){const t=ie.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),os.configChanged()}_initCustomImplementation(){this.translationImpl=os.getConfigValue("settings.customTranslationImplementation"),ie.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+Sr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const tp=new Lk;class Ak{sendToAll(e){const t=ss.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=ss.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const Ek=new Ak,hr=[];function Rk(i,e){return{subscribe:vr(i,e).subscribe}}function vr(i,e=Ue){let t;const n=new Set;function l(o){if(Rt(i,o)&&(i=o,t)){const c=!hr.length;for(const h of n)h[1](),hr.push(h,i);if(c){for(let h=0;h<hr.length;h+=2)hr[h][0](hr[h+1]);hr.length=0}}}function r(o){l(o(i))}function a(o,c=Ue){const h=[o,c];return n.add(h),n.size===1&&(t=e(l,r)||Ue),o(i),()=>{n.delete(h),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Dk{initial(){this.responsiveNavSetting=ne.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(le.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&this.previousWindowWidth>=hn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>hn.desktopMinWidth&&this.previousWindowWidth>=hn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(le.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(le.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const vi=new Dk;let Vk=class{constructor(){this.documentTitle=vr()}hideAppLoadingIndicator(){const e=document.querySelector(Ck.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ie.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(ie.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return hl(this.documentTitle)}collapseLeftSideNav(e){vi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Ln().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const np=new Vk;let Ok=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const ip=new Ok;let Mk=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ne.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ne.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ne.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ne.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){ie.isFunction(ne.getConfigValue("settings.theming.variables.errorHandling"))?ne.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ne.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ne.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&$r.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};vn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const lp=new Mk;let Fk=class{constructor(){this.featureToggleList=vr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||hl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=hl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}hl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...hl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ie.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return hl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):hl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const rp=new Fk;let Uk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ne.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!ie.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ne.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ne.configChanged()}addNodeParams(e,t){if(!ie.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);ne.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ne.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ne.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ne.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const ap=new Uk,ne=os,wi=$_,ji=x_,sp=ep,At=tp,na=np,Bk=ip,Ho=lp,Ko=rp,gl=ap;window.Luigi=os;window.Luigi.auth=()=>$_;window.Luigi.elements=()=>x_;window.Luigi.navigation=()=>ep;window.Luigi.i18n=()=>tp;window.Luigi.customMessages=()=>Ek;window.Luigi.ux=()=>np;window.Luigi.globalSearch=()=>ip;window.Luigi.theming=()=>lp;window.Luigi.featureToggles=()=>rp;window.Luigi.routing=()=>ap;class Hk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ie.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ie.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=le.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:At.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=le.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:At.getCurrentLocale()})};Ee.sendMessageToIframe(o,h)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){var r,a;(a=le.getViewGroupSettings((r=e.iframe)==null?void 0:r.vg))!=null&&a.noClientCheck||(this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout))}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):le.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){var l;if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return((l=le.getViewGroupSettings(e.iframe.vg))==null?void 0:l.noClientCheck)?!1:e.iframe.luigi.initOk===void 0?!0:!t||ie.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const a=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ee.getMainIframes(),p=this.getPreservedViewsInDom(g);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):h||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){ie.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);if(e.iframe=Ee.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode)e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)});else{const y=e.iframe;y.addEventListener("load",()=>{y._ready=!0})}const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(N=>{Ee.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:N[I.userSettingsGroup]},internal:Ee.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const fi=new Hk;class Wk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ne.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=le.getAllViewGroupSettings();if(!l)return;const r=Ee.getIframeContainer(),a=Ee.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,r)})}preloadIframeOnBackground(e,t,n){const l=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const gr=new Wk;class qk{async getNavigationPath(e,t=""){try{const n=ie.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Yn.hasRootNode()&&(l=Yn.getRootNode().node),!l){const g=await e;ie.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Yn.setRootNode(l)}const r=n.split("/"),o={...ne.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Yn.hasChildren(e)){let r=Yn.getChildren(e);r&&(n=r.children)}else try{n=await as.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Yn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Yn.hasChildren(e)?qt.getChildrenFromCache(e):await qt.getChildren(e)}getChildrenFromCache(e){let t=Yn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>le.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let h=le.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=Sr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=ie.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ie.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
2
|
-
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
|
-
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
|
|
4
|
-
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
5
|
-
Remove the static node from the configuration to resolve this warning.
|
|
6
|
-
Affected pathSegment:`,e,"Children:",t),t=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
|
|
7
|
-
Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
|
|
8
|
-
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=ne.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Yn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?le.groupNodesBy(n,"category",!0):{children:le.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!me.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let a=[...r].pop(),o;(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const c=await this.getChildren(a,(l=t.pathData)==null?void 0:l._context),h=this.getGroupedChildren(c,e);n.navParent=h.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=h.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,ne.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,le.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&le.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const a=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(a.tabNav?a:le.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(ie.isFunction(e.onNodeActivation)||ie.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const qt=new qk,ml={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},zk={externalLink:{sameWindow:!1}};class wr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class Gk extends wr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=op({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class Kk extends wr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
9
|
-
.${e} {
|
|
10
|
-
grid-template-columns: ${l.columns||"auto"};
|
|
11
|
-
grid-template-rows: ${l.rows||"auto"};
|
|
12
|
-
grid-gap: ${l.gap||"0"};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
`,n+=r}}),t.innerHTML=`
|
|
16
|
-
<style scoped>
|
|
17
|
-
.${e} {
|
|
18
|
-
display: grid;
|
|
19
|
-
grid-template-columns: ${this.config.columns||"auto"};
|
|
20
|
-
grid-template-rows: ${this.config.rows||"auto"};
|
|
21
|
-
grid-gap: ${this.config.gap||"0"};
|
|
22
|
-
min-height: ${this.config.minHeight||"auto"};
|
|
23
|
-
}
|
|
24
|
-
${n}
|
|
25
|
-
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const op=i=>{const e=i.use;if(e){if(e==="grid")return new Kk(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Gk(i)}else return new wr(i);return new wr(i)},Yf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},jk=i=>Object.entries(i).reduce((e,t)=>(e[Qf(t[0])]=Qf(t[1]),e),{}),Qf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),Jk="500px",Yk="0px";class Qk{constructor(){Un(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(/* webpackIgnore: true */e)}attachWC(e,t,n,l,r,a,o,c){if(n&&n.contains(t)){const h=document.createElement(e);a&&h.setAttribute("nodeId",a),h.setAttribute("lui_web_component",!0),this.initWC(h,e,n,r,l,a,o),n.replaceChild(h,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,l,r,a,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const h={linkManager:()=>{const g=window.Luigi.navigation();return new Proxy(g,{get(p,b){return b===p.getCurrentRoute.name?()=>{const m=new Promise(v=>{v(p.getCurrentRoute())});return m.toString=()=>p.getCurrentRoute(),m}:p[b]}})},uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:g=>{n.eventBus&&n.eventBus.onPublishEvent(g,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var g;return(g=e.extendedContext)!=null&&g.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const g={clientPermissions:e.extendedContext.clientPermissions};return me.prepareSearchParamsForClient(g)},getClientPermissions:()=>{var g;return(g=e.extendedContext)!=null&&g.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(g,p)=>{o||window.Luigi.routing().addNodeParams(g,p)},getNodeParams:g=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return g?jk(p):e.extendedContext.nodeParams},setAnchor:g=>{o||window.Luigi.routing().setAnchor(g)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:g=>{const p=le.findViewGroup(n._luigi_node);if(p){const b=le.getViewGroupSettings(p);b._liveCustomData=g,ne.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const g=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,g.origin+g.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=ne.getConfigValue("settings.webcomponentCreationInterceptor");ie.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(a=>{try{if(!window.customElements.get(t)){let o=a.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(a);for(let h=0;h<c.length&&(o=a[c[h]],!HTMLElement.isPrototypeOf(o));h++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(a=>r(a)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,a)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,a)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=ne.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a,o){var p;const c=n.context,h=me.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(h),g=document.createElement("div");t.appendChild(g),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,g,t,n,h,r,a,o):window.luigiWCFn?window.luigiWCFn(h,d,g,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,h,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):this.registerWCFromUrl(h,d).then(()=>{this.attachWC(d,g,t,n,h,r,a,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=n==null?void 0:n.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,a=this.wcContainerData.get(r);a?this.renderWebComponent(a.viewUrl,a.wc_container,a.extendedContext,a.node,a.nodeId,a.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=n.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||Jk;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new wr,l.viewUrl=me.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=op(e.compound.renderer):l=new wr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||Yk})}renderWebComponentCompound(e,t,n){var c,h;const l=((h=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:h.enabled)===!0,r=n.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),t._luigi_node=e,new Promise(d=>{this.createCompoundContainerAsync(a,n,e).then(g=>{const p={};g.eventBus={listeners:p,onPublishEvent:(b,m,v)=>{const C=p[m+"."+b.type]||[];C.push(...p["*."+b.type]||[]),C.forEach(y=>{const P=y.wcElement||g.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(b.detail):b.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((b,m)=>{var P;const v={...r,...b.context},C=a.createCompoundItemContainer(b.layoutConfig),y=b.id||"gen_"+m;C.eventBus=g.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(g,C),this.wcContainerData.set(C,{viewUrl:b.viewUrl,wc_container:C,extendedContext:{context:v},node:b,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(C)):(a.attachCompoundItem(g,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),Yf(p,b,y)}),t.appendChild(g),Yf(p,e.compound,"_root",g),d(g)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ne.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const zl=new Qk;var Qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},us={exports:{}};/**
|
|
27
|
-
* @license
|
|
28
|
-
* Lodash <https://lodash.com/>
|
|
29
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
|
-
* Released under MIT license <https://lodash.com/license>
|
|
31
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/us.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,N=16,V=32,E=64,H=128,D=256,O=512,G=30,Z="...",J=800,ce=16,Y=1,te=2,q=3,ae=1/0,oe=9007199254740991,ee=17976931348623157e292,ye=NaN,se=4294967295,re=se-1,ke=se>>>1,Je=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",N],["flip",O],["partial",V],["partialRight",E],["rearg",D]],Pe="[object Arguments]",Le="[object Array]",Ge="[object AsyncFunction]",$e="[object Boolean]",De="[object Date]",it="[object DOMException]",rt="[object Error]",ht="[object Function]",ge="[object GeneratorFunction]",Xe="[object Map]",Ut="[object Number]",En="[object Null]",on="[object Object]",rn="[object Promise]",Rn="[object Proxy]",Ie="[object RegExp]",qe="[object Set]",an="[object String]",un="[object Symbol]",sn="[object Undefined]",zt="[object WeakMap]",Gt="[object WeakSet]",Wn="[object ArrayBuffer]",Xt="[object DataView]",wn="[object Float32Array]",Ci="[object Float64Array]",di="[object Int8Array]",kn="[object Int16Array]",yi="[object Int32Array]",Pi="[object Uint8Array]",Ii="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Ti="[object Uint32Array]",Sl=/\b__p \+= '';/g,Cl=/\b(__p \+=) '' \+/g,yl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Li=/&(?:amp|lt|gt|quot|#39);/g,Ji=/[&<>"']/g,Yi=RegExp(Li.source),hi=RegExp(Ji.source),Pl=/<%-([\s\S]+?)%>/g,Il=/<%([\s\S]+?)%>/g,Qi=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tl=/^\w*$/,Ll=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ai=/[\\^$.*+?()[\]{}|]/g,Al=RegExp(Ai.source),ri=/^\s+/,Ei=/\s/,gi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ri=/\{\n\/\* \[wrapped with (.+)\] \*/,_i=/,? & /,Zi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xi=/[()=,{}\[\]\/\s]/,K=/\\(\\)?/g,Se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,lt=/^[-+]0x[0-9a-f]+$/i,bt=/^0b[01]+$/i,_t=/^\[object .+?Constructor\]$/,Bt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Dn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qn=/($^)/,El=/['\n\r\u2028\u2029\\]/g,Di="\\ud800-\\udfff",Kl="\\u0300-\\u036f",yr="\\ufe20-\\ufe2f",vt="\\u20d0-\\u20ff",$i=Kl+yr+vt,xi="\\u2700-\\u27bf",Q="a-z\\xdf-\\xf6\\xf8-\\xff",Ht="\\xac\\xb1\\xd7\\xf7",_n="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wt="\\u2000-\\u206f",jl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",ia="\\ufe0e\\ufe0f",el=Ht+_n+Wt+jl,Ir="['’]",ms="["+Di+"]",la="["+el+"]",Jl="["+$i+"]",Yl="\\d+",bs="["+xi+"]",ra="["+Q+"]",aa="[^"+Di+el+Yl+xi+Q+Pr+"]",Ql="\\ud83c[\\udffb-\\udfff]",vs="(?:"+Jl+"|"+Ql+")",Nr="[^"+Di+"]",Tr="(?:\\ud83c[\\udde6-\\uddff]){2}",Zl="[\\ud800-\\udbff][\\udc00-\\udfff]",tl="["+Pr+"]",sa="\\u200d",oa="(?:"+ra+"|"+aa+")",ws="(?:"+tl+"|"+aa+")",ua="(?:"+Ir+"(?:d|ll|m|re|s|t|ve))?",fa="(?:"+Ir+"(?:D|LL|M|RE|S|T|VE))?",ca=vs+"?",da="["+ia+"]?",ks="(?:"+sa+"(?:"+[Nr,Tr,Zl].join("|")+")"+da+ca+")*",Ss="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ha=da+ca+ks,ys="(?:"+[bs,Tr,Zl].join("|")+")"+ha,Ps="(?:"+[Nr+Jl+"?",Jl,Tr,Zl,ms].join("|")+")",Is=RegExp(Ir,"g"),Ns=RegExp(Jl,"g"),Lr=RegExp(Ql+"(?="+Ql+")|"+Ps+ha,"g"),Ts=RegExp([tl+"?"+ra+"+"+ua+"(?="+[la,tl,"$"].join("|")+")",ws+"+"+fa+"(?="+[la,tl+oa,"$"].join("|")+")",tl+"?"+oa+"+"+ua,tl+"+"+fa,Cs,Ss,Yl,ys].join("|"),"g"),B=RegExp("["+sa+Di+$i+ia+"]"),fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Re=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,Ne={};Ne[wn]=Ne[Ci]=Ne[di]=Ne[kn]=Ne[yi]=Ne[Pi]=Ne[Ii]=Ne[Ni]=Ne[Ti]=!0,Ne[Pe]=Ne[Le]=Ne[Wn]=Ne[$e]=Ne[Xt]=Ne[De]=Ne[rt]=Ne[ht]=Ne[Xe]=Ne[Ut]=Ne[on]=Ne[Ie]=Ne[qe]=Ne[an]=Ne[zt]=!1;var de={};de[Pe]=de[Le]=de[Wn]=de[Xt]=de[$e]=de[De]=de[wn]=de[Ci]=de[di]=de[kn]=de[yi]=de[Xe]=de[Ut]=de[on]=de[Ie]=de[qe]=de[an]=de[un]=de[Pi]=de[Ii]=de[Ni]=de[Ti]=!0,de[rt]=de[ht]=de[zt]=!1;var He={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Pt={"&":"&","<":"<",">":">",'"':""","'":"'"},jt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,Er=parseInt,Vi=typeof Qr=="object"&&Qr&&Qr.Object===Object&&Qr,Rr=typeof self=="object"&&self&&self.Object===Object&&self,We=Vi||Rr||Function("return this")(),Tt=e&&!e.nodeType&&e,It=Tt&&!0&&i&&!i.nodeType&&i,fn=It&&It.exports===Tt,Pn=fn&&Vi.process,$t=function(){try{var X=It&&It.require&&It.require("util").types;return X||Pn&&Pn.binding&&Pn.binding("util")}catch{}}(),il=$t&&$t.isArrayBuffer,Xl=$t&&$t.isDate,Rl=$t&&$t.isMap,Ls=$t&&$t.isRegExp,$l=$t&&$t.isSet,ga=$t&&$t.isTypedArray;function pn(X,he,ue){switch(ue.length){case 0:return X.call(he);case 1:return X.call(he,ue[0]);case 2:return X.call(he,ue[0],ue[1]);case 3:return X.call(he,ue[0],ue[1],ue[2])}return X.apply(he,ue)}function Dl(X,he,ue,ze){for(var at=-1,Nt=X==null?0:X.length;++at<Nt;){var cn=X[at];he(ze,cn,ue(cn),X)}return ze}function Mt(X,he){for(var ue=-1,ze=X==null?0:X.length;++ue<ze&&he(X[ue],ue,X)!==!1;);return X}function Zn(X,he){for(var ue=X==null?0:X.length;ue--&&he(X[ue],ue,X)!==!1;);return X}function _a(X,he){for(var ue=-1,ze=X==null?0:X.length;++ue<ze;)if(!he(X[ue],ue,X))return!1;return!0}function ll(X,he){for(var ue=-1,ze=X==null?0:X.length,at=0,Nt=[];++ue<ze;){var cn=X[ue];he(cn,ue,X)&&(Nt[at++]=cn)}return Nt}function pa(X,he){var ue=X==null?0:X.length;return!!ue&&xl(X,he,0)>-1}function As(X,he,ue){for(var ze=-1,at=X==null?0:X.length;++ze<at;)if(ue(he,X[ze]))return!0;return!1}function Jt(X,he){for(var ue=-1,ze=X==null?0:X.length,at=Array(ze);++ue<ze;)at[ue]=he(X[ue],ue,X);return at}function rl(X,he){for(var ue=-1,ze=he.length,at=X.length;++ue<ze;)X[at+ue]=he[ue];return X}function Es(X,he,ue,ze){var at=-1,Nt=X==null?0:X.length;for(ze&&Nt&&(ue=X[++at]);++at<Nt;)ue=he(ue,X[at],at,X);return ue}function Np(X,he,ue,ze){var at=X==null?0:X.length;for(ze&&at&&(ue=X[--at]);at--;)ue=he(ue,X[at],at,X);return ue}function Rs(X,he){for(var ue=-1,ze=X==null?0:X.length;++ue<ze;)if(he(X[ue],ue,X))return!0;return!1}var Tp=Ds("length");function Lp(X){return X.split("")}function Ap(X){return X.match(Zi)||[]}function Jo(X,he,ue){var ze;return ue(X,function(at,Nt,cn){if(he(at,Nt,cn))return ze=Nt,!1}),ze}function ma(X,he,ue,ze){for(var at=X.length,Nt=ue+(ze?1:-1);ze?Nt--:++Nt<at;)if(he(X[Nt],Nt,X))return Nt;return-1}function xl(X,he,ue){return he===he?qp(X,he,ue):ma(X,Yo,ue)}function Ep(X,he,ue,ze){for(var at=ue-1,Nt=X.length;++at<Nt;)if(ze(X[at],he))return at;return-1}function Yo(X){return X!==X}function Qo(X,he){var ue=X==null?0:X.length;return ue?Os(X,he)/ue:ye}function Ds(X){return function(he){return he==null?t:he[X]}}function Vs(X){return function(he){return X==null?t:X[he]}}function Zo(X,he,ue,ze,at){return at(X,function(Nt,cn,Ft){ue=ze?(ze=!1,Nt):he(ue,Nt,cn,Ft)}),ue}function Rp(X,he){var ue=X.length;for(X.sort(he);ue--;)X[ue]=X[ue].value;return X}function Os(X,he){for(var ue,ze=-1,at=X.length;++ze<at;){var Nt=he(X[ze]);Nt!==t&&(ue=ue===t?Nt:ue+Nt)}return ue}function Ms(X,he){for(var ue=-1,ze=Array(X);++ue<X;)ze[ue]=he(ue);return ze}function Dp(X,he){return Jt(he,function(ue){return[ue,X[ue]]})}function Xo(X){return X&&X.slice(0,tu(X)+1).replace(ri,"")}function zn(X){return function(he){return X(he)}}function Fs(X,he){return Jt(he,function(ue){return X[ue]})}function Dr(X,he){return X.has(he)}function $o(X,he){for(var ue=-1,ze=X.length;++ue<ze&&xl(he,X[ue],0)>-1;);return ue}function xo(X,he){for(var ue=X.length;ue--&&xl(he,X[ue],0)>-1;);return ue}function Vp(X,he){for(var ue=X.length,ze=0;ue--;)X[ue]===he&&++ze;return ze}var Op=Vs(He),Mp=Vs(Pt);function Fp(X){return"\\"+Ar[X]}function Up(X,he){return X==null?t:X[he]}function er(X){return B.test(X)}function Bp(X){return fe.test(X)}function Hp(X){for(var he,ue=[];!(he=X.next()).done;)ue.push(he.value);return ue}function Us(X){var he=-1,ue=Array(X.size);return X.forEach(function(ze,at){ue[++he]=[at,ze]}),ue}function eu(X,he){return function(ue){return X(he(ue))}}function al(X,he){for(var ue=-1,ze=X.length,at=0,Nt=[];++ue<ze;){var cn=X[ue];(cn===he||cn===d)&&(X[ue]=d,Nt[at++]=ue)}return Nt}function ba(X){var he=-1,ue=Array(X.size);return X.forEach(function(ze){ue[++he]=ze}),ue}function Wp(X){var he=-1,ue=Array(X.size);return X.forEach(function(ze){ue[++he]=[ze,ze]}),ue}function qp(X,he,ue){for(var ze=ue-1,at=X.length;++ze<at;)if(X[ze]===he)return ze;return-1}function zp(X,he,ue){for(var ze=ue+1;ze--;)if(X[ze]===he)return ze;return ze}function tr(X){return er(X)?Kp(X):Tp(X)}function ai(X){return er(X)?jp(X):Lp(X)}function tu(X){for(var he=X.length;he--&&Ei.test(X.charAt(he)););return he}var Gp=Vs(jt);function Kp(X){for(var he=Lr.lastIndex=0;Lr.test(X);)++he;return he}function jp(X){return X.match(Lr)||[]}function Jp(X){return X.match(Ts)||[]}var Yp=function X(he){he=he==null?We:nr.defaults(We.Object(),he,nr.pick(We,Re));var ue=he.Array,ze=he.Date,at=he.Error,Nt=he.Function,cn=he.Math,Ft=he.Object,Bs=he.RegExp,Qp=he.String,Xn=he.TypeError,va=ue.prototype,Zp=Nt.prototype,ir=Ft.prototype,wa=he["__core-js_shared__"],ka=Zp.toString,Et=ir.hasOwnProperty,Xp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=ir.toString,$p=ka.call(Ft),xp=We._,em=Bs("^"+ka.call(Et).replace(Ai,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=fn?he.Buffer:t,sl=he.Symbol,ya=he.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Ft.getPrototypeOf,Ft),lu=Ft.create,ru=ir.propertyIsEnumerable,Ia=va.splice,au=sl?sl.isConcatSpreadable:t,Vr=sl?sl.iterator:t,Vl=sl?sl.toStringTag:t,Na=function(){try{var s=Bl(Ft,"defineProperty");return s({},"",{}),s}catch{}}(),tm=he.clearTimeout!==We.clearTimeout&&he.clearTimeout,nm=ze&&ze.now!==We.Date.now&&ze.now,im=he.setTimeout!==We.setTimeout&&he.setTimeout,Ta=cn.ceil,La=cn.floor,Hs=Ft.getOwnPropertySymbols,lm=Ca?Ca.isBuffer:t,su=he.isFinite,rm=va.join,am=eu(Ft.keys,Ft),dn=cn.max,Sn=cn.min,sm=ze.now,om=he.parseInt,ou=cn.random,um=va.reverse,Ws=Bl(he,"DataView"),Or=Bl(he,"Map"),qs=Bl(he,"Promise"),lr=Bl(he,"Set"),Mr=Bl(he,"WeakMap"),Fr=Bl(Ft,"create"),Aa=Mr&&new Mr,rr={},fm=Hl(Ws),cm=Hl(Or),dm=Hl(qs),hm=Hl(lr),gm=Hl(Mr),Ea=sl?sl.prototype:t,Ur=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(xt(s)&&!st(s)&&!(s instanceof mt)){if(s instanceof $n)return s;if(Et.call(s,"__wrapped__"))return cf(s)}return new $n(s)}var ar=function(){function s(){}return function(u){if(!Yt(u))return{};if(lu)return lu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ra(){}function $n(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:Pl,evaluate:Il,interpolate:Qi,variable:"",imports:{_:M}},M.prototype=Ra.prototype,M.prototype.constructor=M,$n.prototype=ar(Ra.prototype),$n.prototype.constructor=$n;function mt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function _m(){var s=new mt(this.__wrapped__);return s.__actions__=Vn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Vn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Vn(this.__views__),s}function pm(){if(this.__filtered__){var s=new mt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function mm(){var s=this.__wrapped__.value(),u=this.__dir__,_=st(s),S=u<0,A=_?s.length:0,F=L1(0,A,this.__views__),z=F.start,j=F.end,$=j-z,_e=S?j:z-1,pe=this.__iteratees__,Ce=pe.length,Oe=0,je=Sn($,this.__takeCount__);if(!_||!S&&A==$&&je==$)return Du(s,this.__actions__);var et=[];e:for(;$--&&Oe<je;){_e+=u;for(var ft=-1,tt=s[_e];++ft<Ce;){var pt=pe[ft],wt=pt.iteratee,jn=pt.type,Tn=wt(tt);if(jn==te)tt=Tn;else if(!Tn){if(jn==Y)continue e;break e}}et[Oe++]=tt}return et}mt.prototype=ar(Ra.prototype),mt.prototype.constructor=mt;function Ol(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function bm(){this.__data__=Fr?Fr(null):{},this.size=0}function vm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function wm(s){var u=this.__data__;if(Fr){var _=u[s];return _===c?t:_}return Et.call(u,s)?u[s]:t}function km(s){var u=this.__data__;return Fr?u[s]!==t:Et.call(u,s)}function Sm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Fr&&u===t?c:u,this}Ol.prototype.clear=bm,Ol.prototype.delete=vm,Ol.prototype.get=wm,Ol.prototype.has=km,Ol.prototype.set=Sm;function Oi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Cm(){this.__data__=[],this.size=0}function ym(s){var u=this.__data__,_=Da(u,s);if(_<0)return!1;var S=u.length-1;return _==S?u.pop():Ia.call(u,_,1),--this.size,!0}function Pm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function Im(s){return Da(this.__data__,s)>-1}function Nm(s,u){var _=this.__data__,S=Da(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Oi.prototype.clear=Cm,Oi.prototype.delete=ym,Oi.prototype.get=Pm,Oi.prototype.has=Im,Oi.prototype.set=Nm;function Mi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Tm(){this.size=0,this.__data__={hash:new Ol,map:new(Or||Oi),string:new Ol}}function Lm(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Am(s){return Ka(this,s).get(s)}function Em(s){return Ka(this,s).has(s)}function Rm(s,u){var _=Ka(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Mi.prototype.clear=Tm,Mi.prototype.delete=Lm,Mi.prototype.get=Am,Mi.prototype.has=Em,Mi.prototype.set=Rm;function Ml(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Mi;++u<_;)this.add(s[u])}function Dm(s){return this.__data__.set(s,c),this}function Vm(s){return this.__data__.has(s)}Ml.prototype.add=Ml.prototype.push=Dm,Ml.prototype.has=Vm;function si(s){var u=this.__data__=new Oi(s);this.size=u.size}function Om(){this.__data__=new Oi,this.size=0}function Mm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Fm(s){return this.__data__.get(s)}function Um(s){return this.__data__.has(s)}function Bm(s,u){var _=this.__data__;if(_ instanceof Oi){var S=_.__data__;if(!Or||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Mi(S)}return _.set(s,u),this.size=_.size,this}si.prototype.clear=Om,si.prototype.delete=Mm,si.prototype.get=Fm,si.prototype.has=Um,si.prototype.set=Bm;function fu(s,u){var _=st(s),S=!_&&Wl(s),A=!_&&!S&&dl(s),F=!_&&!S&&!A&&fr(s),z=_||S||A||F,j=z?Ms(s.length,Qp):[],$=j.length;for(var _e in s)(u||Et.call(s,_e))&&!(z&&(_e=="length"||A&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Hi(_e,$)))&&j.push(_e);return j}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Hm(s,u){return ja(Vn(s),Fl(u,0,s.length))}function Wm(s){return ja(Vn(s))}function zs(s,u,_){(_!==t&&!oi(s[u],_)||_===t&&!(u in s))&&Fi(s,u,_)}function Br(s,u,_){var S=s[u];(!(Et.call(s,u)&&oi(S,_))||_===t&&!(u in s))&&Fi(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(oi(s[_][0],u))return _;return-1}function qm(s,u,_,S){return ol(s,function(A,F,z){u(S,A,_(A),z)}),S}function du(s,u){return s&&mi(u,mn(u),s)}function zm(s,u){return s&&mi(u,Mn(u),s)}function Fi(s,u,_){u=="__proto__"&&Na?Na(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Gs(s,u){for(var _=-1,S=u.length,A=ue(S),F=s==null;++_<S;)A[_]=F?t:Po(s,u[_]);return A}function Fl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function xn(s,u,_,S,A,F){var z,j=u&g,$=u&p,_e=u&b;if(_&&(z=A?_(s,S,A,F):_(s)),z!==t)return z;if(!Yt(s))return s;var pe=st(s);if(pe){if(z=E1(s),!j)return Vn(s,z)}else{var Ce=Cn(s),Oe=Ce==ht||Ce==ge;if(dl(s))return Mu(s,j);if(Ce==on||Ce==Pe||Oe&&!A){if(z=$||Oe?{}:tf(s),!j)return $?w1(s,zm(z,s)):v1(s,du(z,s))}else{if(!de[Ce])return A?s:{};z=R1(s,Ce,j)}}F||(F=new si);var je=F.get(s);if(je)return je;F.set(s,z),Ef(s)?s.forEach(function(tt){z.add(xn(tt,u,_,tt,s,F))}):Lf(s)&&s.forEach(function(tt,pt){z.set(pt,xn(tt,u,_,pt,s,F))});var et=_e?$?fo:uo:$?Mn:mn,ft=pe?t:et(s);return Mt(ft||s,function(tt,pt){ft&&(pt=tt,tt=s[pt]),Br(z,pt,xn(tt,u,_,pt,s,F))}),z}function Gm(s){var u=mn(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var S=_.length;if(s==null)return!S;for(s=Ft(s);S--;){var A=_[S],F=u[A],z=s[A];if(z===t&&!(A in s)||!F(z))return!1}return!0}function gu(s,u,_){if(typeof s!="function")throw new Xn(a);return jr(function(){s.apply(t,_)},u)}function Hr(s,u,_,S){var A=-1,F=pa,z=!0,j=s.length,$=[],_e=u.length;if(!j)return $;_&&(u=Jt(u,zn(_))),S?(F=As,z=!1):u.length>=l&&(F=Dr,z=!1,u=new Ml(u));e:for(;++A<j;){var pe=s[A],Ce=_==null?pe:_(pe);if(pe=S||pe!==0?pe:0,z&&Ce===Ce){for(var Oe=_e;Oe--;)if(u[Oe]===Ce)continue e;$.push(pe)}else F(u,Ce,S)||$.push(pe)}return $}var ol=Wu(pi),_u=Wu(js,!0);function Km(s,u){var _=!0;return ol(s,function(S,A,F){return _=!!u(S,A,F),_}),_}function Va(s,u,_){for(var S=-1,A=s.length;++S<A;){var F=s[S],z=u(F);if(z!=null&&(j===t?z===z&&!Kn(z):_(z,j)))var j=z,$=F}return $}function jm(s,u,_,S){var A=s.length;for(_=ut(_),_<0&&(_=-_>A?0:A+_),S=S===t||S>A?A:ut(S),S<0&&(S+=A),S=_>S?0:Df(S);_<S;)s[_++]=u;return s}function pu(s,u){var _=[];return ol(s,function(S,A,F){u(S,A,F)&&_.push(S)}),_}function bn(s,u,_,S,A){var F=-1,z=s.length;for(_||(_=V1),A||(A=[]);++F<z;){var j=s[F];u>0&&_(j)?u>1?bn(j,u-1,_,S,A):rl(A,j):S||(A[A.length]=j)}return A}var Ks=qu(),mu=qu(!0);function pi(s,u){return s&&Ks(s,u,mn)}function js(s,u){return s&&mu(s,u,mn)}function Oa(s,u){return ll(u,function(_){return Wi(s[_])})}function Ul(s,u){u=fl(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[bi(u[_++])];return _&&_==S?s:t}function bu(s,u,_){var S=u(s);return st(s)?S:rl(S,_(s))}function In(s){return s==null?s===t?sn:En:Vl&&Vl in Ft(s)?T1(s):W1(s)}function Js(s,u){return s>u}function Jm(s,u){return s!=null&&Et.call(s,u)}function Ym(s,u){return s!=null&&u in Ft(s)}function Qm(s,u,_){return s>=Sn(u,_)&&s<dn(u,_)}function Ys(s,u,_){for(var S=_?As:pa,A=s[0].length,F=s.length,z=F,j=ue(F),$=1/0,_e=[];z--;){var pe=s[z];z&&u&&(pe=Jt(pe,zn(u))),$=Sn(pe.length,$),j[z]=!_&&(u||A>=120&&pe.length>=120)?new Ml(z&&pe):t}pe=s[0];var Ce=-1,Oe=j[0];e:for(;++Ce<A&&_e.length<$;){var je=pe[Ce],et=u?u(je):je;if(je=_||je!==0?je:0,!(Oe?Dr(Oe,et):S(_e,et,_))){for(z=F;--z;){var ft=j[z];if(!(ft?Dr(ft,et):S(s[z],et,_)))continue e}Oe&&Oe.push(et),_e.push(je)}}return _e}function Zm(s,u,_,S){return pi(s,function(A,F,z){u(S,_(A),F,z)}),S}function Wr(s,u,_){u=fl(u,s),s=af(s,u);var S=s==null?s:s[bi(ti(u))];return S==null?t:pn(S,s,_)}function vu(s){return xt(s)&&In(s)==Pe}function Xm(s){return xt(s)&&In(s)==Wn}function $m(s){return xt(s)&&In(s)==De}function qr(s,u,_,S,A){return s===u?!0:s==null||u==null||!xt(s)&&!xt(u)?s!==s&&u!==u:xm(s,u,_,S,qr,A)}function xm(s,u,_,S,A,F){var z=st(s),j=st(u),$=z?Le:Cn(s),_e=j?Le:Cn(u);$=$==Pe?on:$,_e=_e==Pe?on:_e;var pe=$==on,Ce=_e==on,Oe=$==_e;if(Oe&&dl(s)){if(!dl(u))return!1;z=!0,pe=!1}if(Oe&&!pe)return F||(F=new si),z||fr(s)?$u(s,u,_,S,A,F):I1(s,u,$,_,S,A,F);if(!(_&m)){var je=pe&&Et.call(s,"__wrapped__"),et=Ce&&Et.call(u,"__wrapped__");if(je||et){var ft=je?s.value():s,tt=et?u.value():u;return F||(F=new si),A(ft,tt,_,S,F)}}return Oe?(F||(F=new si),N1(s,u,_,S,A,F)):!1}function e1(s){return xt(s)&&Cn(s)==Xe}function Qs(s,u,_,S){var A=_.length,F=A,z=!S;if(s==null)return!F;for(s=Ft(s);A--;){var j=_[A];if(z&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++A<F;){j=_[A];var $=j[0],_e=s[$],pe=j[1];if(z&&j[2]){if(_e===t&&!($ in s))return!1}else{var Ce=new si;if(S)var Oe=S(_e,pe,$,s,u,Ce);if(!(Oe===t?qr(pe,_e,m|v,S,Ce):Oe))return!1}}return!0}function wu(s){if(!Yt(s)||M1(s))return!1;var u=Wi(s)?em:_t;return u.test(Hl(s))}function t1(s){return xt(s)&&In(s)==Ie}function n1(s){return xt(s)&&Cn(s)==qe}function i1(s){return xt(s)&&$a(s.length)&&!!Ne[In(s)]}function ku(s){return typeof s=="function"?s:s==null?Fn:typeof s=="object"?st(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!Kr(s))return am(s);var u=[];for(var _ in Ft(s))Et.call(s,_)&&_!="constructor"&&u.push(_);return u}function l1(s){if(!Yt(s))return H1(s);var u=Kr(s),_=[];for(var S in s)S=="constructor"&&(u||!Et.call(s,S))||_.push(S);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,S=On(s)?ue(s.length):[];return ol(s,function(A,F,z){S[++_]=u(A,F,z)}),S}function Cu(s){var u=ho(s);return u.length==1&&u[0][2]?lf(u[0][0],u[0][1]):function(_){return _===s||Qs(_,s,u)}}function yu(s,u){return _o(s)&&nf(u)?lf(bi(s),u):function(_){var S=Po(_,s);return S===t&&S===u?Io(_,s):qr(u,S,m|v)}}function Ma(s,u,_,S,A){s!==u&&Ks(u,function(F,z){if(A||(A=new si),Yt(F))r1(s,u,z,_,Ma,S,A);else{var j=S?S(mo(s,z),F,z+"",s,u,A):t;j===t&&(j=F),zs(s,z,j)}},Mn)}function r1(s,u,_,S,A,F,z){var j=mo(s,_),$=mo(u,_),_e=z.get($);if(_e){zs(s,_,_e);return}var pe=F?F(j,$,_+"",s,u,z):t,Ce=pe===t;if(Ce){var Oe=st($),je=!Oe&&dl($),et=!Oe&&!je&&fr($);pe=$,Oe||je||et?st(j)?pe=j:en(j)?pe=Vn(j):je?(Ce=!1,pe=Mu($,!0)):et?(Ce=!1,pe=Fu($,!0)):pe=[]:Jr($)||Wl($)?(pe=j,Wl(j)?pe=Vf(j):(!Yt(j)||Wi(j))&&(pe=tf($))):Ce=!1}Ce&&(z.set($,pe),A(pe,$,S,F,z),z.delete($)),zs(s,_,pe)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Hi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Jt(u,function(F){return st(F)?function(z){return Ul(z,F.length===1?F[0]:F)}:F}):u=[Fn];var S=-1;u=Jt(u,zn(xe()));var A=Su(s,function(F,z,j){var $=Jt(u,function(_e){return _e(F)});return{criteria:$,index:++S,value:F}});return Rp(A,function(F,z){return b1(F,z,_)})}function a1(s,u){return Nu(s,u,function(_,S){return Io(s,S)})}function Nu(s,u,_){for(var S=-1,A=u.length,F={};++S<A;){var z=u[S],j=Ul(s,z);_(j,z)&&zr(F,fl(z,s),j)}return F}function s1(s){return function(u){return Ul(u,s)}}function $s(s,u,_,S){var A=S?Ep:xl,F=-1,z=u.length,j=s;for(s===u&&(u=Vn(u)),_&&(j=Jt(s,zn(_)));++F<z;)for(var $=0,_e=u[F],pe=_?_(_e):_e;($=A(j,pe,$,S))>-1;)j!==s&&Ia.call(j,$,1),Ia.call(s,$,1);return s}function Tu(s,u){for(var _=s?u.length:0,S=_-1;_--;){var A=u[_];if(_==S||A!==F){var F=A;Hi(A)?Ia.call(s,A,1):no(s,A)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function o1(s,u,_,S){for(var A=-1,F=dn(Ta((u-s)/(_||1)),0),z=ue(F);F--;)z[S?F:++A]=s,s+=_;return z}function eo(s,u){var _="";if(!s||u<1||u>oe)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function ct(s,u){return bo(rf(s,u,Fn),s+"")}function u1(s){return cu(cr(s))}function f1(s,u){var _=cr(s);return ja(_,Fl(u,0,_.length))}function zr(s,u,_,S){if(!Yt(s))return s;u=fl(u,s);for(var A=-1,F=u.length,z=F-1,j=s;j!=null&&++A<F;){var $=bi(u[A]),_e=_;if($==="__proto__"||$==="constructor"||$==="prototype")return s;if(A!=z){var pe=j[$];_e=S?S(pe,$,j):t,_e===t&&(_e=Yt(pe)?pe:Hi(u[A+1])?[]:{})}Br(j,$,_e),j=j[$]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:Fn,c1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:Fn;function d1(s){return ja(cr(s))}function ei(s,u,_){var S=-1,A=s.length;u<0&&(u=-u>A?0:A+u),_=_>A?A:_,_<0&&(_+=A),A=u>_?0:_-u>>>0,u>>>=0;for(var F=ue(A);++S<A;)F[S]=s[S+u];return F}function h1(s,u){var _;return ol(s,function(S,A,F){return _=u(S,A,F),!_}),!!_}function Fa(s,u,_){var S=0,A=s==null?S:s.length;if(typeof u=="number"&&u===u&&A<=ke){for(;S<A;){var F=S+A>>>1,z=s[F];z!==null&&!Kn(z)&&(_?z<=u:z<u)?S=F+1:A=F}return A}return to(s,u,Fn,_)}function to(s,u,_,S){var A=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var z=u!==u,j=u===null,$=Kn(u),_e=u===t;A<F;){var pe=La((A+F)/2),Ce=_(s[pe]),Oe=Ce!==t,je=Ce===null,et=Ce===Ce,ft=Kn(Ce);if(z)var tt=S||et;else _e?tt=et&&(S||Oe):j?tt=et&&Oe&&(S||!je):$?tt=et&&Oe&&!je&&(S||!ft):je||ft?tt=!1:tt=S?Ce<=u:Ce<u;tt?A=pe+1:F=pe}return Sn(F,re)}function Au(s,u){for(var _=-1,S=s.length,A=0,F=[];++_<S;){var z=s[_],j=u?u(z):z;if(!_||!oi(j,$)){var $=j;F[A++]=z===0?0:z}}return F}function Eu(s){return typeof s=="number"?s:Kn(s)?ye:+s}function Gn(s){if(typeof s=="string")return s;if(st(s))return Jt(s,Gn)+"";if(Kn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function ul(s,u,_){var S=-1,A=pa,F=s.length,z=!0,j=[],$=j;if(_)z=!1,A=As;else if(F>=l){var _e=u?null:y1(s);if(_e)return ba(_e);z=!1,A=Dr,$=new Ml}else $=u?[]:j;e:for(;++S<F;){var pe=s[S],Ce=u?u(pe):pe;if(pe=_||pe!==0?pe:0,z&&Ce===Ce){for(var Oe=$.length;Oe--;)if($[Oe]===Ce)continue e;u&&$.push(Ce),j.push(pe)}else A($,Ce,_)||($!==j&&$.push(Ce),j.push(pe))}return j}function no(s,u){return u=fl(u,s),s=af(s,u),s==null||delete s[bi(ti(u))]}function Ru(s,u,_,S){return zr(s,u,_(Ul(s,u)),S)}function Ua(s,u,_,S){for(var A=s.length,F=S?A:-1;(S?F--:++F<A)&&u(s[F],F,s););return _?ei(s,S?0:F,S?F+1:A):ei(s,S?F+1:0,S?A:F)}function Du(s,u){var _=s;return _ instanceof mt&&(_=_.value()),Es(u,function(S,A){return A.func.apply(A.thisArg,rl([S],A.args))},_)}function io(s,u,_){var S=s.length;if(S<2)return S?ul(s[0]):[];for(var A=-1,F=ue(S);++A<S;)for(var z=s[A],j=-1;++j<S;)j!=A&&(F[A]=Hr(F[A]||z,s[j],u,_));return ul(bn(F,1),u,_)}function Vu(s,u,_){for(var S=-1,A=s.length,F=u.length,z={};++S<A;){var j=S<F?u[S]:t;_(z,s[S],j)}return z}function lo(s){return en(s)?s:[]}function ro(s){return typeof s=="function"?s:Fn}function fl(s,u){return st(s)?s:_o(s,u)?[s]:ff(Lt(s))}var g1=ct;function cl(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:ei(s,u,_)}var Ou=tm||function(s){return We.clearTimeout(s)};function Mu(s,u){if(u)return s.slice();var _=s.length,S=iu?iu(_):new s.constructor(_);return s.copy(S),S}function ao(s){var u=new s.constructor(s.byteLength);return new ya(u).set(new ya(s)),u}function _1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function p1(s){var u=new s.constructor(s.source,Ye.exec(s));return u.lastIndex=s.lastIndex,u}function m1(s){return Ur?Ft(Ur.call(s)):{}}function Fu(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Uu(s,u){if(s!==u){var _=s!==t,S=s===null,A=s===s,F=Kn(s),z=u!==t,j=u===null,$=u===u,_e=Kn(u);if(!j&&!_e&&!F&&s>u||F&&z&&$&&!j&&!_e||S&&z&&$||!_&&$||!A)return 1;if(!S&&!F&&!_e&&s<u||_e&&_&&A&&!S&&!F||j&&_&&A||!z&&A||!$)return-1}return 0}function b1(s,u,_){for(var S=-1,A=s.criteria,F=u.criteria,z=A.length,j=_.length;++S<z;){var $=Uu(A[S],F[S]);if($){if(S>=j)return $;var _e=_[S];return $*(_e=="desc"?-1:1)}}return s.index-u.index}function Bu(s,u,_,S){for(var A=-1,F=s.length,z=_.length,j=-1,$=u.length,_e=dn(F-z,0),pe=ue($+_e),Ce=!S;++j<$;)pe[j]=u[j];for(;++A<z;)(Ce||A<F)&&(pe[_[A]]=s[A]);for(;_e--;)pe[j++]=s[A++];return pe}function Hu(s,u,_,S){for(var A=-1,F=s.length,z=-1,j=_.length,$=-1,_e=u.length,pe=dn(F-j,0),Ce=ue(pe+_e),Oe=!S;++A<pe;)Ce[A]=s[A];for(var je=A;++$<_e;)Ce[je+$]=u[$];for(;++z<j;)(Oe||A<F)&&(Ce[je+_[z]]=s[A++]);return Ce}function Vn(s,u){var _=-1,S=s.length;for(u||(u=ue(S));++_<S;)u[_]=s[_];return u}function mi(s,u,_,S){var A=!_;_||(_={});for(var F=-1,z=u.length;++F<z;){var j=u[F],$=S?S(_[j],s[j],j,_,s):t;$===t&&($=s[j]),A?Fi(_,j,$):Br(_,j,$)}return _}function v1(s,u){return mi(s,go(s),u)}function w1(s,u){return mi(s,xu(s),u)}function Ba(s,u){return function(_,S){var A=st(_)?Dl:qm,F=u?u():{};return A(_,s,xe(S,2),F)}}function sr(s){return ct(function(u,_){var S=-1,A=_.length,F=A>1?_[A-1]:t,z=A>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(A--,F):t,z&&Nn(_[0],_[1],z)&&(F=A<3?t:F,A=1),u=Ft(u);++S<A;){var j=_[S];j&&s(u,j,S,F)}return u})}function Wu(s,u){return function(_,S){if(_==null)return _;if(!On(_))return s(_,S);for(var A=_.length,F=u?A:-1,z=Ft(_);(u?F--:++F<A)&&S(z[F],F,z)!==!1;);return _}}function qu(s){return function(u,_,S){for(var A=-1,F=Ft(u),z=S(u),j=z.length;j--;){var $=z[s?j:++A];if(_(F[$],$,F)===!1)break}return u}}function k1(s,u,_){var S=u&C,A=Gr(s);function F(){var z=this&&this!==We&&this instanceof F?A:s;return z.apply(S?_:this,arguments)}return F}function zu(s){return function(u){u=Lt(u);var _=er(u)?ai(u):t,S=_?_[0]:u.charAt(0),A=_?cl(_,1).join(""):u.slice(1);return S[s]()+A}}function or(s){return function(u){return Es(qf(Wf(u).replace(Is,"")),s,"")}}function Gr(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=ar(s.prototype),S=s.apply(_,u);return Yt(S)?S:_}}function S1(s,u,_){var S=Gr(s);function A(){for(var F=arguments.length,z=ue(F),j=F,$=ur(A);j--;)z[j]=arguments[j];var _e=F<3&&z[0]!==$&&z[F-1]!==$?[]:al(z,$);if(F-=_e.length,F<_)return Yu(s,u,Ha,A.placeholder,t,z,_e,t,t,_-F);var pe=this&&this!==We&&this instanceof A?S:s;return pn(pe,this,z)}return A}function Gu(s){return function(u,_,S){var A=Ft(u);if(!On(u)){var F=xe(_,3);u=mn(u),_=function(j){return F(A[j],j,A)}}var z=s(u,_,S);return z>-1?A[F?u[z]:z]:t}}function Ku(s){return Bi(function(u){var _=u.length,S=_,A=$n.prototype.thru;for(s&&u.reverse();S--;){var F=u[S];if(typeof F!="function")throw new Xn(a);if(A&&!z&&Ga(F)=="wrapper")var z=new $n([],!0)}for(S=z?S:_;++S<_;){F=u[S];var j=Ga(F),$=j=="wrapper"?co(F):t;$&&po($[0])&&$[1]==(H|I|V|D)&&!$[4].length&&$[9]==1?z=z[Ga($[0])].apply(z,$[3]):z=F.length==1&&po(F)?z[j]():z.thru(F)}return function(){var _e=arguments,pe=_e[0];if(z&&_e.length==1&&st(pe))return z.plant(pe).value();for(var Ce=0,Oe=_?u[Ce].apply(this,_e):pe;++Ce<_;)Oe=u[Ce].call(this,Oe);return Oe}})}function Ha(s,u,_,S,A,F,z,j,$,_e){var pe=u&H,Ce=u&C,Oe=u&y,je=u&(I|N),et=u&O,ft=Oe?t:Gr(s);function tt(){for(var pt=arguments.length,wt=ue(pt),jn=pt;jn--;)wt[jn]=arguments[jn];if(je)var Tn=ur(tt),Jn=Vp(wt,Tn);if(S&&(wt=Bu(wt,S,A,je)),F&&(wt=Hu(wt,F,z,je)),pt-=Jn,je&&pt<_e){var tn=al(wt,Tn);return Yu(s,u,Ha,tt.placeholder,_,wt,tn,j,$,_e-pt)}var ui=Ce?_:this,zi=Oe?ui[s]:s;return pt=wt.length,j?wt=q1(wt,j):et&&pt>1&&wt.reverse(),pe&&$<pt&&(wt.length=$),this&&this!==We&&this instanceof tt&&(zi=ft||Gr(zi)),zi.apply(ui,wt)}return tt}function ju(s,u){return function(_,S){return Zm(_,s,u(S),{})}}function Wa(s,u){return function(_,S){var A;if(_===t&&S===t)return u;if(_!==t&&(A=_),S!==t){if(A===t)return S;typeof _=="string"||typeof S=="string"?(_=Gn(_),S=Gn(S)):(_=Eu(_),S=Eu(S)),A=s(_,S)}return A}}function so(s){return Bi(function(u){return u=Jt(u,zn(xe())),ct(function(_){var S=this;return s(u,function(A){return pn(A,S,_)})})})}function qa(s,u){u=u===t?" ":Gn(u);var _=u.length;if(_<2)return _?eo(u,s):u;var S=eo(u,Ta(s/tr(u)));return er(u)?cl(ai(S),0,s).join(""):S.slice(0,s)}function C1(s,u,_,S){var A=u&C,F=Gr(s);function z(){for(var j=-1,$=arguments.length,_e=-1,pe=S.length,Ce=ue(pe+$),Oe=this&&this!==We&&this instanceof z?F:s;++_e<pe;)Ce[_e]=S[_e];for(;$--;)Ce[_e++]=arguments[++j];return pn(Oe,A?_:this,Ce)}return z}function Ju(s){return function(u,_,S){return S&&typeof S!="number"&&Nn(u,_,S)&&(_=S=t),u=qi(u),_===t?(_=u,u=0):_=qi(_),S=S===t?u<_?1:-1:qi(S),o1(u,_,S,s)}}function za(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=ni(u),_=ni(_)),s(u,_)}}function Yu(s,u,_,S,A,F,z,j,$,_e){var pe=u&I,Ce=pe?z:t,Oe=pe?t:z,je=pe?F:t,et=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=-4);var ft=[s,u,A,je,Ce,et,Oe,j,$,_e],tt=_.apply(t,ft);return po(s)&&sf(tt,ft),tt.placeholder=S,of(tt,s,u)}function oo(s){var u=cn[s];return function(_,S){if(_=ni(_),S=S==null?0:Sn(ut(S),292),S&&su(_)){var A=(Lt(_)+"e").split("e"),F=u(A[0]+"e"+(+A[1]+S));return A=(Lt(F)+"e").split("e"),+(A[0]+"e"+(+A[1]-S))}return u(_)}}var y1=lr&&1/ba(new lr([,-0]))[1]==ae?function(s){return new lr(s)}:Eo;function Qu(s){return function(u){var _=Cn(u);return _==Xe?Us(u):_==qe?Wp(u):Dp(u,s(u))}}function Ui(s,u,_,S,A,F,z,j){var $=u&y;if(!$&&typeof s!="function")throw new Xn(a);var _e=S?S.length:0;if(_e||(u&=-97,S=A=t),z=z===t?z:dn(ut(z),0),j=j===t?j:ut(j),_e-=A?A.length:0,u&E){var pe=S,Ce=A;S=A=t}var Oe=$?t:co(s),je=[s,u,_,S,A,pe,Ce,F,z,j];if(Oe&&B1(je,Oe),s=je[0],u=je[1],_=je[2],S=je[3],A=je[4],j=je[9]=je[9]===t?$?0:s.length:dn(je[9]-_e,0),!j&&u&(I|N)&&(u&=-25),!u||u==C)var et=k1(s,u,_);else u==I||u==N?et=S1(s,u,j):(u==V||u==(C|V))&&!A.length?et=C1(s,u,_,S):et=Ha.apply(t,je);var ft=Oe?Lu:sf;return of(ft(et,je),s,u)}function Zu(s,u,_,S){return s===t||oi(s,ir[_])&&!Et.call(S,_)?u:s}function Xu(s,u,_,S,A,F){return Yt(s)&&Yt(u)&&(F.set(u,s),Ma(s,u,t,Xu,F),F.delete(u)),s}function P1(s){return Jr(s)?t:s}function $u(s,u,_,S,A,F){var z=_&m,j=s.length,$=u.length;if(j!=$&&!(z&&$>j))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var Ce=-1,Oe=!0,je=_&v?new Ml:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var et=s[Ce],ft=u[Ce];if(S)var tt=z?S(ft,et,Ce,u,s,F):S(et,ft,Ce,s,u,F);if(tt!==t){if(tt)continue;Oe=!1;break}if(je){if(!Rs(u,function(pt,wt){if(!Dr(je,wt)&&(et===pt||A(et,pt,_,S,F)))return je.push(wt)})){Oe=!1;break}}else if(!(et===ft||A(et,ft,_,S,F))){Oe=!1;break}}return F.delete(s),F.delete(u),Oe}function I1(s,u,_,S,A,F,z){switch(_){case Xt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Wn:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case $e:case De:case Ut:return oi(+s,+u);case rt:return s.name==u.name&&s.message==u.message;case Ie:case an:return s==u+"";case Xe:var j=Us;case qe:var $=S&m;if(j||(j=ba),s.size!=u.size&&!$)return!1;var _e=z.get(s);if(_e)return _e==u;S|=v,z.set(s,u);var pe=$u(j(s),j(u),S,A,F,z);return z.delete(s),pe;case un:if(Ur)return Ur.call(s)==Ur.call(u)}return!1}function N1(s,u,_,S,A,F){var z=_&m,j=uo(s),$=j.length,_e=uo(u),pe=_e.length;if($!=pe&&!z)return!1;for(var Ce=$;Ce--;){var Oe=j[Ce];if(!(z?Oe in u:Et.call(u,Oe)))return!1}var je=F.get(s),et=F.get(u);if(je&&et)return je==u&&et==s;var ft=!0;F.set(s,u),F.set(u,s);for(var tt=z;++Ce<$;){Oe=j[Ce];var pt=s[Oe],wt=u[Oe];if(S)var jn=z?S(wt,pt,Oe,u,s,F):S(pt,wt,Oe,s,u,F);if(!(jn===t?pt===wt||A(pt,wt,_,S,F):jn)){ft=!1;break}tt||(tt=Oe=="constructor")}if(ft&&!tt){var Tn=s.constructor,Jn=u.constructor;Tn!=Jn&&"constructor"in s&&"constructor"in u&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof Jn=="function"&&Jn instanceof Jn)&&(ft=!1)}return F.delete(s),F.delete(u),ft}function Bi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,mn,go)}function fo(s){return bu(s,Mn,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=rr[u],S=Et.call(rr,u)?_.length:0;S--;){var A=_[S],F=A.func;if(F==null||F==s)return A.name}return u}function ur(s){var u=Et.call(M,"placeholder")?M:s;return u.placeholder}function xe(){var s=M.iteratee||Lo;return s=s===Lo?ku:s,arguments.length?s(arguments[0],arguments[1]):s}function Ka(s,u){var _=s.__data__;return O1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=mn(s),_=u.length;_--;){var S=u[_],A=s[S];u[_]=[S,A,nf(A)]}return u}function Bl(s,u){var _=Up(s,u);return wu(_)?_:t}function T1(s){var u=Et.call(s,Vl),_=s[Vl];try{s[Vl]=t;var S=!0}catch{}var A=Sa.call(s);return S&&(u?s[Vl]=_:delete s[Vl]),A}var go=Hs?function(s){return s==null?[]:(s=Ft(s),ll(Hs(s),function(u){return ru.call(s,u)}))}:Ro,xu=Hs?function(s){for(var u=[];s;)rl(u,go(s)),s=Pa(s);return u}:Ro,Cn=In;(Ws&&Cn(new Ws(new ArrayBuffer(1)))!=Xt||Or&&Cn(new Or)!=Xe||qs&&Cn(qs.resolve())!=rn||lr&&Cn(new lr)!=qe||Mr&&Cn(new Mr)!=zt)&&(Cn=function(s){var u=In(s),_=u==on?s.constructor:t,S=_?Hl(_):"";if(S)switch(S){case fm:return Xt;case cm:return Xe;case dm:return rn;case hm:return qe;case gm:return zt}return u});function L1(s,u,_){for(var S=-1,A=_.length;++S<A;){var F=_[S],z=F.size;switch(F.type){case"drop":s+=z;break;case"dropRight":u-=z;break;case"take":u=Sn(u,s+z);break;case"takeRight":s=dn(s,u-z);break}}return{start:s,end:u}}function A1(s){var u=s.match(Ri);return u?u[1].split(_i):[]}function ef(s,u,_){u=fl(u,s);for(var S=-1,A=u.length,F=!1;++S<A;){var z=bi(u[S]);if(!(F=s!=null&&_(s,z)))break;s=s[z]}return F||++S!=A?F:(A=s==null?0:s.length,!!A&&$a(A)&&Hi(z,A)&&(st(s)||Wl(s)))}function E1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Et.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!Kr(s)?ar(Pa(s)):{}}function R1(s,u,_){var S=s.constructor;switch(u){case Wn:return ao(s);case $e:case De:return new S(+s);case Xt:return _1(s,_);case wn:case Ci:case di:case kn:case yi:case Pi:case Ii:case Ni:case Ti:return Fu(s,_);case Xe:return new S;case Ut:case an:return new S(s);case Ie:return p1(s);case qe:return new S;case un:return m1(s)}}function D1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(gi,`{
|
|
34
|
-
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function V1(s){return st(s)||Wl(s)||!!(au&&s&&s[au])}function Hi(s,u){var _=typeof s;return u=u??oe,!!u&&(_=="number"||_!="symbol"&&Kt.test(s))&&s>-1&&s%1==0&&s<u}function Nn(s,u,_){if(!Yt(_))return!1;var S=typeof u;return(S=="number"?On(_)&&Hi(u,_.length):S=="string"&&u in _)?oi(_[u],s):!1}function _o(s,u){if(st(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Kn(s)?!0:Tl.test(s)||!Nl.test(s)||u!=null&&s in Ft(u)}function O1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function po(s){var u=Ga(s),_=M[u];if(typeof _!="function"||!(u in mt.prototype))return!1;if(s===_)return!0;var S=co(_);return!!S&&s===S[0]}function M1(s){return!!nu&&nu in s}var F1=wa?Wi:Do;function Kr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||ir;return s===_}function nf(s){return s===s&&!Yt(s)}function lf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Ft(_))}}function U1(s){var u=Za(s,function(S){return _.size===h&&_.clear(),S}),_=u.cache;return u}function B1(s,u){var _=s[1],S=u[1],A=_|S,F=A<(C|y|H),z=S==H&&_==I||S==H&&_==D&&s[7].length<=u[8]||S==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||z))return s;S&C&&(s[2]=u[2],A|=_&C?0:P);var j=u[3];if(j){var $=s[3];s[3]=$?Bu($,j,u[4]):j,s[4]=$?al(s[3],d):u[4]}return j=u[5],j&&($=s[5],s[5]=$?Hu($,j,u[6]):j,s[6]=$?al(s[5],d):u[6]),j=u[7],j&&(s[7]=j),S&H&&(s[8]=s[8]==null?u[8]:Sn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=A,s}function H1(s){var u=[];if(s!=null)for(var _ in Ft(s))u.push(_);return u}function W1(s){return Sa.call(s)}function rf(s,u,_){return u=dn(u===t?s.length-1:u,0),function(){for(var S=arguments,A=-1,F=dn(S.length-u,0),z=ue(F);++A<F;)z[A]=S[u+A];A=-1;for(var j=ue(u+1);++A<u;)j[A]=S[A];return j[u]=_(z),pn(s,this,j)}}function af(s,u){return u.length<2?s:Ul(s,ei(u,0,-1))}function q1(s,u){for(var _=s.length,S=Sn(u.length,_),A=Vn(s);S--;){var F=u[S];s[S]=Hi(F,_)?A[F]:t}return s}function mo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var sf=uf(Lu),jr=im||function(s,u){return We.setTimeout(s,u)},bo=uf(c1);function of(s,u,_){var S=u+"";return bo(s,D1(S,z1(A1(S),_)))}function uf(s){var u=0,_=0;return function(){var S=sm(),A=ce-(S-_);if(_=S,A>0){if(++u>=J)return arguments[0]}else u=0;return s.apply(t,arguments)}}function ja(s,u){var _=-1,S=s.length,A=S-1;for(u=u===t?S:u;++_<u;){var F=xs(_,A),z=s[F];s[F]=s[_],s[_]=z}return s.length=u,s}var ff=U1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Ll,function(_,S,A,F){u.push(A?F.replace(K,"$1"):S||_)}),u});function bi(s){if(typeof s=="string"||Kn(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function Hl(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function z1(s,u){return Mt(Je,function(_){var S="_."+_[0];u&_[1]&&!pa(s,S)&&s.push(S)}),s.sort()}function cf(s){if(s instanceof mt)return s.clone();var u=new $n(s.__wrapped__,s.__chain__);return u.__actions__=Vn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function G1(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=dn(ut(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var A=0,F=0,z=ue(Ta(S/u));A<S;)z[F++]=ei(s,A,A+=u);return z}function K1(s){for(var u=-1,_=s==null?0:s.length,S=0,A=[];++u<_;){var F=s[u];F&&(A[S++]=F)}return A}function j1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return rl(st(_)?Vn(_):[_],bn(u,1))}var J1=ct(function(s,u){return en(s)?Hr(s,bn(u,1,en,!0)):[]}),Y1=ct(function(s,u){var _=ti(u);return en(_)&&(_=t),en(s)?Hr(s,bn(u,1,en,!0),xe(_,2)):[]}),Q1=ct(function(s,u){var _=ti(u);return en(_)&&(_=t),en(s)?Hr(s,bn(u,1,en,!0),t,_):[]});function Z1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ut(u),ei(s,u<0?0:u,S)):[]}function X1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ut(u),u=S-u,ei(s,0,u<0?0:u)):[]}function $1(s,u){return s&&s.length?Ua(s,xe(u,3),!0,!0):[]}function x1(s,u){return s&&s.length?Ua(s,xe(u,3),!0):[]}function eb(s,u,_,S){var A=s==null?0:s.length;return A?(_&&typeof _!="number"&&Nn(s,u,_)&&(_=0,S=A),jm(s,u,_,S)):[]}function df(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ut(_);return A<0&&(A=dn(S+A,0)),ma(s,xe(u,3),A)}function hf(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S-1;return _!==t&&(A=ut(_),A=_<0?dn(S+A,0):Sn(A,S-1)),ma(s,xe(u,3),A,!0)}function gf(s){var u=s==null?0:s.length;return u?bn(s,1):[]}function tb(s){var u=s==null?0:s.length;return u?bn(s,ae):[]}function nb(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ut(u),bn(s,u)):[]}function ib(s){for(var u=-1,_=s==null?0:s.length,S={};++u<_;){var A=s[u];S[A[0]]=A[1]}return S}function _f(s){return s&&s.length?s[0]:t}function lb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ut(_);return A<0&&(A=dn(S+A,0)),xl(s,u,A)}function rb(s){var u=s==null?0:s.length;return u?ei(s,0,-1):[]}var ab=ct(function(s){var u=Jt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),sb=ct(function(s){var u=ti(s),_=Jt(s,lo);return u===ti(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,xe(u,2)):[]}),ob=ct(function(s){var u=ti(s),_=Jt(s,lo);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ys(_,t,u):[]});function ub(s,u){return s==null?"":rm.call(s,u)}function ti(s){var u=s==null?0:s.length;return u?s[u-1]:t}function fb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S;return _!==t&&(A=ut(_),A=A<0?dn(S+A,0):Sn(A,S-1)),u===u?zp(s,u,A):ma(s,Yo,A,!0)}function cb(s,u){return s&&s.length?Pu(s,ut(u)):t}var db=ct(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function hb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,xe(_,2)):s}function gb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var _b=Bi(function(s,u){var _=s==null?0:s.length,S=Gs(s,u);return Tu(s,Jt(u,function(A){return Hi(A,_)?+A:A}).sort(Uu)),S});function pb(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,A=[],F=s.length;for(u=xe(u,3);++S<F;){var z=s[S];u(z,S,s)&&(_.push(z),A.push(S))}return Tu(s,A),_}function vo(s){return s==null?s:um.call(s)}function mb(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&Nn(s,u,_)?(u=0,_=S):(u=u==null?0:ut(u),_=_===t?S:ut(_)),ei(s,u,_)):[]}function bb(s,u){return Fa(s,u)}function vb(s,u,_){return to(s,u,xe(_,2))}function wb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u);if(S<_&&oi(s[S],u))return S}return-1}function kb(s,u){return Fa(s,u,!0)}function Sb(s,u,_){return to(s,u,xe(_,2),!0)}function Cb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u,!0)-1;if(oi(s[S],u))return S}return-1}function yb(s){return s&&s.length?Au(s):[]}function Pb(s,u){return s&&s.length?Au(s,xe(u,2)):[]}function Ib(s){var u=s==null?0:s.length;return u?ei(s,1,u):[]}function Nb(s,u,_){return s&&s.length?(u=_||u===t?1:ut(u),ei(s,0,u<0?0:u)):[]}function Tb(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ut(u),u=S-u,ei(s,u<0?0:u,S)):[]}function Lb(s,u){return s&&s.length?Ua(s,xe(u,3),!1,!0):[]}function Ab(s,u){return s&&s.length?Ua(s,xe(u,3)):[]}var Eb=ct(function(s){return ul(bn(s,1,en,!0))}),Rb=ct(function(s){var u=ti(s);return en(u)&&(u=t),ul(bn(s,1,en,!0),xe(u,2))}),Db=ct(function(s){var u=ti(s);return u=typeof u=="function"?u:t,ul(bn(s,1,en,!0),t,u)});function Vb(s){return s&&s.length?ul(s):[]}function Ob(s,u){return s&&s.length?ul(s,xe(u,2)):[]}function Mb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ul(s,t,u):[]}function wo(s){if(!(s&&s.length))return[];var u=0;return s=ll(s,function(_){if(en(_))return u=dn(_.length,u),!0}),Ms(u,function(_){return Jt(s,Ds(_))})}function mf(s,u){if(!(s&&s.length))return[];var _=wo(s);return u==null?_:Jt(_,function(S){return pn(u,t,S)})}var Fb=ct(function(s,u){return en(s)?Hr(s,u):[]}),Ub=ct(function(s){return io(ll(s,en))}),Bb=ct(function(s){var u=ti(s);return en(u)&&(u=t),io(ll(s,en),xe(u,2))}),Hb=ct(function(s){var u=ti(s);return u=typeof u=="function"?u:t,io(ll(s,en),t,u)}),Wb=ct(wo);function qb(s,u){return Vu(s||[],u||[],Br)}function zb(s,u){return Vu(s||[],u||[],zr)}var Gb=ct(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,mf(s,_)});function bf(s){var u=M(s);return u.__chain__=!0,u}function Kb(s,u){return u(s),s}function Ja(s,u){return u(s)}var jb=Bi(function(s){var u=s.length,_=u?s[0]:0,S=this.__wrapped__,A=function(F){return Gs(F,s)};return u>1||this.__actions__.length||!(S instanceof mt)||!Hi(_)?this.thru(A):(S=S.slice(_,+_+(u?1:0)),S.__actions__.push({func:Ja,args:[A],thisArg:t}),new $n(S,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Jb(){return bf(this)}function Yb(){return new $n(this.value(),this.__chain__)}function Qb(){this.__values__===t&&(this.__values__=Rf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Zb(){return this}function Xb(s){for(var u,_=this;_ instanceof Ra;){var S=cf(_);S.__index__=0,S.__values__=t,u?A.__wrapped__=S:u=S;var A=S;_=_.__wrapped__}return A.__wrapped__=s,u}function $b(){var s=this.__wrapped__;if(s instanceof mt){var u=s;return this.__actions__.length&&(u=new mt(this)),u=u.reverse(),u.__actions__.push({func:Ja,args:[vo],thisArg:t}),new $n(u,this.__chain__)}return this.thru(vo)}function xb(){return Du(this.__wrapped__,this.__actions__)}var ev=Ba(function(s,u,_){Et.call(s,_)?++s[_]:Fi(s,_,1)});function tv(s,u,_){var S=st(s)?_a:Km;return _&&Nn(s,u,_)&&(u=t),S(s,xe(u,3))}function nv(s,u){var _=st(s)?ll:pu;return _(s,xe(u,3))}var iv=Gu(df),lv=Gu(hf);function rv(s,u){return bn(Ya(s,u),1)}function av(s,u){return bn(Ya(s,u),ae)}function sv(s,u,_){return _=_===t?1:ut(_),bn(Ya(s,u),_)}function vf(s,u){var _=st(s)?Mt:ol;return _(s,xe(u,3))}function wf(s,u){var _=st(s)?Zn:_u;return _(s,xe(u,3))}var ov=Ba(function(s,u,_){Et.call(s,_)?s[_].push(u):Fi(s,_,[u])});function uv(s,u,_,S){s=On(s)?s:cr(s),_=_&&!S?ut(_):0;var A=s.length;return _<0&&(_=dn(A+_,0)),xa(s)?_<=A&&s.indexOf(u,_)>-1:!!A&&xl(s,u,_)>-1}var fv=ct(function(s,u,_){var S=-1,A=typeof u=="function",F=On(s)?ue(s.length):[];return ol(s,function(z){F[++S]=A?pn(u,z,_):Wr(z,u,_)}),F}),cv=Ba(function(s,u,_){Fi(s,_,u)});function Ya(s,u){var _=st(s)?Jt:Su;return _(s,xe(u,3))}function dv(s,u,_,S){return s==null?[]:(st(u)||(u=u==null?[]:[u]),_=S?t:_,st(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var hv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function gv(s,u,_){var S=st(s)?Es:Zo,A=arguments.length<3;return S(s,xe(u,4),_,A,ol)}function _v(s,u,_){var S=st(s)?Np:Zo,A=arguments.length<3;return S(s,xe(u,4),_,A,_u)}function pv(s,u){var _=st(s)?ll:pu;return _(s,Xa(xe(u,3)))}function mv(s){var u=st(s)?cu:u1;return u(s)}function bv(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=ut(u);var S=st(s)?Hm:f1;return S(s,u)}function vv(s){var u=st(s)?Wm:d1;return u(s)}function wv(s){if(s==null)return 0;if(On(s))return xa(s)?tr(s):s.length;var u=Cn(s);return u==Xe||u==qe?s.size:Zs(s).length}function kv(s,u,_){var S=st(s)?Rs:h1;return _&&Nn(s,u,_)&&(u=t),S(s,xe(u,3))}var Sv=ct(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Nn(s,u[0],u[1])?u=[]:_>2&&Nn(u[0],u[1],u[2])&&(u=[u[0]]),Iu(s,bn(u,1),[])}),Qa=nm||function(){return We.Date.now()};function Cv(s,u){if(typeof u!="function")throw new Xn(a);return s=ut(s),function(){if(--s<1)return u.apply(this,arguments)}}function kf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Ui(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new Xn(a);return s=ut(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=ct(function(s,u,_){var S=C;if(_.length){var A=al(_,ur(ko));S|=V}return Ui(s,S,u,_,A)}),Cf=ct(function(s,u,_){var S=C|y;if(_.length){var A=al(_,ur(Cf));S|=V}return Ui(u,S,s,_,A)});function yf(s,u,_){u=_?t:u;var S=Ui(s,I,t,t,t,t,t,u);return S.placeholder=yf.placeholder,S}function Pf(s,u,_){u=_?t:u;var S=Ui(s,N,t,t,t,t,t,u);return S.placeholder=Pf.placeholder,S}function If(s,u,_){var S,A,F,z,j,$,_e=0,pe=!1,Ce=!1,Oe=!0;if(typeof s!="function")throw new Xn(a);u=ni(u)||0,Yt(_)&&(pe=!!_.leading,Ce="maxWait"in _,F=Ce?dn(ni(_.maxWait)||0,u):F,Oe="trailing"in _?!!_.trailing:Oe);function je(tn){var ui=S,zi=A;return S=A=t,_e=tn,z=s.apply(zi,ui),z}function et(tn){return _e=tn,j=jr(pt,u),pe?je(tn):z}function ft(tn){var ui=tn-$,zi=tn-_e,Kf=u-ui;return Ce?Sn(Kf,F-zi):Kf}function tt(tn){var ui=tn-$,zi=tn-_e;return $===t||ui>=u||ui<0||Ce&&zi>=F}function pt(){var tn=Qa();if(tt(tn))return wt(tn);j=jr(pt,ft(tn))}function wt(tn){return j=t,Oe&&S?je(tn):(S=A=t,z)}function jn(){j!==t&&Ou(j),_e=0,S=$=A=j=t}function Tn(){return j===t?z:wt(Qa())}function Jn(){var tn=Qa(),ui=tt(tn);if(S=arguments,A=this,$=tn,ui){if(j===t)return et($);if(Ce)return Ou(j),j=jr(pt,u),je($)}return j===t&&(j=jr(pt,u)),z}return Jn.cancel=jn,Jn.flush=Tn,Jn}var yv=ct(function(s,u){return gu(s,1,u)}),Pv=ct(function(s,u,_){return gu(s,ni(u)||0,_)});function Iv(s){return Ui(s,O)}function Za(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Xn(a);var _=function(){var S=arguments,A=u?u.apply(this,S):S[0],F=_.cache;if(F.has(A))return F.get(A);var z=s.apply(this,S);return _.cache=F.set(A,z)||F,z};return _.cache=new(Za.Cache||Mi),_}Za.Cache=Mi;function Xa(s){if(typeof s!="function")throw new Xn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function Nv(s){return Sf(2,s)}var Tv=g1(function(s,u){u=u.length==1&&st(u[0])?Jt(u[0],zn(xe())):Jt(bn(u,1),zn(xe()));var _=u.length;return ct(function(S){for(var A=-1,F=Sn(S.length,_);++A<F;)S[A]=u[A].call(this,S[A]);return pn(s,this,S)})}),So=ct(function(s,u){var _=al(u,ur(So));return Ui(s,V,t,u,_)}),Nf=ct(function(s,u){var _=al(u,ur(Nf));return Ui(s,E,t,u,_)}),Lv=Bi(function(s,u){return Ui(s,D,t,t,t,u)});function Av(s,u){if(typeof s!="function")throw new Xn(a);return u=u===t?u:ut(u),ct(s,u)}function Ev(s,u){if(typeof s!="function")throw new Xn(a);return u=u==null?0:dn(ut(u),0),ct(function(_){var S=_[u],A=cl(_,0,u);return S&&rl(A,S),pn(s,this,A)})}function Rv(s,u,_){var S=!0,A=!0;if(typeof s!="function")throw new Xn(a);return Yt(_)&&(S="leading"in _?!!_.leading:S,A="trailing"in _?!!_.trailing:A),If(s,u,{leading:S,maxWait:u,trailing:A})}function Dv(s){return kf(s,1)}function Vv(s,u){return So(ro(u),s)}function Ov(){if(!arguments.length)return[];var s=arguments[0];return st(s)?s:[s]}function Mv(s){return xn(s,b)}function Fv(s,u){return u=typeof u=="function"?u:t,xn(s,b,u)}function Uv(s){return xn(s,g|b)}function Bv(s,u){return u=typeof u=="function"?u:t,xn(s,g|b,u)}function Hv(s,u){return u==null||hu(s,u,mn(u))}function oi(s,u){return s===u||s!==s&&u!==u}var Wv=za(Js),qv=za(function(s,u){return s>=u}),Wl=vu(function(){return arguments}())?vu:function(s){return xt(s)&&Et.call(s,"callee")&&!ru.call(s,"callee")},st=ue.isArray,zv=il?zn(il):Xm;function On(s){return s!=null&&$a(s.length)&&!Wi(s)}function en(s){return xt(s)&&On(s)}function Gv(s){return s===!0||s===!1||xt(s)&&In(s)==$e}var dl=lm||Do,Kv=Xl?zn(Xl):$m;function jv(s){return xt(s)&&s.nodeType===1&&!Jr(s)}function Jv(s){if(s==null)return!0;if(On(s)&&(st(s)||typeof s=="string"||typeof s.splice=="function"||dl(s)||fr(s)||Wl(s)))return!s.length;var u=Cn(s);if(u==Xe||u==qe)return!s.size;if(Kr(s))return!Zs(s).length;for(var _ in s)if(Et.call(s,_))return!1;return!0}function Yv(s,u){return qr(s,u)}function Qv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?qr(s,u,t,_):!!S}function Co(s){if(!xt(s))return!1;var u=In(s);return u==rt||u==it||typeof s.message=="string"&&typeof s.name=="string"&&!Jr(s)}function Zv(s){return typeof s=="number"&&su(s)}function Wi(s){if(!Yt(s))return!1;var u=In(s);return u==ht||u==ge||u==Ge||u==Rn}function Tf(s){return typeof s=="number"&&s==ut(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=oe}function Yt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function xt(s){return s!=null&&typeof s=="object"}var Lf=Rl?zn(Rl):e1;function Xv(s,u){return s===u||Qs(s,u,ho(u))}function $v(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function xv(s){return Af(s)&&s!=+s}function e0(s){if(F1(s))throw new at(r);return wu(s)}function t0(s){return s===null}function n0(s){return s==null}function Af(s){return typeof s=="number"||xt(s)&&In(s)==Ut}function Jr(s){if(!xt(s)||In(s)!=on)return!1;var u=Pa(s);if(u===null)return!0;var _=Et.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==$p}var yo=Ls?zn(Ls):t1;function i0(s){return Tf(s)&&s>=-9007199254740991&&s<=oe}var Ef=$l?zn($l):n1;function xa(s){return typeof s=="string"||!st(s)&&xt(s)&&In(s)==an}function Kn(s){return typeof s=="symbol"||xt(s)&&In(s)==un}var fr=ga?zn(ga):i1;function l0(s){return s===t}function r0(s){return xt(s)&&Cn(s)==zt}function a0(s){return xt(s)&&In(s)==Gt}var s0=za(Xs),o0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(On(s))return xa(s)?ai(s):Vn(s);if(Vr&&s[Vr])return Hp(s[Vr]());var u=Cn(s),_=u==Xe?Us:u==qe?ba:cr;return _(s)}function qi(s){if(!s)return s===0?s:0;if(s=ni(s),s===ae||s===-1/0){var u=s<0?-1:1;return u*ee}return s===s?s:0}function ut(s){var u=qi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Fl(ut(s),0,se):0}function ni(s){if(typeof s=="number")return s;if(Kn(s))return ye;if(Yt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Yt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Xo(s);var _=bt.test(s);return _||Bt.test(s)?Er(s.slice(2),_?2:8):lt.test(s)?ye:+s}function Vf(s){return mi(s,Mn(s))}function u0(s){return s?Fl(ut(s),-9007199254740991,oe):s===0?s:0}function Lt(s){return s==null?"":Gn(s)}var f0=sr(function(s,u){if(Kr(u)||On(u)){mi(u,mn(u),s);return}for(var _ in u)Et.call(u,_)&&Br(s,_,u[_])}),Of=sr(function(s,u){mi(u,Mn(u),s)}),es=sr(function(s,u,_,S){mi(u,Mn(u),s,S)}),c0=sr(function(s,u,_,S){mi(u,mn(u),s,S)}),d0=Bi(Gs);function h0(s,u){var _=ar(s);return u==null?_:du(_,u)}var g0=ct(function(s,u){s=Ft(s);var _=-1,S=u.length,A=S>2?u[2]:t;for(A&&Nn(u[0],u[1],A)&&(S=1);++_<S;)for(var F=u[_],z=Mn(F),j=-1,$=z.length;++j<$;){var _e=z[j],pe=s[_e];(pe===t||oi(pe,ir[_e])&&!Et.call(s,_e))&&(s[_e]=F[_e])}return s}),_0=ct(function(s){return s.push(t,Xu),pn(Mf,t,s)});function p0(s,u){return Jo(s,xe(u,3),pi)}function m0(s,u){return Jo(s,xe(u,3),js)}function b0(s,u){return s==null?s:Ks(s,xe(u,3),Mn)}function v0(s,u){return s==null?s:mu(s,xe(u,3),Mn)}function w0(s,u){return s&&pi(s,xe(u,3))}function k0(s,u){return s&&js(s,xe(u,3))}function S0(s){return s==null?[]:Oa(s,mn(s))}function C0(s){return s==null?[]:Oa(s,Mn(s))}function Po(s,u,_){var S=s==null?t:Ul(s,u);return S===t?_:S}function y0(s,u){return s!=null&&ef(s,u,Jm)}function Io(s,u){return s!=null&&ef(s,u,Ym)}var P0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(Fn)),I0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Et.call(s,u)?s[u].push(_):s[u]=[_]},xe),N0=ct(Wr);function mn(s){return On(s)?fu(s):Zs(s)}function Mn(s){return On(s)?fu(s,!0):l1(s)}function T0(s,u){var _={};return u=xe(u,3),pi(s,function(S,A,F){Fi(_,u(S,A,F),S)}),_}function L0(s,u){var _={};return u=xe(u,3),pi(s,function(S,A,F){Fi(_,A,u(S,A,F))}),_}var A0=sr(function(s,u,_){Ma(s,u,_)}),Mf=sr(function(s,u,_,S){Ma(s,u,_,S)}),E0=Bi(function(s,u){var _={};if(s==null)return _;var S=!1;u=Jt(u,function(F){return F=fl(F,s),S||(S=F.length>1),F}),mi(s,fo(s),_),S&&(_=xn(_,g|p|b,P1));for(var A=u.length;A--;)no(_,u[A]);return _});function R0(s,u){return Ff(s,Xa(xe(u)))}var D0=Bi(function(s,u){return s==null?{}:a1(s,u)});function Ff(s,u){if(s==null)return{};var _=Jt(fo(s),function(S){return[S]});return u=xe(u),Nu(s,_,function(S,A){return u(S,A[0])})}function V0(s,u,_){u=fl(u,s);var S=-1,A=u.length;for(A||(A=1,s=t);++S<A;){var F=s==null?t:s[bi(u[S])];F===t&&(S=A,F=_),s=Wi(F)?F.call(s):F}return s}function O0(s,u,_){return s==null?s:zr(s,u,_)}function M0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:zr(s,u,_,S)}var Uf=Qu(mn),Bf=Qu(Mn);function F0(s,u,_){var S=st(s),A=S||dl(s)||fr(s);if(u=xe(u,4),_==null){var F=s&&s.constructor;A?_=S?new F:[]:Yt(s)?_=Wi(F)?ar(Pa(s)):{}:_={}}return(A?Mt:pi)(s,function(z,j,$){return u(_,z,j,$)}),_}function U0(s,u){return s==null?!0:no(s,u)}function B0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function H0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:Ru(s,u,ro(_),S)}function cr(s){return s==null?[]:Fs(s,mn(s))}function W0(s){return s==null?[]:Fs(s,Mn(s))}function q0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=ni(_),_=_===_?_:0),u!==t&&(u=ni(u),u=u===u?u:0),Fl(ni(s),u,_)}function z0(s,u,_){return u=qi(u),_===t?(_=u,u=0):_=qi(_),s=ni(s),Qm(s,u,_)}function G0(s,u,_){if(_&&typeof _!="boolean"&&Nn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=qi(s),u===t?(u=s,s=0):u=qi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var A=ou();return Sn(s+A*(u-s+nl("1e-"+((A+"").length-1))),u)}return xs(s,u)}var K0=or(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(Lt(s).toLowerCase())}function Wf(s){return s=Lt(s),s&&s.replace(Dn,Op).replace(Ns,"")}function j0(s,u,_){s=Lt(s),u=Gn(u);var S=s.length;_=_===t?S:Fl(ut(_),0,S);var A=_;return _-=u.length,_>=0&&s.slice(_,A)==u}function J0(s){return s=Lt(s),s&&hi.test(s)?s.replace(Ji,Mp):s}function Y0(s){return s=Lt(s),s&&Al.test(s)?s.replace(Ai,"\\$&"):s}var Q0=or(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),Z0=or(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),X0=zu("toLowerCase");function $0(s,u,_){s=Lt(s),u=ut(u);var S=u?tr(s):0;if(!u||S>=u)return s;var A=(u-S)/2;return qa(La(A),_)+s+qa(Ta(A),_)}function x0(s,u,_){s=Lt(s),u=ut(u);var S=u?tr(s):0;return u&&S<u?s+qa(u-S,_):s}function ew(s,u,_){s=Lt(s),u=ut(u);var S=u?tr(s):0;return u&&S<u?qa(u-S,_)+s:s}function tw(s,u,_){return _||u==null?u=0:u&&(u=+u),om(Lt(s).replace(ri,""),u||0)}function nw(s,u,_){return(_?Nn(s,u,_):u===t)?u=1:u=ut(u),eo(Lt(s),u)}function iw(){var s=arguments,u=Lt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var lw=or(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function rw(s,u,_){return _&&typeof _!="number"&&Nn(s,u,_)&&(u=_=t),_=_===t?se:_>>>0,_?(s=Lt(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=Gn(u),!u&&er(s))?cl(ai(s),0,_):s.split(u,_)):[]}var aw=or(function(s,u,_){return s+(_?" ":"")+No(u)});function sw(s,u,_){return s=Lt(s),_=_==null?0:Fl(ut(_),0,s.length),u=Gn(u),s.slice(_,_+u.length)==u}function ow(s,u,_){var S=M.templateSettings;_&&Nn(s,u,_)&&(u=t),s=Lt(s),u=es({},u,S,Zu);var A=es({},u.imports,S.imports,Zu),F=mn(A),z=Fs(A,F),j,$,_e=0,pe=u.interpolate||qn,Ce="__p += '",Oe=Bs((u.escape||qn).source+"|"+pe.source+"|"+(pe===Qi?Se:qn).source+"|"+(u.evaluate||qn).source+"|$","g"),je="//# sourceURL="+(Et.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+`
|
|
36
|
-
`;s.replace(Oe,function(tt,pt,wt,jn,Tn,Jn){return wt||(wt=jn),Ce+=s.slice(_e,Jn).replace(El,Fp),pt&&(j=!0,Ce+=`' +
|
|
37
|
-
__e(`+pt+`) +
|
|
38
|
-
'`),Tn&&($=!0,Ce+=`';
|
|
39
|
-
`+Tn+`;
|
|
40
|
-
__p += '`),wt&&(Ce+=`' +
|
|
41
|
-
((__t = (`+wt+`)) == null ? '' : __t) +
|
|
42
|
-
'`),_e=Jn+tt.length,tt}),Ce+=`';
|
|
43
|
-
`;var et=Et.call(u,"variable")&&u.variable;if(!et)Ce=`with (obj) {
|
|
44
|
-
`+Ce+`
|
|
45
|
-
}
|
|
46
|
-
`;else if(Xi.test(et))throw new at(o);Ce=($?Ce.replace(Sl,""):Ce).replace(Cl,"$1").replace(yl,"$1;"),Ce="function("+(et||"obj")+`) {
|
|
47
|
-
`+(et?"":`obj || (obj = {});
|
|
48
|
-
`)+"var __t, __p = ''"+(j?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
|
49
|
-
function print() { __p += __j.call(arguments, '') }
|
|
50
|
-
`:`;
|
|
51
|
-
`)+Ce+`return __p
|
|
52
|
-
}`;var ft=zf(function(){return Nt(F,je+"return "+Ce).apply(t,z)});if(ft.source=Ce,Co(ft))throw ft;return ft}function uw(s){return Lt(s).toLowerCase()}function fw(s){return Lt(s).toUpperCase()}function cw(s,u,_){if(s=Lt(s),s&&(_||u===t))return Xo(s);if(!s||!(u=Gn(u)))return s;var S=ai(s),A=ai(u),F=$o(S,A),z=xo(S,A)+1;return cl(S,F,z).join("")}function dw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=Gn(u)))return s;var S=ai(s),A=xo(S,ai(u))+1;return cl(S,0,A).join("")}function hw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.replace(ri,"");if(!s||!(u=Gn(u)))return s;var S=ai(s),A=$o(S,ai(u));return cl(S,A).join("")}function gw(s,u){var _=G,S=Z;if(Yt(u)){var A="separator"in u?u.separator:A;_="length"in u?ut(u.length):_,S="omission"in u?Gn(u.omission):S}s=Lt(s);var F=s.length;if(er(s)){var z=ai(s);F=z.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var $=z?cl(z,0,j).join(""):s.slice(0,j);if(A===t)return $+S;if(z&&(j+=$.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=$;for(A.global||(A=Bs(A.source,Lt(Ye.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;$=$.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(Gn(A),j)!=j){var Oe=$.lastIndexOf(A);Oe>-1&&($=$.slice(0,Oe))}return $+S}function _w(s){return s=Lt(s),s&&Yi.test(s)?s.replace(Li,Gp):s}var pw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=Lt(s),u=_?t:u,u===t?Bp(s)?Jp(s):Ap(s):s.match(u)||[]}var zf=ct(function(s,u){try{return pn(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),mw=Bi(function(s,u){return Mt(u,function(_){_=bi(_),Fi(s,_,ko(s[_],s))}),s});function bw(s){var u=s==null?0:s.length,_=xe();return s=u?Jt(s,function(S){if(typeof S[1]!="function")throw new Xn(a);return[_(S[0]),S[1]]}):[],ct(function(S){for(var A=-1;++A<u;){var F=s[A];if(pn(F[0],this,S))return pn(F[1],this,S)}})}function vw(s){return Gm(xn(s,g))}function To(s){return function(){return s}}function ww(s,u){return s==null||s!==s?u:s}var kw=Ku(),Sw=Ku(!0);function Fn(s){return s}function Lo(s){return ku(typeof s=="function"?s:xn(s,g))}function Cw(s){return Cu(xn(s,g))}function yw(s,u){return yu(s,xn(u,g))}var Pw=ct(function(s,u){return function(_){return Wr(_,s,u)}}),Iw=ct(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=mn(u),A=Oa(u,S);_==null&&!(Yt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,mn(u)));var F=!(Yt(_)&&"chain"in _)||!!_.chain,z=Wi(s);return Mt(A,function(j){var $=u[j];s[j]=$,z&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Vn(this.__actions__);return Ce.push({func:$,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return $.apply(s,rl([this.value()],arguments))})}),s}function Nw(){return We._===this&&(We._=xp),this}function Eo(){}function Tw(s){return s=ut(s),ct(function(u){return Pu(u,s)})}var Lw=so(Jt),Aw=so(_a),Ew=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):s1(s)}function Rw(s){return function(u){return s==null?t:Ul(s,u)}}var Dw=Ju(),Vw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Ow(){return{}}function Mw(){return""}function Fw(){return!0}function Uw(s,u){if(s=ut(s),s<1||s>oe)return[];var _=se,S=Sn(s,se);u=xe(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Bw(s){return st(s)?Jt(s,bi):Kn(s)?[s]:Vn(ff(Lt(s)))}function Hw(s){var u=++Xp;return Lt(s)+u}var Ww=Wa(function(s,u){return s+u},0),qw=oo("ceil"),zw=Wa(function(s,u){return s/u},1),Gw=oo("floor");function Kw(s){return s&&s.length?Va(s,Fn,Js):t}function jw(s,u){return s&&s.length?Va(s,xe(u,2),Js):t}function Jw(s){return Qo(s,Fn)}function Yw(s,u){return Qo(s,xe(u,2))}function Qw(s){return s&&s.length?Va(s,Fn,Xs):t}function Zw(s,u){return s&&s.length?Va(s,xe(u,2),Xs):t}var Xw=Wa(function(s,u){return s*u},1),$w=oo("round"),xw=Wa(function(s,u){return s-u},0);function ek(s){return s&&s.length?Os(s,Fn):0}function tk(s,u){return s&&s.length?Os(s,xe(u,2)):0}return M.after=Cv,M.ary=kf,M.assign=f0,M.assignIn=Of,M.assignInWith=es,M.assignWith=c0,M.at=d0,M.before=Sf,M.bind=ko,M.bindAll=mw,M.bindKey=Cf,M.castArray=Ov,M.chain=bf,M.chunk=G1,M.compact=K1,M.concat=j1,M.cond=bw,M.conforms=vw,M.constant=To,M.countBy=ev,M.create=h0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=g0,M.defaultsDeep=_0,M.defer=yv,M.delay=Pv,M.difference=J1,M.differenceBy=Y1,M.differenceWith=Q1,M.drop=Z1,M.dropRight=X1,M.dropRightWhile=$1,M.dropWhile=x1,M.fill=eb,M.filter=nv,M.flatMap=rv,M.flatMapDeep=av,M.flatMapDepth=sv,M.flatten=gf,M.flattenDeep=tb,M.flattenDepth=nb,M.flip=Iv,M.flow=kw,M.flowRight=Sw,M.fromPairs=ib,M.functions=S0,M.functionsIn=C0,M.groupBy=ov,M.initial=rb,M.intersection=ab,M.intersectionBy=sb,M.intersectionWith=ob,M.invert=P0,M.invertBy=I0,M.invokeMap=fv,M.iteratee=Lo,M.keyBy=cv,M.keys=mn,M.keysIn=Mn,M.map=Ya,M.mapKeys=T0,M.mapValues=L0,M.matches=Cw,M.matchesProperty=yw,M.memoize=Za,M.merge=A0,M.mergeWith=Mf,M.method=Pw,M.methodOf=Iw,M.mixin=Ao,M.negate=Xa,M.nthArg=Tw,M.omit=E0,M.omitBy=R0,M.once=Nv,M.orderBy=dv,M.over=Lw,M.overArgs=Tv,M.overEvery=Aw,M.overSome=Ew,M.partial=So,M.partialRight=Nf,M.partition=hv,M.pick=D0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Rw,M.pull=db,M.pullAll=pf,M.pullAllBy=hb,M.pullAllWith=gb,M.pullAt=_b,M.range=Dw,M.rangeRight=Vw,M.rearg=Lv,M.reject=pv,M.remove=pb,M.rest=Av,M.reverse=vo,M.sampleSize=bv,M.set=O0,M.setWith=M0,M.shuffle=vv,M.slice=mb,M.sortBy=Sv,M.sortedUniq=yb,M.sortedUniqBy=Pb,M.split=rw,M.spread=Ev,M.tail=Ib,M.take=Nb,M.takeRight=Tb,M.takeRightWhile=Lb,M.takeWhile=Ab,M.tap=Kb,M.throttle=Rv,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Bw,M.toPlainObject=Vf,M.transform=F0,M.unary=Dv,M.union=Eb,M.unionBy=Rb,M.unionWith=Db,M.uniq=Vb,M.uniqBy=Ob,M.uniqWith=Mb,M.unset=U0,M.unzip=wo,M.unzipWith=mf,M.update=B0,M.updateWith=H0,M.values=cr,M.valuesIn=W0,M.without=Fb,M.words=qf,M.wrap=Vv,M.xor=Ub,M.xorBy=Bb,M.xorWith=Hb,M.zip=Wb,M.zipObject=qb,M.zipObjectDeep=zb,M.zipWith=Gb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Ww,M.attempt=zf,M.camelCase=K0,M.capitalize=Hf,M.ceil=qw,M.clamp=q0,M.clone=Mv,M.cloneDeep=Uv,M.cloneDeepWith=Bv,M.cloneWith=Fv,M.conformsTo=Hv,M.deburr=Wf,M.defaultTo=ww,M.divide=zw,M.endsWith=j0,M.eq=oi,M.escape=J0,M.escapeRegExp=Y0,M.every=tv,M.find=iv,M.findIndex=df,M.findKey=p0,M.findLast=lv,M.findLastIndex=hf,M.findLastKey=m0,M.floor=Gw,M.forEach=vf,M.forEachRight=wf,M.forIn=b0,M.forInRight=v0,M.forOwn=w0,M.forOwnRight=k0,M.get=Po,M.gt=Wv,M.gte=qv,M.has=y0,M.hasIn=Io,M.head=_f,M.identity=Fn,M.includes=uv,M.indexOf=lb,M.inRange=z0,M.invoke=N0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=zv,M.isArrayLike=On,M.isArrayLikeObject=en,M.isBoolean=Gv,M.isBuffer=dl,M.isDate=Kv,M.isElement=jv,M.isEmpty=Jv,M.isEqual=Yv,M.isEqualWith=Qv,M.isError=Co,M.isFinite=Zv,M.isFunction=Wi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Xv,M.isMatchWith=$v,M.isNaN=xv,M.isNative=e0,M.isNil=n0,M.isNull=t0,M.isNumber=Af,M.isObject=Yt,M.isObjectLike=xt,M.isPlainObject=Jr,M.isRegExp=yo,M.isSafeInteger=i0,M.isSet=Ef,M.isString=xa,M.isSymbol=Kn,M.isTypedArray=fr,M.isUndefined=l0,M.isWeakMap=r0,M.isWeakSet=a0,M.join=ub,M.kebabCase=Q0,M.last=ti,M.lastIndexOf=fb,M.lowerCase=Z0,M.lowerFirst=X0,M.lt=s0,M.lte=o0,M.max=Kw,M.maxBy=jw,M.mean=Jw,M.meanBy=Yw,M.min=Qw,M.minBy=Zw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Ow,M.stubString=Mw,M.stubTrue=Fw,M.multiply=Xw,M.nth=cb,M.noConflict=Nw,M.noop=Eo,M.now=Qa,M.pad=$0,M.padEnd=x0,M.padStart=ew,M.parseInt=tw,M.random=G0,M.reduce=gv,M.reduceRight=_v,M.repeat=nw,M.replace=iw,M.result=V0,M.round=$w,M.runInContext=X,M.sample=mv,M.size=wv,M.snakeCase=lw,M.some=kv,M.sortedIndex=bb,M.sortedIndexBy=vb,M.sortedIndexOf=wb,M.sortedLastIndex=kb,M.sortedLastIndexBy=Sb,M.sortedLastIndexOf=Cb,M.startCase=aw,M.startsWith=sw,M.subtract=xw,M.sum=ek,M.sumBy=tk,M.template=ow,M.times=Uw,M.toFinite=qi,M.toInteger=ut,M.toLength=Df,M.toLower=uw,M.toNumber=ni,M.toSafeInteger=u0,M.toString=Lt,M.toUpper=fw,M.trim=cw,M.trimEnd=dw,M.trimStart=hw,M.truncate=gw,M.unescape=_w,M.uniqueId=Hw,M.upperCase=pw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return pi(M,function(u,_){Et.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Mt(["drop","take"],function(s,u){mt.prototype[s]=function(_){_=_===t?1:dn(ut(_),0);var S=this.__filtered__&&!u?new mt(this):this.clone();return S.__filtered__?S.__takeCount__=Sn(_,S.__takeCount__):S.__views__.push({size:Sn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},mt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Mt(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Y||_==q;mt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:xe(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Mt(["head","last"],function(s,u){var _="take"+(u?"Right":"");mt.prototype[s]=function(){return this[_](1).value()[0]}}),Mt(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");mt.prototype[s]=function(){return this.__filtered__?new mt(this):this[_](1)}}),mt.prototype.compact=function(){return this.filter(Fn)},mt.prototype.find=function(s){return this.filter(s).head()},mt.prototype.findLast=function(s){return this.reverse().find(s)},mt.prototype.invokeMap=ct(function(s,u){return typeof s=="function"?new mt(this):this.map(function(_){return Wr(_,s,u)})}),mt.prototype.reject=function(s){return this.filter(Xa(xe(s)))},mt.prototype.slice=function(s,u){s=ut(s);var _=this;return _.__filtered__&&(s>0||u<0)?new mt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ut(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},mt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},mt.prototype.toArray=function(){return this.take(se)},pi(mt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),A=M[S?"take"+(u=="last"?"Right":""):u],F=S||/^find/.test(u);A&&(M.prototype[u]=function(){var z=this.__wrapped__,j=S?[1]:arguments,$=z instanceof mt,_e=j[0],pe=$||st(z),Ce=function(pt){var wt=A.apply(M,rl([pt],j));return S&&Oe?wt[0]:wt};pe&&_&&typeof _e=="function"&&_e.length!=1&&($=pe=!1);var Oe=this.__chain__,je=!!this.__actions__.length,et=F&&!Oe,ft=$&&!je;if(!F&&pe){z=ft?z:new mt(this);var tt=s.apply(z,j);return tt.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new $n(tt,Oe)}return et&&ft?s.apply(this,j):(tt=this.thru(Ce),et?S?tt.value()[0]:tt.value():tt)})}),Mt(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var A=arguments;if(S&&!this.__chain__){var F=this.value();return u.apply(st(F)?F:[],A)}return this[_](function(z){return u.apply(st(z)?z:[],A)})}}),pi(mt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Et.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],mt.prototype.clone=_m,mt.prototype.reverse=pm,mt.prototype.value=mm,M.prototype.at=jb,M.prototype.chain=Jb,M.prototype.commit=Yb,M.prototype.next=Qb,M.prototype.plant=Xb,M.prototype.reverse=$b,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Zb),M},nr=Yp();It?((It.exports=nr)._=nr,Tt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Zk{getNodePath(e,t){return me.getNodePath(e,t)}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=ie.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await qt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await qt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(e))return;const c=ne.getConfigValue("routing.useHashRouting"),h=ne.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=ne.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ne.getConfigValue("routing.useHashRouting")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ne.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ne.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ne.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ne.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await qt.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await qt.getChildren(h,d));if(n.isExistingRoute){const h=ie.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await qt.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?ie.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await qt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=ne.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=le.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,N=P;for(;N;){if(N.tabNav===!0){I=!0;break}else if(N.tabNav===!1){I=!1;break}else if(ie.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=le.getParentNode(N,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=le.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=le.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let G=document.getElementsByClassName("iframeContainer")[0];if(G&&(I?G.classList.add("iframeContainerTabNav"):G.classList.contains("iframeContainerTabNav")&&G.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const J=document.querySelector(".wcContainer");if(J&&(J.configChangedRequest=!1),G&&(G.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const ce=t.get(),Y=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Y),withoutSync:!0})}}const Z=document.querySelector(".lui-tab-header");Z&&Z.dispatchEvent(new Event("lui_ctx_update")),qt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await qt.extractDataFromPath(e);sp.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Yn.deleteNodesRecursively(c);break}}else r=!1}}else Yn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=fi.getActiveIframe(r);a&&a.vg&&fi.canCache(a.vg)?(fi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{fi.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...zk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:zl.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&zl.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&kr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>le.checkVisibleForFeatureToggles(a))),zl.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ne.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ne.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(ne.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const ot=new Zk;class Xk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ie.getPathWithoutHash(t):"",l=await qt.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){zl.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(ie.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ie.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,ie.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ee.getIframeContainer().style.marginBottom="",gt.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ee.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const gt=new Xk;class $k{luigiAfterInit(){ne.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const xk=new $k;class e2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=ne.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ci=new e2;class t2{constructor(){return this._userInfoStore=vr({}),this._loggedInStore=vr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ne.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ne.getConfigValue(`auth.${e}`),n=_l.parseUrlAuthErrors()||{};if(await _l.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ne.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(ne.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(hl(this._userInfoStore))),ie.isFunction(ne.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),ci.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ci.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=_l.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=ne.getConfigValue(`auth.${ne.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!ie.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(ne.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const gn=new t2;class n2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(ie.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const $r=new n2;class i2{getStoredAuthData(){return ci.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const _l=new i2;class l2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),a=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),h=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),g=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const Sr=new l2;class r2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return kk.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(ie.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ne.getConfigValue("settings.customSandboxRules"),c=ne.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ie.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=ne.getConfigValue("settings.iframeCreationInterceptor");if(ie.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ko.getActiveFeatureToggleList(),currentLocale:At.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new r2;class a2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),kr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(ji.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!ne.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ne._remotePromises;return l||(l={counter:0,promises:[]},ne._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return ne._remotePromises?ne._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ie=new a2;class s2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ne.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return ie.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Ko.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(wi.isAuthorizationEnabled()){const r=_l.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ne.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=ne.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];ie.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ne.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":At.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await qt.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await qt.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ne.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";ot.navigateTo(t)}}getBurgerTooltipConfig(){const e=ne.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?At.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?At.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await qt.extractDataFromPath(e);return!!await qt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:kr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=At.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return ne.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:le.prepareForTests(e.pathSegment,e.label)}}const le=new s2;class o2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await as.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=ne.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ne.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ne.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ne.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ne.getConfigValue("routing.useHashRouting");Hn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ot.getHashPath():ot.getModifiedPathname();e(l)}}),Hn.addEventListener("popstate",n=>{const l=t?ot.getHashPath(location.href):ot.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:ot.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ie.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,ne.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ne.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=At.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];gl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,gl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[Sr.sanitizeParam(n[0])]=Sr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Ko.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ne.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ne.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in gl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=gl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ie.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&gl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ne.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:At.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new o2;class u2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){const l=[e.subscribe(t)];return this.expandScope(n).forEach(r=>{l.push(e.subscribeToScope(t,r))}),()=>{l.forEach(r=>{r()})}}}const vn=new u2;class f2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Hn=new f2;class c2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const d2=new c2;class h2{constructor(){}processUserSettingGroups(){const e=[],t=ne.getConfigValue("userSettings.userSettingGroups"),n=ne.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ee.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const pr=new h2,Zr=38,br=40,bl=13,Gl=27,xr=32,g2=36,_2=35;class up{constructor(e,t){Un(this,"dispatch");Un(this,"search");Un(this,"isCustomSearchRenderer");Un(this,"isCustomSearchResultItemRenderer");Un(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=ie.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=ie.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=At.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=At.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?ie.isFunction(this.search.searchProvider.onEnter)&&e===bl?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===Gl?this.search.searchProvider.onEscape():e===br?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===br&&(o=r!==null?r:t[0]),e===Zr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&ie.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):ie.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Gl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===bl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Zr||t===br?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===Gl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?ot.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&ie.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Xf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=k("div"),t=k("div"),n=k("span"),r=W(),a=k("p"),c=W(),h=k("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=x(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&T(e),p=!1,b()}}}function p2(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&T(e),dt(n,l),i[5](null)}}}function m2(i,e,t){const n=Zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=yt("getUnsavedChangesModalPromise"),c=yt("handleNavigation");Qn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=Sr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),ln(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){Qe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class b2 extends Ot{constructor(e){super(),Vt(this,e,m2,p2,Rt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Bn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Bn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=x(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function v2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",N,V,E,H,D,O=i[0].type&&$f(i),G=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),O&&O.c(),a=W(),o=k("h2"),h=Te(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),G&&G.c(),C=W(),y=k("div"),P=k("button"),N=Te(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Z,J){L(Z,e,J),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),G&&G.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),H||(D=[x(window,"keydown",i[1]),x(P,"click",i[5])],H=!0)},p(Z,[J]){Z[0].type?O?O.p(Z,J):(O=$f(Z),O.c(),O.m(r,a)):O&&(O.d(1),O=null),J&1&&c!==(c=Z[0].header+"")&&Ae(h,c),J&1&&p!==(p=Z[0].body+"")&&(g.innerHTML=p),Z[0].buttonConfirm!==!1?G?G.p(Z,J):(G=xf(Z),G.c(),G.m(v,C)):G&&(G.d(1),G=null),J&1&&I!==(I=Z[0].buttonDismiss+"")&&Ae(N,I),J&1&&V!==(V="fd-button "+(Z[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),J&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Z[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(Z){Z&&T(e),O&&O.d(),G&&G.d(),H=!1,Ze(D)}}}function w2(i,e,t){const n=Zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),ln(()=>{const d={icon:r[l.type],header:At.getTranslation("luigi.confirmationModal.header"),body:At.getTranslation("luigi.confirmationModal.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")};t(0,l={...l,body:Sr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return le.renderIconClassName(d)}function o(d){d.keyCode===Gl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class k2 extends Ot{constructor(e){super(),Vt(this,e,w2,v2,Rt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function S2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_s(r,l,a,a[4],n?gs(l,a[4],o,null):ps(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&T(e),r&&r.d(a)}}}function C2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Zt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return ln(()=>{ne.getConfigValue("settings.backdropDisabled")||(p(),Hn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Qn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class vl extends Ot{constructor(e){super(),Vt(this,e,C2,S2,Rt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ec(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new vl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=k("div"),v&&v.c(),a=W(),o=k("div"),c=k("div"),h=k("button"),d=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1ogav75")},m(C,y){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=x(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=tc(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&g!==(g=C[0].closebtn_data_testid&&C[6]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nc(i){let e;const t=i[11].default,n=hs(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&_s(n,t,l,l[10],e?gs(t,l[10],r,null):ps(l[10]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function ic(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer fade-out svelte-1ogav75"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function y2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[6]||i[5]&&i[0].header)&&ec(i),C=i[5]&&nc(i),y=i[4]&&ic();return{c(){e=k("div"),t=k("div"),v&&v.c(),n=W(),l=k("div"),C&&C.c(),r=W(),a=k("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-1ogav75"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1ogav75"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?`drawer drawer-dialog__content ${i[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1ogav75"),f(t,"data-testid",g=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Bn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${i[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"),f(e,"style",b=i[6]?"z-index:1001":"")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[6]||P[5]&&P[0].header?v?(v.p(P,I),I&97&&R(v,1)):(v=ec(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),U(v,1,1,()=>{v=null}),ve()),P[5]?C?(C.p(P,I),I&32&&R(C,1)):(C=nc(P),C.c(),R(C,1),C.m(l,r)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),(!m||I&32&&o!==(o="iframeModalCtn "+(P[5]?"_drawer":"_modal")+" svelte-1ogav75"))&&f(a,"class",o),(!m||I&34&&c!==(c=P[5]?void 0:P[1]))&&f(a,"modal-container-index",c),P[4]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&43&&d!==(d="fd-dialog__content "+(P[5]?P[0].backdrop?`drawer drawer-dialog__content ${P[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1ogav75"))&&f(t,"class",d),(!m||I&64&&g!==(g=P[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&105&&p!==(p=Bn(P[6]||P[5]&&P[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${P[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"))&&f(e,"class",p),(!m||I&64&&b!==(b=P[6]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function P2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Zt();let g,p,b,m,v=!1,C=!1,y=!1,P=!1,I=!1,N=!0,V,E=yt("store");const H=q=>le.getNodeLabel(q),D=async q=>{const ae=q&&q.length?ie.getPathWithoutHash(q):"",oe=me.parseParams(ae.split("?")[1]);m=me.getNodeParams(oe);const ee=await qt.extractDataFromPath(q);g=ee.nodeObject,t(5,I=r.isDrawer||typeof g.drawer=="object"),V=I?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),I?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=H(g),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=H(g),r),t(0,r._liveLabel=!0,r)),b=ee.pathData,t(8,a=!0)},O=async q=>{if(!(v||C))if(a)if(g.webcomponent)t(4,y=!1),I?await J():await G(),zl.renderWebComponent(g.viewUrl,document.querySelector(V),{context:b.context,clientPermissions:g.clientPermissions||{},pathParams:b.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(V),modalWCData:{...b,nodeParams:m}}),C=!0;else{const ae=await Z(g.viewUrl,{context:b.context,pathParams:b.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:ae,modalIframeData:{...b,nodeParams:m}}),v=!0}else await D(q)},G=async()=>{let q,ae;const oe=document.querySelector(".lui-modal-index-"+c),{size:ee,width:ye,height:se}=r,re=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(oe.classList.remove("lui-modal-fullscreen"),ye&&ye.match(re)&&se&&se.match(re))q=se,ae=ye;else switch(ee){case"fullscreen":q="100vh",ae="100vw",oe.classList.add("lui-modal-fullscreen");break;case"m":q="80%",ae="60%";break;case"s":q="80%",ae="40%";break;default:q="80%",ae="80%"}oe.setAttribute("style",`width:${ae};height:${q};`)},Z=async(q,ae)=>{I?await J():await G(),q&&(q=me.substituteViewUrl(q,ae));const oe=await Ee.createIframe(q,void 0,g,"modal",ae);return document.querySelector(V).appendChild(oe),oe};async function J(q){let ae="";const oe=document.getElementsByClassName("drawer"),ee=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ae="width:75%;":r.size==="m"?ae="width:50%;":r.size==="s"?ae="width:25%;":r.size==="xs"&&(ae="width:15.5%;")),r.backdrop?oe[0].setAttribute("style",ae):(ee[0].setAttribute("style",ae),oe[0].setAttribute("style","width:100%"))}ea(()=>{O(o)});const ce=async q=>{q.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),q.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),q.data.msg==="luigi.get-context"&&(P=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&Y()),q.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),q.data.msg==="luigi.navigation.updateModalSettings"&&((q.data.updatedModalSettings.title||q.data.updatedModalSettings.title==="")&&t(0,r.title=q.data.updatedModalSettings.title,r),(q.data.updatedModalSettings.size||q.data.updatedModalSettings.width||q.data.updatedModalSettings.height)&&(t(0,r.size=q.data.updatedModalSettings.size,r),t(0,r.height=q.data.updatedModalSettings.height,r),t(0,r.width=q.data.updatedModalSettings.width,r),await G()),ne.getConfigBooleanValue("routing.showModalPathInUrl")&&ot.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},q.data.addHistoryEntry))};ln(()=>{vn.doOnStoreChange(E,()=>{r._liveLabel&&g&&t(0,r.title=H(g),r)},["navigation.viewgroupdata"]),t(3,p=ne.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1)),Hn.addEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var q;!P&&!g.webcomponent&&((q=g.loadingIndicator)==null?void 0:q.enabled)!==!1&&t(4,y=!0)},250)}),ta(()=>{Hn.removeEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function Y(){let q;N?q=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):q=document.querySelector(".drawer .spinnerContainer"),q&&q.classList.contains("fade-out")&&(q.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const te=()=>d("close",{activeDrawer:!1});return i.$$set=q=>{"settings"in q&&t(0,r=q.settings),"isDataPrepared"in q&&t(8,a=q.isDataPrepared),"nodepath"in q&&t(9,o=q.nodepath),"modalIndex"in q&&t(1,c=q.modalIndex),"disableBackdrop"in q&&t(2,h=q.disableBackdrop),"$$scope"in q&&t(10,l=q.$$scope)},[r,c,h,p,y,I,N,d,a,o,l,n,te]}class fp extends Ot{constructor(e){super(),Vt(this,e,P2,y2,Rt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2})}}function lc(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function sc(i){let e,t=i[1][1].settings&&oc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function oc(i){let e,t,n=Ve(Object.entries(i[1][1].settings)),l=[];for(let r=0;r<n.length;r+=1)l[r]=mc(lc(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Ve(Object.entries(r[1][1].settings));let o;for(o=0;o<n.length;o+=1){const c=lc(r,n,o);l[o]?l[o].p(c,a):(l[o]=mc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&T(e),dt(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?N2:I2}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function I2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function N2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=x(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Jf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function fc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let N=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Te(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[x(r,"keydown",P),x(n,"click",Dt(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?N?N.p(i,E):(N=cc(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(V){V&&T(e),N&&N.d(),C=!1,Ze(y)}}}function cc(i){let e,t=Ve(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Ve(l[28].options);let a;for(a=0;a<t.length;a+=1){const o=ac(l,t,a);n[a]?n[a].p(o,r):(n[a]=dc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function dc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=k("li"),t=k("span"),l=Te(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Qt(e,"is-selected",i[4]===i[33]),Qt(e,"is-focus",i[4]===i[33])},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[x(e,"click",h),x(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Qt(e,"is-selected",i[4]===i[33]),g[0]&16&&Qt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Ze(c)}}}function hc(i){let e,t,n,l=Ve(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(i,l,a));return{c(){e=k("div"),t=k("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null)},p(a,o){if(o[0]&13315){l=Ve(a[28].options);let c;for(c=0;c<l.length;c+=1){const h=rc(a,l,c);r[c]?r[c].p(h,o):(r[c]=gc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&T(e),dt(r,a)}}}function gc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=k("button"),n=Te(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=x(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function _c(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=k("label"),t=k("span"),n=k("input"),a=W(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=x(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=x(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&T(e),n=!1,l()}}}function mc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&uc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&fc(i),y=g&&hc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&_c(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Te(l),a=Te(":"),o=W(),c=k("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(N,V){V[0]&34&&l!==(l=N[5](N[28].label)+"")&&Ae(r,l),N[28].type==="string"?v?v.p(N,V):(v=uc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[28].type==="enum"&&(N[28].style===void 0||N[28].style==="list")?C?C.p(N,V):(C=fc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=N[28].type==="enum"&&N[28].style==="button"&&Array.isArray(N[28].options)),g?y?y.p(N,V):(y=hc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[28].type==="boolean"&&(!N[28].style||N[28].style==="switch")?P?P.p(N,V):(P=_c(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[28].type==="boolean"&&N[28].style==="checkbox"?I?I.p(N,V):(I=pc(N),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function T2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[x(window,"click",i[7]),x(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=sc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(),t=!1,Ze(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function L2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Zt();let o=yt("getTranslation");Si(i,o,Y=>t(5,n=Y));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Y){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(te=>{m(te,!1)})}function b(Y,te){let q=ls(Y.target,".fd-popover__control",20),ae=q.getAttribute("aria-expanded")==="true";(te||te===void 0)&&(p(),m(q,!ae))}function m(Y,te){const q=Y.querySelector(".lui-activate-dropdown"),ae=Y.parentNode.querySelector(".fd-popover__body"),oe=Y.parentNode.querySelector(".fd-select__control");Y.setAttribute("aria-expanded",te),ae.setAttribute("aria-hidden",!te),oe.setAttribute("aria-expanded",te),q.setAttribute("aria-expanded",te),t(14,h=te)}function v(Y,te,q){t(4,c=q),t(0,r[l[0]][Y]=te.value||te,r)}function C(Y,te){document.querySelectorAll(".enum-buttons-container-"+Y+" button").forEach(q=>{const ae=q.getAttribute("id"),oe=`lui-us-enum_button_${Y}_option`;ae===oe?q.classList.add("fd-button--emphasized"):q.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Y]=te.value||te,r)}function y(Y,te){let q;if(Array.isArray(te)){for(let ae=0;ae<te.length;ae++)if(ie.isObject(te[ae])){if(te[ae].value&&te[ae].value===Y){q=te[ae].label,t(4,c=ae);break}}else{q=Y,t(4,c=te.indexOf(Y));break}return n(q)}}function P(Y){return n(ie.isObject(Y)?Y.label:Y)}function I(Y,te,q){return ie.isObject(q)?`${Y}_${te}_${q.value}`:`${Y}_${te}_${q}`}function N(Y,te,q,ae){let oe=ls(Y.target,".lui-anchor-node",20);const ee=document.getElementById(`fd-form-input-dropdown-${q}`).children;let ye=-1;if([...ee].forEach((se,re)=>{se.classList.contains("is-focus")&&(ye=re)}),h){if(Y.keyCode===Zr&&Y.altKey&&(oe.click(),oe.focus()),Y.keyCode===br&&!Y.altKey){if(ye===-1){ye=0,ee.item(ye).classList.add("is-focus");return}ye<ae.options.length-1&&(ee.item(ye).classList.remove("is-focus"),ye+=1,ee.item(ye).classList.add("is-focus"))}if(Y.keyCode===Zr&&!Y.altKey){if(ye===-1){ye=ye.length-1,ee.item(ye).classList.add("is-focus");return}ye>0&&ye<ae.options.length&&(ee.item(ye).classList.remove("is-focus"),ye-=1,ee.item(ye).classList.add("is-focus"))}(Y.keyCode===bl||Y.keyCode===xr)&&v(te,ae.options[ye],ye)}else oe.focus(),Y.keyCode===br&&Y.altKey&&oe.click(),Y.keyCode===br&&!Y.altKey&&ye<ae.options.length-1&&v(te,ae.options[ye+1],ye+1),Y.keyCode===Zr&&!Y.altKey&&ye>0&&ye<ae.options.length&&v(te,ae.options[ye-1],ye-1)}function V(Y){if(h){let te=ls(Y.target,".fd-popover",20);te.blur(),(Y.keyCode===xr||Y.keyCode===bl)&&(Y.target.click(),p(),setTimeout(()=>{te.focus()},0))}}y();function E(Y){r[l[0]][Y]=this.value,t(0,r)}const H=(Y,te,q,ae)=>N(ae,Y,te,q),D=Y=>b(event,Y.isEditable),O=(Y,te,q)=>v(Y,te,q),G=Y=>V(Y),Z=(Y,te)=>C(Y,te);function J(Y){r[l[0]][Y]=this.checked,t(0,r)}function ce(Y){r[l[0]][Y]=this.checked,t(0,r)}return i.$$set=Y=>{"userSettingGroup"in Y&&t(1,l=Y.userSettingGroup),"storedUserSettingData"in Y&&t(0,r=Y.storedUserSettingData),"isComboOpen"in Y&&t(14,h=Y.isComboOpen)},[r,l,N,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,G,Z,J,ce]}class A2 extends Ot{constructor(e){super(),Vt(this,e,L2,T2,Rt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:bc}=wl;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[37]=t,n}function wc(i,e,t){const n=i.slice();return n[38]=e[t],n}function kc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?R2:E2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&(T(t),T(n)),a.d(o)}}}function E2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=k("span"),l=W(),a&&a.c(),r=we(),f(e,"class",t=Bn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ii(e,"background-image","url('"+i[38][1].icon+"')"),ii(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Bn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ii(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=Sc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(l),T(r)),a&&a.d(o)}}}function R2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Bn(i[18](i[38][1].icon))+" svelte-572zjn"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-572zjn")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Bn(r[18](r[38][1].icon))+" svelte-572zjn")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-572zjn")&&f(e,"class",l)},d(r){r&&T(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class",l=Bn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=Bn(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",g,p,b,m,v=i[38][1].icon&&kc(i);function C(){return i[21](i[38])}function y(...P){return i[22](i[37],...P)}return{c(){e=k("li"),t=k("a"),v&&v.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),h=k("div"),g=Te(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-572zjn"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[x(e,"click",kt(C)),x(e,"keydown",y)],b=!0)},p(P,I){i=P,i[38][1].icon?v?v.p(i,I):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),I[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&T(e),v&&v.d(),b=!1,Ze(m)}}}function yc(i){let e,t=Ve(Object.entries(i[11])),n=[];for(let l=0;l<t.length;l+=1)n[l]=Cc(wc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Ve(Object.entries(l[11]));let a;for(a=0;a<t.length;a+=1){const o=wc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Cc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function Pc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new A2({props:o}),Qe.push(()=>Ct(e,"closeDropDown",r)),Qe.push(()=>Ct(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Be(e.$$.fragment)},m(c,h){Me(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],St(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],St(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function D2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,N,V,E,H,D,O,G,Z,J,ce,Y,te,q=i[10](i[5])+"",ae,oe,ee,ye,se=i[10](i[6])+"",re,ke,Je,Pe,Le=Ve(Object.entries(i[1])),Ge=[];for(let De=0;De<Le.length;De+=1)Ge[De]=yc(vc(i,Le,De));let $e=i[11]&&Pc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("div"),o=k("h2"),h=Te(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<Ge.length;De+=1)Ge[De].c();b=W(),m=k("div"),v=k("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=k("h2"),I=Te(P),N=W(),V=k("div"),E=k("div"),$e&&$e.c(),H=W(),D=k("div"),O=W(),G=k("div"),Z=W(),J=k("footer"),ce=k("div"),Y=k("div"),te=k("button"),ae=Te(q),oe=W(),ee=k("div"),ye=k("button"),re=Te(se),f(o,"class","fd-title fd-title--h5 svelte-572zjn"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header lui-us-group-header svelte-572zjn"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-572zjn"),f(r,"class","fd-side-nav svelte-572zjn"),f(l,"class","lui-usersettings-left-nav svelte-572zjn"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-572zjn"),f(y,"class","fd-title fd-title--h5 svelte-572zjn"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-572zjn"),f(E,"class","usersettingseditor mf-wrapper svelte-572zjn"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-572zjn"),f(G,"class","wcUserSettingsCtn wc-wrapper svelte-572zjn"),f(V,"class","lui-usersettings-content svelte-572zjn"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-572zjn"),f(te,"data-testid","lui-us-saveBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Y,"class","fd-bar__element"),f(ye,"data-testid","lui-us-dismissBtn"),f(ye,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ee,"class","fd-bar__element"),f(ce,"class","fd-bar__right"),f(J,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-572zjn"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-572zjn"),f(e,"tabindex","0")},m(De,it){L(De,e,it),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let rt=0;rt<Ge.length;rt+=1)Ge[rt]&&Ge[rt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,N),w(n,V),w(V,E),$e&&$e.m(E,null),w(V,H),w(V,D),w(V,O),w(V,G),w(t,Z),w(t,J),w(J,ce),w(ce,Y),w(Y,te),w(te,ae),w(ce,oe),w(ce,ee),w(ee,ye),w(ye,re),ke=!0,Je||(Pe=[x(bc,"resize",i[20]),x(bc,"keydown",i[3]),x(v,"click",i[17]),x(te,"click",i[25]),x(ye,"click",i[26])],Je=!0)},p(De,it){if((!ke||it[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),it[0]&803846){Le=Ve(Object.entries(De[1]));let rt;for(rt=0;rt<Le.length;rt+=1){const ht=vc(De,Le,rt);Ge[rt]?Ge[rt].p(ht,it):(Ge[rt]=yc(ht),Ge[rt].c(),Ge[rt].m(p,null))}for(;rt<Ge.length;rt+=1)Ge[rt].d(1);Ge.length=Le.length}(!ke||it[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(I,P),De[11]?$e?($e.p(De,it),it[0]&2048&&R($e,1)):($e=Pc(De),$e.c(),R($e,1),$e.m(E,null)):$e&&(be(),U($e,1,1,()=>{$e=null}),ve()),(!ke||it[0]&1056)&&q!==(q=De[10](De[5])+"")&&Ae(ae,q),(!ke||it[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(re,se)},i(De){ke||(R($e),ke=!0)},o(De){U($e),ke=!1},d(De){De&&T(e),dt(Ge,De),$e&&$e.d(),Je=!1,Ze(Pe)}}}function Ic(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function O2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function M2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function cp(i,e,t){if(i&&t>0)return i.matches(e)?i:cp(i.parentNode,e,t-1)}function Nc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function F2(i,e,t){let n,{userSettingGroups:l}=e;const r=Zt();let a,{storedUserSettings:o={}}=e,c={},h=yt("getTranslation");Si(i,h,se=>t(10,n=se));let d=ml.userSettingsDialog.dialogHeader,g=ml.userSettingsDialog.saveBtn,p=ml.userSettingsDialog.dismissBtn,b={},m,v,C,y;ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),ln(()=>{const se=ne.getConfigValue("userSettings.userSettingsDialog"),re=se||ne.getConfigValue("settings.userSettings.userSettingsDialog");re&&(t(4,d=re.dialogHeader?re.dialogHeader:d),t(5,g=re.saveBtn?re.saveBtn:g),t(6,p=re.dismissBtn?re.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Hn.addEventListener("message",ke=>{const Je=Ee.getValidMessageSource(ke);if(!Je||ke.data.msg!=="custom")return;Je._ready=!0;const Pe=ss.convertCustomMessageInternalToUser(ke.data);if(Pe.id==="luigi.updateUserSettings"){const Ge=pr.findActiveCustomUserSettingsIframe(ke.source);if(Ge){let $e=Ge.getAttribute("userSettingsGroup");t(0,o[$e]=Pe.data,o)}}Pe.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&D()}),ne.readUserSettings().then(ke=>{c=JSON.parse(JSON.stringify(ke)),ke===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),ke)),I([m,l[0][m]])}).catch(ke=>{ke&&ke.message&&console.error(ke.message),ke&&ke.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!ie.isObject(se.settings))for(let re in se.settings){let ke=se.settings[re];ke.type==="enum"?Array.isArray(ke.options)||console.error(`There is no options array for '${re}' defined in the Luigi userSettings config.`):ke.type===void 0&&console.error(`There is no data type defined for '${re}' in the Luigi userSettings config.`)}}function I(se,re){t(11,a=se);let ke=se[0],Je=se[1];if(P(Je),re?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),cp(re.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<hn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()),Je.viewUrl){if(pr.hideUserSettingsIframe(),Je.webcomponent){N({...Je},ke);return}if(b.hasOwnProperty(ke))pr.getUserSettingsIframesInDom().forEach(Pe=>{Pe.userSettingsGroup===ke&&(Pe.style.display="block")});else{const Pe=$r.hasDecorators()?$r.applyDecorators(Je.viewUrl):Je.viewUrl;let Le=pr.createIframe(Pe,ke);b[ke]=Le}O2()}else M2()}function N(se,re){const ke=document.querySelector(".wcUserSettingsCtn");if(!ke)return;ke.innerHTML="";const Je={};ke.eventBus={listeners:Je,onPublishEvent:De=>{t(0,o[re]=De.detail,o)}};const Pe={...se.context,userSettingsdata:o[re]},Le=se.eventListeners,Ge=se.webcomponent,$e=se.label;zl.renderWebComponent(se.viewUrl,ke,ie.isObject(Pe)?{context:Pe}:{},ie.isObject(Ge)?{eventListeners:Le,webcomponent:Ge}:{},$e?$e.replace(/ /g,"").toLowerCase():null),V2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){ne.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){D()}function D(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function G(se){return le.isOpenUIiconName(se.icon)}let Z;const J=()=>{const se=window.innerWidth>=hn.desktopMinWidth&&Z<hn.desktopMinWidth;if(window.innerWidth<hn.desktopMinWidth&&Z>=hn.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),se&&(document.querySelector(".confirm-button").style.display="block"),!Z){let ke=document.querySelector(".confirm-button");window.innerWidth<hn.desktopMinWidth?ke.style.display="none":ke.style.display="block"}Z=window.innerWidth};function ce(se,re){let ke=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&ke[re].click(),se.keyCode===_2&&ke[Object.keys(l).length-1].focus(),se.keyCode===g2&&ke[0].focus()}function Y(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const te=se=>I(se,event),q=(se,re)=>ce(re,[se]);function ae(se){y=se,t(9,y)}function oe(se){C=se,t(8,C)}const ee=()=>E(),ye=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,ce,Y,d,g,p,v,C,y,n,a,r,h,I,V,E,D,O,G,J,te,q,ae,oe,ee,ye]}class U2 extends Ot{constructor(e){super(),Vt(this,e,F2,D2,Rt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:B2}=wl;function H2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function W2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=k("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=x(t,"click",Dt(kt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(T(e),T(n),T(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=k("div"),t=W(),n=k("div"),l=k("div"),r=W(),a=k("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[x(a,"click",Dt(kt(i[3]))),x(n,"mousedown",Dt(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Ze(c)}}}function q2(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?W2:H2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),b.c(),a=W(),m&&m.c(),o=we(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=x(B2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Tc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&(T(e),T(a),T(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function z2(i,e,t){const n=Zt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,N=yt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:q=>{q&&Object.getOwnPropertyNames(q).forEach(ae=>{ae==="splitViewSettings"?t(1,C=q.splitViewSettings):ae==="lastNode"?r=q.lastNode:ae==="pathData"?a=q.pathData:ae==="nodeParams"?o=q.nodeParams:ae==="collapsed"?t(0,v=q.collapsed):ae==="isDataPrepared"?t(8,y=q.isDataPrepared):ae==="currentNode"?c=q.currentNode:ae==="splitViewIframe"?d=q.splitViewIframe:ae==="splitViewIframeData"?g=q.splitViewIframeData:ae==="splitViewWC"?p=q.splitViewWC:ae==="splitViewWCData"&&(b=q.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||gt.createAndSetView(V()):await gt.prepareSplitViewData(V(),m)},H=()=>{l.split=gt.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=gt.getDragger()},D=()=>{const q=gt.getDraggerBackdrop();q&&(q.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${gt.splitViewValues.top}px`),l.split.style.top=`${gt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(q){if(Ee.getValidMessageSource(q)&&(q.data.msg==="luigi.navigation.splitview.close"&>.close(V()),q.data.msg==="luigi.navigation.splitview.collapse"&&G(),q.data.msg==="luigi.navigation.splitview.expand"&&Z(),q.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(q.data.data);if(gt.calculateAndSetSplitViewValues(ae,gt.internalValues),v)return;D(),gt.sendMessageToClients("resize.ok",gt.splitViewValues.percent)}}ln(()=>{J(),h=O.bind(this),Hn.addEventListener("message",h)}),ea(()=>{E(),I!==y&&!v&&(I=y,D())}),ta(()=>{window.removeEventListener("message",h)});function G(){gt.collapse(V())}async function Z(){await gt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function J(){const q=ie.getShellbarHeight();gt.internalValues.innerHeight=ie.getInnerHeight(),gt.internalValues.rightContentHeight=gt.internalValues.innerHeight-q,gt.internalValues.thresholdBottom=30,gt.internalValues.thresholdTop=q+30,gt.calculateAndSetSplitViewValues(gt.splitViewValues.percent,gt.internalValues),v||D()}function ce(q){let ae=q.y,oe={};const ee=function(Je){const Pe=ae-Je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||Pe===0)return;const Ge=Le-Pe,$e=gt.internalValues.innerHeight-Ge,De=gt.enforceTresholds(Ge,$e);Ge<De.top||$e<De.bottom||(oe=De,ae=Je.y,l.draggable.style.top=`${oe.top}px`)},ye=function(){if(se(),!oe.top||!oe.bottom||oe.top==gt.internalValues.m_pos_prev){gt.getDraggerBackdrop().style.display="none";return}gt.internalValues.m_pos_prev=oe.top,gt.splitViewValues=oe,D(),gt.sendMessageToClients("resize.ok",oe.percent)},se=function(){document.removeEventListener("mouseup",ye),document.removeEventListener("mousemove",ee)},re=function(){document.addEventListener("mouseup",ye),document.addEventListener("mousemove",ee)};H(),se(),re(),gt.getDraggerBackdrop().style.display="block"}const Y=q=>{let ae=gt.getDraggerButton();ae&&(ae.style.display=q?"block":"none"),ae=gt.getCollapsedDraggerButton(),ae&&(ae.style.display=q?"block":"none")},te=q=>{Y(!q.detail||q.detail.backdropActive!==!0)};return i.$$set=q=>{"nodepath"in q&&t(9,m=q.nodepath),"collapsed"in q&&t(0,v=q.collapsed),"splitViewSettings"in q&&t(1,C=q.splitViewSettings),"isDataPrepared"in q&&t(8,y=q.isDataPrepared),"disableBackdrop"in q&&t(2,P=q.disableBackdrop)},[v,C,P,G,Z,J,ce,te,y,m]}class dp extends Ot{constructor(e){super(),Vt(this,e,z2,q2,Rt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:j2,then:K2,catch:G2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=we(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function j2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function J2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Y2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Ot{constructor(e){super(),Vt(this,e,Y2,J2,Rt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Te(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&T(e)}}}function Q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class li extends Ot{constructor(e){super(),Vt(this,e,Z2,Q2,Rt,{node:0})}}function X2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),c=k("span"),d=W(),g=k("ul"),I&&I.c(),p=W(),b=k("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[x(n,"click",Dt(kt(i[2]))),x(n,"keyup",i[5])],C=!0)},p(N,V){(!v||V&2)&&r!==(r=N[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=N[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",N[0]),I&&I.p&&(!v||V&8)&&_s(I,P,N,N[3],v?gs(P,N[3],V,null):ps(N[3]),null),(!v||V&2&&m!==(m=N[1].uid))&&f(g,"navgroupid",m)},i(N){v||(R(I,N),v=!0)},o(N){U(I,N),v=!1},d(N){N&&T(e),I&&I.d(N),C=!1,Ze(y)}}}function $2(i){let e;const t=i[4].default,n=hs(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&_s(n,t,l,l[3],e?gs(t,l[3],r,null):ps(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function x2(i){let e,t,n,l;const r=[$2,X2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function eS(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),le.storeExpandedState(r.uid,a),r.isSingleEntry||le.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class tS extends Ot{constructor(e){super(),Vt(this,e,eS,x2,Rt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Dc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[94]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Bc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[101]=e[t],n}function nS(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Wc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Kc(i),b=(i[2]||i[3])&&pd(i);return{c(){e=k("div"),g&&g.c(),t=W(),n=k("nav"),l=k("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1qodpfy"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy")},m(m,v){L(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=x(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Wc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Kc(m),p.c(),R(p,1),p.m(l,null)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),m[2]||m[3]?b?b.p(m,v):(b=pd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&T(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function iS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=k("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[23]?"is-compact":"")+" "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"),f(e,"role","navigation"),ii(e,"width","var(--luigi__left-sidenav--width)"),ii(e,"height","100%")},m(o,c){L(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=bd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=Sd(o),a.c(),R(a,1),a.m(e,null)):a&&(be(),U(a,1,1,()=>{a=null}),ve()),(!l||c[0]&8388686&&n!==(n="fd-navigation fd-navigation--vertical "+(o[23]?"is-compact":"")+" "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&T(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[63](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=qc(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[63](null)}}}function qc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&zc(i),g=i[12].showUpLink&&Gc(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1qodpfy"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=zc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=Gc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function zc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function lS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!nt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function rS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Gc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",kt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Ve(i[13]),a=[];for(let c=0;c<r.length;c+=1)a[c]=_d(Rc(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n=Bn(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"),f(e,"class","lui-fd-side-nav-wrapper svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=Ve(c[13]);let d;for(d=0;d<r.length;d+=1){const g=Rc(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=_d(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n=Bn(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&T(e),dt(a,c)}}}function aS(i){let e,t,n,l;const r=[uS,oS],a=[];function o(c,h){return c[98].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function sS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=gd(Mc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=gd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function oS(i){let e,t,n=i[27](i[97])+"",l,r,a,o,c,h,d=i[10]&&i[98].metaInfo.icon&&jc(i),g=Ve(i[98]),p=[];for(let m=0;m<g.length;m+=1)p[m]=$c(Dc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=k("li"),d&&d.c(),t=W(),l=Te(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=we(),f(e,"class","fd-nested-list__group-header lui-category svelte-1qodpfy"),f(e,"title",r=i[35](i[98],i[27](i[97]))),f(e,"data-testid",a=i[34](i[98].metaInfo,i[97])),f(e,"id","category_list_level1_"+i[100])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[98].metaInfo.icon?d?d.p(m,v):(d=jc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[97])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[98],m[27](m[97]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[98].metaInfo,m[97])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[98]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=$c(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&(T(e),T(o),T(c)),d&&d.d(),dt(p,m)}}}function uS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,Z,J,ce;function Y(Pe,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!Pe[32](Pe[98].metaInfo.icon)),l?mS:pS}let te=Y(i,[-1,-1,-1,-1]),q=te(i);function ae(){return i[66](i[98])}function oe(){return i[67](i[98])}function ee(...Pe){return i[68](i[98],...Pe)}let ye=Ve(i[98]),se=[];for(let Pe=0;Pe<ye.length;Pe+=1)se[Pe]=id(Oc(i,ye,Pe));const re=Pe=>U(se[Pe],1,1,()=>{se[Pe]=null});let ke=i[98].metaInfo&&i[98].metaInfo.label===i[8]&&ld(i);function Je(){return i[73](i[98])}return{c(){e=k("li"),t=k("div"),n=k("a"),q.c(),r=W(),a=k("span"),c=Te(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let Pe=0;Pe<se.length;Pe+=1)se[Pe].c();D=W(),ke&&ke.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"title",h=i[35](i[98],i[27](i[97]))),f(n,"class",d="fd-nested-list__link "+(nn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[100]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=nn(i[98],i[9])),f(C,"class",y=nn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1qodpfy"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=nn(i[98],i[9])),f(v,"title",I=i[41](i[98],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",N=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1qodpfy"),f(E,"aria-hidden",H=!nn(i[98],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",G=i[34](i[98].metaInfo,i[97])),Qt(e,"lui-item-expanded",nn(i[98],i[9]))},m(Pe,Le){L(Pe,e,Le),w(e,t),w(t,n),q.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Ge=0;Ge<se.length;Ge+=1)se[Ge]&&se[Ge].m(E,null);w(e,D),ke&&ke.m(e,null),w(e,O),Z=!0,J||(ce=[x(n,"click",kt(ae)),x(v,"click",kt(oe)),x(t,"keypress",ee),x(e,"click",Dt(Je))],J=!0)},p(Pe,Le){if(i=Pe,te===(te=Y(i,Le))&&q?q.p(i,Le):(q.d(1),q=te(i),q&&(q.c(),q.m(n,r))),(!Z||Le[0]&134225920)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!Z||Le[0]&134225920&&h!==(h=i[35](i[98],i[27](i[97]))))&&f(n,"title",h),(!Z||Le[0]&8704&&d!==(d="fd-nested-list__link "+(nn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"))&&f(n,"class",d),(!Z||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Z||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Z||Le[0]&8704&&b!==(b=nn(i[98],i[9])))&&f(n,"aria-expanded",b),(!Z||Le[0]&8704&&y!==(y=nn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Z||Le[0]&8704&&P!==(P=nn(i[98],i[9])))&&f(v,"aria-expanded",P),(!Z||Le[0]&8704&&I!==(I=i[41](i[98],i[9])))&&f(v,"title",I),(!Z||Le[0]&64&&N!==(N=i[6]?"0":"-1"))&&f(t,"tabindex",N),Le[0]&1090592896|Le[1]&532){ye=Ve(i[98]);let Ge;for(Ge=0;Ge<ye.length;Ge+=1){const $e=Oc(i,ye,Ge);se[Ge]?(se[Ge].p($e,Le),R(se[Ge],1)):(se[Ge]=id($e),se[Ge].c(),R(se[Ge],1),se[Ge].m(E,null))}for(be(),Ge=ye.length;Ge<se.length;Ge+=1)re(Ge);ve()}(!Z||Le[0]&8704&&H!==(H=!nn(i[98],i[9])))&&f(E,"aria-hidden",H),i[98].metaInfo&&i[98].metaInfo.label===i[8]?ke?(ke.p(i,Le),Le[0]&8448&&R(ke,1)):(ke=ld(i),ke.c(),R(ke,1),ke.m(e,O)):ke&&(be(),U(ke,1,1,()=>{ke=null}),ve()),(!Z||Le[0]&8192&&G!==(G=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",G),(!Z||Le[0]&8704)&&Qt(e,"lui-item-expanded",nn(i[98],i[9]))},i(Pe){if(!Z){for(let Le=0;Le<ye.length;Le+=1)R(se[Le]);R(ke),Z=!0}},o(Pe){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(ke),Z=!1},d(Pe){Pe&&T(e),q.d(),dt(se,Pe),ke&&ke.d(),J=!1,Ze(ce)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function cS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[98].metaInfo.icon?i[31](i[98].metaInfo.icon):"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[98].metaInfo.icon?n[31](n[98].metaInfo.icon):"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Jc(i){let e,t,n=i[101].label&&Yc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function N(J,ce){return J[101].icon?hS:dS}let V=N(i),E=V(i),H=i[101].statusBadge&&Qc(i),D=i[101].externalLink&&i[101].externalLink.url&&Zc(),O=i[101].badgeCounter&&Xc(i);function G(...J){return i[74](i[101],...J)}function Z(...J){return i[75](i[101],...J)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Te(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[101])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[101],i[30](i[101]))),f(e,"aria-labelledby","category_list_level1_"+i[100])},m(J,ce){L(J,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],P=!0)},p(J,ce){i=J,V===(V=N(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r),i[101].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Qc(i),H.c(),R(H,1),H.m(l,null)):H&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",c),i[101].externalLink&&i[101].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Xc(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||ce[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[101],i[30](i[101]))))&&f(e,"title",C)},i(J){y||(R(H),R(O),y=!0)},o(J){U(H),U(O),y=!1},d(J){J&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Ze(I)}}}function dS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=k("i"),n=W(),l=k("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ae(a,r)},d(o){o&&(T(e),T(n),T(l))}}}function hS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new li({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Xc(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $c(i){let e,t,n=!i[101].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function pS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function mS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[101].label&&ed(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new li({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&td(),V=i[101].badgeCounter&&nd(i);function E(...D){return i[69](i[101],...D)}function H(...D){return i[70](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[100])},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=td(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Ze(I)}}}function td(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function nd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[101].hideFromNav&&xc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[97])+"",r,a,o,c,h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=ud(Vc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Te(l),a=W(),o=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1qodpfy"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1qodpfy"),f(t,"class","lui-flyout-sublist__wrapper svelte-1qodpfy"),f(e,"class","lui-flyout-sublist svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[97])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=ud(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&T(e),dt(d,p)}}}function rd(i){let e,t,n=i[101].label&&ad(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ad(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new li({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&sd(),V=i[101].badgeCounter&&od(i);function E(...D){return i[71](i[101],...D)}function H(...D){return i[72](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=sd(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=od(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Ze(I)}}}function sd(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function od(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ud(i){let e,t,n=!i[101].hideFromNav&&rd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[101].label&&cd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=cd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(J,ce){return J[101].icon?vS:bS}let E=V(i),H=E(i);c=new li({props:{node:i[101]}});let D=i[101].externalLink&&i[101].externalLink.url&&dd(),O=i[101].badgeCounter&&hd(i);function G(...J){return i[64](i[101],...J)}function Z(...J){return i[65](i[101],...J)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",p=i[33](i[101])),f(t,"title",b=i[35](i[101],i[30](i[101]))),f(t,"class",m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[101])),f(e,"class","fd-nested-list__item")},m(J,ce){L(J,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(N=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],I=!0)},p(J,ce){i=J,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const Y={};ce[0]&8192&&(Y.node=i[101]),c.$set(Y),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=hd(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[33](i[101])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[101],i[30](i[101]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=le.getTestId(i[101])))&&f(t,"data-testid",C)},i(J){P||(R(c.$$.fragment,J),R(O),P=!0)},o(J){U(c.$$.fragment,J),U(O),P=!1},d(J){J&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Ze(N)}}}function bS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function kS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function dd(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function hd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gd(i){let e,t,n=!i[101].hideFromNav&&fd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[sS,aS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(BS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function pd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&md(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Te(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1qodpfy"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1qodpfy"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(r,l),c[3]?o?o.p(c,h):(o=md(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?CS:SS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function SS(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[x(e,"click",i[77]),x(e,"keydown",i[78])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Ze(l)}}}function CS(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1qodpfy")},m(a,o){L(a,e,o),w(e,t),l||(r=x(e,"click",i[76]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[49](null)}}}function vd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&wd(i),g=i[12].showUpLink&&kd(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=wd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=kd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function wd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?PS:yS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!nt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function kd(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",kt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Ve(i[14]),v=[];for(let y=0;y<m.length;y+=1)v[y]=Bd(Fc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=k("div"),t=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=k("li"),r=W(),a=k("li"),o=k("div"),c=k("a"),c.innerHTML='<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span> <span class="fd-navigation__text">More Items</span>',h=W(),d=k("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1qodpfy"></ul></div>',f(l,"class","lui-spacer svelte-1qodpfy"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1qodpfy"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1qodpfy"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1qodpfy"),f(t,"class","fd-navigation__list svelte-1qodpfy"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1qodpfy")},m(y,P){L(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I]&&v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[62](e),g=!0,p||(b=[x(c,"click",i[42]),x(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let I;for(I=0;I<m.length;I+=1){const N=Fc(y,m,I);v[I]?(v[I].p(N,P),R(v[I],1)):(v[I]=Bd(N),v[I].c(),R(v[I],1),v[I].m(t,n))}for(be(),I=m.length;I<v.length;I+=1)C(I);ve()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&T(e),dt(v,y),i[62](null),p=!1,Ze(b)}}}function IS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(te,q){return q[0]&16384&&(l=null),l==null&&(l=!!te[32](te[98].metaInfo.icon)),l?LS:TS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function G(){return i[53](i[98])}function Z(){return i[54](i[98])}function J(...te){return i[55](i[98],...te)}function ce(...te){return i[56](i[98],...te)}let Y=(!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8])&&Cd(i);return{c(){e=k("li"),t=k("div"),n=k("a"),O.c(),r=W(),a=k("span"),c=Te(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Y&&Y.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[98],i[27](i[97]))),f(t,"aria-expanded",v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:nn(i[98],i[9])),f(t,"aria-selected",C=i[6]&&i[98].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"),f(e,"data-testid",I=i[34](i[98].metaInfo,i[97]))},m(te,q){L(te,e,q),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Y&&Y.m(e,null),N=!0,V||(E=[x(n,"click",kt(G)),x(n,"keypress",kt(Z)),x(n,"keypress",kt(J)),x(t,"click",Dt(ce))],V=!0)},p(te,q){i=te,D===(D=H(i,q))&&O?O.p(i,q):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!N||q[0]&134234112)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!N||q[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!N||q[0]&134234112&&m!==(m=i[35](i[98],i[27](i[97]))))&&f(t,"title",m),(!N||q[0]&17216&&v!==(v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:nn(i[98],i[9])))&&f(t,"aria-expanded",v),(!N||q[0]&16576&&C!==(C=i[6]&&i[98].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8]?Y?(Y.p(i,q),q[0]&16704&&R(Y,1)):(Y=Cd(i),Y.c(),R(Y,1),Y.m(e,null)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),(!N||q[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"))&&f(e,"class",P),(!N||q[0]&16384&&I!==(I=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",I)},i(te){N||(R(Y),N=!0)},o(te){U(Y),N=!1},d(te){te&&T(e),O.d(),Y&&Y.d(),V=!1,Ze(E)}}}function NS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Hc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!nt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function LS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=Rd(Bc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),c&&c.c(),n=W(),l=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Rd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&T(e),c&&c.d(),dt(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[97])+"",a,o,c,h,d,g=i[10]&&i[98].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),o=W(),c=k("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1qodpfy"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1qodpfy"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[98],i[27](i[97]))),f(e,"data-testid",d=i[34](i[98].metaInfo,i[97]))},m(p,b){L(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[98].metaInfo.icon?g?g.p(p,b):(g=Pd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[97])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[98],p[27](p[97])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[98].metaInfo,p[97]))&&f(e,"data-testid",d)},d(p){p&&T(e),g&&g.d()}}}function Pd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?ES:AS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function AS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!nt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function ES(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[101].label&&Nd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E=i[30](i[101])+"",H,D,O,G,Z,J,ce,Y,te,q,ae,oe,ee,ye;c=new li({props:{node:i[101]}});let se=i[101].externalLink&&i[101].externalLink.url&&Td(),re=i[101].badgeCounter&&Ld(i);function ke(...De){return i[57](i[101],...De)}function Je(...De){return i[58](i[101],...De)}O=new li({props:{node:i[101]}});let Pe=i[101].externalLink&&i[101].externalLink.url&&Ad(),Le=i[101].badgeCounter&&Ed(i);function Ge(...De){return i[59](i[101],...De)}function $e(...De){return i[60](i[101],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),re&&re.c(),P=W(),I=k("li"),N=k("a"),V=k("span"),H=Te(E),D=W(),Be(O.$$.fragment),Z=W(),Pe&&Pe.c(),J=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[101])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[101]===i[7]),f(t,"data-testid",y=le.getTestId(i[101])),f(e,"class","fd-navigation__list-item"),f(V,"class",G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(N,"href",ce=i[33](i[101])),f(N,"class",Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(N,"role",te=i[24]?void 0:"button"),f(N,"tabindex","0"),f(N,"data-testid",q=le.getTestId(i[101])),f(N,"title",ae=i[35](i[101],i[30](i[101]))),ii(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[100])},m(De,it){L(De,e,it),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),se&&se.m(n,null),w(n,b),re&&re.m(n,null),L(De,P,it),L(De,I,it),w(I,N),w(N,V),w(V,H),w(V,D),Me(O,V,null),w(N,Z),Pe&&Pe.m(N,null),w(N,J),Le&&Le.m(N,null),oe=!0,ee||(ye=[x(n,"click",ke),x(n,"keyup",function(){ki(i[24]?void 0:Je)&&(i[24]?void 0:Je).apply(this,arguments)}),x(N,"click",Ge),x(N,"keyup",function(){ki(i[24]?void 0:$e)&&(i[24]?void 0:$e).apply(this,arguments)})],ee=!0)},p(De,it){i=De,(!oe||it[0]&16384)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const rt={};it[0]&16384&&(rt.node=i[101]),c.$set(rt),(!oe||it[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[101].badgeCounter?re?(re.p(i,it),it[0]&16384&&R(re,1)):(re=Ld(i),re.c(),R(re,1),re.m(n,null)):re&&(be(),U(re,1,1,()=>{re=null}),ve()),(!oe||it[0]&16384&&m!==(m=i[33](i[101])))&&f(n,"href",m),(!oe||it[0]&16384&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v),(!oe||it[0]&16512&&C!==(C=i[101]===i[7]))&&f(t,"aria-selected",C),(!oe||it[0]&16384&&y!==(y=le.getTestId(i[101])))&&f(t,"data-testid",y),(!oe||it[0]&16384)&&E!==(E=i[30](i[101])+"")&&Ae(H,E);const ht={};it[0]&16384&&(ht.node=i[101]),O.$set(ht),(!oe||it[0]&16384&&G!==(G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(V,"class",G),i[101].externalLink&&i[101].externalLink.url?Pe||(Pe=Ad(),Pe.c(),Pe.m(N,J)):Pe&&(Pe.d(1),Pe=null),i[101].badgeCounter?Le?(Le.p(i,it),it[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(N,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!oe||it[0]&16384&&ce!==(ce=i[33](i[101])))&&f(N,"href",ce),(!oe||it[0]&16512&&Y!==(Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(N,"class",Y),(!oe||it[0]&16777216&&te!==(te=i[24]?void 0:"button"))&&f(N,"role",te),(!oe||it[0]&16384&&q!==(q=le.getTestId(i[101])))&&f(N,"data-testid",q),(!oe||it[0]&16384&&ae!==(ae=i[35](i[101],i[30](i[101]))))&&f(N,"title",ae)},i(De){oe||(R(c.$$.fragment,De),R(re),R(O.$$.fragment,De),R(Le),oe=!0)},o(De){U(c.$$.fragment,De),U(re),U(O.$$.fragment,De),U(Le),oe=!1},d(De){De&&(T(e),T(P),T(I)),Fe(c),se&&se.d(),re&&re.d(),Fe(O),Pe&&Pe.d(),Le&&Le.d(),ee=!1,Ze(ye)}}}function Td(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ld(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ed(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rd(i){let e,t,n=!i[101].hideFromNav&&Id(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[101].label&&Vd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[101])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H;function D(te,q){return te[101].icon?DS:RS}let O=D(i),G=O(i);h=new li({props:{node:i[101]}});let Z=i[101].externalLink&&i[101].externalLink.url&&Od(),J=i[101].badgeCounter&&Md(i);function ce(...te){return i[50](i[101],...te)}function Y(...te){return i[51](i[101],...te)}return{c(){e=k("li"),t=k("div"),n=k("a"),G.c(),l=W(),r=k("span"),o=Te(a),c=W(),Be(h.$$.fragment),g=W(),Z&&Z.c(),p=W(),J&&J.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[101])),f(n,"title",y=i[35](i[101],i[30](i[101]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=le.getTestId(i[101])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",N=i[101]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(te,q){L(te,e,q),w(e,t),w(t,n),G.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Z&&Z.m(n,null),w(n,p),J&&J.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[x(n,"click",ce),x(n,"keyup",function(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)}),x(n,"mouseup",i[52])],E=!0)},p(te,q){i=te,O===(O=D(i))&&G?G.p(i,q):(G.d(1),G=O(i),G&&(G.c(),G.m(n,l))),(!V||q[0]&16384)&&a!==(a=i[30](i[101])+"")&&Ae(o,a);const ae={};q[0]&16384&&(ae.node=i[101]),h.$set(ae),(!V||q[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(r,"class",d),i[101].externalLink&&i[101].externalLink.url?Z||(Z=Od(),Z.c(),Z.m(n,p)):Z&&(Z.d(1),Z=null),i[101].badgeCounter?J?(J.p(i,q),q[0]&16384&&R(J,1)):(J=Md(i),J.c(),R(J,1),J.m(n,b)):J&&(be(),U(J,1,1,()=>{J=null}),ve()),(!V||q[0]&16512&&v!==(v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"))&&f(n,"class",v),(!V||q[0]&16384&&C!==(C=i[33](i[101])))&&f(n,"href",C),(!V||q[0]&16384&&y!==(y=i[35](i[101],i[30](i[101]))))&&f(n,"title",y),(!V||q[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||q[0]&16384&&I!==(I=le.getTestId(i[101])))&&f(n,"data-testid",I),(!V||q[0]&16512&&N!==(N=i[101]===i[7]))&&f(t,"aria-selected",N)},i(te){V||(R(h.$$.fragment,te),R(J),V=!0)},o(te){U(h.$$.fragment,te),U(J),V=!1},d(te){te&&T(e),G.d(),Fe(h),Z&&Z.d(),J&&J.d(),E=!1,Ze(H)}}}function RS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function DS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?OS:VS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function VS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!nt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function OS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Md(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fd(i){let e,t,n=!i[101].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[NS,IS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(US).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function MS(i){let e,t,n=Ve(i[94].entries),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ud(Uc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[94].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ud(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function Bd(i){let e,t;return e=new tS({props:{navGroup:i[94],expanded:i[94].groupEntry&&nn(i[94].groupEntry[1],i[9]),$$slots:{default:[MS]},$$scope:{ctx:i}}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[94]),l[0]&16896&&(r.expanded=n[94].groupEntry&&nn(n[94].groupEntry[1],n[9])),l[0]&151046080|l[3]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function FS(i){let e,t,n,l,r,a;const o=[iS,nS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(ns,"resize",i[18]),x(ns,"click",i[22]),x(ns,"blur",i[22]),x(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Ze(a)}}}function nn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Wo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const US=i=>!i.hideFromNav&&i.label,BS=i=>!i.hideFromNav&&i.label;function HS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:N,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async Se=>{if(Se==="pathData")t(5,p=K.pathData);else if(Se==="context")D=K.context;else if(Se==="children")t(0,a=K.children);else if(Se==="selectedNode")t(7,C=K.selectedNode);else if(Se==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(Se==="navParent"){t(12,E=void 0);let Ye=K.navParent;if(t(45,H=Ye),Ye&&Ye.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let lt=Ye.navHeader,bt=Ye;if(lt==="inherit"){for(bt=Ye.parent;bt&&bt.navHeader==="inherit";)bt=bt.parent;lt=bt?bt.navHeader:void 0}if(lt instanceof Function){t(12,E={});let _t=lt(le.stripNode(Ye),le.stripNode(bt),D);_t instanceof Promise?_t.then(Bt=>{t(12,E=Bt)}):t(12,E=_t)}else if(lt==="auto")t(12,E={label:Ye.label,icon:Ye.icon});else if(lt&<.useTitleResolver&&bt.titleResolver){bt.titleResolver.prerenderFallback?t(12,E={...lt,label:bt.titleResolver.fallbackTitle||"",icon:bt.titleResolver.fallbackIcon}):t(12,E=lt);const _t=me.mapPathToNode(ot.getCurrentPath(),bt);qt.extractDataFromPath(_t).then(Bt=>{const Kt=me.substituteDynamicParamsInObject(Object.assign({},Bt.pathData.context,bt.context),Bt.pathData.pathParams);le.fetchNodeTitleData(bt,Kt).then(Dn=>{t(12,E={...lt,...Dn})}).catch(Dn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...lt,label:Ye.label,icon:Ye.icon})})})}else t(12,E=await rt(lt,bt))}}}),t(44,N=le.getSideNavAccordionMode(C)))}},r=Zt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=le.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,G,Z=yt("store"),J=yt("getTranslation");Si(i,J,K=>t(27,n=K));let ce=!1,Y=ne.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),te,q=ne.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae,oe;const ee=K=>le.getNodeLabel(K),ye=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),oe&&clearTimeout(oe);const K=l.get(),Se=await qt.getLeftNavData({...K},K);Se&&(l.set(Se),O=p,window.LEFTNAVDATA=Se.children)};ln(()=>{t(3,d=ne.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=ne.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=ne.getConfigValue("navigation.addNavHrefs")),t(1,o=ne.getConfigBooleanValue("settings.hideNavigation")),t(23,G=ne.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),vn.doOnStoreChange(Z,()=>{t(2,c=ne.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),vn.doOnStoreChange(Z,()=>{ye()},["navigation.viewgroupdata"]);let K=vi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),vi.onValueChanged(Se=>{t(6,v=Se.isSemiCollapsed)}),Hn.addEventListener("message",Se=>{Se.data.msg==="luigi.navigation.update-badge-counters"&&ye()})});const se=()=>{if(te){const K=te.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Se=te.querySelector(".fd-navigation__list"),Ye=te.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(lt=>{lt.navGroupId?Se.querySelector(`[navGroupId="${lt.navGroupId}"]`).appendChild(lt):Se.insertBefore(lt,Ye)}),te.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},re=()=>{if(te){const K=te.querySelector(".fd-navigation__list > .lui-spacer"),Se=te.querySelector(".lui-moreItems"),Ye=te.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Ye.length>1){te.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let lt=Ye.length-1;lt>0&&(lastNode=Ye[lt-1],Ye[lt].navGroupId=Ye[lt].parentNode.getAttribute("navGroupId"),Se.insertBefore(Ye[lt],Se.firstChild),!(K.clientHeight>0));lt--);}}},ke=()=>{const K=Se=>{Se&&ge(Se)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K,{...E,context:p._context}))};ea(()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((K,Se)=>{oe&&clearTimeout(oe),v&&(oe=setTimeout(()=>{se(),re()},100))})),window.Luigi.__btpNavTopCntRszObs.disconnect(),te&&v?window.Luigi.__btpNavTopCntRszObs.observe(te):se(),ke()}),Qn(()=>{(!O||O!=p)&&ye(),t(23,G=ne.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=ne.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Je(K){if(Y){const Se={},Ye=[],lt=q;let bt=[];return K.forEach(_t=>{if(_t[0].startsWith(m))bt.push({isSingleEntry:!0,entries:[_t]});else{const Bt=_t[1].metaInfo.categoryUid;if(Bt&&Bt.indexOf(lt)>0)Ye.push(_t);else{const Kt=_t[1].metaInfo.isGroup;Se[Bt]={isSingleEntry:!Kt,title:n(_t[1].metaInfo.label),groupEntry:_t,uid:Bt,entries:[Kt?["undefined",_t[1]]:_t]},bt.push(Se[Bt]),!le.isCollapsedSuperCategory(Bt)&&Kt&&Rn(_t[1],!0)}}}),Ye.forEach(_t=>{const Bt=_t[1].metaInfo.categoryUid.split(lt)[0],Kt=Se[Bt];Kt&&(Kt.isSingleEntry&&(Kt.isSingleEntry=!1,Kt.entries=[["undefined",Kt.groupEntry[1]]]),Kt.entries.push(_t))}),bt.filter(_t=>{if(_t.entries&&_t.entries.length>0)for(let Bt=0;Bt<_t.entries.length;Bt++){const[Kt,Dn]=_t.entries[Bt];if(Dn.filter(qn=>!qn.hideFromNav&&qn.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:Pe}=e,{sortedVerticalNavGroups:Le}=e;function Ge(K){return le.renderIconClassName(K)}function $e(K){return le.isOpenUIiconName(K)}function De(K){return me.getNodeHref(K,b)}function it(K,Se){return K&&K.testId?K.testId:le.prepareForTests(Se||K.label)}async function rt(K,Se){const Ye=me.mapPathToNode(ot.getCurrentPath(),Se),bt=(await qt.extractDataFromPath(Ye)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,bt)}function ht(K,Se){return le.generateTooltipText(K,Se)}function ge(K){r("handleClick",{node:K})}function Xe(K,Se){if(vi.getCollapsed()){let Ye,lt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Ye=K.metaInfo.label:Ye=K.category&&K.category.label||K.category,lt&&!lt.classList.contains("isBlocked")&&(lt.className+=" isBlocked"),Ye===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=Ye),lt?Ut(Se):Y&&(Wo(Se),Se.closest(".lui-moreItems")||Ie())}}function Ut(K){const Se=K.closest(".fd-nested-list__item"),Ye=Se.offsetTop,lt=ji.getShellbar().offsetHeight;let bt;ji.isCustomLuigiContainer()?bt=ji.getCustomLuigiContainer().clientHeight:bt=window.innerHeight,setTimeout(()=>{const _t=Se.getElementsByClassName("lui-flyout-sublist")[0],Bt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Kt=Ye+lt-Bt,Dn=bt-Ye-Se.offsetHeight+Bt-lt;Kt+_t.offsetHeight>=bt?(_t.style.bottom=Dn+"px",_t.className+=" has-bottom-position"):_t.style.top=Kt-lt+"px"})}function En(){if(h){let K=vi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function on(K){if(K.code==="ArrowRight"){const Ye=Ee.getCurrentMicrofrontendIframe();Ye&&Ye.contentWindow&&Ye.contentWindow.focus()}}function rn(K){let Se=H?H.parent:void 0;for(;Se;){if(Se.pathSegment&&Se.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Se});return}Se=Se.parent}console.warn('Could not resolve "up"-node, redirecting to root'),sp.navigate("/")}function Rn(K,Se){vi.getCollapsed()||t(9,P=le.storeExpandedState(K.metaInfo.categoryUid,Se,N))}function Ie(){te&&te.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function qe(){t(8,y=vi.closePopupMenu(y)),Ie()}function an(K){K&&K.code==="Escape"&&qe()}function un(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),Wn()}function sn(K){const Se=K.code;(Se==="Enter"||Se==="Space")&&un()}function zt(K,Se){(K.code==="Enter"||K==="Space")&&Xe(Se,K.currentTarget)}function Gt(K,Se){K.keyCode===bl&&le.handleNavAnchorClickedWithoutMetaKey(K)&&ge(Se)}function Wn(){if(!le.getBurgerTooltipConfig())return;const[K,Se]=le.getBurgerTooltipConfig(),Ye=document.body.classList.contains("lui-semiCollapsible");K&&Se&&Ye&&t(11,V=document.body.classList.contains("semiCollapsed")?K:Se)}function Xt(K,Se){return nn(K,Se)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function wn(K){if(!K)return;const Se=K.target.parentElement;Se.getAttribute("aria-expanded")==="true"?Se.setAttribute("aria-expanded","false"):(qe(),Se.setAttribute("aria-expanded","true")),K.stopPropagation()}function Ci(K){Qe[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const di=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},kn=(K,Se)=>Gt(Se,K),yi=K=>{v&&K.target.blur()},Pi=K=>Rn(K,!nn(K,P)),Ii=K=>Rn(K,!nn(K,P)),Ni=(K,Se)=>zt(Se,K),Ti=(K,Se)=>Xe(K,Se.currentTarget),Sl=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Cl=(K,Se)=>Gt(Se,K),yl=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Li=(K,Se)=>Gt(Se,K),Ji=K=>{(K.code==="Enter"||K.code==="Space")&&wn(K)};function Yi(K){Qe[K?"unshift":"push"](()=>{te=K,t(25,te)})}function hi(K){Qe[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Pl=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Il=(K,Se)=>Gt(Se,K),Qi=K=>Rn(K,!nn(K,P)),Nl=K=>Rn(K,!nn(K,P)),Tl=(K,Se)=>zt(Se,K),Ll=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ai=(K,Se)=>Gt(Se,K),Al=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},ri=(K,Se)=>Gt(Se,K),Ei=K=>Xe(K,event.currentTarget),gi=(K,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ri=(K,Se)=>Gt(Se,K),_i=K=>un(),Zi=K=>un(),Xi=K=>sn(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,N=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,Pe=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Le=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((Se,Ye)=>Se[1].metaInfo.order-Ye[1].metaInfo.order),t(13,Pe=K),t(14,Le=Je(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,Pe,Le,m,ge,Xe,En,on,rn,Rn,qe,G,ce,te,ae,n,J,Y,ee,Ge,$e,De,it,ht,an,un,sn,zt,Gt,Xt,wn,h,N,H,b,Ut,Wo,Ci,di,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi]}class hp extends Ot{constructor(e){super(),Vt(this,e,HS,FS,Rt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Wo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const WS=i=>{vn.doOnStoreChange(i.store,()=>{const e=ne.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),ie.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ne.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),gp(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},qS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),Hd=(i,e,t)=>{let n=!0;return ie.trimTrailingSlash(ie.trimLeadingSlash(i)).split("/").forEach((l,r)=>{n&&(r+1>=e.length||!e[r+1].pathSegment||!qS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},gp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{var d;let h=Hd(c.link,t,n);return!h&&((d=c.selectionConditions)!=null&&d.route)&&(h=Hd(c.selectionConditions.route,t,n),h&&(c.selectionConditions.contextCriteria||[]).forEach(g=>{h=h&&kr.get(t._context,g.key)===g.value})),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=na.getDocumentTitle()||r;i.set({title:r}),document.title=At.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Wd(i,e,t){const n=i.slice();return n[46]=e[t],n[48]=t,n}function qd(i,e,t){const n=i.slice();return n[46]=e[t],n}function zS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=zd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function GS(i){let e,t,n,l,r=i[1]&&Gd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Gd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[30](null)}}}function Gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function Kd(i){let e,t=(!i[3]||i[4])&&jd(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[3]||n[4]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function jd(i){let e;function t(r,a){return r[14]?jS:KS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function KS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(a,o){L(a,e,o),w(e,n),l||(r=x(e,"click",i[33]),l=!0)},p(a,o){o[0]&524564&&t!==(t=a[19](a[4]?a[8]:a[2])+"")&&Ae(n,t)},d(a){a&&T(e),l=!1,r()}}}function jS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r,a;return{c(){e=k("a"),n=Te(t),f(e,"class",l="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,n),r||(a=x(e,"click",i[32]),r=!0)},p(o,c){c[0]&524564&&t!==(t=o[19](o[4]?o[8]:o[2])+"")&&Ae(n,t),c[0]&8&&l!==(l="fd-shellbar__title lui-shellbar-single-app-title "+(o[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",l)},d(o){o&&T(e),r=!1,a()}}}function Jd(i){let e,t,n=i[3]&&Yd(i),l=i[12]&&i[5]&&rh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[3]?n?n.p(r,a):(n=Yd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[12]&&r[5]?l?l.p(r,a):(l=rh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Yd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b=i[4]&&Qd();function m(I,N){return I[14]?YS:JS}let v=m(i),C=v(i),y=i[6]&&i[7]&&th(i),P=i[9]&&i[9].length>0&&nh(i);return{c(){b&&b.c(),e=W(),t=k("div"),n=k("div"),C.c(),l=W(),r=k("div"),a=k("nav"),o=k("ul"),y&&y.c(),c=W(),P&&P.c(),f(n,"class","fd-popover__control"),f(o,"class","fd-menu__list fd-menu__list--no-shadow"),f(a,"class","fd-menu"),f(r,"class","fd-popover__body fd-popover__body--left"),f(r,"aria-hidden",h=!i[13].appSwitcherPopover),f(r,"id","appSwitcherPopover"),f(t,"class",d="fd-popover "+(i[4]&&"lui-keep-main")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(I,N){b&&b.m(I,N),L(I,e,N),L(I,t,N),w(t,n),C.m(n,null),w(t,l),w(t,r),w(r,a),w(a,o),y&&y.m(o,null),w(o,c),P&&P.m(o,null),i[39](o),g||(p=x(n,"click",Dt($S)),g=!0)},p(I,N){I[4]?b||(b=Qd(),b.c(),b.m(e.parentNode,e)):b&&(b.d(1),b=null),v===(v=m(I))&&C?C.p(I,N):(C.d(1),C=v(I),C&&(C.c(),C.m(n,null))),I[6]&&I[7]?y?y.p(I,N):(y=th(I),y.c(),y.m(o,c)):y&&(y.d(1),y=null),I[9]&&I[9].length>0?P?P.p(I,N):(P=nh(I),P.c(),P.m(o,null)):P&&(P.d(1),P=null),N[0]&8192&&h!==(h=!I[13].appSwitcherPopover)&&f(r,"aria-hidden",h),N[0]&528&&d!==(d="fd-popover "+(I[4]&&"lui-keep-main")+" "+(I[9]&&I[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(t,"class",d)},d(I){I&&(T(e),T(t)),b&&b.d(I),C.d(),y&&y.d(),P&&P.d(),i[39](null),g=!1,p()}}}function Qd(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__separator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function JS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",Dt(i[37])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function YS(i){let e,t,n,l=i[9]&&i[9].length===1&&Zd(i),r=i[9]&&i[9].length>1&&Xd(i),a=i[9].length>1&&!i[7]&&eh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Zd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Xd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=eh(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Zd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(e,"click",i[34]),a=!0)},p(c,h){h[0]&524800&&n!==(n=c[19](c[9][0].title)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[24](c[9][0]))&&f(e,"href",r)},d(c){c&&T(e),a=!1,o()}}}function Xd(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=xd(qd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&25832068){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=qd(l,t,a);n[a]?n[a].p(o,r):(n[a]=xd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),o=W(),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[46])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=x(e,"click",kt(i[35])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[46]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,g()}}}function xd(i){let e=i[46]===i[7]&&i[23](i[46],i[11]),t,n=e&&$d(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[46]===l[7]&&l[23](l[46],l[11])),e?n?n.p(l,r):(n=$d(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function eh(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",kt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function th(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=x(t,"click",kt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function nh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=lh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&32296576){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=Wd(l,t,a);n[a]?n[a].p(o,r):(n[a]=lh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function QS(i){let e,t,n,l=i[19](i[46].title)+"",r,a,o,c,h,d;function g(...p){return i[38](i[46],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[46],i[11]):void 0),f(t,"data-testid",o=i[22](i[46])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[46].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[46],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[46]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function ZS(i){let e,t=i[18]&&ih(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function ih(i){let e,t,n=i[21](i[46],i[18],i[48])+"",l;return{c(){e=k("li"),t=new Cr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[46],r[18],r[48])+"")&&t.p(n)},d(r){r&&T(e)}}}function lh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!ie.isFunction(o[10])),e)return ZS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return QS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=we()},m(o,c){a&&a.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){o&&T(n),a&&a.d(o)}}}function rh(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function XS(i){let e,t,n,l;function r(d,g){return d[14]?GS:zS}let a=r(i),o=a(i),c=i[2]&&Kd(i),h=i[2]&&Jd(i);return{c(){e=k("div"),o.c(),t=W(),c&&c.c(),n=W(),h&&h.c(),l=we(),f(e,"class","fd-shellbar__branding"),f(e,"role","link"),f(e,"tabindex","0"),f(e,"aria-label","SAP Corporate Portal Home")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),c&&c.m(e,null),L(d,n,g),h&&h.m(d,g),L(d,l,g)},p(d,g){a===(a=r(d))&&o?o.p(d,g):(o.d(1),o=a(d),o&&(o.c(),o.m(e,t))),d[2]?c?c.p(d,g):(c=Kd(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d[2]?h?h.p(d,g):(h=Jd(d),h.c(),h.m(l.parentNode,l)):h&&(h.d(1),h=null)},i:Ue,o:Ue,d(d){d&&(T(e),T(n),T(l)),o.d(),c&&c.d(),h&&h.d(d)}}}const $S=()=>{};function xS(i,e,t){let n;const l=Zt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:N}=e,{addNavHrefForAnchor:V}=e,E,H,D=yt("getUnsavedChangesModalPromise"),O=yt("getTranslation");Si(i,O,ge=>t(19,n=ge));let G=yt("store");const Z={closeDropDown:()=>{ae("appSwitcherPopover")}},J=()=>({get:()=>({pathData:N,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Xe=>{Xe==="pathData"?t(26,N=ge.pathData):Xe==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):Xe==="itemRenderer"?t(10,C=ge.itemRenderer):Xe==="pathParams"?t(11,y=ge.pathParams):Xe==="selectedItem"?t(7,b=ge.selectedItem):Xe==="title"?t(2,o=ge.title):Xe==="defaultSubTitle"?t(25,I=ge.defaultSubTitle):Xe==="subTitle"?t(12,P=ge.subTitle):Xe==="defaultTitle"?t(8,m=ge.defaultTitle):Xe==="subTitle"?t(12,P=ge.subTitle):Xe==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):Xe==="hasApps"?t(3,c=ge.hasApps):Xe==="keepMainTitle"?t(4,h=ge.keepMainTitle):Xe==="showSubTitle"?t(5,d=ge.showSubTitle):Xe==="hasLogo"&&t(1,a=ge.hasLogo)})},store:G});ln(()=>{WS(J())}),Qn(()=>{(!H||H!=N)&&(gp(J()),H=N)});function ce(ge,Xe,Ut){return setTimeout(()=>{Xe&&C(ge,Xe.children[Ut],Z)}),""}function Y(ge){D().then(()=>{ot.navigateTo(me.applyPathParams(ge,y))},()=>{})}function te(){D().then(()=>{ot.navigateTo("/")},()=>{})}function q(ge){l("handleClick",{node:ge}),ae("appSwitcherPopover")}function ae(ge){l("toggleDropdownState",{name:ge})}function oe(ge){return ge.testId?ge.testId:le.prepareForTests(ge.title||ge)}function ee(ge,Xe){if(ge.link){const Ut=me.applyPathParams(ge.link,Xe);if(Ut.indexOf(":")!==0&&Ut.indexOf("/:")===-1)return!0}return!1}function ye(ge){return me.getNodeHref(ge)}function se(ge){Qe[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const re=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")};function ke(ge){Qe[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const Je=()=>Y("/"),Pe=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")},Le=()=>Y("/"),Ge=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Y(v[0].link)},$e=()=>ae("appSwitcherPopover"),De=()=>ae("appSwitcherPopover"),it=()=>ae("appSwitcherPopover"),rt=(ge,Xe)=>{le.handleNavAnchorClickedWithoutMetaKey(Xe)&&Y(ge.link)};function ht(ge){Qe[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,I=ge.defaultSubTitle),"pathData"in ge&&t(26,N=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Y,te,ae,E,n,O,ce,oe,ee,ye,I,N,q,se,re,ke,Je,Pe,Le,Ge,$e,De,it,rt,ht]}class eC extends Ot{constructor(e){super(),Vt(this,e,xS,XS,Rt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function ah(i,e,t){const n=i.slice();return n[34]=e[t],n}function sh(i){let e,t,n,l,r,a,o=i[0]&&oh(i),c=(i[10]||i[11])&&_h(i);return{c(){e=k("div"),o&&o.c(),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(h,d){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=oh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=_h(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(T(e),T(t),T(n)),o&&o.d(),c&&c.d()}}}function oh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?nC:tC}let h=c(i),d=h(i),g=i[7].name&&uh(i),p=i[7].description&&fh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=dh(ah(i,b,C));let v=i[12]&&hh(i);return{c(){e=k("div"),d.c(),t=W(),n=k("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=k("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P]&&m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=uh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=fh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Ve(C[9].items);let P;for(P=0;P<b.length;P+=1){const I=ah(C,b,P);m[P]?m[P].p(I,y):(m[P]=dh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=hh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(T(e),T(t),T(n),T(r),T(a)),d.d(),g&&g.d(),p&&p.d(),dt(m,C),v&&v.d()}}}function tC(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ii(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&ii(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function uh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&T(e)}}}function fh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function iC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),ii(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&ii(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&T(e)}}}function lC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function dh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&ch(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=ch(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Ze(d)}}}function hh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&gh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){L(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[x(e,"click",kt(i[5])),x(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=gh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,Ze(c)}}}function gh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function rC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),nt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!nt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function aC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function _h(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ph(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=ph(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function ph(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function mh(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=W(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[x(e,"click",i[15]),x(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Ze(r)}}}function sC(i){let e,t=!i[1]&&sh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=sh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function oC(i,e,t){let n;const l=Zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=yt("store"),C=yt("getTranslation");Si(i,C,ee=>t(13,n=ee));let y=yt("getUnsavedChangesModalPromise"),P=yt("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ee=>{t(8,c=ee)}),gn.getUserInfoStore().subscribe(ee=>{t(7,o=ee),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ee){return le.renderIconClassName(ee)}function V(ee){return le.isOpenUIiconName(ee.icon)}function E(ee){return ee.testId?ee.testId:le.prepareForTests(ee.label)}function H(ee){return me.getNodeHref(ee)}function D(){b||(vn.doOnStoreChange(v,async()=>{const ee=await ne.getConfigValueAsync("navigation.profile.logout"),ye=await ne.getConfigValueAsync("userSettings"),se=ye||await ne.getConfigValueAsync("settings.userSettings"),re={items:await ne.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...ke}}re.logout={...ml.logout,...ee},t(11,g=!!ee),m=!1,gn.setProfileLogoutFn(null),ee&&ie.isFunction(ee.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ee.customLogoutFn)),t(9,h=re),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ee=await ne.getConfigValueAsync("navigation.profile.staticUserInfoFn");ee&&(gn.setUserInfo(o),t(7,o=ee),l("userInfoUpdated",o))}function G(ee){y().then(()=>{if(ee.openNodeInModal){const ye=me.buildRoute(ee,`${ee.link}`);P(ye,ee.openNodeInModal===!0?{}:ee.openNodeInModal)}else ot.navigateToLink(ee)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function J(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout(),l("toggleDropdownState")}function Y({keyCode:ee}){(ee===bl||ee===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:te}=e;const q=ee=>{le.handleNavAnchorClickedWithoutMetaKey(ee)},ae=ee=>G(ee),oe=ee=>Y(ee);return i.$$set=ee=>{"isHidden"in ee&&t(1,r=ee.isHidden),"addNavHrefForAnchor"in ee&&t(2,a=ee.addNavHrefForAnchor),"showUserInfo"in ee&&t(0,te=ee.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,te=!!(o&&(o.name||o.email)))},[te,r,a,G,Z,J,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,ae,oe]}class uC extends Ot{constructor(e){super(),Vt(this,e,oC,sC,Rt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function bh(i,e,t){const n=i.slice();return n[34]=e[t],n}function vh(i){let e,t,n,l,r,a=i[0]&&wh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=Sh(bh(i,o,g));let h=i[12]&&Ch(i),d=(i[10]||i[11])&&Ph(i);return{c(){e=k("nav"),t=k("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){L(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=wh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Ve(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=bh(g,o,b);c[b]?c[b].p(m,p):(c[b]=Sh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=Ch(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ph(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),dt(c,g),h&&h.d(),d&&d.d()}}}function wh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Te(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&T(e)}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),nt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!nt(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&kh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=kh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Ze(d)}}}function Ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&yh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[x(e,"click",kt(i[5])),x(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=yh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,Ze(h)}}}function yh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),nt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!nt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function hC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ph(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ih(i),l=i[10]&&!i[8]&&Th(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Ih(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Th(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Ih(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Nh(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=x(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Nh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,h()}}}function Nh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?_C:gC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),nt(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!nt(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function _C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Th(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=x(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function pC(i){let e,t=!i[1]&&vh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function mC(i,e,t){let n;const l=Zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=yt("store"),C=yt("getTranslation");Si(i,C,ee=>t(13,n=ee));let y=yt("getUnsavedChangesModalPromise"),P=yt("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ee=>{t(8,c=ee)}),gn.getUserInfoStore().subscribe(ee=>{t(7,o=ee),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ee){return le.renderIconClassName(ee)}function V(ee){return le.isOpenUIiconName(ee.icon)}function E(ee){return ee.testId?ee.testId:le.prepareForTests(ee.label)}function H(ee){return me.getNodeHref(ee)}function D(){b||(vn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ee=await ne.getConfigValueAsync("navigation.profile.logout"),ye=await ne.getConfigValueAsync("userSettings"),se=ye||await ne.getConfigValueAsync("settings.userSettings"),re={items:await ne.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...ke}}re.logout={...ml.logout,...ee},t(11,g=!!ee),m=!1,gn.setProfileLogoutFn(null),ee&&ie.isFunction(ee.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ee.customLogoutFn)),t(9,h=re),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ee=await ne.getConfigValueAsync("navigation.profile.staticUserInfoFn");ee&&(gn.setUserInfo(o),t(7,o=ee),l("userInfoUpdated",o))}function G(ee){y().then(()=>{if(ee.openNodeInModal){const ye=me.buildRoute(ee,`${ee.link}`);P(ye,ee.openNodeInModal===!0?{}:ee.openNodeInModal)}else ot.navigateToLink(ee)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function J(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout()}function Y({keyCode:ee}){(ee===bl||ee===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:te}=e;const q=ee=>{le.handleNavAnchorClickedWithoutMetaKey(ee)},ae=ee=>G(ee),oe=ee=>Y(ee);return i.$$set=ee=>{"isHidden"in ee&&t(1,r=ee.isHidden),"addNavHrefForAnchor"in ee&&t(2,a=ee.addNavHrefForAnchor),"showUserInfo"in ee&&t(0,te=ee.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,te=!!(o&&(o.name||o.email)))},[te,r,a,G,Z,J,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,ae,oe]}class _p extends Ot{constructor(e){super(),Vt(this,e,mC,pC,Rt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Lh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ah(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Dh(Lh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=Ve(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Lh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Dh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function Eh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?vC:bC}let N=I(i,-1),V=N(i);r=new An({props:{node:i[11]}});let E=p&&Rh(i);function H(){return i[9](i[11])}return{c(){e=k("li"),t=k("div"),V.c(),l=W(),Be(r.$$.fragment),a=W(),o=k("div"),c=k("div"),d=Te(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=le.getTestId(i[11]))},m(D,O){L(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=x(e,"click",H),y=!0)},p(D,O){i=D,N===(N=I(i,O))&&V?V.p(i,O):(V.d(1),V=N(i),V&&(V.c(),V.m(t,l)));const G={};O&2&&(G.node=i[11]),r.$set(G),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Rh(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=le.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&T(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function bC(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!nt(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function vC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&T(e)}}}function Rh(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function Dh(i){let e,t,n=i[11].label&&Eh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Eh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function wC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N=i[1]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Te(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),N&&N.c(),p=W(),b=k("footer"),m=k("div"),v=k("div"),C=k("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),N&&N.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[x(C,"click",i[8]),x(e,"click",Dt(kC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?N?(N.p(V,E),E&2&&R(N,1)):(N=Ah(V),N.c(),R(N,1),N.m(g,null)):N&&(be(),U(N,1,1,()=>{N=null}),ve())},i(V){y||(R(N),y=!0)},o(V){U(N),y=!1},d(V){V&&T(e),N&&N.d(),P=!1,Ze(I)}}}const kC=()=>{};function SC(i,e,t){const n=Zt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return le.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Gi.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class pp extends Ot{constructor(e){super(),Vt(this,e,SC,wC,Rt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:CC}=wl;function Vh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Oh(i){let e,t,n,l=i[0]&&Mh(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Mh(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Mh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Uh(Vh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=Ve(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Vh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Uh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function Fh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?PC:yC}let P=y(i,-1),I=P(i);a=new An({props:{node:i[7]}});function N(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=le.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[x(t,"click",i[13]),x(e,"click",N)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=le.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,Ze(C)}}}function yC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),nt(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Uh(i){let e,t,n=i[7].label&&Fh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Fh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Bh(i){let e,t;return e=new pp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function IC(i){let e,t,n,l,r,a=!i[1]&&Oh(i),o=i[1]&&Bh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=we()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),n=!0,l||(r=x(CC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Oh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Bh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(T(e),T(t)),a&&a.d(c),o&&o.d(c),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function NC(i,e,t){const n=Zt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=yt("getUnsavedChangesModalPromise"),h=yt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});ln(async()=>{fs()}),Qn(async()=>{r||t(0,r=await qt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else ot.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return le.isOpenUIiconName(E.icon)}function y(E){return le.renderIconClassName(E)}function P(E){return At.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const N=E=>{le.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,I,N,V]}class mp extends Ot{constructor(e){super(),Vt(this,e,NC,IC,Rt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return fs}}const yn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?ie.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=ie.addLeadingSlash(ot.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=ie.normalizePath(i),n=ie.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ne.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=yn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=ie.normalizePath(i),t=ie.normalizePath(t),!!yn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=yn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await yn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=ne.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ne.getConfigValueAsync("navigation.contextSwitcher.options");return await yn.generateSwitcherNav(e,t)}};function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i,e,t){const n=i.slice();return n[20]=e[t],n}function qh(i,e,t){const n=i.slice();return n[20]=e[t],n}function zh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(qh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=qh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function Gh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=le.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",kt(VC)),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Ze(d)}}}function Kh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Gh(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Gh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function jh(i){let e;return{c(){e=k("li"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Jh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Yh(Wh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=Wh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Yh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function TC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function LC(i){let e,t,n,l,r;function a(d,g){return d[2]?EC:AC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=k("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=le.getTestId(i[20]))},m(d,g){L(d,e,g),c.m(e,null),L(d,n,g),l||(r=x(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=le.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(T(e),T(n)),c.d(),l=!1,r()}}}function AC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){L(d,e,g),w(e,t),w(t,l),c||(h=x(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Ae(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&T(e),c=!1,h()}}}function EC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function RC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Yh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:RC,then:LC,catch:TC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=we(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Qh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xh(Hh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function Zh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=le.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",i[17]),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Ze(d)}}}function Xh(i){let e,t=i[20].position==="bottom"&&Zh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function DC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&zh(i),c=i[3]&&i[3].length===0&&i[10]&&jh(),h=i[3]&&i[3].length&&Jh(i),d=i[0]&&i[0].length&&Qh(i);return{c(){e=k("nav"),o&&o.c(),t=W(),n=k("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){L(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=zh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=jh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Jh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Qh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:Ue,o:Ue,d(g){g&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const VC=()=>{};function OC(i,e,t){let n,l=Ue,r=()=>(l(),l=zo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Zt();function P(O){y("onActionClick",{node:O})}function I(O,G){y("goToOption",{option:O,selectedOption:G})}const N=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,N,V,E,H,D]}class bp extends Ot{constructor(e){super(),Vt(this,e,OC,DC,Rt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function $h(i){let e,t,n,l=!i[9]&&xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=xh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=eg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function xh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?FC:MC}let p=g(i),b=p(i);return a=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=W(),r=k("div"),Be(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=x(n,"click",Dt(JC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Fe(a),h=!1,d()}}}function MC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?BC:UC}let c=o(i),h=c(i);return{c(){e=k("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,g){L(d,e,g),h.m(e,null),r||(a=x(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?zC:qC}let h=c(i),d=h(i);return{c(){e=k("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){L(g,e,p),d.m(e,null),a||(o=x(e,"click",kt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&T(e),d.d(),a=!1,o()}}}function UC(i){let e,t;function n(a,o){return a[4]?HC:WC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function HC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function qC(i){let e,t;function n(a,o){return a[4]?GC:KC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function zC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function GC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function KC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&tg(i),N=i[4]&&ng(i);return d=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),I&&I.c(),o=W(),N&&N.c(),c=W(),h=k("div"),Be(d.$$.fragment),g=W(),p=k("footer"),b=k("div"),m=k("div"),v=k("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[x(v,"click",i[13]),x(e,"click",Dt(YC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=tg(V),I.c(),I.m(a,o)),V[4]?N?N.p(V,E):(N=ng(V),N.c(),N.m(a,null)):N&&(N.d(1),N=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&T(e),I&&I.d(),N&&N.d(),Fe(d),y=!1,Ze(P)}}}function tg(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function ng(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function jC(i){let e,t,n=i[3]&&$h(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=$h(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}const JC=()=>{},YC=()=>{};function QC(i,e,t){let n,l;const r=Zt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:N}=e,V,E=yt("getUnsavedChangesModalPromise"),H=yt("store"),D=yt("getTranslation");Si(i,D,re=>t(16,l=re));let O=!1,{addNavHrefForAnchor:G}=e,Z;ln(async()=>{vn.doOnStoreChange(H,async()=>{const re=ne.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=ie.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=ie.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,h=re),t(1,g=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ne.getConfigValueAsync("navigation.contextSwitcher.actions"));const ke=ot.getCurrentPath();t(20,m=re.fallbackLabelResolver),yn.resetFallbackLabelCache(),re.lazyloadOptions||await Y(),yn.isContextSwitcherDetailsView(ke,re.parentNodePath)&&await te(ke)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(re=>te(re)),Hn.addEventListener("message",re=>{Ee.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Y())}),t(21,N=h.defaultLabel)}),Qn(()=>{O!==I&&(O=I,Y()),t(14,Z=o.contextSwitcherPopover||!1)});function J(re,ke,Je){return re?Promise.resolve(re):yn.getFallbackLabel(ke,Je)}function ce(re){return me.getNodeHref(re,v)}async function Y(){t(1,g=await yn.fetchOptions(g));const re=h||{},ke=re.parentNodePath,Je=re.fallbackLabelResolver,Pe=ot.getCurrentPath();t(2,b=await yn.getSelectedOption(Pe,g,ke)),t(4,c=await yn.getSelectedLabel(Pe,g,ke,Je)),await yn.getSelectedNode(Pe,g,ke),V=re.preserveSubPathOnSwitch}async function te(re){const ke=h||{},Je=ke.parentNodePath,Pe=ke.fallbackLabelResolver;t(2,b=await yn.getSelectedOption(re,g,Je)),t(4,c=await yn.getSelectedLabel(re,g,Je,Pe)),await yn.getSelectedNode(re,g,Je)}async function q(re){let ke=re.detail.node;ke.clickHandler&&!await ke.clickHandler(ke)||(setTimeout(()=>{ae(ke.link)}),P&&r("toggleDropdownState"))}function ae(re){E().then(()=>{ot.navigateTo(re)},()=>{})}function oe(re){let ke=re.detail.option,Je=re.detail.selectedOption;E().then(()=>{V&&Je?ot.navigateTo(yn.getNodePathFromCurrentPath(ke,Je)):ot.navigateTo(ke.link),P&&r("toggleDropdownState")},()=>{})}function ee(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Y()}const ye=()=>{n&&ee()},se=()=>{n&&ee()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,h=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,g=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,I=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,N=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,G=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,G,q,oe,ee,Z,n,l,D,J,ce,m,N,v,I,Y,te,ae,p,ye,se]}class vp extends Ot{constructor(e){super(),Vt(this,e,QC,jC,Rt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:ZC}=wl;function ig(i,e,t){const n=i.slice();return n[22]=e[t],n}function lg(i){let e,t,n,l=!i[2]&&rg(i),r=i[2]&&i[3].productSwitcherPopover&&fg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=rg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=fg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function rg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?$C:XC}let I=P(i,-1),N=I(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=ug(ig(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),d=W(),g=k("div"),p=k("div"),b=k("ul");for(let H=0;H<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Bn(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){L(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O]&&E[O].m(b,null);C||(y=[x(r,"click",Dt(i[7])),x(l,"click",Dt(ay))],C=!0)},p(H,D){if(I===(I=P(H,D))&&N?N.p(H,D):(N.d(1),N=I(H),N&&(N.c(),N.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const G=ig(H,V,O);E[O]?E[O].p(G,D):(E[O]=ug(G),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Bn(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&T(e),N.d(),dt(E,H),C=!1,Ze(y)}}}function XC(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!nt(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function ag(i){let e,t,n,l,r,a;function o(g,p){return g[4]?ey:xC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=k("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88"),f(e,"data-testid",l=i[14](i[22]))},m(g,p){L(g,e,p),h.m(e,null),w(e,t),r||(a=x(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88")&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&T(e),h.d(),r=!1,a()}}}function xC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?ny:ty}let g=d(i,-1),p=g(i),b=h&&sg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ae(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=sg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(T(e),T(n),T(l)),p.d(),b&&b.d()}}}function ey(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?ly:iy}let v=m(i,-1),C=v(i),y=d&&og(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Te(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link svelte-1mzhx88")},m(P,I){L(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=x(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=og(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function ty(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function ny(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function sg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function iy(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function ly(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function og(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ug(i){let e,t=i[22].label&&ag(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function fg(i){let e,t;return e=new pp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ry(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&lg(i);return{c(){a&&a.c(),t=we()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=x(ZC,"resize",cs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=lg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&T(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const ay=()=>{};function sy(i,e,t){const n=Zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=yt("store"),h=yt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;ln(async()=>{vn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await ne.getConfigValueAsync("navigation.productSwitcher.items")),I()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ot.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return le.renderIconClassName(D)}function C(D){return le.isOpenUIiconName(D.icon)}function y(D){return At.getTranslation(D.label)}function P(D){return At.getTranslation(D.subTitle)}function I(){le.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(D){return D.testId?D.testId:le.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{le.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,N,V,E,H]}class wp extends Ot{constructor(e){super(),Vt(this,e,sy,ry,Rt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return cs}}function cg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function oy(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),i[15](e),e.focus(),t||(n=x(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function uy(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){L(t,e,n),e.focus()},p:Ue,d(t){t&&T(e)}}}function fy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[19](e)},p:Ue,d(t){t&&T(e),i[19](null)}}}function cy(i){let e,t,n,l=i[4]&&dg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1gf05kv"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1gf05kv"),f(e,"aria-hidden",n=!i[5])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=dg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function dg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hg(cg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Ve(l[4]);let a;for(a=0;a<t.length;a+=1){const o=cg(l,t,a);n[a]?n[a].p(o,r):(n[a]=hg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l),i[18](null)}}}function dy(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function hy(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title svelte-1gf05kv"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1gf05kv")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",kt(_y)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Ae(r,l),b&16&&c!==(c=p[21].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function hg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?dy:hy}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-1gf05kv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Ze(l)}}}function gy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?uy:oy}let I=P(i),N=I(i);function V(D,O){return D[8].isCustomSearchRenderer?fy:cy}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=W(),a=k("div"),o=W(),H.c(),d=W(),g=k("div"),p=k("div"),b=k("button"),m=k("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-1gf05kv"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1gf05kv"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),N.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),L(D,d,O),L(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[x(window,"click",i[9]),x(window,"blur",i[9]),x(n,"click",Dt(py)),x(b,"click",i[6]),x(p,"click",Dt(my))],C=!0)},p(D,[O]){I===(I=P(D))&&N?N.p(D,O):(N.d(1),N=I(D),N&&(N.c(),N.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:Ue,o:Ue,d(D){D&&(T(e),T(d),T(g)),N.d(),H.d(),C=!1,Ze(y)}}}const _y=()=>{},py=()=>{},my=()=>{};function by(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Zt();let g={},p;ln(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Qn(()=>{t(7,g=h),p||t(8,p=new up(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){Qe[D?"unshift":"push"](()=>{a=D,t(0,a)})}const N=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Qe[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Qe[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,N,V,E,H]}class vy extends Ot{constructor(e){super(),Vt(this,e,by,gy,Rt,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function gg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function wy(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=k("input"),t=W(),n=k("div"),l=k("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=k("div"),o=k("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=k("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-a47lg3"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-a47lg3"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[23](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,h,b),d||(g=[x(e,"keyup",i[22]),x(e,"input",i[24]),x(l,"click",i[17]),x(o,"click",i[15])],d=!0)},p:Ue,d(p){p&&(T(e),T(t),T(n),T(r),T(a),T(c),T(h)),i[23](null),d=!1,Ze(g)}}}function ky(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function Sy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[28](e)},p:Ue,d(t){t&&T(e),i[28](null)}}}function Cy(i){let e,t,n,l=i[3]&&_g(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-a47lg3"),f(e,"aria-hidden",n=!i[4])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=_g(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function _g(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=pg(gg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=gg(l,t,a);n[a]?n[a].p(o,r):(n[a]=pg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l),i[27](null)}}}function yy(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function Py(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",kt(Ny)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Ae(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function pg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?yy:Py}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-a47lg3"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Ze(l)}}}function mg(i){let e,t,n,l,r,a,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-a47lg3")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[x(n,"click",i[6]),x(t,"click",Dt(Ly))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Ze(o)}}}function bg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-a47lg3"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=x(t,"click",Dt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Ae(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function Iy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?ky:wy}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?Sy:Cy}let y=C(i),P=y(i),I=!i[5]&&mg(i),N=i[5]&&bg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),N&&N.c(),d=we(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-a47lg3"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),I&&I.m(V,E),L(V,h,E),N&&N.m(V,E),L(V,d,E),g||(p=[x(window,"click",i[13]),x(window,"blur",i[13]),x(n,"click",Dt(Ty))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=mg(V),I.c(),I.m(h.parentNode,h)),V[5]?N?N.p(V,E):(N=bg(V),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),I&&I.d(V),N&&N.d(V),g=!1,Ze(p)}}}const Ny=()=>{},Ty=()=>{},Ly=()=>{};function Ay(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Zt();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=yt("getTranslation");Si(i,m,oe=>t(10,n=oe));let v;ln(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const oe=document.querySelector(".lui-global-search");oe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(oe)}),Qn(()=>{t(8,b=h),v||t(9,v=new up(b,d)),v.getCustomRenderer(),N()});function C(oe,ee,ye){v.renderCustomSearchItem(oe,ee,ye)}function y(){v.closeSearchResult()}function P(oe){v.onKeyUp(oe,r)}function I(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function N(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(oe){v.onSearchResultItemSelected(oe)}function H(oe,ee){v.handleKeydown(oe,ee,a,c)}function D(oe){v.onActionClick(oe)}function O(){v.toggleSearch(p,r,a,o)}const G=oe=>P(oe);function Z(oe){Qe[oe?"unshift":"push"](()=>{a=oe,t(0,a)})}const J=()=>N(),ce=(oe,ee)=>E(oe),Y=(oe,ee)=>H(oe,ee);function te(oe){Qe[oe?"unshift":"push"](()=>{c=oe,t(2,c)})}function q(oe){Qe[oe?"unshift":"push"](()=>{o=oe,t(1,o)})}const ae=()=>O();return i.$$set=oe=>{"searchResult"in oe&&t(3,l=oe.searchResult),"displaySearchResult"in oe&&t(4,r=oe.displaySearchResult),"inputElem"in oe&&t(0,a=oe.inputElem),"customSearchItemRendererSlot"in oe&&t(1,o=oe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in oe&&t(2,c=oe.customSearchItemRendererSlotContainer),"globalSearchConfig"in oe&&t(20,h=oe.globalSearchConfig),"isSearchFieldVisible"in oe&&t(5,p=oe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,N,V,E,H,h,D,G,Z,J,ce,Y,te,q,ae]}class Ey extends Ot{constructor(e){super(),Vt(this,e,Ay,Iy,Rt,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function vg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?Dy:Ry}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ry(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),nt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Dy(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function wg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new li({props:{node:i[0]}}),{c(){e=k("span"),n=Te(t),l=W(),Be(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&T(e),Fe(r)}}}function Vy(i){let e,t,n,l=i[0].icon&&vg(i),r=(!i[0].icon||i[0].showLabel)&&wg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=vg(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=wg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Oy(i,e,t){let{node:n}=e;function l(o){return le.isOpenUIiconName(o.icon)}function r(o){return le.renderIconClassName(o)}function a(o){return le.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Ot{constructor(e){super(),Vt(this,e,Oy,Vy,Rt,{node:0})}}const{Boolean:kp,window:kg}=wl;function Sg(i,e,t){const n=i.slice();return n[110]=e[t],n[112]=t,n}function Cg(i,e,t){const n=i.slice();return n[110]=e[t],n[113]=e,n[112]=t,n}function My(i){let e,t;return e=new _p({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[102]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&yg(i);function v(E){i[60](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new eC({props:C}),Qe.push(()=>Ct(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Pg(i),P=(!i[0]||i[1])&&Ig(i),I=(i[18]||i[7]&&i[30].length>0)&&Tg(i),N=(i[0]||i[16])&&Gg(i),V=i[12]&&Kg(i);return{c(){e=k("div"),t=k("div"),m&&m.c(),n=W(),Be(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=k("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),N&&N.c(),g=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-z9ma68"),f(e,"tabindex","0")},m(E,H){L(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),I&&I.m(c,null),w(c,d),N&&N.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=yg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],St(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Pg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Ig(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=Tg(E),I.c(),R(I,1),I.m(c,d)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[0]||E[16]?N?(N.p(E,H),H[0]&65537&&R(N,1)):(N=Gg(E),N.c(),R(N,1),N.m(c,g)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Kg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-z9ma68"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(N),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(N),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),N&&N.d(),V&&V.d()}}}function yg(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-z9ma68"),f(e,"tabindex","0"),f(e,"title",i[25]),f(e,"type","button")},m(r,a){L(r,e,a),w(e,t),n||(l=x(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Pg(i){let e,t,n,l,r,a,o,c;function h(v){i[61](v)}function d(v){i[62](v)}function g(v){i[63](v)}function p(v){i[64](v)}function b(v){i[65](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new Ey({props:m}),Qe.push(()=>Ct(t,"isSearchFieldVisible",h)),Qe.push(()=>Ct(t,"searchResult",d)),Qe.push(()=>Ct(t,"displaySearchResult",g)),Qe.push(()=>Ct(t,"inputElem",p)),Qe.push(()=>Ct(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Be(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],St(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],St(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],St(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],St(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],St(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t)}}}function Ig(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Ng(i);function a(c){i[77](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new vp({props:o}),Qe.push(()=>Ct(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[78]),{c(){r&&r.c(),e=W(),Be(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Me(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Ng(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],St(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){c&&T(e),r&&r.d(c),Fe(t,c)}}}function Ng(i){let e,t,n,l,r,a,o;function c(m){i[69](m)}function h(m){i[70](m)}function d(m){i[71](m)}function g(m){i[72](m)}function p(m){i[73](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.customSearchItemRendererSlot=i[22]),e=new vy({props:b}),Qe.push(()=>Ct(e,"isSearchFieldVisible",c)),Qe.push(()=>Ct(e,"searchResult",h)),Qe.push(()=>Ct(e,"displaySearchResult",d)),Qe.push(()=>Ct(e,"inputElem",g)),Qe.push(()=>Ct(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[74]),e.$on("handleSearchNavigation",i[75]),e.$on("closeSearchResult",i[76]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],St(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],St(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],St(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],St(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],St(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Tg(i){let e,t,n,l=i[7]&&i[30].length>0&&Lg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Dg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Lg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Lg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(Cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Cg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function Ag(i){let e,t,n,l;const r=[By,Uy],a=[];function o(c,h){return c[110].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function Uy(i){let e,t,n,l,r;const a=[Wy,Hy],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=k("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function By(i){let e=i[110].visibleChildren.filter(jg).length>0,t,n,l=e&&Eg(i);return{c(){l&&l.c(),t=we()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[110].visibleChildren.filter(jg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Eg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(t),l&&l.d(r)}}}function Hy(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[83](v,i[110],i[113],i[112])}let b={};i[110]!==void 0&&(b.node=i[110]),t=new jo({props:b}),Qe.push(()=>Ct(t,"node",p)),r=new An({props:{node:i[110]}});function m(){return i[84](i[110])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[110],i[49](i[110]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[110])),f(e,"type","button")},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=x(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[110],St(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[110]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[110],i[49](i[110]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[110])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&T(e),Fe(t),Fe(r),d=!1,g()}}}function Wy(i){let e,t,n,l;const r=[zy,qy],a=[];function o(c,h){return c[110].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function qy(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function zy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[81](C,i[110],i[113],i[112])}let m={};i[110]!==void 0&&(m.node=i[110]),t=new jo({props:m}),Qe.push(()=>Ct(t,"node",b)),r=new An({props:{node:i[110]}});function v(...C){return i[82](i[110],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[110])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"title",c=i[51](i[110],i[49](i[110]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[110]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=x(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[110],St(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[110]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[110])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[110],i[49](i[110]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[110])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&T(e),Fe(t),Fe(r),g=!1,p()}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(D){i[79](D,i[110],i[113],i[112])}let E={};i[110]!==void 0&&(E.node=i[110]),r=new jo({props:E}),Qe.push(()=>Ct(r,"node",V)),c=new An({props:{node:i[110]}});function H(){return i[80](i[112])}return v=new mp({props:{node:i[110],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Be(r.$$.fragment),o=W(),Be(c.$$.fragment),b=W(),m=k("div"),Be(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[110],i[49](i[110]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(l,"aria-controls","dropDownPopover-"+i[112]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[112]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[110])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[112]}`]),f(m,"id","dropDownPopover-"+i[112]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,I||(N=[x(l,"click",H),x(n,"click",Dt(l3))],I=!0)},p(D,O){i=D;const G={};!a&&O[0]&128&&(a=!0,G.node=i[110],St(()=>a=!1)),r.$set(G);const Z={};O[0]&128&&(Z.node=i[110]),c.$set(Z),(!P||O[0]&128&&h!==(h=i[51](i[110],i[49](i[110]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[112]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[110])))&&f(l,"data-testid",p);const J={};O[0]&128&&(J.node=i[110]),O[1]&1&&(J.pathParams=i[31]),O[0]&134217728&&(J.addNavHrefForAnchor=i[27]),v.$set(J),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[112]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&T(e),Fe(r),Fe(c),Fe(v),I=!1,Ze(N)}}}function Rg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Ag(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ag(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Vg(i),G=i[46]&&(!i[0]||i[1])&&Og(i),Z=i[7]&&Mg(i),J=i[12]&&Hg(i),ce=i[12]&&Wg(i),Y=i[14]&&qg(i),te=(!i[0]||i[1])&&zg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("button"),o=k("i"),c=W(),Be(h.$$.fragment),g=W(),p=k("div"),b=k("nav"),m=k("ul"),O&&O.c(),v=W(),G&&G.c(),C=W(),Z&&Z.c(),y=W(),J&&J.c(),I=W(),ce&&ce.c(),N=W(),Y&&Y.c(),V=W(),te&&te.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-z9ma68"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-z9ma68"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(q,ae){L(q,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),G&&G.m(m,null),w(m,C),Z&&Z.m(m,null),w(m,y),J&&J.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,N),Y&&Y.m(n,null),w(n,V),te&&te.m(n,null),E=!0,H||(D=[x(a,"click",i[85]),x(l,"click",Dt(r3))],H=!0)},p(q,ae){const oe={};ae[0]&2048&&(oe.node=q[11]),h.$set(oe),(!E||ae[0]&64&&d!==(d=q[6].overflowPopover||!1))&&f(a,"aria-expanded",d),q[18]&&!q[19]&&!q[29]?O?O.p(q,ae):(O=Vg(q),O.c(),O.m(m,v)):O&&(O.d(1),O=null),q[46]&&(!q[0]||q[1])?G?G.p(q,ae):(G=Og(q),G.c(),G.m(m,C)):G&&(G.d(1),G=null),q[7]?Z?(Z.p(q,ae),ae[0]&128&&R(Z,1)):(Z=Mg(q),Z.c(),R(Z,1),Z.m(m,y)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),q[12]?J?J.p(q,ae):(J=Hg(q),J.c(),J.m(m,null)):J&&(J.d(1),J=null),(!E||ae[0]&64&&P!==(P=!q[6].overflowPopover))&&f(p,"aria-hidden",P),q[12]?ce?(ce.p(q,ae),ae[0]&4096&&R(ce,1)):(ce=Wg(q),ce.c(),R(ce,1),ce.m(n,N)):ce&&(be(),U(ce,1,1,()=>{ce=null}),ve()),q[14]?Y?(Y.p(q,ae),ae[0]&16384&&R(Y,1)):(Y=qg(q),Y.c(),R(Y,1),Y.m(n,V)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),!q[0]||q[1]?te?(te.p(q,ae),ae[0]&3&&R(te,1)):(te=zg(q),te.c(),R(te,1),te.m(n,null)):te&&(be(),U(te,1,1,()=>{te=null}),ve())},i(q){E||(R(h.$$.fragment,q),R(Z),R(ce),R(Y),R(te),E=!0)},o(q){U(h.$$.fragment,q),U(Z),U(ce),U(Y),U(te),E=!1},d(q){q&&T(e),Fe(h),O&&O.d(),G&&G.d(),Z&&Z.d(),J&&J.d(),ce&&ce.d(),Y&&Y.d(),te&&te.d(),H=!1,Ze(D)}}}function Vg(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-z9ma68"></i> <span class="fd-menu__title">Search</span>',f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),n||(l=x(t,"click",Dt(i[86])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Og(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=k("li"),t=k("a"),n=k("i"),r=W(),a=k("span"),c=Te(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-z9ma68"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){L(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=x(t,"click",Dt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-z9ma68")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&T(e),h=!1,d()}}}function Mg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Bg(Sg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Sg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Bg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function Fg(i){let e,t,n,l,r;const a=[Ky,Gy],o=[];function c(h,d){return d[0]&128&&(e=null),!h[110].isCat||h[110].separator?0:(e==null&&(e=h[110].visibleChildren.filter(i3).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=we()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),~t&&o[t].d(h)}}}function Gy(i){let e,t,n,l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[110])),l?Jy:jy}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new An({props:{node:i[110]}});function N(){return i[88](i[110])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),b=W(),f(n,"class","fd-top-nav__icon svelte-z9ma68"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[110])),f(t,"title",p=i[51](i[110],i[49](i[110]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=x(t,"click",kt(N)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[110]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[110])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[110],i[49](i[110]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,C()}}}function Ky(i){let e,t,n,l,r;const a=[Qy,Yy],o=[];function c(h,d){return h[110].separator?1:0}return t=c(i),n=o[t]=a[t](i),{c(){e=k("li"),n.c(),l=W(),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function jy(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!nt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Jy(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[110].icon&&n[48](n[110])?n[47](n[110].icon):"")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Yy(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function Qy(i){let e,t,n=!i[48](i[110]),l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C,y=n&&Ug(i);r=new An({props:{node:i[110]}});function P(){return i[87](i[110])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Te(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[110])),f(e,"class",p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")),f(e,"data-testid",b=le.getTestId(i[110])+"-mobile")},m(I,N){L(I,e,N),w(e,t),y&&y.m(t,null),w(t,l),Me(r,t,null),w(e,o),w(e,c),w(c,d),m=!0,v||(C=x(e,"click",kt(P)),v=!0)},p(I,N){i=I,N[0]&128&&(n=!i[48](i[110])),n?y?y.p(i,N):(y=Ug(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};N[0]&128&&(V.node=i[110]),r.$set(V),(!m||N[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"))&&f(t,"class",a),(!m||N[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||N[0]&128&&g!==(g=i[50](i[110])))&&f(e,"href",g),(!m||N[0]&384&&p!==(p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||N[0]&128&&b!==(b=le.getTestId(i[110])+"-mobile"))&&f(e,"data-testid",b)},i(I){m||(R(r.$$.fragment,I),m=!0)},o(I){U(r.$$.fragment,I),m=!1},d(I){I&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Ug(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!nt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Bg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Fg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Fg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Hg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?Xy:Zy}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=k("li"),t=k("a"),p.c(),l=W(),r=k("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=x(t,"click",Dt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ae(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function Zy(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-z9ma68"),f(e,"class","fd-top-nav__icon sap-icon svelte-z9ma68")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Xy(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Wg(i){let e,t,n;function l(a){i[89](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Qe.push(()=>Ct(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[90]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],St(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function qg(i){let e,t;return e=new mp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function zg(i){let e,t,n,l,r;function a(d){i[91](d)}function o(d){i[92](d)}function c(d){i[93](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new vp({props:h}),Qe.push(()=>Ct(e,"dropDownStates",a)),Qe.push(()=>Ct(e,"selectedLabel",o)),Qe.push(()=>Ct(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[94]),{c(){Be(e.$$.fragment)},m(d,g){Me(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],St(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],St(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],St(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Gg(i){let e,t,n,l,r;const a=[xy,$y],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&ie.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&T(e),o[n].d()}}}function $y(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,N){return I[17].picture?t3:e3}let y=C(i),P=y(i);return g=new _p({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[99]),g.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),h=W(),d=k("div"),Be(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-z9ma68")},m(I,N){L(I,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[x(r,"click",i[98]),x(n,"click",Dt(s3)),x(d,"click",Dt(i[59]))],m=!0)},p(I,N){y===(y=C(I))&&P?P.p(I,N):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};N[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||N[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&T(e),P.d(),Fe(g),m=!1,Ze(v)}}}function xy(i){let e,t,n,l,r=(i[17].picture?"":i[17].initials||"")+"",a,o,c,h,d,g,p,b,m,v,C,y;return b=new uC({props:{addNavHrefForAnchor:i[27]}}),b.$on("toggleDropdownState",i[97]),b.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("span"),a=Te(r),g=W(),p=k("div"),Be(b.$$.fragment),f(l,"class",o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(i[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"),f(l,"style",c=i[17].picture?`background-image:url('${i[17].picture}')`:""),f(n,"class","fd-button fd-button--transparent fd-shellbar__button fd-user-menu__control svelte-z9ma68"),f(n,"aria-controls","profilePopover"),f(n,"aria-expanded","true"),f(n,"aria-haspopup","true"),f(n,"title",h=i[17].name||void 0),f(n,"tabindex","0"),f(n,"data-testid",d=i[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"),f(t,"class","fd-popover__control"),f(p,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right"),f(p,"aria-hidden",m=!i[6].profilePopover),f(p,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-z9ma68")},m(P,I){L(P,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(e,g),w(e,p),Me(b,p,null),v=!0,C||(y=[x(n,"click",i[95]),x(n,"keydown",i[96]),x(t,"click",Dt(a3)),x(p,"click",Dt(i[58]))],C=!0)},p(P,I){(!v||I[0]&131072)&&r!==(r=(P[17].picture?"":P[17].initials||"")+"")&&Ae(a,r),(!v||I[0]&131072&&o!==(o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(P[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"))&&f(l,"class",o),(!v||I[0]&131072&&c!==(c=P[17].picture?`background-image:url('${P[17].picture}')`:""))&&f(l,"style",c),(!v||I[0]&131072&&h!==(h=P[17].name||void 0))&&f(n,"title",h),(!v||I[0]&131072&&d!==(d=P[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"))&&f(n,"data-testid",d);const N={};I[0]&134217728&&(N.addNavHrefForAnchor=P[27]),b.$set(N),(!v||I[0]&64&&m!==(m=!P[6].profilePopover))&&f(p,"aria-hidden",m)},i(P){v||(R(b.$$.fragment,P),v=!0)},o(P){U(b.$$.fragment,P),v=!1},d(P){P&&T(e),Fe(b),C=!1,Ze(y)}}}function e3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function t3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),ii(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&ii(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Kg(i){let e,t,n;function l(a){i[100](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Qe.push(()=>Ct(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[101]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],St(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function n3(i){let e,t,n,l,r,a;const o=[Fy,My],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(kg,"click",i[41]),x(kg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Ze(a)}}}const i3=i=>!i.hideFromNav&&i.label,jg=i=>!i.hideFromNav&&i.label,l3=()=>{},r3=()=>{},a3=()=>{},s3=()=>{};function o3(i,e,t){const n=Zt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:I}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:G={}}=e,{globalSearchConfig:Z}=e,{isGlobalSearchCentered:J}=e,{isSearchFieldVisible:ce}=e,{inputElem:Y}=e,{customSearchItemRendererSlot:te}=e,{displaySearchResult:q}=e,{searchResult:ae}=e,{burgerTooltip:oe}=e,{responsiveShellbarPadding:ee}=e,ye=yt("store"),se=!1,re,ke,Je=ne.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Pe=ne.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const Q=await le.generateTopNavNodes(p);t(7,C=Q.children),t(8,y=Q.selectedNode),t(9,P=Q.visibleNodeCount),t(11,N=Q.totalBadgeNode),t(10,I=Q.globalNavNodeCount),window.TOPNAVDATA=Q.children,b=p}},Ge=()=>{t(1,a=_l.isLoggedIn())};ln(()=>{vn.doOnStoreChange(ye,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,O=ne.getConfigValue("navigation.profile")),t(54,r=!ne.getConfigValue("auth.disableAutoLogin")),t(12,V=ne.getConfigValue("navigation.productSwitcher")),t(2,c=ne.getConfigBooleanValue("settings.hideNavigation")),t(3,h=ne.getConfigValue("settings.responsiveNavigation")),t(4,d=ne.getConfigValue("settings.profileType")),t(26,ee=ne.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=le.getProductSwitcherConfig()),t(18,Z=ne.getConfigValue("globalSearch")),t(19,J=Z&&Z.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=ne.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,Pe=ne.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Je=ne.getConfigValue("navigation.contextSwitcher"))},["navigation"]),vn.doOnStoreChange(ye,()=>{Le()},["navigation.viewgroupdata"]),Hn.addEventListener("message",Q=>{Q.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Qn(()=>{(!b||b!=p)&&Le(),Ge()});let{showTopNav:$e}=e;function De(Q){return le.renderIconClassName(Q)}function it(Q){return le.isOpenUIiconName(Q.icon)}const rt=Q=>le.getNodeLabel(Q);function ht(Q){return me.getNodeHref(Q,m)}function ge(Q,Ht){return le.generateTooltipText(Q,Ht)}function Xe(){qe("productSwitcherPopover")}function Ut(){t(43,se=!se),qe("contextSwitcherPopover")}function En(Q){t(14,H=!0),t(15,D=Q)}function on(){t(14,H=!1)}function rn(Q){n("handleClick",{node:Q})}function Rn(Q){n("handleSearchNavigation",{node:Q})}function Ie(Q){rn(Q.detail.node)}function qe(Q){const Ht=v||{},_n=!Ht[Q];zt(),on(),Ht[Q]=_n,t(6,v=Ht)}function an(Q){qe(Q.detail.name)}function un(){Y&&Y.focus()}function sn(){ce||setTimeout(()=>{un()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Y,customSearchItemRendererSlot:te})}function zt(){const Q=v||{},Ht=Object.keys(Q);Ht&&Ht.length>0&&Ht.forEach(_n=>{Q[_n]=!1,t(6,v=Q)})}function Gt(){h==="simple"||h==="simpleMobileOnly"?Xt():wn(),Wn()}function Wn(){if(!le.getBurgerTooltipConfig())return;const[Q,Ht]=le.getBurgerTooltipConfig();Q&&Ht&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,oe=document.body.classList.contains("lui-leftNavToggle")?Q:Ht),document.body.classList.contains("lui-semiCollapsible")&&t(25,oe=document.body.classList.contains("semiCollapsed")?Q:Ht))}function Xt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(Q){const Ht=Q.detail;t(17,G=Ht||{})}function di(Q){(Q.key==="Enter"||Q.key===" ")&&qe(Q.currentTarget.getAttribute("aria-controls"))}function kn(Q){Gi.call(this,i,Q)}function yi(Q){Gi.call(this,i,Q)}function Pi(Q){v=Q,t(6,v)}function Ii(Q){ce=Q,t(20,ce)}function Ni(Q){ae=Q,t(24,ae)}function Ti(Q){q=Q,t(23,q)}function Sl(Q){Y=Q,t(21,Y)}function Cl(Q){te=Q,t(22,te)}function yl(Q){Gi.call(this,i,Q)}function Li(Q){Gi.call(this,i,Q)}function Ji(Q){Gi.call(this,i,Q)}function Yi(Q){ce=Q,t(20,ce)}function hi(Q){ae=Q,t(24,ae)}function Pl(Q){q=Q,t(23,q)}function Il(Q){Y=Q,t(21,Y)}function Qi(Q){te=Q,t(22,te)}function Nl(Q){Gi.call(this,i,Q)}function Tl(Q){Gi.call(this,i,Q)}function Ll(Q){Gi.call(this,i,Q)}function Ai(Q){v=Q,t(6,v)}const Al=()=>qe("contextSwitcherPopover");function ri(Q,Ht,_n,Wt){_n[Wt]=Q,t(7,C)}const Ei=Q=>qe(`dropDownPopover-${Q}`);function gi(Q,Ht,_n,Wt){_n[Wt]=Q,t(7,C)}const Ri=(Q,Ht)=>{le.handleNavAnchorClickedWithoutMetaKey(Ht)&&rn(Q)};function _i(Q,Ht,_n,Wt){_n[Wt]=Q,t(7,C)}const Zi=Q=>rn(Q),Xi=()=>qe("overflowPopover"),K=()=>{sn(),qe("overflowPopover")},Se=Q=>rn(Q),Ye=Q=>En(Q);function lt(Q){v=Q,t(6,v)}const bt=()=>qe("productSwitcherPopover");function _t(Q){v=Q,t(6,v)}function Bt(Q){re=Q,t(44,re)}function Kt(Q){ke=Q,t(45,ke)}const Dn=()=>qe("contextSwitcherPopover"),qn=()=>qe("profilePopover"),El=Q=>di(Q),Di=()=>qe("profilePopover"),Kl=()=>qe("profilePopover"),yr=()=>qe("profilePopover");function vt(Q){v=Q,t(6,v)}const $i=()=>qe("productSwitcherPopover"),xi=()=>qe("profilePopover");return i.$$set=Q=>{"authorizationEnabled"in Q&&t(0,l=Q.authorizationEnabled),"autologinEnabled"in Q&&t(54,r=Q.autologinEnabled),"isLoggedIn"in Q&&t(1,a=Q.isLoggedIn),"hideSearchComponent"in Q&&t(29,o=Q.hideSearchComponent),"hideNavComponent"in Q&&t(2,c=Q.hideNavComponent),"responsiveNavSetting"in Q&&t(3,h=Q.responsiveNavSetting),"profileTypeSettings"in Q&&t(4,d=Q.profileTypeSettings),"showGlobalNav"in Q&&t(5,g=Q.showGlobalNav),"pathData"in Q&&t(30,p=Q.pathData),"pathParams"in Q&&t(31,m=Q.pathParams),"dropDownStates"in Q&&t(6,v=Q.dropDownStates),"children"in Q&&t(7,C=Q.children),"selectedNode"in Q&&t(8,y=Q.selectedNode),"visibleNodeCount"in Q&&t(9,P=Q.visibleNodeCount),"globalNavNodeCount"in Q&&t(10,I=Q.globalNavNodeCount),"totalBadgeNode"in Q&&t(11,N=Q.totalBadgeNode),"isProductSwitcherAvailable"in Q&&t(12,V=Q.isProductSwitcherAvailable),"productSwitcherConfig"in Q&&t(13,E=Q.productSwitcherConfig),"openMobileDropDown"in Q&&t(14,H=Q.openMobileDropDown),"nodeForMobile"in Q&&t(15,D=Q.nodeForMobile),"profileItemsAvailable"in Q&&t(16,O=Q.profileItemsAvailable),"userInfo"in Q&&t(17,G=Q.userInfo),"globalSearchConfig"in Q&&t(18,Z=Q.globalSearchConfig),"isGlobalSearchCentered"in Q&&t(19,J=Q.isGlobalSearchCentered),"isSearchFieldVisible"in Q&&t(20,ce=Q.isSearchFieldVisible),"inputElem"in Q&&t(21,Y=Q.inputElem),"customSearchItemRendererSlot"in Q&&t(22,te=Q.customSearchItemRendererSlot),"displaySearchResult"in Q&&t(23,q=Q.displaySearchResult),"searchResult"in Q&&t(24,ae=Q.searchResult),"burgerTooltip"in Q&&t(25,oe=Q.burgerTooltip),"responsiveShellbarPadding"in Q&&t(26,ee=Q.responsiveShellbarPadding),"addNavHrefForAnchor"in Q&&t(27,Pe=Q.addNavHrefForAnchor),"showTopNav"in Q&&t(28,$e=Q.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(28,$e=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,N,V,E,H,D,O,G,Z,J,ce,Y,te,q,ae,oe,ee,Pe,$e,o,p,m,Xe,Ut,En,on,rn,Ie,qe,an,sn,zt,Ci,se,re,ke,Je,De,it,rt,ht,ge,Gt,di,r,Rn,Xt,wn,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi,K,Se,Ye,lt,bt,_t,Bt,Kt,Dn,qn,El,Di,Kl,yr,vt,$i,xi]}class Sp extends Ot{constructor(e){super(),Vt(this,e,o3,n3,Rt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:55,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:56,semicollapsedNav:57,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[55]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[56]}get semicollapsedNav(){return this.$$.ctx[57]}get userInfoUpdate(){return this.$$.ctx[42]}}function Jg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function u3(i){let e,t=i[0]&&Jg();return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Jg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function f3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ot.getCurrentPath(),n),a=await qt.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return ln(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");zl.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class c3 extends Ot{constructor(e){super(),Vt(this,e,f3,u3,Rt,{node:0})}}const{window:Oo}=wl;function Yg(i,e,t){const n=i.slice();return n[54]=e[t][0],n[55]=e[t][1],n[57]=t,n}function Qg(i,e,t){const n=i.slice();return n[58]=e[t],n}function Zg(i,e,t){const n=i.slice();return n[58]=e[t],n[60]=t,n}function Xg(i,e,t){const n=i.slice();return n[54]=e[t][0],n[55]=e[t][1],n[57]=t,n}function $g(i,e,t){const n=i.slice();return n[58]=e[t],n}function xg(i,e,t){const n=i.slice();return n[58]=e[t],n}function d3(i){const e=i.slice(),t=Cp(e[55]);return e[68]=t,e}function e_(i,e,t){const n=i.slice();return n[58]=e[t],n[60]=t,n}function Mo(i){const e=i.slice(),t=e[58]===e[2];return e[65]=t,e}function h3(i){const e=i.slice(),t=`${e[57]}-0`;e[66]=t;const n=`lui-${e[66]}-popover`;return e[67]=n,e}function t_(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&n_(i),P=Ve(Object.entries(i[0])),I=[];for(let D=0;D<P.length;D+=1)I[D]=c_(Xg(i,P,D));const N=D=>U(I[D],1,1,()=>{I[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=__(Yg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=k("div"),y&&y.c(),t=W(),n=k("nav"),l=k("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=k("span"),o=k("div"),c=k("div"),h=k("button"),h.innerHTML='<span class="label fd-icon-tab-bar__overflow-text">More</span> <span class="sap-icon--slim-arrow-down"></span>',d=W(),g=k("div"),p=k("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){L(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let G=0;G<I.length;G+=1)I[G]&&I[G].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let G=0;G<E.length;G+=1)E[G]&&E[G].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[x(h,"click",kt(i[10])),x(a,"click",N3),x(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=n_(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Ve(Object.entries(D[0]));let G;for(G=0;G<P.length;G+=1){const Z=Xg(D,P,G);I[G]?(I[G].p(Z,O),R(I[G],1)):(I[G]=c_(Z),I[G].c(),R(I[G],1),I[G].m(l,r))}for(be(),G=P.length;G<I.length;G+=1)N(G);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let G;for(G=0;G<V.length;G+=1){const Z=Yg(D,V,G);E[G]?(E[G].p(Z,O),R(E[G],1)):(E[G]=__(Z),E[G].c(),R(E[G],1),E[G].m(p,null))}for(be(),G=V.length;G<E.length;G+=1)H(G);ve()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&T(e),y&&y.d(),dt(I,D),i[31](null),dt(E,D),i[36](null),i[37](null),i[39](null),v=!1,Ze(C)}}}function n_(i){let e,t;return e=new c3({props:{node:i[11].parent}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function g3(i){let e,t,n,l,r;const a=[m3,p3],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!S3(d[55])),e?0:1}function h(d,g){return g===0?d3(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=we()},m(d,g){o[t].m(d,g),L(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){d&&T(l),o[t].d(d)}}}function _3(i){let e,t,n=Ve(i[55]),l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(e_(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[55]);let c;for(c=0;c<n.length;c+=1){const h=e_(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function p3(i){let e,t,n,l,r,a,o=i[17](i[54])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V;function E(){return i[29](i[54])}let H=Ve(i[55]),D=[];for(let G=0;G<H.length;G+=1)D[G]=r_($g(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Te(o),h=W(),d=k("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=k("div"),m=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=pl(i[54],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[54]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[66]),f(e,"isselected",P=pl(i[54],i[2]))},m(G,Z){L(G,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let J=0;J<D.length;J+=1)D[J]&&D[J].m(m,null);w(e,y),I=!0,N||(V=[x(l,"click",kt(E)),x(e,"click",I3)],N=!0)},p(G,Z){if(i=G,(!I||Z[0]&131073)&&o!==(o=i[17](i[54])+"")&&Ae(c,o),(!I||Z[0]&5&&g!==(g=pl(i[54],i[2])))&&f(l,"aria-selected",g),Z[0]&1572933){H=Ve(i[55]);let J;for(J=0;J<H.length;J+=1){const ce=$g(i,H,J);D[J]?(D[J].p(ce,Z),R(D[J],1)):(D[J]=r_(ce),D[J].c(),R(D[J],1),D[J].m(m,null))}for(be(),J=H.length;J<D.length;J+=1)O(J);ve()}(!I||Z[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||Z[0]&9&&C!==(C=!i[3][i[54]]))&&f(b,"aria-hidden",C),(!I||Z[0]&5&&P!==(P=pl(i[54],i[2])))&&f(e,"isselected",P)},i(G){if(!I){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);I=!0}},o(G){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);I=!1},d(G){G&&T(e),dt(D,G),N=!1,Ze(V)}}}function m3(i){let e,t,n,l=i[17](i[54])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(){return i[26](i[68])}function D(){return i[27](i[54])}let O=Ve(i[55]),G=[];for(let Z=0;Z<O.length;Z+=1)G[Z]=s_(xg(i,O,Z));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),c=W(),h=k("div"),d=k("div"),g=k("div"),p=k("button"),b=k("i"),v=W(),C=k("div"),y=k("ul");for(let Z=0;Z<G.length;Z+=1)G[Z].c();N=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=pl(i[54],i[2])),f(t,"href",o=i[20](i[68])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[67]),f(p,"aria-expanded",m=!!i[3][i[54]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[54]]),f(C,"id",i[67]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[66]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Z,J){L(Z,e,J),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<G.length;ce+=1)G[ce]&&G[ce].m(y,null);w(e,N),V||(E=[x(t,"click",kt(H)),x(p,"click",kt(D)),x(e,"click",P3)],V=!0)},p(Z,J){if(i=Z,J[0]&131073&&l!==(l=i[17](i[54])+"")&&Ae(r,l),J[0]&5&&a!==(a=pl(i[54],i[2]))&&f(t,"aria-selected",a),J[0]&1&&o!==(o=i[20](i[68]))&&f(t,"href",o),J[0]&9&&m!==(m=!!i[3][i[54]])&&f(p,"aria-expanded",m),J[0]&1572933){O=Ve(i[55]);let ce;for(ce=0;ce<O.length;ce+=1){const Y=xg(i,O,ce);G[ce]?G[ce].p(Y,J):(G[ce]=s_(Y),G[ce].c(),G[ce].m(y,null))}for(;ce<G.length;ce+=1)G[ce].d(1);G.length=O.length}J[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),J[0]&9&&I!==(I=!i[3][i[54]])&&f(C,"aria-hidden",I)},i:Ue,o:Ue,d(Z){Z&&T(e),dt(G,Z),V=!1,Ze(E)}}}function i_(i){let e,t,n=i[58].label&&l_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[58].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function l_(i){let e,t,n,l=i[19](i[58])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[58]}});function v(){return i[30](i[58])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[58])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=le.getTestId(i[58])),f(t,"aria-selected",d=i[58]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[58])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[58]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[58])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[58])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[58]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function r_(i){let e,t,n=!i[58].hideFromNav&&i_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[58].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function a_(i){let e,t,n,l=i[19](i[58])+"",r,a,o,c,h,d;function g(){return i[28](i[58])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[58])),f(t,"aria-selected",o=i[58]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",kt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[58])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[20](i[58]))&&f(t,"href",a),b[0]&5&&o!==(o=i[58]===i[2])&&f(t,"aria-selected",o)},d(p){p&&T(e),h=!1,d()}}}function s_(i){let e,t=!i[58].hideFromNav&&i[58].label&&a_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[58].hideFromNav&&n[58].label?t?t.p(n,l):(t=a_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function o_(i){let e,t,n=i[58].label&&u_(Mo(i));return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[58].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=u_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function u_(i){let e,t,n,l=i[19](i[58])+"",r,a,o,c,h,d,g,p,b,m,v;o=new li({props:{node:i[58]}});function C(){return i[25](i[58])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[58])),f(t,"data-testid",h=le.getTestId(i[58])),f(t,"aria-selected",d=i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[57]+"-"+i[60]),f(e,"isselected",p=i[65])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=x(t,"click",kt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[58])+"")&&Ae(r,l);const I={};P[0]&1&&(I.node=i[58]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[58])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=le.getTestId(i[58])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[65]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[65]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function f_(i){let e,t,n=!i[58].hideFromNav&&o_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[58].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function c_(i){let e,t,n,l,r,a;const o=[_3,g3],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[54],g[55])),e?0:(t==null&&(t=!!k3(g[55])),t?1:-1)}function d(g,p){return p===1?h3(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=we()},m(g,p){~n&&c[n].m(g,p),L(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){g&&T(r),~n&&c[n].d(g)}}}function b3(i){let e,t,n,l,r=i[17](i[54])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(){return i[33](i[54],i[57])}function E(){return i[34](i[54],i[57])}let H=Ve(i[55]),D=[];for(let G=0;G<H.length;G+=1)D[G]=h_(Qg(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[57]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[54]+i[57]]),f(n,"aria-selected",c=pl(i[54],i[2])),f(g,"class",p=i[3][i[54]+i[57]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[54]+i[57]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[54]+i[57]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[57]+"-0")},m(G,Z){L(G,e,Z),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let J=0;J<D.length;J+=1)D[J]&&D[J].m(v,null);w(e,y),P=!0,I||(N=[x(n,"click",kt(V)),x(d,"click",kt(E))],I=!0)},p(G,Z){if(i=G,(!P||Z[0]&131073)&&r!==(r=i[17](i[54])+"")&&Ae(a,r),(!P||Z[0]&9&&o!==(o=i[3][i[54]+i[57]]))&&f(n,"aria-expanded",o),(!P||Z[0]&5&&c!==(c=pl(i[54],i[2])))&&f(n,"aria-selected",c),(!P||Z[0]&9&&p!==(p=i[3][i[54]+i[57]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Z[0]&9&&b!==(b=i[3][i[54]+i[57]]))&&f(d,"aria-expanded",b),Z[0]&1572933){H=Ve(i[55]);let J;for(J=0;J<H.length;J+=1){const ce=Qg(i,H,J);D[J]?(D[J].p(ce,Z),R(D[J],1)):(D[J]=h_(ce),D[J].c(),R(D[J],1),D[J].m(v,null))}for(be(),J=H.length;J<D.length;J+=1)O(J);ve()}(!P||Z[0]&9&&C!==(C=!i[3][i[54]+i[57]]))&&f(v,"aria-hidden",C)},i(G){if(!P){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);P=!0}},o(G){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);P=!1},d(G){G&&T(e),dt(D,G),I=!1,Ze(N)}}}function v3(i){let e,t,n=Ve(i[55]),l=[];for(let a=0;a<n.length;a+=1)l[a]=g_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[55]);let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=g_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),dt(l,a)}}}function d_(i){let e,t,n,l=i[19](i[58])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[58]}});function v(){return i[35](i[58])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[58])),f(t,"data-testid",h=le.getTestId(i[58])),f(t,"aria-selected",d=i[58]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[57])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[58])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[58]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[58])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[58])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[58]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n=i[58].label&&d_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[58].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=d_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function g_(i){let e,t,n,l=i[19](i[58])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[58]}});function v(){return i[32](i[58])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[58])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=le.getTestId(i[58])),f(t,"aria-selected",d=i[58]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[57]+"-"+i[60])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[58])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[58]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[58])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[58])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[58]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function __(i){let e,t,n,l,r;const a=[v3,b3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[54]==="undefined"||h[54].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=we()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),o[t].d(h)}}}function w3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&t_(i);return{c(){r&&r.c(),e=we()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[x(Oo,"click",i[8]),x(Oo,"blur",i[8]),x(Oo,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=t_(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&T(e),r&&r.d(a),n=!1,Ze(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function k3(i){return i.some(e=>!e.hideFromNav&&e.label)}function Cp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function S3(i){return!!Cp(i)}function C3(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function y3(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),C3(e)||e.classList.add("fd-popover__body--right")})}const P3=i=>i.stopPropagation(),I3=i=>i.stopPropagation(),N3=i=>i.stopPropagation();function T3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=le.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=yt("getTranslation");Si(i,C,Ie=>t(17,n=Ie));let y=yt("store"),P,I,N,V,E,H,D;const O={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Ie=>{Ie&&Object.getOwnPropertyNames(Ie).forEach(qe=>{qe==="pathData"?t(1,r=Ie.pathData):qe==="context"?context=Ie.context:qe==="children"?t(0,l=Ie.children):qe==="selectedNode"?t(11,b=Ie.selectedNode):qe==="selectedNodeForTabNav"&&t(2,h=Ie.selectedNodeForTabNav)})}},G=Zt();function Z(Ie){return le.getNodeLabel(Ie)}const J=async()=>{const Ie=O.get(),qe=await qt.getTabNavData({...Ie},Ie);qe&&(O.set({...qe}),m=r,window.LEFTNAVDATA=qe.groupedChildren,setTimeout(ce))},ce=()=>{if(Y(),N&&V&&E){E.classList.remove("is-active");const Ie=getComputedStyle(N),qe=N.offsetWidth-V.offsetWidth-parseFloat(Ie.paddingLeft)-parseFloat(Ie.paddingRight);let an=0,un=!1;[...N.children].forEach(sn=>{const zt=sn.getAttribute("uid");if(!zt)return;const Gt=getComputedStyle(sn),Wn=parseFloat(Gt.marginLeft)+parseFloat(Gt.marginRight);an+=sn.offsetWidth+Wn,an>=qe?(sn.classList.add("hide_element"),sn.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+zt+'"]').classList.remove("hide_element"),un=!0):document.querySelector('li[uid="'+zt+'"]').classList.add("hide_element")}),un?V.classList.remove("hide_element"):V.classList.add("hide_element")}},Y=()=>{N&&[...N.children].forEach(qe=>{qe.classList.remove("hide_element")})},te=()=>{P=new ResizeObserver(Ie=>{for(const qe of Ie)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",qe.contentRect.height+"px");H&&y3()}),setTimeout(()=>{I&&P.observe(I)})},q=()=>{P&&P.disconnect()};ln(()=>{t(22,o=ne.getConfigBooleanValue("settings.hideNavigation")),t(16,H=ne.getConfigBooleanValue("settings.btpToolLayout")&&ne.getConfigBooleanValue("settings.experimental.btpToolLayout")),te(),D=vn.doOnStoreChange(y,()=>{J()},["navigation.viewgroupdata"])}),ta(()=>{q(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height"),D()}),Qn(()=>{(!m||m!=r)&&J(),(v===void 0||v!==p)&&(v=p,J())}),ea(()=>{q(),P?setTimeout(()=>{I&&P.observe(I)}):te()});function ae(Ie){return me.getNodeHref(Ie,a)}function oe(Ie){ye(),G("handleClick",{node:Ie})}function ee(Ie){let qe={};d[Ie]||(qe[Ie]=!0),t(3,d=qe)}function ye(){t(3,d={}),t(4,g=!1)}function se(){Y(),ce()}function re(){t(4,g=!g)}function ke(Ie,qe){const an=Ie==="undefined",un=Ie.indexOf(c)===0;if(an||un||Je(qe))return!0}function Je(Ie){const qe=Ie.find(sn=>ie.isObject(sn.category));if(!qe)return;const an=qe.category.label||qe.category.id;return Ie.filter(sn=>sn.category===an&&sn.hideFromNav===!0).length===1}const Pe=Ie=>oe(Ie),Le=Ie=>oe(Ie),Ge=Ie=>ee(Ie),$e=Ie=>oe(Ie),De=Ie=>ee(Ie),it=Ie=>oe(Ie);function rt(Ie){Qe[Ie?"unshift":"push"](()=>{E=Ie,t(15,E)})}const ht=Ie=>oe(Ie),ge=(Ie,qe)=>ee(Ie+qe),Xe=(Ie,qe)=>ee(Ie+qe),Ut=Ie=>oe(Ie);function En(Ie){Qe[Ie?"unshift":"push"](()=>{V=Ie,t(14,V)})}function on(Ie){Qe[Ie?"unshift":"push"](()=>{N=Ie,t(13,N)})}const rn=Ie=>ee(Ie.name);function Rn(Ie){Qe[Ie?"unshift":"push"](()=>{I=Ie,t(12,I)})}return i.$$set=Ie=>{"children"in Ie&&t(0,l=Ie.children),"pathData"in Ie&&t(1,r=Ie.pathData),"pathParams"in Ie&&t(23,a=Ie.pathParams),"hideNavComponent"in Ie&&t(22,o=Ie.hideNavComponent),"virtualGroupPrefix"in Ie&&t(5,c=Ie.virtualGroupPrefix),"selectedNodeForTabNav"in Ie&&t(2,h=Ie.selectedNodeForTabNav),"dropDownStates"in Ie&&t(3,d=Ie.dropDownStates),"isMoreBtnExpanded"in Ie&&t(4,g=Ie.isMoreBtnExpanded),"resizeTabNavToggle"in Ie&&t(24,p=Ie.resizeTabNavToggle)},[l,r,h,d,g,c,oe,ee,ye,se,re,b,I,N,V,E,H,n,C,Z,ae,ke,o,a,p,Pe,Le,Ge,$e,De,it,rt,ht,ge,Xe,Ut,En,on,rn,Rn]}class yp extends Ot{constructor(e){super(),Vt(this,e,T3,w3,Rt,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function p_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function m_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function b_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&v_(i),o=i[0]&&i[3].length>=0&&C_(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),a&&a.c(),l=W(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=v_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=C_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function v_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(m_(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=m_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=le.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(t,"click",P),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?A3:L3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function L3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),nt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function A3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function S_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function C_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=I_(p_(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=p_(l,t,a);n[a]?n[a].p(o,r):(n[a]=I_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function y_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&P_(i);function P(){return i[18](i[23])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=le.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(n,"click",kt(P)),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=P_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function P_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?R3:E3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function E3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),nt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!nt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function R3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function I_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&y_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=y_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function D3(i){let e,t,n,l=i[2]&&b_(i);return{c(){l&&l.c(),e=we()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[x(window,"click",ds),x(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=b_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(r),t=!1,Ze(n)}}}function ds(){}function V3(i,e,t){let n;const l=Zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=yt("store"),g=yt("getTranslation");Si(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ne.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await le.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};ln(()=>{vn.doOnStoreChange(d,()=>{t(13,b=ne.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ne.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ne.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&ne.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Qn(()=>{(!a||a!=r)&&C(),t(6,v=ne.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function I(O){return At.getTranslation(O.label)}function N(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,G)=>{le.handleNavAnchorClickedWithoutMetaKey(G)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,ds,v,n,g,y,P,I,N,b,m,o,E,H,D]}class O3 extends Ot{constructor(e){super(),Vt(this,e,V3,D3,Rt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ds}}function M3(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e),i[4](null)}}}function F3(i,e,t){const n=Zt();let{pathData:l}=e,r,a={},o,c=yt("store"),{showBreadcrumb:h}=e;ne.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};ln(()=>{vn.doOnStoreChange(c,()=>{},["navigation"])}),Qn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ne.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(ne.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=ot.getCurrentPath();for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(a[V])C.push(a[V]);else if(N.label||N.pathSegment||N.titleResolver)if(document.body.classList.add("lui-breadcrumb"),N.titleResolver)C.push({label:N.titleResolver.prerenderFallback&&N.titleResolver.fallbackTitle?At.getTranslation(N.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:N,route:V,pending:!0});else{const E=await p(N);E&&C.push({label:E,node:N,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(N.titleResolver){const H=await qt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,N.context),H.pathData.pathParams);try{const O=await le.fetchNodeTitleData(N,D);C.push({label:O.label,node:N,route:V});continue}catch{}}const E=await p(N);E&&C.push({label:E,node:N,route:V})}P===ot.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return At.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ot.getCurrentPath(),v),y=await qt.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Qe[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class Pp extends Ot{constructor(e){super(),Vt(this,e,F3,M3,Rt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";Hn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),qo="disabled"):i.data==="luigi.tpcEnabled"&&(qo="enabled")},!1);function U3(){return qo}const{Boolean:B3,window:N_}=wl;function T_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function L_(i){let e,t;return e=new b2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new fp({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function E_(i){let e,t,n=i[154].mfModal.displayed&&A_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=A_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function R_(i){let e,t;return e=new fp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[H3]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&4096|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H3(i){let e,t;return e=new vl({props:{area:"drawer",disable:i[12]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new k2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function V_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new U2({props:r}),Qe.push(()=>Ct(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],St(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function W3(i){let e,t,n,l,r,a,o,c,h=!i[25]&&O_(i),d=!(i[20]||i[22])&&M_(i);n=new vl({props:{disable:i[12],$$slots:{default:[z3]},$$scope:{ctx:i}}});let g=i[10]&&U_(),p=!i[20]&&B_(i),b=i[15]&&!i[20]&&W_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Be(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=we()},m(m,v){h&&h.m(m,v),L(m,e,v),d&&d.m(m,v),L(m,t,v),Me(n,m,v),L(m,l,v),g&&g.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){m[25]?h&&(be(),U(h,1,1,()=>{h=null}),ve()):h?(h.p(m,v),v[0]&33554432&&R(h,1)):(h=O_(m),h.c(),R(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&5242880&&R(d,1)):(d=M_(m),d.c(),R(d,1),d.m(t.parentNode,t));const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),n.$set(C),m[10]?g||(g=U_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&1048576&&R(p,1)):(p=B_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=W_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(h),R(d),R(n.$$.fragment,m),R(p),R(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(T(e),T(t),T(l),T(r),T(a),T(o)),h&&h.d(m),d&&d.d(m),Fe(n,m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function q3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new vl({props:{disable:i[12]}});let C=!i[25]&&q_(i),y=!(i[20]||i[22])&&z_(i),P=i[19]&&G_(i);b=new vl({props:{disable:i[12],$$slots:{default:[G3]},$$scope:{ctx:i}}});let I=i[10]&&J_();return{c(){Be(e.$$.fragment),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),C&&C.c(),o=W(),c=k("div"),y&&y.c(),h=W(),d=k("div"),P&&P.c(),g=W(),p=k("div"),Be(b.$$.fragment),m=W(),I&&I.c(),f(a,"class","fd-tool-layout__header-container"),f(r,"class","fd-tool-layout__container"),f(p,"class","lui-box svelte-qmtge1"),f(d,"class","fd-tool-layout__content-container svelte-qmtge1"),f(c,"class","fd-tool-layout__container lui-main-content"),f(l,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(n,"class","lui-core-layout svelte-qmtge1")},m(N,V){Me(e,N,V),L(N,t,V),L(N,n,V),w(n,l),w(l,r),w(r,a),C&&C.m(a,null),w(l,o),w(l,c),y&&y.m(c,null),w(c,h),w(c,d),P&&P.m(d,null),w(d,g),w(d,p),Me(b,p,null),w(p,m),I&&I.m(p,null),v=!0},p(N,V){const E={};V[0]&4096&&(E.disable=N[12]),e.$set(E),N[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(N,V),V[0]&33554432&&R(C,1)):(C=q_(N),C.c(),R(C,1),C.m(a,null)),N[20]||N[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(N,V),V[0]&5242880&&R(y,1)):(y=z_(N),y.c(),R(y,1),y.m(c,h)),N[19]?P?(P.p(N,V),V[0]&524288&&R(P,1)):(P=G_(N),P.c(),R(P,1),P.m(d,g)):P&&(be(),U(P,1,1,()=>{P=null}),ve());const H={};V[0]&4096&&(H.disable=N[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:N}),b.$set(H),N[10]?I||(I=J_(),I.c(),I.m(p,null)):I&&(I.d(1),I=null)},i(N){v||(R(e.$$.fragment,N),R(C),R(y),R(P),R(b.$$.fragment,N),v=!0)},o(N){U(e.$$.fragment,N),U(C),U(y),U(P),U(b.$$.fragment,N),v=!1},d(N){N&&(T(t),T(n)),Fe(e,N),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),I&&I.d()}}}function O_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Qe.push(()=>Ct(e,"isSearchFieldVisible",c)),Qe.push(()=>Ct(e,"displaySearchResult",h)),Qe.push(()=>Ct(e,"searchResult",d)),Qe.push(()=>Ct(e,"inputElem",g)),Qe.push(()=>Ct(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],St(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],St(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],St(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],St(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],St(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function M_(i){let e,t;return e=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z3(i){let e,t,n,l,r,a,o,c,h;t=new vl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&F_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Qt(e,"lui-split-view",i[11].displayed),Qt(e,"lui-collapsed",i[11].collapsed)},m(g,p){L(g,e,p),Me(t,e,null),w(e,n),w(e,l),L(g,r,p),d&&d.m(g,p),L(g,a,p),o=!0,c||(h=Z_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&Qt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Qt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=F_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(T(e),T(r),T(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function U_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function B_(i){let e,t,n,l;e=new O3({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&H_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=we()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=H_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(T(t),T(n)),Fe(e,a),r&&r.d(a)}}}function H_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function W_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function q_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Qe.push(()=>Ct(e,"isSearchFieldVisible",c)),Qe.push(()=>Ct(e,"displaySearchResult",h)),Qe.push(()=>Ct(e,"searchResult",d)),Qe.push(()=>Ct(e,"inputElem",g)),Qe.push(()=>Ct(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],St(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],St(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],St(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],St(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],St(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function z_(i){let e,t,n,l;return n=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=k("div"),t=k("div"),Be(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function G_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function K_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function j_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G3(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&K_(i),p=i[11].displayed&&j_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Qt(e,"lui-split-view",i[11].displayed),Qt(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),g&&g.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=Z_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Qt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Qt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=K_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(be(),U(g,1,1,()=>{g=null}),ve()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=j_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(be(),U(p,1,1,()=>{p=null}),ve())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(T(e),T(r),T(a),T(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function J_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function K3(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&L_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=E_(T_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&R_(i),y=i[27].displayed&&D_(i),P=i[17].displayed&&V_(i);const I=[q3,W3],N=[];function V(E,H){return E[30]?0:1}return o=V(i),c=N[o]=I[o](i),{c(){e=k("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),Qt(e,"no-nav",i[20]),Qt(e,"no-side-nav",i[22]),Qt(e,"no-top-nav",i[25]),Qt(e,"no-animation",i[23]),Qt(e,"btp-layout",i[30])},m(E,H){L(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D]&&m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),N[o].m(e,null),h=!0,d||(g=[x(N_,"resize",i[36]),x(N_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=L_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&268439552|H[1]&1792){b=Ve(E[28]);let D;for(D=0;D<b.length;D+=1){const O=T_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=E_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=R_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=D_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=V_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&Qt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Qt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Qt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Qt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(B3);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&T(e),p&&p.d(),dt(m,E),C&&C.d(),y&&y.d(),P&&P.d(),N[o].d(),d=!1,Ze(g)}}}function j3(i,e,t){const n=Zt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,Z,J,ce,Y=!0,te=!1,q,ae,oe,ee=[],ye={isDirty:!1,persistUrl:null},se,re,ke=!1,Je,Pe,Le={},Ge,$e,De,it=ne.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:rt}=e,{inputElem:ht}=e,{customSearchItemRendererSlot:ge}=e,{displaySearchResult:Xe}=e,{searchResult:Ut}=e,{storedUserSettings:En}=e;const on=async B=>{const fe=B.iframe.luigi,Re=fe.currentNode&&fe.currentNode.userSettingsGroup,Ke=await ne.readUserSettings(),Ne=Re&&typeof Ke=="object"&&Ke!==null,de=Ee.applyCoreStateData({isNavigateBack:te,viewStackSize:ee.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,thirdPartyCookieCheck:await ne.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ne?Ke[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},rn=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||N,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await on(B)),authData:_l.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Rn=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(fe)},Ie=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Re=wn(B.params),Ke=ot.getNodePath(D,H);ee.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(Ke,fe.iframe.luigi.pathParams,":",!1):Ke,nextPath:Re.startsWith("/")?Re:"/"+Re,context:N}),fe.iframe.pv="pv"}},qe=(B,fe,Re,Ke)=>{let Ne=wn(B.params,Re,Ke);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:Pt}=B.params,jt={keepBrowserHistory:!de,navSync:Y,preventContextUpdate:Pt};return Ne=ie.addLeadingSlash(Ne),Ne=He?me.composeSearchParamsToRoute(Ne):Ne,Ie(B,fe),ot.navigateTo(Ne,jt)},an=B=>B.split("?")[0],un=(B,fe)=>{if(B.length===0)return!1;const Re=fe.startsWith("/")?fe:`/${fe}`,Ke=[...B].pop();return[an(Ke.path),an(Ke.nextPath)].includes(an(Re))},sn=B=>{ye&&ye.dirtySet&&ye.dirtySet.clear()},zt=B=>new Promise((fe,Re)=>{Di(B)?Kl().then(()=>{sn(),fe()},()=>{Re()}):fe()}),Gt=()=>({get:()=>({unsavedChanges:ye,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:G,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:N,pathParams:E,hideGlobalSearch:Ei,hideSideNav:gi,isolateView:Z,pageErrorHandler:J,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:te,goBackContext:q,isNavigationSyncEnabled:Y}),set:B=>{B&&(t(23,Ri=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,ri=B.hideNav):fe==="viewUrl"?O=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?G=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?D=B.currentNode:fe==="navigationPath"?t(14,ae=B.navigationPath):fe==="context"?N=B.context:fe==="pathParams"?t(13,E=B.pathParams):fe==="hideGlobalSearch"?t(21,Ei=B.hideGlobalSearch):fe==="hideSideNav"?(gi!=B.hideSideNav&&(t(23,Ri=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,gi=B.hideSideNav)):fe==="isolateView"?Z=B.isolateView:fe==="pageErrorHandler"?J=B.pageErrorHandler:fe==="previousNodeValues"?ce=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):fe==="tabNav"?t(15,re=B.tabNav):fe==="isNavigateBack"?te=B.isNavigateBack:fe==="goBackContext"?q=B.goBackContext:fe==="isNavigationSyncEnabled"&&(Y=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Di,getUnsavedChangesModalPromise:zt,showUnsavedChangesModal:Kl,showAlert:bt,prepareInternalData:on,dispatch:n}),Wn=(B,fe)=>{vn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Yn.deleteCache();const Ke=ot.getCurrentPath();ot.handleRouteChange(Ke,Gt(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ke)=>{const{withoutSync:Ne,preventContextUpdate:de}=Ke||{};un(ee,Re)||(ee=[],fi.removeInactiveIframes(B));for(let Pt=vt.length;Pt--;)_n(Pt);na.removeBackdrop(),hi(),ot.handleRouteChange(Re,Gt(),B,fe,Ne,de)})},Xt=(B,fe)=>ie.replaceVars(ot.getNodePath(B),fe,":",!1),wn=(B,fe,Re)=>{const Ke=fe||D,Ne=Re||E;let de=ae;if(fe){let Pt=fe.parent;for(de=[fe];Pt;)de.push(Pt),Pt=Pt.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const Pt=[...de].reverse().find(jt=>jt.virtualTree);if(!Pt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ot.concatenatePath(Xt(Pt,Ne),B.link)}else if(B.fromParent)He=ot.concatenatePath(Xt(Ke.parent,Ne),B.link);else if(B.fromClosestContext){const Pt=[...de].reverse().find(jt=>jt.navigationContext&&jt.navigationContext.length>0);He=ot.concatenatePath(Xt(Pt,Ne),B.link)}else if(B.fromContext){const Pt=B.fromContext,jt=[...de].reverse().find(Ar=>Pt===Ar.navigationContext);He=ot.concatenatePath(Xt(jt,Ne),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ot.concatenatePath(Xt(Ke,Ne),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Pt,jt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+Pt[0])+"="+encodeURIComponent(Pt[1])+(jt<Object.keys(B.nodeParams).length-1?"&":"")})),He},Ci=B=>{const fe=B.detail.node;zt().then(()=>{if(K(),fe.openNodeInModal){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);xi(Re,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Pr(Re,fe.drawer)}else Gt().set({isNavigationSyncEnabled:!0}),ot.handleRouteClick(fe,Gt())},()=>{})},di=()=>{t(16,ke=!ke)};Yr("handleNavigation",qe);const kn=B=>B?!0:(console.warn("No search provider defined."),!1),yi=()=>{kn(Pe)&&t(0,rt=!1)},Pi=()=>{kn(Pe)&&ht&&(t(0,rt=!0),ht.focus())},Ii=()=>{kn(Pe)&&ht&&(t(1,ht.value="",ht),Li())},Ni=()=>{t(0,rt=!rt),Bk.clearSearchField()},Ti=()=>{if(kn(Pe)&&ht)return ht.value},Sl=B=>{kn(Pe)&&ht&&(t(1,ht.value=B,ht),ie.isFunction(Pe.onInput)?Pe.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{kn(Pe)&&ht&&t(1,ht.placeholder=B,ht)},yl=B=>{if(kn(Pe))if(B&&B.length>0)if(ie.isFunction(Pe.customSearchResultRenderer)){let fe={fireItemSelected:Re=>{Pe.onSearchResultItemSelected(Re)}};Pe.customSearchResultRenderer(B,ge,fe)}else t(3,Xe=!0),t(4,Ut=B);else console.warn("Search result array is empty.")},Li=()=>{if(kn(Pe)&&(t(3,Xe=!1),t(4,Ut=[]),ge))for(;ge.lastElementChild;)ge.removeChild(ge.lastElementChild)},Ji=B=>{let fe=B.detail.node,Re={params:{link:fe.link,nodeParams:fe.params}};qe(Re)},Yi=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=gt.getDefaultData().mfSplitView),gt.open(Gt(),B,fe)},hi=()=>{gt.close(Gt())},Pl=()=>{gt.collapse(Gt()),t(11,o.collapsed=!0,o)},Il=()=>{gt.expand(Gt()),t(11,o.collapsed=!1,o)},Qi=()=>o.displayed?o.collapsed:!1,Nl=()=>o.displayed?!o.collapsed:!1,Tl=()=>o.displayed,Ll=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ai=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Al=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ri,Ei,gi,Ri,_i,Zi,Xi;const K=()=>{document.body.classList.remove("lui-leftNavToggle")},Se=()=>{el();const B=window.innerWidth>=hn.desktopMinWidth&&_i<hn.desktopMinWidth,fe=window.innerWidth<hn.desktopMinWidth&&_i>=hn.desktopMinWidth;(B||fe)&&K(),_i=window.innerWidth};let Ye=[];const lt=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===fe)[0]},bt=(B,fe=!1)=>{const Re=ne.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ne=Re(B,fe);if(Ne!==!1)return Ne}const Ke=Ye;return B.id||(B.id=ie.getRandomId()),B.id&&Ke&<(Ke,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{lt(Ye,B.id)&&_t(B.id)},B.closeAfter),new Promise((Ne,de)=>{t(26,Ye=[...Ke||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ne}}])}))},_t=(B,fe)=>{const Re=lt(Ye,B);if(!Re){console.error("An unexisting alert has been dismissed.",Ye,B);return}if(t(26,Ye=Ye.filter(Ke=>Ke.settings.id!==B)),Re.openFromClient){const Ke=fi.getActiveIframe(oe),Ne={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ee.sendMessageToIframe(Ke,Ne)}else Re.promise&&Re.promise.resolve(fe||B)},Bt=B=>{_t(B.detail.id,B.detail.dismissKey)};let Kt;const Dn=()=>{t(27,Kt={displayed:!1,content:{},openFromClient:!1,promise:null})};Dn();const qn=(B,fe=!1,Re)=>new Promise((Ke,Ne)=>{t(27,Kt={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ke,reject:Ne},targetIframe:Re})}),El=B=>{const{promise:fe,openFromClient:Re,targetIframe:Ke}=Kt;if(Dn(),B?fe.resolve():fe.reject(),Re&&Ke){const Ne={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ke,Ne)}},Di=B=>{if(ye.dirtySet){if(B)return ye.dirtySet.has(B);if(ye.dirtySet.size>0)return!0}return!1},Kl=()=>qn({header:At.getTranslation("luigi.unsavedChangesAlert.header"),body:At.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")}),yr=()=>ye.dirtySet?ye.dirtySet.size>0:ye.isDirty;Yr("getUnsavedChangesModalPromise",zt);let vt=[];const $i=(B,fe)=>{var Ke;if(typeof B>"u"){t(28,vt=[]);return}let Re;if(t(28,vt=vt.filter((Ne,de)=>(B===de&&(Re=Ne),B!==de))),(Ke=Re==null?void 0:Re.mfModal)!=null&&Ke.openerIframe){const Ne={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ne)}};$i();const xi=async(B,fe,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ke={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:Re}};t(28,vt=[...vt,Ke]),ne.getConfigBooleanValue("routing.showModalPathInUrl")&&vt.length===1&&ot.appendModalDataToUrl(B,fe)},Q=(B,fe)=>{t(28,vt[fe].modalIframe=B.detail.modalIframe,vt),t(28,vt[fe].modalIframeData=B.detail.modalIframeData,vt)},Ht=(B,fe)=>{t(28,vt[fe].modalWC=B.detail.modalWC,vt),t(28,vt[fe].modalWCData=B.detail.modalWCData,vt)},_n=(B,fe,Re)=>{const Ke=(He,Pt)=>{ne.getConfigBooleanValue("routing.showModalPathInUrl")&&vt.length===1&&ot.removeModalDataFromUrl(Pt),$i(He,Re)},Ne=vt[B],de=ie.getRemotePromise(Ne.mfModal.settings.onClosePromiseId);Ne&&Ne.modalIframe?zt(Ne.modalIframe.contentWindow).then(()=>{Ke(B,fe),de&&de.doResolve(Re)},()=>{}):Ne&&Ne.modalWC&&(Ke(B,fe),de&&de.doResolve(Re))};Yr("openViewInModal",xi);let Wt={};const jl=()=>{t(29,Wt.displayed=!1,Wt),t(29,Wt.nodepath=void 0,Wt),t(29,Wt.settings={},Wt),t(12,g=!1)};jl();const Pr=async(B,fe)=>{await le.shouldPreventNavigationForPath(B)||(t(29,Wt.displayed=!0,Wt),t(29,Wt.nodepath=B,Wt),t(29,Wt.settings=fe,Wt),Wt.settings&&Wt.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=hn.desktopMinWidth&&Wt.displayed&&Wt.settings&&!Wt.settings.overlap,el=(B=!1)=>{if(!ia())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ke=>{Ke==null||Ke.style.removeProperty("width")});else{const{width:Ke}=getComputedStyle(fe);Re.forEach(Ne=>{Ir(Ne,Ke)})}},Ir=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,el()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,el()},Jl=B=>{d=B.detail.activeDrawer},Yl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?zt(p.contentWindow).then(()=>{jl()},()=>{}):m&&zt().then(()=>{jl()},()=>{}),el(!0)}catch(fe){console.log(fe)}},bs=()=>{const B=pr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Le.userSettingGroups=[...B],Le),t(17,Le.displayed=!0,Le)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Le.displayed=!1,Le)},aa=async B=>{if(await le.shouldPreventNavigationForPath(B))return;ne.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let fe=ae;if(D){let Ne=D.parent;for(fe=[D];Ne;)fe.push(Ne),Ne=Ne.parent;fe=[...fe].reverse()}let Re=B.link,Ke=Xt(D,E);if(B.fromVirtualTreeRoot){const Ne=[...fe].reverse().find(He=>He.virtualTree);if(!Ne){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=Xt(Ne,E);Re=Ke.split(de).join("")}else if(B.fromParent){const Ne=Xt(D.parent,E);Re=Ke.split(Ne).join("")}else if(B.fromClosestContext){const Ne=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=Xt(Ne,E);Re=Ke.split(de).join("")}else if(B.fromContext){const Ne=B.fromContext,de=[...fe].reverse().find(Pt=>Ne===Pt.navigationContext),He=Xt(de,E);Re=Ke.split(He).join("")}else Re=Ke;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const fe=ne.getConfigValue("navigation.defaults.isolateView"),Re=ne.getConfigValue("navigation.defaults.pageErrorHandler"),Ke=ne.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ne={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Re};At.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),Hn.addEventListener("popstate",async de=>{const He=Ye;if(!He||!(He.length>0))return;const Pt=He.map(jt=>{if(jt&&!jt.openFromClient&&typeof jt.settings.ttl=="number"){if(jt.settings.ttl===0)return null;jt.settings.ttl--}return jt}).filter(jt=>jt);t(26,Ye=Pt)}),Hn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),Pt=vt[vt.length-1],jt=Pt&&Pt.modalIframe,Ar=Pt&&Pt.modalIframeData,nl={modalIframe:jt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Vi=Er&&Er.length>0,Rr=ne.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Vi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const We=ne.getConfigValue("communication.customMessagesListeners")||{},Tt=ss.convertCustomMessageInternalToUser(de.data),It=We[Tt.id],fn="luigi.updateUserSettings";if(Le&&Tt.id===fn){It&&console.warn(`The key "${fn}" is not allowed to use for custom messages.`);return}if(typeof It=="function"){const Pn=ji.getMicrofrontends().find($t=>Ee.isMessageSource(de,$t.container));It(Tt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Tt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ne.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Vi)Er.forEach(async We=>{let Tt=nl[We.dataKey].context;const It={...Ne,iframe:nl[We.iframeKey],context:Tt,pathParams:nl[We.dataKey].pathParams,nodeParams:nl[We.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(nl[We.iframeKey].luigi.currentNode),modal:We.iframeKey.startsWith("modal"),drawer:We.iframeKey.startsWith("drawer"),splitView:We.iframeKey.startsWith("splitView")};await rn(It,{})});else if(Ne.iframe&&Ee.isMessageSource(de,Ne.iframe))await rn(Ne,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await rn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Tt=We.getAttribute("userSettingsGroup"),It={context:{userSettingsData:En[Tt]},iframe:We};await rn(It)}}gr.viewGroupLoaded(He)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){te=!1;const We=window.location.href,Tt=Vi?He.luigi.currentNode:void 0,It=Vi?He.luigi.pathParams:void 0,fn=de.data.params,{intent:Pn,newTab:$t,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=fn;let $l=$t||il||Xl||Rl;const ga=()=>{const Zn=ie.getRemotePromise(de.data.remotePromiseId);Zn&&Zn.doResolve()},pn=()=>{const Zn=ie.getRemotePromise(de.data.remotePromiseId);Zn&&Zn.doReject()},Dl=Zn=>{!Zn||We!==window.location.href?ga():pn()};de.source!==window&&!Pn&&fn.link&&(fn.link=fn.link.split("?")[0]);let Mt=wn(de.data.params,Tt,It);if($l=$l||Pn&&Mt.external,!$l)zt().then(()=>{Y=!de.data.params.withoutSync,qe(de.data,Ne,Tt,It).then(()=>{Dl(!0)}).catch(()=>{pn()}),vt.forEach((Zn,_a)=>{_n(_a)}),hi(),Yl(),Y=!0}).catch(()=>{pn()});else{if(Pn&&Mt.external){ot.navigateToExternalLink({url:Mt.url,sameWindow:!Mt.openInNewTab});return}if(Mt=ie.addLeadingSlash(Mt),$t){await aa(Mt),Dl();return}const Zn=await Zl(Mt);if(Mt=await me.handlePageNotFoundAndRetrieveRedirectPath(Gt(),Mt,Zn),!Mt){pn();return}oe=B,il!==void 0?(!il.keepPrevious&&$i(),await xi(Mt,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Yi(Mt,Xl),Dl()):Rl!==void 0&&(jl(),Rl.isDrawer=!0,await Pr(Mt,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=vt[vt.length-1],Tt=vt.length>1&&vt[vt.length-2],It=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){_n(vt.length-1,!0,It);let fn=Ne;if(Tt&&Tt.modalIframeData&&Tt.modalIframe){const Pn=Tt,$t=Pn.modalIframeData;fn={pathParams:$t.pathParams,context:$t.context,iframe:Pn.modalIframe}}fn.iframe&&await rn(fn,{goBackContext:It})}else Ee.isMessageSource(de,C)?(hi(),Ne.iframe&&await rn(Ne,{goBackContext:It})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ne.iframe&&await rn(Ne,{goBackContext:It})):ee&&ee.length>0?zt().then(()=>{fi.setActiveIframeToPrevious(B);const fn=ee.pop();Ne.iframe=fi.getActiveIframe(B),te=!0,ee=ee,q=It,qe({params:{link:fn.path}},Ne)},()=>{}):(It&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const We=de.data.data,It={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,It)}if(de.data.msg==="luigi.auth.tokenIssued"&&Rn(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!ne.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Vi){const We=ie.addLeadingSlash(wn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ot.updateModalDataInUrl(We,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Tt=He.luigi.pathParams,It=de.data.data,fn=wn(It,We,Tt),Pn=fn?await qt.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),fn):!1,$t={msg:"luigi.navigation.pathExists.answer",data:{correlationId:It.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,$t)}if(de.data.msg==="luigi.set-page-dirty"){if(!ye.dirtySet){const We=new Set;We.add(de.source),ye={dirtySet:We}}ye.persistUrl=window.location.href,de.data.dirty?ye.dirtySet.add(de.source):ye.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;oe=B,Dn(),qn(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.isFunction(ne.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}oe=B,bt(We,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=de.data.data;We&&At.setCurrentLocale(We)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Je&&!Je.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&Nr(),de.data.msg==="storage"&&d2.process(He.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(de.data.errorObj,We):Ke&&ie.isFunction(Ke.errorFn)&&Ke.errorFn(de.data.errorObj,We)}if(de.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Tt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Tt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Vi)return;const{data:We,keepBrowserHistory:Tt}=de.data;gl.addNodeParams(We,Tt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Tt=le.findViewGroup(He.luigi.currentNode);if(Tt){const It=le.getViewGroupSettings(Tt);It._liveCustomData=We.data,ne.configChanged("navigation.viewgroupdata")}}}),Wn(B,Ne)}Yr("store",l),Yr("getTranslation",r);const Nr=B=>{Je&&Je.thirdPartyCookieErrorHandling&&ie.isFunction(Je.thirdPartyCookieErrorHandling)&&Je.thirdPartyCookieErrorHandling()};function Tr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(De),t(10,a=!1)},250)):clearTimeout(De)}const Zl=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=wn(fe),Ke=Re?await qt.getNavigationPath(ne.getConfigValueAsync("navigation.nodes"),Re):!1;return Ke?Ke.isExistingRoute:!1},tl=()=>vt.length>0||ee.length!==0;ln(()=>{if(Ho._init(),Pe=ne.getConfigValue("globalSearch.searchProvider"),se=ne.getConfigValue("settings.responsiveNavigation"),_i=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,fe]=le.getBurgerTooltipConfig();B&&fe&&t(18,Ge=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,fe]=le.getBurgerTooltipConfig();if(B&&fe){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,Ge=Re?B:fe)}}document.body.classList.add("lui-semiCollapsible")}Je=ne.getConfigValue("settings.thirdPartyCookieCheck"),Je&&Je.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=Je.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{U3()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Qn(()=>{t(19,$e=ne.getConfigValue("navigation.breadcrumbs")),Pe=ne.getConfigValue("globalSearch.searchProvider"),t(24,Zi=ne.getConfigValue("tag")),t(25,Xi=ne.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&vt&&vt.length>0&&_n(vt.length-1)},oa=B=>_n(B,!0),ws=(B,fe)=>Q(fe,B),ua=(B,fe)=>Ht(fe,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){En=B,t(5,En)}function ks(B){rt=B,t(0,rt)}function Ss(B){Xe=B,t(3,Xe)}function Cs(B){Ut=B,t(4,Ut)}function ha(B){ht=B,t(1,ht)}function ys(B){ge=B,t(2,ge)}function Ps(B){rt=B,t(0,rt)}function Is(B){Xe=B,t(3,Xe)}function Ns(B){Ut=B,t(4,Ut)}function Lr(B){ht=B,t(1,ht)}function Ts(B){ge=B,t(2,ge)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,rt=B.isSearchFieldVisible),"inputElem"in B&&t(1,ht=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,ge=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Xe=B.displaySearchResult),"searchResult"in B&&t(4,Ut=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[rt,ht,ge,Xe,Ut,En,Ni,Li,Ji,ra,a,o,g,E,ae,re,ke,Le,Ge,$e,ri,Ei,gi,Ri,Zi,Xi,Ye,Kt,vt,Wt,it,Ci,di,Ll,Ai,Al,Se,Bt,El,Q,Ht,_n,ms,la,Jl,Yl,vs,sa,l,r,yi,Pi,Ii,Ti,Sl,Cl,yl,Yi,hi,Pl,Il,Qi,Nl,Tl,bt,qn,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class J3 extends Ot{constructor(e){super(),Vt(this,e,j3,K3,Rt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const Y3=()=>{const{subscribe:i,update:e,reset:t}=vr({}),n={};let l=[];return{subscribe:r=>{const a=i(r);return l.push(a),a},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];return o||(o=new Set,n[a]=o),o.add(r),()=>{o.delete(r)}},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Ip=Y3(),Q3=Rk((i,e,t)=>At.getTranslation(i,e,t));Luigi._store=Ip;const Z3=()=>new Promise(i=>{At._init(),gn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new J3({target:ji.getLuigiContainer(),props:{store:Ip,getTranslation:Q3}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});ne.setConfigCallbacks(Z3);
|
|
1
|
+
var e=Object.defineProperty,t=(t,n,i)=>((t,n,i)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i)(t,"symbol"!=typeof n?n+"":n,i);function n(){}function i(e){return e()}function r(){return Object.create(null)}function o(e){e.forEach(i)}function a(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l;function c(e,t){return e===t||(l||(l=document.createElement("a")),l.href=t,e===l.href)}function u(e,...t){if(null==e){for(const e of t)e(void 0);return n}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function d(e){let t;return u(e,(e=>t=e))(),t}function f(e,t,n){e.$$.on_destroy.push(u(t,n))}function p(e,t,n,i){if(e){const r=g(e,t,n,i);return e[0](r)}}function g(e,t,n,i){return e[1]&&i?function(e,t){for(const n in t)e[n]=t[n];return e}(n.ctx.slice(),e[1](i(t))):n.ctx}function h(e,t,n,i){return e[2],t.dirty}function m(e,t,n,i,r,o){if(r){const a=g(t,n,i,o);e.p(a,r)}}function v(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function b(e){return null==e?"":e}function _(e){return e&&a(e.destroy)?e.destroy:n}const w="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function y(e,t){e.appendChild(t)}function C(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function x(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function N(e){return document.createElement(e)}function k(e){return document.createTextNode(e)}function P(){return k(" ")}function I(){return k("")}function T(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function L(e){return function(t){return t.preventDefault(),e.call(this,t)}}function A(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function E(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function V(e,t){t=""+t,e.data!==t&&(e.data=t)}function R(e,t){e.value=null==t?"":t}function D(e,t,n,i){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function O(e,t,n){e.classList.toggle(t,!!n)}class F{constructor(e=!1){t(this,"is_svg",!1),t(this,"e"),t(this,"n"),t(this,"t"),t(this,"a"),this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){var i;this.e||(this.is_svg?this.e=(i=t.nodeName,document.createElementNS("http://www.w3.org/2000/svg",i)):this.e=N(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)C(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(S)}}let M;function U(e){M=e}function B(){if(!M)throw new Error("Function called outside component initialization");return M}function q(e){B().$$.before_update.push(e)}function j(e){B().$$.on_mount.push(e)}function H(e){B().$$.after_update.push(e)}function z(e){B().$$.on_destroy.push(e)}function W(){const e=B();return(t,n,{cancelable:i=!1}={})=>{const r=e.$$.callbacks[t];if(r){const o=function(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}(t,n,{cancelable:i});return r.slice().forEach((t=>{t.call(e,o)})),!o.defaultPrevented}return!0}}function G(e,t){return B().$$.context.set(e,t),t}function K(e){return B().$$.context.get(e)}function J(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const Y=[],Q=[];let Z=[];const X=[],ee=Promise.resolve();let te=!1;function ne(e){Z.push(e)}function ie(e){X.push(e)}const re=new Set;let oe=0;function ae(){if(0!==oe)return;const e=M;do{try{for(;oe<Y.length;){const e=Y[oe];oe++,U(e),se(e.$$)}}catch(t){throw Y.length=0,oe=0,t}for(U(null),Y.length=0,oe=0;Q.length;)Q.pop()();for(let e=0;e<Z.length;e+=1){const t=Z[e];re.has(t)||(re.add(t),t())}Z.length=0}while(Y.length);for(;X.length;)X.pop()();te=!1,re.clear(),U(e)}function se(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ne)}}const le=new Set;let ce;function ue(){ce={r:0,c:[],p:ce}}function de(){ce.r||o(ce.c),ce=ce.p}function fe(e,t){e&&e.i&&(le.delete(e),e.i(t))}function pe(e,t,n,i){if(e&&e.o){if(le.has(e))return;le.add(e),ce.c.push((()=>{le.delete(e),i&&(n&&e.d(1),i())})),e.o(t)}else i&&i()}function ge(e,t){const n=t.token={};function i(e,i,r,o){if(t.token!==n)return;t.resolved=o;let a=t.ctx;void 0!==r&&(a=a.slice(),a[r]=o);const s=e&&(t.current=e)(a);let l=!1;t.block&&(t.blocks?t.blocks.forEach(((e,n)=>{n!==i&&e&&(ue(),pe(e,1,1,(()=>{t.blocks[n]===e&&(t.blocks[n]=null)})),de())})):t.block.d(1),s.c(),fe(s,1),s.m(t.mount(),t.anchor),l=!0),t.block=s,t.blocks&&(t.blocks[i]=s),l&&ae()}if(!(r=e)||"object"!=typeof r&&"function"!=typeof r||"function"!=typeof r.then){if(t.current!==t.then)return i(t.then,1,t.value,e),!0;t.resolved=e}else{const n=B();if(e.then((e=>{U(n),i(t.then,1,t.value,e),U(null)}),(e=>{if(U(n),i(t.catch,2,t.error,e),U(null),!t.hasCatch)throw e})),t.current!==t.pending)return i(t.pending,0),!0}var r}function he(e,t,n){const i=t.slice(),{resolved:r}=e;e.current===e.then&&(i[e.value]=r),e.current===e.catch&&(i[e.error]=r),e.block.p(i,n)}function me(e){return void 0!==(null==e?void 0:e.length)?e:Array.from(e)}function ve(e,t,n){const i=e.$$.props[t];void 0!==i&&(e.$$.bound[i]=n,n(e.$$.ctx[i]))}function be(e){e&&e.c()}function _e(e,t,n){const{fragment:r,after_update:s}=e.$$;r&&r.m(t,n),ne((()=>{const t=e.$$.on_mount.map(i).filter(a);e.$$.on_destroy?e.$$.on_destroy.push(...t):o(t),e.$$.on_mount=[]})),s.forEach(ne)}function we(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];Z.forEach((i=>-1===e.indexOf(i)?t.push(i):n.push(i))),n.forEach((e=>e())),Z=t}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ye(e,t){-1===e.$$.dirty[0]&&(Y.push(e),te||(te=!0,ee.then(ae)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ce(e,t,i,a,s,l,c=null,u=[-1]){const d=M;U(e);const f=e.$$={fragment:null,ctx:[],props:l,update:n,not_equal:s,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:r(),dirty:u,skip_bound:!1,root:t.target||d.$$.root};c&&c(f.root);let p=!1;if(f.ctx=i?i(e,t.props||{},((t,n,...i)=>{const r=i.length?i[0]:n;return f.ctx&&s(f.ctx[t],f.ctx[t]=r)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](r),p&&ye(e,t)),n})):[],f.update(),p=!0,o(f.before_update),f.fragment=!!a&&a(f.ctx),t.target){if(t.hydrate){const e=(g=t.target,Array.from(g.childNodes));f.fragment&&f.fragment.l(e),e.forEach(S)}else f.fragment&&f.fragment.c();t.intro&&fe(e.$$.fragment),_e(e,t.target,t.anchor),ae()}var g;U(d)}class Se{constructor(){t(this,"$$"),t(this,"$$set")}$destroy(){we(this,1),this.$destroy=n}$on(e,t){if(!a(t))return n;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");const xe=new class{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise((t=>{t(e)}))}applyFunctionPromisified(e,t){return e=e.apply(this,t),Et.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let i=Et.getConfigValueFromObject(e,t);return Et.isFunction(i)?this.applyFunctionPromisified(i,n):this.wrapAsPromise(i)}};const $e=new class{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}};const Ne=new class{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let e=0;e<t.length;e++)this.deleteNodesRecursively(t[e])}this.dataManagement.delete(e)}};const ke=new class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update((()=>({config:e}))),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then((async()=>{Nt.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")})))}getConfig(){return this.config}configChanged(...e){const t=Dt.optimizeScope(e);t.length>0?t.forEach((e=>{window.Luigi._store.fire(e,{current:window.Luigi._store})})):window.Luigi._store.update((e=>e))}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var i=document.createElement("div");i.setAttribute("class","fd-message-strip fd-message-strip--error"),i.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),i.appendChild(t),n.appendChild(i),Ye.getLuigiContainer().appendChild(n)}getConfigValue(e){return Et.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=Et.getConfigValueFromObject(this.getConfig(),e);return!0===t||"true"===t}getConfigValueAsync(e,...t){return xe.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const i=this.getConfigValue(e);if(Et.isFunction(i))try{return await xe.applyFunctionPromisified(i,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return Je.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),Pt.unload(),Ot.removeAllEventListeners();const e=Ye.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&Et.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),i=n||await this.getConfigValueAsync("settings.userSettings");if(i&&Et.isFunction(i.storeUserSettings))return i.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Ne.deleteCache();const e=t=>{t&&t.forEach&&t.forEach((t=>{t.titleResolver&&t.titleResolver._cache&&(t.titleResolver._cache=void 0),t.children&&e(t.children)}))};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return(null==(t=null==(e=this.config)?void 0:e.navigation)?void 0:t.globalContext)||{}}updateContextValues(e){const t=At.getMicrofrontendIframes();if(t&&t.length>0&&t.forEach((t=>{t.luigi&&At.sendMessageToIframe(t,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(t.luigi._lastUpdatedMessage.context),e)),nodeParams:t.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},t.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},Rt.prepareSearchParamsForClient(t.luigi.currentNode))),internal:At.applyCoreStateData(JSON.parse(t.luigi._lastUpdatedMessage.internal))})})),document.querySelector(".wcContainer")){document.querySelectorAll("[lui_web_component=true]").forEach((t=>{t.context=Object.assign({},t.context,e)}))}}};const Pe=new class{constructor(){}isAuthorizationEnabled(){return!!Ke.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&Pt.startAuthorization()}logout(){this.isAuthorizationEnabled()&&Pt.logout()}async handleAuthEvent(e,t,n,i){const r=await Ke.executeConfigFnAsync("auth.events."+e,!1,t,n);let o=void 0===r||!!r;if(!o||!i)return o;window.location.href=i}get store(){return Ke.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>kt.getStorageKey(),getStorageType:()=>kt.getStorageType(),getAuthData:()=>kt.getAuthData(),setAuthData:e=>kt.setAuthData(e),removeAuthData:()=>kt.removeAuthData(),setNewlyAuthorized:()=>{kt.setNewlyAuthorized(),Pt.resetExpirationChecks()}}}},Ie=600,Te=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],Le="[luigi-app-root]",Ae="[luigi-app-loading-indicator]";const Ee=new class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Le)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return At.getMicrofrontendsInDom()}getMicrofrontendIframes(){return At.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return At.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};class Ve{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Re extends Ve{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,i,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const o="/"!==e[0];if("/"===e&&(n||i||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const a=Et.createRemotePromise(),s={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:o,modal:n,splitView:i,drawer:r}),remotePromiseId:a.id};return this.sendPostMessageToLuigiCore(s),a}navigateToIntent(e,t={}){var n;let i="#?intent=";if(i+=e,t&&(null==(n=Object.keys(t))?void 0:n.length)){const e=Object.entries(t);if(e.length>0){i+="?";for(const[t,n]of e)i+=t+"="+n+"&";i=i.slice(0,-1)}}this.navigate(i)}openAsModal(e,t={},n){if(Et.isFunction(n)){const e=Et.createRemotePromise();e.then((e=>{n(e)})),t.onClosePromiseId=e.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(Et.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}const De=new class{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,i,r){return(new Re).navigate(e,t,n,i,r)}navigateToIntent(e,t){return(new Re).navigateToIntent(e,t)}openAsModal(e,t,n){return(new Re).openAsModal(e,t,n)}openAsSplitView(e,t={}){if("/"!==e)return(new Re).openAsSplitView(e,t);console.warn("Navigation with an absolute path prevented.")}openAsDrawer(e,t){return(new Re).openAsDrawer(e,t)}fromContext(e){return(new Re).fromContext(e)}fromClosestContext(){return(new Re).fromClosestContext()}fromVirtualTreeRoot(){return(new Re).fromVirtualTreeRoot()}fromParent(){return(new Re).fromParent()}getCurrentRoute(){return(new Re).getCurrentRoute()}withParams(e){return(new Re).withParams(e)}pathExists(e){return(new Re).pathExists(e)}hasBack(){return(new Re).hasBack()}goBack(e){return(new Re).goBack(e)}},Oe={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}};const Fe=new class{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Oe,this.listeners={}}_init(){Dt.doOnStoreChange(window.Luigi._store,(()=>{this._initCustomImplementation()}),["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(Et.isFunction(e)){const t=Et.getRandomId();return this.listeners[t]=e,t}console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach((t=>{this.listeners[t](e)})),ke.configChanged()}_initCustomImplementation(){this.translationImpl=ke.getConfigValue("settings.customTranslationImplementation"),Et.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const i=this.translationImpl.getTranslation(e,t,n);if(i!==e)return i}const i=this.findTranslation(e,this.translationTable,t);return i||e}findTranslation(e,t,n){let i=e.split(".");for(let r=0;r<i.length;r++){let e=i[r];if(!t.hasOwnProperty(e)||"object"!=typeof t[e])return n?this.findInterpolations(t[e],n):t[e];t=t[e]}}findInterpolations(e,t){return"string"==typeof e&&e.trim()?(Object.keys(t).forEach((n=>{e=e.replace(new RegExp("{"+Lt.escapeKeyForRegexp(n)+"}","gi"),t[n])})),e):e}};const Me=new class{sendToAll(e){const t=$e.convertCustomMessageUserToInternal(e);At.getMicrofrontendsInDom().map((e=>e.container)).map((e=>At.sendMessageToIframe(e,t)))}send(e,t){const n=$e.convertCustomMessageUserToInternal(t);At.getMicrofrontendsInDom().filter((t=>t.id===e)).map((e=>e.container)).map((e=>At.sendMessageToIframe(e,n)))}},Ue=[];function Be(e,t=n){let i;const r=new Set;function o(t){if(s(e,t)&&(e=t,i)){const t=!Ue.length;for(const n of r)n[1](),Ue.push(n,e);if(t){for(let e=0;e<Ue.length;e+=2)Ue[e][0](Ue[e+1]);Ue.length=0}}}function a(t){o(t(e))}return{set:o,update:a,subscribe:function(s,l=n){const c=[s,l];return r.add(c),1===r.size&&(i=t(o,a)||n),s(e),()=>{r.delete(c),0===r.size&&i&&(i(),i=null)}}}}const qe=new class{initial(){this.responsiveNavSetting=Ke.getConfigValue("settings.responsiveNavigation");const e="semiCollapsible"===this.responsiveNavSetting||"Fiori3"===this.responsiveNavSetting;!1!==JSON.parse(localStorage.getItem(Vt.COL_NAV_KEY))&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=void 0===this.isSemiCollapsed;return this.semiCollapsible&&0!==window.innerWidth&&window.innerWidth<Ie?this.isSemiCollapsed=!!t||this.getCollapsed():this.isSemiCollapsed=!t&&this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=0!==window.innerWidth&&window.innerWidth<Ie&&this.previousWindowWidth>=Ie,n=0!==window.innerWidth&&window.innerWidth>Ie&&this.previousWindowWidth>=Ie;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(Vt.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach((e=>e({isSemiCollapsed:this.isSemiCollapsed})))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Vt.COL_NAV_KEY))}getCollapsed(){return!!this.isStoredCollapsed()||this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,null==(t=document.getElementsByClassName("fd-app__sidebar")[0])||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout((function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})))),this.isSemiCollapsed}};const je=new class{constructor(){this.documentTitle=Be()}hideAppLoadingIndicator(){const e=document.querySelector(Ae);e&&(e.classList.add("hidden"),setTimeout((()=>{e.parentNode&&e.parentNode.removeChild(e)}),500))}showAlert(e){if(Et.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(Et.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return d(this.documentTitle)}collapseLeftSideNav(e){qe.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){(new Re).sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const He=new class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const ze=new class{constructor(){this.currentTheme}async getAvailableThemes(){return await Ke.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find((t=>t.id===e))}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=Ke.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!Ke.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const t=Ke.getConfigValue("settings.theming.variables.file");if(t)try{const e=await fetch(t);window.Luigi.__cssVars=(await e.json()).root,Object.keys(window.Luigi.__cssVars).forEach((e=>{const t=getComputedStyle(document.documentElement).getPropertyValue("--"+e);t&&(window.Luigi.__cssVars[e]=t)}))}catch(e){Et.isFunction(Ke.getConfigValue("settings.theming.variables.errorHandling"))?Ke.getConfigValue("settings.theming.variables.errorHandling")(e):console.error("CSS variables file error: ",e)}else"fiori"===Ke.getConfigValue("settings.theming.variables")&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach((e=>{window.Luigi.__cssVars[e]=getComputedStyle(document.documentElement).getPropertyValue("--"+e)}))):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const e=Ke.getConfigValue("settings.theming");e&&e.nodeViewURLDecorator&&e.nodeViewURLDecorator.queryStringParameter&&It.add({type:"queryString",uid:"theming",key:e.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const t=this.getCurrentTheme(),n=e.nodeViewURLDecorator.queryStringParameter.value;return n?n(t):t}}),e&&!0===e.useFioriScrollbars&&document.body.classList.add("fioriScrollbars")};Dt.doOnStoreChange(window.Luigi._store,(()=>{e()}),["settings.theming"])}};const We=new class{constructor(){this.featureToggleList=Be([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||d(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=d(this.featureToggleList).indexOf(e);-1!==t?d(this.featureToggleList).splice(t,1):console.warn("Feature toggle name is not in the list.")}getActiveFeatureToggleList(){return[...d(this.featureToggleList)].filter((e=>!e.startsWith("!")))}isValid(e){return!!Et.isString(e)||(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return d(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):!!d(this.featureToggleList).includes(`!${e}`)&&(console.warn("Disabled feature toggle can not be activated"),!0)}};const Ge=new class{constructor(){}getSearchParams(){const e={},t=["__proto__","constructor","prototype"],n=new URL(location.href);let i;if(Ke.getConfigValue("routing.useHashRouting")){const e=n.hash.split("?")[1];i=e?new URLSearchParams(e).entries():[]}else i=n.searchParams.entries();for(const[r,o]of i)t.some((e=>r===e))?console.warn(`Blocked because of potentially dangerous query param: ${r}`):e[r]=o;return e}addSearchParams(e,t){if(!Et.isObject(e))return void console.log("Params argument must be an object");const n=new URL(location);Ke.getConfigValue("routing.useHashRouting")?n.hash=Rt.addParamsOnHashRouting(e,n.hash):Rt.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),Ke.configChanged()}addNodeParams(e,t){if(!Et.isObject(e))return void console.log("Params argument must be an object");const n=Rt.getContentViewParamPrefix(),i=new URL(location);Ke.getConfigValue("routing.useHashRouting")?i.hash=Rt.addParamsOnHashRouting(e,i.hash,n):Rt.modifySearchParams(e,i.searchParams,n),this.handleBrowserHistory(t,i),Ke.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);n?e?window.history.pushState({},"",n):window.history.replaceState({},"",n):console.warn("invalid url: "+n)}getAnchor(){const{hash:e}=new URL(location);return Ke.getConfigValue("routing.useHashRouting")&&2===e.split("#").length?"":e.split("#").pop()}setAnchor(e){if(Ke.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),i=n.length>2?n.slice(0,-1):n;window.location.hash=[...i,e].join("#")}else window.location.hash=e}},Ke=ke,Je=Pe,Ye=Ee,Qe=De,Ze=Fe,Xe=je,et=He,tt=ze,nt=We,it=Ge;window.Luigi=ke,window.Luigi.auth=()=>Pe,window.Luigi.elements=()=>Ee,window.Luigi.navigation=()=>De,window.Luigi.i18n=()=>Fe,window.Luigi.customMessages=()=>Me,window.Luigi.ux=()=>je,window.Luigi.globalSearch=()=>He,window.Luigi.theming=()=>ze,window.Luigi.featureToggles=()=>We,window.Luigi.routing=()=>Ge;const rt=new class{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter((e=>"IFRAME"===e.tagName)).find(Et.isElementVisible)}setActiveIframeToPrevious(e){const t=At.getMainIframes(),n=this.getPreservedViewsInDom(t);if(0===n.length)return;const i=this.getActiveIframe(e);At.hideElementChildren(e),i&&e.removeChild(i),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach((t=>{Et.isElementVisible(t)||t.vg||"IFRAME"!==t.tagName||e.removeChild(t)}))}hasIsolatedView(e,t,n){return e||n&&!(!1===e)&&!t}getPreservedViewsInDom(e){return e.filter((e=>e.pv))}canCache(e){const t=Vt.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Ze.getCurrentLocale()})};At.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const i=this.getActiveIframe(e);if(i!==t){let r=!1;Array.from(e.children).forEach((o=>{if(o===i)if(n)e.removeChild(o);else{const e=Vt.getViewGroupSettings(o.vg);if(e&&this.notifyInactiveIframes(),o.style.display="none",e.preloadUrl){const t={msg:"luigi.navigate",viewUrl:e.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Ze.getCurrentLocale()})};At.sendMessageToIframe(o,t)}}o===t&&(r=!0)})),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){var i,r;(null==(r=Vt.getViewGroupSettings(null==(i=e.iframe)?void 0:i.vg))?void 0:r.noClientCheck)||(this.timeoutHandle=setTimeout((async()=>{e.navigateOk?e.navigateOk=void 0:(At.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))}),this.iframeNavFallbackTimeout))}checkIframe(e,t,n,i,r){this.timeoutHandle=setTimeout((()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(i,t,r)):Vt.handleUnresponsiveClient(e))}),e.timeout)}initHandshakeFailed(e){var t;if(!(e&&e.iframe&&e.iframe.luigi))return!0;const n=e.iframe.luigi.clientVersion;return!(null==(t=Vt.getViewGroupSettings(e.iframe.vg))?void 0:t.noClientCheck)&&(void 0===e.iframe.luigi.initOk||!(!n||-1!==Et.semverCompare("1.1.1",n))&&!e.iframe.luigi.initOk)}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const i=t.get();let r=i.viewUrl;r&&(r=Rt.substituteViewUrl(r,i));const o=At.isSameViewGroup(e,t),a=this.hasIsolatedView(i.previousNodeValues.isolateView,o,e.isolateAllViews),s=this.hasIsolatedView(i.isolateView,o,e.isolateAllViews),l=At.canReuseIframe(e,t);let c=this.getActiveIframe(n);const u=At.getMainIframes(),d=this.getPreservedViewsInDom(u);let f,p=!1;if(d.length>0&&(f=d.shift(),f===c&&(p=!0,c=void 0,e.iframe=void 0)),!p&&!t.get().isNavigateBack){let t;if(c&&a&&(c=this.switchActiveIframe(n,void 0,!0)),c&&s&&(c=this.switchActiveIframe(n,void 0,!c.vg)),!s&&i.viewGroup){const e=At.getMainIframes().filter((e=>e.vg===i.viewGroup));e.length>0&&(t=e[0],c=this.switchActiveIframe(n,t,c&&!c.vg))}c&&!t&&(c.vg?c=this.switchActiveIframe(n,void 0,!1):l||(c=this.switchActiveIframe(n,void 0,!0))),e.iframe=c}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),p?(this.notifyInactiveIframes(),At.hideElementChildren(n)):At.removeElementChildren(n),i.viewUrl){!1!==Et.getConfigValueFromObject(i,"currentNode.loadingIndicator.enabled")?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const o=i.viewGroup&&!s&&this.canCache(i.viewGroup);if(e.iframe=At.createIframe(r,o?i.viewGroup:void 0,t.get().currentNode,"main",i),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode)e.iframe.addEventListener("load",(()=>{e.iframe._ready=!0;const t=["init",JSON.stringify(i.context)];At.sendMessageToIframe(e.iframe,t)}));else{const t=e.iframe;t.addEventListener("load",(()=>{t._ready=!0}))}const a=i.currentNode.pageErrorHandler;a?this.checkIframe(a,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const o=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(i.viewGroup)?i.viewGroup:void 0,e.iframe.luigi.currentNode=i.currentNode;const a=await t.prepareInternalData(e),s={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},i.context,{goBackContext:o})),nodeParams:JSON.stringify(Object.assign({},i.nodeParams)),pathParams:JSON.stringify(Object.assign({},i.pathParams)),searchParams:JSON.stringify(Object.assign({},Rt.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(a)};i.isNavigationSyncEnabled?(At.getVisibleIframes().forEach((t=>{t!==e.iframe&&(t.userSettingsGroup?Luigi.readUserSettings().then((e=>{At.sendMessageToIframe(t,{msg:"luigi.navigate",context:{userSettingsData:e[t.userSettingsGroup]},internal:At.applyCoreStateData(t.luigi._lastUpdatedMessage.internal)})})):At.sendMessageToIframe(t,{msg:"luigi.navigate",context:t.luigi._lastUpdatedMessage.context,nodeParams:t.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},t.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},Rt.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:At.applyCoreStateData(t.luigi._lastUpdatedMessage.internal)}))})),At.sendMessageToIframe(e.iframe,s),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}};const ot=new class{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(!1===Ke.getConfigValue("navigation.preloadViewGroups"))return;const n=Vt.getAllViewGroupSettings();if(!n)return;const i=At.getIframeContainer(),r=At.getMainIframes(),o=(new Date).getTime();if(r.filter((e=>e.luigi&&e.luigi.preloading&&o-e.luigi.createdAt<3e4)).length>0)return void console.debug("skipping view group preloading (busy)");const a=r.map((e=>e.vg)).filter(Boolean),s=Object.entries(n).filter((([e,t])=>!a.includes(e))).filter((([e,t])=>t&&t.preloadUrl));t&&s.forEach((([e,t])=>{t.loadOnStartup&&this.preloadIframeOnBackground(t,e,i)})),!t&&s.filter(((t,n)=>n<e)).forEach((([e,t])=>{console.debug("preloading view group "+e+" - "+t.preloadUrl),this.preloadIframeOnBackground(t,e,i)}))}preloadIframeOnBackground(e,t,n){const i=At.createIframe(e.preloadUrl,t,null,"main");i.style.display="none",i.luigi.preloading=!0,n.appendChild(i)}preload(e){this.shouldPreload&&setTimeout((()=>{this.preloadViewGroups(this.preloadBatchSize,e)}),e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=(new Date).getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout((()=>{e.luigi.preloading=!1}),this.preloadBatchSize>2?500:1e3)}}};const at=new class{async getNavigationPath(e,t=""){try{const n=Et.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let i;if(Ne.hasRootNode()&&(i=Ne.getRootNode().node),!i){const t=await e;Et.isObject(t)?(i=t,i.pathSegment&&(i.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):i={children:t},i.children=await this.getChildren(i),Ne.setRootNode(i)}const r=n.split("/"),o={...Ke.getConfigValue("navigation.globalContext")||{},...i.context||{}},a=await this.buildNode(r,[i],i.children,o),s=a.navigationPath.filter((e=>e.pathSegment)).map((e=>e.pathSegment));a.isExistingRoute=!n||r.length===s.length;const l=n.split("/");return a.matchedPath=l.filter(((e,t)=>s[t]&&s[t].startsWith(":")||s[t]===e)).join("/"),a}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Ne.hasChildren(e)){let t=Ne.getChildren(e);t&&(n=t.children)}else try{n=await xe.getConfigValueFromObjectAsync(e,"children",t||e.context),null==n&&(n=[]),n=n.map((e=>this.getExpandStructuralPathSegment(e))).map((t=>this.bindChildToParent(t,e)))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let i=this.getAccessibleNodes(e,n,t);return Ne.setChildren(e,{children:n,filteredChildren:i}),i}async getFilteredChildren(e){return Ne.hasChildren(e)?at.getChildrenFromCache(e):await at.getChildren(e)}getChildrenFromCache(e){let t=Ne.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter((t=>Vt.isNodeAccessPermitted(t,e,n))):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&-1!==e.pathSegment.indexOf("/")){const t=e.pathSegment.split("/"),n={...e},i=(e,t)=>{const r=e.shift();let o={};return e.length?(o.pathSegment=r,t.hideFromNav&&(o.hideFromNav=t.hideFromNav),o.children=[i(e,t)]):(o=n,o.pathSegment=r),o};return i(t,e)}return e}async buildNode(e,t,n,i,r={}){i.parentNavigationContexts||(i.parentNavigationContexts=[]);let o={navigationPath:t,context:i,pathParams:r};if(e.length>0&&n&&n.length>0){const s=e[0],l=this.findMatchingNode(s,n);if(l){t.push(l);let n=Vt.applyContext(i,l.context,l.navigationContext);l.pathSegment.startsWith(":")&&(r[l.pathSegment.replace(":","")]=Lt.sanitizeParam(s)),n=Rt.substituteDynamicParamsInObject(n,r);try{this.buildVirtualTree(l,e,r);let i=await this.getChildren(l,n);const a=e.slice(1);o=this.buildNode(a,t,i,n,r)}catch(a){console.error("Error getting nodes children",a)}}}return o}buildVirtualViewUrl(e,t,n){let i="";for(const r in t)r.startsWith("virtualSegment")&&(i+=":"+r+"/");return n?(i+=":virtualSegment_"+n+"/",e+"/"+i):e}buildVirtualTree(e,t,n){const i=e.virtualTree,r=e._virtualTree,o=e._virtualViewUrl||e.viewUrl;if((i||r)&&t[0]){let t=e._virtualPathIndex;i&&(t=0,e.keepSelectedForChildren=!0);if(t>50)return;t++;const r=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],a=Et.removeProperties(e,r);Object.assign(a,{pathSegment:":virtualSegment_"+t,label:":virtualSegment_"+t,viewUrl:Et.trimTrailingSlash(this.buildVirtualViewUrl(o,n,t)),_virtualTree:!0,_virtualPathIndex:t,_virtualViewUrl:o});const s=!!(Array.isArray(e.children)&&e.children.length>0)&&e.children[0]._virtualTree;e.children&&!s&&console.warn("Found both virtualTree and children nodes defined on a navigation node. \nChildren nodes are redundant and ignored when virtualTree is enabled. \nPlease refer to documentation"),e.children=[a]}}findMatchingNode(e,t){let n=null;const i=t.filter((e=>!!e.pathSegment)).length,r=t.filter((e=>e.pathSegment&&e.pathSegment.startsWith(":"))).length;return e=e.includes("#")?e.split("#").shift():e,i>1&&(1===r&&(console.warn("Invalid node setup detected. \nStatic and dynamic nodes cannot be used together on the same level. Static node gets cleaned up. \nRemove the static node from the configuration to resolve this warning. \nAffected pathSegment:",e,"Children:",t),t=t.filter((e=>e.pathSegment&&e.pathSegment.startsWith(":")))),r>1)?(console.error("Invalid node setup detected. \nMultiple dynamic nodes are not allowed on the same level. Stopped navigation. \nInvalid Children:",t),null):(t.some((t=>{if(t.pathSegment===e||t.pathSegment&&t.pathSegment.startsWith(":"))return n=t,!0})),n)}onNodeChange(e,t){const n=Ke.getConfigValue("navigation.nodeChangeHook");"function"==typeof n?n(e,t):void 0!==n&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(!1===t[0].topNav||t.length>2)){const e=t[t.length-2];if(Ne.hasChildren(e))return{children:this.getChildrenFromCache(e),parent:e}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?Vt.groupNodesBy(n,"category",!0):{children:Vt.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,i=[];return e.slice().reverse().forEach((e=>{t&&!e.tabNav||(!1===e.tabNav&&(n=!0),!1===e.keepSelectedForChildren?t=!0:(e.keepSelectedForChildren||e.tabNav&&!n&&!Rt.isDynamicNode(e))&&(t=!0,i=[])),i.push(e)})),i.reverse()}async getLeftNavData(e,t){var n;const i={};if(e.pathData&&e.pathData.length>0&&(!1===e.pathData[0].topNav||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let o,a=[...r].pop();(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const s=await this.getChildren(a,null==(n=t.pathData)?void 0:n._context),l=this.getGroupedChildren(s,e);i.navParent=l.parent||a,i.context=e.pathData._context,i.hasCategoriesWithIcon=!1;const c=l.children;Object.values(c).forEach((e=>{!i.hasCategoriesWithIcon&&e&&e.metaInfo&&e.metaInfo.icon&&(i.hasCategoriesWithIcon=!0)})),i.selectedNode=o||a,i.children=c;Ke.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(i.children,i.selectedNode,Vt.getSideNavAccordionMode(i.selectedNode))}return i}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[i,r]of Object.entries(e))r.forEach((e=>{e===t&&r.metaInfo&&r.metaInfo.collapsible&&Vt.storeExpandedState(r.metaInfo.categoryUid,!0,n)}))}getTruncatedChildrenForTabNav(e){for(let t=e.length-1;t>=0;t--)if(e[t].tabNav)return e.slice(0,t+2);return[]}async getTabNavData(e,t){var n;const i={};if(e.pathData&&e.pathData.length>0&&(!1===e.pathData[0].topNav||e.pathData.length>1)){const r=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(r.tabNav?r:Vt.getParentNode(r,e.pathData),null==(n=e.pathData)?void 0:n._context),a=this.getGroupedChildren(o,e).children;i.selectedNode=r,i.selectedNodeForTabNav=r,i.children=a}return i}async extractDataFromPath(e){const t=await this.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:Rt.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!(!e||!Et.isFunction(e.onNodeActivation)&&!Et.isAsyncFunction(e.onNodeActivation)||!1!==await e.onNodeActivation(e))}},st={label:"Sign Out",icon:"log"},lt={label:"Settings",icon:"settings"},ct={dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},ut="Cancel",dt={sameWindow:!1};class ft{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class pt extends ft{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=ht({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class gt extends ft{createCompoundContainer(){const e="__lui_compound_"+(new Date).getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach((t=>{if(t.minWidth||t.maxWidth){let i="@media only screen ";null!=t.minWidth&&(i+=`and (min-width: ${t.minWidth}px) `),null!=t.maxWidth&&(i+=`and (max-width: ${t.maxWidth}px) `),i+=`{\n .${e} {\n grid-template-columns: ${t.columns||"auto"};\n grid-template-rows: ${t.rows||"auto"};\n grid-gap: ${t.gap||"0"};\n }\n }\n `,n+=i}})),t.innerHTML=`\n <style scoped>\n .${e} {\n display: grid;\n grid-template-columns: ${this.config.columns||"auto"};\n grid-template-rows: ${this.config.rows||"auto"};\n grid-gap: ${this.config.gap||"0"};\n min-height: ${this.config.minHeight||"auto"};\n }\n ${n}\n </style>\n `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const ht=e=>{const t=e.use;return t?"grid"===t?new gt(e):t.createCompoundContainer||t.createCompoundItemContainer||t.attachCompoundItem?new pt(e):new ft(e):new ft(e)},mt=(e,t,n,i)=>{t.eventListeners&&t.eventListeners.forEach((t=>{const r=t.source+"."+t.name,o=e[r],a={wcElementId:n,wcElement:i,action:t.action,converter:t.dataConverter};o?o.push(a):e[r]=[a]}))},vt=(e="")=>String(e).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/");const bt=new class{constructor(){t(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(/* webpackIgnore: true */e)}attachWC(e,t,n,i,r,o,a,s){if(n&&n.contains(t)){const l=document.createElement(e);o&&l.setAttribute("nodeId",o),l.setAttribute("lui_web_component",!0),this.initWC(l,e,n,r,i,o,a),n.replaceChild(l,t),s&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,i,r,o,a){const s=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const l={linkManager:()=>{const e=window.Luigi.navigation();return new Proxy(e,{get:(e,t)=>t===e.getCurrentRoute.name?()=>{const t=new Promise((t=>{t(e.getCurrentRoute())}));return t.toString=()=>e.getCurrentRoute(),t}:e[t]})},uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:e=>{n.eventBus&&n.eventBus.onPublishEvent(e,o,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var t;return(null==(t=e.extendedContext)?void 0:t.pathParams)?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const t={clientPermissions:e.extendedContext.clientPermissions};return Rt.prepareSearchParamsForClient(t)},getClientPermissions:()=>{var t;return(null==(t=e.extendedContext)?void 0:t.clientPermissions)?e.extendedContext.clientPermissions:{}},addNodeParams:(e,t)=>{a||window.Luigi.routing().addNodeParams(e,t)},getNodeParams:t=>{var n;if(a)return{};const i=(null==(n=e.extendedContext)?void 0:n.nodeParams)?e.extendedContext.nodeParams:{};return t?(r=i,Object.entries(r).reduce(((e,t)=>(e[vt(t[0])]=vt(t[1]),e)),{})):e.extendedContext.nodeParams;var r},setAnchor:e=>{a||window.Luigi.routing().setAnchor(e)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:e=>{const t=Vt.findViewGroup(n._luigi_node);if(t){Vt.getViewGroupSettings(t)._liveCustomData=e,Ke.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const t=new URL(document.baseURI).origin===new URL(i,document.baseURI).origin?new URL(i,document.baseURI):new URL("./",i);e.__postProcess(s,l,t.origin+t.pathname)}else e.context=s,e.nodeParams=r.nodeParams,e.LuigiClient=l;const c=Ke.getConfigValue("settings.webcomponentCreationInterceptor");Et.isFunction(c)&&c(e,r.currentNode,r,o,a)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let i=0;i<n.length;i++)t+=n.charCodeAt(i).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=Rt.getI18nViewUrl(e);return new Promise(((e,i)=>{this.checkWCUrl(n)?this.dynamicImport(n).then((n=>{try{if(!window.customElements.get(t)){let e=n.default;if(!HTMLElement.isPrototypeOf(e)){let t=Object.keys(n);for(let i=0;i<t.length&&(e=n[t[i]],!HTMLElement.isPrototypeOf(e));i++);}window.customElements.define(t,e)}e()}catch(r){i(r)}})).catch((e=>i(e))):(console.warn(`View URL '${n}' not allowed to be included`),i(`View URL '${n}' not allowed`))}))}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(e,t)=>{const n=this.generateWCId(e);window.customElements.get(n)||window.customElements.define(n,t)});let i=document.createElement("script");i.setAttribute("src",t),"module"===e.webcomponent.type&&i.setAttribute("type","module"),i.setAttribute("defer",!0),i.addEventListener("load",(()=>{n()})),document.body.appendChild(i)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||0===e.trim().indexOf("//")){if(new URL(e).host===window.location.host)return!0;const n=Ke.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let i of n)try{if(new RegExp(i).test(e))return!0}catch(t){console.error(t)}return!1}return!0}renderWebComponent(e,t,n,i,r,o,a){var s;const l=n.context,c=Rt.substituteViewUrl(e,{context:l}),u=(null==(s=null==i?void 0:i.webcomponent)?void 0:s.tagName)||this.generateWCId(c),d=document.createElement("div");t.appendChild(d),t._luigi_node=i,window.customElements.get(u)?this.attachWC(u,d,t,n,c,r,o,a):window.luigiWCFn?window.luigiWCFn(c,u,d,(()=>{this.attachWC(u,d,t,n,c,r,o,a)})):i.webcomponent&&i.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,c,(()=>{this.attachWC(u,d,t,n,c,r,o,a)})):this.registerWCFromUrl(c,u).then((()=>{this.attachWC(u,d,t,n,c,r,o,a)}))}createCompoundContainerAsync(e,t,n){return new Promise(((i,r)=>{var o,a;if(e.viewUrl)try{const r=(null==(o=null==n?void 0:n.webcomponent)?void 0:o.tagName)||this.generateWCId(e.viewUrl);(null==(a=null==n?void 0:n.webcomponent)?void 0:a.selfRegistered)?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,(()=>{const n=document.createElement(r);n.setAttribute("lui_web_component",!0),this.initWC(n,r,n,e.viewUrl,t,"_root"),i(n)})):this.registerWCFromUrl(e.viewUrl,r).then((()=>{const n=document.createElement(r);n.setAttribute("lui_web_component",!0),this.initWC(n,r,n,e.viewUrl,t,"_root"),i(n)}))}catch(s){r(s)}else i(e.createCompoundContainer())}))}intersectionObserverCallback(e,t){e.filter((e=>e.isIntersecting)).forEach((e=>{const n=e.target,i=this.wcContainerData.get(n);i?this.renderWebComponent(i.viewUrl,i.wc_container,i.extendedContext,i.node,i.nodeId,i.isSpecialMf,!0):console.error("Could not find WC container data",{for:n}),t.unobserve(n)}))}setTemporaryHeightForCompoundItemContainer(e,t,n){var i,r,o;if(!0===(null==(i=t.lazyLoadingOptions)?void 0:i.noTemporaryContainerHeight))return;const a=(null==(r=n.layoutConfig)?void 0:r.temporaryContainerHeight)||(null==(o=t.lazyLoadingOptions)?void 0:o.temporaryContainerHeight)||"500px";e.style.height=a}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);!0!==(null==t?void 0:t.noTemporaryContainerHeight)&&e.style.removeProperty("height")}getCompoundRenderer(e,t){let n;return e.webcomponent&&!!e.viewUrl?(n=new ft,n.viewUrl=Rt.substituteViewUrl(e.viewUrl,{context:t}),n.createCompoundItemContainer=e=>{var t=document.createElement("div");return e&&e.slot&&t.setAttribute("slot",e.slot),t}):n=e.compound.renderer?ht(e.compound.renderer):new ft,n}createIntersectionObserver(e){var t;return new IntersectionObserver(((e,t)=>{this.intersectionObserverCallback(e,t)}),{rootMargin:(null==(t=e.compound.lazyLoadingOptions)?void 0:t.intersectionRootMargin)||"0px"})}renderWebComponentCompound(e,t,n){var i,r;const o=!0===(null==(r=null==(i=e.compound)?void 0:i.lazyLoadingOptions)?void 0:r.enabled),a=n.context,s=this.getCompoundRenderer(e,a);let l;return o&&(l=this.createIntersectionObserver(e)),t._luigi_node=e,new Promise((i=>{this.createCompoundContainerAsync(s,n,e).then((n=>{const r={};n.eventBus={listeners:r,onPublishEvent:(e,t,i)=>{const o=r[t+"."+e.type]||[];o.push(...r["*."+e.type]||[]),o.forEach((t=>{const i=t.wcElement||n.querySelector("[nodeId="+t.wcElementId+"]");i?i.dispatchEvent(new CustomEvent(t.action,{detail:t.converter?t.converter(e.detail):e.detail})):console.debug("Could not find event target",t)}))}},e.compound.children.forEach(((t,i)=>{var c;const u={...a,...t.context},d=s.createCompoundItemContainer(t.layoutConfig),f=t.id||"gen_"+i;d.eventBus=n.eventBus,o?(this.setTemporaryHeightForCompoundItemContainer(d,e.compound,t),s.attachCompoundItem(n,d),this.wcContainerData.set(d,{viewUrl:t.viewUrl,wc_container:d,extendedContext:{context:u},node:t,nodeId:f,isSpecialMf:!0,noTemporaryContainerHeight:null==(c=e.compound.lazyLoadingOptions)?void 0:c.noTemporaryContainerHeight}),l.observe(d)):(s.attachCompoundItem(n,d),this.renderWebComponent(t.viewUrl,d,{context:u},t,f,!0,!1)),mt(r,t,f)})),t.appendChild(n),mt(r,e.compound,"_root",n),i(n)}))}))}getUserSettingsForWc(e){return new Promise(((t,n)=>{if(e.userSettingsGroup){const n=e.userSettingsGroup;Ke.readUserSettings().then((e=>{const i=n&&"object"==typeof e&&null!==e?e[n]:null;t(i)}))}else n(null)}))}};var _t,wt,yt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ct={exports:{}};_t=Ct,wt=Ct.exports,function(){var e,t="Expected a function",n="__lodash_hash_undefined__",i="__lodash_placeholder__",r=32,o=128,a=256,s=1/0,l=9007199254740991,c=NaN,u=4294967295,d=[["ary",o],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",r],["partialRight",64],["rearg",a]],f="[object Arguments]",p="[object Array]",g="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",_="[object Map]",w="[object Number]",y="[object Object]",C="[object Promise]",S="[object RegExp]",x="[object Set]",N="[object String]",k="[object Symbol]",P="[object WeakMap]",I="[object ArrayBuffer]",T="[object DataView]",L="[object Float32Array]",A="[object Float64Array]",E="[object Int8Array]",V="[object Int16Array]",R="[object Int32Array]",D="[object Uint8Array]",O="[object Uint8ClampedArray]",F="[object Uint16Array]",M="[object Uint32Array]",U=/\b__p \+= '';/g,B=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,z=RegExp(j.source),W=RegExp(H.source),G=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,Z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,ee=RegExp(X.source),te=/^\s+/,ne=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,re=/\{\n\/\* \[wrapped with (.+)\] \*/,oe=/,? & /,ae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,se=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,pe=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,he=/^(?:0|[1-9]\d*)$/,me=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=/($^)/,be=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ye="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ne="['’]",ke="["+_e+"]",Pe="["+$e+"]",Ie="["+we+"]",Te="\\d+",Le="["+ye+"]",Ae="["+Ce+"]",Ee="[^"+_e+$e+Te+ye+Ce+Se+"]",Ve="\\ud83c[\\udffb-\\udfff]",Re="[^"+_e+"]",De="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Se+"]",Me="\\u200d",Ue="(?:"+Ae+"|"+Ee+")",Be="(?:"+Fe+"|"+Ee+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",je="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Ie+"|"+Ve+")?",ze="["+xe+"]?",We=ze+He+"(?:"+Me+"(?:"+[Re,De,Oe].join("|")+")"+ze+He+")*",Ge="(?:"+[Le,De,Oe].join("|")+")"+We,Ke="(?:"+[Re+Ie+"?",Ie,De,Oe,ke].join("|")+")",Je=RegExp(Ne,"g"),Ye=RegExp(Ie,"g"),Qe=RegExp(Ve+"(?="+Ve+")|"+Ke+We,"g"),Ze=RegExp([Fe+"?"+Ae+"+"+qe+"(?="+[Pe,Fe,"$"].join("|")+")",Be+"+"+je+"(?="+[Pe,Fe+Ue,"$"].join("|")+")",Fe+"?"+Ue+"+"+qe,Fe+"+"+je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,Ge].join("|"),"g"),Xe=RegExp("["+Me+_e+we+xe+"]"),et=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,it={};it[L]=it[A]=it[E]=it[V]=it[R]=it[D]=it[O]=it[F]=it[M]=!0,it[f]=it[p]=it[I]=it[g]=it[T]=it[h]=it[m]=it[v]=it[_]=it[w]=it[y]=it[S]=it[x]=it[N]=it[P]=!1;var rt={};rt[f]=rt[p]=rt[I]=rt[T]=rt[g]=rt[h]=rt[L]=rt[A]=rt[E]=rt[V]=rt[R]=rt[_]=rt[w]=rt[y]=rt[S]=rt[x]=rt[N]=rt[k]=rt[D]=rt[O]=rt[F]=rt[M]=!0,rt[m]=rt[v]=rt[P]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,st=parseInt,lt="object"==typeof yt&&yt&&yt.Object===Object&&yt,ct="object"==typeof self&&self&&self.Object===Object&&self,ut=lt||ct||Function("return this")(),dt=wt&&!wt.nodeType&&wt,ft=dt&&_t&&!_t.nodeType&&_t,pt=ft&&ft.exports===dt,gt=pt&<.process,ht=function(){try{var e=ft&&ft.require&&ft.require("util").types;return e||gt&>.binding&>.binding("util")}catch(t){}}(),mt=ht&&ht.isArrayBuffer,vt=ht&&ht.isDate,bt=ht&&ht.isMap,Ct=ht&&ht.isRegExp,St=ht&&ht.isSet,xt=ht&&ht.isTypedArray;function $t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}function kt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function It(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Tt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function Lt(e,t){return!(null==e||!e.length)&&Bt(e,t,0)>-1}function At(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function Et(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function Vt(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Rt(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function Dt(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function Ot(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Ft=zt("length");function Mt(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function Ut(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function Bt(e,t,n){return t==t?function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):Ut(e,jt,n)}function qt(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function jt(e){return e!=e}function Ht(e,t){var n=null==e?0:e.length;return n?Kt(e,t)/n:c}function zt(t){return function(n){return null==n?e:n[t]}}function Wt(t){return function(n){return null==t?e:t[n]}}function Gt(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}function Kt(t,n){for(var i,r=-1,o=t.length;++r<o;){var a=n(t[r]);a!==e&&(i=i===e?a:i+a)}return i}function Jt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Yt(e){return e?e.slice(0,pn(e)+1).replace(te,""):e}function Qt(e){return function(t){return e(t)}}function Zt(e,t){return Et(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function en(e,t){for(var n=-1,i=e.length;++n<i&&Bt(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}var nn=Wt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),rn=Wt({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(e){return"\\"+ot[e]}function an(e){return Xe.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){return an(e)?function(e){for(var t=Qe.lastIndex=0;Qe.test(e);)++t;return t}(e):Ft(e)}function fn(e){return an(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&ne.test(e.charAt(t)););return t}var gn=Wt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hn=function ne(_e){var we,ye=(_e=null==_e?ut:hn.defaults(ut.Object(),_e,hn.pick(ut,tt))).Array,Ce=_e.Date,Se=_e.Error,xe=_e.Function,$e=_e.Math,Ne=_e.Object,ke=_e.RegExp,Pe=_e.String,Ie=_e.TypeError,Te=ye.prototype,Le=xe.prototype,Ae=Ne.prototype,Ee=_e["__core-js_shared__"],Ve=Le.toString,Re=Ae.hasOwnProperty,De=0,Oe=(we=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||""))?"Symbol(src)_1."+we:"",Fe=Ae.toString,Me=Ve.call(Ne),Ue=ut._,Be=ke("^"+Ve.call(Re).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=pt?_e.Buffer:e,je=_e.Symbol,He=_e.Uint8Array,ze=qe?qe.allocUnsafe:e,We=ln(Ne.getPrototypeOf,Ne),Ge=Ne.create,Ke=Ae.propertyIsEnumerable,Qe=Te.splice,Xe=je?je.isConcatSpreadable:e,ot=je?je.iterator:e,lt=je?je.toStringTag:e,ct=function(){try{var e=uo(Ne,"defineProperty");return e({},"",{}),e}catch(t){}}(),dt=_e.clearTimeout!==ut.clearTimeout&&_e.clearTimeout,ft=Ce&&Ce.now!==ut.Date.now&&Ce.now,gt=_e.setTimeout!==ut.setTimeout&&_e.setTimeout,ht=$e.ceil,_t=$e.floor,wt=Ne.getOwnPropertySymbols,yt=qe?qe.isBuffer:e,Ft=_e.isFinite,Wt=Te.join,mn=ln(Ne.keys,Ne),vn=$e.max,bn=$e.min,_n=Ce.now,wn=_e.parseInt,yn=$e.random,Cn=Te.reverse,Sn=uo(_e,"DataView"),xn=uo(_e,"Map"),$n=uo(_e,"Promise"),Nn=uo(_e,"Set"),kn=uo(_e,"WeakMap"),Pn=uo(Ne,"create"),In=kn&&new kn,Tn={},Ln=Uo(Sn),An=Uo(xn),En=Uo($n),Vn=Uo(Nn),Rn=Uo(kn),Dn=je?je.prototype:e,On=Dn?Dn.valueOf:e,Fn=Dn?Dn.toString:e;function Mn(e){if(is(e)&&!Wa(e)&&!(e instanceof jn)){if(e instanceof qn)return e;if(Re.call(e,"__wrapped__"))return Bo(e)}return new qn(e)}var Un=function(){function t(){}return function(n){if(!ns(n))return{};if(Ge)return Ge(n);t.prototype=n;var i=new t;return t.prototype=e,i}}();function Bn(){}function qn(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=u,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Wn;++t<n;)this.add(e[t])}function Kn(e){var t=this.__data__=new zn(e);this.size=t.size}function Jn(e,t){var n=Wa(e),i=!n&&za(e),r=!n&&!i&&Ya(e),o=!n&&!i&&!r&&ds(e),a=n||i||r||o,s=a?Jt(e.length,Pe):[],l=s.length;for(var c in e)!t&&!Re.call(e,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bo(c,l))||s.push(c);return s}function Yn(t){var n=t.length;return n?t[Gi(0,n-1)]:e}function Qn(e,t){return Vo(Pr(e),ai(t,0,e.length))}function Zn(e){return Vo(Pr(e))}function Xn(t,n,i){(i!==e&&!qa(t[n],i)||i===e&&!(n in t))&&ri(t,n,i)}function ei(t,n,i){var r=t[n];Re.call(t,n)&&qa(r,i)&&(i!==e||n in t)||ri(t,n,i)}function ti(e,t){for(var n=e.length;n--;)if(qa(e[n][0],t))return n;return-1}function ni(e,t,n,i){return di(e,(function(e,r,o){t(i,e,n(e),o)})),i}function ii(e,t){return e&&Ir(t,Es(t),e)}function ri(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function oi(t,n){for(var i=-1,r=n.length,o=ye(r),a=null==t;++i<r;)o[i]=a?e:Ps(t,n[i]);return o}function ai(t,n,i){return t==t&&(i!==e&&(t=t<=i?t:i),n!==e&&(t=t>=n?t:n)),t}function si(t,n,i,r,o,a){var s,l=1&n,c=2&n,u=4&n;if(i&&(s=o?i(t,r,o,a):i(t)),s!==e)return s;if(!ns(t))return t;var d=Wa(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return Pr(t,s)}else{var p=go(t),m=p==v||p==b;if(Ya(t))return Cr(t,l);if(p==y||p==f||m&&!o){if(s=c||m?{}:mo(t),!l)return c?function(e,t){return Ir(e,po(e),t)}(t,function(e,t){return e&&Ir(t,Vs(t),e)}(s,t)):function(e,t){return Ir(e,fo(e),t)}(t,ii(s,t))}else{if(!rt[p])return o?t:{};s=function(e,t,n){var i,r=e.constructor;switch(t){case I:return Sr(e);case g:case h:return new r(+e);case T:return function(e,t){var n=t?Sr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case A:case E:case V:case R:case D:case O:case F:case M:return xr(e,n);case _:return new r;case w:case N:return new r(e);case S:return function(e){var t=new e.constructor(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case x:return new r;case k:return i=e,On?Ne(On.call(i)):{}}}(t,p,l)}}a||(a=new Kn);var C=a.get(t);if(C)return C;a.set(t,s),ls(t)?t.forEach((function(e){s.add(si(e,n,i,e,t,a))})):rs(t)&&t.forEach((function(e,r){s.set(r,si(e,n,i,r,t,a))}));var P=d?e:(u?c?io:no:c?Vs:Es)(t);return kt(P||t,(function(e,r){P&&(e=t[r=e]),ei(s,r,si(e,n,i,r,t,a))})),s}function li(t,n,i){var r=i.length;if(null==t)return!r;for(t=Ne(t);r--;){var o=i[r],a=n[o],s=t[o];if(s===e&&!(o in t)||!a(s))return!1}return!0}function ci(n,i,r){if("function"!=typeof n)throw new Ie(t);return To((function(){n.apply(e,r)}),i)}function ui(e,t,n,i){var r=-1,o=Lt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Et(t,Qt(n))),i?(o=At,a=!1):t.length>=200&&(o=Xt,a=!1,t=new Gn(t));e:for(;++r<s;){var u=e[r],d=null==n?u:n(u);if(u=i||0!==u?u:0,a&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;l.push(u)}else o(t,d,i)||l.push(u)}return l}Mn.templateSettings={escape:G,evaluate:K,interpolate:J,variable:"",imports:{_:Mn}},Mn.prototype=Bn.prototype,Mn.prototype.constructor=Mn,qn.prototype=Un(Bn.prototype),qn.prototype.constructor=qn,jn.prototype=Un(Bn.prototype),jn.prototype.constructor=jn,Hn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(t){var i=this.__data__;if(Pn){var r=i[t];return r===n?e:r}return Re.call(i,t)?i[t]:e},Hn.prototype.has=function(t){var n=this.__data__;return Pn?n[t]!==e:Re.call(n,t)},Hn.prototype.set=function(t,i){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Pn&&i===e?n:i,this},zn.prototype.clear=function(){this.__data__=[],this.size=0},zn.prototype.delete=function(e){var t=this.__data__,n=ti(t,e);return!(n<0||(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,0))},zn.prototype.get=function(t){var n=this.__data__,i=ti(n,t);return i<0?e:n[i][1]},zn.prototype.has=function(e){return ti(this.__data__,e)>-1},zn.prototype.set=function(e,t){var n=this.__data__,i=ti(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Wn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(xn||zn),string:new Hn}},Wn.prototype.delete=function(e){var t=lo(this,e).delete(e);return this.size-=t?1:0,t},Wn.prototype.get=function(e){return lo(this,e).get(e)},Wn.prototype.has=function(e){return lo(this,e).has(e)},Wn.prototype.set=function(e,t){var n=lo(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,n),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new zn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof zn){var i=n.__data__;if(!xn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Wn(i)}return n.set(e,t),this.size=n.size,this};var di=Ar(_i),fi=Ar(wi,!0);function pi(e,t){var n=!0;return di(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function gi(t,n,i){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=n(a);if(null!=s&&(l===e?s==s&&!us(s):i(s,l)))var l=s,c=a}return c}function hi(e,t){var n=[];return di(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function mi(e,t,n,i,r){var o=-1,a=e.length;for(n||(n=vo),r||(r=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?mi(s,t-1,n,i,r):Vt(r,s):i||(r[r.length]=s)}return r}var vi=Er(),bi=Er(!0);function _i(e,t){return e&&vi(e,t,Es)}function wi(e,t){return e&&bi(e,t,Es)}function yi(e,t){return Tt(t,(function(t){return Xa(e[t])}))}function Ci(t,n){for(var i=0,r=(n=br(n,t)).length;null!=t&&i<r;)t=t[Mo(n[i++])];return i&&i==r?t:e}function Si(e,t,n){var i=t(e);return Wa(e)?i:Vt(i,n(e))}function xi(t){return null==t?t===e?"[object Undefined]":"[object Null]":lt&< in Ne(t)?function(t){var n=Re.call(t,lt),i=t[lt];try{t[lt]=e;var r=!0}catch(a){}var o=Fe.call(t);return r&&(n?t[lt]=i:delete t[lt]),o}(t):function(e){return Fe.call(e)}(t)}function $i(e,t){return e>t}function Ni(e,t){return null!=e&&Re.call(e,t)}function ki(e,t){return null!=e&&t in Ne(e)}function Pi(t,n,i){for(var r=i?At:Lt,o=t[0].length,a=t.length,s=a,l=ye(a),c=1/0,u=[];s--;){var d=t[s];s&&n&&(d=Et(d,Qt(n))),c=bn(d.length,c),l[s]=!i&&(n||o>=120&&d.length>=120)?new Gn(s&&d):e}d=t[0];var f=-1,p=l[0];e:for(;++f<o&&u.length<c;){var g=d[f],h=n?n(g):g;if(g=i||0!==g?g:0,!(p?Xt(p,h):r(u,h,i))){for(s=a;--s;){var m=l[s];if(!(m?Xt(m,h):r(t[s],h,i)))continue e}p&&p.push(h),u.push(g)}}return u}function Ii(t,n,i){var r=null==(t=ko(t,n=br(n,t)))?t:t[Mo(Zo(n))];return null==r?e:$t(r,t,i)}function Ti(e){return is(e)&&xi(e)==f}function Li(t,n,i,r,o){return t===n||(null==t||null==n||!is(t)&&!is(n)?t!=t&&n!=n:function(t,n,i,r,o,a){var s=Wa(t),l=Wa(n),c=s?p:go(t),u=l?p:go(n),d=(c=c==f?y:c)==y,v=(u=u==f?y:u)==y,b=c==u;if(b&&Ya(t)){if(!Ya(n))return!1;s=!0,d=!1}if(b&&!d)return a||(a=new Kn),s||ds(t)?eo(t,n,i,r,o,a):function(e,t,n,i,r,o,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!o(new He(e),new He(t)));case g:case h:case w:return qa(+e,+t);case m:return e.name==t.name&&e.message==t.message;case S:case N:return e==t+"";case _:var s=sn;case x:var l=1&i;if(s||(s=un),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;i|=2,a.set(e,t);var u=eo(s(e),s(t),i,r,o,a);return a.delete(e),u;case k:if(On)return On.call(e)==On.call(t)}return!1}(t,n,c,i,r,o,a);if(!(1&i)){var C=d&&Re.call(t,"__wrapped__"),P=v&&Re.call(n,"__wrapped__");if(C||P){var L=C?t.value():t,A=P?n.value():n;return a||(a=new Kn),o(L,A,i,r,a)}}return!!b&&(a||(a=new Kn),function(t,n,i,r,o,a){var s=1&i,l=no(t),c=l.length,u=no(n),d=u.length;if(c!=d&&!s)return!1;for(var f=c;f--;){var p=l[f];if(!(s?p in n:Re.call(n,p)))return!1}var g=a.get(t),h=a.get(n);if(g&&h)return g==n&&h==t;var m=!0;a.set(t,n),a.set(n,t);for(var v=s;++f<c;){var b=t[p=l[f]],_=n[p];if(r)var w=s?r(_,b,p,n,t,a):r(b,_,p,t,n,a);if(!(w===e?b===_||o(b,_,i,r,a):w)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var y=t.constructor,C=n.constructor;y==C||!("constructor"in t)||!("constructor"in n)||"function"==typeof y&&y instanceof y&&"function"==typeof C&&C instanceof C||(m=!1)}return a.delete(t),a.delete(n),m}(t,n,i,r,o,a))}(t,n,i,r,Li,o))}function Ai(t,n,i,r){var o=i.length,a=o,s=!r;if(null==t)return!a;for(t=Ne(t);o--;){var l=i[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var c=(l=i[o])[0],u=t[c],d=l[1];if(s&&l[2]){if(u===e&&!(c in t))return!1}else{var f=new Kn;if(r)var p=r(u,d,c,t,n,f);if(!(p===e?Li(d,u,3,r,f):p))return!1}}return!0}function Ei(e){return!(!ns(e)||(t=e,Oe&&Oe in t))&&(Xa(e)?Be:pe).test(Uo(e));var t}function Vi(e){return"function"==typeof e?e:null==e?ol:"object"==typeof e?Wa(e)?Ui(e[0],e[1]):Mi(e):gl(e)}function Ri(e){if(!So(e))return mn(e);var t=[];for(var n in Ne(e))Re.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Di(e){if(!ns(e))return function(e){var t=[];if(null!=e)for(var n in Ne(e))t.push(n);return t}(e);var t=So(e),n=[];for(var i in e)("constructor"!=i||!t&&Re.call(e,i))&&n.push(i);return n}function Oi(e,t){return e<t}function Fi(e,t){var n=-1,i=Ka(e)?ye(e.length):[];return di(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Mi(e){var t=co(e);return 1==t.length&&t[0][2]?$o(t[0][0],t[0][1]):function(n){return n===e||Ai(n,e,t)}}function Ui(t,n){return wo(t)&&xo(n)?$o(Mo(t),n):function(i){var r=Ps(i,t);return r===e&&r===n?Is(i,t):Li(n,r,3)}}function Bi(t,n,i,r,o){t!==n&&vi(n,(function(a,s){if(o||(o=new Kn),ns(a))!function(t,n,i,r,o,a,s){var l=Po(t,i),c=Po(n,i),u=s.get(c);if(u)Xn(t,i,u);else{var d=a?a(l,c,i+"",t,n,s):e,f=d===e;if(f){var p=Wa(c),g=!p&&Ya(c),h=!p&&!g&&ds(c);d=c,p||g||h?Wa(l)?d=l:Ja(l)?d=Pr(l):g?(f=!1,d=Cr(c,!0)):h?(f=!1,d=xr(c,!0)):d=[]:as(c)||za(c)?(d=l,za(l)?d=_s(l):ns(l)&&!Xa(l)||(d=mo(c))):f=!1}f&&(s.set(c,d),o(d,c,r,a,s),s.delete(c)),Xn(t,i,d)}}(t,n,s,i,Bi,r,o);else{var l=r?r(Po(t,s),a,s+"",t,n,o):e;l===e&&(l=a),Xn(t,s,l)}}),Vs)}function qi(t,n){var i=t.length;if(i)return bo(n+=n<0?i:0,i)?t[n]:e}function ji(e,t,n){t=t.length?Et(t,(function(e){return Wa(e)?function(t){return Ci(t,1===e.length?e[0]:e)}:e})):[ol];var i=-1;return t=Et(t,Qt(so())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Fi(e,(function(e,n,r){return{criteria:Et(t,(function(t){return t(e)})),index:++i,value:e}})),(function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;++i<a;){var l=$r(r[i],o[i]);if(l)return i>=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hi(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var a=t[i],s=Ci(e,a);n(s,a)&&Zi(o,br(a,e),s)}return o}function zi(e,t,n,i){var r=i?qt:Bt,o=-1,a=t.length,s=e;for(e===t&&(t=Pr(t)),n&&(s=Et(e,Qt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=r(s,u,l,i))>-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Wi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;bo(r)?Qe.call(e,r,1):ur(e,r)}}return e}function Gi(e,t){return e+_t(yn()*(t-e+1))}function Ki(e,t){var n="";if(!e||t<1||t>l)return n;do{t%2&&(n+=e),(t=_t(t/2))&&(e+=e)}while(t);return n}function Ji(e,t){return Lo(No(e,t,ol),e+"")}function Yi(e){return Yn(qs(e))}function Qi(e,t){var n=qs(e);return Vo(n,ai(t,0,n.length))}function Zi(t,n,i,r){if(!ns(t))return t;for(var o=-1,a=(n=br(n,t)).length,s=a-1,l=t;null!=l&&++o<a;){var c=Mo(n[o]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=s){var d=l[c];(u=r?r(d,c,l):e)===e&&(u=ns(d)?d:bo(n[o+1])?[]:{})}ei(l,c,u),l=l[c]}return t}var Xi=In?function(e,t){return In.set(e,t),e}:ol,er=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:ol;function tr(e){return Vo(qs(e))}function nr(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=ye(r);++i<r;)o[i]=e[i+t];return o}function ir(e,t){var n;return di(e,(function(e,i,r){return!(n=t(e,i,r))})),!!n}function rr(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=e[o];null!==a&&!us(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return or(e,t,ol,n)}function or(t,n,i,r){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=i(n))!=n,l=null===n,c=us(n),u=n===e;o<a;){var d=_t((o+a)/2),f=i(t[d]),p=f!==e,g=null===f,h=f==f,m=us(f);if(s)var v=r||h;else v=u?h&&(r||p):l?h&&p&&(r||!g):c?h&&p&&!g&&(r||!m):!g&&!m&&(r?f<=n:f<n);v?o=d+1:a=d}return bn(a,4294967294)}function ar(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n],s=t?t(a):a;if(!n||!qa(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function sr(e){return"number"==typeof e?e:us(e)?c:+e}function lr(e){if("string"==typeof e)return e;if(Wa(e))return Et(e,lr)+"";if(us(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function cr(e,t,n){var i=-1,r=Lt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,r=At;else if(o>=200){var c=t?null:Kr(e);if(c)return un(c);a=!1,r=Xt,l=new Gn}else l=t?[]:s;e:for(;++i<o;){var u=e[i],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else r(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function ur(e,t){return null==(e=ko(e,t=br(t,e)))||delete e[Mo(Zo(t))]}function dr(e,t,n,i){return Zi(e,t,n(Ci(e,t)),i)}function fr(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?nr(e,i?0:o,i?o+1:r):nr(e,i?o+1:0,i?r:o)}function pr(e,t){var n=e;return n instanceof jn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Vt([e],t.args))}),n)}function gr(e,t,n){var i=e.length;if(i<2)return i?cr(e[0]):[];for(var r=-1,o=ye(i);++r<i;)for(var a=e[r],s=-1;++s<i;)s!=r&&(o[r]=ui(o[r]||a,e[s],t,n));return cr(mi(o,1),t,n)}function hr(t,n,i){for(var r=-1,o=t.length,a=n.length,s={};++r<o;){var l=r<a?n[r]:e;i(s,t[r],l)}return s}function mr(e){return Ja(e)?e:[]}function vr(e){return"function"==typeof e?e:ol}function br(e,t){return Wa(e)?e:wo(e,t)?[e]:Fo(ws(e))}var _r=Ji;function wr(t,n,i){var r=t.length;return i=i===e?r:i,!n&&i>=r?t:nr(t,n,i)}var yr=dt||function(e){return ut.clearTimeout(e)};function Cr(e,t){if(t)return e.slice();var n=e.length,i=ze?ze(n):new e.constructor(n);return e.copy(i),i}function Sr(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function xr(e,t){var n=t?Sr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $r(t,n){if(t!==n){var i=t!==e,r=null===t,o=t==t,a=us(t),s=n!==e,l=null===n,c=n==n,u=us(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||r&&s&&c||!i&&c||!o)return 1;if(!r&&!a&&!u&&t<n||u&&i&&o&&!r&&!a||l&&i&&o||!s&&o||!c)return-1}return 0}function Nr(e,t,n,i){for(var r=-1,o=e.length,a=n.length,s=-1,l=t.length,c=vn(o-a,0),u=ye(l+c),d=!i;++s<l;)u[s]=t[s];for(;++r<a;)(d||r<o)&&(u[n[r]]=e[r]);for(;c--;)u[s++]=e[r++];return u}function kr(e,t,n,i){for(var r=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=vn(o-s,0),d=ye(u+c),f=!i;++r<u;)d[r]=e[r];for(var p=r;++l<c;)d[p+l]=t[l];for(;++a<s;)(f||r<o)&&(d[p+n[a]]=e[r++]);return d}function Pr(e,t){var n=-1,i=e.length;for(t||(t=ye(i));++n<i;)t[n]=e[n];return t}function Ir(t,n,i,r){var o=!i;i||(i={});for(var a=-1,s=n.length;++a<s;){var l=n[a],c=r?r(i[l],t[l],l,i,t):e;c===e&&(c=t[l]),o?ri(i,l,c):ei(i,l,c)}return i}function Tr(e,t){return function(n,i){var r=Wa(n)?Nt:ni,o=t?t():{};return r(n,e,so(i,2),o)}}function Lr(t){return Ji((function(n,i){var r=-1,o=i.length,a=o>1?i[o-1]:e,s=o>2?i[2]:e;for(a=t.length>3&&"function"==typeof a?(o--,a):e,s&&_o(i[0],i[1],s)&&(a=o<3?e:a,o=1),n=Ne(n);++r<o;){var l=i[r];l&&t(n,l,r,a)}return n}))}function Ar(e,t){return function(n,i){if(null==n)return n;if(!Ka(n))return e(n,i);for(var r=n.length,o=t?r:-1,a=Ne(n);(t?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Er(e){return function(t,n,i){for(var r=-1,o=Ne(t),a=i(t),s=a.length;s--;){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}function Vr(t){return function(n){var i=an(n=ws(n))?fn(n):e,r=i?i[0]:n.charAt(0),o=i?wr(i,1).join(""):n.slice(1);return r[t]()+o}}function Rr(e){return function(t){return Rt(Xs(zs(t).replace(Je,"")),e,"")}}function Dr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),i=e.apply(n,t);return ns(i)?i:n}}function Or(t){return function(n,i,r){var o=Ne(n);if(!Ka(n)){var a=so(i,3);n=Es(n),i=function(e){return a(o[e],e,o)}}var s=t(n,i,r);return s>-1?o[a?n[s]:s]:e}}function Fr(n){return to((function(i){var r=i.length,o=r,a=qn.prototype.thru;for(n&&i.reverse();o--;){var s=i[o];if("function"!=typeof s)throw new Ie(t);if(a&&!l&&"wrapper"==oo(s))var l=new qn([],!0)}for(o=l?o:r;++o<r;){var c=oo(s=i[o]),u="wrapper"==c?ro(s):e;l=u&&yo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[oo(u[0])].apply(l,u[3]):1==s.length&&yo(s)?l[c]():l.thru(s)}return function(){var e=arguments,t=e[0];if(l&&1==e.length&&Wa(t))return l.plant(t).value();for(var n=0,o=r?i[n].apply(this,e):t;++n<r;)o=i[n].call(this,o);return o}}))}function Mr(t,n,i,r,a,s,l,c,u,d){var f=n&o,p=1&n,g=2&n,h=24&n,m=512&n,v=g?e:Dr(t);return function o(){for(var b=arguments.length,_=ye(b),w=b;w--;)_[w]=arguments[w];if(h)var y=ao(o),C=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(_,y);if(r&&(_=Nr(_,r,a,h)),s&&(_=kr(_,s,l,h)),b-=C,h&&b<d){var S=cn(_,y);return Wr(t,n,Mr,o.placeholder,i,_,S,c,u,d-b)}var x=p?i:this,N=g?x[t]:t;return b=_.length,c?_=function(t,n){for(var i=t.length,r=bn(n.length,i),o=Pr(t);r--;){var a=n[r];t[r]=bo(a,i)?o[a]:e}return t}(_,c):m&&b>1&&_.reverse(),f&&u<b&&(_.length=u),this&&this!==ut&&this instanceof o&&(N=v||Dr(N)),N.apply(x,_)}}function Ur(e,t){return function(n,i){return function(e,t,n,i){return _i(e,(function(e,r,o){t(i,n(e),r,o)})),i}(n,e,t(i),{})}}function Br(t,n){return function(i,r){var o;if(i===e&&r===e)return n;if(i!==e&&(o=i),r!==e){if(o===e)return r;"string"==typeof i||"string"==typeof r?(i=lr(i),r=lr(r)):(i=sr(i),r=sr(r)),o=t(i,r)}return o}}function qr(e){return to((function(t){return t=Et(t,Qt(so())),Ji((function(n){var i=this;return e(t,(function(e){return $t(e,i,n)}))}))}))}function jr(t,n){var i=(n=n===e?" ":lr(n)).length;if(i<2)return i?Ki(n,t):n;var r=Ki(n,ht(t/dn(n)));return an(n)?wr(fn(r),0,t).join(""):r.slice(0,t)}function Hr(t){return function(n,i,r){return r&&"number"!=typeof r&&_o(n,i,r)&&(i=r=e),n=hs(n),i===e?(i=n,n=0):i=hs(i),function(e,t,n,i){for(var r=-1,o=vn(ht((t-e)/(n||1)),0),a=ye(o);o--;)a[i?o:++r]=e,e+=n;return a}(n,i,r=r===e?n<i?1:-1:hs(r),t)}}function zr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=bs(t),n=bs(n)),e(t,n)}}function Wr(t,n,i,o,a,s,l,c,u,d){var f=8&n;n|=f?r:64,4&(n&=~(f?64:r))||(n&=-4);var p=[t,n,a,f?s:e,f?l:e,f?e:s,f?e:l,c,u,d],g=i.apply(e,p);return yo(t)&&Io(g,p),g.placeholder=o,Ao(g,t,n)}function Gr(e){var t=$e[e];return function(e,n){if(e=bs(e),(n=null==n?0:bn(ms(n),292))&&Ft(e)){var i=(ws(e)+"e").split("e");return+((i=(ws(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Kr=Nn&&1/un(new Nn([,-0]))[1]==s?function(e){return new Nn(e)}:ul;function Jr(e){return function(t){var n=go(t);return n==_?sn(t):n==x?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Et(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Yr(n,s,l,c,u,d,f,p){var g=2&s;if(!g&&"function"!=typeof n)throw new Ie(t);var h=c?c.length:0;if(h||(s&=-97,c=u=e),f=f===e?f:vn(ms(f),0),p=p===e?p:ms(p),h-=u?u.length:0,64&s){var m=c,v=u;c=u=e}var b=g?e:ro(n),_=[n,s,l,c,u,m,v,d,f,p];if(b&&function(e,t){var n=e[1],r=t[1],s=n|r,l=s<131,c=r==o&&8==n||r==o&&n==a&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!l&&!c)return e;1&r&&(e[2]=t[2],s|=1&n?0:4);var u=t[3];if(u){var d=e[3];e[3]=d?Nr(d,u,t[4]):u,e[4]=d?cn(e[3],i):t[4]}(u=t[5])&&(d=e[5],e[5]=d?kr(d,u,t[6]):u,e[6]=d?cn(e[5],i):t[6]),(u=t[7])&&(e[7]=u),r&o&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=s}(_,b),n=_[0],s=_[1],l=_[2],c=_[3],u=_[4],!(p=_[9]=_[9]===e?g?0:n.length:vn(_[9]-h,0))&&24&s&&(s&=-25),s&&1!=s)w=8==s||16==s?function(t,n,i){var r=Dr(t);return function o(){for(var a=arguments.length,s=ye(a),l=a,c=ao(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:cn(s,c);return(a-=u.length)<i?Wr(t,n,Mr,o.placeholder,e,s,u,e,e,i-a):$t(this&&this!==ut&&this instanceof o?r:t,this,s)}}(n,s,p):s!=r&&33!=s||u.length?Mr.apply(e,_):function(e,t,n,i){var r=1&t,o=Dr(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=i.length,u=ye(c+s),d=this&&this!==ut&&this instanceof t?o:e;++l<c;)u[l]=i[l];for(;s--;)u[l++]=arguments[++a];return $t(d,r?n:this,u)}}(n,s,l,c);else var w=function(e,t,n){var i=1&t,r=Dr(e);return function t(){return(this&&this!==ut&&this instanceof t?r:e).apply(i?n:this,arguments)}}(n,s,l);return Ao((b?Xi:Io)(w,_),n,s)}function Qr(t,n,i,r){return t===e||qa(t,Ae[i])&&!Re.call(r,i)?n:t}function Zr(t,n,i,r,o,a){return ns(t)&&ns(n)&&(a.set(n,t),Bi(t,n,e,Zr,a),a.delete(n)),t}function Xr(t){return as(t)?e:t}function eo(t,n,i,r,o,a){var s=1&i,l=t.length,c=n.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(t),d=a.get(n);if(u&&d)return u==n&&d==t;var f=-1,p=!0,g=2&i?new Gn:e;for(a.set(t,n),a.set(n,t);++f<l;){var h=t[f],m=n[f];if(r)var v=s?r(m,h,f,n,t,a):r(h,m,f,t,n,a);if(v!==e){if(v)continue;p=!1;break}if(g){if(!Ot(n,(function(e,t){if(!Xt(g,t)&&(h===e||o(h,e,i,r,a)))return g.push(t)}))){p=!1;break}}else if(h!==m&&!o(h,m,i,r,a)){p=!1;break}}return a.delete(t),a.delete(n),p}function to(t){return Lo(No(t,e,Go),t+"")}function no(e){return Si(e,Es,fo)}function io(e){return Si(e,Vs,po)}var ro=In?function(e){return In.get(e)}:ul;function oo(e){for(var t=e.name+"",n=Tn[t],i=Re.call(Tn,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function ao(e){return(Re.call(Mn,"placeholder")?Mn:e).placeholder}function so(){var e=Mn.iteratee||al;return e=e===al?Vi:e,arguments.length?e(arguments[0],arguments[1]):e}function lo(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function co(e){for(var t=Es(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,xo(r)]}return t}function uo(t,n){var i=function(t,n){return null==t?e:t[n]}(t,n);return Ei(i)?i:e}var fo=wt?function(e){return null==e?[]:(e=Ne(e),Tt(wt(e),(function(t){return Ke.call(e,t)})))}:vl,po=wt?function(e){for(var t=[];e;)Vt(t,fo(e)),e=We(e);return t}:vl,go=xi;function ho(e,t,n){for(var i=-1,r=(t=br(t,e)).length,o=!1;++i<r;){var a=Mo(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&ts(r)&&bo(a,r)&&(Wa(e)||za(e))}function mo(e){return"function"!=typeof e.constructor||So(e)?{}:Un(We(e))}function vo(e){return Wa(e)||za(e)||!!(Xe&&e&&e[Xe])}function bo(e,t){var n=typeof e;return!!(t=null==t?l:t)&&("number"==n||"symbol"!=n&&he.test(e))&&e>-1&&e%1==0&&e<t}function _o(e,t,n){if(!ns(n))return!1;var i=typeof t;return!!("number"==i?Ka(n)&&bo(t,n.length):"string"==i&&t in n)&&qa(n[t],e)}function wo(e,t){if(Wa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!us(e))||Q.test(e)||!Y.test(e)||null!=t&&e in Ne(t)}function yo(e){var t=oo(e),n=Mn[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var i=ro(n);return!!i&&e===i[0]}(Sn&&go(new Sn(new ArrayBuffer(1)))!=T||xn&&go(new xn)!=_||$n&&go($n.resolve())!=C||Nn&&go(new Nn)!=x||kn&&go(new kn)!=P)&&(go=function(t){var n=xi(t),i=n==y?t.constructor:e,r=i?Uo(i):"";if(r)switch(r){case Ln:return T;case An:return _;case En:return C;case Vn:return x;case Rn:return P}return n});var Co=Ee?Xa:bl;function So(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function xo(e){return e==e&&!ns(e)}function $o(t,n){return function(i){return null!=i&&i[t]===n&&(n!==e||t in Ne(i))}}function No(t,n,i){return n=vn(n===e?t.length-1:n,0),function(){for(var e=arguments,r=-1,o=vn(e.length-n,0),a=ye(o);++r<o;)a[r]=e[n+r];r=-1;for(var s=ye(n+1);++r<n;)s[r]=e[r];return s[n]=i(a),$t(t,this,s)}}function ko(e,t){return t.length<2?e:Ci(e,nr(t,0,-1))}function Po(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Io=Eo(Xi),To=gt||function(e,t){return ut.setTimeout(e,t)},Lo=Eo(er);function Ao(e,t,n){var i=t+"";return Lo(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return kt(d,(function(n){var i="_."+n[0];t&n[1]&&!Lt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(re);return t?t[1].split(oe):[]}(i),n)))}function Eo(t){var n=0,i=0;return function(){var r=_n(),o=16-(r-i);if(i=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(e,arguments)}}function Vo(t,n){var i=-1,r=t.length,o=r-1;for(n=n===e?r:n;++i<n;){var a=Gi(i,o),s=t[a];t[a]=t[i],t[i]=s}return t.length=n,t}var Ro,Do,Oo,Fo=(Ro=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Z,(function(e,n,i,r){t.push(i?r.replace(le,"$1"):n||e)})),t},Do=Da(Ro,(function(e){return 500===Oo.size&&Oo.clear(),e})),Oo=Do.cache,Do);function Mo(e){if("string"==typeof e||us(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Uo(e){if(null!=e){try{return Ve.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Bo(e){if(e instanceof jn)return e.clone();var t=new qn(e.__wrapped__,e.__chain__);return t.__actions__=Pr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var qo=Ji((function(e,t){return Ja(e)?ui(e,mi(t,1,Ja,!0)):[]})),jo=Ji((function(t,n){var i=Zo(n);return Ja(i)&&(i=e),Ja(t)?ui(t,mi(n,1,Ja,!0),so(i,2)):[]})),Ho=Ji((function(t,n){var i=Zo(n);return Ja(i)&&(i=e),Ja(t)?ui(t,mi(n,1,Ja,!0),e,i):[]}));function zo(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=vn(i+r,0)),Ut(e,so(t,3),r)}function Wo(t,n,i){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return i!==e&&(o=ms(i),o=i<0?vn(r+o,0):bn(o,r-1)),Ut(t,so(n,3),o,!0)}function Go(e){return null!=e&&e.length?mi(e,1):[]}function Ko(t){return t&&t.length?t[0]:e}var Jo=Ji((function(e){var t=Et(e,mr);return t.length&&t[0]===e[0]?Pi(t):[]})),Yo=Ji((function(t){var n=Zo(t),i=Et(t,mr);return n===Zo(i)?n=e:i.pop(),i.length&&i[0]===t[0]?Pi(i,so(n,2)):[]})),Qo=Ji((function(t){var n=Zo(t),i=Et(t,mr);return(n="function"==typeof n?n:e)&&i.pop(),i.length&&i[0]===t[0]?Pi(i,e,n):[]}));function Zo(t){var n=null==t?0:t.length;return n?t[n-1]:e}var Xo=Ji(ea);function ea(e,t){return e&&e.length&&t&&t.length?zi(e,t):e}var ta=to((function(e,t){var n=null==e?0:e.length,i=oi(e,t);return Wi(e,Et(t,(function(e){return bo(e,n)?+e:e})).sort($r)),i}));function na(e){return null==e?e:Cn.call(e)}var ia=Ji((function(e){return cr(mi(e,1,Ja,!0))})),ra=Ji((function(t){var n=Zo(t);return Ja(n)&&(n=e),cr(mi(t,1,Ja,!0),so(n,2))})),oa=Ji((function(t){var n=Zo(t);return n="function"==typeof n?n:e,cr(mi(t,1,Ja,!0),e,n)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Ja(e))return t=vn(e.length,t),!0})),Jt(t,(function(t){return Et(e,zt(t))}))}function sa(t,n){if(!t||!t.length)return[];var i=aa(t);return null==n?i:Et(i,(function(t){return $t(n,e,t)}))}var la=Ji((function(e,t){return Ja(e)?ui(e,t):[]})),ca=Ji((function(e){return gr(Tt(e,Ja))})),ua=Ji((function(t){var n=Zo(t);return Ja(n)&&(n=e),gr(Tt(t,Ja),so(n,2))})),da=Ji((function(t){var n=Zo(t);return n="function"==typeof n?n:e,gr(Tt(t,Ja),e,n)})),fa=Ji(aa),pa=Ji((function(t){var n=t.length,i=n>1?t[n-1]:e;return i="function"==typeof i?(t.pop(),i):e,sa(t,i)}));function ga(e){var t=Mn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=to((function(t){var n=t.length,i=n?t[0]:0,r=this.__wrapped__,o=function(e){return oi(e,t)};return!(n>1||this.__actions__.length)&&r instanceof jn&&bo(i)?((r=r.slice(i,+i+(n?1:0))).__actions__.push({func:ha,args:[o],thisArg:e}),new qn(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(e),t}))):this.thru(o)})),va=Tr((function(e,t,n){Re.call(e,n)?++e[n]:ri(e,n,1)})),ba=Or(zo),_a=Or(Wo);function wa(e,t){return(Wa(e)?kt:di)(e,so(t,3))}function ya(e,t){return(Wa(e)?Pt:fi)(e,so(t,3))}var Ca=Tr((function(e,t,n){Re.call(e,n)?e[n].push(t):ri(e,n,[t])})),Sa=Ji((function(e,t,n){var i=-1,r="function"==typeof t,o=Ka(e)?ye(e.length):[];return di(e,(function(e){o[++i]=r?$t(t,e,n):Ii(e,t,n)})),o})),xa=Tr((function(e,t,n){ri(e,n,t)}));function $a(e,t){return(Wa(e)?Et:Fi)(e,so(t,3))}var Na=Tr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),ka=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_o(e,t[0],t[1])?t=[]:n>2&&_o(t[0],t[1],t[2])&&(t=[t[0]]),ji(e,mi(t,1),[])})),Pa=ft||function(){return ut.Date.now()};function Ia(t,n,i){return n=i?e:n,n=t&&null==n?t.length:n,Yr(t,o,e,e,e,e,n)}function Ta(n,i){var r;if("function"!=typeof i)throw new Ie(t);return n=ms(n),function(){return--n>0&&(r=i.apply(this,arguments)),n<=1&&(i=e),r}}var La=Ji((function(e,t,n){var i=1;if(n.length){var o=cn(n,ao(La));i|=r}return Yr(e,i,t,n,o)})),Aa=Ji((function(e,t,n){var i=3;if(n.length){var o=cn(n,ao(Aa));i|=r}return Yr(t,i,e,n,o)}));function Ea(n,i,r){var o,a,s,l,c,u,d=0,f=!1,p=!1,g=!0;if("function"!=typeof n)throw new Ie(t);function h(t){var i=o,r=a;return o=a=e,d=t,l=n.apply(r,i)}function m(t){var n=t-u;return u===e||n>=i||n<0||p&&t-d>=s}function v(){var e=Pa();if(m(e))return b(e);c=To(v,function(e){var t=i-(e-u);return p?bn(t,s-(e-d)):t}(e))}function b(t){return c=e,g&&o?h(t):(o=a=e,l)}function _(){var t=Pa(),n=m(t);if(o=arguments,a=this,u=t,n){if(c===e)return function(e){return d=e,c=To(v,i),f?h(e):l}(u);if(p)return yr(c),c=To(v,i),h(u)}return c===e&&(c=To(v,i)),l}return i=bs(i)||0,ns(r)&&(f=!!r.leading,s=(p="maxWait"in r)?vn(bs(r.maxWait)||0,i):s,g="trailing"in r?!!r.trailing:g),_.cancel=function(){c!==e&&yr(c),d=0,o=u=a=c=e},_.flush=function(){return c===e?l:b(Pa())},_}var Va=Ji((function(e,t){return ci(e,1,t)})),Ra=Ji((function(e,t,n){return ci(e,bs(t)||0,n)}));function Da(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new Ie(t);var i=function(){var t=arguments,r=n?n.apply(this,t):t[0],o=i.cache;if(o.has(r))return o.get(r);var a=e.apply(this,t);return i.cache=o.set(r,a)||o,a};return i.cache=new(Da.Cache||Wn),i}function Oa(e){if("function"!=typeof e)throw new Ie(t);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=Wn;var Fa=_r((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Et(t[0],Qt(so())):Et(mi(t,1),Qt(so()))).length;return Ji((function(i){for(var r=-1,o=bn(i.length,n);++r<o;)i[r]=t[r].call(this,i[r]);return $t(e,this,i)}))})),Ma=Ji((function(t,n){var i=cn(n,ao(Ma));return Yr(t,r,e,n,i)})),Ua=Ji((function(t,n){var i=cn(n,ao(Ua));return Yr(t,64,e,n,i)})),Ba=to((function(t,n){return Yr(t,a,e,e,e,n)}));function qa(e,t){return e===t||e!=e&&t!=t}var ja=zr($i),Ha=zr((function(e,t){return e>=t})),za=Ti(function(){return arguments}())?Ti:function(e){return is(e)&&Re.call(e,"callee")&&!Ke.call(e,"callee")},Wa=ye.isArray,Ga=mt?Qt(mt):function(e){return is(e)&&xi(e)==I};function Ka(e){return null!=e&&ts(e.length)&&!Xa(e)}function Ja(e){return is(e)&&Ka(e)}var Ya=yt||bl,Qa=vt?Qt(vt):function(e){return is(e)&&xi(e)==h};function Za(e){if(!is(e))return!1;var t=xi(e);return t==m||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Xa(e){if(!ns(e))return!1;var t=xi(e);return t==v||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==ms(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var rs=bt?Qt(bt):function(e){return is(e)&&go(e)==_};function os(e){return"number"==typeof e||is(e)&&xi(e)==w}function as(e){if(!is(e)||xi(e)!=y)return!1;var t=We(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ve.call(n)==Me}var ss=Ct?Qt(Ct):function(e){return is(e)&&xi(e)==S},ls=St?Qt(St):function(e){return is(e)&&go(e)==x};function cs(e){return"string"==typeof e||!Wa(e)&&is(e)&&xi(e)==N}function us(e){return"symbol"==typeof e||is(e)&&xi(e)==k}var ds=xt?Qt(xt):function(e){return is(e)&&ts(e.length)&&!!it[xi(e)]},fs=zr(Oi),ps=zr((function(e,t){return e<=t}));function gs(e){if(!e)return[];if(Ka(e))return cs(e)?fn(e):Pr(e);if(ot&&e[ot])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[ot]());var t=go(e);return(t==_?sn:t==x?un:qs)(e)}function hs(e){return e?(e=bs(e))===s||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function vs(e){return e?ai(ms(e),0,u):0}function bs(e){if("number"==typeof e)return e;if(us(e))return c;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=fe.test(e);return n||ge.test(e)?st(e.slice(2),n?2:8):de.test(e)?c:+e}function _s(e){return Ir(e,Vs(e))}function ws(e){return null==e?"":lr(e)}var ys=Lr((function(e,t){if(So(t)||Ka(t))Ir(t,Es(t),e);else for(var n in t)Re.call(t,n)&&ei(e,n,t[n])})),Cs=Lr((function(e,t){Ir(t,Vs(t),e)})),Ss=Lr((function(e,t,n,i){Ir(t,Vs(t),e,i)})),xs=Lr((function(e,t,n,i){Ir(t,Es(t),e,i)})),$s=to(oi),Ns=Ji((function(t,n){t=Ne(t);var i=-1,r=n.length,o=r>2?n[2]:e;for(o&&_o(n[0],n[1],o)&&(r=1);++i<r;)for(var a=n[i],s=Vs(a),l=-1,c=s.length;++l<c;){var u=s[l],d=t[u];(d===e||qa(d,Ae[u])&&!Re.call(t,u))&&(t[u]=a[u])}return t})),ks=Ji((function(t){return t.push(e,Zr),$t(Ds,e,t)}));function Ps(t,n,i){var r=null==t?e:Ci(t,n);return r===e?i:r}function Is(e,t){return null!=e&&ho(e,t,ki)}var Ts=Ur((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),nl(ol)),Ls=Ur((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Re.call(e,t)?e[t].push(n):e[t]=[n]}),so),As=Ji(Ii);function Es(e){return Ka(e)?Jn(e):Ri(e)}function Vs(e){return Ka(e)?Jn(e,!0):Di(e)}var Rs=Lr((function(e,t,n){Bi(e,t,n)})),Ds=Lr((function(e,t,n,i){Bi(e,t,n,i)})),Os=to((function(e,t){var n={};if(null==e)return n;var i=!1;t=Et(t,(function(t){return t=br(t,e),i||(i=t.length>1),t})),Ir(e,io(e),n),i&&(n=si(n,7,Xr));for(var r=t.length;r--;)ur(n,t[r]);return n})),Fs=to((function(e,t){return null==e?{}:function(e,t){return Hi(e,t,(function(t,n){return Is(e,n)}))}(e,t)}));function Ms(e,t){if(null==e)return{};var n=Et(io(e),(function(e){return[e]}));return t=so(t),Hi(e,n,(function(e,n){return t(e,n[0])}))}var Us=Jr(Es),Bs=Jr(Vs);function qs(e){return null==e?[]:Zt(e,Es(e))}var js=Rr((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Zs(ws(e).toLowerCase())}function zs(e){return(e=ws(e))&&e.replace(me,nn).replace(Ye,"")}var Ws=Rr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Rr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Vr("toLowerCase"),Js=Rr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ys=Rr((function(e,t,n){return e+(n?" ":"")+Zs(t)})),Qs=Rr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zs=Vr("toUpperCase");function Xs(t,n,i){return t=ws(t),(n=i?e:n)===e?function(e){return et.test(e)}(t)?function(e){return e.match(Ze)||[]}(t):function(e){return e.match(ae)||[]}(t):t.match(n)||[]}var el=Ji((function(t,n){try{return $t(t,e,n)}catch(i){return Za(i)?i:new Se(i)}})),tl=to((function(e,t){return kt(t,(function(t){t=Mo(t),ri(e,t,La(e[t],e))})),e}));function nl(e){return function(){return e}}var il=Fr(),rl=Fr(!0);function ol(e){return e}function al(e){return Vi("function"==typeof e?e:si(e,1))}var sl=Ji((function(e,t){return function(n){return Ii(n,e,t)}})),ll=Ji((function(e,t){return function(n){return Ii(e,n,t)}}));function cl(e,t,n){var i=Es(t),r=yi(t,i);null!=n||ns(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=yi(t,Es(t)));var o=!(ns(n)&&"chain"in n&&!n.chain),a=Xa(e);return kt(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Pr(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Vt([this.value()],arguments))})})),e}function ul(){}var dl=qr(Et),fl=qr(It),pl=qr(Ot);function gl(e){return wo(e)?zt(Mo(e)):function(e){return function(t){return Ci(t,e)}}(e)}var hl=Hr(),ml=Hr(!0);function vl(){return[]}function bl(){return!1}var _l,wl=Br((function(e,t){return e+t}),0),yl=Gr("ceil"),Cl=Br((function(e,t){return e/t}),1),Sl=Gr("floor"),xl=Br((function(e,t){return e*t}),1),$l=Gr("round"),Nl=Br((function(e,t){return e-t}),0);return Mn.after=function(e,n){if("function"!=typeof n)throw new Ie(t);return e=ms(e),function(){if(--e<1)return n.apply(this,arguments)}},Mn.ary=Ia,Mn.assign=ys,Mn.assignIn=Cs,Mn.assignInWith=Ss,Mn.assignWith=xs,Mn.at=$s,Mn.before=Ta,Mn.bind=La,Mn.bindAll=tl,Mn.bindKey=Aa,Mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Mn.chain=ga,Mn.chunk=function(t,n,i){n=(i?_o(t,n,i):n===e)?1:vn(ms(n),0);var r=null==t?0:t.length;if(!r||n<1)return[];for(var o=0,a=0,s=ye(ht(r/n));o<r;)s[a++]=nr(t,o,o+=n);return s},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ye(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Vt(Wa(n)?Pr(n):[n],mi(t,1))},Mn.cond=function(e){var n=null==e?0:e.length,i=so();return e=n?Et(e,(function(e){if("function"!=typeof e[1])throw new Ie(t);return[i(e[0]),e[1]]})):[],Ji((function(t){for(var i=-1;++i<n;){var r=e[i];if($t(r[0],this,t))return $t(r[1],this,t)}}))},Mn.conforms=function(e){return function(e){var t=Es(e);return function(n){return li(n,e,t)}}(si(e,1))},Mn.constant=nl,Mn.countBy=va,Mn.create=function(e,t){var n=Un(e);return null==t?n:ii(n,t)},Mn.curry=function t(n,i,r){var o=Yr(n,8,e,e,e,e,e,i=r?e:i);return o.placeholder=t.placeholder,o},Mn.curryRight=function t(n,i,r){var o=Yr(n,16,e,e,e,e,e,i=r?e:i);return o.placeholder=t.placeholder,o},Mn.debounce=Ea,Mn.defaults=Ns,Mn.defaultsDeep=ks,Mn.defer=Va,Mn.delay=Ra,Mn.difference=qo,Mn.differenceBy=jo,Mn.differenceWith=Ho,Mn.drop=function(t,n,i){var r=null==t?0:t.length;return r?nr(t,(n=i||n===e?1:ms(n))<0?0:n,r):[]},Mn.dropRight=function(t,n,i){var r=null==t?0:t.length;return r?nr(t,0,(n=r-(n=i||n===e?1:ms(n)))<0?0:n):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?fr(e,so(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?fr(e,so(t,3),!0):[]},Mn.fill=function(t,n,i,r){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&_o(t,n,i)&&(i=0,r=o),function(t,n,i,r){var o=t.length;for((i=ms(i))<0&&(i=-i>o?0:o+i),(r=r===e||r>o?o:ms(r))<0&&(r+=o),r=i>r?0:vs(r);i<r;)t[i++]=n;return t}(t,n,i,r)):[]},Mn.filter=function(e,t){return(Wa(e)?Tt:hi)(e,so(t,3))},Mn.flatMap=function(e,t){return mi($a(e,t),1)},Mn.flatMapDeep=function(e,t){return mi($a(e,t),s)},Mn.flatMapDepth=function(t,n,i){return i=i===e?1:ms(i),mi($a(t,n),i)},Mn.flatten=Go,Mn.flattenDeep=function(e){return null!=e&&e.length?mi(e,s):[]},Mn.flattenDepth=function(t,n){return null!=t&&t.length?mi(t,n=n===e?1:ms(n)):[]},Mn.flip=function(e){return Yr(e,512)},Mn.flow=il,Mn.flowRight=rl,Mn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},Mn.functions=function(e){return null==e?[]:yi(e,Es(e))},Mn.functionsIn=function(e){return null==e?[]:yi(e,Vs(e))},Mn.groupBy=Ca,Mn.initial=function(e){return null!=e&&e.length?nr(e,0,-1):[]},Mn.intersection=Jo,Mn.intersectionBy=Yo,Mn.intersectionWith=Qo,Mn.invert=Ts,Mn.invertBy=Ls,Mn.invokeMap=Sa,Mn.iteratee=al,Mn.keyBy=xa,Mn.keys=Es,Mn.keysIn=Vs,Mn.map=$a,Mn.mapKeys=function(e,t){var n={};return t=so(t,3),_i(e,(function(e,i,r){ri(n,t(e,i,r),e)})),n},Mn.mapValues=function(e,t){var n={};return t=so(t,3),_i(e,(function(e,i,r){ri(n,i,t(e,i,r))})),n},Mn.matches=function(e){return Mi(si(e,1))},Mn.matchesProperty=function(e,t){return Ui(e,si(t,1))},Mn.memoize=Da,Mn.merge=Rs,Mn.mergeWith=Ds,Mn.method=sl,Mn.methodOf=ll,Mn.mixin=cl,Mn.negate=Oa,Mn.nthArg=function(e){return e=ms(e),Ji((function(t){return qi(t,e)}))},Mn.omit=Os,Mn.omitBy=function(e,t){return Ms(e,Oa(so(t)))},Mn.once=function(e){return Ta(2,e)},Mn.orderBy=function(t,n,i,r){return null==t?[]:(Wa(n)||(n=null==n?[]:[n]),Wa(i=r?e:i)||(i=null==i?[]:[i]),ji(t,n,i))},Mn.over=dl,Mn.overArgs=Fa,Mn.overEvery=fl,Mn.overSome=pl,Mn.partial=Ma,Mn.partialRight=Ua,Mn.partition=Na,Mn.pick=Fs,Mn.pickBy=Ms,Mn.property=gl,Mn.propertyOf=function(t){return function(n){return null==t?e:Ci(t,n)}},Mn.pull=Xo,Mn.pullAll=ea,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?zi(e,t,so(n,2)):e},Mn.pullAllWith=function(t,n,i){return t&&t.length&&n&&n.length?zi(t,n,e,i):t},Mn.pullAt=ta,Mn.range=hl,Mn.rangeRight=ml,Mn.rearg=Ba,Mn.reject=function(e,t){return(Wa(e)?Tt:hi)(e,Oa(so(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=so(t,3);++i<o;){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return Wi(e,r),n},Mn.rest=function(n,i){if("function"!=typeof n)throw new Ie(t);return Ji(n,i=i===e?i:ms(i))},Mn.reverse=na,Mn.sampleSize=function(t,n,i){return n=(i?_o(t,n,i):n===e)?1:ms(n),(Wa(t)?Qn:Qi)(t,n)},Mn.set=function(e,t,n){return null==e?e:Zi(e,t,n)},Mn.setWith=function(t,n,i,r){return r="function"==typeof r?r:e,null==t?t:Zi(t,n,i,r)},Mn.shuffle=function(e){return(Wa(e)?Zn:tr)(e)},Mn.slice=function(t,n,i){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&_o(t,n,i)?(n=0,i=r):(n=null==n?0:ms(n),i=i===e?r:ms(i)),nr(t,n,i)):[]},Mn.sortBy=ka,Mn.sortedUniq=function(e){return e&&e.length?ar(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?ar(e,so(t,2)):[]},Mn.split=function(t,n,i){return i&&"number"!=typeof i&&_o(t,n,i)&&(n=i=e),(i=i===e?u:i>>>0)?(t=ws(t))&&("string"==typeof n||null!=n&&!ss(n))&&!(n=lr(n))&&an(t)?wr(fn(t),0,i):t.split(n,i):[]},Mn.spread=function(e,n){if("function"!=typeof e)throw new Ie(t);return n=null==n?0:vn(ms(n),0),Ji((function(t){var i=t[n],r=wr(t,0,n);return i&&Vt(r,i),$t(e,this,r)}))},Mn.tail=function(e){var t=null==e?0:e.length;return t?nr(e,1,t):[]},Mn.take=function(t,n,i){return t&&t.length?nr(t,0,(n=i||n===e?1:ms(n))<0?0:n):[]},Mn.takeRight=function(t,n,i){var r=null==t?0:t.length;return r?nr(t,(n=r-(n=i||n===e?1:ms(n)))<0?0:n,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?fr(e,so(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?fr(e,so(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,n,i){var r=!0,o=!0;if("function"!=typeof e)throw new Ie(t);return ns(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),Ea(e,n,{leading:r,maxWait:n,trailing:o})},Mn.thru=ha,Mn.toArray=gs,Mn.toPairs=Us,Mn.toPairsIn=Bs,Mn.toPath=function(e){return Wa(e)?Et(e,Mo):us(e)?[e]:Pr(Fo(ws(e)))},Mn.toPlainObject=_s,Mn.transform=function(e,t,n){var i=Wa(e),r=i||Ya(e)||ds(e);if(t=so(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ns(e)&&Xa(o)?Un(We(e)):{}}return(r?kt:_i)(e,(function(e,i,r){return t(n,e,i,r)})),n},Mn.unary=function(e){return Ia(e,1)},Mn.union=ia,Mn.unionBy=ra,Mn.unionWith=oa,Mn.uniq=function(e){return e&&e.length?cr(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?cr(e,so(t,2)):[]},Mn.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?cr(t,e,n):[]},Mn.unset=function(e,t){return null==e||ur(e,t)},Mn.unzip=aa,Mn.unzipWith=sa,Mn.update=function(e,t,n){return null==e?e:dr(e,t,vr(n))},Mn.updateWith=function(t,n,i,r){return r="function"==typeof r?r:e,null==t?t:dr(t,n,vr(i),r)},Mn.values=qs,Mn.valuesIn=function(e){return null==e?[]:Zt(e,Vs(e))},Mn.without=la,Mn.words=Xs,Mn.wrap=function(e,t){return Ma(vr(t),e)},Mn.xor=ca,Mn.xorBy=ua,Mn.xorWith=da,Mn.zip=fa,Mn.zipObject=function(e,t){return hr(e||[],t||[],ei)},Mn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Zi)},Mn.zipWith=pa,Mn.entries=Us,Mn.entriesIn=Bs,Mn.extend=Cs,Mn.extendWith=Ss,cl(Mn,Mn),Mn.add=wl,Mn.attempt=el,Mn.camelCase=js,Mn.capitalize=Hs,Mn.ceil=yl,Mn.clamp=function(t,n,i){return i===e&&(i=n,n=e),i!==e&&(i=(i=bs(i))==i?i:0),n!==e&&(n=(n=bs(n))==n?n:0),ai(bs(t),n,i)},Mn.clone=function(e){return si(e,4)},Mn.cloneDeep=function(e){return si(e,5)},Mn.cloneDeepWith=function(t,n){return si(t,5,n="function"==typeof n?n:e)},Mn.cloneWith=function(t,n){return si(t,4,n="function"==typeof n?n:e)},Mn.conformsTo=function(e,t){return null==t||li(e,t,Es(t))},Mn.deburr=zs,Mn.defaultTo=function(e,t){return null==e||e!=e?t:e},Mn.divide=Cl,Mn.endsWith=function(t,n,i){t=ws(t),n=lr(n);var r=t.length,o=i=i===e?r:ai(ms(i),0,r);return(i-=n.length)>=0&&t.slice(i,o)==n},Mn.eq=qa,Mn.escape=function(e){return(e=ws(e))&&W.test(e)?e.replace(H,rn):e},Mn.escapeRegExp=function(e){return(e=ws(e))&&ee.test(e)?e.replace(X,"\\$&"):e},Mn.every=function(t,n,i){var r=Wa(t)?It:pi;return i&&_o(t,n,i)&&(n=e),r(t,so(n,3))},Mn.find=ba,Mn.findIndex=zo,Mn.findKey=function(e,t){return Mt(e,so(t,3),_i)},Mn.findLast=_a,Mn.findLastIndex=Wo,Mn.findLastKey=function(e,t){return Mt(e,so(t,3),wi)},Mn.floor=Sl,Mn.forEach=wa,Mn.forEachRight=ya,Mn.forIn=function(e,t){return null==e?e:vi(e,so(t,3),Vs)},Mn.forInRight=function(e,t){return null==e?e:bi(e,so(t,3),Vs)},Mn.forOwn=function(e,t){return e&&_i(e,so(t,3))},Mn.forOwnRight=function(e,t){return e&&wi(e,so(t,3))},Mn.get=Ps,Mn.gt=ja,Mn.gte=Ha,Mn.has=function(e,t){return null!=e&&ho(e,t,Ni)},Mn.hasIn=Is,Mn.head=Ko,Mn.identity=ol,Mn.includes=function(e,t,n,i){e=Ka(e)?e:qs(e),n=n&&!i?ms(n):0;var r=e.length;return n<0&&(n=vn(r+n,0)),cs(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Bt(e,t,n)>-1},Mn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=vn(i+r,0)),Bt(e,t,r)},Mn.inRange=function(t,n,i){return n=hs(n),i===e?(i=n,n=0):i=hs(i),function(e,t,n){return e>=bn(t,n)&&e<vn(t,n)}(t=bs(t),n,i)},Mn.invoke=As,Mn.isArguments=za,Mn.isArray=Wa,Mn.isArrayBuffer=Ga,Mn.isArrayLike=Ka,Mn.isArrayLikeObject=Ja,Mn.isBoolean=function(e){return!0===e||!1===e||is(e)&&xi(e)==g},Mn.isBuffer=Ya,Mn.isDate=Qa,Mn.isElement=function(e){return is(e)&&1===e.nodeType&&!as(e)},Mn.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&(Wa(e)||"string"==typeof e||"function"==typeof e.splice||Ya(e)||ds(e)||za(e)))return!e.length;var t=go(e);if(t==_||t==x)return!e.size;if(So(e))return!Ri(e).length;for(var n in e)if(Re.call(e,n))return!1;return!0},Mn.isEqual=function(e,t){return Li(e,t)},Mn.isEqualWith=function(t,n,i){var r=(i="function"==typeof i?i:e)?i(t,n):e;return r===e?Li(t,n,e,i):!!r},Mn.isError=Za,Mn.isFinite=function(e){return"number"==typeof e&&Ft(e)},Mn.isFunction=Xa,Mn.isInteger=es,Mn.isLength=ts,Mn.isMap=rs,Mn.isMatch=function(e,t){return e===t||Ai(e,t,co(t))},Mn.isMatchWith=function(t,n,i){return i="function"==typeof i?i:e,Ai(t,n,co(n),i)},Mn.isNaN=function(e){return os(e)&&e!=+e},Mn.isNative=function(e){if(Co(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ei(e)},Mn.isNil=function(e){return null==e},Mn.isNull=function(e){return null===e},Mn.isNumber=os,Mn.isObject=ns,Mn.isObjectLike=is,Mn.isPlainObject=as,Mn.isRegExp=ss,Mn.isSafeInteger=function(e){return es(e)&&e>=-9007199254740991&&e<=l},Mn.isSet=ls,Mn.isString=cs,Mn.isSymbol=us,Mn.isTypedArray=ds,Mn.isUndefined=function(t){return t===e},Mn.isWeakMap=function(e){return is(e)&&go(e)==P},Mn.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==xi(e)},Mn.join=function(e,t){return null==e?"":Wt.call(e,t)},Mn.kebabCase=Ws,Mn.last=Zo,Mn.lastIndexOf=function(t,n,i){var r=null==t?0:t.length;if(!r)return-1;var o=r;return i!==e&&(o=(o=ms(i))<0?vn(r+o,0):bn(o,r-1)),n==n?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(t,n,o):Ut(t,jt,o,!0)},Mn.lowerCase=Gs,Mn.lowerFirst=Ks,Mn.lt=fs,Mn.lte=ps,Mn.max=function(t){return t&&t.length?gi(t,ol,$i):e},Mn.maxBy=function(t,n){return t&&t.length?gi(t,so(n,2),$i):e},Mn.mean=function(e){return Ht(e,ol)},Mn.meanBy=function(e,t){return Ht(e,so(t,2))},Mn.min=function(t){return t&&t.length?gi(t,ol,Oi):e},Mn.minBy=function(t,n){return t&&t.length?gi(t,so(n,2),Oi):e},Mn.stubArray=vl,Mn.stubFalse=bl,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=xl,Mn.nth=function(t,n){return t&&t.length?qi(t,ms(n)):e},Mn.noConflict=function(){return ut._===this&&(ut._=Ue),this},Mn.noop=ul,Mn.now=Pa,Mn.pad=function(e,t,n){e=ws(e);var i=(t=ms(t))?dn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return jr(_t(r),n)+e+jr(ht(r),n)},Mn.padEnd=function(e,t,n){e=ws(e);var i=(t=ms(t))?dn(e):0;return t&&i<t?e+jr(t-i,n):e},Mn.padStart=function(e,t,n){e=ws(e);var i=(t=ms(t))?dn(e):0;return t&&i<t?jr(t-i,n)+e:e},Mn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(ws(e).replace(te,""),t||0)},Mn.random=function(t,n,i){if(i&&"boolean"!=typeof i&&_o(t,n,i)&&(n=i=e),i===e&&("boolean"==typeof n?(i=n,n=e):"boolean"==typeof t&&(i=t,t=e)),t===e&&n===e?(t=0,n=1):(t=hs(t),n===e?(n=t,t=0):n=hs(n)),t>n){var r=t;t=n,n=r}if(i||t%1||n%1){var o=yn();return bn(t+o*(n-t+at("1e-"+((o+"").length-1))),n)}return Gi(t,n)},Mn.reduce=function(e,t,n){var i=Wa(e)?Rt:Gt,r=arguments.length<3;return i(e,so(t,4),n,r,di)},Mn.reduceRight=function(e,t,n){var i=Wa(e)?Dt:Gt,r=arguments.length<3;return i(e,so(t,4),n,r,fi)},Mn.repeat=function(t,n,i){return n=(i?_o(t,n,i):n===e)?1:ms(n),Ki(ws(t),n)},Mn.replace=function(){var e=arguments,t=ws(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Mn.result=function(t,n,i){var r=-1,o=(n=br(n,t)).length;for(o||(o=1,t=e);++r<o;){var a=null==t?e:t[Mo(n[r])];a===e&&(r=o,a=i),t=Xa(a)?a.call(t):a}return t},Mn.round=$l,Mn.runInContext=ne,Mn.sample=function(e){return(Wa(e)?Yn:Yi)(e)},Mn.size=function(e){if(null==e)return 0;if(Ka(e))return cs(e)?dn(e):e.length;var t=go(e);return t==_||t==x?e.size:Ri(e).length},Mn.snakeCase=Js,Mn.some=function(t,n,i){var r=Wa(t)?Ot:ir;return i&&_o(t,n,i)&&(n=e),r(t,so(n,3))},Mn.sortedIndex=function(e,t){return rr(e,t)},Mn.sortedIndexBy=function(e,t,n){return or(e,t,so(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=rr(e,t);if(i<n&&qa(e[i],t))return i}return-1},Mn.sortedLastIndex=function(e,t){return rr(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return or(e,t,so(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=rr(e,t,!0)-1;if(qa(e[n],t))return n}return-1},Mn.startCase=Ys,Mn.startsWith=function(e,t,n){return e=ws(e),n=null==n?0:ai(ms(n),0,e.length),t=lr(t),e.slice(n,n+t.length)==t},Mn.subtract=Nl,Mn.sum=function(e){return e&&e.length?Kt(e,ol):0},Mn.sumBy=function(e,t){return e&&e.length?Kt(e,so(t,2)):0},Mn.template=function(t,n,i){var r=Mn.templateSettings;i&&_o(t,n,i)&&(n=e),t=ws(t),n=Ss({},n,r,Qr);var o,a,s=Ss({},n.imports,r.imports,Qr),l=Es(s),c=Zt(s,l),u=0,d=n.interpolate||ve,f="__p += '",p=ke((n.escape||ve).source+"|"+d.source+"|"+(d===J?ce:ve).source+"|"+(n.evaluate||ve).source+"|$","g"),g="//# sourceURL="+(Re.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";t.replace(p,(function(e,n,i,r,s,l){return i||(i=r),f+=t.slice(u,l).replace(be,on),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),i&&(f+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),f+="';\n";var h=Re.call(n,"variable")&&n.variable;if(h){if(se.test(h))throw new Se("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(U,""):f).replace(B,"$1").replace(q,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=el((function(){return xe(l,g+"return "+f).apply(e,c)}));if(m.source=f,Za(m))throw m;return m},Mn.times=function(e,t){if((e=ms(e))<1||e>l)return[];var n=u,i=bn(e,u);t=so(t),e-=u;for(var r=Jt(i,t);++n<e;)t(n);return r},Mn.toFinite=hs,Mn.toInteger=ms,Mn.toLength=vs,Mn.toLower=function(e){return ws(e).toLowerCase()},Mn.toNumber=bs,Mn.toSafeInteger=function(e){return e?ai(ms(e),-9007199254740991,l):0===e?e:0},Mn.toString=ws,Mn.toUpper=function(e){return ws(e).toUpperCase()},Mn.trim=function(t,n,i){if((t=ws(t))&&(i||n===e))return Yt(t);if(!t||!(n=lr(n)))return t;var r=fn(t),o=fn(n);return wr(r,en(r,o),tn(r,o)+1).join("")},Mn.trimEnd=function(t,n,i){if((t=ws(t))&&(i||n===e))return t.slice(0,pn(t)+1);if(!t||!(n=lr(n)))return t;var r=fn(t);return wr(r,0,tn(r,fn(n))+1).join("")},Mn.trimStart=function(t,n,i){if((t=ws(t))&&(i||n===e))return t.replace(te,"");if(!t||!(n=lr(n)))return t;var r=fn(t);return wr(r,en(r,fn(n))).join("")},Mn.truncate=function(t,n){var i=30,r="...";if(ns(n)){var o="separator"in n?n.separator:o;i="length"in n?ms(n.length):i,r="omission"in n?lr(n.omission):r}var a=(t=ws(t)).length;if(an(t)){var s=fn(t);a=s.length}if(i>=a)return t;var l=i-dn(r);if(l<1)return r;var c=s?wr(s,0,l).join(""):t.slice(0,l);if(o===e)return c+r;if(s&&(l+=c.length-l),ss(o)){if(t.slice(l).search(o)){var u,d=c;for(o.global||(o=ke(o.source,ws(ue.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var f=u.index;c=c.slice(0,f===e?l:f)}}else if(t.indexOf(lr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Mn.unescape=function(e){return(e=ws(e))&&z.test(e)?e.replace(j,gn):e},Mn.uniqueId=function(e){var t=++De;return ws(e)+t},Mn.upperCase=Qs,Mn.upperFirst=Zs,Mn.each=wa,Mn.eachRight=ya,Mn.first=Ko,cl(Mn,(_l={},_i(Mn,(function(e,t){Re.call(Mn.prototype,t)||(_l[t]=e)})),_l),{chain:!1}),Mn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Mn[e].placeholder=Mn})),kt(["drop","take"],(function(t,n){jn.prototype[t]=function(i){i=i===e?1:vn(ms(i),0);var r=this.__filtered__&&!n?new jn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(i,r.__takeCount__):r.__views__.push({size:bn(i,u),type:t+(r.__dir__<0?"Right":"")}),r},jn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:so(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(ol)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return Ii(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(Oa(so(e)))},jn.prototype.slice=function(t,n){t=ms(t);var i=this;return i.__filtered__&&(t>0||n<0)?new jn(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),n!==e&&(i=(n=ms(n))<0?i.dropRight(-n):i.take(n-t)),i)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(u)},_i(jn.prototype,(function(t,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=Mn[r?"take"+("last"==n?"Right":""):n],a=r||/^find/.test(n);o&&(Mn.prototype[n]=function(){var n=this.__wrapped__,s=r?[1]:arguments,l=n instanceof jn,c=s[0],u=l||Wa(n),d=function(e){var t=o.apply(Mn,Vt([e],s));return r&&f?t[0]:t};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,p=!!this.__actions__.length,g=a&&!f,h=l&&!p;if(!a&&u){n=h?n:new jn(this);var m=t.apply(n,s);return m.__actions__.push({func:ha,args:[d],thisArg:e}),new qn(m,f)}return g&&h?t.apply(this,s):(m=this.thru(d),g?r?m.value()[0]:m.value():m)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Mn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Wa(r)?r:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),_i(jn.prototype,(function(e,t){var n=Mn[t];if(n){var i=n.name+"";Re.call(Tn,i)||(Tn[i]=[]),Tn[i].push({name:t,func:n})}})),Tn[Mr(e,2).name]=[{name:"wrapper",func:e}],jn.prototype.clone=function(){var e=new jn(this.__wrapped__);return e.__actions__=Pr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pr(this.__views__),e},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),i=t<0,r=n?e.length:0,o=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=vn(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,c=i?s:a-1,u=this.__iteratees__,d=u.length,f=0,p=bn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return pr(e,this.__actions__);var g=[];e:for(;l--&&f<p;){for(var h=-1,m=e[c+=t];++h<d;){var v=u[h],b=v.iteratee,_=v.type,w=b(m);if(2==_)m=w;else if(!w){if(1==_)continue e;break e}}g[f++]=m}return g},Mn.prototype.at=ma,Mn.prototype.chain=function(){return ga(this)},Mn.prototype.commit=function(){return new qn(this.value(),this.__chain__)},Mn.prototype.next=function(){this.__values__===e&&(this.__values__=gs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},Mn.prototype.plant=function(t){for(var n,i=this;i instanceof Bn;){var r=Bo(i);r.__index__=0,r.__values__=e,n?o.__wrapped__=r:n=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,n},Mn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof jn){var n=t;return this.__actions__.length&&(n=new jn(this)),(n=n.reverse()).__actions__.push({func:ha,args:[na],thisArg:e}),new qn(n,this.__chain__)}return this.thru(na)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return pr(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,ot&&(Mn.prototype[ot]=function(){return this}),Mn}();ft?((ft.exports=hn)._=hn,dt._=hn):ut._=hn}.call(yt);var St=Ct.exports;const xt=new class{getNodePath(e,t){return Rt.getNodePath(e,t)}normalizePath(e){const t=0===e.indexOf("/");let n=new URL(e,"http://valid.url");const i=n.pathname+n.search+n.hash;return t||0!==i.indexOf("/")?i:i.substr(1)}concatenatePath(e,t){let n=Et.getPathWithoutHash(e);return n?t?(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t,n):n:t}async navigateTo(e,t={}){const{nodeObject:n}=await at.extractDataFromPath(e),{keepBrowserHistory:i=!0,navSync:r=!0,preventContextUpdate:o=!1}=t;if(await at.shouldPreventNavigation(n))return;if(Et.trimLeadingSlash(this.getWindowPath())===Et.trimLeadingSlash(e))return;const a=Ke.getConfigValue("routing.useHashRouting"),s=Ke.getConfigValue("routing.preserveQueryParams");let l=new URL(location.href);e=s?Rt.composeSearchParamsToRoute(e):e,a&&(l.hash=e);const c=i?"pushState":"replaceState",u=Ke.getConfigValue("routing.disableBrowserHistory")?"replaceState":c;window.history[u]({path:a?l.hash:e},"",a?l.hash:e);const d=new CustomEvent("popstate",{detail:{preventContextUpdate:o,withoutSync:!r}});window.dispatchEvent(d)}getWindowPath(){return Ke.getConfigValue("routing.useHashRouting")?Et.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=Et.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),i=Et.trimLeadingSlash(t).split("/");i.length>n.length&&(t=i.slice(0,n.length).join("/"))}return this.normalizePath(Et.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=Rt.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=Rt.getIntentPath(e);return t||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=Rt.getIntentPath(e);if(t){return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}}return Ke.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?Et.trimLeadingSlash(window.location.pathname)+window.location.search:Et.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=Ke.getConfigValue("settings.featureToggles.queryStringParam");t&&"string"==typeof e&&Rt.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){return 0!==(Ke.getConfigValue("routing.skipRoutingForUrlPatterns")||[/access_token=/,/id_token=/]).filter((e=>location.href.match(e))).length}handleUnsavedChangesModal(e,t,n,i){const r=window.location.href,o=t.get().unsavedChanges.persistUrl;return o&&history.pushState(window.state,"",o),t.getUnsavedChangesModalPromise().then((()=>{this.resolveUnsavedChanges(e,t,n,i,r)}),(()=>{}))}resolveUnsavedChanges(e,t,n,i,r){e&&(this.handleRouteChange(e,t,n,i),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){Ke.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,i,r){const{children:o,intendToHaveEmptyViewUrl:a,compound:s}=e,l=o&&Array.isArray(o)&&o.length>0||o||!1;if(!s&&""===t.trim()&&!l&&!a){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!n||!(n.viewUrl||n.currentNode&&n.currentNode.compound)){const e=await at.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),"/"),t=await Rt.getDefaultChildNode(e);this.showPageNotFoundError(r,t,i),this.navigateTo(t)}return!0}return!1}async handlePageNotFound(e,t,n,i,r,o,a){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const e=await Rt.getDefaultChildNode(n,(async(e,t)=>await at.getChildren(e,t)));if(n.isExistingRoute){const t=Et.getTrimmedUrl(i);return this.navigateTo(`${t?`/${t}`:""}/${e}`,{keepBrowserHistory:!1}),!1}{if(e&&n.navigationPath.length>1)return this.showPageNotFoundError(r,Et.trimTrailingSlash(n.matchedPath)+"/"+e,o,!0),!0;const t=await at.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),"/"),i=await Rt.getDefaultChildNode(t);this.showPageNotFoundError(r,i,o,!1,a)}return!0}return!n.isExistingRoute&&(this.showPageNotFoundError(r,n.matchedPath,o,!0),!0)}async handleRouteChange(e,t,n,i,r,o=!1){const a=e||"";if(a.external)this.navigateToExternalLink({url:a.url,sameWindow:!a.openInNewTab});else if(this.setFeatureToggle(a),!this.shouldSkipRoutingForUrlPatterns())if(window.Luigi.preventLoadingModalData)window.Luigi.preventLoadingModalData=!1;else try{if(t.shouldShowUnsavedChangesModal())return void(await this.handleUnsavedChangesModal(a,t,n,i));await this.shouldShowModalPathInUrl();const e=t.get();this.checkInvalidateCache(e,a);const s=a&&a.length?Et.getPathWithoutHash(a):"",{nodeObject:l,pathData:c}=await at.extractDataFromPath(a),u=l.viewUrl||"";if(await this.handleViewUrlMisconfigured(l,u,e,s,t))return;if(await this.handlePageNotFound(l,u,c,a,t,s,i))return;const d=Ke.getConfigBooleanValue("settings.hideNavigation"),f=Rt.parseParams(s.split("?")[1]),p=Rt.getNodeParams(f),g=Vt.findViewGroup(l),h=decodeURIComponent(s.split("?")[1]||""),m=c.navigationPath&&c.navigationPath.length>0?c.navigationPath[c.navigationPath.length-1]:null;let v=!1,b=m;for(;b;){if(!0===b.tabNav){v=!0;break}if(!1===b.tabNav){v=!1;break}if(Et.isObject(b.tabNav)){if(b.tabNav.showAsTabHeader){v=!0;break}if("hideTabNavAutomatically"in b.tabNav&&b.children){if(!0===b.tabNav.hideTabNavAutomatically&&1===b.children.length){v=!1;break}v=!0;break}console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}b=Vt.getParentNode(b,c.navigationPath)}let _=m,w=l.hideGlobalSearch;void 0===w&&(w=Rt.handleInheritedProperty(_,"hideGlobalSearch",(()=>{_=Vt.getParentNode(_,c.navigationPath)})));let y=l.hideSideNav;void 0===y&&(y=Rt.handleInheritedProperty(_,"hideSideNav",(()=>{_=Vt.getParentNode(_,c.navigationPath)})));const C=Rt.substituteDynamicParamsInObject(Object.assign({},c.context,m.context),c.pathParams);c.navigationPath._context=C;const S={hideNav:d,viewUrl:u,nodeParams:p,viewGroup:g,urlParamsRaw:h,currentNode:m,navigationPath:c.navigationPath,context:C,pathParams:c.pathParams,hideGlobalSearch:w||!1,hideSideNav:y||!1,isolateView:l.isolateView||!1,tabNav:v};t.set(Object.assign({},S,{previousNodeValues:e?{viewUrl:e.viewUrl,isolateView:e.isolateView,viewGroup:e.viewGroup}:{}}));let x=document.getElementsByClassName("iframeContainer")[0];if(x&&(v?x.classList.add("iframeContainerTabNav"):x.classList.contains("iframeContainerTabNav")&&x.classList.remove("iframeContainerTabNav")),l.compound)rt.switchActiveIframe(n,void 0,!1),x&&x.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,l);else if(l.webcomponent)rt.switchActiveIframe(n,void 0,!1),x&&x.classList.add("lui-webComponent"),this.navigateWebComponent(t,l);else{const e=document.querySelector(".wcContainer");if(e&&(e.configChangedRequest=!1),x&&(x.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!o)if(r){const e=t.get(),n=await t.prepareInternalData(i);At.sendMessageToIframe(i.iframe,{msg:"luigi.navigate",viewUrl:u,context:JSON.stringify(e.context),nodeParams:JSON.stringify(e.nodeParams),pathParams:JSON.stringify(e.pathParams),searchParams:JSON.stringify(Rt.prepareSearchParamsForClient(i.iframe.luigi.currentNode)),internal:JSON.stringify(n),withoutSync:!0})}else await rt.navigateIframe(i,t,n)}const N=document.querySelector(".lui-tab-header");N&&N.dispatchEvent(new Event("lui_ctx_update")),at.onNodeChange(e.currentNode,m)}catch(s){console.info("Could not handle route change",s)}}async handleBookmarkableModalPath(){const e=Rt.getModalPathFromPath();if(e){const t=Rt.getModalParamsFromPath(),{nodeObject:n}=await at.extractDataFromPath(e);Qe.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let t=e.navigationPath.slice(1),i=!0;for(let r=0;r<t.length;r++){let o=n.length>r?n[r]:void 0,a=t[r];if(o!==a.pathSegment||!i)if(Rt.isDynamicNode(a)){if(!i||o!==Rt.getDynamicNodeValue(a,e.pathParams)){Ne.deleteNodesRecursively(a);break}}else i=!1}}else Ne.deleteCache()}handleRouteClick(e,t){const n=Rt.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else{if(Et.trimLeadingSlash(this.getWindowPath())===Et.trimLeadingSlash(n)){const e=At.getIframeContainer(),t=rt.getActiveIframe(e);t&&t.vg&&rt.canCache(t.vg)?(rt.switchActiveIframe(At.getIframeContainer(),void 0,!1),setTimeout((()=>{rt.switchActiveIframe(At.getIframeContainer(),t,!1),window.postMessage({msg:"refreshRoute"},"*")}))):(t&&e.removeChild(t),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}}async showPageNotFoundError(e,t,n,i=!1,r={}){const o=Rt.getPageNotFoundRedirectResult(n,i);if(o.ignoreLuigiErrorHandling)return;const a=o.path;a?o.keepURL?this.handleRouteChange(a,e,At.getIframeContainer(),r):this.navigateTo(a):(Rt.showRouteNotFoundAlert(e,n,i),this.navigateTo(Et.addLeadingSlash(t)))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const e={...dt,...(null==t?void 0:t.externalLink)||{}};e.url=Rt.calculateNodeHref(t,n),window.open(e.url,e.sameWindow?"_self":"_blank").focus()}else Et.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const i=Rt.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:bt.generateWCId(i)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),i=n._luigi_node;const r=this.getGeneratedWCId(t),o=e.get();if(t===i&&!n.configChangedRequest){const e=document.querySelector(r);return e.context=o.context,void(e.extendedContext&&(e.extendedContext.nodeParams=o.nodeParams))}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&bt.renderWebComponent(o.viewUrl,n,o,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const i=e.get();if(n._luigi_node===t&&St.isEqual(n._luigi_pathParams,i.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter((e=>Vt.checkVisibleForFeatureToggles(e)))),bt.renderWebComponentCompound(t,n,i),n._luigi_pathParams=i.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let i=Rt.getHashQueryParamSeparator();const r=Rt.getQueryParams(),o=Rt.getModalViewParamName();r[o]=e,t&&Object.keys(t).length&&(r[`${o}Params`]=JSON.stringify(t));const a=new URL(location.href);if(Ke.getConfigBooleanValue("routing.useHashRouting")){const e=location.hash.indexOf(i);-1!==e&&(a.hash=a.hash.slice(0,e)),a.hash=`${a.hash}${i}${Rt.encodeParams(r)}`}else a.search=`?${Rt.encodeParams(r)}`;n?history.pushState(window.state,"",a.href):history.replaceState(window.state,"",a.href)}appendModalDataToUrl(e,t){let n=Rt.getHashQueryParamSeparator();const i=Rt.getQueryParams(),r=Rt.getModalViewParamName(),o=i[r],a=new URL(location.href),s=Ke.getConfigBooleanValue("routing.useHashRouting");let l,c,u=history.state;if(s){let[e,t]=a.hash.split("?");l=e,c=Rt.getURLWithoutModalData(t,r),c&&(l+="?"+c)}else l=a.pathname,c=Rt.getURLWithoutModalData(a.search,r),c&&(l+="?"+Rt.getURLWithoutModalData(a.search,r));if(u=Rt.handleHistoryState(u,l),o!==e){if(i[r]=e,t&&Object.keys(t).length&&(i[`${r}Params`]=JSON.stringify(t)),s){const e=location.hash.indexOf(n);-1!==e&&(a.hash=a.hash.slice(0,e)),a.hash=`${a.hash}${n}${Rt.encodeParams(i)}`}else a.search=`?${Rt.encodeParams(i)}`;history.pushState(u,"",a.href)}else{const e=new URL(a);if(s){let t=e.hash.split("?")[0];e.hash=t,c&&(e.hash+="?"+c)}else e.search=c;history.replaceState({},"",e.href),history.pushState(u,"",a.href)}}removeModalDataFromUrl(e){const t=Rt.getQueryParams(),n=Rt.getModalViewParamName();let i=new URL(location.href);if(Ke.getConfigBooleanValue("routing.useHashRouting")){let e={};t[n]&&(e[n]=t[n]),t[`${n}Params`]&&(e[`${n}Params`]=t[`${n}Params`]);let r=Rt.encodeParams(e);i.hash.includes(`?${r}`)?i.hash=i.hash.replace(`?${r}`,""):i.hash.includes(`&${r}`)&&(i.hash=i.hash.replace(`&${r}`,""))}else{let e=new URLSearchParams(i.search.slice(1));e.delete(n),e.delete(`${n}Params`);let t="";Array.from(e.keys()).forEach((n=>{t+=(""===t?"?":"&")+n+"="+e.get(n)})),i.search=t}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const e=history.state.pathBeforeHistory;let t=!1;if(window.addEventListener("popstate",(n=>{t?(history.replaceState({},"",e),history.pushState({},"",e),history.back()):(history.pushState({},"",e),history.back())}),{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const e=history.length-1;t=!0,history.go(-e),window.Luigi.preventLoadingModalData=!0}else{const e=history.state.modalHistoryLength;history.go(-e)}}else history.pushState({},"",i.href)}};const $t=new class{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=Rt.substituteViewUrl(e,t));const i=At.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(i),i}async prepareSplitViewData(e,t){const n=t&&t.length?Et.getPathWithoutHash(t):"",i=await at.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),t),r=Rt.parseParams(n.split("?")[1]),o=Rt.getNodeParams(r),a=Rt.getLastNodeObject(i),s=e.get().splitViewSettings;s.title||(s.title=a.label);const l=s.collapsed||!1;e.set({splitViewSettings:s,lastNode:a,pathData:i,nodeParams:o,collapsed:l,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:i}=e.get();if(n.webcomponent){bt.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:i.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...i,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const o=document.querySelector(".wcContainer");if(o&&o.childElementCount){const e=document.getElementsByClassName("iframeContainer")[0];e&&e.classList.add("lui-webComponent")}}else{const r={splitViewIframe:this.setIframe(n.viewUrl,{context:i.context,pathParams:i.pathParams,nodeParams:t},e),splitViewIframeData:{...i,nodeParams:t}};e.set(r),e.dispatch("iframeCreated",{...r,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const e=document.querySelector(".iframeSplitViewCnt iframe");e&&e.addEventListener("load",(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout((()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"}))}))}calculateInitialValues(e,t){if(t){const n=e||40,i=e?100-e:60;return{percent:n,bottom:parseInt(Et.computePxFromPercent(t,n)),top:parseInt(Et.computePxFromPercent(t,i))}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(Et.computePxFromPercent(t.rightContentHeight,100-e))+At.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:Et.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const i={displayed:!0,collapsed:!0===n.collapsed,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(i.settings&&i.settings.size,Et.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:i.collapsed}),e.set({mfSplitView:i,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then((()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),At.getIframeContainer().style.marginBottom="",$t.sendMessageToClients("close.ok")}),(()=>{})):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,At.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout((()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`}))}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then((()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",At.getIframeContainer().style.marginBottom=""}),(()=>{}))}sendMessageToClients(e,t){At.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}};const Nt=new class{luigiAfterInit(){Ke.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout((()=>{Xe.hideAppLoadingIndicator()}),0)}};const kt=new class{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=Ke.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":void 0!==t?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch(t){console.warn("Error parsing authorization data. Auto-logout might not work!")}}};const Pt=new class{constructor(){return this._userInfoStore=Be({}),this._loggedInStore=Be(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=Ke.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=Ke.getConfigValue(`auth.${e}`),n=Tt.parseUrlAuthErrors()||{};return await Tt.handleUrlAuthErrors(t,n.error,n.errorDescription)?(this.idpProviderInstance=this.getIdpProviderInstance(e,t),Et.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then((e=>(this.idpProviderInstance=e,this.checkAuth(t)))).catch((e=>{const t=`Error: ${e.message||e}`;console.error(t,e.message&&e),Ke.setErrorMessage(t)})):this.checkAuth(t)):void 0}async checkAuth(e){const t=Tt.getStoredAuthData();if(!t||!Tt.isLoggedIn()){if(Ke.getConfigValue("auth.disableAutoLogin"))return;let n=!0;return t&&(n=await Je.handleAuthEvent("onAuthExpired",e)),n?this.startAuthorization():void 0}this.idpProviderInstance.settings&&Et.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then((e=>{this.setUserInfo(e),this.setLoggedIn(!0)})):Et.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then((e=>{this.setUserInfo(e),this.setLoggedIn(!0)})):(this.setLoggedIn(!0),this.setUserInfo(d(this._userInfoStore)));Et.isFunction(Ke.getConfigValue("auth.events.onAuthSuccessful"))&&kt.isNewlyAuthorized()&&await Je.handleAuthEvent("onAuthSuccessful",e,t),kt.removeNewlyAuthorized(),Et.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),Et.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then((e=>{kt.setNewlyAuthorized(),e&&console.error(e)}))}logout(){const e=Tt.getStoredAuthData(),t=async e=>{await Je.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,e),kt.removeAuthData()},n=Ke.getConfigValue(`auth.${Ke.getConfigValue("auth.use")}.logoutFn`);Et.isFunction(n)?n(this.idpProviderInstance.settings,e,t):Et.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=Et.getConfigValueFromObject(t,"idpProvider");if(n){const i=await new n(t);return["login"].forEach((t=>{if(!Et.isFunction(i[t]))throw this.IdpProviderException(`${t} function does not exist in custom IDP Provider ${e}`)})),i}if(!Et.isFunction(Ke.getConfigValue("auth.events.onAuthConfigError")))throw this.IdpProviderException(`IDP Provider ${e} does not exist.`);await Je.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"})}unload(){this.idpProviderInstance&&Et.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&Et.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}};const It=new class{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter((t=>t.uid!==e.uid)).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(Et.prependOrigin(e)),i=this.decorators.filter((e=>"queryString"===e.type));for(let r=0;r<i.length;r++){const e=i[r];n.searchParams.has(e.key)&&n.searchParams.delete(e.key);const t=e.valueFn();n.searchParams.append(e.key,t)}return t&&(n.search=decodeURIComponent(n.search)),n.href}};const Tt=new class{getStoredAuthData(){return kt.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=Et.getUrlParameter("error"),t=Et.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return!t||await Je.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n)}};const Lt=new class{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let i=0;i<n.length;i++){const e=new RegExp(`<${n[i]}/>`,"g"),r=new RegExp(`<${n[i]} />`,"g"),o=new RegExp(`<${n[i]}>`,"g"),a=new RegExp(`<${n[i]} >`,"g"),s=new RegExp(`</${n[i]}[/]>`,"g"),l=new RegExp(`</${n[i]} [/]>`,"g"),c=new RegExp(`<[/]${n[i]}>`,"g"),u=new RegExp(`<[/]${n[i]} >`,"g");t=t.replace(e,`<${n[i]}>`).replace(r,`<${n[i]}>`).replace(o,`<${n[i]}>`).replace(a,`<${n[i]}>`).replace(s,`</${n[i]}>`).replace(l,`</${n[i]}>`).replace(c,`</${n[i]}>`).replace(u,`</${n[i]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let i={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce(((e,[t,i])=>{const r=`_luigi_alert_${n}_link_${this.sanitizeParam(t)}`,o=`<a id="${r}">${this.restoreSanitizedBrs(this.sanitizeHtml(i.text))}</a>`,a=this.escapeKeyForRegexp(t),s=new RegExp(`({${a}})`,"g");return{sanitizedText:e.sanitizedText.replace(s,o),links:e.links.concat({elemId:r,url:i.url?encodeURI(this.sanitizeHtml(i.url)):void 0,dismissKey:i.dismissKey?encodeURI(this.sanitizeHtml(i.dismissKey)):void 0})}}),i):i}};const At=new class{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach((e=>{"IFRAME"===e.tagName&&(e.style.display="none")}))}removeElementChildren(e){[...e.children].forEach((t=>{t.vg||"IFRAME"!==t.tagName||e.removeChild(t)}))}removeIframe(e,t){Array.from(t.children).forEach((n=>{n===e&&t.removeChild(n)}))}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),i=Et.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=Et.getUrlWithoutHash(n.viewUrl),o=n.previousNodeValues.viewGroup,a=n.viewGroup;return!(i!==r||o||a)}isSameViewGroup(e,t){if(e.iframe){const e=t.get(),n=Et.getUrlWithoutHash(e.previousNodeValues.viewUrl),i=Et.getUrlWithoutHash(e.viewUrl);if(this.getLocation(n)===this.getLocation(i)){const t=e.previousNodeValues.viewGroup,n=e.viewGroup;if(t&&n&&t===n)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return Te.map((({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map((t=>({id:t.luigi.id,container:t,active:Et.isElementVisible(t),type:e}))))).reduce(((e,t)=>e.concat(t)),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map((e=>e.container))}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(Et.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter((t=>t.type===e)).map((e=>e.container))}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter((e=>e.active)).map((e=>e.container))}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);""!==n&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach((t=>this.sendMessageToIframe(t,e)))}broadcastMessageToAllIframes(e){At.getMicrofrontendIframes().forEach((t=>this.sendMessageToIframe(t,e)))}createIframe(e,t,n,i,r){const o=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],a=Ke.getConfigValue("settings.customSandboxRules"),s=Ke.getConfigValue("settings.allowRules"),l=a?[...new Set([...o,...a])]:o,c=document.createElement("iframe");c.src=It.hasDecorators()?It.applyDecorators(e,n?n.decodeViewUrl:void 0):e,s&&(s.forEach(((e,t)=>{s[t]=e+(-1!=e.indexOf(";")?"":";")})),c.allow=s.join(" ")),c.sandbox=l.join(" "),c.luigi={viewUrl:e,currentNode:n,createdAt:(new Date).getTime(),id:Et.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(c.vg=t),n&&n.clientPermissions&&(c.luigi.clientPermissions=n.clientPermissions);const u=Ke.getConfigValue("settings.iframeCreationInterceptor");if(Et.isFunction(u))try{u(c,t,n,i)}catch(d){console.error("Error applying iframe creation interceptor: ",d)}return c}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const t=[...At.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find((t=>this.isMessageSource(e,t)));if(!t||!t.luigi||!t.luigi.viewUrl)return;const n="luigi.navigate.ok"===e.data.msg;if(n&&!t.luigi.nextViewUrl)return;const i=n?t.luigi.nextViewUrl:t.luigi.viewUrl;return this.iframeIsSameDomain(i,e.origin)?t:void 0}getSpecialIframeMessageSource(e,t){return At.specialIframeTypes.filter((n=>At.isMessageSource(e,t[n.iframeKey])))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach((t=>{t.getAttribute("oldTab")||t.setAttribute("oldTab",t.getAttribute("tabindex")),t!==e&&t.setAttribute("tabindex","-1")}))}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach((e=>{const t=e.getAttribute("oldTab");"null"===e.getAttribute("oldTab")&&e.removeAttribute("tabindex"),e.removeAttribute("oldTab"),t&&"null"!==t&&e.setAttribute("tabindex",t)}))}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach((t=>{const n=!t.closest(e),i=t.getAttribute("tabindex");!i&&0!==i||!n||t.hasAttribute("oldtab")||t.setAttribute("oldtab",i),n&&t.setAttribute("tabindex","-1")}))}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach((t=>{const n=t.getAttribute("oldtab");!t.closest(e)&&t.removeAttribute("tabindex"),n&&"null"!==n&&(t.setAttribute("tabindex",n),t.removeAttribute("oldtab"))}))}applyCoreStateData(e){return{...e,activeFeatureToggleList:nt.getActiveFeatureToggleList(),currentLocale:Ze.getCurrentLocale(),currentTheme:tt.getCurrentTheme()}}};const Et=new class{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}isAsyncFunction(e){return e&&"[object AsyncFunction]"==={}.toString.call(e)}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return"string"==typeof e||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!(!e||"object"!=typeof e||Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&0===Object.keys(e).length}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const i in n)this.isObject(n[i])?(e[i]||Object.assign(e,{[i]:{}}),this.deepMerge(e[i],n[i])):Object.assign(e,{[i]:n[i]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&0===e.search(/^[#\/].*$/)}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return t&&decodeURIComponent(t[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return"string"!=typeof e?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return"string"!=typeof e?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,i=e;const r=t.split(".");for(;i&&n<r.length;)i=i[r[n++]];return i}canComponentHandleModal(e){return e&&"function"==typeof e.get}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,i=!0){let r=e;return t&&(i?r=St.replace(r,/{([\s\S]+?)}/g,(e=>{let i=e.slice(1,-1).trim();return 0===i.indexOf(n)&&(i=i.substring(n.length)),St.get(t,i,e)})):Object.entries(t).forEach((e=>{r=r.replace(new RegExp(this.escapeRegExp(n+e[0]),"g"),encodeURIComponent(e[1]))}))),i&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return At.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-At.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Ye.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return"none"!==window.getComputedStyle(e,null).getPropertyValue("display")}removeInternalProperties(e){return e&&Object.keys(e).filter((e=>!e.startsWith("_"))).reduce(((t,n)=>(t[n]=e[n],t)),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const i in e)if(e.hasOwnProperty(i)){const r=0===t.filter((e=>i.includes(e))).length,o=0===t.filter((e=>e.endsWith("*"))).map((e=>e.slice(0,-1))).filter((e=>i.startsWith(e))).length;r&&o&&(n[i]=e[i])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),i=t.split("-")[0].split(".");for(let r=0;r<3;r++){const e=Number(n[r]),t=Number(i[r]);if(e>t)return 1;if(t>e)return-1;if(!isNaN(e)&&isNaN(t))return 1;if(isNaN(e)&&!isNaN(t))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(Ke.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise((n=>{e=e=>{n(e||!0)},t=()=>{n(!1)}}));let i=Ke._remotePromises;return i||(i={counter:0,promises:[]},Ke._remotePromises=i),n.id=i.counter++,i.promises[n.id]=n,n.doResolve=t=>{delete i.promises[n.id],e(t)},n.doReject=()=>{delete i.promises[n.id],t()},n}getRemotePromise(e){return Ke._remotePromises?Ke._remotePromises.promises[e]:void 0}isString(e){return"string"==typeof e||e instanceof String}};const Vt=new class{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=Ke.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t,n=e.columns;return t=Et.isFunction(e.items)?e.items().length:e.items.length,"auto"===n?e.columns=t<=6?3:4:3===e.columns?3:4}prepareForTests(...e){let t="";return e.forEach((e=>{e&&(t+=(t?"_":"")+encodeURIComponent(e.toLowerCase().split(" ").join("")))})),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=nt.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(Je.isAuthorizationEnabled()){const t=Tt.isLoggedIn(),n=e.anonymousAccess;if(t&&"exclusive"===n||!t&&"exclusive"!==n&&!0!==n)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const i=Ke.getConfigValue("navigation.nodeAccessibilityResolver");return"function"!=typeof i||i(e,t,n)}applyContext(e,t,n){if(t)for(var i in t)e[i]=t[i];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return Rt.getNodePath(e,null)}groupNodesBy(e,t,n){const i=Ke.getConfigValue("navigation.defaults.category");let r={},o=0,a=0;return e.forEach((e=>{let s,l;const c=e[t];Et.isObject(c)?(s=c.id?c.id:c.label,l=Object.assign({},c)):(s=c,n&&!c&&(s=this.virtualGroupPrefix+a),l={label:s,_fromString:!0});let u=r[s];u||(n&&c&&a++,void 0!==l.order&&null!==l.order&&""!==l.order||(l.order=s?o++:-1),u=[],r[s]=u),u.metaInfo||(u.metaInfo=l),Et.isObject(c)&&u.metaInfo._fromString&&(delete u.metaInfo._fromString,u.metaInfo={...u.metaInfo,...c}),Et.isObject(c)&&i&&(c.titleExpandButton?u.metaInfo.titleExpandButton=c.titleExpandButton:u.metaInfo.titleExpandButton=i.titleExpandButton,c.titleCollapseButton?u.metaInfo.titleCollapseButton=c.titleCollapseButton:u.metaInfo.titleCollapseButton=i.titleCollapseButton),!u.metaInfo.categoryUid&&s&&(u.metaInfo.categoryUid=e.parent?this.getNodePath(e.parent)+":"+s:s),u.push(e)})),Object.keys(r).forEach((e=>{const t=r[e].metaInfo;t&&t.id&&(r[t.label]=r[t.id],delete r[t.id])})),Object.keys(r).forEach((e=>{r[e].sort(((e,t)=>(e.order||0)-(t.order||0))),0===r[e].length&&delete r[e]})),r}generateTooltipText(e,t){let n=e.tooltipText;return void 0===n&&(n=Ke.getConfigValue("navigation.defaults.tooltipText")),void 0===n?t:!1===n?"":Ze.getTranslation(n)}async generateTopNavNodes(e){const t=!1===e[0].topNav?[]:await at.getFilteredChildren(e[0]);let n=null,i=0,r=0,o={};const a=[];let s=[];for(const c of t){let t;e.forEach((e=>{n||e!==c||(n=c)})),c.hideFromNav||(i++,c.globalNav&&r++);const l=!!c.badgeCounter;if(l&&(t=await c.badgeCounter.count()),c.category){const e=c.category.label||c.category;if(o[e]){if(o[e].icon||(o[e].icon=c.category.icon,o[e].altText=c.category.altText),l&&!o[e].badgeCounter)o[e].badgeCounter={label:"",count:()=>t};else if(l){const n=o[e].badgeCounter.count()+t;o[e].badgeCounter.count=()=>n}}else o[e]={isCat:!0,label:e,icon:c.category.icon,altText:c.category.altText,children:[],badgeCounter:l&&{label:"",count:()=>t}},a.push(o[e]);o[e].children.push(c)}else a.push(c);t&&s.push(t)}for(let c=0;c<a.length;c++)a[c].isCat&&(a[c].visibleChildren=await at.getChildren(a[c])||[]);const l={children:a,selectedNode:n,visibleNodeCount:i,globalNavNodeCount:r};if(s.length){const e=s.reduce(((e,t)=>e+t));l.totalBadgeNode={badgeCounter:{count:()=>e,label:""}}}return l}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return void 0!==t?t:Ke.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch(n){console.warn("Preference data corrupted, using default")}return e}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter((t=>t!==e)):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let i=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(i=i.filter((e=>-1===e.indexOf(r+":")))),i.indexOf(e)<0&&i.push(e);else{let t=i.indexOf(e);t>=0&&i.splice(t,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(i)),i}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";xt.navigateTo(t)}}getBurgerTooltipConfig(){const e=Ke.getConfigValue("settings.burgerTooltip");if(Et.isObject(e)||!0===e){const t=e.navExpanded?Ze.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Ze.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await at.extractDataFromPath(e);return!!(await at.shouldPreventNavigation(t))}getPropertyChainValue(e,t,n){return t&&e?St.get(e,t,n):n}substituteVars(e,t){const n=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,(e=>{const n=e.substr(2,e.length-3);return this.getPropertyChainValue(t,n)||e}));return JSON.parse(n)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n));return{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise(((n,i)=>{if(!e.titleResolver)return void i(new Error("No title resolver defined at node"));const r={...e.titleResolver};delete r._cache;const o=this.substituteVars(r,t),a=JSON.stringify(o);if(e.titleResolver._cache&&e.titleResolver._cache.key===a)return void n(e.titleResolver._cache.value);const s=o.request;this._fetch(s.url,{method:s.method,headers:s.headers,body:JSON.stringify(s.body)}).then((t=>{t.json().then((t=>{try{const i=this.processTitleData(t,o,e);e.titleResolver._cache={key:a,value:i},n(i)}catch(r){i(r)}}))})).catch((e=>{i(e)}))})).catch((e=>{St.reject(e)}))}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Ze.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const e=this.getViewGroupSettings(n)||{};let i={...e.customData||{},...e._liveCustomData||{}};t=Et.replaceVars(t,i,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return Ke.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){return e.viewGroup?t&&t!==e?e.viewUrl&&t.viewUrl&&At.getLocation(e.viewUrl)===At.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup:e.parent?this.findViewGroup(e.parent,t||e):void 0}getTestId(e){return e.testId?e.testId:Vt.prepareForTests(e.pathSegment,e.label)}};const Rt=new class{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],i=t?await t(n,e.context):await xe.getConfigValueFromObjectAsync(n,"children",e.context),r=i.find((e=>e.pathSegment===n.defaultChildNode));if(n.defaultChildNode&&r)return n.defaultChildNode;if(i&&i.length){if(1===e.navigationPath.length){const e=i.find((e=>e.pathSegment));return e&&e.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const t=i.find((e=>e.pathSegment&&(e.viewUrl||e.compound||e.externalLink&&e.externalLink.url)));if(t)return t.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),i=n?n.split("&"):null;return i&&i.forEach((e=>{const n=e.split("=");n&&n.length>0&&(t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]))})),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach((e=>{if(e[0].startsWith(n)){const i=e[0].substr(n.length);t[i]=e[1]}})),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach((([e,t])=>{n=n.replace(new RegExp(":"+e,"g"),t)})),n}getContentViewParamPrefix(){let e=Ke.getConfigValue("routing.nodeParamPrefix");return!1===e?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=Ke.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return Ke.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=Rt.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return-1!==e?Rt.parseParams(Rt.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return Rt.getLocation().search?Rt.parseParams(Rt.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(Ke.getConfigBooleanValue("routing.useHashRouting")){const t=location.hash.indexOf(this.defaultQueryParamSeparator);return-1!==t?e+location.hash.slice(t):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=Ke.getConfigValue("routing.useHashRouting");Ot.addEventListener("message",(n=>{if("refreshRoute"===n.data.msg&&n.origin===window.origin){const n=t?xt.getHashPath():xt.getModifiedPathname();e(n)}})),Ot.addEventListener("popstate",(n=>{const i=t?xt.getHashPath(location.href):xt.getModifiedPathname();e(i,n.detail)}))}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return null==t?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const i=n||"";if(e.externalLink&&e.externalLink.url){const n=e.externalLink.url,i={context:Rt.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(n,i)}if(e.link){return i+(e.link.startsWith("/")?e.link:xt.buildFromRelativePath(e))}const r=Rt.buildRoute(e,`/${e.pathSegment}`);return i+Et.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=Rt.getRouteLink(e,t,Ke.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(Ke.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",i=!1){return Object.entries(e).map((([e,r])=>{const o=i?Object.keys(t).find((e=>r&&r.indexOf(n+e)>=0)):Object.keys(t).find((e=>r===n+e));return[e,o?i?r.replace(n+o,t[o]):t[o]:r]})).reduce(((e,[t,n])=>Object.assign(e,{[t]:n})),{})}mapPathToNode(e,t){if(!e||!t)return;const n=Et.trimLeadingSlash(e).split("/"),i=Rt.buildRoute(t,`/${t.pathSegment}`),r=Et.trimLeadingSlash(i).split("/");if(n.length<r.length)return;let o="";for(let a=0;a<r.length;a++){if(n[a]!==r[a]&&0!==r[a].indexOf(":"))return;o+="/"+n[a]}return o}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&":"===e.pathSegment[0]}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=Ze.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="routing.queryParams";if(e=Et.replaceVars(e,t.pathParams,":",!1),e=Et.replaceVars(e,t.context,"context."),e=Et.replaceVars(e,t.nodeParams,"nodeParams."),(e=this.getI18nViewUrl(e))&&e.includes(n)){const t=e.split("?")[1];if(t){const i=t.split("=")[0];e=it.getSearchParams()[i]?e.replace(`{${n}.${i}}`,it.getSearchParams()[i]):e.replace(`?${i}={${n}.${i}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce(((e,t)=>(e[Lt.sanitizeParam(t[0])]=Lt.sanitizeParam(t[1]),e)),{})}setFeatureToggles(e,t){let n;const i=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(i[e]&&(n=i[e]),!n)return;const r=n.split(",");r.length>0&&""!==r[0]&&r.forEach((e=>nt.setFeatureToggle(e,!0)))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const e=t.split("?"),n=e[0].split("-"),i=Object.fromEntries(new URLSearchParams(e[1]).entries());return{semanticObject:n[0],action:n[1],params:i}}}getIntentPath(e){const t=Ke.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),i=this.getIntentObject(n);if(i){let e=t.find((e=>e.semanticObject===i.semanticObject&&e.action===i.action));if(!e)return!1;if(e.externalLink)return{...e.externalLink,external:!0};e=e.pathSegment;const n=Object.entries(i.params);if(n&&n.length>0){e=this.resolveDynamicIntentPath(e,i.params);let t=Ke.getConfigValue("routing.nodeParamPrefix");t=t||"~",e=e.concat(`?${t}`),n.forEach((([n,i],r)=>{e+=`${r>0?"&"+t:""}${n}=${i}`}))}return e}console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[i,r]of Object.entries(t)){const e=new RegExp("/:"+i+"(/|$)","g");n=n.replace(e,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach((n=>{n in it.getSearchParams()&&!0===e.clientPermissions.urlParameters[n].read&&(t[n]=it.getSearchParams()[n])})),t}addSearchParamsFromClient(e,t,n){const i={...t};if(Et.isObject(i)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const t={};Object.keys(e.clientPermissions.urlParameters).forEach((n=>{n in i&&!0===e.clientPermissions.urlParameters[n].write&&(t[n]=i[n],delete i[n])}));for(const e in i)console.warn(`No permission to add the search param "${e}" to the url`);Object.keys(t).length>0&&it.addSearchParams(t,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=Ke.getConfigValue("routing.pageNotFoundHandler");if("function"==typeof n){const i=n(e,t);if(i&&(i.redirectTo||i.ignoreLuigiErrorHandling))return{path:i.redirectTo,keepURL:i.keepURL,ignoreLuigiErrorHandling:i.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const i=this.getPageNotFoundRedirectResult(t).path;return void 0!==i?i:(this.showRouteNotFoundAlert(e,t),void console.warn(`Could not find the requested route: ${t}`))}showRouteNotFoundAlert(e,t,n=!1){const i={text:Ze.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(i,!1)}modifySearchParams(e,t,n){for(const[i,r]of Object.entries(e)){const e=n?`${n}${i}`:i;t.set(e,r),void 0===r&&t.delete(e)}}addParamsOnHashRouting(e,t,n){let i=t;const[r,o]=i.split("?"),a=new URLSearchParams(o);return this.modifySearchParams(e,a,n),i=r,""!==a.toString()&&(i+=`?${a.toString()}`),i}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}handleInheritedProperty(e,t,n){let i;return e&&(e.tabNav&&!0===e[t]&&(i=!0),!1===e[t]&&(i=!1),n&&"function"==typeof n&&n()),i}};const Dt=new class{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach((e=>{e&&!n.includes(e)&&(t&&0===e.indexOf(t)||(n.push(e),t=e))})),n}expandScope(e){const t=[];return e.forEach((e=>{let n="";e.split(".").forEach((e=>{n=n+(n?".":"")+e,t.push(n)}))})),[...new Set(t)]}doOnStoreChange(e,t,n=[]){const i=[e.subscribe(t)];return this.expandScope(n).forEach((n=>{i.push(e.subscribeToScope(t,n))})),()=>{i.forEach((e=>{e()}))}}};const Ot=new class{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter((n=>!(n.type===e&&n.listenerFn===t))),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach((e=>{window.removeEventListener(e.type,e.listenerFn)})),this.listeners=[]}};const Ft=new class{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&null!==window.localStorage}catch(e){return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,i,r){try{this.checkInit(),this.checkStorageBrowserSupport();const o=this[i];if("function"!=typeof o)throw i+" is not a supported operation for the storage";const a=o.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",a)}catch(o){console.log(o),this.sendBackOperation(e,n,"ERROR",o)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),i=this.buildKey(e,t.key);this.storage.setItem(i,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),i=this.storage.getItem(n);return i?this.parseJsonIfPossible(i):void 0}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),i=this.storage.getItem(n);return i?(this.storage.removeItem(n),i):void 0}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter((e=>e.startsWith(n))).forEach((e=>this.storage.removeItem(e)))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter((e=>e.startsWith(n))).map((e=>e.substring(n.length)))}checkKey(e){if(!e.key||0===e.key.trim().length)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch(t){return e}}stringifyValue(e){if(!e)throw"Value is empty";if("string"==typeof e||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,i){let r={msg:"storage",data:{id:t,status:n,result:i}};At.getMicrofrontendsInDom().filter((t=>t.id===e)).map((e=>e.container)).map((e=>At.sendMessageToIframe(e,r)))}};const Mt=new class{constructor(){}processUserSettingGroups(){const e=[],t=Ke.getConfigValue("userSettings.userSettingGroups"),n=Ke.getConfigValue("settings.userSettings.userSettingGroups"),i=t||n;if(Et.isObject(i)){for(const t in i){let n={};n[t]=i[t],e.push(n)}return e}return e}createIframe(e,t){const n=At.createIframe(e,void 0,void 0,"usersettings"),i=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,i.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach((e=>{e.style.display="none"}))}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}},Ut=40,Bt=13,qt=27,jt=32;class Ht{constructor(e,n){t(this,"dispatch"),t(this,"search"),t(this,"isCustomSearchRenderer"),t(this,"isCustomSearchResultItemRenderer"),t(this,"customSearchItemRendererSlotContainer"),this.search=e,this.dispatch=n}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=Et.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=Et.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Ze.getCurrentLocale();if(Et.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if("string"==typeof e.inputPlaceholder){const t=Ze.getTranslation(e.inputPlaceholder);return t&&t.trim().length>0?t:e.inputPlaceholder}return"object"==typeof e.inputPlaceholder?e.inputPlaceholder[t]:void 0}renderCustomSearchItem(e,t,n){return setTimeout((()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)})),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?Et.isFunction(this.search.searchProvider.onEnter)&&e===Bt?this.search.searchProvider.onEnter():Et.isFunction(this.search.searchProvider.onEscape)&&e===qt?this.search.searchProvider.onEscape():e===Ut?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):Et.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let i,{childNodes:r,nextSibling:o,previousSibling:a}=t[n];if("true"===r[0].getAttribute("aria-selected")){e===Ut&&(i=null!==o?o:t[0]),38===e&&(i=null!==a?a:t[t.length-1]),r[0].setAttribute("aria-selected","false"),i.childNodes[0].setAttribute("aria-selected","true"),i.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];"true"===n.childNodes[0].getAttribute("aria-selected")&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&Et.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):Et.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===qt&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,i){this.updateCustomSearchItemRendererSlotContainer(i),t===Bt&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),38===t||t===Ut?this.calcSearchResultItemSelected(t):Et.isFunction(this.search.searchProvider.onEscape)&&t===qt&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout((()=>this.setFocusOnGlobalSearchFieldDesktop(n))),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?xt.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,i){if(e||setTimeout((()=>this.setFocusOnGlobalSearchFieldDesktop(n))),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:i}),this.search&&this.search.searchProvider&&Et.isFunction(this.search.searchProvider.toggleSearch)){const t=void 0===e||!e;this.search.searchProvider.toggleSearch(n,t)}}}function zt(e,t,n){const i=e.slice();return i[9]=t[n],i}function Wt(e){let t,n,i,r,o,a,s,l,c,u,d,f,p=(e[9].dataSanitized?e[9].settings.text:"")+"";function g(){return e[4](e[9])}return{c(){t=N("div"),n=N("div"),i=N("span"),o=P(),a=N("p"),s=P(),l=N("button"),l.innerHTML='<i class="sap-icon sap-icon--decline"></i>',c=P(),E(i,"class",r="sap-icon sap-icon--message-"+e[1][e[9].settings.type]+" svelte-120xz9q"),E(i,"focusable","false"),E(i,"role","presentation"),E(i,"aria-hidden","true"),E(n,"class","fd-message-strip__icon-container"),E(n,"aria-hidden","true"),E(a,"class","fd-message-strip__text svelte-120xz9q"),E(l,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),E(l,"aria-label","Close"),E(l,"aria-controls","j2ALl423"),E(l,"data-testid","luigi-alert-dismiss"),E(t,"class",u="fd-message-strip fd-message-strip--"+e[1][e[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),E(t,"role","alert"),E(t,"id","j2ALl423"),E(t,"data-testid","luigi-alert")},m(e,r){C(e,t,r),y(t,n),y(n,i),y(t,o),y(t,a),a.innerHTML=p,y(t,s),y(t,l),y(t,c),d||(f=T(l,"click",g),d=!0)},p(n,o){e=n,3&o&&r!==(r="sap-icon sap-icon--message-"+e[1][e[9].settings.type]+" svelte-120xz9q")&&E(i,"class",r),1&o&&p!==(p=(e[9].dataSanitized?e[9].settings.text:"")+"")&&(a.innerHTML=p),3&o&&u!==(u="fd-message-strip fd-message-strip--"+e[1][e[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&E(t,"class",u)},d(e){e&&S(t),d=!1,f()}}}function Gt(e){let t,i=me(e[0]),r=[];for(let n=0;n<i.length;n+=1)r[n]=Wt(zt(e,i,n));return{c(){t=N("div");for(let e=0;e<r.length;e+=1)r[e].c();E(t,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),E(t,"aria-hidden","false")},m(n,i){C(n,t,i);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null);e[5](t)},p(e,[n]){if(11&n){let o;for(i=me(e[0]),o=0;o<i.length;o+=1){const a=zt(e,i,o);r[o]?r[o].p(a,n):(r[o]=Wt(a),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},i:n,o:n,d(n){n&&S(t),x(r,n),e[5](null)}}}function Kt(e,t,n){const i=W();let r,{alertQueue:o}=t,{alertTypeMap:a={info:"information",success:"success",warning:"warning",error:"error"}}=t;const s=K("getUnsavedChangesModalPromise"),l=K("handleNavigation");q((()=>{if(!o||!o.length)return void console.warn("There are no alerts to display");if(o.processed)return;const e=o.map((e=>{const{text:t,links:n,closeAfter:o}=e.settings,a=Lt.processTextAndLinks(t,n,e.settings.id);if(setTimeout((()=>{a.links.forEach((t=>{!function(e,t){try{const n=document.getElementById(e.elemId);if(!n)return;n.dismissListener&&n.removeEventListener("click",n.dismissListener);const r=n=>{if(e.url){const t=!e.url.startsWith("/");n.stopPropagation(),s().then((()=>{const n={params:{link:e.url,relative:t}};l(n)}),(()=>{}))}else e.dismissKey&&i("alertDismiss",{id:t,dismissKey:e.dismissKey})};n.addEventListener("click",r),n.dismissListener=r}catch(n){console.error("Error on Alert::addClickListener",n)}}(t,e.settings.id)}))})),e.settings.afterInit){const t=r;e.settings.afterInit({dismiss:()=>{t&&t.isConnected?i("alertDismiss",{id:e.settings.id}):console.debug("Alert already dismissed: ",t)},element:t})}return{settings:{...e.settings,text:a.sanitizedText},dataSanitized:!0}}));e.processed=!0,n(0,o=e)})),j((()=>{}));return e.$$set=e=>{"alertQueue"in e&&n(0,o=e.alertQueue),"alertTypeMap"in e&&n(1,a=e.alertTypeMap)},[o,a,r,i,e=>i("alertDismiss",{id:e.settings.id}),function(e){Q[e?"unshift":"push"]((()=>{r=e,n(2,r)}))}]}class Jt extends Se{constructor(e){super(),Ce(this,e,Kt,Gt,s,{alertQueue:0,alertTypeMap:1})}}function Yt(e){let t,n;return{c(){t=N("i"),E(t,"class",n=b(e[3](e[0].icon))+" svelte-lzffuc")},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n=b(e[3](e[0].icon))+" svelte-lzffuc")&&E(t,"class",n)},d(e){e&&S(t)}}}function Qt(e){let t,n,i,r,o,a=e[0].buttonConfirm+"";return{c(){t=N("div"),n=N("button"),i=k(a),E(n,"data-testid","luigi-modal-confirm"),E(n,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),E(t,"class","fd-bar__element")},m(a,s){C(a,t,s),y(t,n),y(n,i),r||(o=T(n,"click",e[4]),r=!0)},p(e,t){1&t&&a!==(a=e[0].buttonConfirm+"")&&V(i,a)},d(e){e&&S(t),r=!1,o()}}}function Zt(e){let t,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,I,L,A=e[0].header+"",R=e[0].body+"",D=e[0].buttonDismiss+"",O=e[0].type&&Yt(e),F=!1!==e[0].buttonConfirm&&Qt(e);return{c(){t=N("div"),i=N("section"),r=N("header"),a=N("div"),s=N("div"),O&&O.c(),l=P(),c=N("h2"),u=k(A),d=P(),f=N("div"),p=P(),g=N("footer"),h=N("div"),F&&F.c(),m=P(),v=N("div"),b=N("button"),_=k(D),E(c,"class","fd-title fd-title--h5"),E(s,"class","fd-bar__element"),E(a,"class","fd-bar__left"),E(r,"class","fd-bar fd-bar--header fd-message-box__header"),E(f,"class","fd-message-box__body svelte-lzffuc"),E(b,"data-testid","luigi-modal-dismiss"),E(b,"class",w="fd-button "+(!1===e[0].buttonConfirm?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),E(v,"class","fd-bar__element"),E(h,"class","fd-bar__right"),E(g,"class","fd-bar fd-bar--footer fd-message-box__footer"),E(i,"class","fd-message-box__content svelte-lzffuc"),E(t,"class",x="fd-message-box-docs-static fd-message-box fd-message-box--"+e[0].type+" fd-message-box--active svelte-lzffuc"),E(t,"data-testid","luigi-confirmation-modal")},m(n,o){C(n,t,o),y(t,i),y(i,r),y(r,a),y(a,s),O&&O.m(s,null),y(s,l),y(s,c),y(c,u),y(i,d),y(i,f),f.innerHTML=R,y(i,p),y(i,g),y(g,h),F&&F.m(h,null),y(h,m),y(h,v),y(v,b),y(b,_),I||(L=[T(window,"keydown",e[1]),T(b,"click",e[5])],I=!0)},p(e,[n]){e[0].type?O?O.p(e,n):(O=Yt(e),O.c(),O.m(s,l)):O&&(O.d(1),O=null),1&n&&A!==(A=e[0].header+"")&&V(u,A),1&n&&R!==(R=e[0].body+"")&&(f.innerHTML=R),!1!==e[0].buttonConfirm?F?F.p(e,n):(F=Qt(e),F.c(),F.m(h,m)):F&&(F.d(1),F=null),1&n&&D!==(D=e[0].buttonDismiss+"")&&V(_,D),1&n&&w!==(w="fd-button "+(!1===e[0].buttonConfirm?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&E(b,"class",w),1&n&&x!==(x="fd-message-box-docs-static fd-message-box fd-message-box--"+e[0].type+" fd-message-box--active svelte-lzffuc")&&E(t,"class",x)},i:n,o:n,d(e){e&&S(t),O&&O.d(),F&&F.d(),I=!1,o(L)}}}function Xt(e,t,n){const i=W();let{settings:r}=t;const o={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};z((()=>{At.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")})),j((()=>{const e={icon:o[r.type],header:Ze.getTranslation("luigi.confirmationModal.header"),body:Ze.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Ze.getTranslation("luigi.button.dismiss"),buttonConfirm:Ze.getTranslation("luigi.button.confirm")};n(0,r={...r,body:Lt.sanatizeHtmlExceptTextFormatting(r.body)}),n(0,r=Object.assign(e,r)),At.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const t=r.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${t}`).focus()}catch(i){console.warn(`Couldn't focus ${t} in modal`)}}));return e.$$set=e=>{"settings"in e&&n(0,r=e.settings)},[r,function(e){e.keyCode===qt&&i("modalDismiss")},i,function(e){return Vt.renderIconClassName(e)},()=>i("modalConfirm"),()=>i("modalDismiss")]}class en extends Se{constructor(e){super(),Ce(this,e,Xt,Zt,s,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function tn(e){let t,n,i;const r=e[5].default,o=p(r,e,e[4],null);return{c(){t=N("div"),o&&o.c(),E(t,"class",n=e[0]+" "+("main"===e[1]?"zIndexZero":"")+" svelte-az6f9h"),E(t,"aria-hidden","false")},m(e,n){C(e,t,n),o&&o.m(t,null),i=!0},p(e,[a]){o&&o.p&&(!i||16&a)&&m(o,r,e,e[4],i?h(r,e[4]):v(e[4]),null),(!i||3&a&&n!==(n=e[0]+" "+("main"===e[1]?"zIndexZero":"")+" svelte-az6f9h"))&&E(t,"class",n)},i(e){i||(fe(o,e),i=!0)},o(e){pe(o,e),i=!1},d(e){e&&S(t),o&&o.d(e)}}}function nn(e,t,n){let{$$slots:i={},$$scope:r}=t;const o=W();let{backdropClass:a=""}=t,{backdropActive:s=!1}=t,l=!1,c={},{area:u}=t,{disable:d}=t;const f=()=>{const e="lui-backdrop ";s?c.data&&c.data.heightCssClass?n(0,a=e+c.data.heightCssClass):n(0,a=e+"height-auto"):n(0,a="")};return j((()=>{Ke.getConfigValue("settings.backdropDisabled")||(f(),Ot.addEventListener("message",(e=>{const t=At.getValidMessageSource(e);t&&!0!==d&&("luigi.add-backdrop"===e.data.msg&&(n(2,s=(e=>{if(!u)return!0;const t=[...At.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find((t=>t.container&&t.container.contentWindow===e.source));return!t||u!==t.type})(e)),o("stateChanged",{backdropActive:!0}),At.disableA11yOfInactiveIframe(t)),"luigi.remove-backdrop"===e.data.msg&&(n(2,s=!1),o("stateChanged",{backdropActive:!1}),l&&At.enableA11yOfInactiveIframe()))})))})),q((()=>{s!==l&&(l=s,f())})),e.$$set=e=>{"backdropClass"in e&&n(0,a=e.backdropClass),"backdropActive"in e&&n(2,s=e.backdropActive),"area"in e&&n(1,u=e.area),"disable"in e&&n(3,d=e.disable),"$$scope"in e&&n(4,r=e.$$scope)},[a,u,s,d,r,i]}class rn extends Se{constructor(e){super(),Ce(this,e,nn,tn,s,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function on(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g;n=new rn({props:{disable:e[2]}});let h=e[0].title&&an(e);return{c(){t=N("div"),be(n.$$.fragment),i=P(),r=N("div"),o=N("div"),h&&h.c(),a=P(),s=N("div"),l=N("div"),c=N("button"),u=N("i"),E(o,"class","fd-bar__element"),E(r,"class","fd-bar__left"),E(u,"class","sap-icon sap-icon--decline"),E(c,"class","fd-button fd-button--transparent fd-button--compact"),E(c,"aria-label","close"),E(c,"data-testid",d=e[0].closebtn_data_testid&&e[6]?e[0].closebtn_data_testid:"lui-modal-index-"+e[1]),E(l,"class","fd-bar__element"),E(s,"class","fd-bar__right"),E(t,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1ogav75")},m(d,m){C(d,t,m),_e(n,t,null),y(t,i),y(t,r),y(r,o),h&&h.m(o,null),y(t,a),y(t,s),y(s,l),y(l,c),y(c,u),f=!0,p||(g=T(c,"click",e[12]),p=!0)},p(e,t){const i={};4&t&&(i.disable=e[2]),n.$set(i),e[0].title?h?h.p(e,t):(h=an(e),h.c(),h.m(o,null)):h&&(h.d(1),h=null),(!f||67&t&&d!==(d=e[0].closebtn_data_testid&&e[6]?e[0].closebtn_data_testid:"lui-modal-index-"+e[1]))&&E(c,"data-testid",d)},i(e){f||(fe(n.$$.fragment,e),f=!0)},o(e){pe(n.$$.fragment,e),f=!1},d(e){e&&S(t),we(n),h&&h.d(),p=!1,g()}}}function an(e){let t,n,i=e[0].title+"";return{c(){t=N("h2"),n=k(i),E(t,"class","fd-title fd-title--h5"),E(t,"id","dialog-title-1")},m(e,i){C(e,t,i),y(t,n)},p(e,t){1&t&&i!==(i=e[0].title+"")&&V(n,i)},d(e){e&&S(t)}}}function sn(e){let t;const n=e[11].default,i=p(n,e,e[10],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||1024&r)&&m(i,n,e,e[10],t?h(n,e[10]):v(e[10]),null)},i(e){t||(fe(i,e),t=!0)},o(e){pe(i,e),t=!1},d(e){i&&i.d(e)}}}function ln(e){let t;return{c(){t=N("div"),t.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',E(t,"class","fd-page spinnerContainer fade-out svelte-1ogav75"),E(t,"aria-hidden","false"),E(t,"aria-label","Loading")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function cn(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h=(e[6]||e[5]&&e[0].header)&&on(e),m=e[5]&&sn(e),v=e[4]&&ln();return{c(){t=N("div"),n=N("div"),h&&h.c(),i=P(),r=N("div"),m&&m.c(),o=P(),a=N("div"),c=P(),v&&v.c(),E(a,"class",s="iframeModalCtn "+(e[5]?"_drawer":"_modal")+" svelte-1ogav75"),E(a,"modal-container-index",l=e[5]?void 0:e[1]),E(r,"class","fd-dialog__body svelte-1ogav75"),E(n,"class",u="fd-dialog__content "+(e[5]?e[0].backdrop?"drawer drawer-dialog__content "+(e[3]?"btp-drawer__backdrop":"drawer__backdrop"):"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+e[1])+" svelte-1ogav75"),E(n,"data-testid",d=e[6]?"modal-mf":"drawer-mf"),E(n,"role","dialog"),E(n,"aria-modal","true"),E(n,"aria-labelledby","dialog-title-1"),E(t,"class",f=b(e[6]||e[5]&&e[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog "+(e[3]?"btp-drawer-dialog":"drawer-dialog"))+" svelte-1ogav75"),E(t,"style",p=e[6]?"z-index:1001":"")},m(e,s){C(e,t,s),y(t,n),h&&h.m(n,null),y(n,i),y(n,r),m&&m.m(r,null),y(r,o),y(r,a),y(n,c),v&&v.m(n,null),g=!0},p(e,[c]){e[6]||e[5]&&e[0].header?h?(h.p(e,c),97&c&&fe(h,1)):(h=on(e),h.c(),fe(h,1),h.m(n,i)):h&&(ue(),pe(h,1,1,(()=>{h=null})),de()),e[5]?m?(m.p(e,c),32&c&&fe(m,1)):(m=sn(e),m.c(),fe(m,1),m.m(r,o)):m&&(ue(),pe(m,1,1,(()=>{m=null})),de()),(!g||32&c&&s!==(s="iframeModalCtn "+(e[5]?"_drawer":"_modal")+" svelte-1ogav75"))&&E(a,"class",s),(!g||34&c&&l!==(l=e[5]?void 0:e[1]))&&E(a,"modal-container-index",l),e[4]?v||(v=ln(),v.c(),v.m(n,null)):v&&(v.d(1),v=null),(!g||43&c&&u!==(u="fd-dialog__content "+(e[5]?e[0].backdrop?"drawer drawer-dialog__content "+(e[3]?"btp-drawer__backdrop":"drawer__backdrop"):"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+e[1])+" svelte-1ogav75"))&&E(n,"class",u),(!g||64&c&&d!==(d=e[6]?"modal-mf":"drawer-mf"))&&E(n,"data-testid",d),(!g||105&c&&f!==(f=b(e[6]||e[5]&&e[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog "+(e[3]?"btp-drawer-dialog":"drawer-dialog"))+" svelte-1ogav75"))&&E(t,"class",f),(!g||64&c&&p!==(p=e[6]?"z-index:1001":""))&&E(t,"style",p)},i(e){g||(fe(h),fe(m),g=!0)},o(e){pe(h),pe(m),g=!1},d(e){e&&S(t),h&&h.d(),m&&m.d(),v&&v.d()}}}function un(e,t,n){let{$$slots:i={},$$scope:r}=t,{settings:o}=t,{isDataPrepared:a=!1}=t,{nodepath:s}=t,{modalIndex:l}=t,{disableBackdrop:c}=t;const u=W();let d,f,p,g,h,m=!1,v=!1,b=!1,_=!1,w=!1,y=!0,C=K("store");const S=e=>Vt.getNodeLabel(e),x=async e=>{if(!m&&!v)if(a)if(d.webcomponent)n(4,b=!1),w?await P():await N(),bt.renderWebComponent(d.viewUrl,document.querySelector(h),{context:p.context,clientPermissions:d.clientPermissions||{},pathParams:p.pathParams||{}},d,void 0,!0),u("wcCreated",{modalWC:document.querySelector(h),modalWCData:{...p,nodeParams:g}}),v=!0;else{const e=await k(d.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:g});u("iframeCreated",{modalIframe:e,modalIframeData:{...p,nodeParams:g}}),m=!0}else await(async e=>{const t=e&&e.length?Et.getPathWithoutHash(e):"",i=Rt.parseParams(t.split("?")[1]);g=Rt.getNodeParams(i);const r=await at.extractDataFromPath(e);d=r.nodeObject,n(5,w=o.isDrawer||"object"==typeof d.drawer),h=w?"._drawer":`[modal-container-index="${l}"]`,n(0,o._liveLabel=!1,o),w?(n(6,y=!1),void 0===o.header?(n(0,o.header=!0,o),n(0,o.title=S(d),o),n(0,o._liveLabel=!0,o)):o.header&&o.header.title&&n(0,o.title=o.header.title,o),void 0!==o.backdrop&&o.backdrop||(n(0,o.backdrop=!1,o),u("drawerState",{activeDrawer:!0})),o.size||n(0,o.size="s",o),void 0===o.overlap&&n(0,o.overlap=!0,o)):o.title||(n(0,o.title=S(d),o),n(0,o._liveLabel=!0,o)),p=r.pathData,n(8,a=!0)})(e)},N=async()=>{let e,t;const n=document.querySelector(".lui-modal-index-"+l),{size:i,width:r,height:a}=o,s=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(n.classList.remove("lui-modal-fullscreen"),r&&r.match(s)&&a&&a.match(s))e=a,t=r;else switch(i){case"fullscreen":e="100vh",t="100vw",n.classList.add("lui-modal-fullscreen");break;case"m":e="80%",t="60%";break;case"s":e="80%",t="40%";break;default:e="80%",t="80%"}n.setAttribute("style",`width:${t};height:${e};`)},k=async(e,t)=>{w?await P():await N(),e&&(e=Rt.substituteViewUrl(e,t));const n=await At.createIframe(e,void 0,d,"modal",t);return document.querySelector(h).appendChild(n),n};async function P(e){let t="";const n=document.getElementsByClassName("drawer"),i=document.getElementsByClassName("drawer-dialog");o.size&&("l"===o.size?t="width:75%;":"m"===o.size?t="width:50%;":"s"===o.size?t="width:25%;":"xs"===o.size&&(t="width:15.5%;")),o.backdrop?n[0].setAttribute("style",t):(i[0].setAttribute("style",t),n[0].setAttribute("style","width:100%"))}H((()=>{x(s)}));const I=async e=>{if("luigi.show-loading-indicator"===e.data.msg&&n(4,b=!0),"luigi.hide-loading-indicator"===e.data.msg&&n(4,b=!1),"luigi.get-context"===e.data.msg){_=!0;(!d||!d.loadingIndicator||!1!==d.loadingIndicator.hideAutomatically)&&function(){let e;e=y?document.querySelector(`.lui-modal-mf.lui-modal-index-${l} .spinnerContainer`):document.querySelector(".drawer .spinnerContainer");e&&e.classList.contains("fade-out")&&(e.classList.remove("fade-out"),setTimeout((()=>{n(4,b=!1)}),250))}()}"luigi.close-modal"===e.data.msg&&u("close",{type:"modal"}),"luigi.navigation.updateModalSettings"===e.data.msg&&((e.data.updatedModalSettings.title||""===e.data.updatedModalSettings.title)&&n(0,o.title=e.data.updatedModalSettings.title,o),(e.data.updatedModalSettings.size||e.data.updatedModalSettings.width||e.data.updatedModalSettings.height)&&(n(0,o.size=e.data.updatedModalSettings.size,o),n(0,o.height=e.data.updatedModalSettings.height,o),n(0,o.width=e.data.updatedModalSettings.width,o),await N()),Ke.getConfigBooleanValue("routing.showModalPathInUrl")&&xt.updateModalDataInUrl(Rt.getModalPathFromPath(),{title:o.title,size:o.size,height:o.height,width:o.width},e.data.addHistoryEntry))};j((()=>{Dt.doOnStoreChange(C,(()=>{o._liveLabel&&d&&n(0,o.title=S(d),o)}),["navigation.viewgroupdata"]),n(3,f=Ke.getConfigValue("settings.btpToolLayout")&&Et.requestExperimentalFeature("btpToolLayout",!1)),Ot.addEventListener("message",I),(!o.isDrawer||o.backdrop)&&At.disableA11YKeyboardExceptClassName(".lui-modal-index-"+l),window.focus(),setTimeout((()=>{var e;_||d.webcomponent||!1===(null==(e=d.loadingIndicator)?void 0:e.enabled)||n(4,b=!0)}),250)})),z((()=>{Ot.removeEventListener("message",I),(!o.isDrawer||o.backdrop)&&At.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+l)}));return e.$$set=e=>{"settings"in e&&n(0,o=e.settings),"isDataPrepared"in e&&n(8,a=e.isDataPrepared),"nodepath"in e&&n(9,s=e.nodepath),"modalIndex"in e&&n(1,l=e.modalIndex),"disableBackdrop"in e&&n(2,c=e.disableBackdrop),"$$scope"in e&&n(10,r=e.$$scope)},[o,l,c,f,b,w,y,u,a,s,r,i,()=>u("close",{activeDrawer:!1})]}class dn extends Se{constructor(e){super(),Ce(this,e,un,cn,s,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2})}}function fn(e,t,n){const i=e.slice();return i[27]=t[n][0],i[28]=t[n][1],i[29]=t,i[30]=n,i}function pn(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function gn(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function hn(e){let t,n=e[1][1].settings&&mn(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){e[1][1].settings?n?n.p(e,i):(n=mn(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function mn(e){let t,n,i=me(Object.entries(e[1][1].settings)),r=[];for(let o=0;o<i.length;o+=1)r[o]=kn(fn(e,i,o));return{c(){t=N("div"),n=N("div");for(let e=0;e<r.length;e+=1)r[e].c();E(n,"class","fd-container fd-form-layout-grid-container"),E(t,"class","fd-page__content")},m(e,i){C(e,t,i),y(t,n);for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(n,null)},p(e,t){if(16191&t[0]){let o;for(i=me(Object.entries(e[1][1].settings)),o=0;o<i.length;o+=1){const a=fn(e,i,o);r[o]?r[o].p(a,t):(r[o]=kn(a),r[o].c(),r[o].m(n,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(e){e&&S(t),x(r,e)}}}function vn(e){let t;function n(e,t){return e[28].isEditable||void 0===e[28].isEditable?_n:bn}let i=n(e),r=i(e);return{c(){r.c(),t=I()},m(e,n){r.m(e,n),C(e,t,n)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r.d(1),r=i(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){e&&S(t),r.d(e)}}}function bn(e){let t,n,i,r=e[0][e[1][0]][e[27]]+"";return{c(){t=N("div"),n=k(r),E(t,"class","fd-text"),E(t,"data-testid","lui-us-input"+e[30]),E(t,"id","fd-form-input-"+e[30]),E(t,"disabled",i=void 0!==e[28].isEditable&&!e[28].isEditable)},m(e,i){C(e,t,i),y(t,n)},p(e,o){3&o[0]&&r!==(r=e[0][e[1][0]][e[27]]+"")&&V(n,r),2&o[0]&&i!==(i=void 0!==e[28].isEditable&&!e[28].isEditable)&&E(t,"disabled",i)},d(e){e&&S(t)}}}function _n(e){let t,n,i,r,o;function a(){e[17].call(t,e[27])}return{c(){t=N("input"),E(t,"class","fd-input fd-input--compact"),E(t,"type","text"),E(t,"aria-label","Image label"),E(t,"placeholder",n=e[5](e[28].placeholder)),E(t,"data-testid","lui-us-input"+e[30]),E(t,"id","fd-form-input-"+e[30]),t.disabled=i=void 0!==e[28].isEditable&&!e[28].isEditable},m(n,i){C(n,t,i),R(t,e[0][e[1][0]][e[27]]),r||(o=T(t,"input",a),r=!0)},p(r,o){e=r,34&o[0]&&n!==(n=e[5](e[28].placeholder))&&E(t,"placeholder",n),2&o[0]&&i!==(i=void 0!==e[28].isEditable&&!e[28].isEditable)&&(t.disabled=i),3&o[0]&&t.value!==e[0][e[1][0]][e[27]]&&R(t,e[0][e[1][0]][e[27]])},d(e){e&&S(t),r=!1,o()}}}function wn(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v=e[11](e[0][e[1][0]][e[27]],e[28].options)+"",b=Array.isArray(e[28].options);function _(...t){return e[18](e[27],e[30],e[28],...t)}function w(){return e[19](e[28])}let x=b&&yn(e);return{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("button"),s=N("span"),l=k(v),u=P(),d=N("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=P(),g=N("div"),x&&x.c(),E(s,"class","fd-select__text-content"),E(s,"data-testid","lui-us-input"+e[30]),E(s,"disabled",c=void 0!==e[28].isEditable&&!e[28].isEditable),E(d,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),E(a,"tabindex","0"),E(a,"aria-expanded","false"),E(a,"aria-haspopup","listbox"),E(a,"aria-label","Language"),E(a,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),E(a,"data-testid",f="lui-us-"+e[28].type+"-"+e[30]),E(a,"id","fd-form-input-"+e[30]),E(r,"class","fd-select fd-select--compact"),E(i,"class","fd-popover__control"),E(i,"aria-expanded","false"),E(i,"aria-haspopup","true"),E(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),E(g,"aria-hidden","true"),E(n,"class","fd-popover"),E(t,"class","fd-form-item")},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),y(s,l),y(a,u),y(a,d),y(n,p),y(n,g),x&&x.m(g,null),h||(m=[T(a,"keydown",_),T(i,"click",A(w))],h=!0)},p(t,n){e=t,3&n[0]&&v!==(v=e[11](e[0][e[1][0]][e[27]],e[28].options)+"")&&V(l,v),2&n[0]&&c!==(c=void 0!==e[28].isEditable&&!e[28].isEditable)&&E(s,"disabled",c),2&n[0]&&f!==(f="lui-us-"+e[28].type+"-"+e[30])&&E(a,"data-testid",f),2&n[0]&&(b=Array.isArray(e[28].options)),b?x?x.p(e,n):(x=yn(e),x.c(),x.m(g,null)):x&&(x.d(1),x=null)},d(e){e&&S(t),x&&x.d(),h=!1,o(m)}}}function yn(e){let t,n=me(e[28].options),i=[];for(let r=0;r<n.length;r+=1)i[r]=Cn(gn(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-list fd-list--compact fd-list--dropdown"),E(t,"id","fd-form-input-dropdown-"+e[30]),E(t,"role","listbox")},m(e,n){C(e,t,n);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(t,null)},p(e,r){if(4634&r[0]){let o;for(n=me(e[28].options),o=0;o<n.length;o+=1){const a=gn(e,n,o);i[o]?i[o].p(a,r):(i[o]=Cn(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Cn(e){let t,n,i,r,a,s,l,c=e[12](e[31])+"";function u(){return e[20](e[27],e[31],e[33])}return{c(){t=N("li"),n=N("span"),i=k(c),r=P(),E(n,"class","fd-list__title"),E(t,"role","option"),E(t,"class","fd-list__item"),E(t,"data-testid","lui-us-option"+e[30]+"_"+e[33]),E(t,"aria-selected",a=e[4]===e[33]),E(t,"tabindex","0"),O(t,"is-selected",e[4]===e[33]),O(t,"is-focus",e[4]===e[33])},m(o,a){C(o,t,a),y(t,n),y(n,i),y(t,r),s||(l=[T(t,"click",u),T(t,"keydown",e[21])],s=!0)},p(n,r){e=n,2&r[0]&&c!==(c=e[12](e[31])+"")&&V(i,c),16&r[0]&&a!==(a=e[4]===e[33])&&E(t,"aria-selected",a),16&r[0]&&O(t,"is-selected",e[4]===e[33]),16&r[0]&&O(t,"is-focus",e[4]===e[33])},d(e){e&&S(t),s=!1,o(l)}}}function Sn(e){let t,n,i,r=me(e[28].options),o=[];for(let a=0;a<r.length;a+=1)o[a]=xn(pn(e,r,a));return{c(){t=N("div"),n=N("div");for(let e=0;e<o.length;e+=1)o[e].c();E(n,"class",i="fd-segmented-button enum-buttons-container-"+e[27]+" svelte-1q4f8ra"),E(n,"role","group"),E(n,"aria-label","Group label"),E(t,"class","fd-form-item")},m(e,i){C(e,t,i),y(t,n);for(let t=0;t<o.length;t+=1)o[t]&&o[t].m(n,null)},p(e,t){if(13315&t[0]){let i;for(r=me(e[28].options),i=0;i<r.length;i+=1){const a=pn(e,r,i);o[i]?o[i].p(a,t):(o[i]=xn(a),o[i].c(),o[i].m(n,null))}for(;i<o.length;i+=1)o[i].d(1);o.length=r.length}2&t[0]&&i!==(i="fd-segmented-button enum-buttons-container-"+e[27]+" svelte-1q4f8ra")&&E(n,"class",i)},d(e){e&&S(t),x(o,e)}}}function xn(e){let t,n,i,r,o,a,s,l,c,u=e[12](e[31])+"";function d(){return e[22](e[27],e[31])}return{c(){t=N("button"),n=k(u),i=P(),E(t,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(e[0][e[1][0]][e[27]]===(e[31].value||e[31])?"is-selected":"")),E(t,"id",o=e[13]("lui-us-enum_button",e[27],e[31])),E(t,"data-testid",a=e[13]("lui-us-enum_button",e[27],e[31])),t.disabled=s=void 0!==e[28].isEditable&&!e[28].isEditable},m(e,r){C(e,t,r),y(t,n),y(t,i),l||(c=T(t,"click",d),l=!0)},p(i,l){e=i,2&l[0]&&u!==(u=e[12](e[31])+"")&&V(n,u),3&l[0]&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(e[0][e[1][0]][e[27]]===(e[31].value||e[31])?"is-selected":""))&&E(t,"class",r),2&l[0]&&o!==(o=e[13]("lui-us-enum_button",e[27],e[31]))&&E(t,"id",o),2&l[0]&&a!==(a=e[13]("lui-us-enum_button",e[27],e[31]))&&E(t,"data-testid",a),2&l[0]&&s!==(s=void 0!==e[28].isEditable&&!e[28].isEditable)&&(t.disabled=s)},d(e){e&&S(t),l=!1,c()}}}function $n(e){let t,n,i,r,o,a,s,l,c,u;function d(){e[23].call(i,e[27])}return{c(){t=N("label"),n=N("span"),i=N("input"),a=P(),s=N("div"),s.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',E(i,"class","fd-switch__input"),E(i,"type","checkbox"),E(i,"aria-labelledby","label1"),E(i,"data-testid",r="lui-us-checkbox-switch_"+e[27]),i.disabled=o=void 0!==e[28].isEditable&&!e[28].isEditable,E(s,"class","fd-switch__slider"),E(n,"class","fd-switch__control"),E(t,"class","fd-switch fd-switch--compact"),E(t,"data-testid",l="lui-us-label-switch_"+e[27])},m(r,o){C(r,t,o),y(t,n),y(n,i),i.checked=e[0][e[1][0]][e[27]],y(n,a),y(n,s),c||(u=T(i,"change",d),c=!0)},p(n,a){e=n,2&a[0]&&r!==(r="lui-us-checkbox-switch_"+e[27])&&E(i,"data-testid",r),2&a[0]&&o!==(o=void 0!==e[28].isEditable&&!e[28].isEditable)&&(i.disabled=o),3&a[0]&&(i.checked=e[0][e[1][0]][e[27]]),2&a[0]&&l!==(l="lui-us-label-switch_"+e[27])&&E(t,"data-testid",l)},d(e){e&&S(t),c=!1,u()}}}function Nn(e){let t,n,i,r;function o(){e[24].call(t,e[27])}return{c(){t=N("input"),E(t,"type","checkbox"),E(t,"class","fd-checkbox"),t.disabled=n=void 0!==e[28].isEditable&&!e[28].isEditable},m(n,a){C(n,t,a),t.checked=e[0][e[1][0]][e[27]],i||(r=T(t,"change",o),i=!0)},p(i,r){e=i,2&r[0]&&n!==(n=void 0!==e[28].isEditable&&!e[28].isEditable)&&(t.disabled=n),3&r[0]&&(t.checked=e[0][e[1][0]][e[27]])},d(e){e&&S(t),i=!1,r()}}}function kn(e){let t,n,i,r,o,a,s,l,c,u,d,f,p=e[5](e[28].label)+"",g="enum"===e[28].type&&"button"===e[28].style&&Array.isArray(e[28].options),h="string"===e[28].type&&vn(e),m="enum"===e[28].type&&(void 0===e[28].style||"list"===e[28].style)&&wn(e),v=g&&Sn(e),b="boolean"===e[28].type&&(!e[28].style||"switch"===e[28].style)&&$n(e),_="boolean"===e[28].type&&"checkbox"===e[28].style&&Nn(e);return{c(){t=N("div"),n=N("div"),i=N("label"),r=k(p),o=k(":"),a=P(),s=N("div"),h&&h.c(),l=P(),m&&m.c(),c=P(),v&&v.c(),u=P(),b&&b.c(),d=P(),_&&_.c(),f=P(),E(i,"class","fd-form-label svelte-1q4f8ra"),E(i,"for","fd-form-input-"+e[30]),E(n,"class","fd-col fd-col--4 svelte-1q4f8ra"),E(s,"class","fd-col fd-col--8 svelte-1q4f8ra"),E(t,"class","fd-row svelte-1q4f8ra")},m(e,p){C(e,t,p),y(t,n),y(n,i),y(i,r),y(i,o),y(t,a),y(t,s),h&&h.m(s,null),y(s,l),m&&m.m(s,null),y(s,c),v&&v.m(s,null),y(s,u),b&&b.m(s,null),y(s,d),_&&_.m(s,null),y(t,f)},p(e,t){34&t[0]&&p!==(p=e[5](e[28].label)+"")&&V(r,p),"string"===e[28].type?h?h.p(e,t):(h=vn(e),h.c(),h.m(s,l)):h&&(h.d(1),h=null),"enum"!==e[28].type||void 0!==e[28].style&&"list"!==e[28].style?m&&(m.d(1),m=null):m?m.p(e,t):(m=wn(e),m.c(),m.m(s,c)),2&t[0]&&(g="enum"===e[28].type&&"button"===e[28].style&&Array.isArray(e[28].options)),g?v?v.p(e,t):(v=Sn(e),v.c(),v.m(s,u)):v&&(v.d(1),v=null),"boolean"!==e[28].type||e[28].style&&"switch"!==e[28].style?b&&(b.d(1),b=null):b?b.p(e,t):(b=$n(e),b.c(),b.m(s,d)),"boolean"===e[28].type&&"checkbox"===e[28].style?_?_.p(e,t):(_=Nn(e),_.c(),_.m(s,null)):_&&(_.d(1),_=null)},d(e){e&&S(t),h&&h.d(),m&&m.d(),v&&v.d(),b&&b.d(),_&&_.d()}}}function Pn(e){let t,i,r,a=e[1]&&e[1][0]&&e[1][1]&&hn(e);return{c(){t=N("div"),a&&a.c(),E(t,"class","lui-usersettings-content svelte-1q4f8ra")},m(n,o){C(n,t,o),a&&a.m(t,null),i||(r=[T(window,"click",e[7]),T(window,"blur",e[7])],i=!0)},p(e,n){e[1]&&e[1][0]&&e[1][1]?a?a.p(e,n):(a=hn(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},i:n,o:n,d(e){e&&S(t),a&&a.d(),i=!1,o(r)}}}function In(e,t,n){return e&&n>0?e.matches(t)?e:In(e.parentNode,t,n-1):void 0}function Tn(e,t,n){let i,{userSettingGroup:r}=t,{storedUserSettingData:o}=t;const a=W();let s,l=K("getTranslation");f(e,l,(e=>n(5,i=e)));let{isComboOpen:c}=t;function u(e){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach((e=>{p(e,!1)}))}function d(e,t){let n=In(e.target,".fd-popover__control",20),i="true"===n.getAttribute("aria-expanded");(t||void 0===t)&&(u(),p(n,!i))}function p(e,t){const i=e.querySelector(".lui-activate-dropdown"),r=e.parentNode.querySelector(".fd-popover__body"),o=e.parentNode.querySelector(".fd-select__control");e.setAttribute("aria-expanded",t),r.setAttribute("aria-hidden",!t),o.setAttribute("aria-expanded",t),i.setAttribute("aria-expanded",t),n(14,c=t)}function g(e,t,i){n(4,s=i),n(0,o[r[0]][e]=t.value||t,o)}function h(e,t){document.querySelectorAll(".enum-buttons-container-"+e+" button").forEach((t=>{t.getAttribute("id")===`lui-us-enum_button_${e}_option`?t.classList.add("fd-button--emphasized"):t.classList.remove("fd-button--emphasized")})),n(0,o[r[0]][e]=t.value||t,o)}function m(e,t){let r;if(Array.isArray(t)){for(let i=0;i<t.length;i++){if(!Et.isObject(t[i])){r=e,n(4,s=t.indexOf(e));break}if(t[i].value&&t[i].value===e){r=t[i].label,n(4,s=i);break}}return i(r)}}function v(e,t,n,i){let r=In(e.target,".lui-anchor-node",20);const o=document.getElementById(`fd-form-input-dropdown-${n}`).children;let a=-1;if([...o].forEach(((e,t)=>{e.classList.contains("is-focus")&&(a=t)})),c){if(38===e.keyCode&&e.altKey&&(r.click(),r.focus()),e.keyCode===Ut&&!e.altKey){if(-1===a)return a=0,void o.item(a).classList.add("is-focus");a<i.options.length-1&&(o.item(a).classList.remove("is-focus"),a+=1,o.item(a).classList.add("is-focus"))}if(38===e.keyCode&&!e.altKey){if(-1===a)return a=a.length-1,void o.item(a).classList.add("is-focus");a>0&&a<i.options.length&&(o.item(a).classList.remove("is-focus"),a-=1,o.item(a).classList.add("is-focus"))}e.keyCode!==Bt&&e.keyCode!==jt||g(t,i.options[a],a)}else r.focus(),e.keyCode===Ut&&e.altKey&&r.click(),e.keyCode!==Ut||e.altKey||a<i.options.length-1&&g(t,i.options[a+1],a+1),38!==e.keyCode||e.altKey||a>0&&a<i.options.length&&g(t,i.options[a-1],a-1)}function b(e){if(c){let t=In(e.target,".fd-popover",20);t.blur(),e.keyCode!==jt&&e.keyCode!==Bt||(e.target.click(),u(),setTimeout((()=>{t.focus()}),0))}}m();return e.$$set=e=>{"userSettingGroup"in e&&n(1,r=e.userSettingGroup),"storedUserSettingData"in e&&n(0,o=e.storedUserSettingData),"isComboOpen"in e&&n(14,c=e.isComboOpen)},[o,r,v,b,s,i,l,u,d,g,h,m,function(e){return i(Et.isObject(e)?e.label:e)},function(e,t,n){return Et.isObject(n)?`${e}_${t}_${n.value}`:`${e}_${t}_${n}`},c,function(){a("updateSettingsObject",{storedUserSettingData:o})},()=>{u()},function(e){o[r[0]][e]=this.value,n(0,o)},(e,t,n,i)=>v(i,e,t,n),e=>d(event,e.isEditable),(e,t,n)=>g(e,t,n),e=>b(e),(e,t)=>h(e,t),function(e){o[r[0]][e]=this.checked,n(0,o)},function(e){o[r[0]][e]=this.checked,n(0,o)}]}class Ln extends Se{constructor(e){super(),Ce(this,e,Tn,Pn,s,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:An}=w;function En(e,t,n){const i=e.slice();return i[30]=t[n][0],i[11]=t[n][1],i[38]=n,i}function Vn(e,t,n){const i=e.slice();return i[39]=t[n],i}function Rn(e){let t,n;function i(e,t){return 2&t[0]&&(n=null),null==n&&(n=!!e[19](e[39][1])),n?On:Dn}let r=i(e,[-1,-1]),o=r(e);return{c(){t=N("div"),o.c(),E(t,"class","fd-list__avatar svelte-3jspkx")},m(e,n){C(e,t,n),o.m(t,null)},p(e,n){r===(r=i(e,n))&&o?o.p(e,n):(o.d(1),o=r(e),o&&(o.c(),o.m(t,null)))},d(e){e&&S(t),o.d()}}}function Dn(e){let t,n,i,r,o,a=e[39][1].initials&&Fn(e);return{c(){t=N("span"),r=P(),a&&a.c(),o=I(),E(t,"class",n="fd-list__icon "+(e[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-3jspkx"),E(t,"aria-label",i=e[39][1].altText?e[39][1].altText:""),D(t,"background-image","url(' "+e[39][1].icon+" ')"),D(t,"background-size","cover")},m(e,n){C(e,t,n),C(e,r,n),a&&a.m(e,n),C(e,o,n)},p(e,r){2&r[0]&&n!==(n="fd-list__icon "+(e[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-3jspkx")&&E(t,"class",n),2&r[0]&&i!==(i=e[39][1].altText?e[39][1].altText:"")&&E(t,"aria-label",i),2&r[0]&&D(t,"background-image","url(' "+e[39][1].icon+" ')"),e[39][1].initials?a?a.p(e,r):(a=Fn(e),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(e){e&&(S(t),S(r),S(o)),a&&a.d(e)}}}function On(e){let t,n,i,r;return{c(){t=N("span"),n=N("i"),E(n,"role","presentation"),E(n,"class",i=b(e[18](e[39][1].icon))+" svelte-3jspkx"),E(t,"class",r="fd-list__icon "+(e[39][1].iconClassAttribute||"")+" fd-list__thumbnail svelte-3jspkx")},m(e,i){C(e,t,i),y(t,n)},p(e,o){2&o[0]&&i!==(i=b(e[18](e[39][1].icon))+" svelte-3jspkx")&&E(n,"class",i),2&o[0]&&r!==(r="fd-list__icon "+(e[39][1].iconClassAttribute||"")+" fd-list__thumbnail svelte-3jspkx")&&E(t,"class",r)},d(e){e&&S(t)}}}function Fn(e){let t,n,i,r,o=(e[39][1].initials?e[39][1].initials:"")+"";return{c(){t=N("span"),n=k(o),E(t,"class",i="fd-list__icon "+(e[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-3jspkx"),E(t,"aria-label",r=e[39][1].altText?e[39][1].altText:"")},m(e,i){C(e,t,i),y(t,n)},p(e,a){2&a[0]&&o!==(o=(e[39][1].initials?e[39][1].initials:"")+"")&&V(n,o),2&a[0]&&i!==(i="fd-list__icon "+(e[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-3jspkx")&&E(t,"class",i),2&a[0]&&r!==(r=e[39][1].altText?e[39][1].altText:"")&&E(t,"aria-label",r)},d(e){e&&S(t)}}}function Mn(e){let t,n,i=e[10](e[39][1].sublabel)+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-list__byline svelte-3jspkx")},m(e,i){C(e,t,i),y(t,n)},p(e,t){1026&t[0]&&i!==(i=e[10](e[39][1].sublabel)+"")&&V(n,i)},d(e){e&&S(t)}}}function Un(e){let t,n,i,r,a,s,l,c,u,d,f=e[10](e[39][1].label?e[39][1].label:"")+"",p=e[39][1].icon&&Rn(e),g=e[39][1].sublabel&&Mn(e);function h(){return e[21](e[39])}function m(...t){return e[22](e[38],...t)}return{c(){t=N("li"),n=N("a"),p&&p.c(),i=P(),r=N("div"),a=N("div"),s=k(f),l=P(),g&&g.c(),c=P(),E(a,"class","fd-list__title"),E(r,"class","fd-list__content"),E(n,"tabindex","-1"),E(n,"class","fd-list__link fd-list__link--navigation-indicator"),E(n,"href","#"),E(t,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),E(t,"data-testid","us-navigation-item"),E(t,"role","listitem"),E(t,"tabindex","0")},m(e,o){C(e,t,o),y(t,n),p&&p.m(n,null),y(n,i),y(n,r),y(r,a),y(a,s),y(a,l),g&&g.m(a,null),y(t,c),u||(d=[T(t,"click",L(h)),T(t,"keydown",m)],u=!0)},p(t,r){(e=t)[39][1].icon?p?p.p(e,r):(p=Rn(e),p.c(),p.m(n,i)):p&&(p.d(1),p=null),1026&r[0]&&f!==(f=e[10](e[39][1].label?e[39][1].label:"")+"")&&V(s,f),e[39][1].sublabel?g?g.p(e,r):(g=Mn(e),g.c(),g.m(a,null)):g&&(g.d(1),g=null)},d(e){e&&S(t),p&&p.d(),g&&g.d(),u=!1,o(d)}}}function Bn(e){let t,n=me(Object.entries(e[11])),i=[];for(let r=0;r<n.length;r+=1)i[r]=Un(Vn(e,n,r));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=I()},m(e,n){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,n);C(e,t,n)},p(e,r){if(803846&r[0]){let o;for(n=me(Object.entries(e[11])),o=0;o<n.length;o+=1){const a=Vn(e,n,o);i[o]?i[o].p(a,r):(i[o]=Un(a),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function qn(e){let t,n,i,r;function o(t){e[23](t)}function a(t){e[24](t)}let s={storedUserSettingData:e[0],userSettingGroup:e[11]};return void 0!==e[9]&&(s.closeDropDown=e[9]),void 0!==e[8]&&(s.isComboOpen=e[8]),t=new Ln({props:s}),Q.push((()=>ve(t,"closeDropDown",o))),Q.push((()=>ve(t,"isComboOpen",a))),t.$on("updateSettingsObject",e[15]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),r=!0},p(e,r){const o={};1&r[0]&&(o.storedUserSettingData=e[0]),2048&r[0]&&(o.userSettingGroup=e[11]),!n&&512&r[0]&&(n=!0,o.closeDropDown=e[9],ie((()=>n=!1))),!i&&256&r[0]&&(i=!0,o.isComboOpen=e[8],ie((()=>i=!1))),t.$set(o)},i(e){r||(fe(t.$$.fragment,e),r=!0)},o(e){pe(t.$$.fragment,e),r=!1},d(e){we(t,e)}}}function jn(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,I,L,A,R,D,O,F,M,U,B,q,j,H,z,W,G,K,J,Y,Q,Z,X,ee,te,ne=e[10](e[4])+"",ie=e[10](e[7])+"",re=e[10](e[5])+"",oe=e[10](e[6])+"",ae=me(Object.entries(e[1])),se=[];for(let o=0;o<ae.length;o+=1)se[o]=Bn(En(e,ae,o));let le=e[11]&&qn(e);return{c(){t=N("section"),n=N("div"),i=N("div"),r=N("div"),a=N("div"),s=N("div"),l=N("div"),c=N("div"),u=N("h5"),d=k(ne),f=P(),p=N("div"),g=N("ul");for(let e=0;e<se.length;e+=1)se[e].c();h=P(),m=N("div"),v=N("div"),b=N("div"),_=N("div"),w=N("button"),w.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',I=P(),L=N("div"),A=N("h5"),R=k(ie),D=P(),O=N("div"),F=N("div"),le&&le.c(),M=P(),U=N("div"),B=P(),q=N("div"),j=P(),H=N("footer"),z=N("div"),W=N("div"),G=N("button"),K=k(re),J=P(),Y=N("div"),Q=N("button"),Z=k(oe),E(u,"class","fd-title fd-title--h5"),E(u,"id","dialog-title-2"),E(u,"aria-label","text"),E(c,"class","fd-bar__element"),E(l,"class","fd-bar__left"),E(s,"class","fd-bar fd-bar--subheader"),E(g,"class","fd-list fd-list--byline fd-list--navigation fd-settings__list lui-us-list"),E(g,"role","list"),E(p,"class","fd-settings__list-container lui-fd-side-nav__main-navigation svelte-3jspkx"),E(a,"class","fd-settings__list-area lui-usersettings-left-nav svelte-3jspkx"),E(w,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-3jspkx"),E(w,"aria-label","button"),E(_,"class","fd-bar__element"),E(A,"class","fd-title fd-title--h5"),E(A,"aria-label","text"),E(L,"class","fd-bar__element"),E(b,"class","fd-bar__left"),E(v,"class","fd-bar fd-bar--header fd-settings__header svelte-3jspkx"),E(F,"class","usersettingseditor mf-wrapper svelte-3jspkx"),E(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-3jspkx"),E(q,"class","wcUserSettingsCtn wc-wrapper svelte-3jspkx"),E(O,"class","fd-settings__content fd-settings__content--no-background lui-usersettings-content svelte-3jspkx"),E(m,"class","fd-settings__detail-area"),E(r,"class","fd-settings__container"),E(i,"class","fd-dialog__body fd-settings__dialog-body lui-usersettings-body svelte-3jspkx"),E(G,"data-testid","lui-us-saveBtn"),E(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),E(W,"class","fd-bar__element"),E(Q,"data-testid","lui-us-dismissBtn"),E(Q,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),E(Y,"class","fd-bar__element"),E(z,"class","fd-bar__right"),E(H,"class","fd-dialog__footer fd-bar fd-bar--footer"),E(n,"class","fd-dialog__content fd-settings__dialog-content lui-usersettings-dialog-size svelte-3jspkx"),E(n,"role","dialog"),E(n,"aria-modal","true"),E(n,"aria-labelledby","dialog-title-2"),E(t,"class","fd-dialog fd-settings fd-dialog--active lui-usersettings-dialog svelte-3jspkx"),E(t,"tabindex","0")},m(o,S){C(o,t,S),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),y(s,l),y(l,c),y(c,u),y(u,d),y(a,f),y(a,p),y(p,g);for(let e=0;e<se.length;e+=1)se[e]&&se[e].m(g,null);y(r,h),y(r,m),y(m,v),y(v,b),y(b,_),y(_,w),y(b,I),y(b,L),y(L,A),y(A,R),y(m,D),y(m,O),y(O,F),le&&le.m(F,null),y(O,M),y(O,U),y(O,B),y(O,q),y(n,j),y(n,H),y(H,z),y(z,W),y(W,G),y(G,K),y(z,J),y(z,Y),y(Y,Q),y(Q,Z),X=!0,ee||(te=[T(An,"resize",e[20]),T(An,"keydown",e[3]),T(w,"click",e[17]),T(G,"click",e[25]),T(Q,"click",e[26])],ee=!0)},p(e,t){if((!X||1040&t[0])&&ne!==(ne=e[10](e[4])+"")&&V(d,ne),803846&t[0]){let n;for(ae=me(Object.entries(e[1])),n=0;n<ae.length;n+=1){const i=En(e,ae,n);se[n]?se[n].p(i,t):(se[n]=Bn(i),se[n].c(),se[n].m(g,null))}for(;n<se.length;n+=1)se[n].d(1);se.length=ae.length}(!X||1152&t[0])&&ie!==(ie=e[10](e[7])+"")&&V(R,ie),e[11]?le?(le.p(e,t),2048&t[0]&&fe(le,1)):(le=qn(e),le.c(),fe(le,1),le.m(F,null)):le&&(ue(),pe(le,1,1,(()=>{le=null})),de()),(!X||1056&t[0])&&re!==(re=e[10](e[5])+"")&&V(K,re),(!X||1088&t[0])&&oe!==(oe=e[10](e[6])+"")&&V(Z,oe)},i(e){X||(fe(le),X=!0)},o(e){pe(le),X=!1},d(e){e&&S(t),x(se,e),le&&le.d(),ee=!1,o(te)}}}function Hn(e,t){let n={};return e.forEach((e=>{for(let i in e){for(let t in e[i].settings)e[i].settings[t]="";n[i]={...e[i].settings,...t[i]}}})),n}function zn(e,t,n){return e&&n>0?e.matches(t)?e:zn(e.parentNode,t,n-1):void 0}function Wn(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Gn(e,t,n){let i,{userSettingGroups:r}=t;const o=W();let a,{storedUserSettings:s={}}=t,l={},c=K("getTranslation");f(e,c,(e=>n(10,i=e))),Ke.getConfigValue("settings.userSettings.style");let u,d,p,g,h=ct.dialogHeader,m=ct.saveBtn,v=ct.dismissBtn,b={};function _(e,t){n(11,a=e);let i=e[0],r=e[1];if(function(e){if(n(7,d=e.title?e.title:""),Et.isObject(e.settings))for(let t in e.settings){let n=e.settings[t];"enum"===n.type?Array.isArray(n.options)||console.error(`There is no options array for '${t}' defined in the Luigi userSettings config.`):void 0===n.type&&console.error(`There is no data type defined for '${t}' in the Luigi userSettings config.`)}}(r),t){document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach((e=>{e.classList.remove("is-selected")}));zn(t.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<Ie&&y()}else{document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),0!==window.innerWidth&&window.innerWidth<Ie&&Wn()}if(r.viewUrl){if(Mt.hideUserSettingsIframe(),r.webcomponent)return void function(e,t){const i=document.querySelector(".wcUserSettingsCtn");if(!i)return;i.innerHTML="";const r={};i.eventBus={listeners:r,onPublishEvent:e=>{n(0,s[t]=e.detail,s)}};const o={...e.context,userSettingsdata:s[t]},a=e.eventListeners,l=e.webcomponent,c=e.label;bt.renderWebComponent(e.viewUrl,i,Et.isObject(o)?{context:o}:{},Et.isObject(l)?{eventListeners:a,webcomponent:l}:{},c?c.replace(/ /g,"").toLowerCase():null),document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}({...r},i);if(b.hasOwnProperty(i))Mt.getUserSettingsIframesInDom().forEach((e=>{e.userSettingsGroup===i&&(e.style.display="block")}));else{const e=It.hasDecorators()?It.applyDecorators(r.viewUrl):r.viewUrl;let t=Mt.createIframe(e,i);b[i]=t}document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}else document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}z((()=>{At.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")})),j((()=>{const e=Ke.getConfigValue("userSettings.userSettingsDialog"),t=e||Ke.getConfigValue("settings.userSettings.userSettingsDialog");t&&(n(4,h=t.dialogHeader?t.dialogHeader:h),n(5,m=t.saveBtn?t.saveBtn:m),n(6,v=t.dismissBtn?t.dismissBtn:v)),u=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Ot.addEventListener("message",(e=>{const t=At.getValidMessageSource(e);if(!t||"custom"!==e.data.msg)return;t._ready=!0;const i=$e.convertCustomMessageInternalToUser(e.data);if("luigi.updateUserSettings"===i.id){const t=Mt.findActiveCustomUserSettingsIframe(e.source);if(t){let e=t.getAttribute("userSettingsGroup");n(0,s[e]=i.data,s)}}"luigi.navBackMobile"===i.id&&0!==window.window.innerWidth&&window.innerWidth<Ie&&y()})),Ke.readUserSettings().then((e=>{l=JSON.parse(JSON.stringify(e)),n(0,s=Hn(JSON.parse(JSON.stringify(r)),null===e?{}:e)),_([u,r[0][u]])})).catch((e=>{e&&e.message&&console.error(e.message),e&&e.closeDialog&&o("close")})),At.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")}));function w(){Ke.storeUserSettings(s,l).then((()=>{o("close")})).catch((e=>{e&&e.message&&console.error(e.message),e&&e.closeDialog&&o("close")}))}function y(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),0!==window.innerWidth&&window.innerWidth<Ie&&Wn()}let C;function S(e,t){let n=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");e.keyCode!==Bt&&e.keyCode!==jt||n[t].click(),35===e.keyCode&&n[Object.keys(r).length-1].focus(),36===e.keyCode&&n[0].focus()}return e.$$set=e=>{"userSettingGroups"in e&&n(1,r=e.userSettingGroups),"storedUserSettings"in e&&n(0,s=e.storedUserSettings)},[s,r,S,function(e){e.keyCode===qt&&p?g():e.keyCode!==qt||p||o("close")},h,m,v,d,p,g,i,a,o,c,_,e=>{n(0,s=e.detail.userSettings)},w,y,function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},()=>{const e=window.innerWidth>=Ie&&C<Ie;if(window.innerWidth<Ie&&C>=Ie&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),e&&(document.querySelector(".confirm-button").style.display="block"),!C){let e=document.querySelector(".confirm-button");window.innerWidth<Ie?e.style.display="none":e.style.display="block"}C=window.innerWidth},e=>_(e,event),(e,t)=>S(t,[e]),function(e){g=e,n(9,g)},function(e){p=e,n(8,p)},()=>w(),()=>o("close")]}class Kn extends Se{constructor(e){super(),Ce(this,e,Gn,jn,s,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Jn}=w;function Yn(e){let t;return{c(){t=N("div"),E(t,"class","iframeSplitViewCnt svelte-1dkgq68")},m(e,n){C(e,t,n)},p:n,d(e){e&&S(t)}}}function Qn(e){let t,n,i,r,o,a,s,l=e[1].title+"";return{c(){t=N("div"),n=N("a"),n.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',i=P(),r=N("h1"),o=k(l),E(n,"class","lui-collapse-btn svelte-1dkgq68"),E(t,"id","splitViewDraggerCollapsed"),E(t,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),E(r,"class","fd-splitView__title svelte-1dkgq68")},m(l,c){C(l,t,c),y(t,n),C(l,i,c),C(l,r,c),y(r,o),a||(s=T(n,"click",A(L(e[4]))),a=!0)},p(e,t){2&t&&l!==(l=e[1].title+"")&&V(o,l)},d(e){e&&(S(t),S(i),S(r)),a=!1,s()}}}function Zn(e){let t,i,r,a,s,l,c,u;return{c(){t=N("div"),i=P(),r=N("div"),a=N("div"),s=P(),l=N("a"),l.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',E(t,"id","splitViewDraggerBackdrop"),E(a,"class","splitViewSeparator"),E(l,"class","lui-collapse-btn svelte-1dkgq68"),E(r,"id","splitViewDragger")},m(n,o){C(n,t,o),C(n,i,o),C(n,r,o),y(r,a),y(r,s),y(r,l),c||(u=[T(l,"click",A(L(e[3]))),T(r,"mousedown",A(e[6]))],c=!0)},p:n,d(e){e&&(S(t),S(i),S(r)),c=!1,o(u)}}}function Xn(e){let t,n,i,r,o,a,s,l,c,u;function d(e,t){return e[0]?Qn:Yn}n=new rn({props:{area:"split-view",disable:e[2]}}),n.$on("stateChanged",e[7]);let f=d(e),p=f(e),g=!e[0]&&Zn(e);return{c(){t=N("div"),be(n.$$.fragment),i=P(),r=N("div"),p.c(),a=P(),g&&g.c(),s=I(),E(r,"class","lui-split-view svelte-1dkgq68"),E(t,"id","splitViewContainer"),E(t,"class",o="fd-page splitViewContainer "+(e[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(o,d){C(o,t,d),_e(n,t,null),y(t,i),y(t,r),p.m(r,null),C(o,a,d),g&&g.m(o,d),C(o,s,d),l=!0,c||(u=T(Jn,"resize",e[5]),c=!0)},p(e,[i]){const a={};4&i&&(a.disable=e[2]),n.$set(a),f===(f=d(e))&&p?p.p(e,i):(p.d(1),p=f(e),p&&(p.c(),p.m(r,null))),(!l||1&i&&o!==(o="fd-page splitViewContainer "+(e[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&E(t,"class",o),e[0]?g&&(g.d(1),g=null):g?g.p(e,i):(g=Zn(e),g.c(),g.m(s.parentNode,s))},i(e){l||(fe(n.$$.fragment,e),l=!0)},o(e){pe(n.$$.fragment,e),l=!1},d(e){e&&(S(t),S(a),S(s)),we(n),p.d(),g&&g.d(e),c=!1,u()}}}function ei(e,t,n){const i=W();let r,o,a,s,l,c,u,d,f,p={draggable:null,iframe:null,split:null},{nodepath:g}=t,{collapsed:h}=t,{splitViewSettings:m={}}=t,{isDataPrepared:v=!1}=t,{disableBackdrop:b}=t,_=!1,w=K("getUnsavedChangesModalPromise");const y=()=>({get:()=>({collapsed:h,splitViewSettings:m,isDataPrepared:v,lastNode:r,pathData:o,nodeParams:a,currentNode:s,splitViewIframe:c,splitViewIframeData:u,splitViewWC:d,splitViewWCData:f}),set:e=>{e&&Object.getOwnPropertyNames(e).forEach((t=>{"splitViewSettings"===t?n(1,m=e.splitViewSettings):"lastNode"===t?r=e.lastNode:"pathData"===t?o=e.pathData:"nodeParams"===t?a=e.nodeParams:"collapsed"===t?n(0,h=e.collapsed):"isDataPrepared"===t?n(8,v=e.isDataPrepared):"currentNode"===t?s=e.currentNode:"splitViewIframe"===t?c=e.splitViewIframe:"splitViewIframeData"===t?u=e.splitViewIframeData:"splitViewWC"===t?d=e.splitViewWC:"splitViewWCData"===t&&(f=e.splitViewWCData)}))},dispatch:i,getUnsavedChangesModalPromise:w}),C=()=>{p.split=$t.getContainer(),p.iframe=At.getIframeContainer(),p.draggable=$t.getDragger()},S=()=>{const e=$t.getDraggerBackdrop();e&&(e.style.display="none"),C(),p.draggable&&(p.draggable.style.top=`${$t.splitViewValues.top}px`),p.split.style.top=`${$t.splitViewValues.top}px`,p.iframe.style.marginBottom=`${p.split.clientHeight}px`};function x(e){if(At.getValidMessageSource(e)&&("luigi.navigation.splitview.close"===e.data.msg&&$t.close(y()),"luigi.navigation.splitview.collapse"===e.data.msg&&N(),"luigi.navigation.splitview.expand"===e.data.msg&&k(),"luigi.navigation.splitview.resize"===e.data.msg)){const t=parseInt(e.data.data);if($t.calculateAndSetSplitViewValues(t,$t.internalValues),h)return;S(),$t.sendMessageToClients("resize.ok",$t.splitViewValues.percent)}}function N(){$t.collapse(y())}async function k(){await $t.expand(y()),p.draggerBackdrop&&(p.draggerBackdrop.style.display="none")}function P(){const e=Et.getShellbarHeight();$t.internalValues.innerHeight=Et.getInnerHeight(),$t.internalValues.rightContentHeight=$t.internalValues.innerHeight-e,$t.internalValues.thresholdBottom=30,$t.internalValues.thresholdTop=e+30,$t.calculateAndSetSplitViewValues($t.splitViewValues.percent,$t.internalValues),h||S()}j((()=>{P(),l=x.bind(this),Ot.addEventListener("message",l)})),H((()=>{(async()=>{v?h||$t.createAndSetView(y()):await $t.prepareSplitViewData(y(),g)})(),_===v||h||(_=v,S())})),z((()=>{window.removeEventListener("message",l)}));return e.$$set=e=>{"nodepath"in e&&n(9,g=e.nodepath),"collapsed"in e&&n(0,h=e.collapsed),"splitViewSettings"in e&&n(1,m=e.splitViewSettings),"isDataPrepared"in e&&n(8,v=e.isDataPrepared),"disableBackdrop"in e&&n(2,b=e.disableBackdrop)},[h,m,b,N,k,P,function(e){let t=e.y,n={};const i=function(e){const i=t-e.y,r=parseInt(getComputedStyle(p.draggable,"").top);if(isNaN(r)||0===i)return;const o=r-i,a=$t.internalValues.innerHeight-o,s=$t.enforceTresholds(o,a);o<s.top||a<s.bottom||(n=s,t=e.y,p.draggable.style.top=`${n.top}px`)},r=function(){o(),n.top&&n.bottom&&n.top!=$t.internalValues.m_pos_prev?($t.internalValues.m_pos_prev=n.top,$t.splitViewValues=n,S(),$t.sendMessageToClients("resize.ok",n.percent)):$t.getDraggerBackdrop().style.display="none"},o=function(){document.removeEventListener("mouseup",r),document.removeEventListener("mousemove",i)};C(),o(),document.addEventListener("mouseup",r),document.addEventListener("mousemove",i),$t.getDraggerBackdrop().style.display="block"},e=>{(e=>{let t=$t.getDraggerButton();t&&(t.style.display=e?"block":"none"),t=$t.getCollapsedDraggerButton(),t&&(t.style.display=e?"block":"none")})(!e.detail||!0!==e.detail.backdropActive)},v,g]}class ti extends Se{constructor(e){super(),Ce(this,e,ei,Xn,s,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function ni(e){let t,n,i={ctx:e,current:null,token:null,hasCatch:!1,pending:ai,then:ri,catch:ii,value:1};return ge(n=e[0].badgeCounter.count(),i),{c(){t=I(),i.block.c()},m(e,n){C(e,t,n),i.block.m(e,i.anchor=n),i.mount=()=>t.parentNode,i.anchor=t},p(t,r){e=t,i.ctx=e,1&r&&n!==(n=e[0].badgeCounter.count())&&ge(n,i)||he(i,e,r)},d(e){e&&S(t),i.block.d(e),i.token=null,i=null}}}function ii(e){return{c:n,m:n,p:n,d:n}}function ri(e){let t,n=e[1]>0&&oi(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){e[1]>0?n?n.p(e,i):(n=oi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function oi(e){let t,n,i,r=e[1]+"";return{c(){t=N("span"),n=k(r),E(t,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),E(t,"aria-label",i=e[0].badgeCounter.label)},m(e,i){C(e,t,i),y(t,n)},p(e,o){1&o&&r!==(r=e[1]+"")&&V(n,r),1&o&&i!==(i=e[0].badgeCounter.label)&&E(t,"aria-label",i)},d(e){e&&S(t)}}}function ai(e){return{c:n,m:n,p:n,d:n}}function si(e){let t,i=e[0]&&e[0].badgeCounter&&ni(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,[n]){e[0]&&e[0].badgeCounter?i?i.p(e,n):(i=ni(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function li(e,t,n){let{node:i}=t;return e.$$set=e=>{"node"in e&&n(0,i=e.node)},[i]}class ci extends Se{constructor(e){super(),Ce(this,e,li,si,s,{node:0})}}function ui(e){let t,n,i,r=e[0].statusBadge.label+"";return{c(){t=N("span"),n=N("span"),i=k(r),E(n,"class","fd-object-status__text"),E(t,"class","fd-object-status fd-object-status--"+e[1]+" fd-object-status--inverted svelte-1ooarw2")},m(e,r){C(e,t,r),y(t,n),y(n,i)},p(e,t){1&t&&r!==(r=e[0].statusBadge.label+"")&&V(i,r)},d(e){e&&S(t)}}}function di(e){let t,i=e[0].statusBadge&&e[0].statusBadge.label&&ui(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,[n]){e[0].statusBadge&&e[0].statusBadge.label?i?i.p(e,n):(i=ui(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function fi(e,t,n){let{node:i}=t;const r=i&&i.statusBadge&&i.statusBadge.type,o=["negative","positive","critical","informative"].includes(r)?r:"none";return e.$$set=e=>{"node"in e&&n(0,i=e.node)},[i,o]}class pi extends Se{constructor(e){super(),Ce(this,e,fi,di,s,{node:0})}}function gi(e){let t,n,i,r,a,s,l,c,u,d,f,g,b,_,w,x,I=e[1].title+"";const R=e[4].default,D=p(R,e,e[3],null);return{c(){t=N("li"),n=N("div"),i=N("a"),r=N("span"),a=k(I),s=P(),l=N("span"),u=P(),d=N("ul"),D&&D.c(),f=P(),g=N("li"),E(r,"class","fd-navigation__text"),E(l,"class","fd-navigation__has-children-indicator"),E(l,"role","presentation"),E(l,"aria-hidden","true"),E(l,"aria-label","has children indicator, expanded"),E(i,"class","fd-navigation__link svelte-1p4gus"),E(i,"role","button"),E(i,"tabindex","0"),E(n,"class","fd-navigation__item fd-navigation__item--group"),E(n,"aria-level","1"),E(n,"role","treeitem"),E(n,"title",c=e[1].title+" Group"),E(n,"aria-roledescription","Navigation List Tree Item - Group"),E(n,"aria-selected","false"),E(n,"aria-expanded",e[0]),E(g,"class","fd-navigation__list-item fd-navigation__list-item--separator"),E(g,"role","presentation"),E(g,"aria-hidden","true"),E(d,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),E(d,"role","tree"),E(d,"aria-roledescription","Navigation List Tree - Parent Items"),E(d,"tabindex","-1"),E(d,"navgroupid",b=e[1].uid),E(t,"class","fd-navigation__list-item")},m(o,c){C(o,t,c),y(t,n),y(n,i),y(i,r),y(r,a),y(i,s),y(i,l),y(t,u),y(t,d),D&&D.m(d,null),y(d,f),y(d,g),_=!0,w||(x=[T(i,"click",A(L(e[2]))),T(i,"keyup",e[5])],w=!0)},p(e,t){(!_||2&t)&&I!==(I=e[1].title+"")&&V(a,I),(!_||2&t&&c!==(c=e[1].title+" Group"))&&E(n,"title",c),(!_||1&t)&&E(n,"aria-expanded",e[0]),D&&D.p&&(!_||8&t)&&m(D,R,e,e[3],_?h(R,e[3]):v(e[3]),null),(!_||2&t&&b!==(b=e[1].uid))&&E(d,"navgroupid",b)},i(e){_||(fe(D,e),_=!0)},o(e){pe(D,e),_=!1},d(e){e&&S(t),D&&D.d(e),w=!1,o(x)}}}function hi(e){let t;const n=e[4].default,i=p(n,e,e[3],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||8&r)&&m(i,n,e,e[3],t?h(n,e[3]):v(e[3]),null)},i(e){t||(fe(i,e),t=!0)},o(e){pe(i,e),t=!1},d(e){i&&i.d(e)}}}function mi(e){let t,n,i,r;const o=[hi,gi],a=[];function s(e,t){return e[1].isSingleEntry?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),i=I()},m(e,n){a[t].m(e,n),C(e,i,n),r=!0},p(e,[r]){let l=t;t=s(e),t===l?a[t].p(e,r):(ue(),pe(a[l],1,1,(()=>{a[l]=null})),de(),n=a[t],n?n.p(e,r):(n=a[t]=o[t](e),n.c()),fe(n,1),n.m(i.parentNode,i))},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),a[t].d(e)}}}function vi(e,t,n){let{$$slots:i={},$$scope:r}=t,{navGroup:o}=t,{expanded:a=!0}=t;function s(){n(0,a=!a),Vt.storeExpandedState(o.uid,a),o.isSingleEntry||Vt.storeCollapsedSuperCategoriesState(o.uid,a)}return e.$$set=e=>{"navGroup"in e&&n(1,o=e.navGroup),"expanded"in e&&n(0,a=e.expanded),"$$scope"in e&&n(3,r=e.$$scope)},[a,o,s,r,i,e=>{("Enter"===e.code||"Space"===e.code)&&s()}]}class bi extends Se{constructor(e){super(),Ce(this,e,vi,mi,s,{navGroup:1,expanded:0})}}const{window:_i}=w;function wi(e,t,n){const i=e.slice();return i[97]=t[n][0],i[98]=t[n][1],i[100]=n,i}function yi(e,t,n){const i=e.slice();return i[101]=t[n],i}function Ci(e,t,n){const i=e.slice();return i[101]=t[n],i}function Si(e,t,n){const i=e.slice();return i[101]=t[n],i}function xi(e,t,n){const i=e.slice();return i[101]=t[n],i}function $i(e,t,n){const i=e.slice();return i[94]=t[n],i}function Ni(e,t,n){const i=e.slice();return i[97]=t[n][0],i[98]=t[n][1],i[100]=n,i}function ki(e,t,n){const i=e.slice();return i[101]=t[n],i}function Pi(e,t,n){const i=e.slice();return i[101]=t[n],i}function Ii(e){let t,n,i,r,o,a,s,l,c,u,d=e[12]&&Li(e),f=e[0]&&e[5].length>0&&(!1===e[5][0].topNav||e[5].length>1)&&Oi(e),p=(e[2]||e[3])&&xr(e);return{c(){t=N("div"),d&&d.c(),n=P(),i=N("nav"),r=N("div"),f&&f.c(),o=P(),p&&p.c(),E(r,"class","fd-side-nav__main-navigation svelte-1qodpfy"),E(i,"class",a="fd-side-nav "+(e[6]?"fd-side-nav--condensed":"")+" "+(e[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"),E(i,"data-testid","semiCollapsibleLeftNav"),E(t,"class",s="fd-app__sidebar fd-navigation "+(e[1]?"hideNavComponent":"")+" "+(e[2]||e[3]?"hasFooter":"")+" "+(e[2]&&!e[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy")},m(a,s){C(a,t,s),d&&d.m(t,null),y(t,n),y(t,i),y(i,r),f&&f.m(r,null),y(i,o),p&&p.m(i,null),l=!0,c||(u=T(i,"keyup",e[19]),c=!0)},p(e,o){e[12]?d?d.p(e,o):(d=Li(e),d.c(),d.m(t,n)):d&&(d.d(1),d=null),e[0]&&e[5].length>0&&(!1===e[5][0].topNav||e[5].length>1)?f?(f.p(e,o),33&o[0]&&fe(f,1)):(f=Oi(e),f.c(),fe(f,1),f.m(r,null)):f&&(ue(),pe(f,1,1,(()=>{f=null})),de()),e[2]||e[3]?p?p.p(e,o):(p=xr(e),p.c(),p.m(i,null)):p&&(p.d(1),p=null),(!l||4160&o[0]&&a!==(a="fd-side-nav "+(e[6]?"fd-side-nav--condensed":"")+" "+(e[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"))&&E(i,"class",a),(!l||14&o[0]&&s!==(s="fd-app__sidebar fd-navigation "+(e[1]?"hideNavComponent":"")+" "+(e[2]||e[3]?"hasFooter":"")+" "+(e[2]&&!e[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy"))&&E(t,"class",s)},i(e){l||(fe(f),l=!0)},o(e){pe(f),l=!1},d(e){e&&S(t),d&&d.d(),f&&f.d(),p&&p.d(),c=!1,u()}}}function Ti(e){let t,n,i,r,o=e[12]&&Pr(e),a=e[0]&&e[5].length>1&&Vr(e);return{c(){t=N("div"),o&&o.c(),n=P(),a&&a.c(),E(t,"class",i="fd-navigation fd-navigation--vertical "+(e[23]?"is-compact":"")+" "+(e[1]?"hideNavComponent":"")+" "+(e[2]||e[3]?"hasFooter":"")+" "+(e[2]&&!e[3]?"hasOnlyFooterText":"")+" "+(e[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"),E(t,"role","navigation"),D(t,"width","var(--luigi__left-sidenav--width)"),D(t,"height","100%")},m(e,i){C(e,t,i),o&&o.m(t,null),y(t,n),a&&a.m(t,null),r=!0},p(e,s){e[12]?o?o.p(e,s):(o=Pr(e),o.c(),o.m(t,n)):o&&(o.d(1),o=null),e[0]&&e[5].length>1?a?(a.p(e,s),33&s[0]&&fe(a,1)):(a=Vr(e),a.c(),fe(a,1),a.m(t,null)):a&&(ue(),pe(a,1,1,(()=>{a=null})),de()),(!r||8388686&s[0]&&i!==(i="fd-navigation fd-navigation--vertical "+(e[23]?"is-compact":"")+" "+(e[1]?"hideNavComponent":"")+" "+(e[2]||e[3]?"hasFooter":"")+" "+(e[2]&&!e[3]?"hasOnlyFooterText":"")+" "+(e[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"))&&E(t,"class",i)},i(e){r||(fe(a),r=!0)},o(e){pe(a),r=!1},d(e){e&&S(t),o&&o.d(),a&&a.d()}}}function Li(e){let t,n=!e[12].renderer&&Ai(e);return{c(){t=N("div"),n&&n.c(),E(t,"class","lui-nav-title svelte-1qodpfy")},m(i,r){C(i,t,r),n&&n.m(t,null),e[63](t)},p(e,i){e[12].renderer?n&&(n.d(1),n=null):n?n.p(e,i):(n=Ai(e),n.c(),n.m(t,null))},d(i){i&&S(t),n&&n.d(),e[63](null)}}}function Ai(e){let t,n,i,r,o,a,s,l,c=e[27](e[12].label)+"",u=e[12].icon&&Ei(e),d=e[12].showUpLink&&Di(e);return{c(){t=N("ul"),n=N("li"),i=N("a"),u&&u.c(),r=P(),o=N("span"),a=k(c),s=P(),d&&d.c(),E(o,"class","fd-nested-list__title svelte-1qodpfy"),E(i,"class","fd-nested-list__link svelte-1qodpfy"),E(i,"title",l=e[35](e[12],e[27](e[12].label))),E(n,"class","fd-nested-list__item svelte-1qodpfy"),E(t,"class","fd-nested-list svelte-1qodpfy")},m(e,l){C(e,t,l),y(t,n),y(n,i),u&&u.m(i,null),y(i,r),y(i,o),y(o,a),y(i,s),d&&d.m(i,null)},p(e,t){e[12].icon?u?u.p(e,t):(u=Ei(e),u.c(),u.m(i,r)):u&&(u.d(1),u=null),134221824&t[0]&&c!==(c=e[27](e[12].label)+"")&&V(a,c),e[12].showUpLink?d?d.p(e,t):(d=Di(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null),134221824&t[0]&&l!==(l=e[35](e[12],e[27](e[12].label)))&&E(i,"title",l)},d(e){e&&S(t),u&&u.d(),d&&d.d()}}}function Ei(e){let t,n;function i(e,n){return 4096&n[0]&&(t=null),null==t&&(t=!!e[32](e[12].icon)),t?Ri:Vi}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function Vi(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[12].icon)||E(n,"src",i),E(n,"alt",r=e[12].altText?e[12].altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){4096&t[0]&&!c(n.src,i=e[12].icon)&&E(n,"src",i),4096&t[0]&&r!==(r=e[12].altText?e[12].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Ri(e){let t,n;return{c(){t=N("i"),E(t,"class",n="lui-header-icon fd-nested-list__icon sap-icon "+e[31](e[12].icon)+" svelte-1qodpfy"),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){4096&i[0]&&n!==(n="lui-header-icon fd-nested-list__icon sap-icon "+e[31](e[12].icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function Di(e){let t,n,i,r;return{c(){t=N("i"),E(t,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1qodpfy"),E(t,"role","presentation"),E(t,"title",n=e[27]("luigi.navigation.up"))},m(n,o){C(n,t,o),i||(r=T(t,"click",L(e[20])),i=!0)},p(e,i){134217728&i[0]&&n!==(n=e[27]("luigi.navigation.up"))&&E(t,"title",n)},d(e){e&&S(t),i=!1,r()}}}function Oi(e){let t,n,i,r,o=me(e[13]),a=[];for(let l=0;l<o.length;l+=1)a[l]=Sr(wi(e,o,l));const s=e=>pe(a[e],1,1,(()=>{a[e]=null}));return{c(){t=N("div"),n=N("ul");for(let e=0;e<a.length;e+=1)a[e].c();E(n,"class",i=b(e[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"),E(t,"class","lui-fd-side-nav-wrapper svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n);for(let t=0;t<a.length;t+=1)a[t]&&a[t].m(n,null);r=!0},p(e,t){if(1227073472&t[0]|1823&t[1]){let i;for(o=me(e[13]),i=0;i<o.length;i+=1){const r=wi(e,o,i);a[i]?(a[i].p(r,t),fe(a[i],1)):(a[i]=Sr(r),a[i].c(),fe(a[i],1),a[i].m(n,null))}for(ue(),i=o.length;i<a.length;i+=1)s(i);de()}(!r||8388608&t[0]&&i!==(i=b(e[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"))&&E(n,"class",i)},i(e){if(!r){for(let e=0;e<o.length;e+=1)fe(a[e]);r=!0}},o(e){a=a.filter(Boolean);for(let t=0;t<a.length;t+=1)pe(a[t]);r=!1},d(e){e&&S(t),x(a,e)}}}function Fi(e){let t,n,i,r;const o=[Bi,Ui],a=[];function s(e,t){return e[98].metaInfo.collapsible?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),i=I()},m(e,n){a[t].m(e,n),C(e,i,n),r=!0},p(e,r){let l=t;t=s(e),t===l?a[t].p(e,r):(ue(),pe(a[l],1,1,(()=>{a[l]=null})),de(),n=a[t],n?n.p(e,r):(n=a[t]=o[t](e),n.c()),fe(n,1),n.m(i.parentNode,i))},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),a[t].d(e)}}}function Mi(e){let t,n,i=me(e[98]),r=[];for(let a=0;a<i.length;a+=1)r[a]=Cr(xi(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(1090592960&n[0]|535&n[1]){let a;for(i=me(e[98]),a=0;a<i.length;a+=1){const o=xi(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=Cr(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Ui(e){let t,n,i,r,o,a,s,l,c=e[27](e[97])+"",u=e[10]&&e[98].metaInfo.icon&&qi(e),d=me(e[98]),f=[];for(let g=0;g<d.length;g+=1)f[g]=er(yi(e,d,g));const p=e=>pe(f[e],1,1,(()=>{f[e]=null}));return{c(){t=N("li"),u&&u.c(),n=P(),i=k(c),a=P();for(let e=0;e<f.length;e+=1)f[e].c();s=I(),E(t,"class","fd-nested-list__group-header lui-category svelte-1qodpfy"),E(t,"title",r=e[35](e[98],e[27](e[97]))),E(t,"data-testid",o=e[34](e[98].metaInfo,e[97])),E(t,"id","category_list_level1_"+e[100])},m(e,r){C(e,t,r),u&&u.m(t,null),y(t,n),y(t,i),C(e,a,r);for(let t=0;t<f.length;t+=1)f[t]&&f[t].m(e,r);C(e,s,r),l=!0},p(e,a){if(e[10]&&e[98].metaInfo.icon?u?u.p(e,a):(u=qi(e),u.c(),u.m(t,n)):u&&(u.d(1),u=null),(!l||134225920&a[0])&&c!==(c=e[27](e[97])+"")&&V(i,c),(!l||134225920&a[0]&&r!==(r=e[35](e[98],e[27](e[97]))))&&E(t,"title",r),(!l||8192&a[0]&&o!==(o=e[34](e[98].metaInfo,e[97])))&&E(t,"data-testid",o),1090592960&a[0]|535&a[1]){let t;for(d=me(e[98]),t=0;t<d.length;t+=1){const n=yi(e,d,t);f[t]?(f[t].p(n,a),fe(f[t],1)):(f[t]=er(n),f[t].c(),fe(f[t],1),f[t].m(s.parentNode,s))}for(ue(),t=d.length;t<f.length;t+=1)p(t);de()}},i(e){if(!l){for(let e=0;e<d.length;e+=1)fe(f[e]);l=!0}},o(e){f=f.filter(Boolean);for(let t=0;t<f.length;t+=1)pe(f[t]);l=!1},d(e){e&&(S(t),S(a),S(s)),u&&u.d(),x(f,e)}}}function Bi(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,I,R,D,F,M,U,B,q,j,H=e[27](e[97])+"";function z(e,t){return 8192&t[0]&&(r=null),null==r&&(r=!!e[32](e[98].metaInfo.icon)),r?nr:tr}let W=z(e,[-1,-1,-1,-1]),G=W(e);function K(){return e[66](e[98])}function J(){return e[67](e[98])}function Y(...t){return e[68](e[98],...t)}let Q=me(e[98]),Z=[];for(let o=0;o<Q.length;o+=1)Z[o]=sr(Si(e,Q,o));const X=e=>pe(Z[e],1,1,(()=>{Z[e]=null}));let ee=e[98].metaInfo&&e[98].metaInfo.label===e[8]&&lr(e);function te(){return e[73](e[98])}return{c(){t=N("li"),n=N("div"),i=N("a"),G.c(),a=P(),s=N("span"),l=k(H),g=P(),h=N("button"),m=N("i"),I=P(),R=N("ul");for(let e=0;e<Z.length;e+=1)Z[e].c();F=P(),ee&&ee.c(),M=P(),E(s,"class","fd-nested-list__title svelte-1qodpfy"),E(i,"title",c=e[35](e[98],e[27](e[97]))),E(i,"class",u="fd-nested-list__link "+(uo(e[98],e[9])?"is-expanded":"")+" svelte-1qodpfy"),E(i,"tabindex",d=e[6]?"-1":"0"),E(i,"role",f=e[24]?void 0:"button"),E(i,"id","collapsible_listnode_"+e[100]),E(i,"aria-haspopup","true"),E(i,"aria-expanded",p=uo(e[98],e[9])),E(m,"class",v=uo(e[98],e[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),E(m,"role","presentation"),E(h,"class","fd-button fd-nested-list__button svelte-1qodpfy"),E(h,"href","#"),E(h,"tabindex","0"),E(h,"aria-label","Expand categories"),E(h,"aria-haspopup","true"),E(h,"aria-expanded",b=uo(e[98],e[9])),E(h,"title",_=e[41](e[98],e[9])),E(n,"class","fd-nested-list__content has-child"),E(n,"tabindex",w=e[6]?"0":"-1"),E(R,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1qodpfy"),E(R,"aria-hidden",D=!uo(e[98],e[9])),E(t,"class","fd-nested-list__item lui-collapsible-item"),E(t,"data-testid",U=e[34](e[98].metaInfo,e[97])),O(t,"lui-item-expanded",uo(e[98],e[9]))},m(e,r){C(e,t,r),y(t,n),y(n,i),G.m(i,null),y(i,a),y(i,s),y(s,l),y(n,g),y(n,h),y(h,m),y(t,I),y(t,R);for(let t=0;t<Z.length;t+=1)Z[t]&&Z[t].m(R,null);y(t,F),ee&&ee.m(t,null),y(t,M),B=!0,q||(j=[T(i,"click",L(K)),T(h,"click",L(J)),T(n,"keypress",Y),T(t,"click",A(te))],q=!0)},p(r,o){if(W===(W=z(e=r,o))&&G?G.p(e,o):(G.d(1),G=W(e),G&&(G.c(),G.m(i,a))),(!B||134225920&o[0])&&H!==(H=e[27](e[97])+"")&&V(l,H),(!B||134225920&o[0]&&c!==(c=e[35](e[98],e[27](e[97]))))&&E(i,"title",c),(!B||8704&o[0]&&u!==(u="fd-nested-list__link "+(uo(e[98],e[9])?"is-expanded":"")+" svelte-1qodpfy"))&&E(i,"class",u),(!B||64&o[0]&&d!==(d=e[6]?"-1":"0"))&&E(i,"tabindex",d),(!B||16777216&o[0]&&f!==(f=e[24]?void 0:"button"))&&E(i,"role",f),(!B||8704&o[0]&&p!==(p=uo(e[98],e[9])))&&E(i,"aria-expanded",p),(!B||8704&o[0]&&v!==(v=uo(e[98],e[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&E(m,"class",v),(!B||8704&o[0]&&b!==(b=uo(e[98],e[9])))&&E(h,"aria-expanded",b),(!B||8704&o[0]&&_!==(_=e[41](e[98],e[9])))&&E(h,"title",_),(!B||64&o[0]&&w!==(w=e[6]?"0":"-1"))&&E(n,"tabindex",w),1090592896&o[0]|532&o[1]){let t;for(Q=me(e[98]),t=0;t<Q.length;t+=1){const n=Si(e,Q,t);Z[t]?(Z[t].p(n,o),fe(Z[t],1)):(Z[t]=sr(n),Z[t].c(),fe(Z[t],1),Z[t].m(R,null))}for(ue(),t=Q.length;t<Z.length;t+=1)X(t);de()}(!B||8704&o[0]&&D!==(D=!uo(e[98],e[9])))&&E(R,"aria-hidden",D),e[98].metaInfo&&e[98].metaInfo.label===e[8]?ee?(ee.p(e,o),8448&o[0]&&fe(ee,1)):(ee=lr(e),ee.c(),fe(ee,1),ee.m(t,M)):ee&&(ue(),pe(ee,1,1,(()=>{ee=null})),de()),(!B||8192&o[0]&&U!==(U=e[34](e[98].metaInfo,e[97])))&&E(t,"data-testid",U),(!B||8704&o[0])&&O(t,"lui-item-expanded",uo(e[98],e[9]))},i(e){if(!B){for(let e=0;e<Q.length;e+=1)fe(Z[e]);fe(ee),B=!0}},o(e){Z=Z.filter(Boolean);for(let t=0;t<Z.length;t+=1)pe(Z[t]);pe(ee),B=!1},d(e){e&&S(t),G.d(),x(Z,e),ee&&ee.d(),q=!1,o(j)}}}function qi(e){let t,n;function i(e,n){return 8192&n[0]&&(t=null),null==t&&(t=!!e[32](e[98].metaInfo.icon)),t?Hi:ji}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function ji(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[98].metaInfo.icon)||E(n,"src",i),E(n,"alt",r=e[98].metaInfo.altText?e[98].metaInfo.altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){8192&t[0]&&!c(n.src,i=e[98].metaInfo.icon)&&E(n,"src",i),8192&t[0]&&r!==(r=e[98].metaInfo.altText?e[98].metaInfo.altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Hi(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-nested-list__icon sap-icon "+(e[98].metaInfo.icon?e[31](e[98].metaInfo.icon):"")+" svelte-1qodpfy"),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){8192&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+(e[98].metaInfo.icon?e[31](e[98].metaInfo.icon):"")+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function zi(e){let t,n,i=e[101].label&&Wi(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=Wi(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Wi(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x=e[30](e[101])+"";function I(e,t){return e[101].icon?Ki:Gi}let L=I(e),A=L(e),R=e[101].statusBadge&&Qi(e),D=e[101].externalLink&&e[101].externalLink.url&&Zi(),O=e[101].badgeCounter&&Xi(e);function F(...t){return e[74](e[101],...t)}function M(...t){return e[75](e[101],...t)}return{c(){t=N("li"),n=N("a"),A.c(),i=P(),r=N("span"),s=k(x),l=P(),R&&R.c(),u=P(),D&&D.c(),d=P(),O&&O.c(),m=P(),E(r,"class",c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(n,"href",f=e[33](e[101])),E(n,"tabindex","0"),E(n,"class",p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"),E(n,"role",g=e[24]?void 0:"button"),E(n,"data-testid",h=Vt.getTestId(e[101])),E(t,"class","fd-nested-list__item"),E(t,"title",v=e[35](e[101],e[30](e[101]))),E(t,"aria-labelledby","category_list_level1_"+e[100])},m(o,c){C(o,t,c),y(t,n),A.m(n,null),y(n,i),y(n,r),y(r,s),y(r,l),R&&R.m(r,null),y(n,u),D&&D.m(n,null),y(n,d),O&&O.m(n,null),y(t,m),b=!0,_||(w=[T(n,"click",F),T(n,"keyup",(function(){a(e[24]?void 0:M)&&(e[24]?void 0:M).apply(this,arguments)}))],_=!0)},p(o,a){L===(L=I(e=o))&&A?A.p(e,a):(A.d(1),A=L(e),A&&(A.c(),A.m(n,i))),(!b||8192&a[0])&&x!==(x=e[30](e[101])+"")&&V(s,x),e[101].statusBadge?R?(R.p(e,a),8192&a[0]&&fe(R,1)):(R=Qi(e),R.c(),fe(R,1),R.m(r,null)):R&&(ue(),pe(R,1,1,(()=>{R=null})),de()),(!b||8192&a[0]&&c!==(c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(r,"class",c),e[101].externalLink&&e[101].externalLink.url?D||(D=Zi(),D.c(),D.m(n,d)):D&&(D.d(1),D=null),e[101].badgeCounter?O?(O.p(e,a),8192&a[0]&&fe(O,1)):(O=Xi(e),O.c(),fe(O,1),O.m(n,null)):O&&(ue(),pe(O,1,1,(()=>{O=null})),de()),(!b||8192&a[0]&&f!==(f=e[33](e[101])))&&E(n,"href",f),(!b||8320&a[0]&&p!==(p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"))&&E(n,"class",p),(!b||16777216&a[0]&&g!==(g=e[24]?void 0:"button"))&&E(n,"role",g),(!b||8192&a[0]&&h!==(h=Vt.getTestId(e[101])))&&E(n,"data-testid",h),(!b||8192&a[0]&&v!==(v=e[35](e[101],e[30](e[101]))))&&E(t,"title",v)},i(e){b||(fe(R),fe(O),b=!0)},o(e){pe(R),pe(O),b=!1},d(e){e&&S(t),A.d(),R&&R.d(),D&&D.d(),O&&O.d(),_=!1,o(w)}}}function Gi(e){let t,n,i,r,o,a=e[6]?"sap-icon--rhombus-milestone-2":"";return{c(){t=N("i"),i=P(),r=N("span"),o=k(a),E(t,"class",n="fd-nested-list__icon sap-icon "+(e[6]?"sap-icon--rhombus-milestone-2":""))},m(e,n){C(e,t,n),C(e,i,n),C(e,r,n),y(r,o)},p(e,i){64&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+(e[6]?"sap-icon--rhombus-milestone-2":""))&&E(t,"class",n),64&i[0]&&a!==(a=e[6]?"sap-icon--rhombus-milestone-2":"")&&V(o,a)},d(e){e&&(S(t),S(i),S(r))}}}function Ki(e){let t,n;function i(e,n){return 8192&n[0]&&(t=null),null==t&&(t=!!e[32](e[101].icon)),t?Yi:Ji}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function Ji(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[101].icon)||E(n,"src",i),E(n,"alt",r=e[101].altText?e[101].altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){8192&t[0]&&!c(n.src,i=e[101].icon)&&E(n,"src",i),8192&t[0]&&r!==(r=e[101].altText?e[101].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Yi(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-nested-list__icon sap-icon "+e[31](e[101].icon)+" svelte-1qodpfy")},m(e,n){C(e,t,n)},p(e,i){8192&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+e[31](e[101].icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function Qi(e){let t,n;return t=new pi({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};8192&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Zi(e){let t;return{c(){t=N("i"),E(t,"class","sap-icon--action")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function Xi(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};8192&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function er(e){let t,n,i=!e[101].hideFromNav&&zi(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=zi(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function tr(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[98].metaInfo.icon)||E(n,"src",i),E(n,"alt",r=e[98].metaInfo.altText?e[98].metaInfo.altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){8192&t[0]&&!c(n.src,i=e[98].metaInfo.icon)&&E(n,"src",i),8192&t[0]&&r!==(r=e[98].metaInfo.altText?e[98].metaInfo.altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function nr(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-nested-list__icon sap-icon "+e[31](e[98].metaInfo.icon)+" "+(e[6]&&!e[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){8256&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+e[31](e[98].metaInfo.icon)+" "+(e[6]&&!e[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function ir(e){let t,n,i=e[101].label&&rr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=rr(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function rr(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x=e[30](e[101])+"";l=new pi({props:{node:e[101]}});let I=e[101].externalLink&&e[101].externalLink.url&&or(),L=e[101].badgeCounter&&ar(e);function A(...t){return e[69](e[101],...t)}function R(...t){return e[70](e[101],...t)}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(x),s=P(),be(l.$$.fragment),u=P(),I&&I.c(),d=P(),L&&L.c(),v=P(),E(i,"class",c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(n,"href",f=e[33](e[101])),E(n,"class",p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"),E(n,"role",g=e[24]?void 0:"button"),E(n,"tabindex","0"),E(n,"data-testid",h=Vt.getTestId(e[101])),E(n,"title",m=e[35](e[101],e[30](e[101]))),E(t,"class","fd-nested-list__item"),E(t,"aria-labelledby","collapsible_listnode_"+e[100])},m(o,c){C(o,t,c),y(t,n),y(n,i),y(i,r),y(i,s),_e(l,i,null),y(n,u),I&&I.m(n,null),y(n,d),L&&L.m(n,null),y(t,v),b=!0,_||(w=[T(n,"click",A),T(n,"keyup",(function(){a(e[24]?void 0:R)&&(e[24]?void 0:R).apply(this,arguments)}))],_=!0)},p(t,o){e=t,(!b||8192&o[0])&&x!==(x=e[30](e[101])+"")&&V(r,x);const a={};8192&o[0]&&(a.node=e[101]),l.$set(a),(!b||8192&o[0]&&c!==(c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(i,"class",c),e[101].externalLink&&e[101].externalLink.url?I||(I=or(),I.c(),I.m(n,d)):I&&(I.d(1),I=null),e[101].badgeCounter?L?(L.p(e,o),8192&o[0]&&fe(L,1)):(L=ar(e),L.c(),fe(L,1),L.m(n,null)):L&&(ue(),pe(L,1,1,(()=>{L=null})),de()),(!b||8192&o[0]&&f!==(f=e[33](e[101])))&&E(n,"href",f),(!b||8320&o[0]&&p!==(p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"))&&E(n,"class",p),(!b||16777216&o[0]&&g!==(g=e[24]?void 0:"button"))&&E(n,"role",g),(!b||8192&o[0]&&h!==(h=Vt.getTestId(e[101])))&&E(n,"data-testid",h),(!b||8192&o[0]&&m!==(m=e[35](e[101],e[30](e[101]))))&&E(n,"title",m)},i(e){b||(fe(l.$$.fragment,e),fe(L),b=!0)},o(e){pe(l.$$.fragment,e),pe(L),b=!1},d(e){e&&S(t),we(l),I&&I.d(),L&&L.d(),_=!1,o(w)}}}function or(e){let t;return{c(){t=N("i"),E(t,"class","sap-icon--action")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function ar(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};8192&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function sr(e){let t,n,i=!e[101].hideFromNav&&ir(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=ir(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function lr(e){let t,n,i,r,o,a,s,l=e[27](e[97])+"",c=me(e[98]),u=[];for(let f=0;f<c.length;f+=1)u[f]=pr(Ci(e,c,f));const d=e=>pe(u[e],1,1,(()=>{u[e]=null}));return{c(){t=N("div"),n=N("div"),i=N("h5"),r=k(l),o=P(),a=N("ul");for(let e=0;e<u.length;e+=1)u[e].c();E(i,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1qodpfy"),E(a,"class","fd-nested-list fd-nested-list--text-only svelte-1qodpfy"),E(n,"class","lui-flyout-sublist__wrapper svelte-1qodpfy"),E(t,"class","lui-flyout-sublist svelte-1qodpfy")},m(e,l){C(e,t,l),y(t,n),y(n,i),y(i,r),y(n,o),y(n,a);for(let t=0;t<u.length;t+=1)u[t]&&u[t].m(a,null);s=!0},p(e,t){if((!s||134225920&t[0])&&l!==(l=e[27](e[97])+"")&&V(r,l),1090592896&t[0]|532&t[1]){let n;for(c=me(e[98]),n=0;n<c.length;n+=1){const i=Ci(e,c,n);u[n]?(u[n].p(i,t),fe(u[n],1)):(u[n]=pr(i),u[n].c(),fe(u[n],1),u[n].m(a,null))}for(ue(),n=c.length;n<u.length;n+=1)d(n);de()}},i(e){if(!s){for(let e=0;e<c.length;e+=1)fe(u[e]);s=!0}},o(e){u=u.filter(Boolean);for(let t=0;t<u.length;t+=1)pe(u[t]);s=!1},d(e){e&&S(t),x(u,e)}}}function cr(e){let t,n,i=e[101].label&&ur(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=ur(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function ur(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x=e[30](e[101])+"";l=new pi({props:{node:e[101]}});let I=e[101].externalLink&&e[101].externalLink.url&&dr(),L=e[101].badgeCounter&&fr(e);function A(...t){return e[71](e[101],...t)}function R(...t){return e[72](e[101],...t)}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(x),s=P(),be(l.$$.fragment),u=P(),I&&I.c(),d=P(),L&&L.c(),v=P(),E(i,"class",c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(n,"href",f=e[33](e[101])),E(n,"class",p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"),E(n,"tabindex","0"),E(n,"role",g=e[24]?void 0:"button"),E(n,"data-testid",h=Vt.getTestId(e[101])),E(n,"title",m=e[35](e[101],e[30](e[101]))),E(t,"class","fd-nested-list__item")},m(o,c){C(o,t,c),y(t,n),y(n,i),y(i,r),y(i,s),_e(l,i,null),y(n,u),I&&I.m(n,null),y(n,d),L&&L.m(n,null),y(t,v),b=!0,_||(w=[T(n,"click",A),T(n,"keyup",(function(){a(e[24]?void 0:R)&&(e[24]?void 0:R).apply(this,arguments)}))],_=!0)},p(t,o){e=t,(!b||8192&o[0])&&x!==(x=e[30](e[101])+"")&&V(r,x);const a={};8192&o[0]&&(a.node=e[101]),l.$set(a),(!b||8192&o[0]&&c!==(c="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(i,"class",c),e[101].externalLink&&e[101].externalLink.url?I||(I=dr(),I.c(),I.m(n,d)):I&&(I.d(1),I=null),e[101].badgeCounter?L?(L.p(e,o),8192&o[0]&&fe(L,1)):(L=fr(e),L.c(),fe(L,1),L.m(n,null)):L&&(ue(),pe(L,1,1,(()=>{L=null})),de()),(!b||8192&o[0]&&f!==(f=e[33](e[101])))&&E(n,"href",f),(!b||8320&o[0]&&p!==(p="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"))&&E(n,"class",p),(!b||16777216&o[0]&&g!==(g=e[24]?void 0:"button"))&&E(n,"role",g),(!b||8192&o[0]&&h!==(h=Vt.getTestId(e[101])))&&E(n,"data-testid",h),(!b||8192&o[0]&&m!==(m=e[35](e[101],e[30](e[101]))))&&E(n,"title",m)},i(e){b||(fe(l.$$.fragment,e),fe(L),b=!0)},o(e){pe(l.$$.fragment,e),pe(L),b=!1},d(e){e&&S(t),we(l),I&&I.d(),L&&L.d(),_=!1,o(w)}}}function dr(e){let t;return{c(){t=N("i"),E(t,"class","sap-icon--action")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function fr(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};8192&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function pr(e){let t,n,i=!e[101].hideFromNav&&cr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=cr(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function gr(e){let t,n,i=e[101].label&&hr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=hr(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function hr(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,I=e[30](e[101])+"";function L(e,t){return e[101].icon?vr:mr}let A=L(e),R=A(e);c=new pi({props:{node:e[101]}});let D=e[101].externalLink&&e[101].externalLink.url&&wr(),O=e[101].badgeCounter&&yr(e);function F(...t){return e[64](e[101],...t)}function M(...t){return e[65](e[101],...t)}return{c(){t=N("li"),n=N("a"),R.c(),i=P(),r=N("span"),s=k(I),l=P(),be(c.$$.fragment),d=P(),D&&D.c(),f=P(),O&&O.c(),b=P(),E(r,"class",u="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(n,"href",p=e[33](e[101])),E(n,"title",g=e[35](e[101],e[30](e[101]))),E(n,"class",h="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"),E(n,"tabindex","0"),E(n,"role",m=e[24]?void 0:"button"),E(n,"data-testid",v=Vt.getTestId(e[101])),E(t,"class","fd-nested-list__item")},m(o,u){C(o,t,u),y(t,n),R.m(n,null),y(n,i),y(n,r),y(r,s),y(r,l),_e(c,r,null),y(n,d),D&&D.m(n,null),y(n,f),O&&O.m(n,null),y(t,b),_=!0,w||(x=[T(n,"click",F),T(n,"keyup",(function(){a(e[24]?void 0:M)&&(e[24]?void 0:M).apply(this,arguments)}))],w=!0)},p(t,o){A===(A=L(e=t))&&R?R.p(e,o):(R.d(1),R=A(e),R&&(R.c(),R.m(n,i))),(!_||8192&o[0])&&I!==(I=e[30](e[101])+"")&&V(s,I);const a={};8192&o[0]&&(a.node=e[101]),c.$set(a),(!_||8192&o[0]&&u!==(u="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(r,"class",u),e[101].externalLink&&e[101].externalLink.url?D||(D=wr(),D.c(),D.m(n,f)):D&&(D.d(1),D=null),e[101].badgeCounter?O?(O.p(e,o),8192&o[0]&&fe(O,1)):(O=yr(e),O.c(),fe(O,1),O.m(n,null)):O&&(ue(),pe(O,1,1,(()=>{O=null})),de()),(!_||8192&o[0]&&p!==(p=e[33](e[101])))&&E(n,"href",p),(!_||8192&o[0]&&g!==(g=e[35](e[101],e[30](e[101]))))&&E(n,"title",g),(!_||8320&o[0]&&h!==(h="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"))&&E(n,"class",h),(!_||16777216&o[0]&&m!==(m=e[24]?void 0:"button"))&&E(n,"role",m),(!_||8192&o[0]&&v!==(v=Vt.getTestId(e[101])))&&E(n,"data-testid",v)},i(e){_||(fe(c.$$.fragment,e),fe(O),_=!0)},o(e){pe(c.$$.fragment,e),pe(O),_=!1},d(e){e&&S(t),R.d(),we(c),D&&D.d(),O&&O.d(),w=!1,o(x)}}}function mr(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-nested-list__icon sap-icon "+(e[6]?"sap-icon--rhombus-milestone-2":"")),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){64&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+(e[6]?"sap-icon--rhombus-milestone-2":""))&&E(t,"class",n)},d(e){e&&S(t)}}}function vr(e){let t,n;function i(e,n){return 8192&n[0]&&(t=null),null==t&&(t=!!e[32](e[101].icon)),t?_r:br}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function br(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[101].icon)||E(n,"src",i),E(n,"alt",r=e[101].altText?e[101].altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){8192&t[0]&&!c(n.src,i=e[101].icon)&&E(n,"src",i),8192&t[0]&&r!==(r=e[101].altText?e[101].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function _r(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-nested-list__icon sap-icon "+e[31](e[101].icon)+" svelte-1qodpfy"),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){8192&i[0]&&n!==(n="fd-nested-list__icon sap-icon "+e[31](e[101].icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function wr(e){let t;return{c(){t=N("i"),E(t,"class","fd-nested-list__icon sap-icon sap-icon--action"),E(t,"role","presentation")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function yr(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};8192&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Cr(e){let t,n,i=!e[101].hideFromNav&&gr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),8192&n[0]&&fe(i,1)):(i=gr(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Sr(e){let t,n,i,r,o,a;const s=[Mi,Fi],l=[];function c(e,i){return 40960&i[0]&&(t=null),8192&i[0]&&(n=null),null==t&&(t=!("undefined"!==e[97]&&!e[97].startsWith(e[15]))),t?0:(null==n&&(n=!!(e[98].filter(go).length>0)),n?1:-1)}return~(i=c(e,[-1,-1,-1,-1]))&&(r=l[i]=s[i](e)),{c(){r&&r.c(),o=I()},m(e,t){~i&&l[i].m(e,t),C(e,o,t),a=!0},p(e,t){let n=i;i=c(e,t),i===n?~i&&l[i].p(e,t):(r&&(ue(),pe(l[n],1,1,(()=>{l[n]=null})),de()),~i?(r=l[i],r?r.p(e,t):(r=l[i]=s[i](e),r.c()),fe(r,1),r.m(o.parentNode,o)):r=null)},i(e){a||(fe(r),a=!0)},o(e){pe(r),a=!1},d(e){e&&S(o),~i&&l[i].d(e)}}}function xr(e){let t,n,i,r,o,a=(e[2]?e[2]:"")+"",s=e[3]&&$r(e);return{c(){t=N("div"),n=N("span"),i=N("span"),r=k(a),o=P(),s&&s.c(),E(i,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1qodpfy"),E(i,"data-testid","lui-side-nav__footer--text"),E(n,"class","lui-side-nav__footer svelte-1qodpfy"),E(n,"data-testid","lui-side-nav__footer"),E(t,"class","fd-side-nav__utility svelte-1qodpfy")},m(e,a){C(e,t,a),y(t,n),y(n,i),y(i,r),y(n,o),s&&s.m(n,null)},p(e,t){4&t[0]&&a!==(a=(e[2]?e[2]:"")+"")&&V(r,a),e[3]?s?s.p(e,t):(s=$r(e),s.c(),s.m(n,null)):s&&(s.d(1),s=null)},d(e){e&&S(t),s&&s.d()}}}function $r(e){let t;function n(e,t){return"button"==e[4]?kr:Nr}let i=n(e),r=i(e);return{c(){r.c(),t=I()},m(e,n){r.m(e,n),C(e,t,n)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r.d(1),r=i(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){e&&S(t),r.d(e)}}}function Nr(e){let t,n,i,r;return{c(){t=N("i"),E(t,"class",n="lui-side-nav__footer--icon "+(e[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy"),E(t,"data-testid","semiCollapsibleButton"),E(t,"title",e[11]),E(t,"tabindex","0")},m(n,o){C(n,t,o),i||(r=[T(t,"click",e[77]),T(t,"keydown",e[78])],i=!0)},p(e,i){64&i[0]&&n!==(n="lui-side-nav__footer--icon "+(e[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&E(t,"class",n),2048&i[0]&&E(t,"title",e[11])},d(e){e&&S(t),i=!1,o(r)}}}function kr(e){let t,n,i,r,o;return{c(){t=N("button"),n=N("i"),E(n,"class",i="lui-side-nav__footer--icon "+(e[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy"),E(t,"data-testid","semiCollapsibleButton"),E(t,"title",e[11]),E(t,"tabindex","0"),E(t,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1qodpfy")},m(i,a){C(i,t,a),y(t,n),r||(o=T(t,"click",e[76]),r=!0)},p(e,r){64&r[0]&&i!==(i="lui-side-nav__footer--icon "+(e[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&E(n,"class",i),2048&r[0]&&E(t,"title",e[11])},d(e){e&&S(t),r=!1,o()}}}function Pr(e){let t,n=!e[12].renderer&&Ir(e);return{c(){t=N("div"),n&&n.c(),E(t,"class","lui-nav-title svelte-1qodpfy")},m(i,r){C(i,t,r),n&&n.m(t,null),e[49](t)},p(e,i){e[12].renderer?n&&(n.d(1),n=null):n?n.p(e,i):(n=Ir(e),n.c(),n.m(t,null))},d(i){i&&S(t),n&&n.d(),e[49](null)}}}function Ir(e){let t,n,i,r,o,a,s,l,c=e[27](e[12].label)+"",u=e[12].icon&&Tr(e),d=e[12].showUpLink&&Er(e);return{c(){t=N("ul"),n=N("li"),i=N("a"),u&&u.c(),r=P(),o=N("span"),a=k(c),s=P(),d&&d.c(),E(o,"class","fd-nested-list__title svelte-1qodpfy"),E(i,"class","fd-nested-list__link svelte-1qodpfy"),E(i,"title",l=e[35](e[12],e[27](e[12].label))),E(n,"class","fd-nested-list__item"),E(t,"class","fd-nested-list svelte-1qodpfy")},m(e,l){C(e,t,l),y(t,n),y(n,i),u&&u.m(i,null),y(i,r),y(i,o),y(o,a),y(i,s),d&&d.m(i,null)},p(e,t){e[12].icon?u?u.p(e,t):(u=Tr(e),u.c(),u.m(i,r)):u&&(u.d(1),u=null),134221824&t[0]&&c!==(c=e[27](e[12].label)+"")&&V(a,c),e[12].showUpLink?d?d.p(e,t):(d=Er(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null),134221824&t[0]&&l!==(l=e[35](e[12],e[27](e[12].label)))&&E(i,"title",l)},d(e){e&&S(t),u&&u.d(),d&&d.d()}}}function Tr(e){let t,n;function i(e,n){return 4096&n[0]&&(t=null),null==t&&(t=!!e[32](e[12].icon)),t?Ar:Lr}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function Lr(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[12].icon)||E(n,"src",i),E(n,"alt",r=e[12].altText?e[12].altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){4096&t[0]&&!c(n.src,i=e[12].icon)&&E(n,"src",i),4096&t[0]&&r!==(r=e[12].altText?e[12].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Ar(e){let t,n;return{c(){t=N("i"),E(t,"class",n="lui-header-icon fd-nested-list__icon sap-icon "+e[31](e[12].icon)+" svelte-1qodpfy"),E(t,"role","presentation")},m(e,n){C(e,t,n)},p(e,i){4096&i[0]&&n!==(n="lui-header-icon fd-nested-list__icon sap-icon "+e[31](e[12].icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function Er(e){let t,n,i,r;return{c(){t=N("i"),E(t,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1qodpfy"),E(t,"role","presentation"),E(t,"title",n=e[27]("luigi.navigation.up"))},m(n,o){C(n,t,o),i||(r=T(t,"click",L(e[20])),i=!0)},p(e,i){134217728&i[0]&&n!==(n=e[27]("luigi.navigation.up"))&&E(t,"title",n)},d(e){e&&S(t),i=!1,r()}}}function Vr(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h=me(e[14]),m=[];for(let o=0;o<h.length;o+=1)m[o]=lo($i(e,h,o));const v=e=>pe(m[e],1,1,(()=>{m[e]=null}));return{c(){t=N("div"),n=N("ul");for(let e=0;e<m.length;e+=1)m[e].c();i=P(),r=N("li"),a=P(),s=N("li"),l=N("div"),c=N("a"),c.innerHTML='<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span> <span class="fd-navigation__text">More Items</span>',u=P(),d=N("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1qodpfy"></ul></div>',E(r,"class","lui-spacer svelte-1qodpfy"),E(r,"role","presentation"),E(r,"aria-hidden","true"),E(c,"class","fd-navigation__link svelte-1qodpfy"),E(c,"role","button"),E(c,"tabindex","0"),E(l,"class","fd-navigation__item lui-nav-more"),E(l,"aria-haspopup","menu"),E(l,"role","menuitem"),E(l,"aria-expanded","false"),E(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1qodpfy"),E(d,"aria-hidden","false"),E(s,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1qodpfy"),E(n,"class","fd-navigation__list svelte-1qodpfy"),E(n,"role","tree"),E(n,"tabindex","-1"),E(t,"class","fd-navigation__container fd-navigation__container--top svelte-1qodpfy")},m(o,h){C(o,t,h),y(t,n);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(n,null);y(n,i),y(n,r),y(n,a),y(n,s),y(s,l),y(l,c),y(s,u),y(s,d),e[62](t),f=!0,p||(g=[T(c,"click",e[42]),T(c,"keypress",e[61])],p=!0)},p(e,t){if(1227081664&t[0]|799&t[1]){let r;for(h=me(e[14]),r=0;r<h.length;r+=1){const o=$i(e,h,r);m[r]?(m[r].p(o,t),fe(m[r],1)):(m[r]=lo(o),m[r].c(),fe(m[r],1),m[r].m(n,i))}for(ue(),r=h.length;r<m.length;r+=1)v(r);de()}},i(e){if(!f){for(let e=0;e<h.length;e+=1)fe(m[e]);f=!0}},o(e){m=m.filter(Boolean);for(let t=0;t<m.length;t+=1)pe(m[t]);f=!1},d(n){n&&S(t),x(m,n),e[62](null),p=!1,o(g)}}}function Rr(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,I,R=e[27](e[97])+"";function D(e,t){return 16384&t[0]&&(r=null),null==r&&(r=!!e[32](e[98].metaInfo.icon)),r?Fr:Or}let O=D(e,[-1,-1,-1,-1]),F=O(e);function M(){return e[53](e[98])}function U(){return e[54](e[98])}function B(...t){return e[55](e[98],...t)}function q(...t){return e[56](e[98],...t)}let j=(!e[6]||e[98].metaInfo&&e[98].metaInfo.label===e[8])&&Mr(e);return{c(){t=N("li"),n=N("div"),i=N("a"),F.c(),a=P(),s=N("span"),l=k(R),c=P(),u=N("span"),d=P(),f=N("span"),v=P(),j&&j.c(),E(s,"class","fd-navigation__text"),E(u,"class","fd-navigation__selection-indicator"),E(u,"role","presentation"),E(u,"aria-hidden","true"),E(u,"aria-label","selection indicator"),E(f,"class","fd-navigation__has-children-indicator"),E(f,"role","presentation"),E(f,"aria-hidden","true"),E(f,"aria-label","has children indicator, expanded"),E(i,"class","fd-navigation__link svelte-1qodpfy"),E(i,"role","button"),E(i,"tabindex","0"),E(n,"class",p="fd-navigation__item "+(e[6]?"fd-popover__control":"")),E(n,"role","treeitem"),E(n,"title",g=e[35](e[98],e[27](e[97]))),E(n,"aria-expanded",h=e[6]?e[98].metaInfo&&e[98].metaInfo.label===e[8]:uo(e[98],e[9])),E(n,"aria-selected",m=e[6]&&e[98].indexOf(e[7])>=0),E(t,"class",b="fd-navigation__list-item "+(e[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"),E(t,"data-testid",_=e[34](e[98].metaInfo,e[97]))},m(e,r){C(e,t,r),y(t,n),y(n,i),F.m(i,null),y(i,a),y(i,s),y(s,l),y(i,c),y(i,u),y(i,d),y(i,f),y(t,v),j&&j.m(t,null),w=!0,x||(I=[T(i,"click",L(M)),T(i,"keypress",L(U)),T(i,"keypress",L(B)),T(n,"click",A(q))],x=!0)},p(r,o){O===(O=D(e=r,o))&&F?F.p(e,o):(F.d(1),F=O(e),F&&(F.c(),F.m(i,a))),(!w||134234112&o[0])&&R!==(R=e[27](e[97])+"")&&V(l,R),(!w||64&o[0]&&p!==(p="fd-navigation__item "+(e[6]?"fd-popover__control":"")))&&E(n,"class",p),(!w||134234112&o[0]&&g!==(g=e[35](e[98],e[27](e[97]))))&&E(n,"title",g),(!w||17216&o[0]&&h!==(h=e[6]?e[98].metaInfo&&e[98].metaInfo.label===e[8]:uo(e[98],e[9])))&&E(n,"aria-expanded",h),(!w||16576&o[0]&&m!==(m=e[6]&&e[98].indexOf(e[7])>=0))&&E(n,"aria-selected",m),!e[6]||e[98].metaInfo&&e[98].metaInfo.label===e[8]?j?(j.p(e,o),16704&o[0]&&fe(j,1)):(j=Mr(e),j.c(),fe(j,1),j.m(t,null)):j&&(ue(),pe(j,1,1,(()=>{j=null})),de()),(!w||64&o[0]&&b!==(b="fd-navigation__list-item "+(e[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"))&&E(t,"class",b),(!w||16384&o[0]&&_!==(_=e[34](e[98].metaInfo,e[97])))&&E(t,"data-testid",_)},i(e){w||(fe(j),w=!0)},o(e){pe(j),w=!1},d(e){e&&S(t),F.d(),j&&j.d(),x=!1,o(I)}}}function Dr(e){let t,n,i=me(e[98]),r=[];for(let a=0;a<i.length;a+=1)r[a]=oo(Pi(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(1090601152&n[0]|535&n[1]){let a;for(i=me(e[98]),a=0;a<i.length;a+=1){const o=Pi(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=oo(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Or(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[98].metaInfo.icon)||E(n,"src",i),E(n,"alt",r=e[98].metaInfo.altText?e[98].metaInfo.altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-navigation__icon svelte-1qodpfy"),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,i){C(e,t,i),y(t,n)},p(e,t){16384&t[0]&&!c(n.src,i=e[98].metaInfo.icon)&&E(n,"src",i),16384&t[0]&&r!==(r=e[98].metaInfo.altText?e[98].metaInfo.altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Fr(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-navigation__icon "+e[31](e[98].metaInfo.icon)+" "+(e[6]&&!e[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,n){C(e,t,n)},p(e,i){16448&i[0]&&n!==(n="fd-navigation__icon "+e[31](e[98].metaInfo.icon)+" "+(e[6]&&!e[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function Mr(e){let t,n,i,r,o,a,s,l=e[6]&&Ur(e),c=me(e[98]),u=[];for(let f=0;f<c.length;f+=1)u[f]=Yr(ki(e,c,f));const d=e=>pe(u[e],1,1,(()=>{u[e]=null}));return{c(){t=N("div"),n=N("div"),l&&l.c(),i=P(),r=N("ul");for(let e=0;e<u.length;e+=1)u[e].c();E(r,"class","fd-navigation__list fd-navigation__list--child-items"),E(r,"role","tree"),E(r,"tabindex","-1"),E(n,"class",o="fd-navigation__list-wrapper "+(e[6]?"fd-popover__wrapper":"")),E(t,"class",a="fd-navigation__list-container "+(e[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy")},m(e,o){C(e,t,o),y(t,n),l&&l.m(n,null),y(n,i),y(n,r);for(let t=0;t<u.length;t+=1)u[t]&&u[t].m(r,null);s=!0},p(e,f){if(e[6]?l?l.p(e,f):(l=Ur(e),l.c(),l.m(n,i)):l&&(l.d(1),l=null),1090601088&f[0]|532&f[1]){let t;for(c=me(e[98]),t=0;t<c.length;t+=1){const n=ki(e,c,t);u[t]?(u[t].p(n,f),fe(u[t],1)):(u[t]=Yr(n),u[t].c(),fe(u[t],1),u[t].m(r,null))}for(ue(),t=c.length;t<u.length;t+=1)d(t);de()}(!s||64&f[0]&&o!==(o="fd-navigation__list-wrapper "+(e[6]?"fd-popover__wrapper":"")))&&E(n,"class",o),(!s||64&f[0]&&a!==(a="fd-navigation__list-container "+(e[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy"))&&E(t,"class",a)},i(e){if(!s){for(let e=0;e<c.length;e+=1)fe(u[e]);s=!0}},o(e){u=u.filter(Boolean);for(let t=0;t<u.length;t+=1)pe(u[t]);s=!1},d(e){e&&S(t),l&&l.d(),x(u,e)}}}function Ur(e){let t,n,i,r,o,a,s,l,c,u=e[27](e[97])+"",d=e[10]&&e[98].metaInfo.icon&&Br(e);return{c(){t=N("div"),n=N("a"),d&&d.c(),i=P(),r=N("span"),o=k(u),a=P(),s=N("span"),E(r,"class","fd-navigation__text"),E(s,"class","fd-navigation__selection-indicator"),E(n,"class","fd-navigation__link svelte-1qodpfy"),E(n,"role","button"),E(n,"tabindex","0"),E(t,"class","fd-navigation__item fd-navigation__item--title svelte-1qodpfy"),E(t,"aria-level","1"),E(t,"role","treeitem"),E(t,"aria-expanded","true"),E(t,"aria-selected","false"),E(t,"title",l=e[35](e[98],e[27](e[97]))),E(t,"data-testid",c=e[34](e[98].metaInfo,e[97]))},m(e,l){C(e,t,l),y(t,n),d&&d.m(n,null),y(n,i),y(n,r),y(r,o),y(n,a),y(n,s)},p(e,r){e[10]&&e[98].metaInfo.icon?d?d.p(e,r):(d=Br(e),d.c(),d.m(n,i)):d&&(d.d(1),d=null),134234112&r[0]&&u!==(u=e[27](e[97])+"")&&V(o,u),134234112&r[0]&&l!==(l=e[35](e[98],e[27](e[97])))&&E(t,"title",l),16384&r[0]&&c!==(c=e[34](e[98].metaInfo,e[97]))&&E(t,"data-testid",c)},d(e){e&&S(t),d&&d.d()}}}function Br(e){let t,n;function i(e,n){return 16384&n[0]&&(t=null),null==t&&(t=!!e[32](e[98].metaInfo.icon)),t?jr:qr}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function qr(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[98].metaInfo.icon)||E(n,"src",i),E(n,"alt",r=e[98].metaInfo.altText?e[98].metaInfo.altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-navigation__icon svelte-1qodpfy"),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,i){C(e,t,i),y(t,n)},p(e,t){16384&t[0]&&!c(n.src,i=e[98].metaInfo.icon)&&E(n,"src",i),16384&t[0]&&r!==(r=e[98].metaInfo.altText?e[98].metaInfo.altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function jr(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-navigation__icon "+e[31](e[98].metaInfo.icon)+" svelte-1qodpfy"),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,n){C(e,t,n)},p(e,i){16384&i[0]&&n!==(n="fd-navigation__icon "+e[31](e[98].metaInfo.icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function Hr(e){let t,n,i=e[101].label&&zr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),16384&n[0]&&fe(i,1)):(i=zr(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function zr(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,I,L,A,R,O,F,M,U,B,q,j,H,z,W,G,K=e[30](e[101])+"",J=e[30](e[101])+"";c=new pi({props:{node:e[101]}});let Y=e[101].externalLink&&e[101].externalLink.url&&Wr(),Q=e[101].badgeCounter&&Gr(e);function Z(...t){return e[57](e[101],...t)}function X(...t){return e[58](e[101],...t)}R=new pi({props:{node:e[101]}});let ee=e[101].externalLink&&e[101].externalLink.url&&Kr(),te=e[101].badgeCounter&&Jr(e);function ne(...t){return e[59](e[101],...t)}function ie(...t){return e[60](e[101],...t)}return{c(){t=N("li"),n=N("div"),i=N("a"),r=N("span"),s=k(K),l=P(),be(c.$$.fragment),d=P(),f=N("span"),p=P(),Y&&Y.c(),g=P(),Q&&Q.c(),_=P(),w=N("li"),x=N("a"),I=N("span"),L=k(J),A=P(),be(R.$$.fragment),F=P(),ee&&ee.c(),M=P(),te&&te.c(),E(r,"class",u="fd-navigation__text badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(f,"class","fd-navigation__selection-indicator"),E(f,"role","presentation"),E(f,"aria-hidden","true"),E(f,"aria-label","selection indicator"),E(i,"class","fd-navigation__link svelte-1qodpfy"),E(i,"tabindex","0"),E(i,"href",h=e[33](e[101])),E(n,"class","fd-navigation__item fd-navigation__item--child"),E(n,"aria-level","3"),E(n,"role","treeitem"),E(n,"title",m=e[35](e[101],e[30](e[101]))),E(n,"aria-expanded","false"),E(n,"aria-selected",v=e[101]===e[7]),E(n,"data-testid",b=Vt.getTestId(e[101])),E(t,"class","fd-navigation__list-item"),E(I,"class",O="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(x,"href",U=e[33](e[101])),E(x,"class",B="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"),E(x,"role",q=e[24]?void 0:"button"),E(x,"tabindex","0"),E(x,"data-testid",j=Vt.getTestId(e[101])),E(x,"title",H=e[35](e[101],e[30](e[101]))),D(w,"display","none"),E(w,"class","fd-nested-list__item"),E(w,"aria-labelledby","collapsible_listnode_"+e[100])},m(o,u){C(o,t,u),y(t,n),y(n,i),y(i,r),y(r,s),y(r,l),_e(c,r,null),y(i,d),y(i,f),y(i,p),Y&&Y.m(i,null),y(i,g),Q&&Q.m(i,null),C(o,_,u),C(o,w,u),y(w,x),y(x,I),y(I,L),y(I,A),_e(R,I,null),y(x,F),ee&&ee.m(x,null),y(x,M),te&&te.m(x,null),z=!0,W||(G=[T(i,"click",Z),T(i,"keyup",(function(){a(e[24]?void 0:X)&&(e[24]?void 0:X).apply(this,arguments)})),T(x,"click",ne),T(x,"keyup",(function(){a(e[24]?void 0:ie)&&(e[24]?void 0:ie).apply(this,arguments)}))],W=!0)},p(t,o){e=t,(!z||16384&o[0])&&K!==(K=e[30](e[101])+"")&&V(s,K);const a={};16384&o[0]&&(a.node=e[101]),c.$set(a),(!z||16384&o[0]&&u!==(u="fd-navigation__text badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(r,"class",u),e[101].externalLink&&e[101].externalLink.url?Y||(Y=Wr(),Y.c(),Y.m(i,g)):Y&&(Y.d(1),Y=null),e[101].badgeCounter?Q?(Q.p(e,o),16384&o[0]&&fe(Q,1)):(Q=Gr(e),Q.c(),fe(Q,1),Q.m(i,null)):Q&&(ue(),pe(Q,1,1,(()=>{Q=null})),de()),(!z||16384&o[0]&&h!==(h=e[33](e[101])))&&E(i,"href",h),(!z||16384&o[0]&&m!==(m=e[35](e[101],e[30](e[101]))))&&E(n,"title",m),(!z||16512&o[0]&&v!==(v=e[101]===e[7]))&&E(n,"aria-selected",v),(!z||16384&o[0]&&b!==(b=Vt.getTestId(e[101])))&&E(n,"data-testid",b),(!z||16384&o[0])&&J!==(J=e[30](e[101])+"")&&V(L,J);const l={};16384&o[0]&&(l.node=e[101]),R.$set(l),(!z||16384&o[0]&&O!==(O="fd-nested-list__title badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(I,"class",O),e[101].externalLink&&e[101].externalLink.url?ee||(ee=Kr(),ee.c(),ee.m(x,M)):ee&&(ee.d(1),ee=null),e[101].badgeCounter?te?(te.p(e,o),16384&o[0]&&fe(te,1)):(te=Jr(e),te.c(),fe(te,1),te.m(x,null)):te&&(ue(),pe(te,1,1,(()=>{te=null})),de()),(!z||16384&o[0]&&U!==(U=e[33](e[101])))&&E(x,"href",U),(!z||16512&o[0]&&B!==(B="fd-nested-list__link "+(e[101]===e[7]?"is-selected":"")+" svelte-1qodpfy"))&&E(x,"class",B),(!z||16777216&o[0]&&q!==(q=e[24]?void 0:"button"))&&E(x,"role",q),(!z||16384&o[0]&&j!==(j=Vt.getTestId(e[101])))&&E(x,"data-testid",j),(!z||16384&o[0]&&H!==(H=e[35](e[101],e[30](e[101]))))&&E(x,"title",H)},i(e){z||(fe(c.$$.fragment,e),fe(Q),fe(R.$$.fragment,e),fe(te),z=!0)},o(e){pe(c.$$.fragment,e),pe(Q),pe(R.$$.fragment,e),pe(te),z=!1},d(e){e&&(S(t),S(_),S(w)),we(c),Y&&Y.d(),Q&&Q.d(),we(R),ee&&ee.d(),te&&te.d(),W=!1,o(G)}}}function Wr(e){let t;return{c(){t=N("span"),E(t,"class","fd-navigation__external-link-indicator"),E(t,"role","presentation"),E(t,"aria-hidden","true"),E(t,"aria-label","external link indicator")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function Gr(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Kr(e){let t;return{c(){t=N("i"),E(t,"class","sap-icon--action")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function Jr(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Yr(e){let t,n,i=!e[101].hideFromNav&&Hr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),16384&n[0]&&fe(i,1)):(i=Hr(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Qr(e){let t,n,i=e[101].label&&Zr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].label?i?(i.p(e,n),16384&n[0]&&fe(i,1)):(i=Zr(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Zr(e){let t,n,i,r,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,I,L,A,R=e[30](e[101])+"";function D(e,t){return e[101].icon?eo:Xr}let O=D(e),F=O(e);u=new pi({props:{node:e[101]}});let M=e[101].externalLink&&e[101].externalLink.url&&io(),U=e[101].badgeCounter&&ro(e);function B(...t){return e[50](e[101],...t)}function q(...t){return e[51](e[101],...t)}return{c(){t=N("li"),n=N("div"),i=N("a"),F.c(),r=P(),s=N("span"),l=k(R),c=P(),be(u.$$.fragment),f=P(),M&&M.c(),p=P(),U&&U.c(),g=P(),h=N("span"),E(s,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"),E(h,"class","fd-navigation__selection-indicator"),E(h,"role","presentation"),E(h,"aria-hidden","true"),E(h,"aria-label","selection indicator"),E(i,"class",m="fd-navigation__link "+(e[101]===e[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"),E(i,"tabindex","0"),E(i,"href",v=e[33](e[101])),E(i,"title",b=e[35](e[101],e[30](e[101]))),E(i,"role",_=e[24]?void 0:"button"),E(i,"data-testid",w=Vt.getTestId(e[101])),E(n,"class","fd-navigation__item"),E(n,"aria-level","2"),E(n,"role","treeitem"),E(n,"aria-selected",x=e[101]===e[7]),E(n,"aria-expanded","false"),E(t,"class","fd-navigation__list-item lui-nav-entry")},m(o,d){C(o,t,d),y(t,n),y(n,i),F.m(i,null),y(i,r),y(i,s),y(s,l),y(s,c),_e(u,s,null),y(i,f),M&&M.m(i,null),y(i,p),U&&U.m(i,null),y(i,g),y(i,h),I=!0,L||(A=[T(i,"click",B),T(i,"keyup",(function(){a(e[24]?void 0:q)&&(e[24]?void 0:q).apply(this,arguments)})),T(i,"mouseup",e[52])],L=!0)},p(t,o){O===(O=D(e=t))&&F?F.p(e,o):(F.d(1),F=O(e),F&&(F.c(),F.m(i,r))),(!I||16384&o[0])&&R!==(R=e[30](e[101])+"")&&V(l,R);const a={};16384&o[0]&&(a.node=e[101]),u.$set(a),(!I||16384&o[0]&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(e[101].statusBadge&&"right"===e[101].statusBadge.align?"right":"left")+" svelte-1qodpfy"))&&E(s,"class",d),e[101].externalLink&&e[101].externalLink.url?M||(M=io(),M.c(),M.m(i,p)):M&&(M.d(1),M=null),e[101].badgeCounter?U?(U.p(e,o),16384&o[0]&&fe(U,1)):(U=ro(e),U.c(),fe(U,1),U.m(i,g)):U&&(ue(),pe(U,1,1,(()=>{U=null})),de()),(!I||16512&o[0]&&m!==(m="fd-navigation__link "+(e[101]===e[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"))&&E(i,"class",m),(!I||16384&o[0]&&v!==(v=e[33](e[101])))&&E(i,"href",v),(!I||16384&o[0]&&b!==(b=e[35](e[101],e[30](e[101]))))&&E(i,"title",b),(!I||16777216&o[0]&&_!==(_=e[24]?void 0:"button"))&&E(i,"role",_),(!I||16384&o[0]&&w!==(w=Vt.getTestId(e[101])))&&E(i,"data-testid",w),(!I||16512&o[0]&&x!==(x=e[101]===e[7]))&&E(n,"aria-selected",x)},i(e){I||(fe(u.$$.fragment,e),fe(U),I=!0)},o(e){pe(u.$$.fragment,e),pe(U),I=!1},d(e){e&&S(t),F.d(),we(u),M&&M.d(),U&&U.d(),L=!1,o(A)}}}function Xr(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-navigation__icon lui-hideOnHover-show "+(e[6]?"sap-icon--rhombus-milestone-2":"")),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,n){C(e,t,n)},p(e,i){64&i[0]&&n!==(n="fd-navigation__icon lui-hideOnHover-show "+(e[6]?"sap-icon--rhombus-milestone-2":""))&&E(t,"class",n)},d(e){e&&S(t)}}}function eo(e){let t,n;function i(e,n){return 16384&n[0]&&(t=null),null==t&&(t=!!e[32](e[101].icon)),t?no:to}let r=i(e,[-1,-1,-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function to(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[101].icon)||E(n,"src",i),E(n,"alt",r=e[101].altText?e[101].altText:""),E(n,"class","svelte-1qodpfy"),E(t,"class","fd-navigation__icon lui-hideOnHover-show svelte-1qodpfy")},m(e,i){C(e,t,i),y(t,n)},p(e,t){16384&t[0]&&!c(n.src,i=e[101].icon)&&E(n,"src",i),16384&t[0]&&r!==(r=e[101].altText?e[101].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function no(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-navigation__icon lui-hideOnHover-show "+e[31](e[101].icon)+" svelte-1qodpfy"),E(t,"role","presentation"),E(t,"aria-hidden","true")},m(e,n){C(e,t,n)},p(e,i){16384&i[0]&&n!==(n="fd-navigation__icon lui-hideOnHover-show "+e[31](e[101].icon)+" svelte-1qodpfy")&&E(t,"class",n)},d(e){e&&S(t)}}}function io(e){let t;return{c(){t=N("span"),E(t,"class","fd-navigation__external-link-indicator"),E(t,"role","presentation"),E(t,"aria-hidden","true"),E(t,"aria-label","external link indicator")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function ro(e){let t,n;return t=new ci({props:{node:e[101]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.node=e[101]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function oo(e){let t,n,i=!e[101].hideFromNav&&Qr(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[101].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),16384&n[0]&&fe(i,1)):(i=Qr(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function ao(e){let t,n,i,r,o,a;const s=[Dr,Rr],l=[];function c(e,i){return 49152&i[0]&&(t=null),16384&i[0]&&(n=null),null==t&&(t=!("undefined"!==e[97]&&!e[97].startsWith(e[15]))),t?0:(null==n&&(n=!!(e[98].filter(po).length>0)),n?1:-1)}return~(i=c(e,[-1,-1,-1,-1]))&&(r=l[i]=s[i](e)),{c(){r&&r.c(),o=I()},m(e,t){~i&&l[i].m(e,t),C(e,o,t),a=!0},p(e,t){let n=i;i=c(e,t),i===n?~i&&l[i].p(e,t):(r&&(ue(),pe(l[n],1,1,(()=>{l[n]=null})),de()),~i?(r=l[i],r?r.p(e,t):(r=l[i]=s[i](e),r.c()),fe(r,1),r.m(o.parentNode,o)):r=null)},i(e){a||(fe(r),a=!0)},o(e){pe(r),a=!1},d(e){e&&S(o),~i&&l[i].d(e)}}}function so(e){let t,n,i=me(e[94].entries),r=[];for(let a=0;a<i.length;a+=1)r[a]=ao(Ni(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(1227081664&n[0]|799&n[1]){let a;for(i=me(e[94].entries),a=0;a<i.length;a+=1){const o=Ni(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=ao(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function lo(e){let t,n;return t=new bi({props:{navGroup:e[94],expanded:e[94].groupEntry&&uo(e[94].groupEntry[1],e[9]),$$slots:{default:[so]},$$scope:{ctx:e}}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.navGroup=e[94]),16896&n[0]&&(i.expanded=e[94].groupEntry&&uo(e[94].groupEntry[1],e[9])),151046080&n[0]|4194304&n[3]&&(i.$$scope={dirty:n,ctx:e}),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function co(e){let t,n,i,r,a,s;const l=[Ti,Ii],c=[];return t=e[29]?0:1,n=c[t]=l[t](e),{c(){n.c(),i=I()},m(n,o){c[t].m(n,o),C(n,i,o),r=!0,a||(s=[T(_i,"resize",e[18]),T(_i,"click",e[22]),T(_i,"blur",e[22]),T(_i,"keydown",e[36])],a=!0)},p(e,t){n.p(e,t)},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),c[t].d(e),a=!1,o(s)}}}function uo(e,t){return t&&t.indexOf(e.metaInfo.categoryUid)>=0}function fo(e){const t=e.closest(".lui-nav-entry");t.style.setProperty("--lui_popover_offset","0px"),setTimeout((()=>{const e=t.querySelector(".fd-popover__body").getBoundingClientRect();e.top+e.height>window.innerHeight&&t.style.setProperty("--lui_popover_offset",e.top+e.height-window.innerHeight+"px")}))}const po=e=>!e.hideFromNav&&e.label,go=e=>!e.hideFromNav&&e.label;function ho(e,t,n){let i;const r=()=>({children:u,hideNavComponent:d,footerText:p,semiCollapsible:g,pathData:v,virtualGroupPrefix:_,isSemiCollapsed:w,selectedNode:y,sideNavAccordionMode:N,selectedCategory:C,expandedCategories:S,hasCategoriesWithIcon:x,navParentNode:I}),o=async e=>{e&&(Object.getOwnPropertyNames(e).forEach((async t=>{if("pathData"===t)n(5,v=e.pathData);else if("context"===t)s=e.context;else if("children"===t)n(0,u=e.children);else if("selectedNode"===t)n(7,y=e.selectedNode);else if("hasCategoriesWithIcon"===t)n(10,x=e.hasCategoriesWithIcon);else if("navParent"===t){n(12,P=void 0);let t=e.navParent;if(n(45,I=t),t&&t.navHeader&&Et.requestExperimentalFeature("navHeader",!0)){let e=t.navHeader,i=t;if("inherit"===e){for(i=t.parent;i&&"inherit"===i.navHeader;)i=i.parent;e=i?i.navHeader:void 0}if(e instanceof Function){n(12,P={});let r=e(Vt.stripNode(t),Vt.stripNode(i),s);r instanceof Promise?r.then((e=>{n(12,P=e)})):n(12,P=r)}else if("auto"===e)n(12,P={label:t.label,icon:t.icon});else if(e&&e.useTitleResolver&&i.titleResolver){i.titleResolver.prerenderFallback?n(12,P={...e,label:i.titleResolver.fallbackTitle||"",icon:i.titleResolver.fallbackIcon}):n(12,P=e);const r=Rt.mapPathToNode(xt.getCurrentPath(),i);at.extractDataFromPath(r).then((r=>{const o=Rt.substituteDynamicParamsInObject(Object.assign({},r.pathData.context,i.context),r.pathData.pathParams);Vt.fetchNodeTitleData(i,o).then((t=>{n(12,P={...e,...t})})).catch((i=>{console.error("Error while retrieving title, fallback to node label"),n(12,P={...e,label:t.label,icon:t.icon})}))}))}else n(12,P=await async function(e,t){const n=Rt.mapPathToNode(xt.getCurrentPath(),t),i=(await at.extractDataFromPath(n)).pathData.pathParams;return Rt.substituteDynamicParamsInObject(e,i)}(e,i))}}})),n(44,N=Vt.getSideNavAccordionMode(y)))},a=W();let s,l,c,{children:u}=t,{hideNavComponent:d}=t,{footerText:p}=t,{semiCollapsible:g}=t,{semiCollapsibleButton:h}=t,{semiCollapsibleButtonStyle:m}=t,{pathData:v}=t,{pathParams:b}=t,{virtualGroupPrefix:_=Vt.virtualGroupPrefix}=t,{isSemiCollapsed:w}=t,{selectedNode:y}=t,{selectedCategory:C=null}=t,{expandedCategories:S}=t,{hasCategoriesWithIcon:x}=t,{sideNavAccordionMode:N}=t,{burgerTooltip:k}=t,{navHeader:P}=t,{navParentNode:I}=t,T=K("store"),L=K("getTranslation");f(e,L,(e=>n(27,i=e)));let A,E,V,R=!1,D=Ke.getConfigValue("settings.btpToolLayout")&&Et.requestExperimentalFeature("btpToolLayout",!1),O=Ke.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::";const F=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),V&&clearTimeout(V);const e=r(),t=await at.getLeftNavData({...e},e);t&&(o(t),l=v,window.LEFTNAVDATA=t.children)};j((()=>{n(3,h="semiCollapsible"===Ke.getConfigValue("settings.responsiveNavigation")),n(4,m=Ke.getConfigValue("settings.semiCollapsibleButtonStyle")),n(24,R=Ke.getConfigValue("navigation.addNavHrefs")),n(1,d=Ke.getConfigBooleanValue("settings.hideNavigation")),n(23,c=Ke.getConfigBooleanValue("settings.sideNavCompactMode")),n(9,S=Vt.loadExpandedCategories()),Dt.doOnStoreChange(T,(()=>{n(2,p=Ke.getConfigValue("settings.sideNavFooterText"))}),["settings.footer"]),Dt.doOnStoreChange(T,(()=>{F()}),["navigation.viewgroupdata"]);let e=qe.initial();n(6,w=e.isSemiCollapsed),n(43,g=e.semiCollapsible),qe.onValueChanged((e=>{n(6,w=e.isSemiCollapsed)})),Ot.addEventListener("message",(e=>{"luigi.navigation.update-badge-counters"===e.data.msg&&F()}))}));const M=()=>{if(A){const e=A.querySelectorAll(".lui-moreItems > .lui-nav-entry"),t=A.querySelector(".fd-navigation__list"),n=A.querySelector(".fd-navigation__list > .lui-spacer");null==e||e.forEach((e=>{e.navGroupId?t.querySelector(`[navGroupId="${e.navGroupId}"]`).appendChild(e):t.insertBefore(e,n)})),A.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}};H((()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver(((e,t)=>{V&&clearTimeout(V),w&&(V=setTimeout((()=>{M(),(()=>{if(A){const e=A.querySelector(".fd-navigation__list > .lui-spacer"),t=A.querySelector(".lui-moreItems"),n=A.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(0===e.clientHeight&&n.length>1){A.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let i=n.length-1;i>0&&(lastNode=n[i-1],n[i].navGroupId=n[i].parentNode.getAttribute("navGroupId"),t.insertBefore(n[i],t.firstChild),!(e.clientHeight>0));i--);}}})()}),100))}))),window.Luigi.__btpNavTopCntRszObs.disconnect(),A&&w?window.Luigi.__btpNavTopCntRszObs.observe(A):M(),(()=>{const e=e=>{e&&z(e)};(null==P?void 0:P.renderer)&&E&&(P.clearBeforeRender&&n(26,E.innerHTML="",E),P.renderer(E,I,e,{...P,context:v._context}))})()})),q((()=>{l&&l==v||F(),n(23,c=Ke.getConfigBooleanValue("settings.sideNavCompactMode")),n(9,S=Vt.loadExpandedCategories()),n(3,h="semiCollapsible"===Ke.getConfigValue("settings.responsiveNavigation"))}));let{sortedChildrenEntries:U}=t,{sortedVerticalNavGroups:B}=t;function z(e){a("handleClick",{node:e})}function G(e,t){if(qe.getCollapsed()){let i,r=document.getElementsByClassName("fd-app__sidebar")[0];if(i=e.metaInfo&&e.metaInfo.label?e.metaInfo.label:e.category&&e.category.label||e.category,r&&!r.classList.contains("isBlocked")&&(r.className+=" isBlocked"),i===C)return void n(8,C=qe.closePopupMenu(C));n(8,C=i),r?J(t):D&&(fo(t),t.closest(".lui-moreItems")||Z())}}function J(e){const t=e.closest(".fd-nested-list__item"),n=t.offsetTop,i=Ye.getShellbar().offsetHeight;let r;r=Ye.isCustomLuigiContainer()?Ye.getCustomLuigiContainer().clientHeight:window.innerHeight,setTimeout((()=>{const o=t.getElementsByClassName("lui-flyout-sublist")[0],a=e.closest(".lui-fd-side-nav-wrapper").scrollTop,s=n+i-a,l=r-n-t.offsetHeight+a-i;s+o.offsetHeight>=r?(o.style.bottom=l+"px",o.className+=" has-bottom-position"):o.style.top=s-i+"px"}))}function Y(e,t){qe.getCollapsed()||n(9,S=Vt.storeExpandedState(e.metaInfo.categoryUid,t,N))}function Z(){A&&A.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function X(){n(8,C=qe.closePopupMenu(C)),Z()}function ee(){n(6,w=qe.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&a("resizeTabNav",{}),function(){if(!Vt.getBurgerTooltipConfig())return;const[e,t]=Vt.getBurgerTooltipConfig(),i=document.body.classList.contains("lui-semiCollapsible");e&&t&&i&&n(11,k=document.body.classList.contains("semiCollapsed")?e:t)}()}function te(e){const t=e.code;"Enter"!==t&&"Space"!==t||ee()}function ne(e,t){"Enter"!==e.code&&"Space"!==e||G(t,e.currentTarget)}function ie(e,t){e.keyCode===Bt&&Vt.handleNavAnchorClickedWithoutMetaKey(e)&&z(t)}function re(e){if(!e)return;const t=e.target.parentElement;"true"===t.getAttribute("aria-expanded")?t.setAttribute("aria-expanded","false"):(X(),t.setAttribute("aria-expanded","true")),e.stopPropagation()}return e.$$set=e=>{"children"in e&&n(0,u=e.children),"hideNavComponent"in e&&n(1,d=e.hideNavComponent),"footerText"in e&&n(2,p=e.footerText),"semiCollapsible"in e&&n(43,g=e.semiCollapsible),"semiCollapsibleButton"in e&&n(3,h=e.semiCollapsibleButton),"semiCollapsibleButtonStyle"in e&&n(4,m=e.semiCollapsibleButtonStyle),"pathData"in e&&n(5,v=e.pathData),"pathParams"in e&&n(46,b=e.pathParams),"virtualGroupPrefix"in e&&n(15,_=e.virtualGroupPrefix),"isSemiCollapsed"in e&&n(6,w=e.isSemiCollapsed),"selectedNode"in e&&n(7,y=e.selectedNode),"selectedCategory"in e&&n(8,C=e.selectedCategory),"expandedCategories"in e&&n(9,S=e.expandedCategories),"hasCategoriesWithIcon"in e&&n(10,x=e.hasCategoriesWithIcon),"sideNavAccordionMode"in e&&n(44,N=e.sideNavAccordionMode),"burgerTooltip"in e&&n(11,k=e.burgerTooltip),"navHeader"in e&&n(12,P=e.navHeader),"navParentNode"in e&&n(45,I=e.navParentNode),"sortedChildrenEntries"in e&&n(13,U=e.sortedChildrenEntries),"sortedVerticalNavGroups"in e&&n(14,B=e.sortedVerticalNavGroups)},e.$$.update=()=>{if(1&e.$$.dirty[0]&&u){const e=Object.entries(u);e.sort(((e,t)=>e[1].metaInfo.order-t[1].metaInfo.order)),n(13,U=e),n(14,B=function(e){if(D){const t={},n=[],r=O;let o=[];return e.forEach((e=>{if(e[0].startsWith(_))o.push({isSingleEntry:!0,entries:[e]});else{const a=e[1].metaInfo.categoryUid;if(a&&a.indexOf(r)>0)n.push(e);else{const n=e[1].metaInfo.isGroup;t[a]={isSingleEntry:!n,title:i(e[1].metaInfo.label),groupEntry:e,uid:a,entries:[n?["undefined",e[1]]:e]},o.push(t[a]),!Vt.isCollapsedSuperCategory(a)&&n&&Y(e[1],!0)}}})),n.forEach((e=>{const n=e[1].metaInfo.categoryUid.split(r)[0],i=t[n];i&&(i.isSingleEntry&&(i.isSingleEntry=!1,i.entries=[["undefined",i.groupEntry[1]]]),i.entries.push(e))})),o.filter((e=>{if(e.entries&&e.entries.length>0)for(let t=0;t<e.entries.length;t++){const[n,i]=e.entries[t];if(i.filter((e=>!e.hideFromNav&&e.label)).length>0)return!0}return!1}))}return e}(e))}},[u,d,p,h,m,v,w,y,C,S,x,k,P,U,B,_,z,G,function(){if(g){let e=qe.onResize(C);n(6,w=e.isSemiCollapsed),n(8,C=e.selectedCategory)}},function(e){if("ArrowRight"===e.code){const e=At.getCurrentMicrofrontendIframe();e&&e.contentWindow&&e.contentWindow.focus()}},function(e){let t=I?I.parent:void 0;for(;t;){if(t.pathSegment&&0!==t.pathSegment.trim().indexOf(":"))return void a("handleClick",{node:t});t=t.parent}console.warn('Could not resolve "up"-node, redirecting to root'),Qe.navigate("/")},Y,X,c,R,A,E,i,L,D,e=>Vt.getNodeLabel(e),function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e)},function(e){return Rt.getNodeHref(e,b)},function(e,t){return e&&e.testId?e.testId:Vt.prepareForTests(t||e.label)},function(e,t){return Vt.generateTooltipText(e,t)},function(e){e&&"Escape"===e.code&&X()},ee,te,ne,ie,function(e,t){return uo(e,t)?e.metaInfo.titleCollapseButton?i(e.metaInfo.titleCollapseButton):void 0:e.metaInfo.titleExpandButton?i(e.metaInfo.titleExpandButton):void 0},re,g,N,I,b,J,fo,function(e){Q[e?"unshift":"push"]((()=>{E=e,n(26,E)}))},(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),e=>{w&&e.target.blur()},e=>Y(e,!uo(e,S)),e=>Y(e,!uo(e,S)),(e,t)=>ne(t,e),(e,t)=>G(e,t.currentTarget),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),e=>{("Enter"===e.code||"Space"===e.code)&&re(e)},function(e){Q[e?"unshift":"push"]((()=>{A=e,n(25,A)}))},function(e){Q[e?"unshift":"push"]((()=>{E=e,n(26,E)}))},(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),e=>Y(e,!uo(e,S)),e=>Y(e,!uo(e,S)),(e,t)=>ne(t,e),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),e=>G(e,event.currentTarget),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&z(e)},(e,t)=>ie(t,e),e=>ee(),e=>ee(),e=>te(e)]}class mo extends Se{constructor(e){super(),Ce(this,e,ho,co,s,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return fo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const vo=(e,t,n)=>{let i=!0;return Et.trimTrailingSlash(Et.trimLeadingSlash(e)).split("/").forEach(((e,r)=>{i&&(r+1>=t.length?i=!1:t[r+1].pathSegment&&((e,t,n)=>e===t||!(!t.startsWith(":")||!n||n[t.substr(1)]!==e))(e,t[r+1].pathSegment,n)||(i=!1))})),i},bo=e=>{const t=e.get().appSwitcherItems,n=e.get().pathData,i=e.get().pathParams;let r;t&&n&&[...t].sort(((e,t)=>(t.link||"").localeCompare(e.link||""))).some((e=>{var t;let o=vo(e.link,n,i);return!o&&(null==(t=e.selectionConditions)?void 0:t.route)&&(o=vo(e.selectionConditions.route,n,i),o&&(e.selectionConditions.contextCriteria||[]).forEach((e=>{o=o&&St.get(n._context,e.key)===e.value}))),o&&(r=e),o})),e.set({selectedItem:r});const o=r&&r.title?r.title:e.get().defaultTitle,a=Xe.getDocumentTitle()||o;e.set({title:o}),document.title=Ze.getTranslation(a);const s=r?r.subTitle||"":e.get().defaultSubTitle;e.set({subTitle:s})};function _o(e,t,n){const i=e.slice();return i[46]=t[n],i[48]=n,i}function wo(e,t,n){const i=e.slice();return i[46]=t[n],i}function yo(e){let t,n,i,r,o=e[1]&&So(e);return{c(){t=N("span"),o&&o.c(),E(t,"class",n="fd-shellbar__logo "+(e[1]?"":"fd-shellbar__logo--image-replaced")+" "+(e[1]?"lui-customlogo":"")+" svelte-bbvnsa"),E(t,"aria-label",e[2]),E(t,"role","button"),E(t,"tabindex","0")},m(n,a){C(n,t,a),o&&o.m(t,null),i||(r=T(t,"click",e[31]),i=!0)},p(e,i){e[1]?o?o.p(e,i):(o=So(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null),2&i[0]&&n!==(n="fd-shellbar__logo "+(e[1]?"":"fd-shellbar__logo--image-replaced")+" "+(e[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&E(t,"class",n),4&i[0]&&E(t,"aria-label",e[2])},d(e){e&&S(t),o&&o.d(),i=!1,r()}}}function Co(e){let t,n,i,r,o=e[1]&&xo(e);return{c(){t=N("a"),o&&o.c(),E(t,"class",n="fd-shellbar__logo "+(e[1]?"":"fd-shellbar__logo--image-replaced")+" "+(e[1]?"lui-customlogo":"")+" svelte-bbvnsa"),E(t,"aria-label",e[2]),E(t,"href","/"),E(t,"role","button"),E(t,"tabindex","0")},m(n,a){C(n,t,a),o&&o.m(t,null),i||(r=T(t,"click",e[29]),i=!0)},p(e,i){e[1]?o?o.p(e,i):(o=xo(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null),2&i[0]&&n!==(n="fd-shellbar__logo "+(e[1]?"":"fd-shellbar__logo--image-replaced")+" "+(e[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&E(t,"class",n),4&i[0]&&E(t,"aria-label",e[2])},d(e){e&&S(t),o&&o.d(),i=!1,r()}}}function So(e){let t;return{c(){t=N("img"),E(t,"data-testid","luigi-topnav-logo"),E(t,"alt",e[2]),E(t,"class","svelte-bbvnsa")},m(n,i){C(n,t,i),e[30](t)},p(e,n){4&n[0]&&E(t,"alt",e[2])},d(n){n&&S(t),e[30](null)}}}function xo(e){let t;return{c(){t=N("img"),E(t,"data-testid","luigi-topnav-logo"),E(t,"alt",e[2]),E(t,"class","svelte-bbvnsa")},m(n,i){C(n,t,i),e[28](t)},p(e,n){4&n[0]&&E(t,"alt",e[2])},d(n){n&&S(t),e[28](null)}}}function $o(e){let t,n=(!e[3]||e[4])&&No(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){!e[3]||e[4]?n?n.p(e,i):(n=No(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function No(e){let t;function n(e,t){return e[14]?Po:ko}let i=n(e),r=i(e);return{c(){r.c(),t=I()},m(e,n){r.m(e,n),C(e,t,n)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r.d(1),r=i(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){e&&S(t),r.d(e)}}}function ko(e){let t,n,i,r,o=e[19](e[4]?e[8]:e[2])+"";return{c(){t=N("span"),n=k(o),E(t,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),E(t,"data-testid","luigi-topnav-title")},m(o,a){C(o,t,a),y(t,n),i||(r=T(t,"click",e[33]),i=!0)},p(e,t){524564&t[0]&&o!==(o=e[19](e[4]?e[8]:e[2])+"")&&V(n,o)},d(e){e&&S(t),i=!1,r()}}}function Po(e){let t,n,i,r,o,a=e[19](e[4]?e[8]:e[2])+"";return{c(){t=N("a"),n=k(a),E(t,"class",i="fd-shellbar__title lui-shellbar-single-app-title "+(e[3]&&"lui-has-apps")+" svelte-bbvnsa"),E(t,"data-testid","luigi-topnav-title"),E(t,"href","/")},m(i,a){C(i,t,a),y(t,n),r||(o=T(t,"click",e[32]),r=!0)},p(e,r){524564&r[0]&&a!==(a=e[19](e[4]?e[8]:e[2])+"")&&V(n,a),8&r[0]&&i!==(i="fd-shellbar__title lui-shellbar-single-app-title "+(e[3]&&"lui-has-apps")+" svelte-bbvnsa")&&E(t,"class",i)},d(e){e&&S(t),r=!1,o()}}}function Io(e){let t,n,i=e[3]&&To(e),r=e[12]&&e[5]&&zo(e);return{c(){i&&i.c(),t=P(),r&&r.c(),n=I()},m(e,o){i&&i.m(e,o),C(e,t,o),r&&r.m(e,o),C(e,n,o)},p(e,o){e[3]?i?i.p(e,o):(i=To(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),e[12]&&e[5]?r?r.p(e,o):(r=zo(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){e&&(S(t),S(n)),i&&i.d(e),r&&r.d(e)}}}function To(e){let t,n,i,r,o,a,s,l,c,u,d,f,p=e[4]&&Lo();function g(e,t){return e[14]?Eo:Ao}let h=g(e),m=h(e),v=e[6]&&e[7]&&Mo(e),b=e[9]&&e[9].length>0&&Uo(e);return{c(){p&&p.c(),t=P(),n=N("div"),i=N("div"),m.c(),r=P(),o=N("div"),a=N("nav"),s=N("ul"),v&&v.c(),l=P(),b&&b.c(),E(i,"class","fd-popover__control"),E(s,"class","fd-menu__list fd-menu__list--no-shadow"),E(a,"class","fd-menu"),E(o,"class","fd-popover__body fd-popover__body--left"),E(o,"aria-hidden",c=!e[13].appSwitcherPopover),E(o,"id","appSwitcherPopover"),E(n,"class",u="fd-popover "+(e[4]&&"lui-keep-main")+" "+(e[9]&&1===e[9].length&&"lui-sat")+" svelte-bbvnsa")},m(c,u){p&&p.m(c,u),C(c,t,u),C(c,n,u),y(n,i),m.m(i,null),y(n,r),y(n,o),y(o,a),y(a,s),v&&v.m(s,null),y(s,l),b&&b.m(s,null),e[39](s),d||(f=T(i,"click",A(Go)),d=!0)},p(e,r){e[4]?p||(p=Lo(),p.c(),p.m(t.parentNode,t)):p&&(p.d(1),p=null),h===(h=g(e))&&m?m.p(e,r):(m.d(1),m=h(e),m&&(m.c(),m.m(i,null))),e[6]&&e[7]?v?v.p(e,r):(v=Mo(e),v.c(),v.m(s,l)):v&&(v.d(1),v=null),e[9]&&e[9].length>0?b?b.p(e,r):(b=Uo(e),b.c(),b.m(s,null)):b&&(b.d(1),b=null),8192&r[0]&&c!==(c=!e[13].appSwitcherPopover)&&E(o,"aria-hidden",c),528&r[0]&&u!==(u="fd-popover "+(e[4]&&"lui-keep-main")+" "+(e[9]&&1===e[9].length&&"lui-sat")+" svelte-bbvnsa")&&E(n,"class",u)},d(i){i&&(S(t),S(n)),p&&p.d(i),m.d(),v&&v.d(),b&&b.d(),e[39](null),d=!1,f()}}}function Lo(e){let t;return{c(){t=N("span"),E(t,"class","fd-shellbar__separator")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function Ao(e){let t,n,i,r,o,a,s,l,c=e[19](e[2])+"";return{c(){t=N("button"),n=N("span"),i=k(c),r=P(),o=N("i"),E(n,"class","fd-shellbar__title svelte-bbvnsa"),E(n,"data-testid","luigi-topnav-title"),E(o,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),E(t,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),E(t,"aria-haspopup","true"),E(t,"aria-expanded",a=e[13].appSwitcherPopover||!1),E(t,"data-testid","app-switcher")},m(a,c){C(a,t,c),y(t,n),y(n,i),y(t,r),y(t,o),s||(l=T(t,"click",A(e[37])),s=!0)},p(e,n){524292&n[0]&&c!==(c=e[19](e[2])+"")&&V(i,c),8192&n[0]&&a!==(a=e[13].appSwitcherPopover||!1)&&E(t,"aria-expanded",a)},d(e){e&&S(t),s=!1,l()}}}function Eo(e){let t,n,i,r=e[9]&&1===e[9].length&&Vo(e),o=e[9]&&e[9].length>1&&Ro(e),a=e[9].length>1&&!e[7]&&Fo(e);return{c(){r&&r.c(),t=P(),o&&o.c(),n=P(),a&&a.c(),i=I()},m(e,s){r&&r.m(e,s),C(e,t,s),o&&o.m(e,s),C(e,n,s),a&&a.m(e,s),C(e,i,s)},p(e,s){e[9]&&1===e[9].length?r?r.p(e,s):(r=Vo(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),e[9]&&e[9].length>1?o?o.p(e,s):(o=Ro(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),e[9].length>1&&!e[7]?a?a.p(e,s):(a=Fo(e),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){e&&(S(t),S(n),S(i)),r&&r.d(e),o&&o.d(e),a&&a.d(e)}}}function Vo(e){let t,n,i,r,o,a,s=e[19](e[9][0].title)+"";return{c(){t=N("a"),n=N("span"),i=k(s),E(t,"href",r=e[24](e[9][0])),E(t,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(r,s){C(r,t,s),y(t,n),y(n,i),o||(a=T(t,"click",e[34]),o=!0)},p(e,n){524800&n[0]&&s!==(s=e[19](e[9][0].title)+"")&&V(i,s),512&n[0]&&r!==(r=e[24](e[9][0]))&&E(t,"href",r)},d(e){e&&S(t),o=!1,a()}}}function Ro(e){let t,n=me(e[9]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Oo(wo(e,n,r));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=I()},m(e,n){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,n);C(e,t,n)},p(e,r){if(25832068&r[0]){let o;for(n=me(e[9]),o=0;o<n.length;o+=1){const a=wo(e,n,o);i[o]?i[o].p(a,r):(i[o]=Oo(a),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Do(e){let t,n,i,r,o,a,s,l,c,u,d=e[19](e[2])+"";return{c(){t=N("a"),n=N("span"),i=k(d),r=P(),o=N("i"),a=P(),E(n,"class","fd-button__text"),E(n,"data-testid","luigi-topnav-title"),E(o,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),E(t,"href",s=e[24](e[46])),E(t,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),E(t,"aria-haspopup","true"),E(t,"aria-expanded",l=e[13].appSwitcherPopover||!1),E(t,"data-testid","app-switcher")},m(s,l){C(s,t,l),y(t,n),y(n,i),y(t,r),y(t,o),y(t,a),c||(u=T(t,"click",L(e[35])),c=!0)},p(e,n){524292&n[0]&&d!==(d=e[19](e[2])+"")&&V(i,d),512&n[0]&&s!==(s=e[24](e[46]))&&E(t,"href",s),8192&n[0]&&l!==(l=e[13].appSwitcherPopover||!1)&&E(t,"aria-expanded",l)},d(e){e&&S(t),c=!1,u()}}}function Oo(e){let t,n=e[46]===e[7]&&e[23](e[46],e[11]),i=n&&Do(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,r){2688&r[0]&&(n=e[46]===e[7]&&e[23](e[46],e[11])),n?i?i.p(e,r):(i=Do(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(e){e&&S(t),i&&i.d(e)}}}function Fo(e){let t,n,i,r,o,a,s,l,c=e[19](e[2])+"";return{c(){t=N("a"),n=N("span"),i=k(c),r=P(),o=N("i"),E(n,"class","fd-button__text"),E(n,"data-testid","luigi-topnav-title"),E(o,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),E(t,"href","/"),E(t,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),E(t,"aria-haspopup","true"),E(t,"aria-expanded",a=e[13].appSwitcherPopover||!1),E(t,"data-testid","app-switcher")},m(a,c){C(a,t,c),y(t,n),y(n,i),y(t,r),y(t,o),s||(l=T(t,"click",L(e[36])),s=!0)},p(e,n){524292&n[0]&&c!==(c=e[19](e[2])+"")&&V(i,c),8192&n[0]&&a!==(a=e[13].appSwitcherPopover||!1)&&E(t,"aria-expanded",a)},d(e){e&&S(t),s=!1,l()}}}function Mo(e){let t,n,i,r,o,a,s,l=e[19](e[8])+"";return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(l),E(i,"class","fd-menu__title"),E(n,"href","/"),E(n,"role","button"),E(n,"class","fd-menu__link"),E(n,"data-testid",o=e[22](e[8])),E(t,"class","fd-menu__item")},m(o,l){C(o,t,l),y(t,n),y(n,i),y(i,r),a||(s=T(n,"click",L(e[16])),a=!0)},p(e,t){524544&t[0]&&l!==(l=e[19](e[8])+"")&&V(r,l),256&t[0]&&o!==(o=e[22](e[8]))&&E(n,"data-testid",o)},d(e){e&&S(t),a=!1,s()}}}function Uo(e){let t,n=me(e[9]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Ho(_o(e,n,r));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=I()},m(e,n){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,n);C(e,t,n)},p(e,r){if(32296576&r[0]){let o;for(n=me(e[9]),o=0;o<n.length;o+=1){const a=_o(e,n,o);i[o]?i[o].p(a,r):(i[o]=Ho(a),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Bo(e){let t,n,i,r,o,a,s,l,c,u=e[19](e[46].title)+"";function d(...t){return e[38](e[46],...t)}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(u),s=P(),E(i,"class","fd-menu__title"),E(n,"role","button"),E(n,"class","fd-menu__link"),E(n,"href",o=e[14]?e[24](e[46],e[11]):void 0),E(n,"data-testid",a=e[22](e[46])),E(t,"class","fd-menu__item")},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(t,s),l||(c=T(n,"click",d),l=!0)},p(t,i){e=t,524800&i[0]&&u!==(u=e[19](e[46].title)+"")&&V(r,u),18944&i[0]&&o!==(o=e[14]?e[24](e[46],e[11]):void 0)&&E(n,"href",o),512&i[0]&&a!==(a=e[22](e[46]))&&E(n,"data-testid",a)},d(e){e&&S(t),l=!1,c()}}}function qo(e){let t,n=e[18]&&jo(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){e[18]?n?n.p(e,i):(n=jo(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function jo(e){let t,n,i,r=e[21](e[46],e[18],e[48])+"";return{c(){t=N("li"),n=new F(!1),i=P(),n.a=i,E(t,"class","fd-menu__item"),E(t,"tabindex","0")},m(e,o){C(e,t,o),n.m(r,t),y(t,i)},p(e,t){262656&t[0]&&r!==(r=e[21](e[46],e[18],e[48])+"")&&n.p(r)},d(e){e&&S(t)}}}function Ho(e){let t,n,i;function r(e,i){return 1024&i[0]&&(t=null),2688&i[0]&&(n=null),null==t&&(t=!!Et.isFunction(e[10])),t?qo:(null==n&&(n=!(e[46]===e[7]||!e[23](e[46],e[11]))),n?Bo:void 0)}let o=r(e,[-1,-1]),a=o&&o(e);return{c(){a&&a.c(),i=I()},m(e,t){a&&a.m(e,t),C(e,i,t)},p(e,t){o===(o=r(e,t))&&a?a.p(e,t):(a&&a.d(1),a=o&&o(e),a&&(a.c(),a.m(i.parentNode,i)))},d(e){e&&S(i),a&&a.d(e)}}}function zo(e){let t,n,i=e[19](e[12])+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(e,i){C(e,t,i),y(t,n)},p(e,t){528384&t[0]&&i!==(i=e[19](e[12])+"")&&V(n,i)},d(e){e&&S(t)}}}function Wo(e){let t,i,r,o;function a(e,t){return e[14]?Co:yo}let s=a(e),l=s(e),c=e[2]&&$o(e),u=e[2]&&Io(e);return{c(){t=N("div"),l.c(),i=P(),c&&c.c(),r=P(),u&&u.c(),o=I(),E(t,"class","fd-shellbar__branding"),E(t,"role","link"),E(t,"tabindex","0"),E(t,"aria-label","SAP Corporate Portal Home")},m(e,n){C(e,t,n),l.m(t,null),y(t,i),c&&c.m(t,null),C(e,r,n),u&&u.m(e,n),C(e,o,n)},p(e,n){s===(s=a(e))&&l?l.p(e,n):(l.d(1),l=s(e),l&&(l.c(),l.m(t,i))),e[2]?c?c.p(e,n):(c=$o(e),c.c(),c.m(t,null)):c&&(c.d(1),c=null),e[2]?u?u.p(e,n):(u=Io(e),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null)},i:n,o:n,d(e){e&&(S(t),S(r),S(o)),l.d(),c&&c.d(),u&&u.d(e)}}}const Go=()=>{};function Ko(e,t,n){let i;const r=W();let o,a,{logo:s}=t,{hasLogo:l}=t,{title:c}=t,{hasApps:u}=t,{keepMainTitle:d}=t,{showSubTitle:p=!0}=t,{dropDownStates:g={}}=t,{showMainAppEntry:h}=t,{selectedItem:m}=t,{defaultTitle:v}=t,{appSwitcherItems:b}=t,{itemRenderer:_}=t,{pathParams:w}=t,{subTitle:y}=t,{defaultSubTitle:C}=t,{pathData:S}=t,{addNavHrefForAnchor:x}=t,N=K("getUnsavedChangesModalPromise"),k=K("getTranslation");f(e,k,(e=>n(19,i=e)));let P=K("store");const I={closeDropDown:()=>{A("appSwitcherPopover")}},T=()=>({get:()=>({pathData:S,pathParams:w,appSwitcherItems:b,itemRenderer:_,selectedItem:m,defaultTitle:v,title:c,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:u,keepMainTitle:d,showSubTitle:p,hasLogo:l,logo:s}),set:e=>{e&&Object.getOwnPropertyNames(e).forEach((t=>{"pathData"===t?n(26,S=e.pathData):"appSwitcherItems"===t?n(9,b=e.appSwitcherItems):"itemRenderer"===t?n(10,_=e.itemRenderer):"pathParams"===t?n(11,w=e.pathParams):"selectedItem"===t?n(7,m=e.selectedItem):"title"===t?n(2,c=e.title):"defaultSubTitle"===t?n(25,C=e.defaultSubTitle):"subTitle"===t?n(12,y=e.subTitle):"defaultTitle"===t?n(8,v=e.defaultTitle):"subTitle"===t?n(12,y=e.subTitle):"showMainAppEntry"===t?n(6,h=e.showMainAppEntry):"hasApps"===t?n(3,u=e.hasApps):"keepMainTitle"===t?n(4,d=e.keepMainTitle):"showSubTitle"===t?n(5,p=e.showSubTitle):"hasLogo"===t&&n(1,l=e.hasLogo)}))},store:P});function L(e){N().then((()=>{xt.navigateTo(Rt.applyPathParams(e,w))}),(()=>{}))}function A(e){r("toggleDropdownState",{name:e})}j((()=>{var e;e=T(),Dt.doOnStoreChange(e.store,(()=>{const t=Ke.getConfigValue("navigation.appSwitcher");return t&&(e.set({appSwitcherItems:t.items}),e.set({showMainAppEntry:t.showMainAppEntry}),e.set({itemRenderer:t.itemRenderer}),Et.requestExperimentalFeature("btpToolLayout")&&(e.set({keepMainTitle:t.keepMainTitle}),e.set({showSubTitle:!1!==t.showSubTitle}))),e.set({hasApps:e.get().showMainAppEntry||e.get().appSwitcherItems&&e.get().appSwitcherItems.length>0}),Ke.getConfigValueAsync("settings.header").then((t=>{if(t&&(e.set({defaultTitle:t.title||""}),e.set({defaultSubTitle:t.subTitle||""})),bo(e),!t)return;const n=Boolean(t.logo);if(e.set({hasLogo:n}),setTimeout((()=>{n&&e.get().logo&&(e.get().logo.src=t.logo,t.altText&&(e.get().logo.alt=t.altText))})),t.favicon){const e=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),n=document.getElementsByTagName("head")[0];for(const t of n.childNodes)"shortcut icon"===t.rel&&t.remove();n.appendChild(e)}}))}),["settings.header"])})),q((()=>{a&&a==S||(bo(T()),a=S)}));return e.$$set=e=>{"logo"in e&&n(0,s=e.logo),"hasLogo"in e&&n(1,l=e.hasLogo),"title"in e&&n(2,c=e.title),"hasApps"in e&&n(3,u=e.hasApps),"keepMainTitle"in e&&n(4,d=e.keepMainTitle),"showSubTitle"in e&&n(5,p=e.showSubTitle),"dropDownStates"in e&&n(13,g=e.dropDownStates),"showMainAppEntry"in e&&n(6,h=e.showMainAppEntry),"selectedItem"in e&&n(7,m=e.selectedItem),"defaultTitle"in e&&n(8,v=e.defaultTitle),"appSwitcherItems"in e&&n(9,b=e.appSwitcherItems),"itemRenderer"in e&&n(10,_=e.itemRenderer),"pathParams"in e&&n(11,w=e.pathParams),"subTitle"in e&&n(12,y=e.subTitle),"defaultSubTitle"in e&&n(25,C=e.defaultSubTitle),"pathData"in e&&n(26,S=e.pathData),"addNavHrefForAnchor"in e&&n(14,x=e.addNavHrefForAnchor)},[s,l,c,u,d,p,h,m,v,b,_,w,y,g,x,L,function(){N().then((()=>{xt.navigateTo("/")}),(()=>{}))},A,o,i,k,function(e,t,n){return setTimeout((()=>{t&&_(e,t.children[n],I)})),""},function(e){return e.testId?e.testId:Vt.prepareForTests(e.title||e)},function(e,t){if(e.link){const n=Rt.applyPathParams(e.link,t);if(0!==n.indexOf(":")&&-1===n.indexOf("/:"))return!0}return!1},function(e){return Rt.getNodeHref(e)},C,S,function(e){r("handleClick",{node:e}),A("appSwitcherPopover")},function(e){Q[e?"unshift":"push"]((()=>{s=e,n(0,s)}))},e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)&&L("/")},function(e){Q[e?"unshift":"push"]((()=>{s=e,n(0,s)}))},()=>L("/"),e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)&&L("/")},()=>L("/"),e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)&&L(b[0].link)},()=>A("appSwitcherPopover"),()=>A("appSwitcherPopover"),()=>A("appSwitcherPopover"),(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&L(e.link)},function(e){Q[e?"unshift":"push"]((()=>{o=e,n(18,o)}))}]}class Jo extends Se{constructor(e){super(),Ce(this,e,Ko,Wo,s,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function Yo(e,t,n){const i=e.slice();return i[34]=t[n],i}function Qo(e){let t,n,i,r,o,a,s=e[0]&&Zo(e),l=(e[10]||e[11])&&da(e);return{c(){t=N("div"),s&&s.c(),n=P(),i=N("div"),r=N("div"),o=N("div"),a=N("div"),l&&l.c(),E(t,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),E(a,"class","fd-bar__element"),E(o,"class","fd-bar__right"),E(r,"class","fd-bar fd-bar--footer"),E(i,"class","fd-popover__body-footer")},m(e,c){C(e,t,c),s&&s.m(t,null),C(e,n,c),C(e,i,c),y(i,r),y(r,o),y(o,a),l&&l.m(a,null)},p(e,n){e[0]?s?s.p(e,n):(s=Zo(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null),e[10]||e[11]?l?l.p(e,n):(l=da(e),l.c(),l.m(a,null)):l&&(l.d(1),l=null)},d(e){e&&(S(t),S(n),S(i)),s&&s.d(),l&&l.d()}}}function Zo(e){let t,n,i,r,o,a,s;function l(e,t){return e[7].picture?ea:Xo}let c=l(e),u=c(e),d=e[7].name&&ta(e),f=e[7].description&&na(e),p=me(e[9].items),g=[];for(let m=0;m<p.length;m+=1)g[m]=aa(Yo(e,p,m));let h=e[12]&&sa(e);return{c(){t=N("div"),u.c(),n=P(),i=N("div"),d&&d.c(),r=P(),f&&f.c(),o=P(),a=N("ul");for(let e=0;e<g.length;e+=1)g[e].c();s=P(),h&&h.c(),E(t,"class","fd-user-menu__header"),E(i,"class","fd-user-menu__subheader"),E(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(e,l){C(e,t,l),u.m(t,null),C(e,n,l),C(e,i,l),d&&d.m(i,null),y(i,r),f&&f.m(i,null),C(e,o,l),C(e,a,l);for(let t=0;t<g.length;t+=1)g[t]&&g[t].m(a,null);y(a,s),h&&h.m(a,null)},p(e,n){if(c===(c=l(e))&&u?u.p(e,n):(u.d(1),u=c(e),u&&(u.c(),u.m(t,null))),e[7].name?d?d.p(e,n):(d=ta(e),d.c(),d.m(i,r)):d&&(d.d(1),d=null),e[7].description?f?f.p(e,n):(f=na(e),f.c(),f.m(i,null)):f&&(f.d(1),f=null),991884&n[0]){let t;for(p=me(e[9].items),t=0;t<p.length;t+=1){const i=Yo(e,p,t);g[t]?g[t].p(i,n):(g[t]=aa(i),g[t].c(),g[t].m(a,s))}for(;t<g.length;t+=1)g[t].d(1);g.length=p.length}e[12]?h?h.p(e,n):(h=sa(e),h.c(),h.m(a,null)):h&&(h.d(1),h=null)},d(e){e&&(S(t),S(n),S(i),S(o),S(a)),u.d(),d&&d.d(),f&&f.d(),x(g,e),h&&h.d()}}}function Xo(e){let t,n,i=(e[7].initials?e[7].initials:"")+"";return{c(){t=N("span"),n=k(i),E(t,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),E(t,"aria-label","Avatar")},m(e,i){C(e,t,i),y(t,n)},p(e,t){128&t[0]&&i!==(i=(e[7].initials?e[7].initials:"")+"")&&V(n,i)},d(e){e&&S(t)}}}function ea(e){let t;return{c(){t=N("span"),E(t,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),E(t,"aria-label","Avatar"),E(t,"data-testid","luigi-topnav-profile-avatar"),D(t,"background-image","url('"+e[7].picture+"')")},m(e,n){C(e,t,n)},p(e,n){128&n[0]&&D(t,"background-image","url('"+e[7].picture+"')")},d(e){e&&S(t)}}}function ta(e){let t,n,i=e[7].name+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-user-menu__user-name svelte-ydef8m"),E(t,"id","username"),E(t,"data-testid","luigi-topnav-profile-username")},m(e,i){C(e,t,i),y(t,n)},p(e,t){128&t[0]&&i!==(i=e[7].name+"")&&V(n,i)},d(e){e&&S(t)}}}function na(e){let t,n,i=e[7].description+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-user-menu__user-role svelte-ydef8m"),E(t,"data-testid","luigi-topnav-profile-description")},m(e,i){C(e,t,i),y(t,n)},p(e,t){128&t[0]&&i!==(i=e[7].description+"")&&V(n,i)},d(e){e&&S(t)}}}function ia(e){let t,n;function i(e,n){return 512&n[0]&&(t=null),null==t&&(t=!!e[17](e[34])),t?oa:ra}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function ra(e){let t,n;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),D(t,"background-image","url('"+e[7].icon+"')"),E(t,"alt",n=e[34].altText?e[34].altText:"")},m(e,n){C(e,t,n)},p(e,i){128&i[0]&&D(t,"background-image","url('"+e[7].icon+"')"),512&i[0]&&n!==(n=e[34].altText?e[34].altText:"")&&E(t,"alt",n)},d(e){e&&S(t)}}}function oa(e){let t,n;return{c(){t=N("i"),E(t,"role","presentation"),E(t,"class",n="fd-list__icon "+e[16](e[34].icon)+" svelte-ydef8m")},m(e,n){C(e,t,n)},p(e,i){512&i[0]&&n!==(n="fd-list__icon "+e[16](e[34].icon)+" svelte-ydef8m")&&E(t,"class",n)},d(e){e&&S(t)}}}function aa(e){let t,n,i,r,a,s,l,c,u,d=e[13](e[34].label)+"",f=e[34].icon&&ia(e);function p(){return e[24](e[34])}return{c(){t=N("li"),n=N("a"),f&&f.c(),i=P(),r=N("span"),a=k(d),E(r,"class","fd-list__title svelte-ydef8m"),E(n,"tabindex","0"),E(n,"class","fd-list__link"),E(n,"data-testid","luigi-topnav-profile-item"),E(n,"href",s=e[2]?e[19](e[34]):void 0),E(t,"tabindex","-1"),E(t,"class","fd-list__item fd-list__item--link"),E(t,"data-testid",l=e[18](e[34]))},m(o,s){C(o,t,s),y(t,n),f&&f.m(n,null),y(n,i),y(n,r),y(r,a),c||(u=[T(n,"click",e[23]),T(t,"click",p)],c=!0)},p(r,o){(e=r)[34].icon?f?f.p(e,o):(f=ia(e),f.c(),f.m(n,i)):f&&(f.d(1),f=null),8704&o[0]&&d!==(d=e[13](e[34].label)+"")&&V(a,d),516&o[0]&&s!==(s=e[2]?e[19](e[34]):void 0)&&E(n,"href",s),512&o[0]&&l!==(l=e[18](e[34]))&&E(t,"data-testid",l)},d(e){e&&S(t),f&&f.d(),c=!1,o(u)}}}function sa(e){let t,n,i,r,a,s,l,c=e[13](e[9].settings.label)+"",u=e[9].settings.icon&&la(e);return{c(){t=N("li"),n=N("a"),u&&u.c(),i=P(),r=N("span"),a=k(c),E(r,"class","fd-list__title svelte-ydef8m"),E(n,"tabindex","0"),E(n,"class","fd-list__link"),E(n,"title","User Settings"),E(n,"data-testid","settings-link"),E(t,"tabindex","-1"),E(t,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(o,c){C(o,t,c),y(t,n),u&&u.m(n,null),y(n,i),y(n,r),y(r,a),s||(l=[T(t,"click",L(e[5])),T(t,"keyup",e[25])],s=!0)},p(e,t){e[9].settings.icon?u?u.p(e,t):(u=la(e),u.c(),u.m(n,i)):u&&(u.d(1),u=null),8704&t[0]&&c!==(c=e[13](e[9].settings.label)+"")&&V(a,c)},d(e){e&&S(t),u&&u.d(),s=!1,o(l)}}}function la(e){let t,n;function i(e,n){return 512&n[0]&&(t=null),null==t&&(t=!!e[17](e[9].settings)),t?ua:ca}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function ca(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),c(t.src,n=e[9].settings.icon)||E(t,"src",n),E(t,"alt",i=e[9].settings.altText?e[9].settings.altText:"")},m(e,n){C(e,t,n)},p(e,r){512&r[0]&&!c(t.src,n=e[9].settings.icon)&&E(t,"src",n),512&r[0]&&i!==(i=e[9].settings.altText?e[9].settings.altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function ua(e){let t,n;return{c(){t=N("i"),E(t,"role","presentation"),E(t,"class",n="fd-list__icon "+e[16](e[9].settings.icon)+" svelte-ydef8m")},m(e,n){C(e,t,n)},p(e,i){512&i[0]&&n!==(n="fd-list__icon "+e[16](e[9].settings.icon)+" svelte-ydef8m")&&E(t,"class",n)},d(e){e&&S(t)}}}function da(e){let t,n,i=(e[8]||!e[10]&&e[11])&&fa(e),r=e[10]&&!e[8]&&pa(e);return{c(){i&&i.c(),t=P(),r&&r.c(),n=I()},m(e,o){i&&i.m(e,o),C(e,t,o),r&&r.m(e,o),C(e,n,o)},p(e,o){e[8]||!e[10]&&e[11]?i?i.p(e,o):(i=fa(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),e[10]&&!e[8]?r?r.p(e,o):(r=pa(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){e&&(S(t),S(n)),i&&i.d(e),r&&r.d(e)}}}function fa(e){let t,n,i,r,o,a,s=e[13](e[9].logout.label)+"";return{c(){t=N("div"),n=N("button"),i=k(s),E(n,"class","fd-button fd-button--transparent fd-button--compact"),E(n,"tabindex","0"),E(n,"data-testid","logout-btn"),E(t,"class","fd-bar__element"),E(t,"data-testid",r=e[18](e[9].logout))},m(r,s){C(r,t,s),y(t,n),y(n,i),o||(a=T(n,"click",e[4]),o=!0)},p(e,n){8704&n[0]&&s!==(s=e[13](e[9].logout.label)+"")&&V(i,s),512&n[0]&&r!==(r=e[18](e[9].logout))&&E(t,"data-testid",r)},d(e){e&&S(t),o=!1,a()}}}function pa(e){let t,i,r,a,s;return{c(){t=N("button"),t.textContent="Login",i=P(),r=N("button"),r.textContent="Login",E(t,"class","fd-button fd-button--transparent fd-button--compact"),E(t,"tabindex","0"),E(t,"data-testid","login-btn"),E(r,"class","fd-button fd-button--transparent fd-button--compact"),E(r,"tabindex","0"),E(r,"data-testid","login-btn")},m(n,o){C(n,t,o),C(n,i,o),C(n,r,o),a||(s=[T(t,"click",e[15]),T(r,"click",e[15])],a=!0)},p:n,d(e){e&&(S(t),S(i),S(r)),a=!1,o(s)}}}function ga(e){let t,i=!e[1]&&Qo(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,n){e[1]?i&&(i.d(1),i=null):i?i.p(e,n):(i=Qo(e),i.c(),i.m(t.parentNode,t))},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function ha(e,t,n){let i;const r=W();let o,a,s,l,c,u,d,{isHidden:p=!1}=t,{addNavHrefForAnchor:g}=t,h={logout:{},items:[],settings:{}},m=K("store"),v=K("getTranslation");f(e,v,(e=>n(13,i=e)));let b=K("getUnsavedChangesModalPromise"),_=K("openViewInModal");function w(){u||(Dt.doOnStoreChange(m,(async()=>{const e=await Ke.getConfigValueAsync("navigation.profile.logout"),t=await Ke.getConfigValueAsync("userSettings"),i=t||await Ke.getConfigValueAsync("settings.userSettings"),r={items:await Ke.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(i)){const e=i.userSettingsProfileMenuEntry;r.settings={...lt,...e}}r.logout={...st,...e},n(11,l=Boolean(e)),d=!1,Pt.setProfileLogoutFn(null),e&&Et.isFunction(e.customLogoutFn)&&(d=!0,Pt.setProfileLogoutFn(e.customLogoutFn)),n(9,h=r),n(12,c=Boolean(i))}),["navigation.profile"]),u=!0)}async function y(){const e=await Ke.getConfigValueAsync("navigation.profile.staticUserInfoFn");e&&(Pt.setUserInfo(o),n(7,o=e),r("userInfoUpdated",o))}function C(e){b().then((()=>{if(e.openNodeInModal){const t=Rt.buildRoute(e,`${e.link}`);_(t,!0===e.openNodeInModal?{}:e.openNodeInModal)}else xt.navigateToLink(e)}),(()=>{})),r("toggleDropdownState")}function S(){Pt.logout(),r("toggleDropdownState")}function x({keyCode:e}){e!==Bt&&e!==jt||document.querySelector(".lui-anchor-node>.fd-list__link").click()}j((async()=>{Je.isAuthorizationEnabled()?n(10,s=!0):(n(10,s=!1),y()),w(),Pt.getLoggedInStore().subscribe((e=>{n(8,a=e)})),Pt.getUserInfoStore().subscribe((e=>{n(7,o=e),r("userInfoUpdated",o)}))}));let{showUserInfo:N}=t;return e.$$set=e=>{"isHidden"in e&&n(1,p=e.isHidden),"addNavHrefForAnchor"in e&&n(2,g=e.addNavHrefForAnchor),"showUserInfo"in e&&n(0,N=e.showUserInfo)},e.$$.update=()=>{128&e.$$.dirty[0]&&n(0,N=Boolean(o&&(o.name||o.email)))},[N,p,g,C,function(){b().then((()=>{s?S():l&&d?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")}),(()=>{}))},function(){Xe.openUserSettings(),r("toggleDropdownState")},x,o,a,h,s,l,c,i,v,function(){Pt.startAuthorization()},function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return e.testId?e.testId:Vt.prepareForTests(e.label)},function(e){return Rt.getNodeHref(e)},w,y,S,e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>C(e),e=>x(e)]}class ma extends Se{constructor(e){super(),Ce(this,e,ha,ga,s,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function va(e,t,n){const i=e.slice();return i[34]=t[n],i}function ba(e){let t,n,i,r,o,a=e[0]&&_a(e),s=me(e[9].items),l=[];for(let d=0;d<s.length;d+=1)l[d]=Sa(va(e,s,d));let c=e[12]&&xa(e),u=(e[10]||e[11])&&Pa(e);return{c(){t=N("nav"),n=N("ul"),a&&a.c(),i=P();for(let e=0;e<l.length;e+=1)l[e].c();r=P(),c&&c.c(),o=P(),u&&u.c(),E(n,"class","fd-menu__list fd-menu__list--no-shadow"),E(t,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(e,s){C(e,t,s),y(t,n),a&&a.m(n,null),y(n,i);for(let t=0;t<l.length;t+=1)l[t]&&l[t].m(n,null);y(n,r),c&&c.m(n,null),y(n,o),u&&u.m(n,null)},p(e,t){if(e[0]?a?a.p(e,t):(a=_a(e),a.c(),a.m(n,i)):a&&(a.d(1),a=null),991756&t[0]){let i;for(s=me(e[9].items),i=0;i<s.length;i+=1){const o=va(e,s,i);l[i]?l[i].p(o,t):(l[i]=Sa(o),l[i].c(),l[i].m(n,r))}for(;i<l.length;i+=1)l[i].d(1);l.length=s.length}e[12]?c?c.p(e,t):(c=xa(e),c.c(),c.m(n,o)):c&&(c.d(1),c=null),e[10]||e[11]?u?u.p(e,t):(u=Pa(e),u.c(),u.m(n,null)):u&&(u.d(1),u=null)},d(e){e&&S(t),a&&a.d(),x(l,e),c&&c.d(),u&&u.d()}}}function _a(e){let t,n,i,r=(e[7].name?e[7].name:e[7].email)+"";return{c(){t=N("li"),n=N("span"),i=k(r),E(n,"aria-label","Username"),E(n,"id","username"),E(n,"class","lui-username fd-has-type-1 svelte-1msqoo3"),E(n,"data-testid","luigi-topnav-profile-username"),E(t,"class","fd-menu__item")},m(e,r){C(e,t,r),y(t,n),y(n,i)},p(e,t){128&t[0]&&r!==(r=(e[7].name?e[7].name:e[7].email)+"")&&V(i,r)},d(e){e&&S(t)}}}function wa(e){let t,n;function i(e,n){return 512&n[0]&&(t=null),null==t&&(t=!!e[17](e[34])),t?Ca:ya}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function ya(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),c(t.src,n=e[34].icon)||E(t,"src",n),E(t,"alt",i=e[34].altText?e[34].altText:"")},m(e,n){C(e,t,n)},p(e,r){512&r[0]&&!c(t.src,n=e[34].icon)&&E(t,"src",n),512&r[0]&&i!==(i=e[34].altText?e[34].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function Ca(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-top-nav__icon "+e[16](e[34].icon)+" svelte-1msqoo3")},m(e,n){C(e,t,n)},p(e,i){512&i[0]&&n!==(n="fd-top-nav__icon "+e[16](e[34].icon)+" svelte-1msqoo3")&&E(t,"class",n)},d(e){e&&S(t)}}}function Sa(e){let t,n,i,r,a,s,l,c,u,d=e[13](e[34].label)+"",f=e[34].icon&&wa(e);function p(){return e[24](e[34])}return{c(){t=N("li"),n=N("a"),f&&f.c(),i=P(),r=N("span"),a=k(d),E(r,"class","fd-menu__title"),E(n,"class","fd-menu__link"),E(n,"data-testid","luigi-topnav-profile-item"),E(n,"href",s=e[2]?e[19](e[34]):void 0),E(t,"class","fd-menu__item"),E(t,"data-testid",l=e[18](e[34]))},m(o,s){C(o,t,s),y(t,n),f&&f.m(n,null),y(n,i),y(n,r),y(r,a),c||(u=[T(n,"click",e[23]),T(t,"click",p)],c=!0)},p(r,o){(e=r)[34].icon?f?f.p(e,o):(f=wa(e),f.c(),f.m(n,i)):f&&(f.d(1),f=null),8704&o[0]&&d!==(d=e[13](e[34].label)+"")&&V(a,d),516&o[0]&&s!==(s=e[2]?e[19](e[34]):void 0)&&E(n,"href",s),512&o[0]&&l!==(l=e[18](e[34]))&&E(t,"data-testid",l)},d(e){e&&S(t),f&&f.d(),c=!1,o(u)}}}function xa(e){let t,n,i,r,a,s,l,c,u=e[13](e[9].settings.label)+"",d=e[9].settings.icon&&$a(e);return{c(){t=N("li"),n=N("a"),d&&d.c(),i=P(),r=N("span"),a=k(u),E(r,"class","fd-menu__title"),E(n,"tabindex","0"),E(n,"title","User Settings"),E(n,"class","fd-menu__link"),E(n,"data-testid","settings-link"),E(t,"tabindex","-1"),E(t,"class","fd-menu__item lui-anchor-node"),E(t,"data-testid",s=e[18](e[9].settings))},m(o,s){C(o,t,s),y(t,n),d&&d.m(n,null),y(n,i),y(n,r),y(r,a),l||(c=[T(t,"click",L(e[5])),T(t,"keyup",e[25])],l=!0)},p(e,r){e[9].settings.icon?d?d.p(e,r):(d=$a(e),d.c(),d.m(n,i)):d&&(d.d(1),d=null),8704&r[0]&&u!==(u=e[13](e[9].settings.label)+"")&&V(a,u),512&r[0]&&s!==(s=e[18](e[9].settings))&&E(t,"data-testid",s)},d(e){e&&S(t),d&&d.d(),l=!1,o(c)}}}function $a(e){let t,n;function i(e,n){return 512&n[0]&&(t=null),null==t&&(t=!!e[17](e[9].settings)),t?ka:Na}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function Na(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),c(t.src,n=e[9].settings.icon)||E(t,"src",n),E(t,"alt",i=e[9].settings.altText?e[9].settings.altText:"")},m(e,n){C(e,t,n)},p(e,r){512&r[0]&&!c(t.src,n=e[9].settings.icon)&&E(t,"src",n),512&r[0]&&i!==(i=e[9].settings.altText?e[9].settings.altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function ka(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-top-nav__icon "+e[16](e[9].settings.icon)+" svelte-1msqoo3")},m(e,n){C(e,t,n)},p(e,i){512&i[0]&&n!==(n="fd-top-nav__icon "+e[16](e[9].settings.icon)+" svelte-1msqoo3")&&E(t,"class",n)},d(e){e&&S(t)}}}function Pa(e){let t,n,i=(e[8]||!e[10]&&e[11])&&Ia(e),r=e[10]&&!e[8]&&Ea(e);return{c(){i&&i.c(),t=P(),r&&r.c(),n=I()},m(e,o){i&&i.m(e,o),C(e,t,o),r&&r.m(e,o),C(e,n,o)},p(e,o){e[8]||!e[10]&&e[11]?i?i.p(e,o):(i=Ia(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),e[10]&&!e[8]?r?r.p(e,o):(r=Ea(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){e&&(S(t),S(n)),i&&i.d(e),r&&r.d(e)}}}function Ia(e){let t,n,i,r,o,a,s,l,c=e[13](e[9].logout.label)+"",u=e[9].logout.icon&&Ta(e);return{c(){t=N("li"),n=N("button"),u&&u.c(),i=P(),r=N("span"),o=k(c),E(r,"class","fd-menu__title"),E(n,"title","Logout"),E(n,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),E(n,"data-testid","logout-btn"),E(t,"class","fd-menu__item svelte-1msqoo3"),E(t,"data-testid",a=e[18](e[9].logout))},m(a,c){C(a,t,c),y(t,n),u&&u.m(n,null),y(n,i),y(n,r),y(r,o),s||(l=T(t,"click",e[4]),s=!0)},p(e,r){e[9].logout.icon?u?u.p(e,r):(u=Ta(e),u.c(),u.m(n,i)):u&&(u.d(1),u=null),8704&r[0]&&c!==(c=e[13](e[9].logout.label)+"")&&V(o,c),512&r[0]&&a!==(a=e[18](e[9].logout))&&E(t,"data-testid",a)},d(e){e&&S(t),u&&u.d(),s=!1,l()}}}function Ta(e){let t,n;function i(e,n){return 512&n[0]&&(t=null),null==t&&(t=!!e[17](e[9].logout)),t?Aa:La}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function La(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),c(t.src,n=e[9].logout.icon)||E(t,"src",n),E(t,"alt",i=e[9].logout.altText?e[9].logout.altText:"")},m(e,n){C(e,t,n)},p(e,r){512&r[0]&&!c(t.src,n=e[9].logout.icon)&&E(t,"src",n),512&r[0]&&i!==(i=e[9].logout.altText?e[9].logout.altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function Aa(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-top-nav__icon "+e[16](e[9].logout.icon)+" svelte-1msqoo3")},m(e,n){C(e,t,n)},p(e,i){512&i[0]&&n!==(n="fd-top-nav__icon "+e[16](e[9].logout.icon)+" svelte-1msqoo3")&&E(t,"class",n)},d(e){e&&S(t)}}}function Ea(e){let t,i,r;return{c(){t=N("li"),t.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',E(t,"class","fd-menu__item")},m(n,o){C(n,t,o),i||(r=T(t,"click",e[15]),i=!0)},p:n,d(e){e&&S(t),i=!1,r()}}}function Va(e){let t,i=!e[1]&&ba(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,n){e[1]?i&&(i.d(1),i=null):i?i.p(e,n):(i=ba(e),i.c(),i.m(t.parentNode,t))},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function Ra(e,t,n){let i;const r=W();let o,a,s,l,c,u,d,{isHidden:p=!1}=t,{addNavHrefForAnchor:g}=t,h={logout:{},items:[],settings:{}},m=K("store"),v=K("getTranslation");f(e,v,(e=>n(13,i=e)));let b=K("getUnsavedChangesModalPromise"),_=K("openViewInModal");function w(){u||(Dt.doOnStoreChange(m,(async()=>{setTimeout((async()=>{const e=await Ke.getConfigValueAsync("navigation.profile.logout"),t=await Ke.getConfigValueAsync("userSettings"),i=t||await Ke.getConfigValueAsync("settings.userSettings"),r={items:await Ke.getConfigValueAsync("navigation.profile.items")||[]};if(i){const e=i.userSettingsProfileMenuEntry;r.settings={...lt,...e}}r.logout={...st,...e},n(11,l=Boolean(e)),d=!1,Pt.setProfileLogoutFn(null),e&&Et.isFunction(e.customLogoutFn)&&(d=!0,Pt.setProfileLogoutFn(e.customLogoutFn)),n(9,h=r),n(12,c=Boolean(i))}))}),["navigation.profile"]),u=!0)}async function y(){const e=await Ke.getConfigValueAsync("navigation.profile.staticUserInfoFn");e&&(Pt.setUserInfo(o),n(7,o=e),r("userInfoUpdated",o))}function C(e){b().then((()=>{if(e.openNodeInModal){const t=Rt.buildRoute(e,`${e.link}`);_(t,!0===e.openNodeInModal?{}:e.openNodeInModal)}else xt.navigateToLink(e)}),(()=>{})),r("toggleDropdownState")}function S(){Pt.logout()}function x({keyCode:e}){e!==Bt&&e!==jt||document.querySelector(".lui-anchor-node>.fd-menu__link").click()}j((async()=>{Je.isAuthorizationEnabled()?n(10,s=!0):(n(10,s=!1),y()),w(),Pt.getLoggedInStore().subscribe((e=>{n(8,a=e)})),Pt.getUserInfoStore().subscribe((e=>{n(7,o=e),r("userInfoUpdated",o)}))}));let{showUserInfo:N}=t;return e.$$set=e=>{"isHidden"in e&&n(1,p=e.isHidden),"addNavHrefForAnchor"in e&&n(2,g=e.addNavHrefForAnchor),"showUserInfo"in e&&n(0,N=e.showUserInfo)},e.$$.update=()=>{128&e.$$.dirty[0]&&n(0,N=Boolean(o&&(o.name||o.email)))},[N,p,g,C,function(){b().then((()=>{s?S():l&&d?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")}),(()=>{}))},function(){Xe.openUserSettings(),r("toggleDropdownState")},x,o,a,h,s,l,c,i,v,function(){Pt.startAuthorization()},function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return e.testId?e.testId:Vt.prepareForTests(e.label)},function(e){return Rt.getNodeHref(e)},w,y,S,e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>C(e),e=>x(e)]}class Da extends Se{constructor(e){super(),Ce(this,e,Ra,Va,s,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Oa(e,t,n){const i=e.slice();return i[34]=t[n],i}function Fa(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,k,I,A,V,R,O,F,M,U=e[0]&&Ma(e),B=e[8].settings.icon&&Ua(e),q=me(e[8].items),j=[];for(let o=0;o<q.length;o+=1)j[o]=ja(Oa(e,q,o));return{c(){var o;t=N("div"),n=N("div"),i=N("div"),r=N("span"),a=N("i"),s=P(),l=N("div"),U&&U.c(),c=P(),u=N("div"),d=N("nav"),f=N("ul"),p=N("li"),g=N("a"),h=N("span"),B&&B.c(),m=P(),v=N("span"),v.textContent="Settings",_=P();for(let e=0;e<j.length;e+=1)j[e].c();w=P(),k=N("li"),k.innerHTML='<a class="fd-menu__link" href="https://sap.github.io/fundamental-styles/?path=/docs/sap-fiori-components-user-menu--docs" role="menuitem"><span class="fd-menu__addon-before"><i class="sap-icon--message-information" role="presentation"></i></span> <span class="fd-menu__title">About</span></a>',I=P(),A=N("div"),V=N("div"),R=N("div"),O=N("button"),O.innerHTML='<i class="sap-icon--log"></i> <span class="fd-button__text">Sign Out</span>',E(a,"class","fd-avatar__zoom-icon sap-icon--edit"),E(a,"aria-label","Edit"),E(a,"role","presentation"),E(a,"aria-hidden","true"),E(r,"class","fd-avatar fd-avatar--lg fd-avatar--circle fd-avatar--thumbnail"),E(r,"aria-label","Avatar"),D(r,"background-image","url('"+(null==(o=e[7])?void 0:o.picture)+"')"),E(l,"class","fd-user-menu__header-container"),E(i,"class","fd-user-menu__header"),E(h,"class","fd-menu__addon-before"),E(v,"class","fd-menu__title"),E(g,"class","fd-menu__link"),E(g,"role","menuitem"),E(g,"data-testid","settings-link"),E(p,"class","fd-menu__item"),E(p,"role","presentation"),E(p,"data-testid",b=e[13](e[8].settings)),E(k,"class","fd-menu__item"),E(k,"role","presentation"),E(f,"class","fd-menu__list fd-user-menu__menu-list"),E(f,"role","menu"),E(d,"class","fd-menu fd-menu--icons fd-user-menu__menu"),E(u,"class","fd-user-menu__content-container"),E(n,"class","fd-user-menu__body"),E(t,"class","fd-popover__wrapper fd-user-menu__popover-wrapper"),E(O,"aria-label","button"),E(O,"class","fd-button fd-button--transparent"),E(R,"class","fd-bar__element"),E(V,"class","fd-bar__right"),E(A,"class","fd-bar fd-bar--footer")},m(o,b){C(o,t,b),y(t,n),y(n,i),y(i,r),y(r,a),y(i,s),y(i,l),U&&U.m(l,null),y(n,c),y(n,u),y(u,d),y(d,f),y(f,p),y(p,g),y(g,h),B&&B.m(h,null),y(g,m),y(g,v),y(f,_);for(let e=0;e<j.length;e+=1)j[e]&&j[e].m(f,null);y(f,w),y(f,k),C(o,I,b),C(o,A,b),y(A,V),y(V,R),y(R,O),F||(M=[T(p,"click",L(e[5])),T(p,"keyup",e[18]),T(O,"click",e[4])],F=!0)},p(e,t){var n;if(128&t[0]&&D(r,"background-image","url('"+(null==(n=e[7])?void 0:n.picture)+"')"),e[0]?U?U.p(e,t):(U=Ma(e),U.c(),U.m(l,null)):U&&(U.d(1),U=null),e[8].settings.icon?B?B.p(e,t):(B=Ua(e),B.c(),B.m(h,null)):B&&(B.d(1),B=null),256&t[0]&&b!==(b=e[13](e[8].settings))&&E(p,"data-testid",b),25356&t[0]){let n;for(q=me(e[8].items),n=0;n<q.length;n+=1){const i=Oa(e,q,n);j[n]?j[n].p(i,t):(j[n]=ja(i),j[n].c(),j[n].m(f,w))}for(;n<j.length;n+=1)j[n].d(1);j.length=q.length}},d(e){e&&(S(t),S(I),S(A)),U&&U.d(),B&&B.d(),x(j,e),F=!1,o(M)}}}function Ma(e){let t,n,i,r,o,a,s,l,c=e[7].name+"",u=e[7].email+"",d=e[7].description+"";return{c(){t=N("div"),n=k(c),i=P(),r=N("div"),o=k(u),a=P(),s=N("div"),l=k(d),E(t,"class","fd-user-menu__user-name svelte-1msqoo3"),E(t,"data-testid","luigi-topnav-profile-username"),E(r,"class","fd-user-menu__subline"),E(s,"class","fd-user-menu__subline"),E(s,"data-testid","luigi-topnav-profile-description")},m(e,c){C(e,t,c),y(t,n),C(e,i,c),C(e,r,c),y(r,o),C(e,a,c),C(e,s,c),y(s,l)},p(e,t){128&t[0]&&c!==(c=e[7].name+"")&&V(n,c),128&t[0]&&u!==(u=e[7].email+"")&&V(o,u),128&t[0]&&d!==(d=e[7].description+"")&&V(l,d)},d(e){e&&(S(t),S(i),S(r),S(a),S(s))}}}function Ua(e){let t,n;function i(e,n){return 256&n[0]&&(t=null),null==t&&(t=!!e[12](e[8].settings)),t?qa:Ba}let r=i(e,[-1,-1]),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function Ba(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),c(t.src,n=e[8].settings.icon)||E(t,"src",n),E(t,"alt",i=e[8].settings.altText?e[8].settings.altText:"")},m(e,n){C(e,t,n)},p(e,r){256&r[0]&&!c(t.src,n=e[8].settings.icon)&&E(t,"src",n),256&r[0]&&i!==(i=e[8].settings.altText?e[8].settings.altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function qa(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-top-nav__icon "+e[11](e[8].settings.icon)+" svelte-1msqoo3")},m(e,n){C(e,t,n)},p(e,i){256&i[0]&&n!==(n="fd-top-nav__icon "+e[11](e[8].settings.icon)+" svelte-1msqoo3")&&E(t,"class",n)},d(e){e&&S(t)}}}function ja(e){let t,n,i,r,a,s,l,c,u,d=e[9](e[34].label)+"";function f(){return e[20](e[34])}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(d),s=P(),E(i,"class","fd-menu__title"),E(n,"class","fd-menu__link"),E(n,"data-testid","luigi-topnav-profile-item"),E(n,"href",a=e[2]?e[14](e[34]):void 0),E(t,"class","fd-menu__item"),E(t,"data-testid",l=e[13](e[34]))},m(o,a){C(o,t,a),y(t,n),y(n,i),y(i,r),y(t,s),c||(u=[T(n,"click",e[19]),T(t,"click",f)],c=!0)},p(i,o){e=i,768&o[0]&&d!==(d=e[9](e[34].label)+"")&&V(r,d),260&o[0]&&a!==(a=e[2]?e[14](e[34]):void 0)&&E(n,"href",a),256&o[0]&&l!==(l=e[13](e[34]))&&E(t,"data-testid",l)},d(e){e&&S(t),c=!1,o(u)}}}function Ha(e){let t,i=!e[1]&&Fa(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,n){e[1]?i&&(i.d(1),i=null):i?i.p(e,n):(i=Fa(e),i.c(),i.m(t.parentNode,t))},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function za(e,t,n){let i;const r=W();let o,a,s,l,c,{isHidden:u=!1}=t,{addNavHrefForAnchor:d}=t,p={logout:{},items:[],settings:{}},g=K("store"),h=K("getTranslation");f(e,h,(e=>n(9,i=e)));let m=K("getUnsavedChangesModalPromise"),v=K("openViewInModal");function b(){l||(Dt.doOnStoreChange(g,(async()=>{setTimeout((async()=>{const e=await Ke.getConfigValueAsync("navigation.profile.logout"),t=await Ke.getConfigValueAsync("userSettings"),i=t||await Ke.getConfigValueAsync("settings.userSettings"),r={items:await Ke.getConfigValueAsync("navigation.profile.items")||[]};if(i){const e=i.userSettingsProfileMenuEntry;r.settings={...lt,...e}}r.logout={...st,...e},s=Boolean(e),c=!1,Pt.setProfileLogoutFn(null),e&&Et.isFunction(e.customLogoutFn)&&(c=!0,Pt.setProfileLogoutFn(e.customLogoutFn)),n(8,p=r)}))}),["navigation.profile"]),l=!0)}async function _(){const e=await Ke.getConfigValueAsync("navigation.profile.staticUserInfoFn");e&&(Pt.setUserInfo(o),n(7,o=e),r("userInfoUpdated",o))}function w(e){m().then((()=>{if(e.openNodeInModal){const t=Rt.buildRoute(e,`${e.link}`);v(t,!0===e.openNodeInModal?{}:e.openNodeInModal)}else xt.navigateToLink(e)}),(()=>{})),r("toggleDropdownState")}function y(){Pt.logout()}function C({keyCode:e}){e!==Bt&&e!==jt||document.querySelector(".lui-anchor-node>.fd-menu__link").click()}j((async()=>{Je.isAuthorizationEnabled()?a=!0:(a=!1,_()),b(),Pt.getLoggedInStore().subscribe((e=>{})),Pt.getUserInfoStore().subscribe((e=>{n(7,o=e),r("userInfoUpdated",o)}))}));let{showUserInfo:S}=t;return e.$$set=e=>{"isHidden"in e&&n(1,u=e.isHidden),"addNavHrefForAnchor"in e&&n(2,d=e.addNavHrefForAnchor),"showUserInfo"in e&&n(0,S=e.showUserInfo)},e.$$.update=()=>{128&e.$$.dirty[0]&&n(0,S=Boolean(o&&(o.name||o.email)))},[S,u,d,w,function(){m().then((()=>{a?y():s&&c?p.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")}),(()=>{}))},function(){Xe.openUserSettings(),r("toggleDropdownState")},C,o,p,i,h,function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return e.testId?e.testId:Vt.prepareForTests(e.label)},function(e){return Rt.getNodeHref(e)},b,_,y,e=>C(e),e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>w(e)]}class Wa extends Se{constructor(e){super(),Ce(this,e,za,Ha,s,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:15,setProfileUserData:16,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:17,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[15]}get setProfileUserData(){return this.$$.ctx[16]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[17]}get handleKeyUp(){return this.$$.ctx[6]}}function Ga(e,t,n){const i=e.slice();return i[11]=t[n],i}function Ka(e){let t,n,i=me(e[1]),r=[];for(let a=0;a<i.length;a+=1)r[a]=Xa(Ga(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(254&n){let a;for(i=me(e[1]),a=0;a<i.length;a+=1){const o=Ga(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=Xa(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Ja(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h,m,v=e[3](e[11])+"",b=e[4](e[11]);function _(e,t){return 6&t&&(i=null),null==i&&(i=!!e[2](e[11])),i?Qa:Ya}let w=_(e,-1),x=w(e);o=new ci({props:{node:e[11]}});let I=b&&Za(e);function L(){return e[9](e[11])}return{c(){t=N("li"),n=N("div"),x.c(),r=P(),be(o.$$.fragment),a=P(),s=N("div"),l=N("div"),c=k(v),u=P(),I&&I.c(),d=P(),E(n,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-t09cq9"),E(l,"class","fd-product-switch__title"),E(s,"class","fd-product-switch__text svelte-t09cq9"),E(t,"class",f="fd-product-switch__item "+("true"==e[5]?"y-has-no-subtitle":"")+" "+(e[11].selected?"selected":"")+" svelte-t09cq9"),E(t,"data-e2e","mobile-topnav-item"),E(t,"data-testid",p=Vt.getTestId(e[11]))},m(e,i){C(e,t,i),y(t,n),x.m(n,null),y(n,r),_e(o,n,null),y(t,a),y(t,s),y(s,l),y(l,c),y(s,u),I&&I.m(s,null),y(t,d),g=!0,h||(m=T(t,"click",L),h=!0)},p(i,a){w===(w=_(e=i,a))&&x?x.p(e,a):(x.d(1),x=w(e),x&&(x.c(),x.m(n,r)));const l={};2&a&&(l.node=e[11]),o.$set(l),(!g||10&a)&&v!==(v=e[3](e[11])+"")&&V(c,v),18&a&&(b=e[4](e[11])),b?I?I.p(e,a):(I=Za(e),I.c(),I.m(s,null)):I&&(I.d(1),I=null),(!g||34&a&&f!==(f="fd-product-switch__item "+("true"==e[5]?"y-has-no-subtitle":"")+" "+(e[11].selected?"selected":"")+" svelte-t09cq9"))&&E(t,"class",f),(!g||2&a&&p!==(p=Vt.getTestId(e[11])))&&E(t,"data-testid",p)},i(e){g||(fe(o.$$.fragment,e),g=!0)},o(e){pe(o.$$.fragment,e),g=!1},d(e){e&&S(t),x.d(),we(o),I&&I.d(),h=!1,m()}}}function Ya(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[11].icon)||E(t,"src",n),E(t,"alt",i=e[11].altText?e[11].altText:""),E(t,"class","svelte-t09cq9")},m(e,n){C(e,t,n)},p(e,r){2&r&&!c(t.src,n=e[11].icon)&&E(t,"src",n),2&r&&i!==(i=e[11].altText?e[11].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function Qa(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[11].icon&&e[2](e[11])?e[7](e[11].icon):"")+" svelte-t09cq9")},m(e,n){C(e,t,n)},p(e,i){6&i&&n!==(n="sap-icon "+(e[11].icon&&e[2](e[11])?e[7](e[11].icon):"")+" svelte-t09cq9")&&E(t,"class",n)},d(e){e&&S(t)}}}function Za(e){let t,n,i=e[4](e[11])+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-product-switch__subtitle")},m(e,i){C(e,t,i),y(t,n)},p(e,t){18&t&&i!==(i=e[4](e[11])+"")&&V(n,i)},d(e){e&&S(t)}}}function Xa(e){let t,n,i=e[11].label&&Ja(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[11].label?i?(i.p(e,n),2&n&&fe(i,1)):(i=Ja(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function es(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x=e[1]&&Ka(e);return{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("div"),s=N("h2"),l=k(e[0]),c=P(),u=N("div"),d=N("div"),f=N("ul"),x&&x.c(),p=P(),g=N("footer"),h=N("div"),m=N("div"),v=N("button"),v.textContent="Cancel",E(s,"class","fd-title fd-title--h5"),E(s,"id","dialog-title-4"),E(a,"class","fd-bar__element"),E(r,"class","fd-bar__left"),E(i,"class","fd-dialog__header fd-bar fd-bar--header"),E(f,"class","fd-product-switch__list"),E(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),E(u,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),E(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),E(v,"data-testid","mobile-topnav-close"),E(m,"class","fd-bar__element"),E(h,"class","fd-bar__right"),E(g,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),E(n,"class","fd-dialog__content fd-dialog__content--mobile"),E(n,"role","dialog"),E(n,"aria-modal","true"),E(n,"aria-labelledby","dialog-title-4"),E(t,"class","fd-dialog fd-dialog--active")},m(o,S){C(o,t,S),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),y(s,l),y(n,c),y(n,u),y(u,d),y(d,f),x&&x.m(f,null),y(n,p),y(n,g),y(g,h),y(h,m),y(m,v),b=!0,_||(w=[T(v,"click",e[8]),T(t,"click",A(ts))],_=!0)},p(e,[t]){(!b||1&t)&&V(l,e[0]),e[1]?x?(x.p(e,t),2&t&&fe(x,1)):(x=Ka(e),x.c(),fe(x,1),x.m(f,null)):x&&(ue(),pe(x,1,1,(()=>{x=null})),de())},i(e){b||(fe(x),b=!0)},o(e){pe(x),b=!1},d(e){e&&S(t),x&&x.d(),_=!1,o(w)}}}const ts=()=>{};function ns(e,t,n){const i=W();let{label:r}=t,{nodes:o}=t,{hasOpenUIicon:a}=t,{getNodeLabel:s}=t,{getNodeSubtitle:l}=t,{noSubTitle:c}=t;function u(e){i("listClick",e)}return e.$$set=e=>{"label"in e&&n(0,r=e.label),"nodes"in e&&n(1,o=e.nodes),"hasOpenUIicon"in e&&n(2,a=e.hasOpenUIicon),"getNodeLabel"in e&&n(3,s=e.getNodeLabel),"getNodeSubtitle"in e&&n(4,l=e.getNodeSubtitle),"noSubTitle"in e&&n(5,c=e.noSubTitle)},[r,o,a,s,l,c,u,function(e){return Vt.renderIconClassName(e)},function(t){J.call(this,e,t)},e=>u(e)]}class is extends Se{constructor(e){super(),Ce(this,e,ns,es,s,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:rs}=w;function os(e,t,n){const i=e.slice();return i[7]=t[n],i}function as(e){let t,n,i,r=e[0]&&ss(e);return{c(){t=N("nav"),n=N("ul"),r&&r.c(),E(n,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),E(t,"class","fd-menu")},m(e,o){C(e,t,o),y(t,n),r&&r.m(n,null),i=!0},p(e,t){e[0]?r?(r.p(e,t),1&t&&fe(r,1)):(r=ss(e),r.c(),fe(r,1),r.m(n,null)):r&&(ue(),pe(r,1,1,(()=>{r=null})),de())},i(e){i||(fe(r),i=!0)},o(e){pe(r),i=!1},d(e){e&&S(t),r&&r.d()}}}function ss(e){let t,n,i=me(e[0]),r=[];for(let a=0;a<i.length;a+=1)r[a]=ds(os(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(7693&n){let a;for(i=me(e[0]),a=0;a<i.length;a+=1){const o=os(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=ds(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function ls(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v=e[11](e[7])+"";function b(e,t){return 1&t&&(r=null),null==r&&(r=!(!e[7].icon||!e[9](e[7]))),r?us:cs}let _=b(e,-1),w=_(e);function x(){return e[14](e[7])}return s=new ci({props:{node:e[7]}}),{c(){t=N("li"),n=N("a"),i=N("span"),w.c(),a=P(),be(s.$$.fragment),l=P(),c=N("span"),u=k(v),f=P(),E(i,"class","fd-top-nav__icon svelte-1811tf3"),E(c,"class","fd-menu__title"),E(n,"href",d=e[2]?e[12](e[7]):void 0),E(n,"class","fd-menu__link"),E(t,"class","fd-menu__item"),E(t,"data-testid",p=Vt.getTestId(e[7]))},m(r,o){C(r,t,o),y(t,n),y(n,i),w.m(i,null),y(i,a),_e(s,i,null),y(n,l),y(n,c),y(c,u),y(t,f),g=!0,h||(m=[T(n,"click",e[13]),T(t,"click",x)],h=!0)},p(r,o){_===(_=b(e=r,o))&&w?w.p(e,o):(w.d(1),w=_(e),w&&(w.c(),w.m(i,a)));const l={};1&o&&(l.node=e[7]),s.$set(l),(!g||1&o)&&v!==(v=e[11](e[7])+"")&&V(u,v),(!g||5&o&&d!==(d=e[2]?e[12](e[7]):void 0))&&E(n,"href",d),(!g||1&o&&p!==(p=Vt.getTestId(e[7])))&&E(t,"data-testid",p)},i(e){g||(fe(s.$$.fragment,e),g=!0)},o(e){pe(s.$$.fragment,e),g=!1},d(e){e&&S(t),w.d(),we(s),h=!1,o(m)}}}function cs(e){let t,n,i;return{c(){t=N("img"),E(t,"class","sap-icon svelte-1811tf3"),c(t.src,n=e[7].icon)||E(t,"src",n),E(t,"alt",i=e[7].altText?e[7].altText:"")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[7].icon)&&E(t,"src",n),1&r&&i!==(i=e[7].altText?e[7].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function us(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+e[10](e[7].icon))},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="sap-icon "+e[10](e[7].icon))&&E(t,"class",n)},d(e){e&&S(t)}}}function ds(e){let t,n,i=e[7].label&&ls(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[7].label?i?(i.p(e,n),1&n&&fe(i,1)):(i=ls(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function fs(e){let t,n;return t=new is({props:{nodes:e[7].children,label:e[11](e[7]),hasOpenUIicon:e[9],getNodeLabel:e[11],getNodeSubtitle:e[8],noSubTitle:"true"}}),t.$on("click",e[5]),t.$on("listClick",e[4]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};128&n&&(i.nodes=e[7].children),128&n&&(i.label=e[11](e[7])),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function ps(e){let t,n,i,r,o,a=!e[1]&&as(e),s=e[1]&&fs(e);return{c(){a&&a.c(),t=P(),s&&s.c(),n=I()},m(e,l){a&&a.m(e,l),C(e,t,l),s&&s.m(e,l),C(e,n,l),i=!0,r||(o=T(rs,"resize",gs),r=!0)},p(e,[i]){e[1]?a&&(ue(),pe(a,1,1,(()=>{a=null})),de()):a?(a.p(e,i),2&i&&fe(a,1)):(a=as(e),a.c(),fe(a,1),a.m(t.parentNode,t)),e[1]?s?(s.p(e,i),2&i&&fe(s,1)):(s=fs(e),s.c(),fe(s,1),s.m(n.parentNode,n)):s&&(ue(),pe(s,1,1,(()=>{s=null})),de())},i(e){i||(fe(a),fe(s),i=!0)},o(e){pe(a),pe(s),i=!1},d(e){e&&(S(t),S(n)),a&&a.d(e),s&&s.d(e),r=!1,o()}}}function gs(){let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)}function hs(e,t,n){const i=W();let r,{isMobile:o}=t,{children:a}=t,{node:s}=t,l=K("getUnsavedChangesModalPromise"),c=K("openViewInModal"),{addNavHrefForAnchor:u}=t;function d(e){l().then((()=>{if(e.openNodeInModal){const t=Rt.buildRoute(e,`/${e.pathSegment}`);c(t,!0===e.openNodeInModal?{}:e.openNodeInModal)}else xt.handleRouteClick(e,{get:()=>({pathParams:r}),set:e=>{}})}),(()=>{})),f()}function f(){i("close")}j((async()=>{gs()})),q((async()=>{a||n(0,a=await at.getChildren(s)),n(0,a)}));return e.$$set=e=>{"isMobile"in e&&n(1,o=e.isMobile),"children"in e&&n(0,a=e.children),"node"in e&&n(7,s=e.node),"addNavHrefForAnchor"in e&&n(2,u=e.addNavHrefForAnchor)},[a,o,u,d,function(e){d(e.detail)},f,gs,s,()=>{},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return Vt.renderIconClassName(e)},function(e){return Ze.getTranslation(e.label)},function(e){return Rt.getNodeHref(e,r)},e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>d(e)]}class ms extends Se{constructor(e){super(),Ce(this,e,hs,ps,s,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return gs}}const vs={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath:e=>(e.parentNodePath&&e.parentNodePath.startsWith("/")||console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),e.parentNodePath?Et.addTrailingSlash(e.parentNodePath):e.parentNodePath),generateSwitcherNav(e,t){const n=this.getPreparedParentNodePath(e);return t.map((e=>({label:e.label,link:(n||"/")+e.pathValue,id:e.pathValue,testId:e.testId,customRendererCategory:e.customRendererCategory})))},getNodePathFromCurrentPath(e,t){const n=Et.addLeadingSlash(xt.getCurrentPath()),i=Et.addLeadingSlash(t.link);return n.startsWith(i)?e.link+Et.addLeadingSlash(n.substring(i.length)):e.link},getOptionById:(e,t)=>e.find((e=>e.id===t)),getLabelFromOptions(e,t){const n=e.find((e=>e.id===t));return n&&n.label},isContextSwitcherDetailsView(e,t){const n=Et.normalizePath(e),i=Et.normalizePath(t);return Boolean(t&&n&&"string"==typeof n&&n.startsWith(i)&&n!==i)},async getFallbackLabel(e,t){if(!e)return t;const n=Ke.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),i=vs._fallbackLabels;if(n&&i.has(t))return i.get(t);const r=await e(t);return n&&i.set(t,r),r},getSelectedId(e,t,n){if(e=Et.normalizePath(e),n=Et.normalizePath(n),vs.isContextSwitcherDetailsView(e,n))return e.replace(n,"").split("/")[0].split("?")[0]},async getSelectedOption(e,t,n){let i;const r=this.getSelectedId(e,t,n);return r&&t&&(i=vs.getOptionById(t,r)),i},async getSelectedLabel(e,t,n,i){const r=this.getSelectedId(e,t,n);if(!r)return;const o=await this.getSelectedOption(e,t,n);return(o?o.label:void 0)||await vs.getFallbackLabel(i,r)},async getSelectedNode(e,t,n){if(!this.getSelectedId(e,t,n))return;let i=await this.getSelectedOption(e,t,n);return i?i.link:void 0},async fetchOptions(e=[]){const t=Ke.getConfigValue("navigation.contextSwitcher");if(!t.lazyloadOptions&&e.length)return e;const n=await Ke.getConfigValueAsync("navigation.contextSwitcher.options");return await vs.generateSwitcherNav(t,n)}};function bs(e,t,n){const i=e.slice();return i[20]=t[n],i}function _s(e,t,n){const i=e.slice();return i[20]=t[n],i}function ws(e,t,n){const i=e.slice();return i[20]=t[n],i}function ys(e){let t,n=me(e[0]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Ss(ws(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(e,n){C(e,t,n);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(t,null)},p(e,r){if(10497&r){let o;for(n=me(e[0]),o=0;o<n.length;o+=1){const a=ws(e,n,o);i[o]?i[o].p(a,r):(i[o]=Ss(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Cs(e){let t,n,i,r,a,s,l,c,u,d=e[13](e[20].label)+"";function f(){return e[14](e[20])}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(d),s=P(),E(i,"class","fd-menu__title"),E(n,"href",a=e[8](e[20])),E(n,"class","fd-menu__link"),E(t,"class","fd-menu__item"),E(t,"data-testid",l=Vt.getTestId(e[20]))},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(t,s),c||(u=[T(n,"click",L(Ds)),T(t,"click",f)],c=!0)},p(i,o){e=i,8193&o&&d!==(d=e[13](e[20].label)+"")&&V(r,d),257&o&&a!==(a=e[8](e[20]))&&E(n,"href",a),1&o&&l!==(l=Vt.getTestId(e[20]))&&E(t,"data-testid",l)},d(e){e&&S(t),c=!1,o(u)}}}function Ss(e){let t,n="top"===e[20].position||!["top","bottom"].includes(e[20].position),i=n&&Cs(e);return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,r){1&r&&(n="top"===e[20].position||!["top","bottom"].includes(e[20].position)),n?i?i.p(e,r):(i=Cs(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(e){e&&S(t),i&&i.d(e)}}}function xs(e){let t;return{c(){t=N("li"),t.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',E(t,"class","lui-contextswitcher-indicator")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function $s(e){let t,n=me(e[3]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Ls(_s(e,n,r));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=I()},m(e,n){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,n);C(e,t,n)},p(e,r){if(4542&r){let o;for(n=me(e[3]),o=0;o<n.length;o+=1){const a=_s(e,n,o);i[o]?i[o].p(a,r):(i[o]=Ls(a),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Ns(e){return{c:n,m:n,p:n,d:n}}function ks(e){let t,n,i,r,o;function a(e,t){return e[2]?Is:Ps}let s=a(e),l=s(e);function c(){return e[16](e[20])}return{c(){t=N("li"),l.c(),i=P(),E(t,"class","fd-menu__item"),E(t,"data-testid",n=Vt.getTestId(e[20]))},m(e,n){C(e,t,n),l.m(t,null),C(e,i,n),r||(o=T(t,"click",c),r=!0)},p(i,r){s===(s=a(e=i))&&l?l.p(e,r):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null))),8&r&&n!==(n=Vt.getTestId(e[20]))&&E(t,"data-testid",n)},d(e){e&&(S(t),S(i)),l.d(),r=!1,o()}}}function Ps(e){let t,n,i,r,o,a,s,l,c=e[25]+"";return{c(){t=N("a"),n=N("span"),i=k(c),E(n,"class","fd-menu__title"),E(t,"href",r=e[8](e[20])),E(t,"class",o="fd-menu__link "+(e[25]===e[4]?"is-selected":"")),E(t,"title",a=e[25])},m(r,o){C(r,t,o),y(t,n),y(n,i),s||(l=T(t,"click",e[15]),s=!0)},p(e,n){138&n&&c!==(c=e[25]+"")&&V(i,c),264&n&&r!==(r=e[8](e[20]))&&E(t,"href",r),154&n&&o!==(o="fd-menu__link "+(e[25]===e[4]?"is-selected":""))&&E(t,"class",o),138&n&&a!==(a=e[25])&&E(t,"title",a)},d(e){e&&S(t),s=!1,l()}}}function Is(e){let t,n,i=e[2](e[20],e[25]===e[4])+"";return{c(){t=new F(!1),n=I(),t.a=n},m(e,r){t.m(i,e,r),C(e,n,r)},p(e,n){158&n&&i!==(i=e[2](e[20],e[25]===e[4])+"")&&t.p(i)},d(e){e&&(S(n),t.d())}}}function Ts(e){return{c:n,m:n,p:n,d:n}}function Ls(e){let t,n,i={ctx:e,current:null,token:null,hasCatch:!1,pending:Ts,then:ks,catch:Ns,value:25};return ge(n=e[7](e[20].label,e[1].fallbackLabelResolver,e[20].id),i),{c(){t=I(),i.block.c()},m(e,n){C(e,t,n),i.block.m(e,i.anchor=n),i.mount=()=>t.parentNode,i.anchor=t},p(t,r){e=t,i.ctx=e,138&r&&n!==(n=e[7](e[20].label,e[1].fallbackLabelResolver,e[20].id))&&ge(n,i)||he(i,e,r)},d(e){e&&S(t),i.block.d(e),i.token=null,i=null}}}function As(e){let t,n=me(e[0]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Vs(bs(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(e,n){C(e,t,n);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(t,null)},p(e,r){if(10497&r){let o;for(n=me(e[0]),o=0;o<n.length;o+=1){const a=bs(e,n,o);i[o]?i[o].p(a,r):(i[o]=Vs(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function Es(e){let t,n,i,r,a,s,l,c,u,d=e[13](e[20].label)+"";function f(){return e[18](e[20])}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(d),s=P(),E(i,"class","fd-menu__title"),E(n,"href",a=e[8](e[20])),E(n,"class","fd-menu__link"),E(t,"class","fd-menu__item"),E(t,"data-testid",l=Vt.getTestId(e[20]))},m(o,a){C(o,t,a),y(t,n),y(n,i),y(i,r),y(t,s),c||(u=[T(n,"click",e[17]),T(t,"click",f)],c=!0)},p(i,o){e=i,8193&o&&d!==(d=e[13](e[20].label)+"")&&V(r,d),257&o&&a!==(a=e[8](e[20]))&&E(n,"href",a),1&o&&l!==(l=Vt.getTestId(e[20]))&&E(t,"data-testid",l)},d(e){e&&S(t),c=!1,o(u)}}}function Vs(e){let t,n="bottom"===e[20].position&&Es(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){"bottom"===e[20].position?n?n.p(e,i):(n=Es(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function Rs(e){let t,i,r,o,a,s,l=e[0]&&e[0].length&&ys(e),c=e[3]&&0===e[3].length&&e[10]&&xs(),u=e[3]&&e[3].length&&$s(e),d=e[0]&&e[0].length&&As(e);return{c(){t=N("nav"),l&&l.c(),i=P(),r=N("ul"),c&&c.c(),o=P(),u&&u.c(),a=P(),d&&d.c(),E(r,"class","fd-menu__list"),E(r,"id","context_menu_middle"),E(t,"class",s="fd-menu lui-ctx-switch-nav "+(e[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(e,n){C(e,t,n),l&&l.m(t,null),y(t,i),y(t,r),c&&c.m(r,null),y(r,o),u&&u.m(r,null),y(t,a),d&&d.m(t,null)},p(e,[n]){e[0]&&e[0].length?l?l.p(e,n):(l=ys(e),l.c(),l.m(t,i)):l&&(l.d(1),l=null),e[3]&&0===e[3].length&&e[10]?c||(c=xs(),c.c(),c.m(r,o)):c&&(c.d(1),c=null),e[3]&&e[3].length?u?u.p(e,n):(u=$s(e),u.c(),u.m(r,null)):u&&(u.d(1),u=null),e[0]&&e[0].length?d?d.p(e,n):(d=As(e),d.c(),d.m(t,null)):d&&(d.d(1),d=null),64&n&&s!==(s="fd-menu lui-ctx-switch-nav "+(e[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&E(t,"class",s)},i:n,o:n,d(e){e&&S(t),l&&l.d(),c&&c.d(),u&&u.d(),d&&d.d()}}}const Ds=()=>{};function Os(e,t,i){let r,o=n,a=()=>(o(),o=u(v,(e=>i(13,r=e))),v);e.$$.on_destroy.push((()=>o()));let{actions:s=[]}=t,{config:l={}}=t,{customOptionsRenderer:c}=t,{options:d=[]}=t,{selectedLabel:f}=t,{selectedOption:p}=t,{isMobile:g}=t,{getNodeName:h}=t,{getRouteLink:m}=t,{getTranslation:v}=t;a();let{isContextSwitcherDropdownShown:b}=t;const _=W();function w(e){_("onActionClick",{node:e})}function y(e,t){_("goToOption",{option:e,selectedOption:t})}return e.$$set=e=>{"actions"in e&&i(0,s=e.actions),"config"in e&&i(1,l=e.config),"customOptionsRenderer"in e&&i(2,c=e.customOptionsRenderer),"options"in e&&i(3,d=e.options),"selectedLabel"in e&&i(4,f=e.selectedLabel),"selectedOption"in e&&i(5,p=e.selectedOption),"isMobile"in e&&i(6,g=e.isMobile),"getNodeName"in e&&i(7,h=e.getNodeName),"getRouteLink"in e&&i(8,m=e.getRouteLink),"getTranslation"in e&&a(i(9,v=e.getTranslation)),"isContextSwitcherDropdownShown"in e&&i(10,b=e.isContextSwitcherDropdownShown)},[s,l,c,d,f,p,g,h,m,v,b,w,y,r,e=>w(e),e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>y(e,p),e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>w(e)]}class Fs extends Se{constructor(e){super(),Ce(this,e,Os,Rs,s,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Ms(e){let t,n,i,r=!e[9]&&Us(e),o=e[9]&&e[8].contextSwitcherPopover&&e[15]&&Qs(e);return{c(){r&&r.c(),t=P(),o&&o.c(),n=I()},m(e,a){r&&r.m(e,a),C(e,t,a),o&&o.m(e,a),C(e,n,a),i=!0},p(e,i){e[9]?r&&(ue(),pe(r,1,1,(()=>{r=null})),de()):r?(r.p(e,i),512&i[0]&&fe(r,1)):(r=Us(e),r.c(),fe(r,1),r.m(t.parentNode,t)),e[9]&&e[8].contextSwitcherPopover&&e[15]?o?(o.p(e,i),33536&i[0]&&fe(o,1)):(o=Qs(e),o.c(),fe(o,1),o.m(n.parentNode,n)):o&&(ue(),pe(o,1,1,(()=>{o=null})),de())},i(e){i||(fe(r),fe(o),i=!0)},o(e){pe(r),pe(o),i=!1},d(e){e&&(S(t),S(n)),r&&r.d(e),o&&o.d(e)}}}function Us(e){let t,n,i,r,o,a,s,l,c,u;function d(e,t){return e[10]&&e[2]!==e[5].defaultLabel?qs:Bs}let f=d(e),p=f(e);return a=new Fs({props:{actions:e[0],config:e[5],customOptionsRenderer:e[6],options:e[1],selectedLabel:e[4],selectedOption:e[2],getNodeName:e[18],getRouteLink:e[19],getTranslation:e[17],isMobile:e[9],isContextSwitcherDropdownShown:e[14]}}),a.$on("onActionClick",e[11]),a.$on("goToOption",e[12]),{c(){t=N("div"),n=N("div"),i=N("div"),p.c(),r=P(),o=N("div"),be(a.$$.fragment),E(i,"class","fd-popover__control"),E(o,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),E(o,"aria-hidden",s=!e[8].contextSwitcherPopover),E(o,"id","contextSwitcherPopover"),E(o,"data-testid","luigi-contextswitcher-popover"),E(n,"class","fd-popover fd-popover--right svelte-1k9bqh4"),E(t,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(e,s){C(e,t,s),y(t,n),y(n,i),p.m(i,null),y(n,r),y(n,o),_e(a,o,null),l=!0,c||(u=T(i,"click",A(tl)),c=!0)},p(e,t){f===(f=d(e))&&p?p.p(e,t):(p.d(1),p=f(e),p&&(p.c(),p.m(i,null)));const n={};1&t[0]&&(n.actions=e[0]),32&t[0]&&(n.config=e[5]),64&t[0]&&(n.customOptionsRenderer=e[6]),2&t[0]&&(n.options=e[1]),16&t[0]&&(n.selectedLabel=e[4]),4&t[0]&&(n.selectedOption=e[2]),512&t[0]&&(n.isMobile=e[9]),16384&t[0]&&(n.isContextSwitcherDropdownShown=e[14]),a.$set(n),(!l||256&t[0]&&s!==(s=!e[8].contextSwitcherPopover))&&E(o,"aria-hidden",s)},i(e){l||(fe(a.$$.fragment,e),l=!0)},o(e){pe(a.$$.fragment,e),l=!1},d(e){e&&S(t),p.d(),we(a),c=!1,u()}}}function Bs(e){let t,n,i,r,o,a;function s(e,t){return e[2]&&e[7]?Hs:js}let l=s(e),c=l(e);return{c(){t=N("button"),c.c(),E(t,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),E(t,"aria-expanded",n=e[8].contextSwitcherPopover||!1),E(t,"aria-haspopup","true"),E(t,"title",i=e[4]?e[4]:e[5].defaultLabel),E(t,"aria-disabled",r=!e[15]),E(t,"data-testid","luigi-contextswitcher-button")},m(n,i){C(n,t,i),c.m(t,null),o||(a=T(t,"click",e[29]),o=!0)},p(e,o){l===(l=s(e))&&c?c.p(e,o):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null))),256&o[0]&&n!==(n=e[8].contextSwitcherPopover||!1)&&E(t,"aria-expanded",n),48&o[0]&&i!==(i=e[4]?e[4]:e[5].defaultLabel)&&E(t,"title",i),32768&o[0]&&r!==(r=!e[15])&&E(t,"aria-disabled",r)},d(e){e&&S(t),c.d(),o=!1,a()}}}function qs(e){let t,n,i,r,o,a,s;function l(e,t){return e[2]&&e[7]?Ks:Gs}let c=l(e),u=c(e);return{c(){t=N("a"),u.c(),E(t,"href",n=e[2]?e[19](e[2]):void 0),E(t,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),E(t,"aria-expanded",i=e[8].contextSwitcherPopover||!1),E(t,"aria-haspopup","true"),E(t,"title",r=e[4]?e[4]:e[5].defaultLabel),E(t,"aria-disabled",o=!e[15]),E(t,"data-testid","luigi-contextswitcher-button")},m(n,i){C(n,t,i),u.m(t,null),a||(s=T(t,"click",L(e[28])),a=!0)},p(e,a){c===(c=l(e))&&u?u.p(e,a):(u.d(1),u=c(e),u&&(u.c(),u.m(t,null))),4&a[0]&&n!==(n=e[2]?e[19](e[2]):void 0)&&E(t,"href",n),256&a[0]&&i!==(i=e[8].contextSwitcherPopover||!1)&&E(t,"aria-expanded",i),48&a[0]&&r!==(r=e[4]?e[4]:e[5].defaultLabel)&&E(t,"title",r),32768&a[0]&&o!==(o=!e[15])&&E(t,"aria-disabled",o)},d(e){e&&S(t),u.d(),a=!1,s()}}}function js(e){let t,n;function i(e,t){return e[4]?zs:Ws}let r=i(e),o=r(e);return{c(){o.c(),t=P(),n=N("i"),E(n,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(e,i){o.m(e,i),C(e,t,i),C(e,n,i)},p(e,n){r===(r=i(e))&&o?o.p(e,n):(o.d(1),o=r(e),o&&(o.c(),o.m(t.parentNode,t)))},d(e){e&&(S(t),S(n)),o.d(e)}}}function Hs(e){let t,n,i=e[7](e[2])+"";return{c(){t=new F(!1),n=I(),t.a=n},m(e,r){t.m(i,e,r),C(e,n,r)},p(e,n){132&n[0]&&i!==(i=e[7](e[2])+"")&&t.p(i)},d(e){e&&(S(n),t.d())}}}function zs(e){let t;return{c(){t=k(e[4])},m(e,n){C(e,t,n)},p(e,n){16&n[0]&&V(t,e[4])},d(e){e&&S(t)}}}function Ws(e){let t,n=e[16](e[5].defaultLabel)+"";return{c(){t=k(n)},m(e,n){C(e,t,n)},p(e,i){65568&i[0]&&n!==(n=e[16](e[5].defaultLabel)+"")&&V(t,n)},d(e){e&&S(t)}}}function Gs(e){let t,n;function i(e,t){return e[4]?Js:Ys}let r=i(e),o=r(e);return{c(){o.c(),t=P(),n=N("i"),E(n,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(e,i){o.m(e,i),C(e,t,i),C(e,n,i)},p(e,n){r===(r=i(e))&&o?o.p(e,n):(o.d(1),o=r(e),o&&(o.c(),o.m(t.parentNode,t)))},d(e){e&&(S(t),S(n)),o.d(e)}}}function Ks(e){let t,n,i=e[7](e[2])+"";return{c(){t=new F(!1),n=I(),t.a=n},m(e,r){t.m(i,e,r),C(e,n,r)},p(e,n){132&n[0]&&i!==(i=e[7](e[2])+"")&&t.p(i)},d(e){e&&(S(n),t.d())}}}function Js(e){let t;return{c(){t=k(e[4])},m(e,n){C(e,t,n)},p(e,n){16&n[0]&&V(t,e[4])},d(e){e&&S(t)}}}function Ys(e){let t,n=e[16](e[5].defaultLabel)+"";return{c(){t=k(n)},m(e,n){C(e,t,n)},p(e,i){65568&i[0]&&n!==(n=e[16](e[5].defaultLabel)+"")&&V(t,n)},d(e){e&&S(t)}}}function Qs(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w=!e[4]&&Zs(e),x=e[4]&&Xs(e);return d=new Fs({props:{actions:e[0],config:e[5],customOptionsRenderer:e[6],options:e[1],selectedLabel:e[4],selectedOption:e[2],getNodeName:e[18],getRouteLink:e[19],getTranslation:e[17],isMobile:e[9],isContextSwitcherDropdownShown:e[14]}}),d.$on("onActionClick",e[11]),d.$on("goToOption",e[12]),{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("div"),s=N("h2"),w&&w.c(),l=P(),x&&x.c(),c=P(),u=N("div"),be(d.$$.fragment),f=P(),p=N("footer"),g=N("div"),h=N("div"),m=N("button"),m.textContent="Cancel",E(s,"class","fd-title fd-title--h5"),E(s,"id","dialog-title-3"),E(a,"class","fd-bar__element"),E(r,"class","fd-bar__left"),E(i,"class","fd-dialog__header fd-bar fd-bar--header"),E(u,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),E(m,"class","fd-button fd-button--light fd-dialog__decisive-button"),E(m,"data-testid","mobile-topnav-close"),E(h,"class","fd-bar__element"),E(g,"class","fd-bar__right"),E(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),E(n,"class","fd-dialog__content fd-dialog__content--mobile"),E(n,"role","dialog"),E(n,"aria-modal","true"),E(n,"aria-labelledby","dialog-title-3"),E(t,"class","fd-dialog fd-dialog--active")},m(o,S){C(o,t,S),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),w&&w.m(s,null),y(s,l),x&&x.m(s,null),y(n,c),y(n,u),_e(d,u,null),y(n,f),y(n,p),y(p,g),y(g,h),y(h,m),v=!0,b||(_=[T(m,"click",e[13]),T(t,"click",A(nl))],b=!0)},p(e,t){e[4]?w&&(w.d(1),w=null):w?w.p(e,t):(w=Zs(e),w.c(),w.m(s,l)),e[4]?x?x.p(e,t):(x=Xs(e),x.c(),x.m(s,null)):x&&(x.d(1),x=null);const n={};1&t[0]&&(n.actions=e[0]),32&t[0]&&(n.config=e[5]),64&t[0]&&(n.customOptionsRenderer=e[6]),2&t[0]&&(n.options=e[1]),16&t[0]&&(n.selectedLabel=e[4]),4&t[0]&&(n.selectedOption=e[2]),512&t[0]&&(n.isMobile=e[9]),16384&t[0]&&(n.isContextSwitcherDropdownShown=e[14]),d.$set(n)},i(e){v||(fe(d.$$.fragment,e),v=!0)},o(e){pe(d.$$.fragment,e),v=!1},d(e){e&&S(t),w&&w.d(),x&&x.d(),we(d),b=!1,o(_)}}}function Zs(e){let t,n=e[16](e[5].defaultLabel)+"";return{c(){t=k(n)},m(e,n){C(e,t,n)},p(e,i){65568&i[0]&&n!==(n=e[16](e[5].defaultLabel)+"")&&V(t,n)},d(e){e&&S(t)}}}function Xs(e){let t;return{c(){t=k(e[4])},m(e,n){C(e,t,n)},p(e,n){16&n[0]&&V(t,e[4])},d(e){e&&S(t)}}}function el(e){let t,n,i=e[3]&&Ms(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[3]?i?(i.p(e,n),8&n[0]&&fe(i,1)):(i=Ms(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}const tl=()=>{},nl=()=>{};function il(e,t,n){let i,r;const o=W();let a,{contextSwitcherEnabled:s=!1}=t,{dropDownStates:l={}}=t,{selectedLabel:c=null}=t,{config:u={}}=t,{actions:d=[]}=t,{options:p=null}=t,g=!0,{selectedOption:h}=t,{fallbackLabelResolver:m=null}=t,{pathParams:v}=t,{customOptionsRenderer:b}=t,{customSelectedOptionRenderer:_}=t,{isMobile:w}=t,{contextSwitcherToggle:y=!1}=t,{defaultLabel:C}=t,S=K("getUnsavedChangesModalPromise"),x=K("store"),N=K("getTranslation");f(e,N,(e=>n(16,r=e)));let k,P=!1,{addNavHrefForAnchor:I}=t;async function T(){n(1,p=await vs.fetchOptions(p));const e=u||{},t=e.parentNodePath,i=e.fallbackLabelResolver,r=xt.getCurrentPath();n(2,h=await vs.getSelectedOption(r,p,t)),n(4,c=await vs.getSelectedLabel(r,p,t,i)),await vs.getSelectedNode(r,p,t),a=e.preserveSubPathOnSwitch}async function L(e){const t=u||{},i=t.parentNodePath,r=t.fallbackLabelResolver;n(2,h=await vs.getSelectedOption(e,p,i)),n(4,c=await vs.getSelectedLabel(e,p,i,r)),await vs.getSelectedNode(e,p,i)}function A(e){S().then((()=>{xt.navigateTo(e)}),(()=>{}))}function E(){o("toggleDropdownState");const e=l||{};JSON.parse(e.contextSwitcherPopover)&&T()}j((async()=>{Dt.doOnStoreChange(x,(async()=>{const e=Ke.getConfigValue("navigation.contextSwitcher");if(n(3,s=!!e),s&&(n(6,b=Et.isFunction(e.customOptionsRenderer)?e.customOptionsRenderer:void 0),n(7,_=Et.isFunction(e.customSelectedOptionRenderer)?e.customSelectedOptionRenderer:void 0),n(5,u=e),n(1,p=void 0),e)){n(27,g=!1!==e.alwaysShowDropdown),n(0,d=await Ke.getConfigValueAsync("navigation.contextSwitcher.actions"));const t=xt.getCurrentPath();n(20,m=e.fallbackLabelResolver),vs.resetFallbackLabelCache(),e.lazyloadOptions||await T(),vs.isContextSwitcherDetailsView(t,e.parentNodePath)&&await L(t)}}),["navigation.contextSwitcher"]),Rt.addRouteChangeListener((e=>L(e))),Ot.addEventListener("message",(e=>{At.getValidMessageSource(e)&&e.data&&"luigi.refresh-context-switcher"===e.data.msg&&(n(1,p=null),T())})),n(21,C=u.defaultLabel)})),q((()=>{P!==y&&(P=y,T()),n(14,k=l.contextSwitcherPopover||!1)}));return e.$$set=e=>{"contextSwitcherEnabled"in e&&n(3,s=e.contextSwitcherEnabled),"dropDownStates"in e&&n(8,l=e.dropDownStates),"selectedLabel"in e&&n(4,c=e.selectedLabel),"config"in e&&n(5,u=e.config),"actions"in e&&n(0,d=e.actions),"options"in e&&n(1,p=e.options),"selectedOption"in e&&n(2,h=e.selectedOption),"fallbackLabelResolver"in e&&n(20,m=e.fallbackLabelResolver),"pathParams"in e&&n(22,v=e.pathParams),"customOptionsRenderer"in e&&n(6,b=e.customOptionsRenderer),"customSelectedOptionRenderer"in e&&n(7,_=e.customSelectedOptionRenderer),"isMobile"in e&&n(9,w=e.isMobile),"contextSwitcherToggle"in e&&n(23,y=e.contextSwitcherToggle),"defaultLabel"in e&&n(21,C=e.defaultLabel),"addNavHrefForAnchor"in e&&n(10,I=e.addNavHrefForAnchor)},e.$$.update=()=>{134217735&e.$$.dirty[0]&&n(15,i=g||d&&d.length>0||p&&p.length>1||!h)},[d,p,h,s,c,u,b,_,l,w,I,async function(e){let t=e.detail.node;if(t.clickHandler){if(!(await t.clickHandler(t)))return}setTimeout((()=>{A(t.link)})),w&&o("toggleDropdownState")},function(e){let t=e.detail.option,n=e.detail.selectedOption;S().then((()=>{a&&n?xt.navigateTo(vs.getNodePathFromCurrentPath(t,n)):xt.navigateTo(t.link),w&&o("toggleDropdownState")}),(()=>{}))},E,k,i,r,N,function(e,t,n){return e?Promise.resolve(e):vs.getFallbackLabel(t,n)},function(e){return Rt.getNodeHref(e,v)},m,C,v,y,T,L,A,g,()=>{i&&E()},()=>{i&&E()}]}class rl extends Se{constructor(e){super(),Ce(this,e,il,el,s,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:ol}=w;function al(e,t,n){const i=e.slice();return i[22]=t[n],i}function sl(e){let t,n,i,r=!e[2]&&ll(e),o=e[2]&&e[3].productSwitcherPopover&&yl(e);return{c(){r&&r.c(),t=P(),o&&o.c(),n=I()},m(e,a){r&&r.m(e,a),C(e,t,a),o&&o.m(e,a),C(e,n,a),i=!0},p(e,i){e[2]?r&&(r.d(1),r=null):r?r.p(e,i):(r=ll(e),r.c(),r.m(t.parentNode,t)),e[2]&&e[3].productSwitcherPopover?o?(o.p(e,i),12&i&&fe(o,1)):(o=yl(e),o.c(),fe(o,1),o.m(n.parentNode,n)):o&&(ue(),pe(o,1,1,(()=>{o=null})),de())},i(e){i||(fe(o),i=!0)},o(e){pe(o),i=!1},d(e){e&&(S(t),S(n)),r&&r.d(e),o&&o.d(e)}}}function ll(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,_;function w(e,t){return 2&t&&(s=null),null==s&&(s=!!e[11](e[1])),s?ul:cl}let k=w(e,-1),I=k(e),L=me(e[0]),V=[];for(let o=0;o<L.length;o+=1)V[o]=wl(al(e,L,o));return{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("button"),I.c(),d=P(),f=N("div"),p=N("div"),g=N("ul");for(let e=0;e<V.length;e+=1)V[e].c();E(a,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),E(a,"aria-expanded",l=e[3].productSwitcherPopover||!1),E(a,"aria-haspopup","true"),E(a,"title",c=e[1].label),E(a,"data-testid",u=e[14](e[1])),E(r,"class","fd-popover__control"),E(g,"class","fd-product-switch__list"),E(p,"class",h=b(e[9])+" svelte-1mzhx88"),E(f,"class","fd-popover__body fd-popover__body--right"),E(f,"aria-hidden",m=!e[3].productSwitcherPopover),E(f,"id","productSwitcherPopover"),E(i,"class","fd-popover fd-popover--right"),E(n,"class","fd-product-switch"),E(t,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(o,s){C(o,t,s),y(t,n),y(n,i),y(i,r),y(r,a),I.m(a,null),y(i,d),y(i,f),y(f,p),y(p,g);for(let e=0;e<V.length;e+=1)V[e]&&V[e].m(g,null);v||(_=[T(a,"click",A(e[7])),T(r,"click",A(xl))],v=!0)},p(e,t){if(k===(k=w(e,t))&&I?I.p(e,t):(I.d(1),I=k(e),I&&(I.c(),I.m(a,null))),8&t&&l!==(l=e[3].productSwitcherPopover||!1)&&E(a,"aria-expanded",l),2&t&&c!==(c=e[1].label)&&E(a,"title",c),2&t&&u!==(u=e[14](e[1]))&&E(a,"data-testid",u),64561&t){let n;for(L=me(e[0]),n=0;n<L.length;n+=1){const i=al(e,L,n);V[n]?V[n].p(i,t):(V[n]=wl(i),V[n].c(),V[n].m(g,null))}for(;n<V.length;n+=1)V[n].d(1);V.length=L.length}512&t&&h!==(h=b(e[9])+" svelte-1mzhx88")&&E(p,"class",h),8&t&&m!==(m=!e[3].productSwitcherPopover)&&E(f,"aria-hidden",m)},d(e){e&&S(t),I.d(),x(V,e),v=!1,o(_)}}}function cl(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[1].icon)||E(t,"src",n),E(t,"alt",i=e[1].altText?e[1].altText:"")},m(e,n){C(e,t,n)},p(e,r){2&r&&!c(t.src,n=e[1].icon)&&E(t,"src",n),2&r&&i!==(i=e[1].altText?e[1].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function ul(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+e[10](e[1].icon))},m(e,n){C(e,t,n)},p(e,i){2&i&&n!==(n="sap-icon "+e[10](e[1].icon))&&E(t,"class",n)},d(e){e&&S(t)}}}function dl(e){let t,n,i,r,o,a;function s(e,t){return e[4]?pl:fl}let l=s(e),c=l(e);function u(){return e[17](e[22])}return{c(){t=N("li"),c.c(),n=P(),E(t,"class",i="fd-product-switch__item "+(e[22].selected?"selected":"")+" svelte-1mzhx88"),E(t,"data-testid",r=e[14](e[22]))},m(e,i){C(e,t,i),c.m(t,null),y(t,n),o||(a=T(t,"click",u),o=!0)},p(o,a){l===(l=s(e=o))&&c?c.p(e,a):(c.d(1),c=l(e),c&&(c.c(),c.m(t,n))),1&a&&i!==(i="fd-product-switch__item "+(e[22].selected?"selected":"")+" svelte-1mzhx88")&&E(t,"class",i),1&a&&r!==(r=e[14](e[22]))&&E(t,"data-testid",r)},d(e){e&&S(t),c.d(),o=!1,a()}}}function fl(e){let t,n,i,r,o,a,s,l=e[12](e[22])+"",c=e[13](e[22]);function u(e,t){return 1&t&&(n=null),null==n&&(n=!!e[11](e[22])),n?hl:gl}let d=u(e,-1),f=d(e),p=c&&ml(e);return{c(){t=N("div"),f.c(),i=P(),r=N("div"),o=N("div"),a=k(l),s=P(),p&&p.c(),E(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),E(o,"class","fd-product-switch__title"),E(r,"class","fd-product-switch__text")},m(e,n){C(e,t,n),f.m(t,null),C(e,i,n),C(e,r,n),y(r,o),y(o,a),y(r,s),p&&p.m(r,null)},p(e,n){d===(d=u(e,n))&&f?f.p(e,n):(f.d(1),f=d(e),f&&(f.c(),f.m(t,null))),1&n&&l!==(l=e[12](e[22])+"")&&V(a,l),1&n&&(c=e[13](e[22])),c?p?p.p(e,n):(p=ml(e),p.c(),p.m(r,null)):p&&(p.d(1),p=null)},d(e){e&&(S(t),S(i),S(r)),f.d(),p&&p.d()}}}function pl(e){let t,n,i,r,o,a,s,l,c,u,d,f=e[12](e[22])+"",p=e[13](e[22]);function g(e,t){return 1&t&&(i=null),null==i&&(i=!!e[11](e[22])),i?bl:vl}let h=g(e,-1),m=h(e),v=p&&_l(e);return{c(){t=N("a"),n=N("div"),m.c(),r=P(),o=N("div"),a=N("div"),s=k(f),l=P(),v&&v.c(),E(n,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),E(a,"class","fd-product-switch__title"),E(o,"class","fd-product-switch__text"),E(t,"href",c=e[15](e[22])),E(t,"class","fd-menu__link svelte-1mzhx88")},m(i,c){C(i,t,c),y(t,n),m.m(n,null),y(t,r),y(t,o),y(o,a),y(a,s),y(o,l),v&&v.m(o,null),u||(d=T(t,"click",e[16]),u=!0)},p(e,i){h===(h=g(e,i))&&m?m.p(e,i):(m.d(1),m=h(e),m&&(m.c(),m.m(n,null))),1&i&&f!==(f=e[12](e[22])+"")&&V(s,f),1&i&&(p=e[13](e[22])),p?v?v.p(e,i):(v=_l(e),v.c(),v.m(o,null)):v&&(v.d(1),v=null),1&i&&c!==(c=e[15](e[22]))&&E(t,"href",c)},d(e){e&&S(t),m.d(),v&&v.d(),u=!1,d()}}}function gl(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[22].icon)||E(t,"src",n),E(t,"alt",i=e[22].altText?e[22].altText:""),E(t,"class","svelte-1mzhx88")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[22].icon)&&E(t,"src",n),1&r&&i!==(i=e[22].altText?e[22].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function hl(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[22].icon&&e[11](e[22])?e[10](e[22].icon):"")+" svelte-1mzhx88")},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="sap-icon "+(e[22].icon&&e[11](e[22])?e[10](e[22].icon):"")+" svelte-1mzhx88")&&E(t,"class",n)},d(e){e&&S(t)}}}function ml(e){let t,n,i=e[13](e[22])+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-product-switch__subtitle")},m(e,i){C(e,t,i),y(t,n)},p(e,t){1&t&&i!==(i=e[13](e[22])+"")&&V(n,i)},d(e){e&&S(t)}}}function vl(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[22].icon)||E(t,"src",n),E(t,"alt",i=e[22].altText?e[22].altText:""),E(t,"class","svelte-1mzhx88")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[22].icon)&&E(t,"src",n),1&r&&i!==(i=e[22].altText?e[22].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function bl(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[22].icon&&e[11](e[22])?e[10](e[22].icon):"")+" svelte-1mzhx88")},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="sap-icon "+(e[22].icon&&e[11](e[22])?e[10](e[22].icon):"")+" svelte-1mzhx88")&&E(t,"class",n)},d(e){e&&S(t)}}}function _l(e){let t,n,i=e[13](e[22])+"";return{c(){t=N("div"),n=k(i),E(t,"class","fd-product-switch__subtitle")},m(e,i){C(e,t,i),y(t,n)},p(e,t){1&t&&i!==(i=e[13](e[22])+"")&&V(n,i)},d(e){e&&S(t)}}}function wl(e){let t,n=e[22].label&&dl(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){e[22].label?n?n.p(e,i):(n=dl(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function yl(e){let t,n;return t=new is({props:{nodes:e[0],label:e[1].label,hasOpenUIicon:e[11],getNodeLabel:e[12],getNodeSubtitle:e[13]}}),t.$on("click",e[7]),t.$on("listClick",e[6]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};1&n&&(i.nodes=e[0]),2&n&&(i.label=e[1].label),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Cl(e){let t,n,i,r,o=e[0]&&e[0].length&&Object.keys(e[0][0]).length,a=o&&sl(e);return{c(){a&&a.c(),t=I()},m(e,o){a&&a.m(e,o),C(e,t,o),n=!0,i||(r=T(ol,"resize",Sl),i=!0)},p(e,[n]){1&n&&(o=e[0]&&e[0].length&&Object.keys(e[0][0]).length),o?a?(a.p(e,n),1&n&&fe(a,1)):(a=sl(e),a.c(),fe(a,1),a.m(t.parentNode,t)):a&&(ue(),pe(a,1,1,(()=>{a=null})),de())},i(e){n||(fe(a),n=!0)},o(e){pe(a),n=!1},d(e){e&&S(t),a&&a.d(e),i=!1,r()}}}function Sl(){let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)}const xl=()=>{};function $l(e,t,n){const i=W();let r,{productSwitcherItems:o}=t,{isMobile:a}=t,{config:s}=t,{dropDownStates:l}=t,c=K("store"),u=K("getUnsavedChangesModalPromise"),{addNavHrefForAnchor:d}=t;function f(e){u().then((()=>{xt.navigateToLink(e)}),(()=>{})),p()}function p(){i("toggleDropdownState")}j((async()=>{Dt.doOnStoreChange(c,(async()=>{n(1,s=Vt.getProductSwitcherConfig()),s&&(n(0,o=await Ke.getConfigValueAsync("navigation.productSwitcher.items")),3===Vt.getProductSwitcherColumnsNumber()?n(9,r="fd-product-switch__body fd-product-switch__body--col-3"):n(9,r="fd-product-switch__body")),Sl()}),["navigation.productSwitcher"])}));return e.$$set=e=>{"productSwitcherItems"in e&&n(0,o=e.productSwitcherItems),"isMobile"in e&&n(2,a=e.isMobile),"config"in e&&n(1,s=e.config),"dropDownStates"in e&&n(3,l=e.dropDownStates),"addNavHrefForAnchor"in e&&n(4,d=e.addNavHrefForAnchor)},[o,s,a,l,d,f,function(e){f(e.detail)},p,Sl,r,function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return Ze.getTranslation(e.label)},function(e){return Ze.getTranslation(e.subTitle)},function(e){return e.testId?e.testId:Vt.prepareForTests(e.label)},function(e){return Rt.getNodeHref(e)},e=>{Vt.handleNavAnchorClickedWithoutMetaKey(e)},e=>f(e)]}class Nl extends Se{constructor(e){super(),Ce(this,e,$l,Cl,s,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return Sl}}function kl(e,t,n){const i=e.slice();return i[21]=t[n],i[23]=n,i}function Pl(e){let t,i,r;return{c(){t=N("input"),E(t,"type","text"),E(t,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-1gf05kv"),E(t,"data-testid","luigi-search-input"),t.autofocus=!0,E(t,"onfocus","event.target.parentNode.classList.add('is-focus')"),E(t,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(n,o){C(n,t,o),e[15](t),t.focus(),i||(r=T(t,"keyup",e[14]),i=!0)},p:n,d(n){n&&S(t),e[15](null),i=!1,r()}}}function Il(e){let t;return{c(){t=N("input"),E(t,"type","text"),E(t,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-1gf05kv"),E(t,"data-testid","luigi-search-input__no-handlers"),t.autofocus=!0,E(t,"onfocus","event.target.parentNode.classList.add('is-focus')"),E(t,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(e,n){C(e,t,n),t.focus()},p:n,d(e){e&&S(t)}}}function Tl(e){let t;return{c(){t=N("div")},m(n,i){C(n,t,i),e[19](t)},p:n,d(n){n&&S(t),e[19](null)}}}function Ll(e){let t,n,i,r=e[4]&&Al(e);return{c(){t=N("div"),n=N("nav"),r&&r.c(),E(n,"class","fd-menu svelte-1gf05kv"),E(t,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1gf05kv"),E(t,"aria-hidden",i=!e[5])},m(e,i){C(e,t,i),y(t,n),r&&r.m(n,null)},p(e,o){e[4]?r?r.p(e,o):(r=Al(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null),32&o&&i!==(i=!e[5])&&E(t,"aria-hidden",i)},d(e){e&&S(t),r&&r.d()}}}function Al(e){let t,n=me(e[4]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Rl(kl(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-menu__list fd-menu__list--top")},m(n,r){C(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);e[18](t)},p(e,r){if(2324&r){let o;for(n=me(e[4]),o=0;o<n.length;o+=1){const a=kl(e,n,o);i[o]?i[o].p(a,r):(i[o]=Rl(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(n){n&&S(t),x(i,n),e[18](null)}}}function El(e){let t,n,i=e[8].renderCustomSearchItem(e[21],e[2],e[23])+"";return{c(){t=new F(!1),n=I(),t.a=n},m(e,r){t.m(i,e,r),C(e,n,r)},p(e,n){276&n&&i!==(i=e[8].renderCustomSearchItem(e[21],e[2],e[23])+"")&&t.p(i)},d(e){e&&(S(n),t.d())}}}function Vl(e){let t,n,i,r,o,a,s,l,c,u=e[21].label+"",d=e[21].description+"";return{c(){t=N("a"),n=N("div"),i=N("div"),r=k(u),o=P(),a=N("div"),s=k(d),E(i,"class","fd-product-switch__title svelte-1gf05kv"),E(a,"class","fd-product-switch__subtitle"),E(n,"class","fd-product-switch__text"),E(t,"class","fd-menu__link svelte-1gf05kv")},m(e,u){C(e,t,u),y(t,n),y(n,i),y(i,r),y(n,o),y(n,a),y(a,s),l||(c=T(t,"click",L(Ol)),l=!0)},p(e,t){16&t&&u!==(u=e[21].label+"")&&V(r,u),16&t&&d!==(d=e[21].description+"")&&V(s,d)},d(e){e&&S(t),l=!1,c()}}}function Rl(e){let t,n,i,r;function a(e,t){return e[8].isCustomSearchResultItemRenderer?El:Vl}let s=a(e),l=s(e);function c(...t){return e[16](e[21],...t)}function u(...t){return e[17](e[21],...t)}return{c(){t=N("li"),l.c(),n=P(),E(t,"class","fd-menu__item luigi-search-result-item__"+e[23]+" svelte-1gf05kv"),E(t,"tabindex","0")},m(e,o){C(e,t,o),l.m(t,null),y(t,n),i||(r=[T(t,"click",c),T(t,"keyup",u)],i=!0)},p(i,r){s===(s=a(e=i))&&l?l.p(e,r):(l.d(1),l=s(e),l&&(l.c(),l.m(t,n)))},d(e){e&&S(t),l.d(),i=!1,o(r)}}}function Dl(e){let t,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_;function w(e,t){return e[7]&&e[7].disableInputHandlers?Il:Pl}let x=w(e),k=x(e);function I(e,t){return e[8].isCustomSearchRenderer?Tl:Ll}let L=I(e),V=L(e);return{c(){t=N("div"),i=N("div"),r=N("div"),a=N("div"),k.c(),s=P(),l=N("div"),c=P(),V.c(),f=P(),p=N("div"),g=N("div"),h=N("button"),m=N("i"),E(l,"class","fd-shellbar__search-field-helper"),E(a,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),E(r,"class","fd-popover__control luigi-search svelte-1gf05kv"),E(r,"aria-hidden",u=!e[3]),E(r,"aria-haspopup","true"),E(i,"class","fd-popover svelte-1gf05kv"),E(t,"class",d="fd-shellbar__action "+(e[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv"),E(m,"class","sap-icon sap-icon--search"),E(h,"class","fd-button fd-button--transparent fd-shellbar__button"),E(h,"aria-haspopup","true"),E(h,"aria-expanded",v=!e[3]),E(h,"data-testid","luigi-search-btn-desktop"),E(p,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(n,o){C(n,t,o),y(t,i),y(i,r),y(r,a),k.m(a,null),y(a,s),y(a,l),y(r,c),V.m(r,null),C(n,f,o),C(n,p,o),y(p,g),y(g,h),y(h,m),b||(_=[T(window,"click",e[9]),T(window,"blur",e[9]),T(r,"click",A(Fl)),T(h,"click",e[6]),T(g,"click",A(Ml))],b=!0)},p(e,[n]){x===(x=w(e))&&k?k.p(e,n):(k.d(1),k=x(e),k&&(k.c(),k.m(a,s))),L===(L=I(e))&&V?V.p(e,n):(V.d(1),V=L(e),V&&(V.c(),V.m(r,null))),8&n&&u!==(u=!e[3])&&E(r,"aria-hidden",u),8&n&&d!==(d="fd-shellbar__action "+(e[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv")&&E(t,"class",d),8&n&&v!==(v=!e[3])&&E(h,"aria-expanded",v)},i:n,o:n,d(e){e&&(S(t),S(f),S(p)),k.d(),V.d(),b=!1,o(_)}}}const Ol=()=>{},Fl=()=>{},Ml=()=>{};function Ul(e,t,n){let{isSearchFieldVisible:i}=t,{searchResult:r=[]}=t,{displaySearchResult:o}=t,{inputElem:a}=t,{customSearchItemRendererSlot:s}=t,{customSearchItemRendererSlotContainer:l}=t,{globalSearchConfig:c}=t;const u=W();let d,f={};function p(e){d.onKeyUp(e,o)}function g(e,t){d.handleKeydown(e,t,a,l)}j((async()=>{d.setSearchPlaceholder(a),d.getCustomRenderer()})),q((()=>{n(7,f=c),d||n(8,d=new Ht(f,u)),d.getCustomRenderer()}));return e.$$set=e=>{"isSearchFieldVisible"in e&&n(3,i=e.isSearchFieldVisible),"searchResult"in e&&n(4,r=e.searchResult),"displaySearchResult"in e&&n(5,o=e.displaySearchResult),"inputElem"in e&&n(0,a=e.inputElem),"customSearchItemRendererSlot"in e&&n(1,s=e.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in e&&n(2,l=e.customSearchItemRendererSlotContainer),"globalSearchConfig"in e&&n(12,c=e.globalSearchConfig)},[a,s,l,i,r,o,function(){d.toggleSearch(i,o,a,s)},f,d,function(){d.closeSearchResult()},p,g,c,function(e){d.onActionClick(e)},e=>p(e),function(e){Q[e?"unshift":"push"]((()=>{a=e,n(0,a)}))},(e,t)=>d.onSearchResultItemSelected(e,t),(e,t)=>g(e,t),function(e){Q[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},function(e){Q[e?"unshift":"push"]((()=>{s=e,n(1,s)}))}]}class Bl extends Se{constructor(e){super(),Ce(this,e,Ul,Dl,s,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function ql(e,t,n){const i=e.slice();return i[32]=t[n],i[34]=n,i}function jl(e){let t,i,r,a,s,l,c,u,d,f,p;return{c(){t=N("input"),i=P(),r=N("div"),a=N("button"),a.innerHTML='<i class="sap-icon--decline"></i>',s=P(),l=N("div"),c=N("button"),c.innerHTML='<i class="sap-icon--search"></i>',u=P(),d=N("div"),E(t,"type","text"),E(t,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),E(t,"data-testid","luigi-search-input"),E(t,"onfocus","event.target.parentNode.classList.add('is-focus')"),E(t,"onblur","event.target.parentNode.classList.remove('is-focus')"),E(t,"placeholder"," "),E(a,"aria-label","button-search"),E(a,"class","fd-shellbar__button fd-button fd-button--transparent"),E(r,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-a47lg3"),E(c,"aria-label","button-search"),E(c,"class","fd-shellbar__button fd-button fd-button--transparent"),E(l,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-a47lg3"),E(d,"class","fd-shellbar__search-field-helper")},m(n,o){C(n,t,o),e[23](t),C(n,i,o),C(n,r,o),y(r,a),C(n,s,o),C(n,l,o),y(l,c),C(n,u,o),C(n,d,o),f||(p=[T(t,"keyup",e[22]),T(t,"input",e[24]),T(a,"click",e[17]),T(c,"click",e[15])],f=!0)},p:n,d(n){n&&(S(t),S(i),S(r),S(s),S(l),S(u),S(d)),e[23](null),f=!1,o(p)}}}function Hl(e){let t;return{c(){t=N("input"),E(t,"type","text"),E(t,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),E(t,"data-testid","luigi-search-input__no-handlers"),E(t,"onfocus","event.target.parentNode.classList.add('is-focus')"),E(t,"onblur","event.target.parentNode.classList.remove('is-focus')"),E(t,"placeholder"," ")},m(e,n){C(e,t,n)},p:n,d(e){e&&S(t)}}}function zl(e){let t;return{c(){t=N("div")},m(n,i){C(n,t,i),e[28](t)},p:n,d(n){n&&S(t),e[28](null)}}}function Wl(e){let t,n,i,r=e[3]&&Gl(e);return{c(){t=N("div"),n=N("nav"),r&&r.c(),E(n,"class","fd-menu"),E(t,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-a47lg3"),E(t,"aria-hidden",i=!e[4])},m(e,i){C(e,t,i),y(t,n),r&&r.m(n,null)},p(e,o){e[3]?r?r.p(e,o):(r=Gl(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null),16&o[0]&&i!==(i=!e[4])&&E(t,"aria-hidden",i)},d(e){e&&S(t),r&&r.d()}}}function Gl(e){let t,n=me(e[3]),i=[];for(let r=0;r<n.length;r+=1)i[r]=Yl(ql(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-menu__list fd-menu__list--top")},m(n,r){C(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);e[27](t)},p(e,r){if(791052&r[0]){let o;for(n=me(e[3]),o=0;o<n.length;o+=1){const a=ql(e,n,o);i[o]?i[o].p(a,r):(i[o]=Yl(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(n){n&&S(t),x(i,n),e[27](null)}}}function Kl(e){let t,n,i=e[12](e[32],e[2],e[34])+"";return{c(){t=new F(!1),n=I(),t.a=n},m(e,r){t.m(i,e,r),C(e,n,r)},p(e,n){12&n[0]&&i!==(i=e[12](e[32],e[2],e[34])+"")&&t.p(i)},d(e){e&&(S(n),t.d())}}}function Jl(e){let t,n,i,r,o,a,s,l,c,u=e[32].label+"",d=e[32].description+"";return{c(){t=N("a"),n=N("div"),i=N("div"),r=k(u),o=P(),a=N("div"),s=k(d),E(i,"class","fd-product-switch__title"),E(a,"class","fd-product-switch__subtitle"),E(n,"class","fd-product-switch__text"),E(t,"class","fd-menu__link")},m(e,u){C(e,t,u),y(t,n),y(n,i),y(i,r),y(n,o),y(n,a),y(a,s),l||(c=T(t,"click",L(ec)),l=!0)},p(e,t){8&t[0]&&u!==(u=e[32].label+"")&&V(r,u),8&t[0]&&d!==(d=e[32].description+"")&&V(s,d)},d(e){e&&S(t),l=!1,c()}}}function Yl(e){let t,n,i,r;function a(e,t){return e[9].isCustomSearchResultItemRenderer?Kl:Jl}let s=a(e),l=s(e);function c(...t){return e[25](e[32],...t)}function u(...t){return e[26](e[32],...t)}return{c(){t=N("li"),l.c(),n=P(),E(t,"class","fd-menu__item luigi-search-result-item__"+e[34]+" svelte-a47lg3"),E(t,"tabindex","0")},m(e,o){C(e,t,o),l.m(t,null),y(t,n),i||(r=[T(t,"click",c),T(t,"keyup",u)],i=!0)},p(i,r){s===(s=a(e=i))&&l?l.p(e,r):(l.d(1),l=s(e),l&&(l.c(),l.m(t,n)))},d(e){e&&S(t),l.d(),i=!1,o(r)}}}function Ql(e){let t,n,i,r,a,s,l;return{c(){t=N("div"),n=N("div"),i=N("button"),r=N("i"),E(r,"class","sap-icon sap-icon--search"),E(i,"class","fd-button fd-button--transparent fd-shellbar__button"),E(i,"aria-haspopup","true"),E(i,"aria-expanded",a=!e[5]),E(i,"data-testid","luigi-search-btn-desktop"),E(n,"class","fd-shellbar__group"),E(t,"class","lui-global-search-btn svelte-a47lg3")},m(o,a){C(o,t,a),y(t,n),y(n,i),y(i,r),s||(l=[T(i,"click",e[6]),T(n,"click",A(nc))],s=!0)},p(e,t){32&t[0]&&a!==(a=!e[5])&&E(i,"aria-expanded",a)},d(e){e&&S(t),s=!1,o(l)}}}function Zl(e){let t,n,i,r,o,a,s,l=e[10](e[7])+"";return{c(){t=N("div"),n=N("button"),i=k(l),E(n,"class","fd-button fd-button--transparent fd-shellbar__button svelte-a47lg3"),E(n,"aria-haspopup","true"),E(n,"aria-expanded",r=!e[5]),E(n,"data-testid","luigi-search-cancel-btn"),E(t,"class",o="fd-shellbar__group lui-global-search-cancel-btn "+(e[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")},m(r,o){C(r,t,o),y(t,n),y(n,i),a||(s=T(n,"click",A(e[29])),a=!0)},p(e,a){1152&a[0]&&l!==(l=e[10](e[7])+"")&&V(i,l),32&a[0]&&r!==(r=!e[5])&&E(n,"aria-expanded",r),32&a[0]&&o!==(o="fd-shellbar__group lui-global-search-cancel-btn "+(e[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")&&E(t,"class",o)},d(e){e&&S(t),a=!1,s()}}}function Xl(e){let t,i,r,a,s,l,c,u,d,f,p,g;function h(e,t){return e[8]&&e[8].disableInputHandlers?Hl:jl}let m=h(e),v=m(e);function b(e,t){return e[9].isCustomSearchRenderer?zl:Wl}let _=b(e),w=_(e),x=!e[5]&&Ql(e),k=e[5]&&Zl(e);return{c(){t=N("div"),i=N("div"),r=N("div"),a=N("div"),v.c(),s=P(),w.c(),u=P(),x&&x.c(),d=P(),k&&k.c(),f=I(),E(a,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field"),E(r,"class","luigi-search fd-shellbar__group"),E(r,"aria-hidden",l=!e[5]),E(r,"aria-haspopup","true"),E(i,"class","fd-popover svelte-a47lg3"),E(t,"class",c="fd-shellbar__action lui-global-search-input "+(e[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")},m(n,o){C(n,t,o),y(t,i),y(i,r),y(r,a),v.m(a,null),y(r,s),w.m(r,null),C(n,u,o),x&&x.m(n,o),C(n,d,o),k&&k.m(n,o),C(n,f,o),p||(g=[T(window,"click",e[13]),T(window,"blur",e[13]),T(r,"click",A(tc))],p=!0)},p(e,n){m===(m=h(e))&&v?v.p(e,n):(v.d(1),v=m(e),v&&(v.c(),v.m(a,null))),_===(_=b(e))&&w?w.p(e,n):(w.d(1),w=_(e),w&&(w.c(),w.m(r,null))),32&n[0]&&l!==(l=!e[5])&&E(r,"aria-hidden",l),32&n[0]&&c!==(c="fd-shellbar__action lui-global-search-input "+(e[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")&&E(t,"class",c),e[5]?x&&(x.d(1),x=null):x?x.p(e,n):(x=Ql(e),x.c(),x.m(d.parentNode,d)),e[5]?k?k.p(e,n):(k=Zl(e),k.c(),k.m(f.parentNode,f)):k&&(k.d(1),k=null)},i:n,o:n,d(e){e&&(S(t),S(u),S(d),S(f)),v.d(),w.d(),x&&x.d(e),k&&k.d(e),p=!1,o(g)}}}const ec=()=>{},tc=()=>{},nc=()=>{};function ic(e,t,n){let i,{searchResult:r=[]}=t,{displaySearchResult:o}=t,{inputElem:a}=t,{customSearchItemRendererSlot:s}=t,{customSearchItemRendererSlotContainer:l}=t,{globalSearchConfig:c}=t;const u=W();let d,p=ut,{isSearchFieldVisible:g}=t,h={},m=K("getTranslation");function v(){d.closeSearchResult()}function b(e){d.onKeyUp(e,o)}function _(){!a||a.value}function w(e){d.onSearchResultItemSelected(e)}function y(e,t){d.handleKeydown(e,t,a,l)}function C(){d.toggleSearch(g,o,a,s)}f(e,m,(e=>n(10,i=e))),j((async()=>{n(8,h=c),n(7,p=h.globalSearchCenteredCancelButton?h.globalSearchCenteredCancelButton:p),d.setSearchPlaceholder(a),d.getCustomRenderer(),d.handleVisibilityGlobalSearch();const e=document.querySelector(".lui-global-search");if(e){new ResizeObserver((()=>{d.handleVisibilityGlobalSearch()})).observe(e)}})),q((()=>{n(8,h=c),d||n(9,d=new Ht(h,u)),d.getCustomRenderer(),_()}));return e.$$set=e=>{"searchResult"in e&&n(3,r=e.searchResult),"displaySearchResult"in e&&n(4,o=e.displaySearchResult),"inputElem"in e&&n(0,a=e.inputElem),"customSearchItemRendererSlot"in e&&n(1,s=e.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in e&&n(2,l=e.customSearchItemRendererSlotContainer),"globalSearchConfig"in e&&n(20,c=e.globalSearchConfig),"isSearchFieldVisible"in e&&n(5,g=e.isSearchFieldVisible)},[a,s,l,r,o,g,C,p,h,d,i,m,function(e,t,n){d.renderCustomSearchItem(e,t,n)},v,b,function(){h&&Et.isFunction(h.searchProvider.onSearchBtnClick)&&h.searchProvider.onSearchBtnClick()},_,function(){n(0,a.value="",a),v()},w,y,c,function(e){d.onActionClick(e)},e=>b(e),function(e){Q[e?"unshift":"push"]((()=>{a=e,n(0,a)}))},()=>_(),(e,t)=>w(e),(e,t)=>y(e,t),function(e){Q[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},function(e){Q[e?"unshift":"push"]((()=>{s=e,n(1,s)}))},()=>C()]}class rc extends Se{constructor(e){super(),Ce(this,e,ic,Xl,s,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function oc(e){let t,n;function i(e,n){return 1&n&&(t=null),null==t&&(t=!!e[1](e[0])),t?sc:ac}let r=i(e,-1),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function ac(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon sap-icon"),c(t.src,n=e[0].icon)||E(t,"src",n),E(t,"alt",i=e[0].altText?e[0].altText:"")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[0].icon)&&E(t,"src",n),1&r&&i!==(i=e[0].altText?e[0].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function sc(e){let t,n;return{c(){t=N("span"),E(t,"class",n="fd-top-nav__icon sap-icon "+e[2](e[0].icon))},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="fd-top-nav__icon sap-icon "+e[2](e[0].icon))&&E(t,"class",n)},d(e){e&&S(t)}}}function lc(e){let t,n,i,r,o,a=e[3](e[0])+"";return r=new pi({props:{node:e[0]}}),{c(){t=N("span"),n=k(a),i=P(),be(r.$$.fragment)},m(e,a){C(e,t,a),y(t,n),y(t,i),_e(r,t,null),o=!0},p(e,t){(!o||1&t)&&a!==(a=e[3](e[0])+"")&&V(n,a);const i={};1&t&&(i.node=e[0]),r.$set(i)},i(e){o||(fe(r.$$.fragment,e),o=!0)},o(e){pe(r.$$.fragment,e),o=!1},d(e){e&&S(t),we(r)}}}function cc(e){let t,n,i,r=e[0].icon&&oc(e),o=(!e[0].icon||e[0].showLabel)&&lc(e);return{c(){r&&r.c(),t=P(),o&&o.c(),n=I()},m(e,a){r&&r.m(e,a),C(e,t,a),o&&o.m(e,a),C(e,n,a),i=!0},p(e,[i]){e[0].icon?r?r.p(e,i):(r=oc(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),!e[0].icon||e[0].showLabel?o?(o.p(e,i),1&i&&fe(o,1)):(o=lc(e),o.c(),fe(o,1),o.m(n.parentNode,n)):o&&(ue(),pe(o,1,1,(()=>{o=null})),de())},i(e){i||(fe(o),i=!0)},o(e){pe(o),i=!1},d(e){e&&(S(t),S(n)),r&&r.d(e),o&&o.d(e)}}}function uc(e,t,n){let{node:i}=t;return e.$$set=e=>{"node"in e&&n(0,i=e.node)},[i,function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return Vt.renderIconClassName(e)},function(e){return Vt.getNodeLabel(e)}]}class dc extends Se{constructor(e){super(),Ce(this,e,uc,cc,s,{node:0})}}const{Boolean:fc,window:pc}=w;function gc(e,t,n){const i=e.slice();return i[113]=t[n],i[115]=n,i}function hc(e,t,n){const i=e.slice();return i[113]=t[n],i[116]=t,i[115]=n,i}function mc(e){let t,n;return t=new Da({props:{isHidden:!0,addNavHrefForAnchor:e[27]}}),t.$on("toggleDropdownState",e[105]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};134217728&n[0]&&(i.addNavHrefForAnchor=e[27]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function vc(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g=("simple"===e[3]||"simpleMobileOnly"===e[3]||"Fiori3"===e[3])&&bc(e);function h(t){e[61](t)}let m={pathData:e[30],pathParams:e[31],addNavHrefForAnchor:e[27]};void 0!==e[6]&&(m.dropDownStates=e[6]),r=new Jo({props:m}),Q.push((()=>ve(r,"dropDownStates",h))),r.$on("toggleDropdownState",e[39]),r.$on("handleClick",e[37]);let v=e[18]&&e[19]&&!e[29]&&_c(e),b=(!e[0]||e[1])&&wc(e),_=(e[18]||e[7]&&e[30].length>0)&&Cc(e),w=(e[0]||e[16])&&Zc(e),x=e[12]&&au(e);return{c(){t=N("div"),n=N("div"),g&&g.c(),i=P(),be(r.$$.fragment),a=P(),v&&v.c(),s=P(),l=N("div"),b&&b.c(),c=P(),_&&_.c(),u=P(),w&&w.c(),d=P(),x&&x.c(),E(n,"class","fd-shellbar__group fd-shellbar__group--product"),E(l,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),E(t,"class",f="fd-shellbar "+(e[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(e[2]?"hideNavComponent":"")+" svelte-z9ma68"),E(t,"tabindex","0")},m(e,o){C(e,t,o),y(t,n),g&&g.m(n,null),y(n,i),_e(r,n,null),y(t,a),v&&v.m(t,null),y(t,s),y(t,l),b&&b.m(l,null),y(l,c),_&&_.m(l,null),y(l,u),w&&w.m(l,null),y(l,d),x&&x.m(l,null),p=!0},p(e,a){"simple"===e[3]||"simpleMobileOnly"===e[3]||"Fiori3"===e[3]?g?g.p(e,a):(g=bc(e),g.c(),g.m(n,i)):g&&(g.d(1),g=null);const h={};1073741824&a[0]&&(h.pathData=e[30]),1&a[1]&&(h.pathParams=e[31]),134217728&a[0]&&(h.addNavHrefForAnchor=e[27]),!o&&64&a[0]&&(o=!0,h.dropDownStates=e[6],ie((()=>o=!1))),r.$set(h),e[18]&&e[19]&&!e[29]?v?(v.p(e,a),537657344&a[0]&&fe(v,1)):(v=_c(e),v.c(),fe(v,1),v.m(t,s)):v&&(ue(),pe(v,1,1,(()=>{v=null})),de()),!e[0]||e[1]?b?(b.p(e,a),3&a[0]&&fe(b,1)):(b=wc(e),b.c(),fe(b,1),b.m(l,c)):b&&(ue(),pe(b,1,1,(()=>{b=null})),de()),e[18]||e[7]&&e[30].length>0?_?(_.p(e,a),1074004096&a[0]&&fe(_,1)):(_=Cc(e),_.c(),fe(_,1),_.m(l,u)):_&&(ue(),pe(_,1,1,(()=>{_=null})),de()),e[0]||e[16]?w?(w.p(e,a),65537&a[0]&&fe(w,1)):(w=Zc(e),w.c(),fe(w,1),w.m(l,d)):w&&(ue(),pe(w,1,1,(()=>{w=null})),de()),e[12]?x?(x.p(e,a),4096&a[0]&&fe(x,1)):(x=au(e),x.c(),fe(x,1),x.m(l,null)):x&&(ue(),pe(x,1,1,(()=>{x=null})),de()),(!p||67108868&a[0]&&f!==(f="fd-shellbar "+(e[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(e[2]?"hideNavComponent":"")+" svelte-z9ma68"))&&E(t,"class",f)},i(e){p||(fe(r.$$.fragment,e),fe(v),fe(b),fe(_),fe(w),fe(x),p=!0)},o(e){pe(r.$$.fragment,e),pe(v),pe(b),pe(_),pe(w),pe(x),p=!1},d(e){e&&S(t),g&&g.d(),we(r),v&&v.d(),b&&b.d(),_&&_.d(),w&&w.d(),x&&x.d()}}}function bc(e){let t,n,i,r;return{c(){t=N("button"),n=N("i"),E(n,"class","sap-icon sap-icon--menu2"),E(t,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-z9ma68"),E(t,"tabindex","0"),E(t,"title",e[25]),E(t,"type","button")},m(o,a){C(o,t,a),y(t,n),i||(r=T(t,"click",e[52]),i=!0)},p(e,n){33554432&n[0]&&E(t,"title",e[25])},d(e){e&&S(t),i=!1,r()}}}function _c(e){let t,n,i,r,o,a,s,l;function c(t){e[62](t)}function u(t){e[63](t)}function d(t){e[64](t)}function f(t){e[65](t)}function p(t){e[66](t)}let g={globalSearchConfig:e[18]};return void 0!==e[20]&&(g.isSearchFieldVisible=e[20]),void 0!==e[24]&&(g.searchResult=e[24]),void 0!==e[23]&&(g.displaySearchResult=e[23]),void 0!==e[21]&&(g.inputElem=e[21]),void 0!==e[22]&&(g.customSearchItemRendererSlot=e[22]),n=new rc({props:g}),Q.push((()=>ve(n,"isSearchFieldVisible",c))),Q.push((()=>ve(n,"searchResult",u))),Q.push((()=>ve(n,"displaySearchResult",d))),Q.push((()=>ve(n,"inputElem",f))),Q.push((()=>ve(n,"customSearchItemRendererSlot",p))),n.$on("toggleSearch",e[67]),n.$on("handleSearchNavigation",e[68]),n.$on("closeSearchResult",e[69]),{c(){t=N("div"),be(n.$$.fragment),E(t,"class","lui-global-search")},m(e,i){C(e,t,i),_e(n,t,null),l=!0},p(e,t){const l={};262144&t[0]&&(l.globalSearchConfig=e[18]),!i&&1048576&t[0]&&(i=!0,l.isSearchFieldVisible=e[20],ie((()=>i=!1))),!r&&16777216&t[0]&&(r=!0,l.searchResult=e[24],ie((()=>r=!1))),!o&&8388608&t[0]&&(o=!0,l.displaySearchResult=e[23],ie((()=>o=!1))),!a&&2097152&t[0]&&(a=!0,l.inputElem=e[21],ie((()=>a=!1))),!s&&4194304&t[0]&&(s=!0,l.customSearchItemRendererSlot=e[22],ie((()=>s=!1))),n.$set(l)},i(e){l||(fe(n.$$.fragment,e),l=!0)},o(e){pe(n.$$.fragment,e),l=!1},d(e){e&&S(t),we(n)}}}function wc(e){let t,n,i,r,o=e[18]&&!e[19]&&!e[29]&&yc(e);function a(t){e[78](t)}let s={isMobile:!1,addNavHrefForAnchor:e[27]};return void 0!==e[6]&&(s.dropDownStates=e[6]),n=new rl({props:s}),Q.push((()=>ve(n,"dropDownStates",a))),n.$on("toggleDropdownState",e[79]),{c(){o&&o.c(),t=P(),be(n.$$.fragment)},m(e,i){o&&o.m(e,i),C(e,t,i),_e(n,e,i),r=!0},p(e,r){!e[18]||e[19]||e[29]?o&&(ue(),pe(o,1,1,(()=>{o=null})),de()):o?(o.p(e,r),537657344&r[0]&&fe(o,1)):(o=yc(e),o.c(),fe(o,1),o.m(t.parentNode,t));const a={};134217728&r[0]&&(a.addNavHrefForAnchor=e[27]),!i&&64&r[0]&&(i=!0,a.dropDownStates=e[6],ie((()=>i=!1))),n.$set(a)},i(e){r||(fe(o),fe(n.$$.fragment,e),r=!0)},o(e){pe(o),pe(n.$$.fragment,e),r=!1},d(e){e&&S(t),o&&o.d(e),we(n,e)}}}function yc(e){let t,n,i,r,o,a,s;function l(t){e[70](t)}function c(t){e[71](t)}function u(t){e[72](t)}function d(t){e[73](t)}function f(t){e[74](t)}let p={globalSearchConfig:e[18]};return void 0!==e[20]&&(p.isSearchFieldVisible=e[20]),void 0!==e[24]&&(p.searchResult=e[24]),void 0!==e[23]&&(p.displaySearchResult=e[23]),void 0!==e[21]&&(p.inputElem=e[21]),void 0!==e[22]&&(p.customSearchItemRendererSlot=e[22]),t=new Bl({props:p}),Q.push((()=>ve(t,"isSearchFieldVisible",l))),Q.push((()=>ve(t,"searchResult",c))),Q.push((()=>ve(t,"displaySearchResult",u))),Q.push((()=>ve(t,"inputElem",d))),Q.push((()=>ve(t,"customSearchItemRendererSlot",f))),t.$on("toggleSearch",e[75]),t.$on("handleSearchNavigation",e[76]),t.$on("closeSearchResult",e[77]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),s=!0},p(e,s){const l={};262144&s[0]&&(l.globalSearchConfig=e[18]),!n&&1048576&s[0]&&(n=!0,l.isSearchFieldVisible=e[20],ie((()=>n=!1))),!i&&16777216&s[0]&&(i=!0,l.searchResult=e[24],ie((()=>i=!1))),!r&&8388608&s[0]&&(r=!0,l.displaySearchResult=e[23],ie((()=>r=!1))),!o&&2097152&s[0]&&(o=!0,l.inputElem=e[21],ie((()=>o=!1))),!a&&4194304&s[0]&&(a=!0,l.customSearchItemRendererSlot=e[22],ie((()=>a=!1))),t.$set(l)},i(e){s||(fe(t.$$.fragment,e),s=!0)},o(e){pe(t.$$.fragment,e),s=!1},d(e){we(t,e)}}}function Cc(e){let t,n,i,r=e[7]&&e[30].length>0&&Sc(e),o=(e[9]-e[10]>0||e[12]||e[46]||e[18])&&Ec(e);return{c(){r&&r.c(),t=P(),o&&o.c(),n=I()},m(e,a){r&&r.m(e,a),C(e,t,a),o&&o.m(e,a),C(e,n,a),i=!0},p(e,i){e[7]&&e[30].length>0?r?(r.p(e,i),1073741952&i[0]&&fe(r,1)):(r=Sc(e),r.c(),fe(r,1),r.m(t.parentNode,t)):r&&(ue(),pe(r,1,1,(()=>{r=null})),de()),e[9]-e[10]>0||e[12]||e[46]||e[18]?o?(o.p(e,i),267776&i[0]|32768&i[1]&&fe(o,1)):(o=Ec(e),o.c(),fe(o,1),o.m(n.parentNode,n)):o&&(ue(),pe(o,1,1,(()=>{o=null})),de())},i(e){i||(fe(r),fe(o),i=!0)},o(e){pe(r),pe(o),i=!1},d(e){e&&(S(t),S(n)),r&&r.d(e),o&&o.d(e)}}}function Sc(e){let t,n,i=me(e[7]),r=[];for(let a=0;a<i.length;a+=1)r[a]=Ac(hc(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(134218208&n[0]|1835169&n[1]){let a;for(i=me(e[7]),a=0;a<i.length;a+=1){const o=hc(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=Ac(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(fc);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function xc(e){let t,n,i,r;const o=[Nc,$c],a=[];function s(e,t){return e[113].isCat?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),i=I()},m(e,n){a[t].m(e,n),C(e,i,n),r=!0},p(e,r){let l=t;t=s(e),t===l?a[t].p(e,r):(ue(),pe(a[l],1,1,(()=>{a[l]=null})),de(),n=a[t],n?n.p(e,r):(n=a[t]=o[t](e),n.c()),fe(n,1),n.m(i.parentNode,i))},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),a[t].d(e)}}}function $c(e){let t,n,i,r,o;const a=[Pc,kc],s=[];function l(e,t){return e[27]?0:1}return n=l(e),i=s[n]=a[n](e),{c(){t=N("div"),i.c(),r=P(),E(t,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(e,i){C(e,t,i),s[n].m(t,null),y(t,r),o=!0},p(e,o){let c=n;n=l(e),n===c?s[n].p(e,o):(ue(),pe(s[c],1,1,(()=>{s[c]=null})),de(),i=s[n],i?i.p(e,o):(i=s[n]=a[n](e),i.c()),fe(i,1),i.m(t,r))},i(e){o||(fe(i),o=!0)},o(e){pe(i),o=!1},d(e){e&&S(t),s[n].d()}}}function Nc(e){let t,n,i=e[113].visibleChildren.filter(cu).length>0,r=i&&Lc(e);return{c(){r&&r.c(),t=I()},m(e,i){r&&r.m(e,i),C(e,t,i),n=!0},p(e,n){128&n[0]&&(i=e[113].visibleChildren.filter(cu).length>0),i?r?(r.p(e,n),128&n[0]&&fe(r,1)):(r=Lc(e),r.c(),fe(r,1),r.m(t.parentNode,t)):r&&(ue(),pe(r,1,1,(()=>{r=null})),de())},i(e){n||(fe(r),n=!0)},o(e){pe(r),n=!1},d(e){e&&S(t),r&&r.d(e)}}}function kc(e){let t,n,i,r,o,a,s,l,c,u,d;function f(t){e[84](t,e[113],e[116],e[115])}let p={};function g(){return e[85](e[113])}return void 0!==e[113]&&(p.node=e[113]),n=new dc({props:p}),Q.push((()=>ve(n,"node",f))),o=new ci({props:{node:e[113]}}),{c(){t=N("button"),be(n.$$.fragment),r=P(),be(o.$$.fragment),E(t,"title",a=e[51](e[113],e[49](e[113]))),E(t,"class",s="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"),E(t,"aria-expanded","false"),E(t,"aria-haspopup","true"),E(t,"data-testid",l=Vt.getTestId(e[113])),E(t,"type","button")},m(e,i){C(e,t,i),_e(n,t,null),y(t,r),_e(o,t,null),c=!0,u||(d=T(t,"click",g),u=!0)},p(r,u){e=r;const d={};!i&&128&u[0]&&(i=!0,d.node=e[113],ie((()=>i=!1))),n.$set(d);const f={};128&u[0]&&(f.node=e[113]),o.$set(f),(!c||128&u[0]&&a!==(a=e[51](e[113],e[49](e[113]))))&&E(t,"title",a),(!c||384&u[0]&&s!==(s="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"))&&E(t,"class",s),(!c||128&u[0]&&l!==(l=Vt.getTestId(e[113])))&&E(t,"data-testid",l)},i(e){c||(fe(n.$$.fragment,e),fe(o.$$.fragment,e),c=!0)},o(e){pe(n.$$.fragment,e),pe(o.$$.fragment,e),c=!1},d(e){e&&S(t),we(n),we(o),u=!1,d()}}}function Pc(e){let t,n,i,r;const o=[Tc,Ic],a=[];function s(e,t){return e[113].separator?1:0}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),i=I()},m(e,n){a[t].m(e,n),C(e,i,n),r=!0},p(e,r){let l=t;t=s(e),t===l?a[t].p(e,r):(ue(),pe(a[l],1,1,(()=>{a[l]=null})),de(),n=a[t],n?n.p(e,r):(n=a[t]=o[t](e),n.c()),fe(n,1),n.m(i.parentNode,i))},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),a[t].d(e)}}}function Ic(e){let t;return{c(){t=N("span"),E(t,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-z9ma68"),E(t,"tabindex","-1")},m(e,n){C(e,t,n)},p:n,i:n,o:n,d(e){e&&S(t)}}}function Tc(e){let t,n,i,r,o,a,s,l,c,u,d,f;function p(t){e[82](t,e[113],e[116],e[115])}let g={};function h(...t){return e[83](e[113],...t)}return void 0!==e[113]&&(g.node=e[113]),n=new dc({props:g}),Q.push((()=>ve(n,"node",p))),o=new ci({props:{node:e[113]}}),{c(){t=N("a"),be(n.$$.fragment),r=P(),be(o.$$.fragment),E(t,"href",a=e[50](e[113])),E(t,"class",s="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"),E(t,"title",l=e[51](e[113],e[49](e[113]))),E(t,"aria-expanded","false"),E(t,"aria-haspopup","true"),E(t,"data-testid",c=Vt.getTestId(e[113]))},m(e,i){C(e,t,i),_e(n,t,null),y(t,r),_e(o,t,null),u=!0,d||(f=T(t,"click",h),d=!0)},p(r,d){e=r;const f={};!i&&128&d[0]&&(i=!0,f.node=e[113],ie((()=>i=!1))),n.$set(f);const p={};128&d[0]&&(p.node=e[113]),o.$set(p),(!u||128&d[0]&&a!==(a=e[50](e[113])))&&E(t,"href",a),(!u||384&d[0]&&s!==(s="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"))&&E(t,"class",s),(!u||128&d[0]&&l!==(l=e[51](e[113],e[49](e[113]))))&&E(t,"title",l),(!u||128&d[0]&&c!==(c=Vt.getTestId(e[113])))&&E(t,"data-testid",c)},i(e){u||(fe(n.$$.fragment,e),fe(o.$$.fragment,e),u=!0)},o(e){pe(n.$$.fragment,e),pe(o.$$.fragment,e),u=!1},d(e){e&&S(t),we(n),we(o),d=!1,f()}}}function Lc(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x;function k(t){e[80](t,e[113],e[116],e[115])}let I={};function L(){return e[81](e[115])}return void 0!==e[113]&&(I.node=e[113]),a=new dc({props:I}),Q.push((()=>ve(a,"node",k))),c=new ci({props:{node:e[113]}}),m=new ms({props:{node:e[113],isMobile:!1,pathParams:e[31],addNavHrefForAnchor:e[27]}}),{c(){t=N("div"),n=N("div"),i=N("div"),r=N("button"),be(a.$$.fragment),l=P(),be(c.$$.fragment),g=P(),h=N("div"),be(m.$$.fragment),b=P(),E(r,"title",u=e[51](e[113],e[49](e[113]))),E(r,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"),E(r,"aria-controls","dropDownPopover-"+e[115]),E(r,"aria-expanded",f=e[6][`dropDownPopover-${e[115]}`]||!1),E(r,"aria-haspopup","true"),E(r,"data-testid",p=Vt.getTestId(e[113])),E(i,"class","fd-popover__control"),E(h,"class","fd-popover__body fd-popover__body--right"),E(h,"aria-hidden",v=!e[6][`dropDownPopover-${e[115]}`]),E(h,"id","dropDownPopover-"+e[115]),E(n,"class","fd-popover fd-popover--right"),E(t,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),_e(a,r,null),y(r,l),_e(c,r,null),y(n,g),y(n,h),_e(m,h,null),y(t,b),_=!0,w||(x=[T(r,"click",L),T(i,"click",A(uu))],w=!0)},p(t,n){e=t;const i={};!s&&128&n[0]&&(s=!0,i.node=e[113],ie((()=>s=!1))),a.$set(i);const o={};128&n[0]&&(o.node=e[113]),c.$set(o),(!_||128&n[0]&&u!==(u=e[51](e[113],e[49](e[113]))))&&E(r,"title",u),(!_||384&n[0]&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(e[113]===e[8]?"is-selected":"")+" svelte-z9ma68"))&&E(r,"class",d),(!_||64&n[0]&&f!==(f=e[6][`dropDownPopover-${e[115]}`]||!1))&&E(r,"aria-expanded",f),(!_||128&n[0]&&p!==(p=Vt.getTestId(e[113])))&&E(r,"data-testid",p);const l={};128&n[0]&&(l.node=e[113]),1&n[1]&&(l.pathParams=e[31]),134217728&n[0]&&(l.addNavHrefForAnchor=e[27]),m.$set(l),(!_||64&n[0]&&v!==(v=!e[6][`dropDownPopover-${e[115]}`]))&&E(h,"aria-hidden",v)},i(e){_||(fe(a.$$.fragment,e),fe(c.$$.fragment,e),fe(m.$$.fragment,e),_=!0)},o(e){pe(a.$$.fragment,e),pe(c.$$.fragment,e),pe(m.$$.fragment,e),_=!1},d(e){e&&S(t),we(a),we(c),we(m),w=!1,o(x)}}}function Ac(e){let t,n,i=!(e[113].hideFromNav||e[5]&&e[113].globalNav)&&xc(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[113].hideFromNav||e[5]&&e[113].globalNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),160&n[0]&&fe(i,1)):(i=xc(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Ec(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,x,k,I,L,V;u=new ci({props:{node:e[11],special:"true"}});let R=e[18]&&!e[19]&&!e[29]&&Vc(e),D=e[46]&&(!e[0]||e[1])&&Rc(e),O=e[7]&&Dc(e),F=e[12]&&Wc(e),M=e[12]&&Jc(e),U=e[14]&&Yc(e),B=(!e[0]||e[1])&&Qc(e);return{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("div"),s=N("button"),l=N("i"),c=P(),be(u.$$.fragment),f=P(),p=N("div"),g=N("nav"),h=N("ul"),R&&R.c(),m=P(),D&&D.c(),v=P(),O&&O.c(),b=P(),F&&F.c(),w=P(),M&&M.c(),x=P(),U&&U.c(),k=P(),B&&B.c(),E(l,"class","sap-icon sap-icon--overflow"),E(s,"class","fd-shellbar__button fd-button fd-button--transparent svelte-z9ma68"),E(s,"aria-controls","overflowPopover"),E(s,"aria-expanded",d=e[6].overflowPopover||!1),E(s,"aria-haspopup","true"),E(s,"data-testid","mobile-menu"),E(a,"class","fd-shellbar-collapse--control"),E(a,"aria-expanded","false"),E(a,"aria-haspopup","true"),E(a,"role","button"),E(r,"class","fd-popover__control"),E(h,"class","fd-menu__list fd-menu__list--no-shadow"),E(g,"class","fd-menu"),E(p,"class","fd-popover__body fd-popover__body--right"),E(p,"aria-hidden",_=!e[6].overflowPopover),E(p,"id","overflowPopover"),E(i,"class","fd-popover fd-popover--right svelte-z9ma68"),E(n,"class","fd-shellbar-collapse"),E(t,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(o,d){C(o,t,d),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),y(s,l),y(s,c),_e(u,s,null),y(i,f),y(i,p),y(p,g),y(g,h),R&&R.m(h,null),y(h,m),D&&D.m(h,null),y(h,v),O&&O.m(h,null),y(h,b),F&&F.m(h,null),y(i,w),M&&M.m(i,null),y(i,x),U&&U.m(i,null),y(i,k),B&&B.m(i,null),I=!0,L||(V=[T(s,"click",e[86]),T(r,"click",A(du))],L=!0)},p(e,t){const n={};2048&t[0]&&(n.node=e[11]),u.$set(n),(!I||64&t[0]&&d!==(d=e[6].overflowPopover||!1))&&E(s,"aria-expanded",d),!e[18]||e[19]||e[29]?R&&(R.d(1),R=null):R?R.p(e,t):(R=Vc(e),R.c(),R.m(h,m)),!e[46]||e[0]&&!e[1]?D&&(D.d(1),D=null):D?D.p(e,t):(D=Rc(e),D.c(),D.m(h,v)),e[7]?O?(O.p(e,t),128&t[0]&&fe(O,1)):(O=Dc(e),O.c(),fe(O,1),O.m(h,b)):O&&(ue(),pe(O,1,1,(()=>{O=null})),de()),e[12]?F?F.p(e,t):(F=Wc(e),F.c(),F.m(h,null)):F&&(F.d(1),F=null),(!I||64&t[0]&&_!==(_=!e[6].overflowPopover))&&E(p,"aria-hidden",_),e[12]?M?(M.p(e,t),4096&t[0]&&fe(M,1)):(M=Jc(e),M.c(),fe(M,1),M.m(i,x)):M&&(ue(),pe(M,1,1,(()=>{M=null})),de()),e[14]?U?(U.p(e,t),16384&t[0]&&fe(U,1)):(U=Yc(e),U.c(),fe(U,1),U.m(i,k)):U&&(ue(),pe(U,1,1,(()=>{U=null})),de()),!e[0]||e[1]?B?(B.p(e,t),3&t[0]&&fe(B,1)):(B=Qc(e),B.c(),fe(B,1),B.m(i,null)):B&&(ue(),pe(B,1,1,(()=>{B=null})),de())},i(e){I||(fe(u.$$.fragment,e),fe(O),fe(M),fe(U),fe(B),I=!0)},o(e){pe(u.$$.fragment,e),pe(O),pe(M),pe(U),pe(B),I=!1},d(e){e&&S(t),we(u),R&&R.d(),D&&D.d(),O&&O.d(),F&&F.d(),M&&M.d(),U&&U.d(),B&&B.d(),L=!1,o(V)}}}function Vc(e){let t,i,r,o;return{c(){t=N("li"),i=N("a"),i.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-z9ma68"></i> <span class="fd-menu__title">Search</span>',E(i,"class","fd-menu__link"),E(i,"data-testid","luigi-search-btn-mobile"),E(t,"class","fd-menu__item")},m(n,a){C(n,t,a),y(t,i),r||(o=T(i,"click",A(e[87])),r=!0)},p:n,d(e){e&&S(t),r=!1,o()}}}function Rc(e){let t,n,i,r,o,a,s,l,c,u=(e[44]?e[44]:e[45])+"";return{c(){t=N("li"),n=N("a"),i=N("i"),o=P(),a=N("span"),s=k(u),E(i,"class",r="sap-icon fd-top-nav__icon "+(e[46].icon&&e[48](e[46])?e[47](e[46].icon):"sap-icon--switch-views")+" svelte-z9ma68"),E(a,"class","fd-menu__title"),E(n,"class","fd-menu__link"),E(t,"class","fd-menu__item")},m(r,u){C(r,t,u),y(t,n),y(n,i),y(n,o),y(n,a),y(a,s),l||(c=T(n,"click",A(e[33])),l=!0)},p(e,t){32768&t[1]&&r!==(r="sap-icon fd-top-nav__icon "+(e[46].icon&&e[48](e[46])?e[47](e[46].icon):"sap-icon--switch-views")+" svelte-z9ma68")&&E(i,"class",r),24576&t[1]&&u!==(u=(e[44]?e[44]:e[45])+"")&&V(s,u)},d(e){e&&S(t),l=!1,c()}}}function Dc(e){let t,n,i=me(e[7]),r=[];for(let a=0;a<i.length;a+=1)r[a]=zc(gc(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(416&n[0]|2031656&n[1]){let a;for(i=me(e[7]),a=0;a<i.length;a+=1){const o=gc(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=zc(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(fc);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Oc(e){let t,n,i,r,o;const a=[Mc,Fc],s=[];function l(e,n){return 128&n[0]&&(t=null),!e[113].isCat||e[113].separator?0:(null==t&&(t=!!(e[113].visibleChildren.filter(lu).length>0)),t?1:-1)}return~(n=l(e,[-1,-1,-1,-1]))&&(i=s[n]=a[n](e)),{c(){i&&i.c(),r=I()},m(e,t){~n&&s[n].m(e,t),C(e,r,t),o=!0},p(e,t){let o=n;n=l(e,t),n===o?~n&&s[n].p(e,t):(i&&(ue(),pe(s[o],1,1,(()=>{s[o]=null})),de()),~n?(i=s[n],i?i.p(e,t):(i=s[n]=a[n](e),i.c()),fe(i,1),i.m(r.parentNode,r)):i=null)},i(e){o||(fe(i),o=!0)},o(e){pe(i),o=!1},d(e){e&&S(r),~n&&s[n].d(e)}}}function Fc(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h,m=e[49](e[113])+"";function v(e,t){return 128&t[0]&&(r=null),null==r&&(r=!!e[48](e[113])),r?Bc:Uc}let b=v(e,[-1,-1,-1,-1]),_=b(e);function w(){return e[89](e[113])}return a=new ci({props:{node:e[113]}}),{c(){t=N("li"),n=N("a"),i=N("span"),_.c(),o=P(),be(a.$$.fragment),s=P(),l=N("span"),c=k(m),f=P(),E(i,"class","fd-top-nav__icon svelte-z9ma68"),E(l,"class","fd-list__title"),E(n,"href",u=e[50](e[113])),E(n,"title",d=e[51](e[113],e[49](e[113]))),E(n,"class","fd-menu__link"),E(n,"data-e2e","mobile-topnav-dropdown-category"),E(t,"class","fd-menu__item")},m(e,r){C(e,t,r),y(t,n),y(n,i),_.m(i,null),y(i,o),_e(a,i,null),y(n,s),y(n,l),y(l,c),y(t,f),p=!0,g||(h=T(n,"click",L(w)),g=!0)},p(t,r){b===(b=v(e=t,r))&&_?_.p(e,r):(_.d(1),_=b(e),_&&(_.c(),_.m(i,o)));const s={};128&r[0]&&(s.node=e[113]),a.$set(s),(!p||128&r[0])&&m!==(m=e[49](e[113])+"")&&V(c,m),(!p||128&r[0]&&u!==(u=e[50](e[113])))&&E(n,"href",u),(!p||128&r[0]&&d!==(d=e[51](e[113],e[49](e[113]))))&&E(n,"title",d)},i(e){p||(fe(a.$$.fragment,e),p=!0)},o(e){pe(a.$$.fragment,e),p=!1},d(e){e&&S(t),_.d(),we(a),g=!1,h()}}}function Mc(e){let t,n,i,r,o;const a=[jc,qc],s=[];function l(e,t){return e[113].separator?1:0}return n=l(e),i=s[n]=a[n](e),{c(){t=N("li"),i.c(),r=P(),E(t,"class","fd-menu__item")},m(e,i){C(e,t,i),s[n].m(t,null),y(t,r),o=!0},p(e,o){let c=n;n=l(e),n===c?s[n].p(e,o):(ue(),pe(s[c],1,1,(()=>{s[c]=null})),de(),i=s[n],i?i.p(e,o):(i=s[n]=a[n](e),i.c()),fe(i,1),i.m(t,r))},i(e){o||(fe(i),o=!0)},o(e){pe(i),o=!1},d(e){e&&S(t),s[n].d()}}}function Uc(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[113].icon)||E(t,"src",n),E(t,"alt",i=e[113].altText?e[113].altText:""),E(t,"class","svelte-z9ma68")},m(e,n){C(e,t,n)},p(e,r){128&r[0]&&!c(t.src,n=e[113].icon)&&E(t,"src",n),128&r[0]&&i!==(i=e[113].altText?e[113].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function Bc(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[113].icon&&e[48](e[113])?e[47](e[113].icon):"")+" svelte-z9ma68")},m(e,n){C(e,t,n)},p(e,i){128&i[0]&&n!==(n="sap-icon "+(e[113].icon&&e[48](e[113])?e[47](e[113].icon):"")+" svelte-z9ma68")&&E(t,"class",n)},d(e){e&&S(t)}}}function qc(e){let t;return{c(){t=N("span"),E(t,"class","fd-menu__link fd-separator svelte-z9ma68"),E(t,"tabindex","-1")},m(e,n){C(e,t,n)},p:n,i:n,o:n,d(e){e&&S(t)}}}function jc(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h=!e[48](e[113]),m=e[49](e[113])+"",v=h&&Hc(e);function b(){return e[88](e[113])}return r=new ci({props:{node:e[113]}}),{c(){t=N("a"),n=N("span"),v&&v.c(),i=P(),be(r.$$.fragment),a=P(),s=N("span"),l=k(m),E(n,"class",o="fd-top-nav__icon sap-icon "+(e[113].icon&&e[48](e[113])?e[47](e[113].icon):"")+" svelte-z9ma68"),E(s,"class","fd-menu__title"),E(t,"href",c=e[50](e[113])),E(t,"class",u="fd-menu__link "+(e[113]===e[8]?"is-selected":"")),E(t,"data-testid",d=Vt.getTestId(e[113])+"-mobile")},m(e,o){C(e,t,o),y(t,n),v&&v.m(n,null),y(n,i),_e(r,n,null),y(t,a),y(t,s),y(s,l),f=!0,p||(g=T(t,"click",L(b)),p=!0)},p(a,s){e=a,128&s[0]&&(h=!e[48](e[113])),h?v?v.p(e,s):(v=Hc(e),v.c(),v.m(n,i)):v&&(v.d(1),v=null);const p={};128&s[0]&&(p.node=e[113]),r.$set(p),(!f||128&s[0]&&o!==(o="fd-top-nav__icon sap-icon "+(e[113].icon&&e[48](e[113])?e[47](e[113].icon):"")+" svelte-z9ma68"))&&E(n,"class",o),(!f||128&s[0])&&m!==(m=e[49](e[113])+"")&&V(l,m),(!f||128&s[0]&&c!==(c=e[50](e[113])))&&E(t,"href",c),(!f||384&s[0]&&u!==(u="fd-menu__link "+(e[113]===e[8]?"is-selected":"")))&&E(t,"class",u),(!f||128&s[0]&&d!==(d=Vt.getTestId(e[113])+"-mobile"))&&E(t,"data-testid",d)},i(e){f||(fe(r.$$.fragment,e),f=!0)},o(e){pe(r.$$.fragment,e),f=!1},d(e){e&&S(t),v&&v.d(),we(r),p=!1,g()}}}function Hc(e){let t,n,i;return{c(){t=N("img"),c(t.src,n=e[113].icon)||E(t,"src",n),E(t,"alt",i=e[113].altText?e[113].altText:""),E(t,"class","svelte-z9ma68")},m(e,n){C(e,t,n)},p(e,r){128&r[0]&&!c(t.src,n=e[113].icon)&&E(t,"src",n),128&r[0]&&i!==(i=e[113].altText?e[113].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function zc(e){let t,n,i=!(e[113].hideFromNav||e[5]&&e[113].globalNav)&&Oc(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[113].hideFromNav||e[5]&&e[113].globalNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),160&n[0]&&fe(i,1)):(i=Oc(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Wc(e){let t,n,i,r,o,a,s,l,c=e[13].label+"";function u(e,t){return 8192&t[0]&&(i=null),null==i&&(i=!(!e[48](e[13])&&e[13].icon)),i?Kc:Gc}let d=u(e,[-1,-1,-1,-1]),f=d(e);return{c(){t=N("li"),n=N("a"),f.c(),r=P(),o=N("span"),a=k(c),E(o,"class","fd-menu__title"),E(n,"class","fd-menu__link"),E(n,"data-testid","mobile-product-switcher"),E(t,"class","fd-menu__item")},m(i,c){C(i,t,c),y(t,n),f.m(n,null),y(n,r),y(n,o),y(o,a),s||(l=T(n,"click",A(e[32])),s=!0)},p(e,t){d===(d=u(e,t))&&f?f.p(e,t):(f.d(1),f=d(e),f&&(f.c(),f.m(n,r))),8192&t[0]&&c!==(c=e[13].label+"")&&V(a,c)},d(e){e&&S(t),f.d(),s=!1,l()}}}function Gc(e){let t,n,i,r;return{c(){t=N("span"),n=N("img"),c(n.src,i=e[13].icon)||E(n,"src",i),E(n,"alt",r=e[13].altText?e[13].altText:""),E(n,"class","svelte-z9ma68"),E(t,"class","fd-top-nav__icon sap-icon svelte-z9ma68")},m(e,i){C(e,t,i),y(t,n)},p(e,t){8192&t[0]&&!c(n.src,i=e[13].icon)&&E(n,"src",i),8192&t[0]&&r!==(r=e[13].altText?e[13].altText:"")&&E(n,"alt",r)},d(e){e&&S(t)}}}function Kc(e){let t,n;return{c(){t=N("i"),E(t,"class",n="fd-top-nav__icon sap-icon "+e[47](e[13].icon||"grid")+" svelte-z9ma68")},m(e,n){C(e,t,n)},p(e,i){8192&i[0]&&n!==(n="fd-top-nav__icon sap-icon "+e[47](e[13].icon||"grid")+" svelte-z9ma68")&&E(t,"class",n)},d(e){e&&S(t)}}}function Jc(e){let t,n,i;function r(t){e[90](t)}let o={isMobile:!0};return void 0!==e[6]&&(o.dropDownStates=e[6]),t=new Nl({props:o}),Q.push((()=>ve(t,"dropDownStates",r))),t.$on("toggleDropdownState",e[91]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),i=!0},p(e,i){const r={};!n&&64&i[0]&&(n=!0,r.dropDownStates=e[6],ie((()=>n=!1))),t.$set(r)},i(e){i||(fe(t.$$.fragment,e),i=!0)},o(e){pe(t.$$.fragment,e),i=!1},d(e){we(t,e)}}}function Yc(e){let t,n;return t=new ms({props:{node:e[15],isMobile:!0,pathParams:e[31]}}),t.$on("close",e[35]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};32768&n[0]&&(i.node=e[15]),1&n[1]&&(i.pathParams=e[31]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Qc(e){let t,n,i,r,o;function a(t){e[92](t)}function s(t){e[93](t)}function l(t){e[94](t)}let c={isMobile:!0,contextSwitcherToggle:e[43]};return void 0!==e[6]&&(c.dropDownStates=e[6]),void 0!==e[44]&&(c.selectedLabel=e[44]),void 0!==e[45]&&(c.defaultLabel=e[45]),t=new rl({props:c}),Q.push((()=>ve(t,"dropDownStates",a))),Q.push((()=>ve(t,"selectedLabel",s))),Q.push((()=>ve(t,"defaultLabel",l))),t.$on("toggleDropdownState",e[95]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),o=!0},p(e,o){const a={};4096&o[1]&&(a.contextSwitcherToggle=e[43]),!n&&64&o[0]&&(n=!0,a.dropDownStates=e[6],ie((()=>n=!1))),!i&&8192&o[1]&&(i=!0,a.selectedLabel=e[44],ie((()=>i=!1))),!r&&16384&o[1]&&(r=!0,a.defaultLabel=e[45],ie((()=>r=!1))),t.$set(a)},i(e){o||(fe(t.$$.fragment,e),o=!0)},o(e){pe(t.$$.fragment,e),o=!1},d(e){we(t,e)}}}function Zc(e){let t,n,i,r,o,a;const s=[tu,eu,Xc],l=[];function c(e,t){return 16&t[0]&&(n=null),16&t[0]&&(i=null),null==n&&(n=!("Fiori3"!==e[4]||!Et.requestExperimentalFeature("profileMenuFiori3",!0))),n?0:(null==i&&(i=!("Vega"!==e[4]||!Et.requestExperimentalFeature("profileMenuVega",!0))),i?1:2)}return r=c(e,[-1,-1,-1,-1]),o=l[r]=s[r](e),{c(){t=N("div"),o.c(),E(t,"class","fd-shellbar__action fd-shellbar__action--show-always"),E(t,"data-testid","luigi-topnav-profile")},m(e,n){C(e,t,n),l[r].m(t,null),a=!0},p(e,n){let i=r;r=c(e,n),r===i?l[r].p(e,n):(ue(),pe(l[i],1,1,(()=>{l[i]=null})),de(),o=l[r],o?o.p(e,n):(o=l[r]=s[r](e),o.c()),fe(o,1),o.m(t,null))},i(e){a||(fe(o),a=!0)},o(e){pe(o),a=!1},d(e){e&&S(t),l[r].d()}}}function Xc(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m;function v(e,t){return e[17].picture?iu:nu}let b=v(e),_=b(e);return f=new Da({props:{addNavHrefForAnchor:e[27]}}),f.$on("toggleDropdownState",e[102]),f.$on("userInfoUpdated",e[42]),{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("button"),_.c(),u=P(),d=N("div"),be(f.$$.fragment),E(a,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),E(a,"aria-expanded",s=e[6].profilePopover||!1),E(a,"aria-haspopup","true"),E(a,"aria-controls","profilePopover"),E(a,"title",l=e[17].name?e[17].name:void 0),E(a,"tabindex","0"),E(a,"data-testid","luigi-topnav-profile-btn"),E(r,"class",c=e[17].picture?"fd-shellbar__button--user-menu":""),E(i,"class","fd-popover__control"),E(d,"class","fd-popover__body fd-popover__body--right"),E(d,"aria-hidden",p=!e[6].profilePopover),E(d,"id","profilePopover"),E(n,"class","fd-popover"),E(t,"class","fd-user-menu svelte-z9ma68")},m(o,s){C(o,t,s),y(t,n),y(n,i),y(i,r),y(r,a),_.m(a,null),y(n,u),y(n,d),_e(f,d,null),g=!0,h||(m=[T(a,"click",e[101]),T(i,"click",A(gu)),T(d,"click",A(e[60]))],h=!0)},p(e,t){b===(b=v(e))&&_?_.p(e,t):(_.d(1),_=b(e),_&&(_.c(),_.m(a,null))),(!g||64&t[0]&&s!==(s=e[6].profilePopover||!1))&&E(a,"aria-expanded",s),(!g||131072&t[0]&&l!==(l=e[17].name?e[17].name:void 0))&&E(a,"title",l),(!g||131072&t[0]&&c!==(c=e[17].picture?"fd-shellbar__button--user-menu":""))&&E(r,"class",c);const n={};134217728&t[0]&&(n.addNavHrefForAnchor=e[27]),f.$set(n),(!g||64&t[0]&&p!==(p=!e[6].profilePopover))&&E(d,"aria-hidden",p)},i(e){g||(fe(f.$$.fragment,e),g=!0)},o(e){pe(f.$$.fragment,e),g=!1},d(e){e&&S(t),_.d(),we(f),h=!1,o(m)}}}function eu(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m;function v(e,t){return e[17].picture?ou:ru}let b=v(e),_=b(e);return f=new Wa({props:{addNavHrefForAnchor:e[27]}}),f.$on("toggleDropdownState",e[100]),f.$on("userInfoUpdated",e[42]),{c(){t=N("div"),n=N("div"),i=N("div"),r=N("div"),a=N("button"),_.c(),u=P(),d=N("div"),be(f.$$.fragment),E(a,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),E(a,"aria-expanded",s=e[6].profilePopover||!1),E(a,"aria-haspopup","true"),E(a,"aria-controls","profilePopover"),E(a,"title",l=e[17].name?e[17].name:void 0),E(a,"tabindex","0"),E(a,"data-testid","luigi-topnav-profile-btn"),E(r,"class",c=e[17].picture?"fd-shellbar__button--user-menu":""),E(i,"class","fd-popover__control"),E(d,"class","fd-popover__body fd-popover__body--right"),E(d,"aria-hidden",p=!e[6].profilePopover),E(d,"id","profilePopover"),E(n,"class","fd-popover"),E(t,"class","fd-user-menu svelte-z9ma68")},m(o,s){C(o,t,s),y(t,n),y(n,i),y(i,r),y(r,a),_.m(a,null),y(n,u),y(n,d),_e(f,d,null),g=!0,h||(m=[T(a,"click",e[99]),T(i,"click",A(pu)),T(d,"click",A(e[59]))],h=!0)},p(e,t){b===(b=v(e))&&_?_.p(e,t):(_.d(1),_=b(e),_&&(_.c(),_.m(a,null))),(!g||64&t[0]&&s!==(s=e[6].profilePopover||!1))&&E(a,"aria-expanded",s),(!g||131072&t[0]&&l!==(l=e[17].name?e[17].name:void 0))&&E(a,"title",l),(!g||131072&t[0]&&c!==(c=e[17].picture?"fd-shellbar__button--user-menu":""))&&E(r,"class",c);const n={};134217728&t[0]&&(n.addNavHrefForAnchor=e[27]),f.$set(n),(!g||64&t[0]&&p!==(p=!e[6].profilePopover))&&E(d,"aria-hidden",p)},i(e){g||(fe(f.$$.fragment,e),g=!0)},o(e){pe(f.$$.fragment,e),g=!1},d(e){e&&S(t),_.d(),we(f),h=!1,o(m)}}}function tu(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b=(e[17].picture?"":e[17].initials||"")+"";return p=new ma({props:{addNavHrefForAnchor:e[27]}}),p.$on("toggleDropdownState",e[98]),p.$on("userInfoUpdated",e[42]),{c(){t=N("div"),n=N("div"),i=N("div"),r=N("span"),a=k(b),d=P(),f=N("div"),be(p.$$.fragment),E(r,"class",s="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(e[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"),E(r,"style",l=e[17].picture?`background-image:url('${e[17].picture}')`:""),E(i,"class","fd-button fd-button--transparent fd-shellbar__button fd-user-menu__control svelte-z9ma68"),E(i,"aria-controls","profilePopover"),E(i,"aria-expanded","true"),E(i,"aria-haspopup","true"),E(i,"title",c=e[17].name||void 0),E(i,"tabindex","0"),E(i,"data-testid",u=e[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"),E(n,"class","fd-popover__control"),E(f,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right"),E(f,"aria-hidden",g=!e[6].profilePopover),E(f,"id","profilePopover"),E(t,"class","fd-popover fd-popover--right fd-user-menu svelte-z9ma68")},m(o,s){C(o,t,s),y(t,n),y(n,i),y(i,r),y(r,a),y(t,d),y(t,f),_e(p,f,null),h=!0,m||(v=[T(i,"click",e[96]),T(i,"keydown",e[97]),T(n,"click",A(fu)),T(f,"click",A(e[58]))],m=!0)},p(e,t){(!h||131072&t[0])&&b!==(b=(e[17].picture?"":e[17].initials||"")+"")&&V(a,b),(!h||131072&t[0]&&s!==(s="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(e[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"))&&E(r,"class",s),(!h||131072&t[0]&&l!==(l=e[17].picture?`background-image:url('${e[17].picture}')`:""))&&E(r,"style",l),(!h||131072&t[0]&&c!==(c=e[17].name||void 0))&&E(i,"title",c),(!h||131072&t[0]&&u!==(u=e[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"))&&E(i,"data-testid",u);const n={};134217728&t[0]&&(n.addNavHrefForAnchor=e[27]),p.$set(n),(!h||64&t[0]&&g!==(g=!e[6].profilePopover))&&E(f,"aria-hidden",g)},i(e){h||(fe(p.$$.fragment,e),h=!0)},o(e){pe(p.$$.fragment,e),h=!1},d(e){e&&S(t),we(p),m=!1,o(v)}}}function nu(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(e,n){C(e,t,n)},p(e,i){131072&i[0]&&n!==(n="sap-icon "+(e[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&E(t,"class",n)},d(e){e&&S(t)}}}function iu(e){let t;return{c(){t=N("span"),E(t,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),D(t,"background-image","url('"+e[17].picture+"')")},m(e,n){C(e,t,n)},p(e,n){131072&n[0]&&D(t,"background-image","url('"+e[17].picture+"')")},d(e){e&&S(t)}}}function ru(e){let t,n;return{c(){t=N("i"),E(t,"class",n="sap-icon "+(e[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(e,n){C(e,t,n)},p(e,i){131072&i[0]&&n!==(n="sap-icon "+(e[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&E(t,"class",n)},d(e){e&&S(t)}}}function ou(e){let t;return{c(){t=N("span"),E(t,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),D(t,"background-image","url('"+e[17].picture+"')")},m(e,n){C(e,t,n)},p(e,n){131072&n[0]&&D(t,"background-image","url('"+e[17].picture+"')")},d(e){e&&S(t)}}}function au(e){let t,n,i;function r(t){e[103](t)}let o={isMobile:!1,addNavHrefForAnchor:e[27]};return void 0!==e[6]&&(o.dropDownStates=e[6]),t=new Nl({props:o}),Q.push((()=>ve(t,"dropDownStates",r))),t.$on("toggleDropdownState",e[104]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),i=!0},p(e,i){const r={};134217728&i[0]&&(r.addNavHrefForAnchor=e[27]),!n&&64&i[0]&&(n=!0,r.dropDownStates=e[6],ie((()=>n=!1))),t.$set(r)},i(e){i||(fe(t.$$.fragment,e),i=!0)},o(e){pe(t.$$.fragment,e),i=!1},d(e){we(t,e)}}}function su(e){let t,n,i,r,a,s;const l=[vc,mc],c=[];function u(e,t){return e[28]?0:1}return t=u(e),n=c[t]=l[t](e),{c(){n.c(),i=I()},m(n,o){c[t].m(n,o),C(n,i,o),r=!0,a||(s=[T(pc,"click",e[41]),T(pc,"blur",e[41])],a=!0)},p(e,r){let o=t;t=u(e),t===o?c[t].p(e,r):(ue(),pe(c[o],1,1,(()=>{c[o]=null})),de(),n=c[t],n?n.p(e,r):(n=c[t]=l[t](e),n.c()),fe(n,1),n.m(i.parentNode,i))},i(e){r||(fe(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&S(i),c[t].d(e),a=!1,o(s)}}}const lu=e=>!e.hideFromNav&&e.label,cu=e=>!e.hideFromNav&&e.label,uu=()=>{},du=()=>{},fu=()=>{},pu=()=>{},gu=()=>{};function hu(e,t,n){const i=W();let r,o,a,{authorizationEnabled:s}=t,{autologinEnabled:l}=t,{isLoggedIn:c=!1}=t,{hideSearchComponent:u}=t,{hideNavComponent:d}=t,{responsiveNavSetting:f}=t,{profileTypeSettings:p}=t,{showGlobalNav:g}=t,{pathData:h}=t,{pathParams:m}=t,{dropDownStates:v={}}=t,{children:b}=t,{selectedNode:_}=t,{visibleNodeCount:w}=t,{globalNavNodeCount:y}=t,{totalBadgeNode:C}=t,{isProductSwitcherAvailable:S}=t,{productSwitcherConfig:x}=t,{openMobileDropDown:N}=t,{nodeForMobile:k}=t,{profileItemsAvailable:P}=t,{userInfo:I={}}=t,{globalSearchConfig:T}=t,{isGlobalSearchCentered:L}=t,{isSearchFieldVisible:A}=t,{inputElem:E}=t,{customSearchItemRendererSlot:V}=t,{displaySearchResult:R}=t,{searchResult:D}=t,{burgerTooltip:O}=t,{responsiveShellbarPadding:F}=t,M=K("store"),U=!1,B=Ke.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:H=Ke.getConfigBooleanValue("navigation.addNavHrefs")}=t;const z=async()=>{if(h&&0<h.length){const e=await Vt.generateTopNavNodes(h);n(7,b=e.children),n(8,_=e.selectedNode),n(9,w=e.visibleNodeCount),n(11,C=e.totalBadgeNode),n(10,y=e.globalNavNodeCount),window.TOPNAVDATA=e.children,r=h}};j((()=>{Dt.doOnStoreChange(M,(()=>{n(0,s=Je.isAuthorizationEnabled()),n(16,P=Ke.getConfigValue("navigation.profile")),n(54,l=!Boolean(Ke.getConfigValue("auth.disableAutoLogin"))),n(12,S=Ke.getConfigValue("navigation.productSwitcher")),n(2,d=Ke.getConfigBooleanValue("settings.hideNavigation")),n(3,f=Ke.getConfigValue("settings.responsiveNavigation")),n(4,p=Ke.getConfigValue("settings.profileType")),n(26,F=Ke.getConfigValue("settings.header.responsiveShellbarPaddings")),n(13,x=Vt.getProductSwitcherConfig()),n(18,T=Ke.getConfigValue("globalSearch")),n(19,L=T&&T.searchFieldCentered&&Et.requestExperimentalFeature("globalSearchCentered",!0)),n(5,g=Ke.getConfigBooleanValue("settings.globalSideNavigation")&&Et.requestExperimentalFeature("globalNav",!0)),n(27,H=Ke.getConfigBooleanValue("navigation.addNavHrefs")),n(46,B=Ke.getConfigValue("navigation.contextSwitcher"))}),["navigation"]),Dt.doOnStoreChange(M,(()=>{z()}),["navigation.viewgroupdata"]),Ot.addEventListener("message",(e=>{"luigi.navigation.update-badge-counters"===e.data.msg&&z()}))})),q((()=>{r&&r==h||z(),n(1,c=Tt.isLoggedIn())}));let{showTopNav:G}=t;function Y(e){n(14,N=!0),n(15,k=e)}function Q(){n(14,N=!1)}function Z(e){i("handleClick",{node:e})}function X(e){const t=v||{},i=!t[e];te(),Q(),t[e]=i,n(6,v=t)}function ee(){A||setTimeout((()=>{E&&E.focus()})),i("toggleSearch",{isSearchFieldVisible:A,inputElem:E,customSearchItemRendererSlot:V})}function te(){const e=v||{},t=Object.keys(e);t&&t.length>0&&t.forEach((t=>{e[t]=!1,n(6,v=e)}))}function ne(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&i("resizeTabNav",{})}function ie(){qe.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&i("resizeTabNav",{})}function re(e){"Enter"!==e.key&&" "!==e.key||X(e.currentTarget.getAttribute("aria-controls"))}return e.$$set=e=>{"authorizationEnabled"in e&&n(0,s=e.authorizationEnabled),"autologinEnabled"in e&&n(54,l=e.autologinEnabled),"isLoggedIn"in e&&n(1,c=e.isLoggedIn),"hideSearchComponent"in e&&n(29,u=e.hideSearchComponent),"hideNavComponent"in e&&n(2,d=e.hideNavComponent),"responsiveNavSetting"in e&&n(3,f=e.responsiveNavSetting),"profileTypeSettings"in e&&n(4,p=e.profileTypeSettings),"showGlobalNav"in e&&n(5,g=e.showGlobalNav),"pathData"in e&&n(30,h=e.pathData),"pathParams"in e&&n(31,m=e.pathParams),"dropDownStates"in e&&n(6,v=e.dropDownStates),"children"in e&&n(7,b=e.children),"selectedNode"in e&&n(8,_=e.selectedNode),"visibleNodeCount"in e&&n(9,w=e.visibleNodeCount),"globalNavNodeCount"in e&&n(10,y=e.globalNavNodeCount),"totalBadgeNode"in e&&n(11,C=e.totalBadgeNode),"isProductSwitcherAvailable"in e&&n(12,S=e.isProductSwitcherAvailable),"productSwitcherConfig"in e&&n(13,x=e.productSwitcherConfig),"openMobileDropDown"in e&&n(14,N=e.openMobileDropDown),"nodeForMobile"in e&&n(15,k=e.nodeForMobile),"profileItemsAvailable"in e&&n(16,P=e.profileItemsAvailable),"userInfo"in e&&n(17,I=e.userInfo),"globalSearchConfig"in e&&n(18,T=e.globalSearchConfig),"isGlobalSearchCentered"in e&&n(19,L=e.isGlobalSearchCentered),"isSearchFieldVisible"in e&&n(20,A=e.isSearchFieldVisible),"inputElem"in e&&n(21,E=e.inputElem),"customSearchItemRendererSlot"in e&&n(22,V=e.customSearchItemRendererSlot),"displaySearchResult"in e&&n(23,R=e.displaySearchResult),"searchResult"in e&&n(24,D=e.searchResult),"burgerTooltip"in e&&n(25,O=e.burgerTooltip),"responsiveShellbarPadding"in e&&n(26,F=e.responsiveShellbarPadding),"addNavHrefForAnchor"in e&&n(27,H=e.addNavHrefForAnchor),"showTopNav"in e&&n(28,G=e.showTopNav)},e.$$.update=()=>{3&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&n(28,G=s&&(!l||c)||!s)},[s,c,d,f,p,g,v,b,_,w,y,C,S,x,N,k,P,I,T,L,A,E,V,R,D,O,F,H,G,u,h,m,function(){X("productSwitcherPopover")},function(){n(43,U=!U),X("contextSwitcherPopover")},Y,Q,Z,function(e){Z(e.detail.node)},X,function(e){X(e.detail.name)},ee,te,function(e){const t=e.detail;n(17,I=t||{})},U,o,a,B,function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},e=>Vt.getNodeLabel(e),function(e){return Rt.getNodeHref(e,m)},function(e,t){return Vt.generateTooltipText(e,t)},function(){"simple"===f||"simpleMobileOnly"===f?ne():ie(),function(){if(!Vt.getBurgerTooltipConfig())return;const[e,t]=Vt.getBurgerTooltipConfig();e&&t&&(document.body.classList.contains("lui-simpleSlideInNav")&&n(25,O=document.body.classList.contains("lui-leftNavToggle")?e:t),document.body.classList.contains("lui-semiCollapsible")&&n(25,O=document.body.classList.contains("semiCollapsed")?e:t))}()},re,l,function(e){i("handleSearchNavigation",{node:e})},ne,ie,function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(e){v=e,n(6,v)},function(e){A=e,n(20,A)},function(e){D=e,n(24,D)},function(e){R=e,n(23,R)},function(e){E=e,n(21,E)},function(e){V=e,n(22,V)},function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(e){A=e,n(20,A)},function(e){D=e,n(24,D)},function(e){R=e,n(23,R)},function(e){E=e,n(21,E)},function(e){V=e,n(22,V)},function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(t){J.call(this,e,t)},function(e){v=e,n(6,v)},()=>X("contextSwitcherPopover"),function(e,t,i,r){i[r]=e,n(7,b)},e=>X(`dropDownPopover-${e}`),function(e,t,i,r){i[r]=e,n(7,b)},(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&Z(e)},function(e,t,i,r){i[r]=e,n(7,b)},e=>Z(e),()=>X("overflowPopover"),()=>{ee(),X("overflowPopover")},e=>Z(e),e=>Y(e),function(e){v=e,n(6,v)},()=>X("productSwitcherPopover"),function(e){v=e,n(6,v)},function(e){o=e,n(44,o)},function(e){a=e,n(45,a)},()=>X("contextSwitcherPopover"),()=>X("profilePopover"),e=>re(e),()=>X("profilePopover"),()=>X("profilePopover"),()=>X("profilePopover"),()=>X("profilePopover"),()=>X("profilePopover"),function(e){v=e,n(6,v)},()=>X("productSwitcherPopover"),()=>X("profilePopover")]}class mu extends Se{constructor(e){super(),Ce(this,e,hu,su,s,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:55,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:56,semicollapsedNav:57,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[55]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[56]}get semicollapsedNav(){return this.$$.ctx[57]}get userInfoUpdate(){return this.$$.ctx[42]}}function vu(e){let t;return{c(){t=N("div"),E(t,"class","lui-tab-header")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function bu(e){let t,i=e[0]&&vu();return{c(){i&&i.c(),t=I()},m(e,n){i&&i.m(e,n),C(e,t,n)},p(e,[n]){e[0]?i||(i=vu(),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:n,o:n,d(e){e&&S(t),i&&i.d(e)}}}function _u(e,t,n){let{node:i}=t;return j((()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout((async()=>{if(i.webcomponent&&i.tabNav.showAsTabHeader){const e=await async function(){var e,t;const n=Rt.mapPathToNode(xt.getCurrentPath(),i),r=await at.extractDataFromPath(n);return{context:(null==(e=null==r?void 0:r.pathData)?void 0:e.context)||i.context,pathParams:(null==(t=r.pathData)?void 0:t.pathParams)||{},clientPermissions:r.nodeObject.clientPermissions||{}}}(),t=document.querySelector(".lui-tab-header");bt.renderWebComponent(i.viewUrl,t,e,i),t.addEventListener("lui_ctx_update",(async()=>{const t=document.querySelector(".lui-tab-header [lui_web_component]");t&&(t.context=e.context)})),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")}))})),e.$$set=e=>{"node"in e&&n(0,i=e.node)},[i]}class wu extends Se{constructor(e){super(),Ce(this,e,_u,bu,s,{node:0})}}const{window:yu}=w;function Cu(e,t,n){const i=e.slice();return i[54]=t[n][0],i[55]=t[n][1],i[57]=n,i}function Su(e,t,n){const i=e.slice();return i[58]=t[n],i}function xu(e,t,n){const i=e.slice();return i[58]=t[n],i[60]=n,i}function $u(e,t,n){const i=e.slice();return i[54]=t[n][0],i[55]=t[n][1],i[57]=n,i}function Nu(e,t,n){const i=e.slice();return i[58]=t[n],i}function ku(e,t,n){const i=e.slice();return i[58]=t[n],i}function Pu(e,t,n){const i=e.slice();return i[58]=t[n],i[60]=n,i}function Iu(e){const t=e.slice(),n=t[58]===t[2];return t[65]=n,t}function Tu(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b=e[11].parent&&e[11].parent.tabNav&&e[11].parent.tabNav.showAsTabHeader&&Lu(e),_=me(Object.entries(e[0])),w=[];for(let o=0;o<_.length;o+=1)w[o]=Hu($u(e,_,o));const k=e=>pe(w[e],1,1,(()=>{w[e]=null}));let I=me(Object.entries(e[0])),A=[];for(let o=0;o<I.length;o+=1)A[o]=Yu(Cu(e,I,o));const V=e=>pe(A[e],1,1,(()=>{A[e]=null}));return{c(){t=N("div"),b&&b.c(),n=P(),i=N("nav"),r=N("div");for(let e=0;e<w.length;e+=1)w[e].c();a=P(),s=N("span"),l=N("div"),c=N("div"),u=N("button"),u.innerHTML='<span class="label fd-icon-tab-bar__overflow-text">More</span> <span class="sap-icon--slim-arrow-down"></span>',d=P(),f=N("div"),p=N("ul");for(let e=0;e<A.length;e+=1)A[e].c();E(u,"class","fd-icon-tab-bar__overflow"),E(c,"class","fd-popover__control has-child luigi__more"),E(c,"aria-expanded","false"),E(c,"role","tab"),E(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),E(f,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),E(f,"aria-hidden",g=!e[4]),E(l,"class","fd-popover"),E(s,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),E(r,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),E(r,"role","tablist"),E(i,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),E(i,"role","tablist"),E(t,"id","tabsContainer"),E(t,"class","svelte-1qtca7j")},m(o,g){C(o,t,g),b&&b.m(t,null),y(t,n),y(t,i),y(i,r);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(r,null);y(r,a),y(r,s),y(s,l),y(l,c),y(c,u),e[31](u),y(l,d),y(l,f),y(f,p);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(p,null);e[36](s),e[37](r),e[39](t),h=!0,m||(v=[T(u,"click",L(e[10])),T(s,"click",id),T(i,"toggleDropdownState",e[38])],m=!0)},p(e,i){if(e[11].parent&&e[11].parent.tabNav&&e[11].parent.tabNav.showAsTabHeader?b?(b.p(e,i),2048&i[0]&&fe(b,1)):(b=Lu(e),b.c(),fe(b,1),b.m(t,n)):b&&(ue(),pe(b,1,1,(()=>{b=null})),de()),3866829&i[0]){let t;for(_=me(Object.entries(e[0])),t=0;t<_.length;t+=1){const n=$u(e,_,t);w[t]?(w[t].p(n,i),fe(w[t],1)):(w[t]=Hu(n),w[t].c(),fe(w[t],1),w[t].m(r,a))}for(ue(),t=_.length;t<w.length;t+=1)k(t);de()}if(1704173&i[0]){let t;for(I=me(Object.entries(e[0])),t=0;t<I.length;t+=1){const n=Cu(e,I,t);A[t]?(A[t].p(n,i),fe(A[t],1)):(A[t]=Yu(n),A[t].c(),fe(A[t],1),A[t].m(p,null))}for(ue(),t=I.length;t<A.length;t+=1)V(t);de()}(!h||16&i[0]&&g!==(g=!e[4]))&&E(f,"aria-hidden",g)},i(e){if(!h){fe(b);for(let e=0;e<_.length;e+=1)fe(w[e]);for(let e=0;e<I.length;e+=1)fe(A[e]);h=!0}},o(e){pe(b),w=w.filter(Boolean);for(let t=0;t<w.length;t+=1)pe(w[t]);A=A.filter(Boolean);for(let t=0;t<A.length;t+=1)pe(A[t]);h=!1},d(n){n&&S(t),b&&b.d(),x(w,n),e[31](null),x(A,n),e[36](null),e[37](null),e[39](null),m=!1,o(v)}}}function Lu(e){let t,n;return t=new wu({props:{node:e[11].parent}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};2048&n[0]&&(i.node=e[11].parent),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Au(e){let t,n,i,r,o;const a=[Ru,Vu],s=[];function l(e,n){var i;return 1&n[0]&&(t=null),null==t&&(i=e[55],t=!!Xu(i)),t?0:1}function c(e,t){return 0===t?function(e){const t=e.slice(),n=Xu(t[55]);return t[68]=n,t}(e):e}return n=l(e,[-1,-1,-1]),i=s[n]=a[n](c(e,n)),{c(){i.c(),r=I()},m(e,t){s[n].m(e,t),C(e,r,t),o=!0},p(e,t){let o=n;n=l(e,t),n===o?s[n].p(c(e,n),t):(ue(),pe(s[o],1,1,(()=>{s[o]=null})),de(),i=s[n],i?i.p(c(e,n),t):(i=s[n]=a[n](c(e,n)),i.c()),fe(i,1),i.m(r.parentNode,r))},i(e){o||(fe(i),o=!0)},o(e){pe(i),o=!1},d(e){e&&S(r),s[n].d(e)}}}function Eu(e){let t,n,i=me(e[55]),r=[];for(let a=0;a<i.length;a+=1)r[a]=ju(Pu(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(1572933&n[0]){let a;for(i=me(e[55]),a=0;a<i.length;a+=1){const o=Pu(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=ju(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Vu(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,I,A=e[17](e[54])+"";function R(){return e[29](e[54])}let D=me(e[55]),O=[];for(let o=0;o<D.length;o+=1)O[o]=Fu(Nu(e,D,o));const F=e=>pe(O[e],1,1,(()=>{O[e]=null}));return{c(){t=N("span"),n=N("div"),i=N("div"),r=N("a"),a=N("div"),s=N("span"),l=k(A),c=P(),u=N("span"),u.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',f=P(),p=N("div"),g=N("ul");for(let e=0;e<O.length;e+=1)O[e].c();v=P(),E(s,"class","fd-icon-tab-bar__tag"),E(u,"class","fd-icon-tab-bar__arrow"),E(a,"class","fd-icon-tab-bar__tab-container"),E(r,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),E(r,"aria-expanded","false"),E(r,"role","tab"),E(r,"aria-selected",d=Zu(e[54],e[2])),E(i,"class","fd-popover__control"),E(g,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),E(p,"class",h="fd-popover__body fd-popover__body--no-arrow "+(e[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),E(p,"aria-hidden",m=!e[3][e[54]]),E(n,"class","fd-popover"),E(t,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),E(t,"uid",e[66]),E(t,"isselected",b=Zu(e[54],e[2]))},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(r,a),y(a,s),y(s,l),y(a,c),y(a,u),y(n,f),y(n,p),y(p,g);for(let t=0;t<O.length;t+=1)O[t]&&O[t].m(g,null);y(t,v),_=!0,w||(I=[T(r,"click",L(R)),T(t,"click",nd)],w=!0)},p(n,i){if(e=n,(!_||131073&i[0])&&A!==(A=e[17](e[54])+"")&&V(l,A),(!_||5&i[0]&&d!==(d=Zu(e[54],e[2])))&&E(r,"aria-selected",d),1572933&i[0]){let t;for(D=me(e[55]),t=0;t<D.length;t+=1){const n=Nu(e,D,t);O[t]?(O[t].p(n,i),fe(O[t],1)):(O[t]=Fu(n),O[t].c(),fe(O[t],1),O[t].m(g,null))}for(ue(),t=D.length;t<O.length;t+=1)F(t);de()}(!_||65536&i[0]&&h!==(h="fd-popover__body fd-popover__body--no-arrow "+(e[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&E(p,"class",h),(!_||9&i[0]&&m!==(m=!e[3][e[54]]))&&E(p,"aria-hidden",m),(!_||5&i[0]&&b!==(b=Zu(e[54],e[2])))&&E(t,"isselected",b)},i(e){if(!_){for(let e=0;e<D.length;e+=1)fe(O[e]);_=!0}},o(e){O=O.filter(Boolean);for(let t=0;t<O.length;t+=1)pe(O[t]);_=!1},d(e){e&&S(t),x(O,e),w=!1,o(I)}}}function Ru(e){let t,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,I,A,R,D=e[17](e[54])+"";function O(){return e[26](e[68])}function F(){return e[27](e[54])}let M=me(e[55]),U=[];for(let n=0;n<M.length;n+=1)U[n]=Uu(ku(e,M,n));return{c(){t=N("span"),i=N("a"),r=N("span"),a=k(D),c=P(),u=N("div"),d=N("div"),f=N("div"),p=N("button"),g=N("i"),m=P(),v=N("div"),b=N("ul");for(let e=0;e<U.length;e+=1)U[e].c();I=P(),E(r,"class","fd-icon-tab-bar__tag"),E(i,"role","tab"),E(i,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),E(i,"tabindex","0"),E(i,"aria-selected",s=Zu(e[54],e[2])),E(i,"href",l=e[20](e[68])),E(g,"class","sap-icon--slim-arrow-down"),E(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),E(p,"aria-controls",e[67]),E(p,"aria-expanded",h=!!e[3][e[54]]),E(p,"aria-haspopup","true"),E(p,"aria-label","open menu button"),E(f,"class","fd-icon-tab-bar__button-container"),E(d,"class","fd-popover__control"),E(b,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),E(v,"class",_="fd-popover__body fd-popover__body--no-arrow "+(e[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),E(v,"aria-hidden",w=!e[3][e[54]]),E(v,"id",e[67]),E(u,"class","fd-popover fd-icon-tab-bar__popover"),E(t,"uid",e[66]),E(t,"role","presentation"),E(t,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(e,n){C(e,t,n),y(t,i),y(i,r),y(r,a),y(t,c),y(t,u),y(u,d),y(d,f),y(f,p),y(p,g),y(u,m),y(u,v),y(v,b);for(let t=0;t<U.length;t+=1)U[t]&&U[t].m(b,null);y(t,I),A||(R=[T(i,"click",L(O)),T(p,"click",L(F)),T(t,"click",td)],A=!0)},p(t,n){if(e=t,131073&n[0]&&D!==(D=e[17](e[54])+"")&&V(a,D),5&n[0]&&s!==(s=Zu(e[54],e[2]))&&E(i,"aria-selected",s),1&n[0]&&l!==(l=e[20](e[68]))&&E(i,"href",l),9&n[0]&&h!==(h=!!e[3][e[54]])&&E(p,"aria-expanded",h),1572933&n[0]){let t;for(M=me(e[55]),t=0;t<M.length;t+=1){const i=ku(e,M,t);U[t]?U[t].p(i,n):(U[t]=Uu(i),U[t].c(),U[t].m(b,null))}for(;t<U.length;t+=1)U[t].d(1);U.length=M.length}65536&n[0]&&_!==(_="fd-popover__body fd-popover__body--no-arrow "+(e[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&E(v,"class",_),9&n[0]&&w!==(w=!e[3][e[54]])&&E(v,"aria-hidden",w)},i:n,o:n,d(e){e&&S(t),x(U,e),A=!1,o(R)}}}function Du(e){let t,n,i=e[58].label&&Ou(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[58].label?i?(i.p(e,n),1&n[0]&&fe(i,1)):(i=Ou(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Ou(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g=e[19](e[58])+"";function h(){return e[30](e[58])}return a=new pi({props:{node:e[58]}}),{c(){t=N("li"),n=N("a"),i=N("span"),r=k(g),o=P(),be(a.$$.fragment),u=P(),E(i,"class","fd-list__title"),E(n,"href",s=e[20](e[58])),E(n,"class","fd-list__link fd-icon-tab-bar__list-link"),E(n,"data-testid",l=Vt.getTestId(e[58])),E(n,"aria-selected",c=e[58]===e[2]),E(t,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(e,s){C(e,t,s),y(t,n),y(n,i),y(i,r),y(i,o),_e(a,i,null),y(t,u),d=!0,f||(p=T(n,"click",L(h)),f=!0)},p(t,i){e=t,(!d||1&i[0])&&g!==(g=e[19](e[58])+"")&&V(r,g);const o={};1&i[0]&&(o.node=e[58]),a.$set(o),(!d||1&i[0]&&s!==(s=e[20](e[58])))&&E(n,"href",s),(!d||1&i[0]&&l!==(l=Vt.getTestId(e[58])))&&E(n,"data-testid",l),(!d||5&i[0]&&c!==(c=e[58]===e[2]))&&E(n,"aria-selected",c)},i(e){d||(fe(a.$$.fragment,e),d=!0)},o(e){pe(a.$$.fragment,e),d=!1},d(e){e&&S(t),we(a),f=!1,p()}}}function Fu(e){let t,n,i=!e[58].hideFromNav&&Du(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[58].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),1&n[0]&&fe(i,1)):(i=Du(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Mu(e){let t,n,i,r,o,a,s,l,c,u=e[19](e[58])+"";function d(){return e[28](e[58])}return{c(){t=N("li"),n=N("a"),i=N("span"),r=k(u),s=P(),E(i,"class","fd-list__title"),E(n,"tabindex","0"),E(n,"class","fd-list__link fd-icon-tab-bar__list-link"),E(n,"href",o=e[20](e[58])),E(n,"aria-selected",a=e[58]===e[2]),E(t,"tabindex","-1"),E(t,"aria-level","1"),E(t,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(t,s),l||(c=T(n,"click",L(d)),l=!0)},p(t,i){e=t,1&i[0]&&u!==(u=e[19](e[58])+"")&&V(r,u),1&i[0]&&o!==(o=e[20](e[58]))&&E(n,"href",o),5&i[0]&&a!==(a=e[58]===e[2])&&E(n,"aria-selected",a)},d(e){e&&S(t),l=!1,c()}}}function Uu(e){let t,n=!e[58].hideFromNav&&e[58].label&&Mu(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){!e[58].hideFromNav&&e[58].label?n?n.p(e,i):(n=Mu(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&S(t),n&&n.d(e)}}}function Bu(e){let t,n,i=e[58].label&&qu(Iu(e));return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[58].label?i?(i.p(Iu(e),n),1&n[0]&&fe(i,1)):(i=qu(Iu(e)),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function qu(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h=e[19](e[58])+"";function m(){return e[25](e[58])}return a=new pi({props:{node:e[58]}}),{c(){t=N("span"),n=N("a"),i=N("span"),r=k(h),o=P(),be(a.$$.fragment),u=P(),E(i,"class","fd-icon-tab-bar__tag"),E(n,"role","tab"),E(n,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),E(n,"href",s=e[20](e[58])),E(n,"data-testid",l=Vt.getTestId(e[58])),E(n,"aria-selected",c=e[65]),E(t,"role","presentation"),E(t,"class","fd-icon-tab-bar__item"),E(t,"uid",e[57]+"-"+e[60]),E(t,"isselected",d=e[65])},m(e,s){C(e,t,s),y(t,n),y(n,i),y(i,r),y(i,o),_e(a,i,null),y(t,u),f=!0,p||(g=T(n,"click",L(m)),p=!0)},p(i,o){e=i,(!f||1&o[0])&&h!==(h=e[19](e[58])+"")&&V(r,h);const u={};1&o[0]&&(u.node=e[58]),a.$set(u),(!f||1&o[0]&&s!==(s=e[20](e[58])))&&E(n,"href",s),(!f||1&o[0]&&l!==(l=Vt.getTestId(e[58])))&&E(n,"data-testid",l),(!f||5&o[0]&&c!==(c=e[65]))&&E(n,"aria-selected",c),(!f||5&o[0]&&d!==(d=e[65]))&&E(t,"isselected",d)},i(e){f||(fe(a.$$.fragment,e),f=!0)},o(e){pe(a.$$.fragment,e),f=!1},d(e){e&&S(t),we(a),p=!1,g()}}}function ju(e){let t,n,i=!e[58].hideFromNav&&Bu(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[58].hideFromNav?i&&(ue(),pe(i,1,1,(()=>{i=null})),de()):i?(i.p(e,n),1&n[0]&&fe(i,1)):(i=Bu(e),i.c(),fe(i,1),i.m(t.parentNode,t))},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Hu(e){let t,n,i,r,o,a;const s=[Eu,Au],l=[];function c(e,i){return 1&i[0]&&(t=null),1&i[0]&&(n=null),null==t&&(t=!!e[21](e[54],e[55])),t?0:(null==n&&(r=e[55],n=!!r.some((e=>!e.hideFromNav&&e.label))),n?1:-1);var r}function u(e,t){return 1===t?function(e){const t=e.slice(),n=`${t[57]}-0`;t[66]=n;const i=`lui-${t[66]}-popover`;return t[67]=i,t}(e):e}return~(i=c(e,[-1,-1,-1]))&&(r=l[i]=s[i](u(e,i))),{c(){r&&r.c(),o=I()},m(e,t){~i&&l[i].m(e,t),C(e,o,t),a=!0},p(e,t){let n=i;i=c(e,t),i===n?~i&&l[i].p(u(e,i),t):(r&&(ue(),pe(l[n],1,1,(()=>{l[n]=null})),de()),~i?(r=l[i],r?r.p(u(e,i),t):(r=l[i]=s[i](u(e,i)),r.c()),fe(r,1),r.m(o.parentNode,o)):r=null)},i(e){a||(fe(r),a=!0)},o(e){pe(r),a=!1},d(e){e&&S(o),~i&&l[i].d(e)}}}function zu(e){let t,n,i,r,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,I=e[17](e[54])+"";function A(){return e[33](e[54],e[57])}function R(){return e[34](e[54],e[57])}let D=me(e[55]),O=[];for(let o=0;o<D.length;o+=1)O[o]=Ku(Su(e,D,o));const F=e=>pe(O[e],1,1,(()=>{O[e]=null}));return{c(){t=N("li"),n=N("div"),i=N("a"),r=N("span"),a=k(I),c=P(),u=N("button"),d=N("i"),g=P(),h=N("ul");for(let e=0;e<O.length;e+=1)O[e].c();v=P(),E(r,"class","fd-nested-list__title svelte-1qtca7j"),E(i,"href","javascript:void(null)"),E(i,"tabindex","-1"),E(i,"class","fd-nested-list__link svelte-1qtca7j"),E(i,"id","tabnav_list_level1_"+e[57]),E(i,"aria-haspopup","true"),E(i,"aria-expanded",s=e[3][e[54]+e[57]]),E(i,"aria-selected",l=Zu(e[54],e[2])),E(d,"class",f=e[3][e[54]+e[57]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),E(d,"role","presentation"),E(u,"class","fd-button fd-nested-list__button"),E(u,"href","#"),E(u,"tabindex","-1"),E(u,"aria-label","Expand submenu"),E(u,"aria-haspopup","true"),E(u,"aria-expanded",p=e[3][e[54]+e[57]]),E(n,"class","fd-nested-list__content has-child svelte-1qtca7j"),E(n,"tabindex","0"),E(h,"class","fd-nested-list level-2"),E(h,"aria-hidden",m=!e[3][e[54]+e[57]]),E(t,"class","fd-nested-list__item svelte-1qtca7j"),E(t,"uid",e[57]+"-0")},m(e,o){C(e,t,o),y(t,n),y(n,i),y(i,r),y(r,a),y(n,c),y(n,u),y(u,d),y(t,g),y(t,h);for(let t=0;t<O.length;t+=1)O[t]&&O[t].m(h,null);y(t,v),b=!0,_||(w=[T(i,"click",L(A)),T(u,"click",L(R))],_=!0)},p(t,n){if(e=t,(!b||131073&n[0])&&I!==(I=e[17](e[54])+"")&&V(a,I),(!b||9&n[0]&&s!==(s=e[3][e[54]+e[57]]))&&E(i,"aria-expanded",s),(!b||5&n[0]&&l!==(l=Zu(e[54],e[2])))&&E(i,"aria-selected",l),(!b||9&n[0]&&f!==(f=e[3][e[54]+e[57]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&E(d,"class",f),(!b||9&n[0]&&p!==(p=e[3][e[54]+e[57]]))&&E(u,"aria-expanded",p),1572933&n[0]){let t;for(D=me(e[55]),t=0;t<D.length;t+=1){const i=Su(e,D,t);O[t]?(O[t].p(i,n),fe(O[t],1)):(O[t]=Ku(i),O[t].c(),fe(O[t],1),O[t].m(h,null))}for(ue(),t=D.length;t<O.length;t+=1)F(t);de()}(!b||9&n[0]&&m!==(m=!e[3][e[54]+e[57]]))&&E(h,"aria-hidden",m)},i(e){if(!b){for(let e=0;e<D.length;e+=1)fe(O[e]);b=!0}},o(e){O=O.filter(Boolean);for(let t=0;t<O.length;t+=1)pe(O[t]);b=!1},d(e){e&&S(t),x(O,e),_=!1,o(w)}}}function Wu(e){let t,n,i=me(e[55]),r=[];for(let a=0;a<i.length;a+=1)r[a]=Ju(xu(e,i,a));const o=e=>pe(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=I()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);C(e,t,i),n=!0},p(e,n){if(1572933&n[0]){let a;for(i=me(e[55]),a=0;a<i.length;a+=1){const o=xu(e,i,a);r[a]?(r[a].p(o,n),fe(r[a],1)):(r[a]=Ju(o),r[a].c(),fe(r[a],1),r[a].m(t.parentNode,t))}for(ue(),a=i.length;a<r.length;a+=1)o(a);de()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)fe(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)pe(r[t]);n=!1},d(e){e&&S(t),x(r,e)}}}function Gu(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g=e[19](e[58])+"";function h(){return e[35](e[58])}return a=new pi({props:{node:e[58]}}),{c(){t=N("li"),n=N("a"),i=N("span"),r=k(g),o=P(),be(a.$$.fragment),u=P(),E(i,"class","fd-nested-list__title svelte-1qtca7j"),E(n,"class","fd-nested-list__link"),E(n,"href",s=e[20](e[58])),E(n,"data-testid",l=Vt.getTestId(e[58])),E(n,"aria-selected",c=e[58]===e[2]),E(t,"class","fd-nested-list__item svelte-1qtca7j"),E(t,"aria-labelledby","tabnav_list_level1_"+e[57])},m(e,s){C(e,t,s),y(t,n),y(n,i),y(i,r),y(i,o),_e(a,i,null),y(t,u),d=!0,f||(p=T(n,"click",L(h)),f=!0)},p(t,i){e=t,(!d||1&i[0])&&g!==(g=e[19](e[58])+"")&&V(r,g);const o={};1&i[0]&&(o.node=e[58]),a.$set(o),(!d||1&i[0]&&s!==(s=e[20](e[58])))&&E(n,"href",s),(!d||1&i[0]&&l!==(l=Vt.getTestId(e[58])))&&E(n,"data-testid",l),(!d||5&i[0]&&c!==(c=e[58]===e[2]))&&E(n,"aria-selected",c)},i(e){d||(fe(a.$$.fragment,e),d=!0)},o(e){pe(a.$$.fragment,e),d=!1},d(e){e&&S(t),we(a),f=!1,p()}}}function Ku(e){let t,n,i=e[58].label&&Gu(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[58].label?i?(i.p(e,n),1&n[0]&&fe(i,1)):(i=Gu(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Ju(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g=e[19](e[58])+"";function h(){return e[32](e[58])}return a=new pi({props:{node:e[58]}}),{c(){t=N("li"),n=N("a"),i=N("span"),r=k(g),o=P(),be(a.$$.fragment),u=P(),E(i,"class","fd-nested-list__title svelte-1qtca7j"),E(n,"href",s=e[20](e[58])),E(n,"class","fd-nested-list__link"),E(n,"data-testid",l=Vt.getTestId(e[58])),E(n,"aria-selected",c=e[58]===e[2]),E(t,"class","fd-nested-list__item svelte-1qtca7j"),E(t,"uid",e[57]+"-"+e[60])},m(e,s){C(e,t,s),y(t,n),y(n,i),y(i,r),y(i,o),_e(a,i,null),y(t,u),d=!0,f||(p=T(n,"click",L(h)),f=!0)},p(t,i){e=t,(!d||1&i[0])&&g!==(g=e[19](e[58])+"")&&V(r,g);const o={};1&i[0]&&(o.node=e[58]),a.$set(o),(!d||1&i[0]&&s!==(s=e[20](e[58])))&&E(n,"href",s),(!d||1&i[0]&&l!==(l=Vt.getTestId(e[58])))&&E(n,"data-testid",l),(!d||5&i[0]&&c!==(c=e[58]===e[2]))&&E(n,"aria-selected",c)},i(e){d||(fe(a.$$.fragment,e),d=!0)},o(e){pe(a.$$.fragment,e),d=!1},d(e){e&&S(t),we(a),f=!1,p()}}}function Yu(e){let t,n,i,r,o;const a=[Wu,zu],s=[];function l(e,n){return 33&n[0]&&(t=null),null==t&&(t=!("undefined"!==e[54]&&0!==e[54].indexOf(e[5]))),t?0:1}return n=l(e,[-1,-1,-1]),i=s[n]=a[n](e),{c(){i.c(),r=I()},m(e,t){s[n].m(e,t),C(e,r,t),o=!0},p(e,t){let o=n;n=l(e,t),n===o?s[n].p(e,t):(ue(),pe(s[o],1,1,(()=>{s[o]=null})),de(),i=s[n],i?i.p(e,t):(i=s[n]=a[n](e),i.c()),fe(i,1),i.m(r.parentNode,r))},i(e){o||(fe(i),o=!0)},o(e){pe(i),o=!1},d(e){e&&S(r),s[n].d(e)}}}function Qu(e){let t,n,i,r,a=e[0]&&e[1].length>0&&(!1===e[1][0].topNav||e[1].length>1)&&Tu(e);return{c(){a&&a.c(),t=I()},m(o,s){a&&a.m(o,s),C(o,t,s),n=!0,i||(r=[T(yu,"click",e[8]),T(yu,"blur",e[8]),T(yu,"resize",e[9])],i=!0)},p(e,n){e[0]&&e[1].length>0&&(!1===e[1][0].topNav||e[1].length>1)?a?(a.p(e,n),3&n[0]&&fe(a,1)):(a=Tu(e),a.c(),fe(a,1),a.m(t.parentNode,t)):a&&(ue(),pe(a,1,1,(()=>{a=null})),de())},i(e){n||(fe(a),n=!0)},o(e){pe(a),n=!1},d(e){e&&S(t),a&&a.d(e),i=!1,o(r)}}}function Zu(e,t){return t&&t.category&&(t.category===e||t.category.label===e)}function Xu(e){const t=e.find((e=>{var t;return null==(t=e.category)?void 0:t.navigateOnClick}));if(!t)return;const n=t.category.navigateOnClick;return!0===n?t:e.find((e=>e.pathSegment===n))}function ed(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach((e=>{e.classList.remove("fd-popover__body--right"),function(e){if(!e)return;const t=e.getBoundingClientRect(),n=window.innerWidth||document.documentElement.clientWidth;return t.left+t.width<=n}(e)||e.classList.add("fd-popover__body--right")}))}const td=e=>e.stopPropagation(),nd=e=>e.stopPropagation(),id=e=>e.stopPropagation();function rd(e,t,n){let i,r,o,a,{children:s}=t,{pathData:l}=t,{pathParams:c}=t,{hideNavComponent:u}=t,{virtualGroupPrefix:d=Vt.virtualGroupPrefix}=t,{selectedNodeForTabNav:p}=t,{dropDownStates:g={}}=t,{isMoreBtnExpanded:h=!1}=t,{resizeTabNavToggle:m}=t,v=K("getTranslation");f(e,v,(e=>n(17,i=e)));let b,_,w,y,C,S,x,N=K("store");const k=()=>({children:s,pathData:l,hideNavComponent:u,virtualGroupPrefix:d,selectedNode:r,selectedNodeForTabNav:p,dropDownStates:g,isMoreBtnExpanded:h}),P=e=>{e&&Object.getOwnPropertyNames(e).forEach((t=>{"pathData"===t?n(1,l=e.pathData):"context"===t?context=e.context:"children"===t?n(0,s=e.children):"selectedNode"===t?n(11,r=e.selectedNode):"selectedNodeForTabNav"===t&&n(2,p=e.selectedNodeForTabNav)}))},I=W();const T=async()=>{const e=k(),t=await at.getTabNavData({...e},e);t&&(P({...t}),o=l,window.LEFTNAVDATA=t.groupedChildren,setTimeout(L))},L=()=>{if(A(),w&&y&&C){C.classList.remove("is-active");const e=getComputedStyle(w),t=w.offsetWidth-y.offsetWidth-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight);let n=0,i=!1;[...w.children].forEach((e=>{const r=e.getAttribute("uid");if(!r)return;const o=getComputedStyle(e),a=parseFloat(o.marginLeft)+parseFloat(o.marginRight);n+=e.offsetWidth+a,n>=t?(e.classList.add("hide_element"),"true"===e.getAttribute("isSelected")&&C.classList.add("is-active"),document.querySelector('li[uid="'+r+'"]').classList.remove("hide_element"),i=!0):document.querySelector('li[uid="'+r+'"]').classList.add("hide_element")})),i?y.classList.remove("hide_element"):y.classList.add("hide_element")}},A=()=>{if(w){[...w.children].forEach((e=>{e.classList.remove("hide_element")}))}},E=()=>{b=new ResizeObserver((e=>{for(const t of e)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",t.contentRect.height+"px");S&&ed()})),setTimeout((()=>{_&&b.observe(_)}))},V=()=>{b&&b.disconnect()};function R(e){O(),I("handleClick",{node:e})}function D(e){let t={};g[e]||(t[e]=!0),n(3,g=t)}function O(){n(3,g={}),n(4,h=!1)}j((()=>{n(22,u=Ke.getConfigBooleanValue("settings.hideNavigation")),n(16,S=Ke.getConfigBooleanValue("settings.btpToolLayout")&&Ke.getConfigBooleanValue("settings.experimental.btpToolLayout")),E(),x=Dt.doOnStoreChange(N,(()=>{T()}),["navigation.viewgroupdata"])})),z((()=>{V(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height"),x()})),q((()=>{o&&o==l||T(),void 0!==a&&a===m||(a=m,T())})),H((()=>{V(),b?setTimeout((()=>{_&&b.observe(_)})):E()}));return e.$$set=e=>{"children"in e&&n(0,s=e.children),"pathData"in e&&n(1,l=e.pathData),"pathParams"in e&&n(23,c=e.pathParams),"hideNavComponent"in e&&n(22,u=e.hideNavComponent),"virtualGroupPrefix"in e&&n(5,d=e.virtualGroupPrefix),"selectedNodeForTabNav"in e&&n(2,p=e.selectedNodeForTabNav),"dropDownStates"in e&&n(3,g=e.dropDownStates),"isMoreBtnExpanded"in e&&n(4,h=e.isMoreBtnExpanded),"resizeTabNavToggle"in e&&n(24,m=e.resizeTabNavToggle)},[s,l,p,g,h,d,R,D,O,function(){A(),L()},function(){n(4,h=!h)},r,_,w,y,C,S,i,v,function(e){return Vt.getNodeLabel(e)},function(e){return Rt.getNodeHref(e,c)},function(e,t){const n="undefined"===e,i=0===e.indexOf(d);return!(!n&&!i)||(!!function(e){const t=e.find((e=>Et.isObject(e.category)));if(!t)return;const n=t.category.label||t.category.id,i=1===e.filter((e=>e.category===n&&!0===e.hideFromNav)).length;return i}(t)||void 0)},u,c,m,e=>R(e),e=>R(e),e=>D(e),e=>R(e),e=>D(e),e=>R(e),function(e){Q[e?"unshift":"push"]((()=>{C=e,n(15,C)}))},e=>R(e),(e,t)=>D(e+t),(e,t)=>D(e+t),e=>R(e),function(e){Q[e?"unshift":"push"]((()=>{y=e,n(14,y)}))},function(e){Q[e?"unshift":"push"]((()=>{w=e,n(13,w)}))},e=>D(e.name),function(e){Q[e?"unshift":"push"]((()=>{_=e,n(12,_)}))}]}class od extends Se{constructor(e){super(),Ce(this,e,rd,Qu,s,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function ad(e,t,n){const i=e.slice();return i[23]=t[n],i[25]=n,i}function sd(e,t,n){const i=e.slice();return i[23]=t[n],i[25]=n,i}function ld(e){let t,n,i,r,o,a=e[0]&&e[3].length>=0&&cd(e),s=e[0]&&e[3].length>=0&&hd(e);return{c(){t=N("div"),n=N("nav"),i=N("div"),a&&a.c(),r=P(),o=N("div"),s&&s.c(),E(i,"class","fd-side-nav__main-navigation"),E(o,"class","fd-side-nav__utility svelte-fn8cef"),E(o,"aria-label","Utility Menu"),E(n,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),E(t,"class","lui-globalnav svelte-fn8cef")},m(e,l){C(e,t,l),y(t,n),y(n,i),a&&a.m(i,null),y(n,r),y(n,o),s&&s.m(o,null)},p(e,t){e[0]&&e[3].length>=0?a?a.p(e,t):(a=cd(e),a.c(),a.m(i,null)):a&&(a.d(1),a=null),e[0]&&e[3].length>=0?s?s.p(e,t):(s=hd(e),s.c(),s.m(o,null)):s&&(s.d(1),s=null)},d(e){e&&S(t),a&&a.d(),s&&s.d()}}}function cd(e){let t,n=me(e[0]),i=[];for(let r=0;r<n.length;r+=1)i[r]=gd(sd(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-nested-list svelte-fn8cef")},m(e,n){C(e,t,n);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(t,null)},p(e,r){if(7891&r){let o;for(n=me(e[0]),o=0;o<n.length;o+=1){const a=sd(e,n,o);i[o]?i[o].p(a,r):(i[o]=gd(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function ud(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h,m=e[11](e[23])+"",v=e[23].icon&&dd(e);function b(...t){return e[17](e[23],...t)}return{c(){t=N("li"),n=N("a"),i=N("div"),v&&v.c(),r=P(),o=N("div"),a=k(m),s=P(),l=N("div"),d=P(),E(o,"class","lui-text svelte-fn8cef"),E(l,"class","lui-indicator svelte-fn8cef"),E(i,"class","lui-fd-nested-list__content svelte-fn8cef"),E(n,"href",c=e[6]?e[12](e[23]):void 0),E(n,"title",u=e[7](e[23].label)),E(n,"role","button"),E(n,"tabindex","0"),E(n,"class","svelte-fn8cef"),E(t,"class",f="fd-nested-list__item "+(e[23]===e[1]?"is-selected":"")+" svelte-fn8cef"),E(t,"data-testid",p=Vt.getTestId(e[23]))},m(e,c){C(e,t,c),y(t,n),y(n,i),v&&v.m(i,null),y(i,r),y(i,o),y(o,a),y(i,s),y(i,l),y(t,d),g||(h=T(n,"click",b),g=!0)},p(o,s){(e=o)[23].icon?v?v.p(e,s):(v=dd(e),v.c(),v.m(i,r)):v&&(v.d(1),v=null),1&s&&m!==(m=e[11](e[23])+"")&&V(a,m),65&s&&c!==(c=e[6]?e[12](e[23]):void 0)&&E(n,"href",c),129&s&&u!==(u=e[7](e[23].label))&&E(n,"title",u),3&s&&f!==(f="fd-nested-list__item "+(e[23]===e[1]?"is-selected":"")+" svelte-fn8cef")&&E(t,"class",f),1&s&&p!==(p=Vt.getTestId(e[23]))&&E(t,"data-testid",p)},d(e){e&&S(t),v&&v.d(),g=!1,h()}}}function dd(e){let t,n;function i(e,n){return 1&n&&(t=null),null==t&&(t=!!e[10](e[23])),t?pd:fd}let r=i(e,-1),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function fd(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),c(t.src,n=e[23].icon)||E(t,"src",n),E(t,"alt",i=e[23].altText?e[23].altText:"")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[23].icon)&&E(t,"src",n),1&r&&i!==(i=e[23].altText?e[23].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function pd(e){let t,n;return{c(){t=N("span"),E(t,"class",n="lui-text fd-top-nav__icon "+e[9](e[23].icon)+" svelte-fn8cef")},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="lui-text fd-top-nav__icon "+e[9](e[23].icon)+" svelte-fn8cef")&&E(t,"class",n)},d(e){e&&S(t)}}}function gd(e){let t,n=!0===e[23].globalNav&&!e[23].separator&&ud(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){!0!==e[23].globalNav||e[23].separator?n&&(n.d(1),n=null):n?n.p(e,i):(n=ud(e),n.c(),n.m(t.parentNode,t))},d(e){e&&S(t),n&&n.d(e)}}}function hd(e){let t,n=me(e[0]),i=[];for(let r=0;r<n.length;r+=1)i[r]=wd(ad(e,n,r));return{c(){t=N("ul");for(let e=0;e<i.length;e+=1)i[e].c();E(t,"class","fd-nested-list svelte-fn8cef")},m(e,n){C(e,t,n);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(t,null)},p(e,r){if(7891&r){let o;for(n=me(e[0]),o=0;o<n.length;o+=1){const a=ad(e,n,o);i[o]?i[o].p(a,r):(i[o]=wd(a),i[o].c(),i[o].m(t,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(e){e&&S(t),x(i,e)}}}function md(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h,m=e[11](e[23])+"",v=e[23].icon&&vd(e);function b(){return e[18](e[23])}return{c(){t=N("li"),n=N("a"),i=N("div"),v&&v.c(),r=P(),o=N("div"),a=k(m),s=P(),l=N("div"),d=P(),E(o,"class","lui-text svelte-fn8cef"),E(l,"class","lui-indicator svelte-fn8cef"),E(i,"class","lui-fd-nested-list__content svelte-fn8cef"),E(n,"href",c=e[6]?e[12](e[23]):void 0),E(n,"title",u=e[7](e[23].label)),E(n,"class","svelte-fn8cef"),E(t,"class",f="fd-nested-list__item "+(e[23]===e[1]?"is-selected":"")+" svelte-fn8cef"),E(t,"data-testid",p=Vt.getTestId(e[23]))},m(e,c){C(e,t,c),y(t,n),y(n,i),v&&v.m(i,null),y(i,r),y(i,o),y(o,a),y(i,s),y(i,l),y(t,d),g||(h=T(i,"click",L(b)),g=!0)},p(o,s){(e=o)[23].icon?v?v.p(e,s):(v=vd(e),v.c(),v.m(i,r)):v&&(v.d(1),v=null),1&s&&m!==(m=e[11](e[23])+"")&&V(a,m),65&s&&c!==(c=e[6]?e[12](e[23]):void 0)&&E(n,"href",c),129&s&&u!==(u=e[7](e[23].label))&&E(n,"title",u),3&s&&f!==(f="fd-nested-list__item "+(e[23]===e[1]?"is-selected":"")+" svelte-fn8cef")&&E(t,"class",f),1&s&&p!==(p=Vt.getTestId(e[23]))&&E(t,"data-testid",p)},d(e){e&&S(t),v&&v.d(),g=!1,h()}}}function vd(e){let t,n;function i(e,n){return 1&n&&(t=null),null==t&&(t=!!e[10](e[23])),t?_d:bd}let r=i(e,-1),o=r(e);return{c(){o.c(),n=I()},m(e,t){o.m(e,t),C(e,n,t)},p(e,t){r===(r=i(e,t))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){e&&S(n),o.d(e)}}}function bd(e){let t,n,i;return{c(){t=N("img"),E(t,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),c(t.src,n=e[23].icon)||E(t,"src",n),E(t,"alt",i=e[23].altText?e[23].altText:"")},m(e,n){C(e,t,n)},p(e,r){1&r&&!c(t.src,n=e[23].icon)&&E(t,"src",n),1&r&&i!==(i=e[23].altText?e[23].altText:"")&&E(t,"alt",i)},d(e){e&&S(t)}}}function _d(e){let t,n;return{c(){t=N("span"),E(t,"class",n="lui-text fd-top-nav__icon "+e[9](e[23].icon)+" svelte-fn8cef")},m(e,n){C(e,t,n)},p(e,i){1&i&&n!==(n="lui-text fd-top-nav__icon "+e[9](e[23].icon)+" svelte-fn8cef")&&E(t,"class",n)},d(e){e&&S(t)}}}function wd(e){let t,n="bottom"===e[23].globalNav&&!e[23].separator&&md(e);return{c(){n&&n.c(),t=I()},m(e,i){n&&n.m(e,i),C(e,t,i)},p(e,i){"bottom"!==e[23].globalNav||e[23].separator?n&&(n.d(1),n=null):n?n.p(e,i):(n=md(e),n.c(),n.m(t.parentNode,t))},d(e){e&&S(t),n&&n.d(e)}}}function yd(e){let t,i,r,a=e[2]&&ld(e);return{c(){a&&a.c(),t=I()},m(e,n){a&&a.m(e,n),C(e,t,n),i||(r=[T(window,"click",Cd),T(window,"blur",Cd)],i=!0)},p(e,[n]){e[2]?a?a.p(e,n):(a=ld(e),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:n,o:n,d(e){e&&S(t),a&&a.d(e),i=!1,o(r)}}}function Cd(){}function Sd(e,t,n){let i;const r=W();let o,{pathData:a}=t,{pathParams:s}=t,{children:l}=t,{selectedNode:c}=t,u=K("store"),d=K("getTranslation");f(e,d,(e=>n(7,i=e)));let{showGlobalNav:p}=t,{hideNavComponent:g}=t,{responsiveNavSetting:h}=t,m=Ke.getConfigBooleanValue("navigation.addNavHrefs");function v(e){r("handleClick",{node:e})}j((()=>{Dt.doOnStoreChange(u,(()=>{n(13,g=Ke.getConfigBooleanValue("settings.hideNavigation")),n(14,h=Ke.getConfigValue("settings.responsiveNavigation")),n(2,p=!(Ke.getConfigValue("settings.btpToolLayout")&&Et.requestExperimentalFeature("btpToolLayout",!1))&&Ke.getConfigBooleanValue("settings.globalSideNavigation")&&Et.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)}),["navigation"])})),q((()=>{o&&o==a||(async()=>{if(a&&0<a.length){const e=await Vt.generateTopNavNodes(a);n(0,l=e.children),n(1,c=e.selectedNode),o=a}})(),n(6,m=Ke.getConfigBooleanValue("navigation.addNavHrefs"))}));return e.$$set=e=>{"pathData"in e&&n(3,a=e.pathData),"pathParams"in e&&n(15,s=e.pathParams),"children"in e&&n(0,l=e.children),"selectedNode"in e&&n(1,c=e.selectedNode),"showGlobalNav"in e&&n(2,p=e.showGlobalNav),"hideNavComponent"in e&&n(13,g=e.hideNavComponent),"responsiveNavSetting"in e&&n(14,h=e.responsiveNavSetting)},[l,c,p,a,v,Cd,m,i,d,function(e){return Vt.renderIconClassName(e)},function(e){return Vt.isOpenUIiconName(e.icon)},function(e){return Ze.getTranslation(e.label)},function(e){return Rt.getNodeHref(e,s)},g,h,s,function(e){v(e.detail.node)},(e,t)=>{Vt.handleNavAnchorClickedWithoutMetaKey(t)&&v(e)},e=>v(e)]}class xd extends Se{constructor(e){super(),Ce(this,e,Sd,yd,s,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return Cd}}function $d(e){let t;return{c(){t=N("div"),E(t,"class","lui-breadcrumb-container svelte-18w4n0e")},m(n,i){C(n,t,i),e[4](t)},p:n,i:n,o:n,d(n){n&&S(t),e[4](null)}}}function Nd(e,t,n){const i=W();let r,o,{pathData:a}=t,s={},l=K("store"),{showBreadcrumb:c}=t;Ke.getConfigBooleanValue("navigation.addNavHrefs");const u=e=>{e.last||f(e.node)};async function d(e){if(e.label&&!e._virtualTree)return Ze.getTranslation(e.label)||e.label;if(e.pathSegment&&0===e.pathSegment.indexOf(":")){const t=Rt.mapPathToNode(xt.getCurrentPath(),e),n=await at.extractDataFromPath(t);return Rt.getDynamicNodeValue(e,n.pathData.pathParams)}return e.pathSegment?e.pathSegment:""}function f(e){i("handleClick",{node:e})}return j((()=>{Dt.doOnStoreChange(l,(()=>{}),["navigation"])})),q((async()=>{if(a&&(!r||r!=a)){if((async()=>{a&&0<a.length&&(r=a)})(),0===a.length)return;const t=Ke.getConfigValue("navigation.breadcrumbs");if(n(1,c=!!t),c&&a.forEach((e=>{!1===e.showBreadcrumbs?n(1,c=!1):!0===e.showBreadcrumbs&&n(1,c=!0)})),c)if(Ke.getConfigBooleanValue("navigation.addNavHrefs"),t.renderer){let i=[];const r=t.omitRoot?2:1,l=xt.getCurrentPath();for(let e=r;e<a.length;e++){const n=a[e],r=Rt.mapPathToNode(l,n);if(s[r])i.push(s[r]);else if(n.label||n.pathSegment||n.titleResolver)if(document.body.classList.add("lui-breadcrumb"),n.titleResolver)i.push({label:n.titleResolver.prerenderFallback&&n.titleResolver.fallbackTitle?Ze.getTranslation(n.titleResolver.fallbackTitle):t.pendingItemLabel||"",node:n,route:r,pending:!0});else{const e=await d(n);e&&i.push({label:e,node:n,route:r})}}t.clearBeforeRender&&n(0,o.innerHTML="",o),t.renderer(o,i,u),i=[];for(let t=r;t<a.length;t++){const n=a[t],r=Rt.mapPathToNode(l,n);if(n.titleResolver){const t=await at.extractDataFromPath(r),o=Rt.substituteDynamicParamsInObject(Object.assign({},t.pathData.context,n.context),t.pathData.pathParams);try{const e=await Vt.fetchNodeTitleData(n,o);i.push({label:e.label,node:n,route:r});continue}catch(e){}}const o=await d(n);o&&i.push({label:o,node:n,route:r})}l===xt.getCurrentPath()&&(t.clearBeforeRender&&n(0,o.innerHTML="",o),i.length>1?(i[i.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),t.renderer(o,i,u)):t.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},i.map((e=>{s[e.route]=e})))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else n(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}})),e.$$set=e=>{"pathData"in e&&n(2,a=e.pathData),"showBreadcrumb"in e&&n(1,c=e.showBreadcrumb)},[o,c,a,f,function(e){Q[e?"unshift":"push"]((()=>{o=e,n(0,o)}))}]}class kd extends Se{constructor(e){super(),Ce(this,e,Nd,$d,s,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Pd="not_checked";Ot.addEventListener("message",(function(e){"luigi.tpcDisabled"===e.data?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Pd="disabled"):"luigi.tpcEnabled"===e.data&&(Pd="enabled")}),!1);const{Boolean:Id,window:Td}=w;function Ld(e,t,n){const i=e.slice();return i[155]=t[n],i[157]=n,i}function Ad(e){let t,n;return t=new Jt({props:{alertQueue:e[26]}}),t.$on("alertDismiss",e[38]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};67108864&n[0]&&(i.alertQueue=e[26]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Ed(e){let t,n;return t=new dn({props:{settings:e[155].mfModal.settings,nodepath:e[155].mfModal.nodepath,modalIndex:e[157],disableBackdrop:e[12]}}),t.$on("close",(function(){return e[72](e[157])})),t.$on("iframeCreated",(function(...t){return e[73](e[157],...t)})),t.$on("wcCreated",(function(...t){return e[74](e[157],...t)})),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(n,i){e=n;const r={};268435456&i[0]&&(r.settings=e[155].mfModal.settings),268435456&i[0]&&(r.nodepath=e[155].mfModal.nodepath),4096&i[0]&&(r.disableBackdrop=e[12]),t.$set(r)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Vd(e){let t,n,i=e[155].mfModal.displayed&&Ed(e);return{c(){i&&i.c(),t=I()},m(e,r){i&&i.m(e,r),C(e,t,r),n=!0},p(e,n){e[155].mfModal.displayed?i?(i.p(e,n),268435456&n[0]&&fe(i,1)):(i=Ed(e),i.c(),fe(i,1),i.m(t.parentNode,t)):i&&(ue(),pe(i,1,1,(()=>{i=null})),de())},i(e){n||(fe(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&S(t),i&&i.d(e)}}}function Rd(e){let t,n;return t=new dn({props:{settings:e[29].settings,nodepath:e[29].nodepath,$$slots:{default:[Dd]},$$scope:{ctx:e}}}),t.$on("close",e[46]),t.$on("drawerState",e[45]),t.$on("iframeCreated",e[43]),t.$on("wcCreated",e[44]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};536870912&n[0]&&(i.settings=e[29].settings),536870912&n[0]&&(i.nodepath=e[29].nodepath),4096&n[0]|8&n[5]&&(i.$$scope={dirty:n,ctx:e}),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Dd(e){let t,n;return t=new rn({props:{area:"drawer",disable:e[12]}}),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};4096&n[0]&&(i.disable=e[12]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Od(e){let t,n;return t=new en({props:{settings:e[27].settings}}),t.$on("modalConfirm",e[75]),t.$on("modalDismiss",e[76]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};134217728&n[0]&&(i.settings=e[27].settings),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Fd(e){let t,n,i;function r(t){e[77](t)}let o={userSettingGroups:e[17].userSettingGroups};return void 0!==e[5]&&(o.storedUserSettings=e[5]),t=new Kn({props:o}),Q.push((()=>ve(t,"storedUserSettings",r))),t.$on("close",e[9]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),i=!0},p(e,i){const r={};131072&i[0]&&(r.userSettingGroups=e[17].userSettingGroups),!n&&32&i[0]&&(n=!0,r.storedUserSettings=e[5],ie((()=>n=!1))),t.$set(r)},i(e){i||(fe(t.$$.fragment,e),i=!0)},o(e){pe(t.$$.fragment,e),i=!1},d(e){we(t,e)}}}function Md(e){let t,n,i,r,o,a,s,l,c=!e[25]&&Bd(e),u=!(e[20]||e[22])&&qd(e);i=new rn({props:{disable:e[12],$$slots:{default:[Hd]},$$scope:{ctx:e}}});let d=e[10]&&zd(),f=!e[20]&&Wd(e),p=e[15]&&!e[20]&&Kd(e);return{c(){c&&c.c(),t=P(),u&&u.c(),n=P(),be(i.$$.fragment),r=P(),d&&d.c(),o=P(),f&&f.c(),a=P(),p&&p.c(),s=I()},m(e,g){c&&c.m(e,g),C(e,t,g),u&&u.m(e,g),C(e,n,g),_e(i,e,g),C(e,r,g),d&&d.m(e,g),C(e,o,g),f&&f.m(e,g),C(e,a,g),p&&p.m(e,g),C(e,s,g),l=!0},p(e,r){e[25]?c&&(ue(),pe(c,1,1,(()=>{c=null})),de()):c?(c.p(e,r),33554432&r[0]&&fe(c,1)):(c=Bd(e),c.c(),fe(c,1),c.m(t.parentNode,t)),e[20]||e[22]?u&&(ue(),pe(u,1,1,(()=>{u=null})),de()):u?(u.p(e,r),5242880&r[0]&&fe(u,1)):(u=qd(e),u.c(),fe(u,1),u.m(n.parentNode,n));const l={};4096&r[0]&&(l.disable=e[12]),6144&r[0]|8&r[5]&&(l.$$scope={dirty:r,ctx:e}),i.$set(l),e[10]?d||(d=zd(),d.c(),d.m(o.parentNode,o)):d&&(d.d(1),d=null),e[20]?f&&(ue(),pe(f,1,1,(()=>{f=null})),de()):f?(f.p(e,r),1048576&r[0]&&fe(f,1)):(f=Wd(e),f.c(),fe(f,1),f.m(a.parentNode,a)),e[15]&&!e[20]?p?(p.p(e,r),1081344&r[0]&&fe(p,1)):(p=Kd(e),p.c(),fe(p,1),p.m(s.parentNode,s)):p&&(ue(),pe(p,1,1,(()=>{p=null})),de())},i(e){l||(fe(c),fe(u),fe(i.$$.fragment,e),fe(f),fe(p),l=!0)},o(e){pe(c),pe(u),pe(i.$$.fragment,e),pe(f),pe(p),l=!1},d(e){e&&(S(t),S(n),S(r),S(o),S(a),S(s)),c&&c.d(e),u&&u.d(e),we(i,e),d&&d.d(e),f&&f.d(e),p&&p.d(e)}}}function Ud(e){let t,n,i,r,o,a,s,l,c,u,d,f,p,g,h;t=new rn({props:{disable:e[12]}});let m=!e[25]&&Jd(e),v=!(e[20]||e[22])&&Yd(e),b=e[19]&&Qd(e);p=new rn({props:{disable:e[12],$$slots:{default:[ef]},$$scope:{ctx:e}}});let _=e[10]&&tf();return{c(){be(t.$$.fragment),n=P(),i=N("div"),r=N("div"),o=N("div"),a=N("div"),m&&m.c(),s=P(),l=N("div"),v&&v.c(),c=P(),u=N("div"),b&&b.c(),d=P(),f=N("div"),be(p.$$.fragment),g=P(),_&&_.c(),E(a,"class","fd-tool-layout__header-container"),E(o,"class","fd-tool-layout__container"),E(f,"class","lui-box svelte-qmtge1"),E(u,"class","fd-tool-layout__content-container svelte-qmtge1"),E(l,"class","fd-tool-layout__container lui-main-content"),E(r,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),E(i,"class","lui-core-layout svelte-qmtge1")},m(e,w){_e(t,e,w),C(e,n,w),C(e,i,w),y(i,r),y(r,o),y(o,a),m&&m.m(a,null),y(r,s),y(r,l),v&&v.m(l,null),y(l,c),y(l,u),b&&b.m(u,null),y(u,d),y(u,f),_e(p,f,null),y(f,g),_&&_.m(f,null),h=!0},p(e,n){const i={};4096&n[0]&&(i.disable=e[12]),t.$set(i),e[25]?m&&(ue(),pe(m,1,1,(()=>{m=null})),de()):m?(m.p(e,n),33554432&n[0]&&fe(m,1)):(m=Jd(e),m.c(),fe(m,1),m.m(a,null)),e[20]||e[22]?v&&(ue(),pe(v,1,1,(()=>{v=null})),de()):v?(v.p(e,n),5242880&n[0]&&fe(v,1)):(v=Yd(e),v.c(),fe(v,1),v.m(l,c)),e[19]?b?(b.p(e,n),524288&n[0]&&fe(b,1)):(b=Qd(e),b.c(),fe(b,1),b.m(u,d)):b&&(ue(),pe(b,1,1,(()=>{b=null})),de());const r={};4096&n[0]&&(r.disable=e[12]),1177600&n[0]|8&n[5]&&(r.$$scope={dirty:n,ctx:e}),p.$set(r),e[10]?_||(_=tf(),_.c(),_.m(f,null)):_&&(_.d(1),_=null)},i(e){h||(fe(t.$$.fragment,e),fe(m),fe(v),fe(b),fe(p.$$.fragment,e),h=!0)},o(e){pe(t.$$.fragment,e),pe(m),pe(v),pe(b),pe(p.$$.fragment,e),h=!1},d(e){e&&(S(n),S(i)),we(t,e),m&&m.d(),v&&v.d(),b&&b.d(),we(p),_&&_.d()}}}function Bd(e){let t,n,i,r,o,a,s;function l(t){e[83](t)}function c(t){e[84](t)}function u(t){e[85](t)}function d(t){e[86](t)}function f(t){e[87](t)}let p={hideSearchComponent:e[21],pathData:e[14],pathParams:e[13],burgerTooltip:e[18]};return void 0!==e[0]&&(p.isSearchFieldVisible=e[0]),void 0!==e[3]&&(p.displaySearchResult=e[3]),void 0!==e[4]&&(p.searchResult=e[4]),void 0!==e[1]&&(p.inputElem=e[1]),void 0!==e[2]&&(p.customSearchItemRendererSlot=e[2]),t=new mu({props:p}),Q.push((()=>ve(t,"isSearchFieldVisible",l))),Q.push((()=>ve(t,"displaySearchResult",c))),Q.push((()=>ve(t,"searchResult",u))),Q.push((()=>ve(t,"inputElem",d))),Q.push((()=>ve(t,"customSearchItemRendererSlot",f))),t.$on("handleClick",e[32]),t.$on("resizeTabNav",e[33]),t.$on("toggleSearch",e[6]),t.$on("closeSearchResult",e[7]),t.$on("handleSearchNavigation",e[8]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),s=!0},p(e,s){const l={};2097152&s[0]&&(l.hideSearchComponent=e[21]),16384&s[0]&&(l.pathData=e[14]),8192&s[0]&&(l.pathParams=e[13]),262144&s[0]&&(l.burgerTooltip=e[18]),!n&&1&s[0]&&(n=!0,l.isSearchFieldVisible=e[0],ie((()=>n=!1))),!i&&8&s[0]&&(i=!0,l.displaySearchResult=e[3],ie((()=>i=!1))),!r&&16&s[0]&&(r=!0,l.searchResult=e[4],ie((()=>r=!1))),!o&&2&s[0]&&(o=!0,l.inputElem=e[1],ie((()=>o=!1))),!a&&4&s[0]&&(a=!0,l.customSearchItemRendererSlot=e[2],ie((()=>a=!1))),t.$set(l)},i(e){s||(fe(t.$$.fragment,e),s=!0)},o(e){pe(t.$$.fragment,e),s=!1},d(e){we(t,e)}}}function qd(e){let t,n;return t=new mo({props:{pathData:e[14],pathParams:e[13],burgerTooltip:e[18]}}),t.$on("handleClick",e[32]),t.$on("resizeTabNav",e[33]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.pathData=e[14]),8192&n[0]&&(i.pathParams=e[13]),262144&n[0]&&(i.burgerTooltip=e[18]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function jd(e){let t,n;return t=new ti({props:{splitViewSettings:e[11].settings,collapsed:e[11].collapsed,nodepath:e[11].nodepath,disableBackdrop:e[12]}}),t.$on("iframeCreated",e[34]),t.$on("statusChanged",e[35]),t.$on("wcCreated",e[36]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};2048&n[0]&&(i.splitViewSettings=e[11].settings),2048&n[0]&&(i.collapsed=e[11].collapsed),2048&n[0]&&(i.nodepath=e[11].nodepath),4096&n[0]&&(i.disableBackdrop=e[12]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Hd(e){let t,n,i,r,o,a,s,l,c;n=new rn({props:{area:"main",disable:e[12]}});let u=e[11].displayed&&jd(e);return{c(){t=N("div"),be(n.$$.fragment),i=P(),r=N("div"),o=P(),u&&u.c(),a=I(),E(r,"class","wcContainer svelte-qmtge1"),E(t,"class","fd-page iframeContainer svelte-qmtge1"),E(t,"tabindex","0"),O(t,"lui-split-view",e[11].displayed),O(t,"lui-collapsed",e[11].collapsed)},m(d,f){C(d,t,f),_e(n,t,null),y(t,i),y(t,r),C(d,o,f),u&&u.m(d,f),C(d,a,f),s=!0,l||(c=_(e[47].call(null,t)),l=!0)},p(e,i){const r={};4096&i[0]&&(r.disable=e[12]),n.$set(r),(!s||2048&i[0])&&O(t,"lui-split-view",e[11].displayed),(!s||2048&i[0])&&O(t,"lui-collapsed",e[11].collapsed),e[11].displayed?u?(u.p(e,i),2048&i[0]&&fe(u,1)):(u=jd(e),u.c(),fe(u,1),u.m(a.parentNode,a)):u&&(ue(),pe(u,1,1,(()=>{u=null})),de())},i(e){s||(fe(n.$$.fragment,e),fe(u),s=!0)},o(e){pe(n.$$.fragment,e),pe(u),s=!1},d(e){e&&(S(t),S(o),S(a)),we(n),u&&u.d(e),l=!1,c()}}}function zd(e){let t;return{c(){t=N("div"),t.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',E(t,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),E(t,"aria-hidden","false"),E(t,"aria-label","Loading")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function Wd(e){let t,n,i,r;t=new xd({props:{pathData:e[14],pathParams:e[13]}}),t.$on("handleClick",e[32]);let o=e[19]&&Gd(e);return{c(){be(t.$$.fragment),n=P(),o&&o.c(),i=I()},m(e,a){_e(t,e,a),C(e,n,a),o&&o.m(e,a),C(e,i,a),r=!0},p(e,n){const r={};16384&n[0]&&(r.pathData=e[14]),8192&n[0]&&(r.pathParams=e[13]),t.$set(r),e[19]?o?(o.p(e,n),524288&n[0]&&fe(o,1)):(o=Gd(e),o.c(),fe(o,1),o.m(i.parentNode,i)):o&&(ue(),pe(o,1,1,(()=>{o=null})),de())},i(e){r||(fe(t.$$.fragment,e),fe(o),r=!0)},o(e){pe(t.$$.fragment,e),pe(o),r=!1},d(e){e&&(S(n),S(i)),we(t,e),o&&o.d(e)}}}function Gd(e){let t,n;return t=new kd({props:{pathData:e[14],pathParams:e[13]}}),t.$on("handleClick",e[32]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.pathData=e[14]),8192&n[0]&&(i.pathParams=e[13]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Kd(e){let t,n;return t=new od({props:{pathData:e[14],pathParams:e[13],resizeTabNavToggle:e[16]}}),t.$on("handleClick",e[32]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.pathData=e[14]),8192&n[0]&&(i.pathParams=e[13]),65536&n[0]&&(i.resizeTabNavToggle=e[16]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Jd(e){let t,n,i,r,o,a,s;function l(t){e[78](t)}function c(t){e[79](t)}function u(t){e[80](t)}function d(t){e[81](t)}function f(t){e[82](t)}let p={hideSearchComponent:e[21],pathData:e[14],pathParams:e[13],burgerTooltip:e[18]};return void 0!==e[0]&&(p.isSearchFieldVisible=e[0]),void 0!==e[3]&&(p.displaySearchResult=e[3]),void 0!==e[4]&&(p.searchResult=e[4]),void 0!==e[1]&&(p.inputElem=e[1]),void 0!==e[2]&&(p.customSearchItemRendererSlot=e[2]),t=new mu({props:p}),Q.push((()=>ve(t,"isSearchFieldVisible",l))),Q.push((()=>ve(t,"displaySearchResult",c))),Q.push((()=>ve(t,"searchResult",u))),Q.push((()=>ve(t,"inputElem",d))),Q.push((()=>ve(t,"customSearchItemRendererSlot",f))),t.$on("handleClick",e[32]),t.$on("resizeTabNav",e[33]),t.$on("toggleSearch",e[6]),t.$on("closeSearchResult",e[7]),t.$on("handleSearchNavigation",e[8]),{c(){be(t.$$.fragment)},m(e,n){_e(t,e,n),s=!0},p(e,s){const l={};2097152&s[0]&&(l.hideSearchComponent=e[21]),16384&s[0]&&(l.pathData=e[14]),8192&s[0]&&(l.pathParams=e[13]),262144&s[0]&&(l.burgerTooltip=e[18]),!n&&1&s[0]&&(n=!0,l.isSearchFieldVisible=e[0],ie((()=>n=!1))),!i&&8&s[0]&&(i=!0,l.displaySearchResult=e[3],ie((()=>i=!1))),!r&&16&s[0]&&(r=!0,l.searchResult=e[4],ie((()=>r=!1))),!o&&2&s[0]&&(o=!0,l.inputElem=e[1],ie((()=>o=!1))),!a&&4&s[0]&&(a=!0,l.customSearchItemRendererSlot=e[2],ie((()=>a=!1))),t.$set(l)},i(e){s||(fe(t.$$.fragment,e),s=!0)},o(e){pe(t.$$.fragment,e),s=!1},d(e){we(t,e)}}}function Yd(e){let t,n,i,r;return i=new mo({props:{pathData:e[14],pathParams:e[13],burgerTooltip:e[18]}}),i.$on("handleClick",e[32]),i.$on("resizeTabNav",e[33]),{c(){t=N("div"),n=N("div"),be(i.$$.fragment),E(n,"class","lui-box svelte-qmtge1"),E(t,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(e,o){C(e,t,o),y(t,n),_e(i,n,null),r=!0},p(e,t){const n={};16384&t[0]&&(n.pathData=e[14]),8192&t[0]&&(n.pathParams=e[13]),262144&t[0]&&(n.burgerTooltip=e[18]),i.$set(n)},i(e){r||(fe(i.$$.fragment,e),r=!0)},o(e){pe(i.$$.fragment,e),r=!1},d(e){e&&S(t),we(i)}}}function Qd(e){let t,n;return t=new kd({props:{pathData:e[14],pathParams:e[13]}}),t.$on("handleClick",e[32]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.pathData=e[14]),8192&n[0]&&(i.pathParams=e[13]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Zd(e){let t,n;return t=new od({props:{pathData:e[14],pathParams:e[13],resizeTabNavToggle:e[16]}}),t.$on("handleClick",e[32]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};16384&n[0]&&(i.pathData=e[14]),8192&n[0]&&(i.pathParams=e[13]),65536&n[0]&&(i.resizeTabNavToggle=e[16]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function Xd(e){let t,n;return t=new ti({props:{splitViewSettings:e[11].settings,collapsed:e[11].collapsed,nodepath:e[11].nodepath,disableBackdrop:e[12]}}),t.$on("iframeCreated",e[34]),t.$on("statusChanged",e[35]),t.$on("wcCreated",e[36]),{c(){be(t.$$.fragment)},m(e,i){_e(t,e,i),n=!0},p(e,n){const i={};2048&n[0]&&(i.splitViewSettings=e[11].settings),2048&n[0]&&(i.collapsed=e[11].collapsed),2048&n[0]&&(i.nodepath=e[11].nodepath),4096&n[0]&&(i.disableBackdrop=e[12]),t.$set(i)},i(e){n||(fe(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){we(t,e)}}}function ef(e){let t,n,i,r,o,a,s,l,c,u;n=new rn({props:{area:"main",disable:e[12]}});let d=e[15]&&!e[20]&&Zd(e),f=e[11].displayed&&Xd(e);return{c(){t=N("div"),be(n.$$.fragment),i=P(),r=N("div"),o=P(),d&&d.c(),a=P(),f&&f.c(),s=I(),E(r,"class","wcContainer svelte-qmtge1"),E(t,"class","fd-page iframeContainer svelte-qmtge1"),E(t,"tabindex","0"),O(t,"lui-split-view",e[11].displayed),O(t,"lui-collapsed",e[11].collapsed)},m(p,g){C(p,t,g),_e(n,t,null),y(t,i),y(t,r),C(p,o,g),d&&d.m(p,g),C(p,a,g),f&&f.m(p,g),C(p,s,g),l=!0,c||(u=_(e[47].call(null,t)),c=!0)},p(e,i){const r={};4096&i[0]&&(r.disable=e[12]),n.$set(r),(!l||2048&i[0])&&O(t,"lui-split-view",e[11].displayed),(!l||2048&i[0])&&O(t,"lui-collapsed",e[11].collapsed),e[15]&&!e[20]?d?(d.p(e,i),1081344&i[0]&&fe(d,1)):(d=Zd(e),d.c(),fe(d,1),d.m(a.parentNode,a)):d&&(ue(),pe(d,1,1,(()=>{d=null})),de()),e[11].displayed?f?(f.p(e,i),2048&i[0]&&fe(f,1)):(f=Xd(e),f.c(),fe(f,1),f.m(s.parentNode,s)):f&&(ue(),pe(f,1,1,(()=>{f=null})),de())},i(e){l||(fe(n.$$.fragment,e),fe(d),fe(f),l=!0)},o(e){pe(n.$$.fragment,e),pe(d),pe(f),l=!1},d(e){e&&(S(t),S(o),S(a),S(s)),we(n),d&&d.d(e),f&&f.d(e),c=!1,u()}}}function tf(e){let t;return{c(){t=N("div"),t.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',E(t,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),E(t,"aria-hidden","false"),E(t,"aria-label","Loading")},m(e,n){C(e,t,n)},d(e){e&&S(t)}}}function nf(e){let t,n,i,r,a,s,l,c,u,d,f,p=e[26]&&e[26].length&&Ad(e),g=me(e[28]),h=[];for(let o=0;o<g.length;o+=1)h[o]=Vd(Ld(e,g,o));const m=e=>pe(h[e],1,1,(()=>{h[e]=null}));let v=e[29].displayed&&e[29].settings.isDrawer&&Rd(e),b=e[27].displayed&&Od(e),_=e[17].displayed&&Fd(e);const w=[Ud,Md],k=[];return l=e[30]?0:1,c=k[l]=w[l](e),{c(){t=N("div"),p&&p.c(),n=P();for(let e=0;e<h.length;e+=1)h[e].c();i=P(),v&&v.c(),r=P(),b&&b.c(),a=P(),_&&_.c(),s=P(),c.c(),E(t,"id","app"),E(t,"configversion",e[24]),E(t,"class","svelte-qmtge1"),O(t,"vega",e[31]),O(t,"no-nav",e[20]),O(t,"no-side-nav",e[22]),O(t,"no-top-nav",e[25]),O(t,"no-animation",e[23]),O(t,"btp-layout",e[30])},m(o,c){C(o,t,c),p&&p.m(t,null),y(t,n);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(t,null);y(t,i),v&&v.m(t,null),y(t,r),b&&b.m(t,null),y(t,a),_&&_.m(t,null),y(t,s),k[l].m(t,null),u=!0,d||(f=[T(Td,"resize",e[37]),T(Td,"keydown",e[48])],d=!0)},p(e,o){if(e[26]&&e[26].length?p?(p.p(e,o),67108864&o[0]&&fe(p,1)):(p=Ad(e),p.c(),fe(p,1),p.m(t,n)):p&&(ue(),pe(p,1,1,(()=>{p=null})),de()),268439552&o[0]|3584&o[1]){let n;for(g=me(e[28]),n=0;n<g.length;n+=1){const r=Ld(e,g,n);h[n]?(h[n].p(r,o),fe(h[n],1)):(h[n]=Vd(r),h[n].c(),fe(h[n],1),h[n].m(t,i))}for(ue(),n=g.length;n<h.length;n+=1)m(n);de()}e[29].displayed&&e[29].settings.isDrawer?v?(v.p(e,o),536870912&o[0]&&fe(v,1)):(v=Rd(e),v.c(),fe(v,1),v.m(t,r)):v&&(ue(),pe(v,1,1,(()=>{v=null})),de()),e[27].displayed?b?(b.p(e,o),134217728&o[0]&&fe(b,1)):(b=Od(e),b.c(),fe(b,1),b.m(t,a)):b&&(ue(),pe(b,1,1,(()=>{b=null})),de()),e[17].displayed?_?(_.p(e,o),131072&o[0]&&fe(_,1)):(_=Fd(e),_.c(),fe(_,1),_.m(t,s)):_&&(ue(),pe(_,1,1,(()=>{_=null})),de()),c.p(e,o),(!u||16777216&o[0])&&E(t,"configversion",e[24]),(!u||1048576&o[0])&&O(t,"no-nav",e[20]),(!u||4194304&o[0])&&O(t,"no-side-nav",e[22]),(!u||33554432&o[0])&&O(t,"no-top-nav",e[25]),(!u||8388608&o[0])&&O(t,"no-animation",e[23])},i(e){if(!u){fe(p);for(let e=0;e<g.length;e+=1)fe(h[e]);fe(v),fe(b),fe(_),fe(c),u=!0}},o(e){pe(p),h=h.filter(Id);for(let t=0;t<h.length;t+=1)pe(h[t]);pe(v),pe(b),pe(_),pe(c),u=!1},d(e){e&&S(t),p&&p.d(),x(h,e),v&&v.d(),b&&b.d(),_&&_.d(),k[l].d(),d=!1,o(f)}}}function rf(e,t,n){const i=W();let r,o,a,s,l,c,u,d,f,p,g,h,m,v,b,_,w,y,C,S,x,N,k,P,I,T,L,A,{store:E}=t,{getTranslation:V}=t,R=!1,D={displayed:!1},O=!1,F=!0,M=!1,U=[],B={isDirty:!1,persistUrl:null},z=!1,K={},J=Ke.getConfigValue("settings.btpToolLayout")&&Et.requestExperimentalFeature("btpToolLayout",!0),Y="vega"===Ke.getConfigValue("settings.sideNav.style")||"vega"===Ke.getConfigValue("settings.userSettings.style"),{isSearchFieldVisible:Q}=t,{inputElem:Z}=t,{customSearchItemRendererSlot:X}=t,{displaySearchResult:ee}=t,{searchResult:te}=t,{storedUserSettings:ne}=t;const ie=async e=>{const t=e.iframe.luigi,n=t.currentNode&&t.currentNode.userSettingsGroup,i=await Ke.readUserSettings(),r=n&&"object"==typeof i&&null!==i,o=At.applyCoreStateData({isNavigateBack:M,viewStackSize:U.length,clientPermissions:t.nextViewUrl?t.nextClientPermissions:t.clientPermissions,thirdPartyCookieCheck:await Ke.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:r?i[n]:null,anchor:it.getAnchor(),cssVariables:await tt.getCSSVariables()});return At.specialIframeTypes.map((e=>e.iframeConfigKey)).forEach((t=>{o[t]=e[t]||!1})),o},re=async(e,t={})=>{if(!e.iframe)return void console.debug("iframe does not exist, not able to send context.");const n={msg:"luigi.init",context:JSON.stringify(Object.assign({},e.context||f,t)),nodeParams:JSON.stringify(Object.assign({},e.nodeParams||p)),pathParams:JSON.stringify(Object.assign({},e.pathParams||g)),searchParams:JSON.stringify(Object.assign({},Rt.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(await ie(e)),authData:Tt.getStoredAuthData()};e.iframe.luigi._lastUpdatedMessage=n,At.sendMessageToIframe(e.iframe,n)},oe=(e,t,n,i)=>{let r=de(e.params,n,i);const{preventHistoryEntry:o,preserveQueryParams:a,preventContextUpdate:s}=e.params,l={keepBrowserHistory:!o,navSync:F,preventContextUpdate:s};return r=Et.addLeadingSlash(r),r=a?Rt.composeSearchParamsToRoute(r):r,((e,t)=>{if(e.params.preserveView||e.params.viewgroup){const n=de(e.params),i=xt.getNodePath(m,h);U.push({path:t.iframe.luigi&&t.iframe.luigi.pathParams?Et.replaceVars(i,t.iframe.luigi.pathParams,":",!1):i,nextPath:n.startsWith("/")?n:"/"+n,context:f}),t.iframe.pv="pv"}})(e,t),xt.navigateTo(r,l)},ae=e=>e.split("?")[0],se=e=>new Promise(((t,n)=>{Re(e)?De().then((()=>{B&&B.dirtySet&&B.dirtySet.clear(),t()}),(()=>{n()})):t()})),le=()=>({get:()=>({unsavedChanges:B,hideNav:me,viewUrl:v,nodeParams:p,viewGroup:b,urlParamsRaw:h,currentNode:m,navigationPath:S,context:f,pathParams:g,hideGlobalSearch:ve,hideSideNav:be,isolateView:_,pageErrorHandler:w,previousNodeValues:y,mfSplitView:D,splitViewValues:r,splitViewIframe:c,splitViewWC:d,showLoadingIndicator:R,tabNav:k,isNavigateBack:M,goBackContext:C,isNavigationSyncEnabled:F}),set:e=>{e&&(n(23,_e=!1),Object.getOwnPropertyNames(e).forEach((t=>{"hideNav"===t?n(20,me=e.hideNav):"viewUrl"===t?v=e.viewUrl:"nodeParams"===t?p=e.nodeParams:"viewGroup"===t?b=e.viewGroup:"urlParamsRaw"===t?h=e.urlParamsRaw:"currentNode"===t?m=e.currentNode:"navigationPath"===t?n(14,S=e.navigationPath):"context"===t?f=e.context:"pathParams"===t?n(13,g=e.pathParams):"hideGlobalSearch"===t?n(21,ve=e.hideGlobalSearch):"hideSideNav"===t?(be!=e.hideSideNav&&(n(23,_e=!0),setTimeout((()=>{const e=document.querySelector("#app");e&&e.classList.remove("no-animation")}))),n(22,be=e.hideSideNav)):"isolateView"===t?_=e.isolateView:"pageErrorHandler"===t?w=e.pageErrorHandler:"previousNodeValues"===t?y=e.previousNodeValues:"mfSplitView"===t?n(11,D=e.mfSplitView):"splitViewValues"===t?r=e.splitViewValues:"splitViewIframe"===t?c=e.splitViewIframe:"splitViewWC"==t?d=e.splitViewWC:"showLoadingIndicator"===t?!0===e.showLoadingIndicator?(clearTimeout(A),A=setTimeout((()=>{n(10,R=!0)}),250)):(n(10,R=!1),clearTimeout(A)):"tabNav"===t?n(15,k=e.tabNav):"isNavigateBack"===t?M=e.isNavigateBack:"goBackContext"===t?C=e.goBackContext:"isNavigationSyncEnabled"===t&&(F=e.isNavigationSyncEnabled)})))},shouldShowUnsavedChangesModal:Re,getUnsavedChangesModalPromise:se,showUnsavedChangesModal:De,showAlert:Pe,prepareInternalData:ie,dispatch:i}),ce=(e,t)=>{Dt.doOnStoreChange(E,(()=>{const n=document.querySelector(".wcContainer");n&&(n.configChangedRequest=!0),Ne.deleteCache();const i=xt.getCurrentPath();xt.handleRouteChange(i,le(),e,t)}),["navigation.nodes"]),Rt.addRouteChangeListener(((n,i)=>{const{withoutSync:r,preventContextUpdate:o}=i||{};((e,t)=>{if(0===e.length)return!1;const n=t.startsWith("/")?t:`/${t}`,i=[...e].pop();return[ae(i.path),ae(i.nextPath)].includes(ae(n))})(U,n)||(U=[],rt.removeInactiveIframes(e));for(let e=Oe.length;e--;)qe(e);Xe.removeBackdrop(),he(),xt.handleRouteChange(n,le(),e,t,r,o)}))},ue=(e,t)=>Et.replaceVars(xt.getNodePath(e),t,":",!1),de=(e,t,n)=>{const i=t||m,r=n||g;let o=S;if(t){let e=t.parent;for(o=[t];e;)o.push(e),e=e.parent;o=[...o].reverse()}let a=e.link;if(e.fromVirtualTreeRoot){const t=[...o].reverse().find((e=>e.virtualTree));if(!t)return void console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");a=xt.concatenatePath(ue(t,r),e.link)}else if(e.fromParent)a=xt.concatenatePath(ue(i.parent,r),e.link);else if(e.fromClosestContext){const t=[...o].reverse().find((e=>e.navigationContext&&e.navigationContext.length>0));a=xt.concatenatePath(ue(t,r),e.link)}else if(e.fromContext){const t=e.fromContext,n=[...o].reverse().find((e=>t===e.navigationContext));a=xt.concatenatePath(ue(n,r),e.link)}else e.intent?a=Rt.getIntentPath(e.link):e.relative&&(a=xt.concatenatePath(ue(i,r),e.link));return e.nodeParams&&Object.keys(e.nodeParams).length>0&&(a+=a.includes("?")?"&":"?",Object.entries(e.nodeParams).forEach(((t,n)=>{a+=encodeURIComponent(Rt.getContentViewParamPrefix()+t[0])+"="+encodeURIComponent(t[1])+(n<Object.keys(e.nodeParams).length-1?"&":"")}))),a};G("handleNavigation",oe);const fe=e=>!!e||(console.warn("No search provider defined."),!1),pe=()=>{if(fe(I)&&(n(3,ee=!1),n(4,te=[]),X))for(;X.lastElementChild;)X.removeChild(X.lastElementChild)},ge=(e,t)=>{D.displayed?console.warn("Only one splitview can be opened at a time"):(n(11,D=$t.getDefaultData().mfSplitView),$t.open(le(),e,t))},he=()=>{$t.close(le())};let me,ve,be,_e,we,ye,Ce;const Se=()=>{document.body.classList.remove("lui-leftNavToggle")};let xe=[];const ke=(e,t)=>{if(e&&e.length>0)return e.filter((e=>e.settings.id===t))[0]},Pe=(e,t=!1)=>{const i=Ke.getConfigValue("settings.customAlertHandler");if(Et.isFunction(i)){const n=i(e,t);if(!1!==n)return n}const r=xe;return e.id||(e.id=Et.getRandomId()),e.id&&r&&ke(r,e.id)?(console.error(`The alert with id '${e.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(e.closeAfter&&setTimeout((()=>{ke(xe,e.id)&&Te(e.id)}),e.closeAfter),new Promise(((i,o)=>{n(26,xe=[...r||[],{displayed:!0,settings:e,openFromClient:t,promise:{resolve:i}}])})))},Te=(e,t)=>{const i=ke(xe,e);if(i)if(n(26,xe=xe.filter((t=>t.settings.id!==e))),i.openFromClient){const n=rt.getActiveIframe(x),i={msg:"luigi.ux.alert.hide",id:e,dismissKey:t};At.sendMessageToIframe(n,i)}else i.promise&&i.promise.resolve(t||e);else console.error("An unexisting alert has been dismissed.",xe,e)};let Le;const Ae=()=>{n(27,Le={displayed:!1,content:{},openFromClient:!1,promise:null})};Ae();const Ee=(e,t=!1,i)=>new Promise(((r,o)=>{n(27,Le={displayed:!0,settings:e,openFromClient:t,promise:{resolve:r,reject:o},targetIframe:i})})),Ve=e=>{const{promise:t,openFromClient:n,targetIframe:i}=Le;if(Ae(),e?t.resolve():t.reject(),n&&i){const t={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:e}};At.sendMessageToIframe(i,t)}},Re=e=>{if(B.dirtySet){if(e)return B.dirtySet.has(e);if(B.dirtySet.size>0)return!0}return!1},De=()=>Ee({header:Ze.getTranslation("luigi.unsavedChangesAlert.header"),body:Ze.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Ze.getTranslation("luigi.button.dismiss"),buttonConfirm:Ze.getTranslation("luigi.button.confirm")});G("getUnsavedChangesModalPromise",se);let Oe=[];const Fe=(e,t)=>{var i;if(void 0===e)return void n(28,Oe=[]);let r;if(n(28,Oe=Oe.filter(((t,n)=>(e===n&&(r=t),e!==n)))),null==(i=null==r?void 0:r.mfModal)?void 0:i.openerIframe){const e={msg:"luigi.navigation.modal.close",data:t};At.sendMessageToIframe(r.mfModal.openerIframe,e)}};Fe();const Me=async(e,t,i)=>{if(await Vt.shouldPreventNavigationForPath(e))return;const r={mfModal:{displayed:!0,nodepath:e,settings:t,openerIframe:i}};n(28,Oe=[...Oe,r]);Ke.getConfigBooleanValue("routing.showModalPathInUrl")&&1===Oe.length&&xt.appendModalDataToUrl(e,t)},Ue=(e,t)=>{n(28,Oe[t].modalIframe=e.detail.modalIframe,Oe),n(28,Oe[t].modalIframeData=e.detail.modalIframeData,Oe)},Be=(e,t)=>{n(28,Oe[t].modalWC=e.detail.modalWC,Oe),n(28,Oe[t].modalWCData=e.detail.modalWCData,Oe)},qe=(e,t,n)=>{const i=(e,t)=>{Ke.getConfigBooleanValue("routing.showModalPathInUrl")&&1===Oe.length&&xt.removeModalDataFromUrl(t),Fe(e,n)},r=Oe[e],o=Et.getRemotePromise(r.mfModal.settings.onClosePromiseId);r&&r.modalIframe?se(r.modalIframe.contentWindow).then((()=>{i(e,t),o&&o.doResolve(n)}),(()=>{})):r&&r.modalWC&&(i(e,t),o&&o.doResolve(n))};G("openViewInModal",Me);let je={};const He=()=>{n(29,je.displayed=!1,je),n(29,je.nodepath=void 0,je),n(29,je.settings={},je),n(12,o=!1)};He();const ze=async(e,t)=>{await Vt.shouldPreventNavigationForPath(e)||(n(29,je.displayed=!0,je),n(29,je.nodepath=e,je),n(29,je.settings=t,je),je.settings&&je.settings.backdrop&&n(12,o=!0))},We=(e=!1)=>{if(!(window.innerWidth>=Ie&&je.displayed&&je.settings)||je.settings.overlap)return;const t=document.querySelector(".iframeModalCtn._drawer");if(!t)return;const n=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(e)n.forEach((e=>{null==e||e.style.removeProperty("width")}));else{const{width:e}=getComputedStyle(t);n.forEach((t=>{Ge(t,e)}))}},Ge=(e,t)=>{e&&!e.style.getPropertyValue("width").includes("calc(")&&e.style.setProperty("width",`calc(${e.clientWidth}px - ${t})`)},Je=e=>{if(e&&e.detail&&void 0!==e.detail.activeDrawer&&(O=e.detail.activeDrawer),!O||e&&e.detail&&"modal"!==e.detail.type)try{a?se(a.contentWindow).then((()=>{He()}),(()=>{})):l&&se().then((()=>{He()}),(()=>{})),We(!0)}catch(t){console.log(t)}},Qe=e=>{let t=S;if(m){let e=m.parent;for(t=[m];e;)t.push(e),e=e.parent;t=[...t].reverse()}let n=e.link,i=ue(m,g);if(e.fromVirtualTreeRoot){const e=[...t].reverse().find((e=>e.virtualTree));if(!e)return void console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");const r=ue(e,g);n=i.split(r).join("")}else if(e.fromParent){const e=ue(m.parent,g);n=i.split(e).join("")}else if(e.fromClosestContext){const e=[...t].reverse().find((e=>e.navigationContext&&e.navigationContext.length>0)),r=ue(e,g);n=i.split(r).join("")}else if(e.fromContext){const r=e.fromContext,o=[...t].reverse().find((e=>r===e.navigationContext)),a=ue(o,g);n=i.split(a).join("")}else n=i;return n};G("store",E),G("getTranslation",V);const nt=e=>{P&&P.thirdPartyCookieErrorHandling&&Et.isFunction(P.thirdPartyCookieErrorHandling)&&P.thirdPartyCookieErrorHandling()};const st=async e=>{const t={link:e,relative:"/"!==e[0],intent:Rt.hasIntent(e)},n=de(t),i=!!n&&await at.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),n);return!!i&&i.isExistingRoute};j((()=>{if(tt._init(),I=Ke.getConfigValue("globalSearch.searchProvider"),N=Ke.getConfigValue("settings.responsiveNavigation"),we=window.innerWidth,"simple"===N){if(document.body.classList.add("lui-simpleSlideInNav"),Vt.getBurgerTooltipConfig()){const[e,t]=Vt.getBurgerTooltipConfig();e&&t&&n(18,T=document.body.classList.contains("lui-leftNavToggle")?e:t)}}else if("simpleMobileOnly"===N)document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Vt.getBurgerTooltipConfig()){const[e,t]=Vt.getBurgerTooltipConfig();if(e&&t){const i=JSON.parse(localStorage.getItem(Vt.COL_NAV_KEY));n(18,T=i?e:t)}}document.body.classList.add("lui-semiCollapsible")}P=Ke.getConfigValue("settings.thirdPartyCookieCheck"),P&&P.thirdPartyCookieScriptLocation&&setTimeout((()=>{let e=document.createElement("iframe");e.width="0px",e.height="0px",e.src=P.thirdPartyCookieScriptLocation,document.body.appendChild(e),e.onload=function(){setTimeout((()=>{"disabled"===Pd&&nt()})),document.body.removeChild(e)}}))})),H((()=>{We()})),q((()=>{n(19,L=Ke.getConfigValue("navigation.breadcrumbs")),I=Ke.getConfigValue("globalSearch.searchProvider"),n(24,ye=Ke.getConfigValue("tag")),n(25,Ce=Ke.getConfigValue("settings.header.disabled"))}));return e.$$set=e=>{"store"in e&&n(49,E=e.store),"getTranslation"in e&&n(50,V=e.getTranslation),"isSearchFieldVisible"in e&&n(0,Q=e.isSearchFieldVisible),"inputElem"in e&&n(1,Z=e.inputElem),"customSearchItemRendererSlot"in e&&n(2,X=e.customSearchItemRendererSlot),"displaySearchResult"in e&&n(3,ee=e.displaySearchResult),"searchResult"in e&&n(4,te=e.searchResult),"storedUserSettings"in e&&n(5,ne=e.storedUserSettings)},[Q,Z,X,ee,te,ne,()=>{n(0,Q=!Q),et.clearSearchField()},pe,e=>{let t=e.detail.node,n={params:{link:t.link,nodeParams:t.params}};oe(n)},()=>{n(17,K.displayed=!1,K)},R,D,o,g,S,k,z,K,T,L,me,ve,be,_e,ye,Ce,xe,Le,Oe,je,J,Y,e=>{const t=e.detail.node;se().then((()=>{if(Se(),t.openNodeInModal){const e=Rt.buildRoute(t,`/${t.pathSegment}`);Me(e,!0===t.openNodeInModal?{}:t.openNodeInModal)}else if(t.drawer){const e=Rt.buildRoute(t,`/${t.pathSegment}`);t.drawer.isDrawer=!0,ze(e,t.drawer)}else le().set({isNavigationSyncEnabled:!0}),xt.handleRouteClick(t,le())}),(()=>{}))},()=>{n(16,z=!z)},e=>{c=e.detail.splitViewIframe,u=e.detail.splitViewIframeData,n(11,D.collapsed=e.detail.collapsed,D)},e=>{void 0!==e.detail.displayed&&n(11,D.displayed=e.detail.displayed,D),void 0!==e.detail.collapsed&&n(11,D.collapsed=e.detail.collapsed,D)},e=>{d=e.detail.splitViewWC,e.detail.splitViewWCData,n(11,D.collapsed=e.detail.collapsed,D)},()=>{We();const e=window.innerWidth>=Ie&&we<Ie,t=window.innerWidth<Ie&&we>=Ie;(e||t)&&Se(),we=window.innerWidth},e=>{Te(e.detail.id,e.detail.dismissKey)},Ve,Ue,Be,qe,e=>{a=e.detail.modalIframe,s=e.detail.modalIframeData,We()},e=>{l=e.detail.modalWC,e.detail.modalWCData,We()},e=>{O=e.detail.activeDrawer},Je,function(e){sessionStorage.removeItem("historyState"),ot.shouldPreload=!0,ot.preload(!0),ot.shouldPreload=!1;const t=Ke.getConfigValue("navigation.defaults.isolateView"),i=Ke.getConfigValue("navigation.defaults.pageErrorHandler"),r=Ke.getConfigValue("navigation.defaults.runTimeErrorHandler"),o={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:t,defaultPageErrorHandler:i};Ze.addCurrentLocaleChangeListener((e=>{const t={msg:"luigi.current-locale-changed",currentLocale:e};At.broadcastMessageToAllIframes(t)})),Ot.addEventListener("popstate",(async e=>{const t=xe;if(!(t&&t.length>0))return;const i=t.map((e=>{if(e&&!e.openFromClient&&"number"==typeof e.settings.ttl){if(0===e.settings.ttl)return null;e.settings.ttl--}return e})).filter((e=>e));n(26,xe=i)})),Ot.addEventListener("message",(async t=>{const i=At.getValidMessageSource(t),l=Oe[Oe.length-1],d={modalIframe:l&&l.modalIframe,modalIframeData:l&&l.modalIframeData,drawerIframe:a,drawerIframeData:s,drawer:undefined,modal:undefined,splitViewIframe:c,splitViewIframeData:u,splitView:undefined};if(!i)return;i._ready=!0;const f=At.getSpecialIframeMessageSource(t,d),p=f&&f.length>0,g=Ke.getConfigValue("communication.skipEventsWhenInactive");if(g&&g.length>0&&!p&&i.contentWindow!==window&&!Et.isElementVisible(i)&&g.includes(t.data.msg))console.debug(`EVENT '${t.data.msg}' from inactive iframe -> SKIPPED`);else{if("custom"===t.data.msg){const e=Ke.getConfigValue("communication.customMessagesListeners")||{},n=$e.convertCustomMessageInternalToUser(t.data),r=e[n.id],o="luigi.updateUserSettings";if(K&&n.id===o)return void(r&&console.warn(`The key "${o}" is not allowed to use for custom messages.`));if("function"==typeof r){r(n,Ye.getMicrofrontends().find((e=>At.isMessageSource(t,e.container))),Et.removeInternalProperties(i.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${n.id}' does not exist. Make sure you provided the same id as in the config file.`)}if("luigi.init.ok"===t.data.msg&&(i.luigi.initOk=!0),"luigi.navigate.ok"===t.data.msg&&(i.luigi.viewUrl=i.luigi.nextViewUrl,i.luigi.nextViewUrl="",i.luigi.clientPermissions=i.luigi.nextClientPermissions,delete i.luigi.nextClientPermissions,o.navigateOk=!0,ot.preload()),"luigi.get-context"===t.data.msg){if(i.luigi.clientVersion=t.data.clientVersion,i.luigi.initOk=!1,p)f.forEach((async e=>{let t=d[e.dataKey].context;const n={...o,iframe:d[e.iframeKey],context:t,pathParams:d[e.dataKey].pathParams,nodeParams:d[e.dataKey].nodeParams,searchParams:Rt.prepareSearchParamsForClient(d[e.iframeKey].luigi.currentNode),modal:e.iframeKey.startsWith("modal"),drawer:e.iframeKey.startsWith("drawer"),splitView:e.iframeKey.startsWith("splitView")};await re(n,{})}));else if(o.iframe&&At.isMessageSource(t,o.iframe)){await re(o,{});(!m||!m.loadingIndicator||!1!==m.loadingIndicator.hideAutomatically)&&function(){const e=document.querySelector(".spinnerContainer.appSpinner");e&&e.classList.contains("fade-out")?(e.classList.remove("fade-out"),setTimeout((()=>{clearTimeout(A),n(10,R=!1)}),250)):clearTimeout(A)}(),ot.preload()}else if(i.luigi.preloading)await re({iframe:i,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let e=Mt.findActiveCustomUserSettingsIframe(t.source);if(e){let t=e.getAttribute("userSettingsGroup"),n={context:{userSettingsData:ne[t]},iframe:e};await re(n)}}ot.viewGroupLoaded(i)}if("luigi.show-loading-indicator"===t.data.msg&&n(10,R=!0),"luigi.hide-loading-indicator"===t.data.msg&&(clearTimeout(A),n(10,R=!1)),"luigi.navigation.open"===t.data.msg){M=!1;const n=window.location.href,r=p?i.luigi.currentNode:void 0,a=p?i.luigi.pathParams:void 0,s=t.data.params,{intent:l,newTab:c,modal:u,splitView:d,drawer:f,withoutSync:g}=s;let h=c||u||d||f;const m=()=>{const e=Et.getRemotePromise(t.data.remotePromiseId);e&&e.doResolve()},v=()=>{const e=Et.getRemotePromise(t.data.remotePromiseId);e&&e.doReject()},b=e=>{e&&n===window.location.href?v():m()};t.source!==window&&!l&&s.link&&(s.link=s.link.split("?")[0]);let _=de(t.data.params,r,a);if(h=h||l&&_.external,h){if(l&&_.external)return void xt.navigateToExternalLink({url:_.url,sameWindow:!_.openInNewTab});if(_=Et.addLeadingSlash(_),c)return await(async e=>{if(await Vt.shouldPreventNavigationForPath(e))return;Ke.getConfigValue("routing.useHashRouting")&&(e="#"+e),window.open(e,"_blank","noopener,noreferrer")})(_),void b();const t=await st(_);if(_=await Rt.handlePageNotFoundAndRetrieveRedirectPath(le(),_,t),!_)return void v();x=e,void 0!==u?(!u.keepPrevious&&Fe(),await Me(_,!0===u?{}:u,i),b()):void 0!==d?(await ge(_,d),b()):void 0!==f&&(He(),f.isDrawer=!0,await ze(_,f),b())}else se().then((()=>{F=!t.data.params.withoutSync,oe(t.data,o,r,a).then((()=>{b(!0)})).catch((()=>{v()})),Oe.forEach(((e,t)=>{qe(t)})),he(),Je(),F=!0})).catch((()=>{v()}))}if("luigi.navigation.back"===t.data.msg){const n=Oe[Oe.length-1],i=Oe.length>1&&Oe[Oe.length-2],r=t.data.goBackContext&&JSON.parse(t.data.goBackContext);if(At.isMessageSource(t,n&&n.modalIframe)){qe(Oe.length-1,!0,r);let e=o;if(i&&i.modalIframeData&&i.modalIframe){const t=i,n=t.modalIframeData;e={pathParams:n.pathParams,context:n.context,iframe:t.modalIframe}}e.iframe&&await re(e,{goBackContext:r})}else At.isMessageSource(t,c)?(he(),o.iframe&&await re(o,{goBackContext:r})):At.isMessageSource(t,a)?(O&&(O=!O),Je(),o.iframe&&await re(o,{goBackContext:r})):U&&U.length>0?se().then((()=>{rt.setActiveIframeToPrevious(e);const t=U.pop();o.iframe=rt.getActiveIframe(e),M=!0,C=r,oe({params:{link:t.path}},o)}),(()=>{})):(r&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if("luigi.navigation.currentRoute"===t.data.msg){const e=t.data.data,n={msg:"luigi.navigation.currentRoute.answer",data:{route:Qe(e),correlationId:e.id}};At.sendMessageToIframe(i,n)}if("luigi.auth.tokenIssued"===t.data.msg&&(e=>{const t={msg:"luigi.auth.tokenIssued",authData:e};At.broadcastMessageToAllIframes(t)})(t.data.authData),"luigi.navigation.updateModalDataPath"===t.data.msg){if(!Ke.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(p){const e=Et.addLeadingSlash(de(t.data.params,i.luigi.currentNode,i.luigi.pathParams));xt.updateModalDataInUrl(e,t.data.params.modal,t.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if("luigi.navigation.pathExists"===t.data.msg){const e=i.luigi.currentNode,n=i.luigi.pathParams,r=t.data.data,o=de(r,e,n),a=!!o&&await at.getNavigationPath(Ke.getConfigValueAsync("navigation.nodes"),o),s={msg:"luigi.navigation.pathExists.answer",data:{correlationId:r.id,pathExists:!!a&&a.isExistingRoute}};At.sendMessageToIframe(i,s)}if("luigi.set-page-dirty"===t.data.msg){if(!B.dirtySet){const e=new Set;e.add(t.source),B={dirtySet:e}}B.persistUrl=window.location.href,t.data.dirty?B.dirtySet.add(t.source):B.dirtySet.delete(t.source)}if("luigi.ux.confirmationModal.show"===t.data.msg){const n=t.data.data.settings;x=e,Ae(),Ee(n,!0,i).catch((()=>{}))}if("luigi.ux.alert.show"===t.data.msg){const{settings:n}=t.data.data;if(!n.text&&!Et.isFunction(Ke.getConfigValue("settings.customAlertHandler")))return void console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");x=e,Pe(n,!0).catch((()=>{}))}if("luigi.ux.set-current-locale"===t.data.msg)if(i.luigi.clientPermissions&&i.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:e}=t.data.data;e&&Ze.setCurrentLocale(e)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(P&&!P.thirdPartyCookieScriptLocation&&"luigi.third-party-cookie"===t.data.msg&&"disabled"===t.data.tpc&&nt(),"storage"===t.data.msg&&Ft.process(i.luigi.id,t.origin,t.data.data.id,t.data.data.operation,t.data.data.params),"luigi-runtime-error-handling"===t.data.msg){let e=i.luigi.currentNode;e&&e.runTimeErrorHandler&&Et.isFunction(e.runTimeErrorHandler.errorFn)?e.runTimeErrorHandler.errorFn(t.data.errorObj,e):r&&Et.isFunction(r.errorFn)&&r.errorFn(t.data.errorObj,e)}if("luigi.addSearchParams"===t.data.msg)if(i.luigi.currentNode.clientPermissions&&i.luigi.currentNode.clientPermissions.urlParameters){const{data:e,keepBrowserHistory:n}=t.data;Rt.addSearchParamsFromClient(i.luigi.currentNode,e,n)}else console.warn("No client permissions to add url parameter for this node.");if("luigi.addNodeParams"===t.data.msg){if(p)return;const{data:e,keepBrowserHistory:n}=t.data;it.addNodeParams(e,n)}if("luigi.setAnchor"===t.data.msg){const{anchor:e}=t.data;it.setAnchor(e)}if("luigi.setVGData"===t.data.msg){const e=t.data,n=Vt.findViewGroup(i.luigi.currentNode);if(n){Vt.getViewGroupSettings(n)._liveCustomData=e.data,Ke.configChanged("navigation.viewgroupdata")}}}})),ce(e,o)},e=>{e.keyCode===qt&&Oe&&Oe.length>0&&qe(Oe.length-1)},E,V,()=>{fe(I)&&n(0,Q=!1)},()=>{fe(I)&&Z&&(n(0,Q=!0),Z.focus())},()=>{fe(I)&&Z&&(n(1,Z.value="",Z),pe())},()=>{if(fe(I)&&Z)return Z.value},e=>{fe(I)&&Z&&(n(1,Z.value=e,Z),Et.isFunction(I.onInput)?I.onInput():console.error("onInput is not a function. Please check the global search configuration."))},e=>{fe(I)&&Z&&n(1,Z.placeholder=e,Z)},e=>{if(fe(I))if(e&&e.length>0)if(Et.isFunction(I.customSearchResultRenderer)){let t={fireItemSelected:e=>{I.onSearchResultItemSelected(e)}};I.customSearchResultRenderer(e,X,t)}else n(3,ee=!0),n(4,te=e);else console.warn("Search result array is empty.")},ge,he,()=>{$t.collapse(le()),n(11,D.collapsed=!0,D)},()=>{$t.expand(le()),n(11,D.collapsed=!1,D)},()=>!!D.displayed&&D.collapsed,()=>!!D.displayed&&!D.collapsed,()=>D.displayed,Pe,Ee,()=>B.dirtySet?B.dirtySet.size>0:B.isDirty,()=>{const e=Mt.processUserSettingGroups();Array.isArray(e)&&e.length>0?(n(17,K.userSettingGroups=[...e],K),n(17,K.displayed=!0,K)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},Qe,st,()=>Oe.length>0||0!==U.length,e=>qe(e,!0),(e,t)=>Ue(t,e),(e,t)=>Be(t,e),()=>Ve(!0),()=>Ve(!1),function(e){ne=e,n(5,ne)},function(e){Q=e,n(0,Q)},function(e){ee=e,n(3,ee)},function(e){te=e,n(4,te)},function(e){Z=e,n(1,Z)},function(e){X=e,n(2,X)},function(e){Q=e,n(0,Q)},function(e){ee=e,n(3,ee)},function(e){te=e,n(4,te)},function(e){Z=e,n(1,Z)},function(e){X=e,n(2,X)}]}class of extends Se{constructor(e){super(),Ce(this,e,rf,nf,s,{store:49,getTranslation:50,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:51,openSearchField:52,clearSearchField:53,toggleSearch:6,getGlobalSearchString:54,setGlobalSearchString:55,setSearchInputPlaceholder:56,showSearchResult:57,closeSearchResult:7,handleSearchNavigation:8,openSplitView:58,closeSplitView:59,collapseSplitView:60,expandSplitView:61,isSplitViewCollapsed:62,isSplitViewExpanded:63,existsSplitView:64,showAlert:65,showModal:66,getDirtyStatus:67,openUserSettings:68,closeUserSettings:9,buildPathForGetCurrentRoute:69,pathExists:70,hasBack:71},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[51]}get openSearchField(){return this.$$.ctx[52]}get clearSearchField(){return this.$$.ctx[53]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[54]}get setGlobalSearchString(){return this.$$.ctx[55]}get setSearchInputPlaceholder(){return this.$$.ctx[56]}get showSearchResult(){return this.$$.ctx[57]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[58]}get closeSplitView(){return this.$$.ctx[59]}get collapseSplitView(){return this.$$.ctx[60]}get expandSplitView(){return this.$$.ctx[61]}get isSplitViewCollapsed(){return this.$$.ctx[62]}get isSplitViewExpanded(){return this.$$.ctx[63]}get existsSplitView(){return this.$$.ctx[64]}get showAlert(){return this.$$.ctx[65]}get showModal(){return this.$$.ctx[66]}get getDirtyStatus(){return this.$$.ctx[67]}get openUserSettings(){return this.$$.ctx[68]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[69]}get pathExists(){return this.$$.ctx[70]}get hasBack(){return this.$$.ctx[71]}}const af=(()=>{const{subscribe:e,update:t,reset:n}=Be({}),i={};let r=[];return{subscribe:t=>{const n=e(t);return r.push(n),n},update:t,reset:n,subscribeToScope:(e,t)=>{let n=i[t];return n||(n=new Set,i[t]=n),n.add(e),()=>{n.delete(e)}},fire:(e,t)=>{let n=i[e];n&&[...n].forEach((e=>{e(t)}))},clear:()=>{r.forEach((e=>{e()})),r=[]}}})(),sf={subscribe:Be(((e,t,n)=>Ze.getTranslation(e,t,n)),lf).subscribe};var lf;Luigi._store=af;Ke.setConfigCallbacks((()=>new Promise((e=>{Ze._init(),Pt.init().then((()=>{setTimeout((()=>{let t;Ye.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),t=new of({target:Ye.getLuigiContainer(),props:{store:af,getTranslation:sf}}),Luigi.showAlert=e=>t.showAlert(e),Luigi.showConfirmationModal=e=>t.showModal(e),Luigi.closeSearchField=()=>t.closeSearchField(),Luigi.openSearchField=()=>t.openSearchField(),Luigi.getGlobalSearchString=()=>t.getGlobalSearchString(),Luigi.setGlobalSearchString=e=>{t.setGlobalSearchString(e)},Luigi.showSearchResult=e=>t.showSearchResult(e),Luigi.closeSearchResult=()=>{t.closeSearchResult()},Luigi.clearSearchField=()=>{t.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>t.closeSplitView(),collapse:()=>t.collapseSplitView(),expand:()=>t.expandSplitView(),isCollapsed:()=>t.isSplitViewCollapsed(),isExpanded:()=>t.isSplitViewExpanded(),exists:()=>t.existsSplitView()}},Luigi.pathExists=e=>t.pathExists(e),Luigi.hasBack=()=>t.hasBack(),Luigi.openUserSettings=()=>{t.openUserSettings()},Luigi.closeUserSettings=()=>{t.closeUserSettings()},Luigi.getDirtyStatus=()=>t.getDirtyStatus(),Luigi._app=t.$$,e()}))}))}))));
|
|
53
2
|
//# sourceMappingURL=luigi.js.map
|