@luigi-project/core 2.21.2-dev.20250371109 → 2.21.2-dev.20250380026

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/luigi.js CHANGED
@@ -1,4 +1,4 @@
1
- var ek=Object.defineProperty;var tk=(i,e,t)=>e in i?ek(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bn=(i,e,t)=>(tk(i,typeof e!="symbol"?e+"":e,t),t);function Ue(){}function nk(i,e){for(const t in e)i[t]=e[t];return i}function ik(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function J_(i){return i()}function Jf(){return Object.create(null)}function Qe(i){i.forEach(J_)}function Si(i){return typeof i=="function"}function Vt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ts;function it(i,e){return i===e?!0:(ts||(ts=document.createElement("a")),ts.href=e,i===ts.href)}function lk(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 Ci(i,e,t){i.$$.on_destroy.push(zo(e,t))}function hs(i,e,t,n){if(i){const l=j_(i,e,t,n);return i[0](l)}}function j_(i,e,t,n){return i[1]&&n?nk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function _s(i,e,t,n,l,r){if(l){const a=j_(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 Wn(i){return i??""}function Y_(i){return i&&Si(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 gt(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 rk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function Se(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function St(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ot(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 ak(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 Hn(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Qt(i,e,t){i.classList.toggle(e,!!t)}function sk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class Cr{constructor(e=!1){Bn(this,"is_svg",!1);Bn(this,"e");Bn(this,"n");Bn(this,"t");Bn(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=rk(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 ji(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 an(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=sk(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 Pt(i){return kl().$$.context.get(i)}function Ji(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _r=[],Ye=[];let mr=[];const Fo=[],ok=Promise.resolve();let Uo=!1;function uk(){Uo||(Uo=!0,ok.then(Go))}function Bo(i){mr.push(i)}function Ct(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++,ji(e),fk(e.$$)}}catch(e){throw _r.length=0,dr=0,e}for(ji(null),_r.length=0,dr=0;Ye.length;)Ye.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(),ji(i)}function fk(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Bo)}}function ck(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||Qe(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(ik(i)){const l=kl();if(i.then(r=>{ji(l),n(e.then,1,e.value,r),ji(null)},r=>{if(ji(l),n(e.catch,2,e.error,r),ji(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 Q_(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 yt(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(J_).filter(Si);i.$$.on_destroy?i.$$.on_destroy.push(...r):Qe(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(ck(t.after_update),Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function dk(i,e){i.$$.dirty[0]===-1&&(_r.push(i),uk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Mt(i,e,t,n,l,r,a=null,o=[-1]){const c=Xr;ji(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&&dk(i,g)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=ak(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()}ji(c)}class Ft{constructor(){Bn(this,"$$");Bn(this,"$$set")}$destroy(){Fe(this,1),this.$destroy=Ue}$on(e,t){if(!Si(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&&!lk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const hk="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(hk);class gk{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 gk;class _k{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new _k;class pk{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 pk;let mk=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=bn.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),Yi.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 ki.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),hn.unload(),qn.removeAllEventListeners();const e=Yi.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 mk;let bk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&hn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&hn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.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 te.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(),hn.resetExpirationChecks()}}}};const Z_=new bk,dn={desktopMinWidth:600},vk=[{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"}],wk={cssSelector:"[luigi-app-root]"},kk={cssSelector:"[luigi-app-loading-indicator]"};let Sk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(wk.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 Sk;class Ck{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Ln extends Ck{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 yk{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 $_=new yk,Pk={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"}}},Ik=Pk;class Nk{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ik,this.listeners={}}_init(){bn.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 x_=new Nk;class Tk{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 Lk=new Tk,hr=[];function Ak(i,e){return{subscribe:vr(i,e).subscribe}}function vr(i,e=Ue){let t;const n=new Set;function l(o){if(Vt(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 Ek{initial(){this.responsiveNavSetting=te.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<dn.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<dn.desktopMinWidth&&this.previousWindowWidth>=dn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>dn.desktopMinWidth&&this.previousWindowWidth>=dn.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 wi=new Ek;let Rk=class{constructor(){this.documentTitle=vr()}hideAppLoadingIndicator(){const e=document.querySelector(kk.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){wi.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 ep=new Rk;let Dk=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 tp=new Dk;let Vk=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.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=te.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!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.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(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.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=te.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")};bn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const np=new Vk;let Ok=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 ip=new Ok;let Mk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.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);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.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);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.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 te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.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 lp=new Mk,te=os,ki=Z_,Yi=X_,rp=$_,Et=x_,na=ep,Fk=tp,Ho=np,Ko=ip,gl=lp;window.Luigi=os;window.Luigi.auth=()=>Z_;window.Luigi.elements=()=>X_;window.Luigi.navigation=()=>$_;window.Luigi.i18n=()=>x_;window.Luigi.customMessages=()=>Lk;window.Luigi.ux=()=>ep;window.Luigi.globalSearch=()=>tp;window.Luigi.theming=()=>np;window.Luigi.featureToggles=()=>ip;window.Luigi.routing=()=>lp;class Uk{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:Et.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:Et.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){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){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return 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);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)}):e.iframe.addEventListener("load",()=>{e.iframe._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(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(I=>{Ee.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:I[N.userSettingsGroup]},internal:Ee.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(N.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 Uk;class Bk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.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 Bk;class Hk{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={...te.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.
1
+ var ek=Object.defineProperty;var tk=(i,e,t)=>e in i?ek(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bn=(i,e,t)=>(tk(i,typeof e!="symbol"?e+"":e,t),t);function Ue(){}function nk(i,e){for(const t in e)i[t]=e[t];return i}function ik(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function J_(i){return i()}function Jf(){return Object.create(null)}function Qe(i){i.forEach(J_)}function Si(i){return typeof i=="function"}function Vt(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 lk(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 Ci(i,e,t){i.$$.on_destroy.push(zo(e,t))}function hs(i,e,t,n){if(i){const l=j_(i,e,t,n);return i[0](l)}}function j_(i,e,t,n){return i[1]&&n?nk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function _s(i,e,t,n,l,r){if(l){const a=j_(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 Wn(i){return i??""}function Y_(i){return i&&Si(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 ht(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 rk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function Se(){return Ne("")}function ee(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 Ot(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 ak(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 Hn(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Yt(i,e,t){i.classList.toggle(e,!!t)}function sk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class Cr{constructor(e=!1){Bn(this,"is_svg",!1);Bn(this,"e");Bn(this,"n");Bn(this,"t");Bn(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=rk(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 ji(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 rn(i){kl().$$.on_mount.push(i)}function ea(i){kl().$$.after_update.push(i)}function ta(i){kl().$$.on_destroy.push(i)}function Qt(){const i=kl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=sk(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 Ji(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _r=[],Ye=[];let mr=[];const Fo=[],ok=Promise.resolve();let Uo=!1;function uk(){Uo||(Uo=!0,ok.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++,ji(e),fk(e.$$)}}catch(e){throw _r.length=0,dr=0,e}for(ji(null),_r.length=0,dr=0;Ye.length;)Ye.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(),ji(i)}function fk(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Bo)}}function ck(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||Qe(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(ik(i)){const l=kl();if(i.then(r=>{ji(l),n(e.then,1,e.value,r),ji(null)},r=>{if(ji(l),n(e.catch,2,e.error,r),ji(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 Q_(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(J_).filter(Si);i.$$.on_destroy?i.$$.on_destroy.push(...r):Qe(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(ck(t.after_update),Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function dk(i,e){i.$$.dirty[0]===-1&&(_r.push(i),uk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Mt(i,e,t,n,l,r,a=null,o=[-1]){const c=Xr;ji(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&&dk(i,g)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=ak(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()}ji(c)}class Ft{constructor(){Bn(this,"$$");Bn(this,"$$set")}$destroy(){Fe(this,1),this.$destroy=Ue}$on(e,t){if(!Si(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&&!lk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const hk="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(hk);class gk{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 gk;class _k{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new _k;class pk{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 pk;let mk=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=bn.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),Yi.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 ki.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),hn.unload(),qn.removeAllEventListeners();const e=Yi.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 mk;let bk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&hn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&hn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.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 te.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(),hn.resetExpirationChecks()}}}};const Z_=new bk,dn={desktopMinWidth:600},vk=[{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"}],wk={cssSelector:"[luigi-app-root]"},kk={cssSelector:"[luigi-app-loading-indicator]"};let Sk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(wk.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 Sk;class Ck{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Ln extends Ck{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 yk{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 $_=new yk,Pk={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"}}},Ik=Pk;class Nk{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ik,this.listeners={}}_init(){bn.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 x_=new Nk;class Tk{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 Lk=new Tk,hr=[];function Ak(i,e){return{subscribe:vr(i,e).subscribe}}function vr(i,e=Ue){let t;const n=new Set;function l(o){if(Vt(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 Ek{initial(){this.responsiveNavSetting=te.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<dn.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<dn.desktopMinWidth&&this.previousWindowWidth>=dn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>dn.desktopMinWidth&&this.previousWindowWidth>=dn.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 wi=new Ek;let Rk=class{constructor(){this.documentTitle=vr()}hideAppLoadingIndicator(){const e=document.querySelector(kk.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){wi.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 ep=new Rk;let Dk=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 tp=new Dk;let Vk=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.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=te.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!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.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(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.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=te.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")};bn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const np=new Vk;let Ok=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 ip=new Ok;let Mk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.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);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.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);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.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 te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.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 lp=new Mk,te=os,ki=Z_,Yi=X_,rp=$_,Et=x_,na=ep,Fk=tp,Ho=np,Ko=ip,gl=lp;window.Luigi=os;window.Luigi.auth=()=>Z_;window.Luigi.elements=()=>X_;window.Luigi.navigation=()=>$_;window.Luigi.i18n=()=>x_;window.Luigi.customMessages=()=>Lk;window.Luigi.ux=()=>ep;window.Luigi.globalSearch=()=>tp;window.Luigi.theming=()=>np;window.Luigi.featureToggles=()=>ip;window.Luigi.routing=()=>lp;class Uk{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:Et.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:Et.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){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){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return 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);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)}):e.iframe.addEventListener("load",()=>{e.iframe._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(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(I=>{Ee.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:I[N.userSettingsGroup]},internal:Ee.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(N.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 Uk;class Bk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.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 Bk;class Hk{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={...te.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
2
  Children nodes are redundant and ignored when virtualTree is enabled.
3
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
4
  Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
@@ -30,24 +30,24 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
30
30
  * Released under MIT license <https://lodash.com/license>
31
31
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
32
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,N=8,I=16,V=32,E=64,H=128,D=256,O=512,z=30,Y="...",Z=800,fe=16,Q=1,G=2,J=3,re=1/0,ce=9007199254740991,ne=17976931348623157e292,Pe=0/0,se=4294967295,ae=se-1,we=se>>>1,Je=[["ary",H],["bind",C],["bindKey",y],["curry",N],["curryRight",I],["flip",O],["partial",V],["partialRight",E],["rearg",D]],ye="[object Arguments]",Le="[object Array]",ze="[object AsyncFunction]",Ze="[object Boolean]",De="[object Date]",tt="[object DOMException]",rt="[object Error]",lt="[object Function]",pe="[object GeneratorFunction]",$e="[object Map]",zt="[object Number]",En="[object Null]",on="[object Object]",Gt="[object Promise]",Te="[object Proxy]",ut="[object RegExp]",st="[object Set]",Xt="[object String]",$t="[object Symbol]",Rn="[object Undefined]",Rt="[object WeakMap]",pn="[object WeakSet]",li="[object ArrayBuffer]",jt="[object DataView]",Cn="[object Float32Array]",yi="[object Float64Array]",Pi="[object Int8Array]",vn="[object Int16Array]",Ii="[object Int32Array]",Ni="[object Uint8Array]",Ti="[object Uint8ClampedArray]",Li="[object Uint16Array]",Ai="[object Uint32Array]",Sl=/\b__p \+= '';/g,Cl=/\b(__p \+=) '' \+/g,yl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ei=/&(?:amp|lt|gt|quot|#39);/g,Qi=/[&<>"']/g,Zi=RegExp(Ei.source),di=RegExp(Qi.source),Pl=/<%-([\s\S]+?)%>/g,Il=/<%([\s\S]+?)%>/g,Xi=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tl=/^\w*$/,Ll=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ri=/[\\^$.*+?()[\]{}|]/g,Al=RegExp(Ri.source),ri=/^\s+/,Di=/\s/,hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vi=/\{\n\/\* \[wrapped with (.+)\] \*/,gi=/,? & /,$i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,K=/[()=,{}\[\]\/\s]/,ke=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,je=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,Ut=/^\[object .+?Constructor\]$/,xt=/^0o[0-7]+$/i,yn=/^(?:0|[1-9]\d*)$/,_i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pi=/($^)/,El=/['\n\r\u2028\u2029\\]/g,Oi="\\ud800-\\udfff",Kl="\\u0300-\\u036f",yr="\\ufe20-\\ufe2f",wt="\\u20d0-\\u20ff",xi=Kl+yr+wt,$="\\u2700-\\u27bf",Bt="a-z\\xdf-\\xf6\\xf8-\\xff",Dn="\\xac\\xb1\\xd7\\xf7",Vn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sn="\\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=Dn+Vn+sn+Jl,Ir="['’]",ms="["+Oi+"]",la="["+el+"]",jl="["+xi+"]",Yl="\\d+",bs="["+$+"]",ra="["+Bt+"]",aa="[^"+Oi+el+Yl+$+Bt+Pr+"]",Ql="\\ud83c[\\udffb-\\udfff]",vs="(?:"+jl+"|"+Ql+")",Nr="[^"+Oi+"]",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+Oi+xi+ia+"]"),ue=/[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"],Ge=-1,Ie={};Ie[Cn]=Ie[yi]=Ie[Pi]=Ie[vn]=Ie[Ii]=Ie[Ni]=Ie[Ti]=Ie[Li]=Ie[Ai]=!0,Ie[ye]=Ie[Le]=Ie[li]=Ie[Ze]=Ie[jt]=Ie[De]=Ie[rt]=Ie[lt]=Ie[$e]=Ie[zt]=Ie[on]=Ie[ut]=Ie[st]=Ie[Xt]=Ie[Rt]=!1;var de={};de[ye]=de[Le]=de[li]=de[jt]=de[Ze]=de[De]=de[Cn]=de[yi]=de[Pi]=de[vn]=de[Ii]=de[$e]=de[zt]=de[on]=de[ut]=de[st]=de[Xt]=de[$t]=de[Ni]=de[Ti]=de[Li]=de[Ai]=!0,de[rt]=de[lt]=de[Rt]=!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"},It={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Kt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,Er=parseInt,Mi=typeof Qr=="object"&&Qr&&Qr.Object===Object&&Qr,Rr=typeof self=="object"&&self&&self.Object===Object&&self,We=Mi||Rr||Function("return this")(),Lt=e&&!e.nodeType&&e,Nt=Lt&&!0&&i&&!i.nodeType&&i,un=Nt&&Nt.exports===Lt,Pn=un&&Mi.process,en=function(){try{var X=Nt&&Nt.require&&Nt.require("util").types;return X||Pn&&Pn.binding&&Pn.binding("util")}catch{}}(),il=en&&en.isArrayBuffer,Xl=en&&en.isDate,Rl=en&&en.isMap,Ls=en&&en.isRegExp,$l=en&&en.isSet,ga=en&&en.isTypedArray;function gn(X,he,oe){switch(oe.length){case 0:return X.call(he);case 1:return X.call(he,oe[0]);case 2:return X.call(he,oe[0],oe[1]);case 3:return X.call(he,oe[0],oe[1],oe[2])}return X.apply(he,oe)}function Dl(X,he,oe,qe){for(var at=-1,Tt=X==null?0:X.length;++at<Tt;){var fn=X[at];he(qe,fn,oe(fn),X)}return qe}function Ht(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe&&he(X[oe],oe,X)!==!1;);return X}function Zn(X,he){for(var oe=X==null?0:X.length;oe--&&he(X[oe],oe,X)!==!1;);return X}function _a(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(!he(X[oe],oe,X))return!1;return!0}function ll(X,he){for(var oe=-1,qe=X==null?0:X.length,at=0,Tt=[];++oe<qe;){var fn=X[oe];he(fn,oe,X)&&(Tt[at++]=fn)}return Tt}function pa(X,he){var oe=X==null?0:X.length;return!!oe&&xl(X,he,0)>-1}function As(X,he,oe){for(var qe=-1,at=X==null?0:X.length;++qe<at;)if(oe(he,X[qe]))return!0;return!1}function Jt(X,he){for(var oe=-1,qe=X==null?0:X.length,at=Array(qe);++oe<qe;)at[oe]=he(X[oe],oe,X);return at}function rl(X,he){for(var oe=-1,qe=he.length,at=X.length;++oe<qe;)X[at+oe]=he[oe];return X}function Es(X,he,oe,qe){var at=-1,Tt=X==null?0:X.length;for(qe&&Tt&&(oe=X[++at]);++at<Tt;)oe=he(oe,X[at],at,X);return oe}function Pp(X,he,oe,qe){var at=X==null?0:X.length;for(qe&&at&&(oe=X[--at]);at--;)oe=he(oe,X[at],at,X);return oe}function Rs(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(he(X[oe],oe,X))return!0;return!1}var Ip=Ds("length");function Np(X){return X.split("")}function Tp(X){return X.match($i)||[]}function jo(X,he,oe){var qe;return oe(X,function(at,Tt,fn){if(he(at,Tt,fn))return qe=Tt,!1}),qe}function ma(X,he,oe,qe){for(var at=X.length,Tt=oe+(qe?1:-1);qe?Tt--:++Tt<at;)if(he(X[Tt],Tt,X))return Tt;return-1}function xl(X,he,oe){return he===he?Hp(X,he,oe):ma(X,Yo,oe)}function Lp(X,he,oe,qe){for(var at=oe-1,Tt=X.length;++at<Tt;)if(qe(X[at],he))return at;return-1}function Yo(X){return X!==X}function Qo(X,he){var oe=X==null?0:X.length;return oe?Os(X,he)/oe:Pe}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,oe,qe,at){return at(X,function(Tt,fn,Wt){oe=qe?(qe=!1,Tt):he(oe,Tt,fn,Wt)}),oe}function Ap(X,he){var oe=X.length;for(X.sort(he);oe--;)X[oe]=X[oe].value;return X}function Os(X,he){for(var oe,qe=-1,at=X.length;++qe<at;){var Tt=he(X[qe]);Tt!==t&&(oe=oe===t?Tt:oe+Tt)}return oe}function Ms(X,he){for(var oe=-1,qe=Array(X);++oe<X;)qe[oe]=he(oe);return qe}function Ep(X,he){return Jt(he,function(oe){return[oe,X[oe]]})}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(oe){return X[oe]})}function Dr(X,he){return X.has(he)}function $o(X,he){for(var oe=-1,qe=X.length;++oe<qe&&xl(he,X[oe],0)>-1;);return oe}function xo(X,he){for(var oe=X.length;oe--&&xl(he,X[oe],0)>-1;);return oe}function Rp(X,he){for(var oe=X.length,qe=0;oe--;)X[oe]===he&&++qe;return qe}var Dp=Vs(He),Vp=Vs(It);function Op(X){return"\\"+Ar[X]}function Mp(X,he){return X==null?t:X[he]}function er(X){return B.test(X)}function Fp(X){return ue.test(X)}function Up(X){for(var he,oe=[];!(he=X.next()).done;)oe.push(he.value);return oe}function Us(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe,at){oe[++he]=[at,qe]}),oe}function eu(X,he){return function(oe){return X(he(oe))}}function al(X,he){for(var oe=-1,qe=X.length,at=0,Tt=[];++oe<qe;){var fn=X[oe];(fn===he||fn===d)&&(X[oe]=d,Tt[at++]=oe)}return Tt}function ba(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++he]=qe}),oe}function Bp(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++he]=[qe,qe]}),oe}function Hp(X,he,oe){for(var qe=oe-1,at=X.length;++qe<at;)if(X[qe]===he)return qe;return-1}function Wp(X,he,oe){for(var qe=oe+1;qe--;)if(X[qe]===he)return qe;return qe}function tr(X){return er(X)?zp(X):Ip(X)}function ai(X){return er(X)?Gp(X):Np(X)}function tu(X){for(var he=X.length;he--&&Di.test(X.charAt(he)););return he}var qp=Vs(Kt);function zp(X){for(var he=Lr.lastIndex=0;Lr.test(X);)++he;return he}function Gp(X){return X.match(Lr)||[]}function Kp(X){return X.match(Ts)||[]}var Jp=function X(he){he=he==null?We:nr.defaults(We.Object(),he,nr.pick(We,Re));var oe=he.Array,qe=he.Date,at=he.Error,Tt=he.Function,fn=he.Math,Wt=he.Object,Bs=he.RegExp,jp=he.String,Xn=he.TypeError,va=oe.prototype,Yp=Tt.prototype,ir=Wt.prototype,wa=he["__core-js_shared__"],ka=Yp.toString,Dt=ir.hasOwnProperty,Qp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=ir.toString,Zp=ka.call(Wt),Xp=We._,$p=Bs("^"+ka.call(Dt).replace(Ri,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=un?he.Buffer:t,sl=he.Symbol,ya=he.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Wt.getPrototypeOf,Wt),lu=Wt.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(Wt,"defineProperty");return s({},"",{}),s}catch{}}(),xp=he.clearTimeout!==We.clearTimeout&&he.clearTimeout,em=qe&&qe.now!==We.Date.now&&qe.now,tm=he.setTimeout!==We.setTimeout&&he.setTimeout,Ta=fn.ceil,La=fn.floor,Hs=Wt.getOwnPropertySymbols,nm=Ca?Ca.isBuffer:t,su=he.isFinite,im=va.join,lm=eu(Wt.keys,Wt),cn=fn.max,wn=fn.min,rm=qe.now,am=he.parseInt,ou=fn.random,sm=va.reverse,Ws=Bl(he,"DataView"),Or=Bl(he,"Map"),qs=Bl(he,"Promise"),lr=Bl(he,"Set"),Mr=Bl(he,"WeakMap"),Fr=Bl(Wt,"create"),Aa=Mr&&new Mr,rr={},om=Hl(Ws),um=Hl(Or),fm=Hl(qs),cm=Hl(lr),dm=Hl(Mr),Ea=sl?sl.prototype:t,Ur=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(tn(s)&&!ot(s)&&!(s instanceof bt)){if(s instanceof $n)return s;if(Dt.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:Xi,variable:"",imports:{_:M}},M.prototype=Ra.prototype,M.prototype.constructor=M,$n.prototype=ar(Ra.prototype),$n.prototype.constructor=$n;function bt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function hm(){var s=new bt(this.__wrapped__);return s.__actions__=On(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=On(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=On(this.__views__),s}function gm(){if(this.__filtered__){var s=new bt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function _m(){var s=this.__wrapped__.value(),u=this.__dir__,_=ot(s),S=u<0,A=_?s.length:0,F=N1(0,A,this.__views__),q=F.start,j=F.end,x=j-q,ge=S?j:q-1,_e=this.__iteratees__,Ce=_e.length,Oe=0,Ke=wn(x,this.__takeCount__);if(!_||!S&&A==x&&Ke==x)return Du(s,this.__actions__);var xe=[];e:for(;x--&&Oe<Ke;){ge+=u;for(var dt=-1,et=s[ge];++dt<Ce;){var mt=_e[dt],kt=mt.iteratee,Jn=mt.type,Tn=kt(et);if(Jn==G)et=Tn;else if(!Tn){if(Jn==Q)continue e;break e}}xe[Oe++]=et}return xe}bt.prototype=ar(Ra.prototype),bt.prototype.constructor=bt;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 pm(){this.__data__=Fr?Fr(null):{},this.size=0}function mm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function bm(s){var u=this.__data__;if(Fr){var _=u[s];return _===c?t:_}return Dt.call(u,s)?u[s]:t}function vm(s){var u=this.__data__;return Fr?u[s]!==t:Dt.call(u,s)}function wm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Fr&&u===t?c:u,this}Ol.prototype.clear=pm,Ol.prototype.delete=mm,Ol.prototype.get=bm,Ol.prototype.has=vm,Ol.prototype.set=wm;function Fi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function km(){this.__data__=[],this.size=0}function Sm(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 Cm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function ym(s){return Da(this.__data__,s)>-1}function Pm(s,u){var _=this.__data__,S=Da(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Fi.prototype.clear=km,Fi.prototype.delete=Sm,Fi.prototype.get=Cm,Fi.prototype.has=ym,Fi.prototype.set=Pm;function Ui(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Im(){this.size=0,this.__data__={hash:new Ol,map:new(Or||Fi),string:new Ol}}function Nm(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Tm(s){return Ka(this,s).get(s)}function Lm(s){return Ka(this,s).has(s)}function Am(s,u){var _=Ka(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Ui.prototype.clear=Im,Ui.prototype.delete=Nm,Ui.prototype.get=Tm,Ui.prototype.has=Lm,Ui.prototype.set=Am;function Ml(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ui;++u<_;)this.add(s[u])}function Em(s){return this.__data__.set(s,c),this}function Rm(s){return this.__data__.has(s)}Ml.prototype.add=Ml.prototype.push=Em,Ml.prototype.has=Rm;function si(s){var u=this.__data__=new Fi(s);this.size=u.size}function Dm(){this.__data__=new Fi,this.size=0}function Vm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Om(s){return this.__data__.get(s)}function Mm(s){return this.__data__.has(s)}function Fm(s,u){var _=this.__data__;if(_ instanceof Fi){var S=_.__data__;if(!Or||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ui(S)}return _.set(s,u),this.size=_.size,this}si.prototype.clear=Dm,si.prototype.delete=Vm,si.prototype.get=Om,si.prototype.has=Mm,si.prototype.set=Fm;function fu(s,u){var _=ot(s),S=!_&&Wl(s),A=!_&&!S&&dl(s),F=!_&&!S&&!A&&fr(s),q=_||S||A||F,j=q?Ms(s.length,jp):[],x=j.length;for(var ge in s)(u||Dt.call(s,ge))&&!(q&&(ge=="length"||A&&(ge=="offset"||ge=="parent")||F&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||qi(ge,x)))&&j.push(ge);return j}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Um(s,u){return Ja(On(s),Fl(u,0,s.length))}function Bm(s){return Ja(On(s))}function zs(s,u,_){(_!==t&&!oi(s[u],_)||_===t&&!(u in s))&&Bi(s,u,_)}function Br(s,u,_){var S=s[u];(!(Dt.call(s,u)&&oi(S,_))||_===t&&!(u in s))&&Bi(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(oi(s[_][0],u))return _;return-1}function Hm(s,u,_,S){return ol(s,function(A,F,q){u(S,A,_(A),q)}),S}function du(s,u){return s&&bi(u,_n(u),s)}function Wm(s,u){return s&&bi(u,Fn(u),s)}function Bi(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=oe(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 q,j=u&g,x=u&p,ge=u&b;if(_&&(q=A?_(s,S,A,F):_(s)),q!==t)return q;if(!Yt(s))return s;var _e=ot(s);if(_e){if(q=L1(s),!j)return On(s,q)}else{var Ce=kn(s),Oe=Ce==lt||Ce==pe;if(dl(s))return Mu(s,j);if(Ce==on||Ce==ye||Oe&&!A){if(q=x||Oe?{}:tf(s),!j)return x?b1(s,Wm(q,s)):m1(s,du(q,s))}else{if(!de[Ce])return A?s:{};q=A1(s,Ce,j)}}F||(F=new si);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Ef(s)?s.forEach(function(et){q.add(xn(et,u,_,et,s,F))}):Lf(s)&&s.forEach(function(et,mt){q.set(mt,xn(et,u,_,mt,s,F))});var xe=ge?x?fo:uo:x?Fn:_n,dt=_e?t:xe(s);return Ht(dt||s,function(et,mt){dt&&(mt=et,et=s[mt]),Br(q,mt,xn(et,u,_,mt,s,F))}),q}function qm(s){var u=_n(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var S=_.length;if(s==null)return!S;for(s=Wt(s);S--;){var A=_[S],F=u[A],q=s[A];if(q===t&&!(A in s)||!F(q))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,q=!0,j=s.length,x=[],ge=u.length;if(!j)return x;_&&(u=Jt(u,zn(_))),S?(F=As,q=!1):u.length>=l&&(F=Dr,q=!1,u=new Ml(u));e:for(;++A<j;){var _e=s[A],Ce=_==null?_e:_(_e);if(_e=S||_e!==0?_e:0,q&&Ce===Ce){for(var Oe=ge;Oe--;)if(u[Oe]===Ce)continue e;x.push(_e)}else F(u,Ce,S)||x.push(_e)}return x}var ol=Wu(mi),_u=Wu(Js,!0);function zm(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],q=u(F);if(q!=null&&(j===t?q===q&&!Kn(q):_(q,j)))var j=q,x=F}return x}function Gm(s,u,_,S){var A=s.length;for(_=ct(_),_<0&&(_=-_>A?0:A+_),S=S===t||S>A?A:ct(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 mn(s,u,_,S,A){var F=-1,q=s.length;for(_||(_=R1),A||(A=[]);++F<q;){var j=s[F];u>0&&_(j)?u>1?mn(j,u-1,_,S,A):rl(A,j):S||(A[A.length]=j)}return A}var Ks=qu(),mu=qu(!0);function mi(s,u){return s&&Ks(s,u,_n)}function Js(s,u){return s&&mu(s,u,_n)}function Oa(s,u){return ll(u,function(_){return zi(s[_])})}function Ul(s,u){u=fl(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[vi(u[_++])];return _&&_==S?s:t}function bu(s,u,_){var S=u(s);return ot(s)?S:rl(S,_(s))}function In(s){return s==null?s===t?Rn:En:Vl&&Vl in Wt(s)?I1(s):B1(s)}function js(s,u){return s>u}function Km(s,u){return s!=null&&Dt.call(s,u)}function Jm(s,u){return s!=null&&u in Wt(s)}function jm(s,u,_){return s>=wn(u,_)&&s<cn(u,_)}function Ys(s,u,_){for(var S=_?As:pa,A=s[0].length,F=s.length,q=F,j=oe(F),x=1/0,ge=[];q--;){var _e=s[q];q&&u&&(_e=Jt(_e,zn(u))),x=wn(_e.length,x),j[q]=!_&&(u||A>=120&&_e.length>=120)?new Ml(q&&_e):t}_e=s[0];var Ce=-1,Oe=j[0];e:for(;++Ce<A&&ge.length<x;){var Ke=_e[Ce],xe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(Oe?Dr(Oe,xe):S(ge,xe,_))){for(q=F;--q;){var dt=j[q];if(!(dt?Dr(dt,xe):S(s[q],xe,_)))continue e}Oe&&Oe.push(xe),ge.push(Ke)}}return ge}function Ym(s,u,_,S){return mi(s,function(A,F,q){u(S,_(A),F,q)}),S}function Wr(s,u,_){u=fl(u,s),s=af(s,u);var S=s==null?s:s[vi(ti(u))];return S==null?t:gn(S,s,_)}function vu(s){return tn(s)&&In(s)==ye}function Qm(s){return tn(s)&&In(s)==li}function Zm(s){return tn(s)&&In(s)==De}function qr(s,u,_,S,A){return s===u?!0:s==null||u==null||!tn(s)&&!tn(u)?s!==s&&u!==u:Xm(s,u,_,S,qr,A)}function Xm(s,u,_,S,A,F){var q=ot(s),j=ot(u),x=q?Le:kn(s),ge=j?Le:kn(u);x=x==ye?on:x,ge=ge==ye?on:ge;var _e=x==on,Ce=ge==on,Oe=x==ge;if(Oe&&dl(s)){if(!dl(u))return!1;q=!0,_e=!1}if(Oe&&!_e)return F||(F=new si),q||fr(s)?$u(s,u,_,S,A,F):y1(s,u,x,_,S,A,F);if(!(_&m)){var Ke=_e&&Dt.call(s,"__wrapped__"),xe=Ce&&Dt.call(u,"__wrapped__");if(Ke||xe){var dt=Ke?s.value():s,et=xe?u.value():u;return F||(F=new si),A(dt,et,_,S,F)}}return Oe?(F||(F=new si),P1(s,u,_,S,A,F)):!1}function $m(s){return tn(s)&&kn(s)==$e}function Qs(s,u,_,S){var A=_.length,F=A,q=!S;if(s==null)return!F;for(s=Wt(s);A--;){var j=_[A];if(q&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++A<F;){j=_[A];var x=j[0],ge=s[x],_e=j[1];if(q&&j[2]){if(ge===t&&!(x in s))return!1}else{var Ce=new si;if(S)var Oe=S(ge,_e,x,s,u,Ce);if(!(Oe===t?qr(_e,ge,m|v,S,Ce):Oe))return!1}}return!0}function wu(s){if(!Yt(s)||V1(s))return!1;var u=zi(s)?$p:Ut;return u.test(Hl(s))}function xm(s){return tn(s)&&In(s)==ut}function e1(s){return tn(s)&&kn(s)==st}function t1(s){return tn(s)&&$a(s.length)&&!!Ie[In(s)]}function ku(s){return typeof s=="function"?s:s==null?Un:typeof s=="object"?ot(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!Kr(s))return lm(s);var u=[];for(var _ in Wt(s))Dt.call(s,_)&&_!="constructor"&&u.push(_);return u}function n1(s){if(!Yt(s))return U1(s);var u=Kr(s),_=[];for(var S in s)S=="constructor"&&(u||!Dt.call(s,S))||_.push(S);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,S=Mn(s)?oe(s.length):[];return ol(s,function(A,F,q){S[++_]=u(A,F,q)}),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(vi(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,q){if(A||(A=new si),Yt(F))i1(s,u,q,_,Ma,S,A);else{var j=S?S(mo(s,q),F,q+"",s,u,A):t;j===t&&(j=F),zs(s,q,j)}},Fn)}function i1(s,u,_,S,A,F,q){var j=mo(s,_),x=mo(u,_),ge=q.get(x);if(ge){zs(s,_,ge);return}var _e=F?F(j,x,_+"",s,u,q):t,Ce=_e===t;if(Ce){var Oe=ot(x),Ke=!Oe&&dl(x),xe=!Oe&&!Ke&&fr(x);_e=x,Oe||Ke||xe?ot(j)?_e=j:nn(j)?_e=On(j):Ke?(Ce=!1,_e=Mu(x,!0)):xe?(Ce=!1,_e=Fu(x,!0)):_e=[]:jr(x)||Wl(x)?(_e=j,Wl(j)?_e=Vf(j):(!Yt(j)||zi(j))&&(_e=tf(x))):Ce=!1}Ce&&(q.set(x,_e),A(_e,x,S,F,q),q.delete(x)),zs(s,_,_e)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,qi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Jt(u,function(F){return ot(F)?function(q){return Ul(q,F.length===1?F[0]:F)}:F}):u=[Un];var S=-1;u=Jt(u,zn(Xe()));var A=Su(s,function(F,q,j){var x=Jt(u,function(ge){return ge(F)});return{criteria:x,index:++S,value:F}});return Ap(A,function(F,q){return p1(F,q,_)})}function l1(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 q=u[S],j=Ul(s,q);_(j,q)&&zr(F,fl(q,s),j)}return F}function r1(s){return function(u){return Ul(u,s)}}function $s(s,u,_,S){var A=S?Lp:xl,F=-1,q=u.length,j=s;for(s===u&&(u=On(u)),_&&(j=Jt(s,zn(_)));++F<q;)for(var x=0,ge=u[F],_e=_?_(ge):ge;(x=A(j,_e,x,S))>-1;)j!==s&&Ia.call(j,x,1),Ia.call(s,x,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;qi(A)?Ia.call(s,A,1):no(s,A)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function a1(s,u,_,S){for(var A=-1,F=cn(Ta((u-s)/(_||1)),0),q=oe(F);F--;)q[S?F:++A]=s,s+=_;return q}function eo(s,u){var _="";if(!s||u<1||u>ce)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function ht(s,u){return bo(rf(s,u,Un),s+"")}function s1(s){return cu(cr(s))}function o1(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,q=F-1,j=s;j!=null&&++A<F;){var x=vi(u[A]),ge=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(A!=q){var _e=j[x];ge=S?S(_e,x,j):t,ge===t&&(ge=Yt(_e)?_e:qi(u[A+1])?[]:{})}Br(j,x,ge),j=j[x]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:Un,u1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:Un;function f1(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=oe(A);++S<A;)F[S]=s[S+u];return F}function c1(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<=we){for(;S<A;){var F=S+A>>>1,q=s[F];q!==null&&!Kn(q)&&(_?q<=u:q<u)?S=F+1:A=F}return A}return to(s,u,Un,_)}function to(s,u,_,S){var A=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,j=u===null,x=Kn(u),ge=u===t;A<F;){var _e=La((A+F)/2),Ce=_(s[_e]),Oe=Ce!==t,Ke=Ce===null,xe=Ce===Ce,dt=Kn(Ce);if(q)var et=S||xe;else ge?et=xe&&(S||Oe):j?et=xe&&Oe&&(S||!Ke):x?et=xe&&Oe&&!Ke&&(S||!dt):Ke||dt?et=!1:et=S?Ce<=u:Ce<u;et?A=_e+1:F=_e}return wn(F,ae)}function Au(s,u){for(var _=-1,S=s.length,A=0,F=[];++_<S;){var q=s[_],j=u?u(q):q;if(!_||!oi(j,x)){var x=j;F[A++]=q===0?0:q}}return F}function Eu(s){return typeof s=="number"?s:Kn(s)?Pe:+s}function Gn(s){if(typeof s=="string")return s;if(ot(s))return Jt(s,Gn)+"";if(Kn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-re?"-0":u}function ul(s,u,_){var S=-1,A=pa,F=s.length,q=!0,j=[],x=j;if(_)q=!1,A=As;else if(F>=l){var ge=u?null:S1(s);if(ge)return ba(ge);q=!1,A=Dr,x=new Ml}else x=u?[]:j;e:for(;++S<F;){var _e=s[S],Ce=u?u(_e):_e;if(_e=_||_e!==0?_e:0,q&&Ce===Ce){for(var Oe=x.length;Oe--;)if(x[Oe]===Ce)continue e;u&&x.push(Ce),j.push(_e)}else A(x,Ce,_)||(x!==j&&x.push(Ce),j.push(_e))}return j}function no(s,u){return u=fl(u,s),s=af(s,u),s==null||delete s[vi(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 bt&&(_=_.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=oe(S);++A<S;)for(var q=s[A],j=-1;++j<S;)j!=A&&(F[A]=Hr(F[A]||q,s[j],u,_));return ul(mn(F,1),u,_)}function Vu(s,u,_){for(var S=-1,A=s.length,F=u.length,q={};++S<A;){var j=S<F?u[S]:t;_(q,s[S],j)}return q}function lo(s){return nn(s)?s:[]}function ro(s){return typeof s=="function"?s:Un}function fl(s,u){return ot(s)?s:_o(s,u)?[s]:ff(At(s))}var d1=ht;function cl(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:ei(s,u,_)}var Ou=xp||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 h1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function g1(s){var u=new s.constructor(s.source,je.exec(s));return u.lastIndex=s.lastIndex,u}function _1(s){return Ur?Wt(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),q=u!==t,j=u===null,x=u===u,ge=Kn(u);if(!j&&!ge&&!F&&s>u||F&&q&&x&&!j&&!ge||S&&q&&x||!_&&x||!A)return 1;if(!S&&!F&&!ge&&s<u||ge&&_&&A&&!S&&!F||j&&_&&A||!q&&A||!x)return-1}return 0}function p1(s,u,_){for(var S=-1,A=s.criteria,F=u.criteria,q=A.length,j=_.length;++S<q;){var x=Uu(A[S],F[S]);if(x){if(S>=j)return x;var ge=_[S];return x*(ge=="desc"?-1:1)}}return s.index-u.index}function Bu(s,u,_,S){for(var A=-1,F=s.length,q=_.length,j=-1,x=u.length,ge=cn(F-q,0),_e=oe(x+ge),Ce=!S;++j<x;)_e[j]=u[j];for(;++A<q;)(Ce||A<F)&&(_e[_[A]]=s[A]);for(;ge--;)_e[j++]=s[A++];return _e}function Hu(s,u,_,S){for(var A=-1,F=s.length,q=-1,j=_.length,x=-1,ge=u.length,_e=cn(F-j,0),Ce=oe(_e+ge),Oe=!S;++A<_e;)Ce[A]=s[A];for(var Ke=A;++x<ge;)Ce[Ke+x]=u[x];for(;++q<j;)(Oe||A<F)&&(Ce[Ke+_[q]]=s[A++]);return Ce}function On(s,u){var _=-1,S=s.length;for(u||(u=oe(S));++_<S;)u[_]=s[_];return u}function bi(s,u,_,S){var A=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var j=u[F],x=S?S(_[j],s[j],j,_,s):t;x===t&&(x=s[j]),A?Bi(_,j,x):Br(_,j,x)}return _}function m1(s,u){return bi(s,go(s),u)}function b1(s,u){return bi(s,xu(s),u)}function Ba(s,u){return function(_,S){var A=ot(_)?Dl:Hm,F=u?u():{};return A(_,s,Xe(S,2),F)}}function sr(s){return ht(function(u,_){var S=-1,A=_.length,F=A>1?_[A-1]:t,q=A>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(A--,F):t,q&&Nn(_[0],_[1],q)&&(F=A<3?t:F,A=1),u=Wt(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(!Mn(_))return s(_,S);for(var A=_.length,F=u?A:-1,q=Wt(_);(u?F--:++F<A)&&S(q[F],F,q)!==!1;);return _}}function qu(s){return function(u,_,S){for(var A=-1,F=Wt(u),q=S(u),j=q.length;j--;){var x=q[s?j:++A];if(_(F[x],x,F)===!1)break}return u}}function v1(s,u,_){var S=u&C,A=Gr(s);function F(){var q=this&&this!==We&&this instanceof F?A:s;return q.apply(S?_:this,arguments)}return F}function zu(s){return function(u){u=At(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 w1(s,u,_){var S=Gr(s);function A(){for(var F=arguments.length,q=oe(F),j=F,x=ur(A);j--;)q[j]=arguments[j];var ge=F<3&&q[0]!==x&&q[F-1]!==x?[]:al(q,x);if(F-=ge.length,F<_)return Yu(s,u,Ha,A.placeholder,t,q,ge,t,t,_-F);var _e=this&&this!==We&&this instanceof A?S:s;return gn(_e,this,q)}return A}function Gu(s){return function(u,_,S){var A=Wt(u);if(!Mn(u)){var F=Xe(_,3);u=_n(u),_=function(j){return F(A[j],j,A)}}var q=s(u,_,S);return q>-1?A[F?u[q]:q]:t}}function Ku(s){return Wi(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&&!q&&Ga(F)=="wrapper")var q=new $n([],!0)}for(S=q?S:_;++S<_;){F=u[S];var j=Ga(F),x=j=="wrapper"?co(F):t;x&&po(x[0])&&x[1]==(H|N|V|D)&&!x[4].length&&x[9]==1?q=q[Ga(x[0])].apply(q,x[3]):q=F.length==1&&po(F)?q[j]():q.thru(F)}return function(){var ge=arguments,_e=ge[0];if(q&&ge.length==1&&ot(_e))return q.plant(_e).value();for(var Ce=0,Oe=_?u[Ce].apply(this,ge):_e;++Ce<_;)Oe=u[Ce].call(this,Oe);return Oe}})}function Ha(s,u,_,S,A,F,q,j,x,ge){var _e=u&H,Ce=u&C,Oe=u&y,Ke=u&(N|I),xe=u&O,dt=Oe?t:Gr(s);function et(){for(var mt=arguments.length,kt=oe(mt),Jn=mt;Jn--;)kt[Jn]=arguments[Jn];if(Ke)var Tn=ur(et),jn=Rp(kt,Tn);if(S&&(kt=Bu(kt,S,A,Ke)),F&&(kt=Hu(kt,F,q,Ke)),mt-=jn,Ke&&mt<ge){var ln=al(kt,Tn);return Yu(s,u,Ha,et.placeholder,_,kt,ln,j,x,ge-mt)}var ui=Ce?_:this,Ki=Oe?ui[s]:s;return mt=kt.length,j?kt=H1(kt,j):xe&&mt>1&&kt.reverse(),_e&&x<mt&&(kt.length=x),this&&this!==We&&this instanceof et&&(Ki=dt||Gr(Ki)),Ki.apply(ui,kt)}return et}function Ju(s,u){return function(_,S){return Ym(_,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 Wi(function(u){return u=Jt(u,zn(Xe())),ht(function(_){var S=this;return s(u,function(A){return gn(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 k1(s,u,_,S){var A=u&C,F=Gr(s);function q(){for(var j=-1,x=arguments.length,ge=-1,_e=S.length,Ce=oe(_e+x),Oe=this&&this!==We&&this instanceof q?F:s;++ge<_e;)Ce[ge]=S[ge];for(;x--;)Ce[ge++]=arguments[++j];return gn(Oe,A?_:this,Ce)}return q}function ju(s){return function(u,_,S){return S&&typeof S!="number"&&Nn(u,_,S)&&(_=S=t),u=Gi(u),_===t?(_=u,u=0):_=Gi(_),S=S===t?u<_?1:-1:Gi(S),a1(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,q,j,x,ge){var _e=u&N,Ce=_e?q:t,Oe=_e?t:q,Ke=_e?F:t,xe=_e?t:F;u|=_e?V:E,u&=~(_e?E:V),u&P||(u&=~(C|y));var dt=[s,u,A,Ke,Ce,xe,Oe,j,x,ge],et=_.apply(t,dt);return po(s)&&sf(et,dt),et.placeholder=S,of(et,s,u)}function oo(s){var u=fn[s];return function(_,S){if(_=ni(_),S=S==null?0:wn(ct(S),292),S&&su(_)){var A=(At(_)+"e").split("e"),F=u(A[0]+"e"+(+A[1]+S));return A=(At(F)+"e").split("e"),+(A[0]+"e"+(+A[1]-S))}return u(_)}}var S1=lr&&1/ba(new lr([,-0]))[1]==re?function(s){return new lr(s)}:Eo;function Qu(s){return function(u){var _=kn(u);return _==$e?Us(u):_==st?Bp(u):Ep(u,s(u))}}function Hi(s,u,_,S,A,F,q,j){var x=u&y;if(!x&&typeof s!="function")throw new Xn(a);var ge=S?S.length:0;if(ge||(u&=~(V|E),S=A=t),q=q===t?q:cn(ct(q),0),j=j===t?j:ct(j),ge-=A?A.length:0,u&E){var _e=S,Ce=A;S=A=t}var Oe=x?t:co(s),Ke=[s,u,_,S,A,_e,Ce,F,q,j];if(Oe&&F1(Ke,Oe),s=Ke[0],u=Ke[1],_=Ke[2],S=Ke[3],A=Ke[4],j=Ke[9]=Ke[9]===t?x?0:s.length:cn(Ke[9]-ge,0),!j&&u&(N|I)&&(u&=~(N|I)),!u||u==C)var xe=v1(s,u,_);else u==N||u==I?xe=w1(s,u,j):(u==V||u==(C|V))&&!A.length?xe=k1(s,u,_,S):xe=Ha.apply(t,Ke);var dt=Oe?Lu:sf;return of(dt(xe,Ke),s,u)}function Zu(s,u,_,S){return s===t||oi(s,ir[_])&&!Dt.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 C1(s){return jr(s)?t:s}function $u(s,u,_,S,A,F){var q=_&m,j=s.length,x=u.length;if(j!=x&&!(q&&x>j))return!1;var ge=F.get(s),_e=F.get(u);if(ge&&_e)return ge==u&&_e==s;var Ce=-1,Oe=!0,Ke=_&v?new Ml:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var xe=s[Ce],dt=u[Ce];if(S)var et=q?S(dt,xe,Ce,u,s,F):S(xe,dt,Ce,s,u,F);if(et!==t){if(et)continue;Oe=!1;break}if(Ke){if(!Rs(u,function(mt,kt){if(!Dr(Ke,kt)&&(xe===mt||A(xe,mt,_,S,F)))return Ke.push(kt)})){Oe=!1;break}}else if(!(xe===dt||A(xe,dt,_,S,F))){Oe=!1;break}}return F.delete(s),F.delete(u),Oe}function y1(s,u,_,S,A,F,q){switch(_){case jt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case li:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case Ze:case De:case zt:return oi(+s,+u);case rt:return s.name==u.name&&s.message==u.message;case ut:case Xt:return s==u+"";case $e:var j=Us;case st:var x=S&m;if(j||(j=ba),s.size!=u.size&&!x)return!1;var ge=q.get(s);if(ge)return ge==u;S|=v,q.set(s,u);var _e=$u(j(s),j(u),S,A,F,q);return q.delete(s),_e;case $t:if(Ur)return Ur.call(s)==Ur.call(u)}return!1}function P1(s,u,_,S,A,F){var q=_&m,j=uo(s),x=j.length,ge=uo(u),_e=ge.length;if(x!=_e&&!q)return!1;for(var Ce=x;Ce--;){var Oe=j[Ce];if(!(q?Oe in u:Dt.call(u,Oe)))return!1}var Ke=F.get(s),xe=F.get(u);if(Ke&&xe)return Ke==u&&xe==s;var dt=!0;F.set(s,u),F.set(u,s);for(var et=q;++Ce<x;){Oe=j[Ce];var mt=s[Oe],kt=u[Oe];if(S)var Jn=q?S(kt,mt,Oe,u,s,F):S(mt,kt,Oe,s,u,F);if(!(Jn===t?mt===kt||A(mt,kt,_,S,F):Jn)){dt=!1;break}et||(et=Oe=="constructor")}if(dt&&!et){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)&&(dt=!1)}return F.delete(s),F.delete(u),dt}function Wi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,_n,go)}function fo(s){return bu(s,Fn,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=rr[u],S=Dt.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=Dt.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 D1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=_n(s),_=u.length;_--;){var S=u[_],A=s[S];u[_]=[S,A,nf(A)]}return u}function Bl(s,u){var _=Mp(s,u);return wu(_)?_:t}function I1(s){var u=Dt.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=Wt(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,kn=In;(Ws&&kn(new Ws(new ArrayBuffer(1)))!=jt||Or&&kn(new Or)!=$e||qs&&kn(qs.resolve())!=Gt||lr&&kn(new lr)!=st||Mr&&kn(new Mr)!=Rt)&&(kn=function(s){var u=In(s),_=u==on?s.constructor:t,S=_?Hl(_):"";if(S)switch(S){case om:return jt;case um:return $e;case fm:return Gt;case cm:return st;case dm:return Rt}return u});function N1(s,u,_){for(var S=-1,A=_.length;++S<A;){var F=_[S],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=wn(u,s+q);break;case"takeRight":s=cn(s,u-q);break}}return{start:s,end:u}}function T1(s){var u=s.match(Vi);return u?u[1].split(gi):[]}function ef(s,u,_){u=fl(u,s);for(var S=-1,A=u.length,F=!1;++S<A;){var q=vi(u[S]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++S!=A?F:(A=s==null?0:s.length,!!A&&$a(A)&&qi(q,A)&&(ot(s)||Wl(s)))}function L1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Dt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!Kr(s)?ar(Pa(s)):{}}function A1(s,u,_){var S=s.constructor;switch(u){case li:return ao(s);case Ze:case De:return new S(+s);case jt:return h1(s,_);case Cn:case yi:case Pi:case vn:case Ii:case Ni:case Ti:case Li:case Ai:return Fu(s,_);case $e:return new S;case zt:case Xt:return new S(s);case ut:return g1(s);case st:return new S;case $t:return _1(s)}}function E1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(hi,`{
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,N=8,I=16,V=32,E=64,H=128,D=256,O=512,z=30,Y="...",Q=800,fe=16,Z=1,G=2,J=3,re=1/0,ce=9007199254740991,ne=17976931348623157e292,Pe=0/0,se=4294967295,ae=se-1,we=se>>>1,Je=[["ary",H],["bind",C],["bindKey",y],["curry",N],["curryRight",I],["flip",O],["partial",V],["partialRight",E],["rearg",D]],ye="[object Arguments]",Le="[object Array]",ze="[object AsyncFunction]",Ze="[object Boolean]",De="[object Date]",et="[object DOMException]",it="[object Error]",de="[object Function]",lt="[object GeneratorFunction]",Pt="[object Map]",an="[object Number]",En="[object Null]",on="[object Object]",zt="[object Promise]",Te="[object Proxy]",ot="[object RegExp]",at="[object Set]",Zt="[object String]",Xt="[object Symbol]",Rn="[object Undefined]",Rt="[object WeakMap]",pn="[object WeakSet]",li="[object ArrayBuffer]",Jt="[object DataView]",Cn="[object Float32Array]",yi="[object Float64Array]",Pi="[object Int8Array]",vn="[object Int16Array]",Ii="[object Int32Array]",Ni="[object Uint8Array]",Ti="[object Uint8ClampedArray]",Li="[object Uint16Array]",Ai="[object Uint32Array]",Sl=/\b__p \+= '';/g,Cl=/\b(__p \+=) '' \+/g,yl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ei=/&(?:amp|lt|gt|quot|#39);/g,Qi=/[&<>"']/g,Zi=RegExp(Ei.source),di=RegExp(Qi.source),Pl=/<%-([\s\S]+?)%>/g,Il=/<%([\s\S]+?)%>/g,Xi=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tl=/^\w*$/,Ll=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ri=/[\\^$.*+?()[\]{}|]/g,Al=RegExp(Ri.source),ri=/^\s+/,Di=/\s/,hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vi=/\{\n\/\* \[wrapped with (.+)\] \*/,gi=/,? & /,$i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,K=/[()=,{}\[\]\/\s]/,ke=/\\(\\)?/g,tt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,je=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,Ut=/^\[object .+?Constructor\]$/,$t=/^0o[0-7]+$/i,yn=/^(?:0|[1-9]\d*)$/,_i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pi=/($^)/,El=/['\n\r\u2028\u2029\\]/g,Oi="\\ud800-\\udfff",Kl="\\u0300-\\u036f",yr="\\ufe20-\\ufe2f",vt="\\u20d0-\\u20ff",xi=Kl+yr+vt,$="\\u2700-\\u27bf",Bt="a-z\\xdf-\\xf6\\xf8-\\xff",Dn="\\xac\\xb1\\xd7\\xf7",Vn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sn="\\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=Dn+Vn+sn+Jl,Ir="['’]",ms="["+Oi+"]",la="["+el+"]",jl="["+xi+"]",Yl="\\d+",bs="["+$+"]",ra="["+Bt+"]",aa="[^"+Oi+el+Yl+$+Bt+Pr+"]",Ql="\\ud83c[\\udffb-\\udfff]",vs="(?:"+jl+"|"+Ql+")",Nr="[^"+Oi+"]",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+Oi+xi+ia+"]"),ue=/[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"],Ge=-1,Ie={};Ie[Cn]=Ie[yi]=Ie[Pi]=Ie[vn]=Ie[Ii]=Ie[Ni]=Ie[Ti]=Ie[Li]=Ie[Ai]=!0,Ie[ye]=Ie[Le]=Ie[li]=Ie[Ze]=Ie[Jt]=Ie[De]=Ie[it]=Ie[de]=Ie[Pt]=Ie[an]=Ie[on]=Ie[ot]=Ie[at]=Ie[Zt]=Ie[Rt]=!1;var he={};he[ye]=he[Le]=he[li]=he[Jt]=he[Ze]=he[De]=he[Cn]=he[yi]=he[Pi]=he[vn]=he[Ii]=he[Pt]=he[an]=he[on]=he[ot]=he[at]=he[Zt]=he[Xt]=he[Ni]=he[Ti]=he[Li]=he[Ai]=!0,he[it]=he[de]=he[Rt]=!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"},It={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Gt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,Er=parseInt,Mi=typeof Qr=="object"&&Qr&&Qr.Object===Object&&Qr,Rr=typeof self=="object"&&self&&self.Object===Object&&self,We=Mi||Rr||Function("return this")(),Lt=e&&!e.nodeType&&e,Nt=Lt&&!0&&i&&!i.nodeType&&i,un=Nt&&Nt.exports===Lt,Pn=un&&Mi.process,xt=function(){try{var X=Nt&&Nt.require&&Nt.require("util").types;return X||Pn&&Pn.binding&&Pn.binding("util")}catch{}}(),il=xt&&xt.isArrayBuffer,Xl=xt&&xt.isDate,Rl=xt&&xt.isMap,Ls=xt&&xt.isRegExp,$l=xt&&xt.isSet,ga=xt&&xt.isTypedArray;function gn(X,ge,oe){switch(oe.length){case 0:return X.call(ge);case 1:return X.call(ge,oe[0]);case 2:return X.call(ge,oe[0],oe[1]);case 3:return X.call(ge,oe[0],oe[1],oe[2])}return X.apply(ge,oe)}function Dl(X,ge,oe,qe){for(var rt=-1,Tt=X==null?0:X.length;++rt<Tt;){var fn=X[rt];ge(qe,fn,oe(fn),X)}return qe}function Ht(X,ge){for(var oe=-1,qe=X==null?0:X.length;++oe<qe&&ge(X[oe],oe,X)!==!1;);return X}function Zn(X,ge){for(var oe=X==null?0:X.length;oe--&&ge(X[oe],oe,X)!==!1;);return X}function _a(X,ge){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(!ge(X[oe],oe,X))return!1;return!0}function ll(X,ge){for(var oe=-1,qe=X==null?0:X.length,rt=0,Tt=[];++oe<qe;){var fn=X[oe];ge(fn,oe,X)&&(Tt[rt++]=fn)}return Tt}function pa(X,ge){var oe=X==null?0:X.length;return!!oe&&xl(X,ge,0)>-1}function As(X,ge,oe){for(var qe=-1,rt=X==null?0:X.length;++qe<rt;)if(oe(ge,X[qe]))return!0;return!1}function Kt(X,ge){for(var oe=-1,qe=X==null?0:X.length,rt=Array(qe);++oe<qe;)rt[oe]=ge(X[oe],oe,X);return rt}function rl(X,ge){for(var oe=-1,qe=ge.length,rt=X.length;++oe<qe;)X[rt+oe]=ge[oe];return X}function Es(X,ge,oe,qe){var rt=-1,Tt=X==null?0:X.length;for(qe&&Tt&&(oe=X[++rt]);++rt<Tt;)oe=ge(oe,X[rt],rt,X);return oe}function Pp(X,ge,oe,qe){var rt=X==null?0:X.length;for(qe&&rt&&(oe=X[--rt]);rt--;)oe=ge(oe,X[rt],rt,X);return oe}function Rs(X,ge){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(ge(X[oe],oe,X))return!0;return!1}var Ip=Ds("length");function Np(X){return X.split("")}function Tp(X){return X.match($i)||[]}function jo(X,ge,oe){var qe;return oe(X,function(rt,Tt,fn){if(ge(rt,Tt,fn))return qe=Tt,!1}),qe}function ma(X,ge,oe,qe){for(var rt=X.length,Tt=oe+(qe?1:-1);qe?Tt--:++Tt<rt;)if(ge(X[Tt],Tt,X))return Tt;return-1}function xl(X,ge,oe){return ge===ge?Hp(X,ge,oe):ma(X,Yo,oe)}function Lp(X,ge,oe,qe){for(var rt=oe-1,Tt=X.length;++rt<Tt;)if(qe(X[rt],ge))return rt;return-1}function Yo(X){return X!==X}function Qo(X,ge){var oe=X==null?0:X.length;return oe?Os(X,ge)/oe:Pe}function Ds(X){return function(ge){return ge==null?t:ge[X]}}function Vs(X){return function(ge){return X==null?t:X[ge]}}function Zo(X,ge,oe,qe,rt){return rt(X,function(Tt,fn,Wt){oe=qe?(qe=!1,Tt):ge(oe,Tt,fn,Wt)}),oe}function Ap(X,ge){var oe=X.length;for(X.sort(ge);oe--;)X[oe]=X[oe].value;return X}function Os(X,ge){for(var oe,qe=-1,rt=X.length;++qe<rt;){var Tt=ge(X[qe]);Tt!==t&&(oe=oe===t?Tt:oe+Tt)}return oe}function Ms(X,ge){for(var oe=-1,qe=Array(X);++oe<X;)qe[oe]=ge(oe);return qe}function Ep(X,ge){return Kt(ge,function(oe){return[oe,X[oe]]})}function Xo(X){return X&&X.slice(0,tu(X)+1).replace(ri,"")}function zn(X){return function(ge){return X(ge)}}function Fs(X,ge){return Kt(ge,function(oe){return X[oe]})}function Dr(X,ge){return X.has(ge)}function $o(X,ge){for(var oe=-1,qe=X.length;++oe<qe&&xl(ge,X[oe],0)>-1;);return oe}function xo(X,ge){for(var oe=X.length;oe--&&xl(ge,X[oe],0)>-1;);return oe}function Rp(X,ge){for(var oe=X.length,qe=0;oe--;)X[oe]===ge&&++qe;return qe}var Dp=Vs(He),Vp=Vs(It);function Op(X){return"\\"+Ar[X]}function Mp(X,ge){return X==null?t:X[ge]}function er(X){return B.test(X)}function Fp(X){return ue.test(X)}function Up(X){for(var ge,oe=[];!(ge=X.next()).done;)oe.push(ge.value);return oe}function Us(X){var ge=-1,oe=Array(X.size);return X.forEach(function(qe,rt){oe[++ge]=[rt,qe]}),oe}function eu(X,ge){return function(oe){return X(ge(oe))}}function al(X,ge){for(var oe=-1,qe=X.length,rt=0,Tt=[];++oe<qe;){var fn=X[oe];(fn===ge||fn===d)&&(X[oe]=d,Tt[rt++]=oe)}return Tt}function ba(X){var ge=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++ge]=qe}),oe}function Bp(X){var ge=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++ge]=[qe,qe]}),oe}function Hp(X,ge,oe){for(var qe=oe-1,rt=X.length;++qe<rt;)if(X[qe]===ge)return qe;return-1}function Wp(X,ge,oe){for(var qe=oe+1;qe--;)if(X[qe]===ge)return qe;return qe}function tr(X){return er(X)?zp(X):Ip(X)}function ai(X){return er(X)?Gp(X):Np(X)}function tu(X){for(var ge=X.length;ge--&&Di.test(X.charAt(ge)););return ge}var qp=Vs(Gt);function zp(X){for(var ge=Lr.lastIndex=0;Lr.test(X);)++ge;return ge}function Gp(X){return X.match(Lr)||[]}function Kp(X){return X.match(Ts)||[]}var Jp=function X(ge){ge=ge==null?We:nr.defaults(We.Object(),ge,nr.pick(We,Re));var oe=ge.Array,qe=ge.Date,rt=ge.Error,Tt=ge.Function,fn=ge.Math,Wt=ge.Object,Bs=ge.RegExp,jp=ge.String,Xn=ge.TypeError,va=oe.prototype,Yp=Tt.prototype,ir=Wt.prototype,wa=ge["__core-js_shared__"],ka=Yp.toString,Dt=ir.hasOwnProperty,Qp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=ir.toString,Zp=ka.call(Wt),Xp=We._,$p=Bs("^"+ka.call(Dt).replace(Ri,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=un?ge.Buffer:t,sl=ge.Symbol,ya=ge.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Wt.getPrototypeOf,Wt),lu=Wt.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(Wt,"defineProperty");return s({},"",{}),s}catch{}}(),xp=ge.clearTimeout!==We.clearTimeout&&ge.clearTimeout,em=qe&&qe.now!==We.Date.now&&qe.now,tm=ge.setTimeout!==We.setTimeout&&ge.setTimeout,Ta=fn.ceil,La=fn.floor,Hs=Wt.getOwnPropertySymbols,nm=Ca?Ca.isBuffer:t,su=ge.isFinite,im=va.join,lm=eu(Wt.keys,Wt),cn=fn.max,wn=fn.min,rm=qe.now,am=ge.parseInt,ou=fn.random,sm=va.reverse,Ws=Bl(ge,"DataView"),Or=Bl(ge,"Map"),qs=Bl(ge,"Promise"),lr=Bl(ge,"Set"),Mr=Bl(ge,"WeakMap"),Fr=Bl(Wt,"create"),Aa=Mr&&new Mr,rr={},om=Hl(Ws),um=Hl(Or),fm=Hl(qs),cm=Hl(lr),dm=Hl(Mr),Ea=sl?sl.prototype:t,Ur=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(en(s)&&!st(s)&&!(s instanceof mt)){if(s instanceof $n)return s;if(Dt.call(s,"__wrapped__"))return cf(s)}return new $n(s)}var ar=function(){function s(){}return function(u){if(!jt(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:Xi,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 hm(){var s=new mt(this.__wrapped__);return s.__actions__=On(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=On(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=On(this.__views__),s}function gm(){if(this.__filtered__){var s=new mt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function _m(){var s=this.__wrapped__.value(),u=this.__dir__,_=st(s),S=u<0,A=_?s.length:0,F=N1(0,A,this.__views__),q=F.start,j=F.end,x=j-q,_e=S?j:q-1,pe=this.__iteratees__,Ce=pe.length,Oe=0,Ke=wn(x,this.__takeCount__);if(!_||!S&&A==x&&Ke==x)return Du(s,this.__actions__);var $e=[];e:for(;x--&&Oe<Ke;){_e+=u;for(var ct=-1,xe=s[_e];++ct<Ce;){var pt=pe[ct],wt=pt.iteratee,Jn=pt.type,Tn=wt(xe);if(Jn==G)xe=Tn;else if(!Tn){if(Jn==Z)continue e;break e}}$e[Oe++]=xe}return $e}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 pm(){this.__data__=Fr?Fr(null):{},this.size=0}function mm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function bm(s){var u=this.__data__;if(Fr){var _=u[s];return _===c?t:_}return Dt.call(u,s)?u[s]:t}function vm(s){var u=this.__data__;return Fr?u[s]!==t:Dt.call(u,s)}function wm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Fr&&u===t?c:u,this}Ol.prototype.clear=pm,Ol.prototype.delete=mm,Ol.prototype.get=bm,Ol.prototype.has=vm,Ol.prototype.set=wm;function Fi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function km(){this.__data__=[],this.size=0}function Sm(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 Cm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function ym(s){return Da(this.__data__,s)>-1}function Pm(s,u){var _=this.__data__,S=Da(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Fi.prototype.clear=km,Fi.prototype.delete=Sm,Fi.prototype.get=Cm,Fi.prototype.has=ym,Fi.prototype.set=Pm;function Ui(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Im(){this.size=0,this.__data__={hash:new Ol,map:new(Or||Fi),string:new Ol}}function Nm(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Tm(s){return Ka(this,s).get(s)}function Lm(s){return Ka(this,s).has(s)}function Am(s,u){var _=Ka(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Ui.prototype.clear=Im,Ui.prototype.delete=Nm,Ui.prototype.get=Tm,Ui.prototype.has=Lm,Ui.prototype.set=Am;function Ml(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ui;++u<_;)this.add(s[u])}function Em(s){return this.__data__.set(s,c),this}function Rm(s){return this.__data__.has(s)}Ml.prototype.add=Ml.prototype.push=Em,Ml.prototype.has=Rm;function si(s){var u=this.__data__=new Fi(s);this.size=u.size}function Dm(){this.__data__=new Fi,this.size=0}function Vm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Om(s){return this.__data__.get(s)}function Mm(s){return this.__data__.has(s)}function Fm(s,u){var _=this.__data__;if(_ instanceof Fi){var S=_.__data__;if(!Or||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ui(S)}return _.set(s,u),this.size=_.size,this}si.prototype.clear=Dm,si.prototype.delete=Vm,si.prototype.get=Om,si.prototype.has=Mm,si.prototype.set=Fm;function fu(s,u){var _=st(s),S=!_&&Wl(s),A=!_&&!S&&dl(s),F=!_&&!S&&!A&&fr(s),q=_||S||A||F,j=q?Ms(s.length,jp):[],x=j.length;for(var _e in s)(u||Dt.call(s,_e))&&!(q&&(_e=="length"||A&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||qi(_e,x)))&&j.push(_e);return j}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Um(s,u){return Ja(On(s),Fl(u,0,s.length))}function Bm(s){return Ja(On(s))}function zs(s,u,_){(_!==t&&!oi(s[u],_)||_===t&&!(u in s))&&Bi(s,u,_)}function Br(s,u,_){var S=s[u];(!(Dt.call(s,u)&&oi(S,_))||_===t&&!(u in s))&&Bi(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(oi(s[_][0],u))return _;return-1}function Hm(s,u,_,S){return ol(s,function(A,F,q){u(S,A,_(A),q)}),S}function du(s,u){return s&&bi(u,_n(u),s)}function Wm(s,u){return s&&bi(u,Fn(u),s)}function Bi(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=oe(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 q,j=u&g,x=u&p,_e=u&b;if(_&&(q=A?_(s,S,A,F):_(s)),q!==t)return q;if(!jt(s))return s;var pe=st(s);if(pe){if(q=L1(s),!j)return On(s,q)}else{var Ce=kn(s),Oe=Ce==de||Ce==lt;if(dl(s))return Mu(s,j);if(Ce==on||Ce==ye||Oe&&!A){if(q=x||Oe?{}:tf(s),!j)return x?b1(s,Wm(q,s)):m1(s,du(q,s))}else{if(!he[Ce])return A?s:{};q=A1(s,Ce,j)}}F||(F=new si);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Ef(s)?s.forEach(function(xe){q.add(xn(xe,u,_,xe,s,F))}):Lf(s)&&s.forEach(function(xe,pt){q.set(pt,xn(xe,u,_,pt,s,F))});var $e=_e?x?fo:uo:x?Fn:_n,ct=pe?t:$e(s);return Ht(ct||s,function(xe,pt){ct&&(pt=xe,xe=s[pt]),Br(q,pt,xn(xe,u,_,pt,s,F))}),q}function qm(s){var u=_n(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var S=_.length;if(s==null)return!S;for(s=Wt(s);S--;){var A=_[S],F=u[A],q=s[A];if(q===t&&!(A in s)||!F(q))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,q=!0,j=s.length,x=[],_e=u.length;if(!j)return x;_&&(u=Kt(u,zn(_))),S?(F=As,q=!1):u.length>=l&&(F=Dr,q=!1,u=new Ml(u));e:for(;++A<j;){var pe=s[A],Ce=_==null?pe:_(pe);if(pe=S||pe!==0?pe:0,q&&Ce===Ce){for(var Oe=_e;Oe--;)if(u[Oe]===Ce)continue e;x.push(pe)}else F(u,Ce,S)||x.push(pe)}return x}var ol=Wu(mi),_u=Wu(Js,!0);function zm(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],q=u(F);if(q!=null&&(j===t?q===q&&!Kn(q):_(q,j)))var j=q,x=F}return x}function Gm(s,u,_,S){var A=s.length;for(_=ft(_),_<0&&(_=-_>A?0:A+_),S=S===t||S>A?A:ft(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 mn(s,u,_,S,A){var F=-1,q=s.length;for(_||(_=R1),A||(A=[]);++F<q;){var j=s[F];u>0&&_(j)?u>1?mn(j,u-1,_,S,A):rl(A,j):S||(A[A.length]=j)}return A}var Ks=qu(),mu=qu(!0);function mi(s,u){return s&&Ks(s,u,_n)}function Js(s,u){return s&&mu(s,u,_n)}function Oa(s,u){return ll(u,function(_){return zi(s[_])})}function Ul(s,u){u=fl(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[vi(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?Rn:En:Vl&&Vl in Wt(s)?I1(s):B1(s)}function js(s,u){return s>u}function Km(s,u){return s!=null&&Dt.call(s,u)}function Jm(s,u){return s!=null&&u in Wt(s)}function jm(s,u,_){return s>=wn(u,_)&&s<cn(u,_)}function Ys(s,u,_){for(var S=_?As:pa,A=s[0].length,F=s.length,q=F,j=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=Kt(pe,zn(u))),x=wn(pe.length,x),j[q]=!_&&(u||A>=120&&pe.length>=120)?new Ml(q&&pe):t}pe=s[0];var Ce=-1,Oe=j[0];e:for(;++Ce<A&&_e.length<x;){var Ke=pe[Ce],$e=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(Oe?Dr(Oe,$e):S(_e,$e,_))){for(q=F;--q;){var ct=j[q];if(!(ct?Dr(ct,$e):S(s[q],$e,_)))continue e}Oe&&Oe.push($e),_e.push(Ke)}}return _e}function Ym(s,u,_,S){return mi(s,function(A,F,q){u(S,_(A),F,q)}),S}function Wr(s,u,_){u=fl(u,s),s=af(s,u);var S=s==null?s:s[vi(ti(u))];return S==null?t:gn(S,s,_)}function vu(s){return en(s)&&In(s)==ye}function Qm(s){return en(s)&&In(s)==li}function Zm(s){return en(s)&&In(s)==De}function qr(s,u,_,S,A){return s===u?!0:s==null||u==null||!en(s)&&!en(u)?s!==s&&u!==u:Xm(s,u,_,S,qr,A)}function Xm(s,u,_,S,A,F){var q=st(s),j=st(u),x=q?Le:kn(s),_e=j?Le:kn(u);x=x==ye?on:x,_e=_e==ye?on:_e;var pe=x==on,Ce=_e==on,Oe=x==_e;if(Oe&&dl(s)){if(!dl(u))return!1;q=!0,pe=!1}if(Oe&&!pe)return F||(F=new si),q||fr(s)?$u(s,u,_,S,A,F):y1(s,u,x,_,S,A,F);if(!(_&m)){var Ke=pe&&Dt.call(s,"__wrapped__"),$e=Ce&&Dt.call(u,"__wrapped__");if(Ke||$e){var ct=Ke?s.value():s,xe=$e?u.value():u;return F||(F=new si),A(ct,xe,_,S,F)}}return Oe?(F||(F=new si),P1(s,u,_,S,A,F)):!1}function $m(s){return en(s)&&kn(s)==Pt}function Qs(s,u,_,S){var A=_.length,F=A,q=!S;if(s==null)return!F;for(s=Wt(s);A--;){var j=_[A];if(q&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++A<F;){j=_[A];var x=j[0],_e=s[x],pe=j[1];if(q&&j[2]){if(_e===t&&!(x in s))return!1}else{var Ce=new si;if(S)var Oe=S(_e,pe,x,s,u,Ce);if(!(Oe===t?qr(pe,_e,m|v,S,Ce):Oe))return!1}}return!0}function wu(s){if(!jt(s)||V1(s))return!1;var u=zi(s)?$p:Ut;return u.test(Hl(s))}function xm(s){return en(s)&&In(s)==ot}function e1(s){return en(s)&&kn(s)==at}function t1(s){return en(s)&&$a(s.length)&&!!Ie[In(s)]}function ku(s){return typeof s=="function"?s:s==null?Un:typeof s=="object"?st(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!Kr(s))return lm(s);var u=[];for(var _ in Wt(s))Dt.call(s,_)&&_!="constructor"&&u.push(_);return u}function n1(s){if(!jt(s))return U1(s);var u=Kr(s),_=[];for(var S in s)S=="constructor"&&(u||!Dt.call(s,S))||_.push(S);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,S=Mn(s)?oe(s.length):[];return ol(s,function(A,F,q){S[++_]=u(A,F,q)}),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(vi(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,q){if(A||(A=new si),jt(F))i1(s,u,q,_,Ma,S,A);else{var j=S?S(mo(s,q),F,q+"",s,u,A):t;j===t&&(j=F),zs(s,q,j)}},Fn)}function i1(s,u,_,S,A,F,q){var j=mo(s,_),x=mo(u,_),_e=q.get(x);if(_e){zs(s,_,_e);return}var pe=F?F(j,x,_+"",s,u,q):t,Ce=pe===t;if(Ce){var Oe=st(x),Ke=!Oe&&dl(x),$e=!Oe&&!Ke&&fr(x);pe=x,Oe||Ke||$e?st(j)?pe=j:tn(j)?pe=On(j):Ke?(Ce=!1,pe=Mu(x,!0)):$e?(Ce=!1,pe=Fu(x,!0)):pe=[]:jr(x)||Wl(x)?(pe=j,Wl(j)?pe=Vf(j):(!jt(j)||zi(j))&&(pe=tf(x))):Ce=!1}Ce&&(q.set(x,pe),A(pe,x,S,F,q),q.delete(x)),zs(s,_,pe)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,qi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Kt(u,function(F){return st(F)?function(q){return Ul(q,F.length===1?F[0]:F)}:F}):u=[Un];var S=-1;u=Kt(u,zn(Xe()));var A=Su(s,function(F,q,j){var x=Kt(u,function(_e){return _e(F)});return{criteria:x,index:++S,value:F}});return Ap(A,function(F,q){return p1(F,q,_)})}function l1(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 q=u[S],j=Ul(s,q);_(j,q)&&zr(F,fl(q,s),j)}return F}function r1(s){return function(u){return Ul(u,s)}}function $s(s,u,_,S){var A=S?Lp:xl,F=-1,q=u.length,j=s;for(s===u&&(u=On(u)),_&&(j=Kt(s,zn(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=A(j,pe,x,S))>-1;)j!==s&&Ia.call(j,x,1),Ia.call(s,x,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;qi(A)?Ia.call(s,A,1):no(s,A)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function a1(s,u,_,S){for(var A=-1,F=cn(Ta((u-s)/(_||1)),0),q=oe(F);F--;)q[S?F:++A]=s,s+=_;return q}function eo(s,u){var _="";if(!s||u<1||u>ce)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function dt(s,u){return bo(rf(s,u,Un),s+"")}function s1(s){return cu(cr(s))}function o1(s,u){var _=cr(s);return Ja(_,Fl(u,0,_.length))}function zr(s,u,_,S){if(!jt(s))return s;u=fl(u,s);for(var A=-1,F=u.length,q=F-1,j=s;j!=null&&++A<F;){var x=vi(u[A]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(A!=q){var pe=j[x];_e=S?S(pe,x,j):t,_e===t&&(_e=jt(pe)?pe:qi(u[A+1])?[]:{})}Br(j,x,_e),j=j[x]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:Un,u1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:Un;function f1(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=oe(A);++S<A;)F[S]=s[S+u];return F}function c1(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<=we){for(;S<A;){var F=S+A>>>1,q=s[F];q!==null&&!Kn(q)&&(_?q<=u:q<u)?S=F+1:A=F}return A}return to(s,u,Un,_)}function to(s,u,_,S){var A=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,j=u===null,x=Kn(u),_e=u===t;A<F;){var pe=La((A+F)/2),Ce=_(s[pe]),Oe=Ce!==t,Ke=Ce===null,$e=Ce===Ce,ct=Kn(Ce);if(q)var xe=S||$e;else _e?xe=$e&&(S||Oe):j?xe=$e&&Oe&&(S||!Ke):x?xe=$e&&Oe&&!Ke&&(S||!ct):Ke||ct?xe=!1:xe=S?Ce<=u:Ce<u;xe?A=pe+1:F=pe}return wn(F,ae)}function Au(s,u){for(var _=-1,S=s.length,A=0,F=[];++_<S;){var q=s[_],j=u?u(q):q;if(!_||!oi(j,x)){var x=j;F[A++]=q===0?0:q}}return F}function Eu(s){return typeof s=="number"?s:Kn(s)?Pe:+s}function Gn(s){if(typeof s=="string")return s;if(st(s))return Kt(s,Gn)+"";if(Kn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-re?"-0":u}function ul(s,u,_){var S=-1,A=pa,F=s.length,q=!0,j=[],x=j;if(_)q=!1,A=As;else if(F>=l){var _e=u?null:S1(s);if(_e)return ba(_e);q=!1,A=Dr,x=new Ml}else x=u?[]:j;e:for(;++S<F;){var pe=s[S],Ce=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&Ce===Ce){for(var Oe=x.length;Oe--;)if(x[Oe]===Ce)continue e;u&&x.push(Ce),j.push(pe)}else A(x,Ce,_)||(x!==j&&x.push(Ce),j.push(pe))}return j}function no(s,u){return u=fl(u,s),s=af(s,u),s==null||delete s[vi(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=oe(S);++A<S;)for(var q=s[A],j=-1;++j<S;)j!=A&&(F[A]=Hr(F[A]||q,s[j],u,_));return ul(mn(F,1),u,_)}function Vu(s,u,_){for(var S=-1,A=s.length,F=u.length,q={};++S<A;){var j=S<F?u[S]:t;_(q,s[S],j)}return q}function lo(s){return tn(s)?s:[]}function ro(s){return typeof s=="function"?s:Un}function fl(s,u){return st(s)?s:_o(s,u)?[s]:ff(At(s))}var d1=dt;function cl(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:ei(s,u,_)}var Ou=xp||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 h1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function g1(s){var u=new s.constructor(s.source,je.exec(s));return u.lastIndex=s.lastIndex,u}function _1(s){return Ur?Wt(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),q=u!==t,j=u===null,x=u===u,_e=Kn(u);if(!j&&!_e&&!F&&s>u||F&&q&&x&&!j&&!_e||S&&q&&x||!_&&x||!A)return 1;if(!S&&!F&&!_e&&s<u||_e&&_&&A&&!S&&!F||j&&_&&A||!q&&A||!x)return-1}return 0}function p1(s,u,_){for(var S=-1,A=s.criteria,F=u.criteria,q=A.length,j=_.length;++S<q;){var x=Uu(A[S],F[S]);if(x){if(S>=j)return x;var _e=_[S];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Bu(s,u,_,S){for(var A=-1,F=s.length,q=_.length,j=-1,x=u.length,_e=cn(F-q,0),pe=oe(x+_e),Ce=!S;++j<x;)pe[j]=u[j];for(;++A<q;)(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,q=-1,j=_.length,x=-1,_e=u.length,pe=cn(F-j,0),Ce=oe(pe+_e),Oe=!S;++A<pe;)Ce[A]=s[A];for(var Ke=A;++x<_e;)Ce[Ke+x]=u[x];for(;++q<j;)(Oe||A<F)&&(Ce[Ke+_[q]]=s[A++]);return Ce}function On(s,u){var _=-1,S=s.length;for(u||(u=oe(S));++_<S;)u[_]=s[_];return u}function bi(s,u,_,S){var A=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var j=u[F],x=S?S(_[j],s[j],j,_,s):t;x===t&&(x=s[j]),A?Bi(_,j,x):Br(_,j,x)}return _}function m1(s,u){return bi(s,go(s),u)}function b1(s,u){return bi(s,xu(s),u)}function Ba(s,u){return function(_,S){var A=st(_)?Dl:Hm,F=u?u():{};return A(_,s,Xe(S,2),F)}}function sr(s){return dt(function(u,_){var S=-1,A=_.length,F=A>1?_[A-1]:t,q=A>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(A--,F):t,q&&Nn(_[0],_[1],q)&&(F=A<3?t:F,A=1),u=Wt(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(!Mn(_))return s(_,S);for(var A=_.length,F=u?A:-1,q=Wt(_);(u?F--:++F<A)&&S(q[F],F,q)!==!1;);return _}}function qu(s){return function(u,_,S){for(var A=-1,F=Wt(u),q=S(u),j=q.length;j--;){var x=q[s?j:++A];if(_(F[x],x,F)===!1)break}return u}}function v1(s,u,_){var S=u&C,A=Gr(s);function F(){var q=this&&this!==We&&this instanceof F?A:s;return q.apply(S?_:this,arguments)}return F}function zu(s){return function(u){u=At(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 jt(S)?S:_}}function w1(s,u,_){var S=Gr(s);function A(){for(var F=arguments.length,q=oe(F),j=F,x=ur(A);j--;)q[j]=arguments[j];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:al(q,x);if(F-=_e.length,F<_)return Yu(s,u,Ha,A.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==We&&this instanceof A?S:s;return gn(pe,this,q)}return A}function Gu(s){return function(u,_,S){var A=Wt(u);if(!Mn(u)){var F=Xe(_,3);u=_n(u),_=function(j){return F(A[j],j,A)}}var q=s(u,_,S);return q>-1?A[F?u[q]:q]:t}}function Ku(s){return Wi(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&&!q&&Ga(F)=="wrapper")var q=new $n([],!0)}for(S=q?S:_;++S<_;){F=u[S];var j=Ga(F),x=j=="wrapper"?co(F):t;x&&po(x[0])&&x[1]==(H|N|V|D)&&!x[4].length&&x[9]==1?q=q[Ga(x[0])].apply(q,x[3]):q=F.length==1&&po(F)?q[j]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&st(pe))return q.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,q,j,x,_e){var pe=u&H,Ce=u&C,Oe=u&y,Ke=u&(N|I),$e=u&O,ct=Oe?t:Gr(s);function xe(){for(var pt=arguments.length,wt=oe(pt),Jn=pt;Jn--;)wt[Jn]=arguments[Jn];if(Ke)var Tn=ur(xe),jn=Rp(wt,Tn);if(S&&(wt=Bu(wt,S,A,Ke)),F&&(wt=Hu(wt,F,q,Ke)),pt-=jn,Ke&&pt<_e){var nn=al(wt,Tn);return Yu(s,u,Ha,xe.placeholder,_,wt,nn,j,x,_e-pt)}var ui=Ce?_:this,Ki=Oe?ui[s]:s;return pt=wt.length,j?wt=H1(wt,j):$e&&pt>1&&wt.reverse(),pe&&x<pt&&(wt.length=x),this&&this!==We&&this instanceof xe&&(Ki=ct||Gr(Ki)),Ki.apply(ui,wt)}return xe}function Ju(s,u){return function(_,S){return Ym(_,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 Wi(function(u){return u=Kt(u,zn(Xe())),dt(function(_){var S=this;return s(u,function(A){return gn(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 k1(s,u,_,S){var A=u&C,F=Gr(s);function q(){for(var j=-1,x=arguments.length,_e=-1,pe=S.length,Ce=oe(pe+x),Oe=this&&this!==We&&this instanceof q?F:s;++_e<pe;)Ce[_e]=S[_e];for(;x--;)Ce[_e++]=arguments[++j];return gn(Oe,A?_:this,Ce)}return q}function ju(s){return function(u,_,S){return S&&typeof S!="number"&&Nn(u,_,S)&&(_=S=t),u=Gi(u),_===t?(_=u,u=0):_=Gi(_),S=S===t?u<_?1:-1:Gi(S),a1(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,q,j,x,_e){var pe=u&N,Ce=pe?q:t,Oe=pe?t:q,Ke=pe?F:t,$e=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var ct=[s,u,A,Ke,Ce,$e,Oe,j,x,_e],xe=_.apply(t,ct);return po(s)&&sf(xe,ct),xe.placeholder=S,of(xe,s,u)}function oo(s){var u=fn[s];return function(_,S){if(_=ni(_),S=S==null?0:wn(ft(S),292),S&&su(_)){var A=(At(_)+"e").split("e"),F=u(A[0]+"e"+(+A[1]+S));return A=(At(F)+"e").split("e"),+(A[0]+"e"+(+A[1]-S))}return u(_)}}var S1=lr&&1/ba(new lr([,-0]))[1]==re?function(s){return new lr(s)}:Eo;function Qu(s){return function(u){var _=kn(u);return _==Pt?Us(u):_==at?Bp(u):Ep(u,s(u))}}function Hi(s,u,_,S,A,F,q,j){var x=u&y;if(!x&&typeof s!="function")throw new Xn(a);var _e=S?S.length:0;if(_e||(u&=~(V|E),S=A=t),q=q===t?q:cn(ft(q),0),j=j===t?j:ft(j),_e-=A?A.length:0,u&E){var pe=S,Ce=A;S=A=t}var Oe=x?t:co(s),Ke=[s,u,_,S,A,pe,Ce,F,q,j];if(Oe&&F1(Ke,Oe),s=Ke[0],u=Ke[1],_=Ke[2],S=Ke[3],A=Ke[4],j=Ke[9]=Ke[9]===t?x?0:s.length:cn(Ke[9]-_e,0),!j&&u&(N|I)&&(u&=~(N|I)),!u||u==C)var $e=v1(s,u,_);else u==N||u==I?$e=w1(s,u,j):(u==V||u==(C|V))&&!A.length?$e=k1(s,u,_,S):$e=Ha.apply(t,Ke);var ct=Oe?Lu:sf;return of(ct($e,Ke),s,u)}function Zu(s,u,_,S){return s===t||oi(s,ir[_])&&!Dt.call(S,_)?u:s}function Xu(s,u,_,S,A,F){return jt(s)&&jt(u)&&(F.set(u,s),Ma(s,u,t,Xu,F),F.delete(u)),s}function C1(s){return jr(s)?t:s}function $u(s,u,_,S,A,F){var q=_&m,j=s.length,x=u.length;if(j!=x&&!(q&&x>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,Ke=_&v?new Ml:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var $e=s[Ce],ct=u[Ce];if(S)var xe=q?S(ct,$e,Ce,u,s,F):S($e,ct,Ce,s,u,F);if(xe!==t){if(xe)continue;Oe=!1;break}if(Ke){if(!Rs(u,function(pt,wt){if(!Dr(Ke,wt)&&($e===pt||A($e,pt,_,S,F)))return Ke.push(wt)})){Oe=!1;break}}else if(!($e===ct||A($e,ct,_,S,F))){Oe=!1;break}}return F.delete(s),F.delete(u),Oe}function y1(s,u,_,S,A,F,q){switch(_){case Jt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case li:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case Ze:case De:case an:return oi(+s,+u);case it:return s.name==u.name&&s.message==u.message;case ot:case Zt:return s==u+"";case Pt:var j=Us;case at:var x=S&m;if(j||(j=ba),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;S|=v,q.set(s,u);var pe=$u(j(s),j(u),S,A,F,q);return q.delete(s),pe;case Xt:if(Ur)return Ur.call(s)==Ur.call(u)}return!1}function P1(s,u,_,S,A,F){var q=_&m,j=uo(s),x=j.length,_e=uo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var Ce=x;Ce--;){var Oe=j[Ce];if(!(q?Oe in u:Dt.call(u,Oe)))return!1}var Ke=F.get(s),$e=F.get(u);if(Ke&&$e)return Ke==u&&$e==s;var ct=!0;F.set(s,u),F.set(u,s);for(var xe=q;++Ce<x;){Oe=j[Ce];var pt=s[Oe],wt=u[Oe];if(S)var Jn=q?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)){ct=!1;break}xe||(xe=Oe=="constructor")}if(ct&&!xe){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)&&(ct=!1)}return F.delete(s),F.delete(u),ct}function Wi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,_n,go)}function fo(s){return bu(s,Fn,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=rr[u],S=Dt.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=Dt.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 D1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=_n(s),_=u.length;_--;){var S=u[_],A=s[S];u[_]=[S,A,nf(A)]}return u}function Bl(s,u){var _=Mp(s,u);return wu(_)?_:t}function I1(s){var u=Dt.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=Wt(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,kn=In;(Ws&&kn(new Ws(new ArrayBuffer(1)))!=Jt||Or&&kn(new Or)!=Pt||qs&&kn(qs.resolve())!=zt||lr&&kn(new lr)!=at||Mr&&kn(new Mr)!=Rt)&&(kn=function(s){var u=In(s),_=u==on?s.constructor:t,S=_?Hl(_):"";if(S)switch(S){case om:return Jt;case um:return Pt;case fm:return zt;case cm:return at;case dm:return Rt}return u});function N1(s,u,_){for(var S=-1,A=_.length;++S<A;){var F=_[S],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=wn(u,s+q);break;case"takeRight":s=cn(s,u-q);break}}return{start:s,end:u}}function T1(s){var u=s.match(Vi);return u?u[1].split(gi):[]}function ef(s,u,_){u=fl(u,s);for(var S=-1,A=u.length,F=!1;++S<A;){var q=vi(u[S]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++S!=A?F:(A=s==null?0:s.length,!!A&&$a(A)&&qi(q,A)&&(st(s)||Wl(s)))}function L1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Dt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!Kr(s)?ar(Pa(s)):{}}function A1(s,u,_){var S=s.constructor;switch(u){case li:return ao(s);case Ze:case De:return new S(+s);case Jt:return h1(s,_);case Cn:case yi:case Pi:case vn:case Ii:case Ni:case Ti:case Li:case Ai:return Fu(s,_);case Pt:return new S;case an:case Zt:return new S(s);case ot:return g1(s);case at:return new S;case Xt:return _1(s)}}function E1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(hi,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function R1(s){return ot(s)||Wl(s)||!!(au&&s&&s[au])}function qi(s,u){var _=typeof s;return u=u??ce,!!u&&(_=="number"||_!="symbol"&&yn.test(s))&&s>-1&&s%1==0&&s<u}function Nn(s,u,_){if(!Yt(_))return!1;var S=typeof u;return(S=="number"?Mn(_)&&qi(u,_.length):S=="string"&&u in _)?oi(_[u],s):!1}function _o(s,u){if(ot(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 Wt(u)}function D1(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 bt.prototype))return!1;if(s===_)return!0;var S=co(_);return!!S&&s===S[0]}function V1(s){return!!nu&&nu in s}var O1=wa?zi: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 Wt(_))}}function M1(s){var u=Za(s,function(S){return _.size===h&&_.clear(),S}),_=u.cache;return u}function F1(s,u){var _=s[1],S=u[1],A=_|S,F=A<(C|y|H),q=S==H&&_==N||S==H&&_==D&&s[7].length<=u[8]||S==(H|D)&&u[7].length<=u[8]&&_==N;if(!(F||q))return s;S&C&&(s[2]=u[2],A|=_&C?0:P);var j=u[3];if(j){var x=s[3];s[3]=x?Bu(x,j,u[4]):j,s[4]=x?al(s[3],d):u[4]}return j=u[5],j&&(x=s[5],s[5]=x?Hu(x,j,u[6]):j,s[6]=x?al(s[5],d):u[6]),j=u[7],j&&(s[7]=j),S&H&&(s[8]=s[8]==null?u[8]:wn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=A,s}function U1(s){var u=[];if(s!=null)for(var _ in Wt(s))u.push(_);return u}function B1(s){return Sa.call(s)}function rf(s,u,_){return u=cn(u===t?s.length-1:u,0),function(){for(var S=arguments,A=-1,F=cn(S.length-u,0),q=oe(F);++A<F;)q[A]=S[u+A];A=-1;for(var j=oe(u+1);++A<u;)j[A]=S[A];return j[u]=_(q),gn(s,this,j)}}function af(s,u){return u.length<2?s:Ul(s,ei(u,0,-1))}function H1(s,u){for(var _=s.length,S=wn(u.length,_),A=On(s);S--;){var F=u[S];s[S]=qi(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=tm||function(s,u){return We.setTimeout(s,u)},bo=uf(u1);function of(s,u,_){var S=u+"";return bo(s,E1(S,W1(T1(S),_)))}function uf(s){var u=0,_=0;return function(){var S=rm(),A=fe-(S-_);if(_=S,A>0){if(++u>=Z)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),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var ff=M1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Ll,function(_,S,A,F){u.push(A?F.replace(ke,"$1"):S||_)}),u});function vi(s){if(typeof s=="string"||Kn(s))return s;var u=s+"";return u=="0"&&1/s==-re?"-0":u}function Hl(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function W1(s,u){return Ht(Je,function(_){var S="_."+_[0];u&_[1]&&!pa(s,S)&&s.push(S)}),s.sort()}function cf(s){if(s instanceof bt)return s.clone();var u=new $n(s.__wrapped__,s.__chain__);return u.__actions__=On(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function q1(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=cn(ct(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var A=0,F=0,q=oe(Ta(S/u));A<S;)q[F++]=ei(s,A,A+=u);return q}function z1(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 G1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return rl(ot(_)?On(_):[_],mn(u,1))}var K1=ht(function(s,u){return nn(s)?Hr(s,mn(u,1,nn,!0)):[]}),J1=ht(function(s,u){var _=ti(u);return nn(_)&&(_=t),nn(s)?Hr(s,mn(u,1,nn,!0),Xe(_,2)):[]}),j1=ht(function(s,u){var _=ti(u);return nn(_)&&(_=t),nn(s)?Hr(s,mn(u,1,nn,!0),t,_):[]});function Y1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ct(u),ei(s,u<0?0:u,S)):[]}function Q1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ct(u),u=S-u,ei(s,0,u<0?0:u)):[]}function Z1(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 $1(s,u,_,S){var A=s==null?0:s.length;return A?(_&&typeof _!="number"&&Nn(s,u,_)&&(_=0,S=A),Gm(s,u,_,S)):[]}function df(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ct(_);return A<0&&(A=cn(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=ct(_),A=_<0?cn(S+A,0):wn(A,S-1)),ma(s,Xe(u,3),A,!0)}function gf(s){var u=s==null?0:s.length;return u?mn(s,1):[]}function x1(s){var u=s==null?0:s.length;return u?mn(s,re):[]}function eb(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ct(u),mn(s,u)):[]}function tb(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 nb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ct(_);return A<0&&(A=cn(S+A,0)),xl(s,u,A)}function ib(s){var u=s==null?0:s.length;return u?ei(s,0,-1):[]}var lb=ht(function(s){var u=Jt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),rb=ht(function(s){var u=ti(s),_=Jt(s,lo);return u===ti(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,Xe(u,2)):[]}),ab=ht(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 sb(s,u){return s==null?"":im.call(s,u)}function ti(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ob(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S;return _!==t&&(A=ct(_),A=A<0?cn(S+A,0):wn(A,S-1)),u===u?Wp(s,u,A):ma(s,Yo,A,!0)}function ub(s,u){return s&&s.length?Pu(s,ct(u)):t}var fb=ht(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function cb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,Xe(_,2)):s}function db(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var hb=Wi(function(s,u){var _=s==null?0:s.length,S=Gs(s,u);return Tu(s,Jt(u,function(A){return qi(A,_)?+A:A}).sort(Uu)),S});function gb(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,A=[],F=s.length;for(u=Xe(u,3);++S<F;){var q=s[S];u(q,S,s)&&(_.push(q),A.push(S))}return Tu(s,A),_}function vo(s){return s==null?s:sm.call(s)}function _b(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&Nn(s,u,_)?(u=0,_=S):(u=u==null?0:ct(u),_=_===t?S:ct(_)),ei(s,u,_)):[]}function pb(s,u){return Fa(s,u)}function mb(s,u,_){return to(s,u,Xe(_,2))}function bb(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 vb(s,u){return Fa(s,u,!0)}function wb(s,u,_){return to(s,u,Xe(_,2),!0)}function kb(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 Sb(s){return s&&s.length?Au(s):[]}function Cb(s,u){return s&&s.length?Au(s,Xe(u,2)):[]}function yb(s){var u=s==null?0:s.length;return u?ei(s,1,u):[]}function Pb(s,u,_){return s&&s.length?(u=_||u===t?1:ct(u),ei(s,0,u<0?0:u)):[]}function Ib(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ct(u),u=S-u,ei(s,u<0?0:u,S)):[]}function Nb(s,u){return s&&s.length?Ua(s,Xe(u,3),!1,!0):[]}function Tb(s,u){return s&&s.length?Ua(s,Xe(u,3)):[]}var Lb=ht(function(s){return ul(mn(s,1,nn,!0))}),Ab=ht(function(s){var u=ti(s);return nn(u)&&(u=t),ul(mn(s,1,nn,!0),Xe(u,2))}),Eb=ht(function(s){var u=ti(s);return u=typeof u=="function"?u:t,ul(mn(s,1,nn,!0),t,u)});function Rb(s){return s&&s.length?ul(s):[]}function Db(s,u){return s&&s.length?ul(s,Xe(u,2)):[]}function Vb(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(nn(_))return u=cn(_.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 gn(u,t,S)})}var Ob=ht(function(s,u){return nn(s)?Hr(s,u):[]}),Mb=ht(function(s){return io(ll(s,nn))}),Fb=ht(function(s){var u=ti(s);return nn(u)&&(u=t),io(ll(s,nn),Xe(u,2))}),Ub=ht(function(s){var u=ti(s);return u=typeof u=="function"?u:t,io(ll(s,nn),t,u)}),Bb=ht(wo);function Hb(s,u){return Vu(s||[],u||[],Br)}function Wb(s,u){return Vu(s||[],u||[],zr)}var qb=ht(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 zb(s,u){return u(s),s}function ja(s,u){return u(s)}var Gb=Wi(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 bt)||!qi(_)?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 Kb(){return bf(this)}function Jb(){return new $n(this.value(),this.__chain__)}function jb(){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 Yb(){return this}function Qb(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 Zb(){var s=this.__wrapped__;if(s instanceof bt){var u=s;return this.__actions__.length&&(u=new bt(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 $b=Ba(function(s,u,_){Dt.call(s,_)?++s[_]:Bi(s,_,1)});function xb(s,u,_){var S=ot(s)?_a:zm;return _&&Nn(s,u,_)&&(u=t),S(s,Xe(u,3))}function ev(s,u){var _=ot(s)?ll:pu;return _(s,Xe(u,3))}var tv=Gu(df),nv=Gu(hf);function iv(s,u){return mn(Ya(s,u),1)}function lv(s,u){return mn(Ya(s,u),re)}function rv(s,u,_){return _=_===t?1:ct(_),mn(Ya(s,u),_)}function vf(s,u){var _=ot(s)?Ht:ol;return _(s,Xe(u,3))}function wf(s,u){var _=ot(s)?Zn:_u;return _(s,Xe(u,3))}var av=Ba(function(s,u,_){Dt.call(s,_)?s[_].push(u):Bi(s,_,[u])});function sv(s,u,_,S){s=Mn(s)?s:cr(s),_=_&&!S?ct(_):0;var A=s.length;return _<0&&(_=cn(A+_,0)),xa(s)?_<=A&&s.indexOf(u,_)>-1:!!A&&xl(s,u,_)>-1}var ov=ht(function(s,u,_){var S=-1,A=typeof u=="function",F=Mn(s)?oe(s.length):[];return ol(s,function(q){F[++S]=A?gn(u,q,_):Wr(q,u,_)}),F}),uv=Ba(function(s,u,_){Bi(s,_,u)});function Ya(s,u){var _=ot(s)?Jt:Su;return _(s,Xe(u,3))}function fv(s,u,_,S){return s==null?[]:(ot(u)||(u=u==null?[]:[u]),_=S?t:_,ot(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var cv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function dv(s,u,_){var S=ot(s)?Es:Zo,A=arguments.length<3;return S(s,Xe(u,4),_,A,ol)}function hv(s,u,_){var S=ot(s)?Pp:Zo,A=arguments.length<3;return S(s,Xe(u,4),_,A,_u)}function gv(s,u){var _=ot(s)?ll:pu;return _(s,Xa(Xe(u,3)))}function _v(s){var u=ot(s)?cu:s1;return u(s)}function pv(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=ct(u);var S=ot(s)?Um:o1;return S(s,u)}function mv(s){var u=ot(s)?Bm:f1;return u(s)}function bv(s){if(s==null)return 0;if(Mn(s))return xa(s)?tr(s):s.length;var u=kn(s);return u==$e||u==st?s.size:Zs(s).length}function vv(s,u,_){var S=ot(s)?Rs:c1;return _&&Nn(s,u,_)&&(u=t),S(s,Xe(u,3))}var wv=ht(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,mn(u,1),[])}),Qa=em||function(){return We.Date.now()};function kv(s,u){if(typeof u!="function")throw new Xn(a);return s=ct(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,Hi(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new Xn(a);return s=ct(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=ht(function(s,u,_){var S=C;if(_.length){var A=al(_,ur(ko));S|=V}return Hi(s,S,u,_,A)}),Cf=ht(function(s,u,_){var S=C|y;if(_.length){var A=al(_,ur(Cf));S|=V}return Hi(u,S,s,_,A)});function yf(s,u,_){u=_?t:u;var S=Hi(s,N,t,t,t,t,t,u);return S.placeholder=yf.placeholder,S}function Pf(s,u,_){u=_?t:u;var S=Hi(s,I,t,t,t,t,t,u);return S.placeholder=Pf.placeholder,S}function If(s,u,_){var S,A,F,q,j,x,ge=0,_e=!1,Ce=!1,Oe=!0;if(typeof s!="function")throw new Xn(a);u=ni(u)||0,Yt(_)&&(_e=!!_.leading,Ce="maxWait"in _,F=Ce?cn(ni(_.maxWait)||0,u):F,Oe="trailing"in _?!!_.trailing:Oe);function Ke(ln){var ui=S,Ki=A;return S=A=t,ge=ln,q=s.apply(Ki,ui),q}function xe(ln){return ge=ln,j=Jr(mt,u),_e?Ke(ln):q}function dt(ln){var ui=ln-x,Ki=ln-ge,Kf=u-ui;return Ce?wn(Kf,F-Ki):Kf}function et(ln){var ui=ln-x,Ki=ln-ge;return x===t||ui>=u||ui<0||Ce&&Ki>=F}function mt(){var ln=Qa();if(et(ln))return kt(ln);j=Jr(mt,dt(ln))}function kt(ln){return j=t,Oe&&S?Ke(ln):(S=A=t,q)}function Jn(){j!==t&&Ou(j),ge=0,S=x=A=j=t}function Tn(){return j===t?q:kt(Qa())}function jn(){var ln=Qa(),ui=et(ln);if(S=arguments,A=this,x=ln,ui){if(j===t)return xe(x);if(Ce)return Ou(j),j=Jr(mt,u),Ke(x)}return j===t&&(j=Jr(mt,u)),q}return jn.cancel=Jn,jn.flush=Tn,jn}var Sv=ht(function(s,u){return gu(s,1,u)}),Cv=ht(function(s,u,_){return gu(s,ni(u)||0,_)});function yv(s){return Hi(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 q=s.apply(this,S);return _.cache=F.set(A,q)||F,q};return _.cache=new(Za.Cache||Ui),_}Za.Cache=Ui;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 Pv(s){return Sf(2,s)}var Iv=d1(function(s,u){u=u.length==1&&ot(u[0])?Jt(u[0],zn(Xe())):Jt(mn(u,1),zn(Xe()));var _=u.length;return ht(function(S){for(var A=-1,F=wn(S.length,_);++A<F;)S[A]=u[A].call(this,S[A]);return gn(s,this,S)})}),So=ht(function(s,u){var _=al(u,ur(So));return Hi(s,V,t,u,_)}),Nf=ht(function(s,u){var _=al(u,ur(Nf));return Hi(s,E,t,u,_)}),Nv=Wi(function(s,u){return Hi(s,D,t,t,t,u)});function Tv(s,u){if(typeof s!="function")throw new Xn(a);return u=u===t?u:ct(u),ht(s,u)}function Lv(s,u){if(typeof s!="function")throw new Xn(a);return u=u==null?0:cn(ct(u),0),ht(function(_){var S=_[u],A=cl(_,0,u);return S&&rl(A,S),gn(s,this,A)})}function Av(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 Ev(s){return kf(s,1)}function Rv(s,u){return So(ro(u),s)}function Dv(){if(!arguments.length)return[];var s=arguments[0];return ot(s)?s:[s]}function Vv(s){return xn(s,b)}function Ov(s,u){return u=typeof u=="function"?u:t,xn(s,b,u)}function Mv(s){return xn(s,g|b)}function Fv(s,u){return u=typeof u=="function"?u:t,xn(s,g|b,u)}function Uv(s,u){return u==null||hu(s,u,_n(u))}function oi(s,u){return s===u||s!==s&&u!==u}var Bv=za(js),Hv=za(function(s,u){return s>=u}),Wl=vu(function(){return arguments}())?vu:function(s){return tn(s)&&Dt.call(s,"callee")&&!ru.call(s,"callee")},ot=oe.isArray,Wv=il?zn(il):Qm;function Mn(s){return s!=null&&$a(s.length)&&!zi(s)}function nn(s){return tn(s)&&Mn(s)}function qv(s){return s===!0||s===!1||tn(s)&&In(s)==Ze}var dl=nm||Do,zv=Xl?zn(Xl):Zm;function Gv(s){return tn(s)&&s.nodeType===1&&!jr(s)}function Kv(s){if(s==null)return!0;if(Mn(s)&&(ot(s)||typeof s=="string"||typeof s.splice=="function"||dl(s)||fr(s)||Wl(s)))return!s.length;var u=kn(s);if(u==$e||u==st)return!s.size;if(Kr(s))return!Zs(s).length;for(var _ in s)if(Dt.call(s,_))return!1;return!0}function Jv(s,u){return qr(s,u)}function jv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?qr(s,u,t,_):!!S}function Co(s){if(!tn(s))return!1;var u=In(s);return u==rt||u==tt||typeof s.message=="string"&&typeof s.name=="string"&&!jr(s)}function Yv(s){return typeof s=="number"&&su(s)}function zi(s){if(!Yt(s))return!1;var u=In(s);return u==lt||u==pe||u==ze||u==Te}function Tf(s){return typeof s=="number"&&s==ct(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ce}function Yt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function tn(s){return s!=null&&typeof s=="object"}var Lf=Rl?zn(Rl):$m;function Qv(s,u){return s===u||Qs(s,u,ho(u))}function Zv(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function Xv(s){return Af(s)&&s!=+s}function $v(s){if(O1(s))throw new at(r);return wu(s)}function xv(s){return s===null}function e0(s){return s==null}function Af(s){return typeof s=="number"||tn(s)&&In(s)==zt}function jr(s){if(!tn(s)||In(s)!=on)return!1;var u=Pa(s);if(u===null)return!0;var _=Dt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==Zp}var yo=Ls?zn(Ls):xm;function t0(s){return Tf(s)&&s>=-ce&&s<=ce}var Ef=$l?zn($l):e1;function xa(s){return typeof s=="string"||!ot(s)&&tn(s)&&In(s)==Xt}function Kn(s){return typeof s=="symbol"||tn(s)&&In(s)==$t}var fr=ga?zn(ga):t1;function n0(s){return s===t}function i0(s){return tn(s)&&kn(s)==Rt}function l0(s){return tn(s)&&In(s)==pn}var r0=za(Xs),a0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(Mn(s))return xa(s)?ai(s):On(s);if(Vr&&s[Vr])return Up(s[Vr]());var u=kn(s),_=u==$e?Us:u==st?ba:cr;return _(s)}function Gi(s){if(!s)return s===0?s:0;if(s=ni(s),s===re||s===-re){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ct(s){var u=Gi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Fl(ct(s),0,se):0}function ni(s){if(typeof s=="number")return s;if(Kn(s))return Pe;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 _=_t.test(s);return _||xt.test(s)?Er(s.slice(2),_?2:8):vt.test(s)?Pe:+s}function Vf(s){return bi(s,Fn(s))}function s0(s){return s?Fl(ct(s),-ce,ce):s===0?s:0}function At(s){return s==null?"":Gn(s)}var o0=sr(function(s,u){if(Kr(u)||Mn(u)){bi(u,_n(u),s);return}for(var _ in u)Dt.call(u,_)&&Br(s,_,u[_])}),Of=sr(function(s,u){bi(u,Fn(u),s)}),es=sr(function(s,u,_,S){bi(u,Fn(u),s,S)}),u0=sr(function(s,u,_,S){bi(u,_n(u),s,S)}),f0=Wi(Gs);function c0(s,u){var _=ar(s);return u==null?_:du(_,u)}var d0=ht(function(s,u){s=Wt(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[_],q=Fn(F),j=-1,x=q.length;++j<x;){var ge=q[j],_e=s[ge];(_e===t||oi(_e,ir[ge])&&!Dt.call(s,ge))&&(s[ge]=F[ge])}return s}),h0=ht(function(s){return s.push(t,Xu),gn(Mf,t,s)});function g0(s,u){return jo(s,Xe(u,3),mi)}function _0(s,u){return jo(s,Xe(u,3),Js)}function p0(s,u){return s==null?s:Ks(s,Xe(u,3),Fn)}function m0(s,u){return s==null?s:mu(s,Xe(u,3),Fn)}function b0(s,u){return s&&mi(s,Xe(u,3))}function v0(s,u){return s&&Js(s,Xe(u,3))}function w0(s){return s==null?[]:Oa(s,_n(s))}function k0(s){return s==null?[]:Oa(s,Fn(s))}function Po(s,u,_){var S=s==null?t:Ul(s,u);return S===t?_:S}function S0(s,u){return s!=null&&ef(s,u,Km)}function Io(s,u){return s!=null&&ef(s,u,Jm)}var C0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(Un)),y0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Dt.call(s,u)?s[u].push(_):s[u]=[_]},Xe),P0=ht(Wr);function _n(s){return Mn(s)?fu(s):Zs(s)}function Fn(s){return Mn(s)?fu(s,!0):n1(s)}function I0(s,u){var _={};return u=Xe(u,3),mi(s,function(S,A,F){Bi(_,u(S,A,F),S)}),_}function N0(s,u){var _={};return u=Xe(u,3),mi(s,function(S,A,F){Bi(_,A,u(S,A,F))}),_}var T0=sr(function(s,u,_){Ma(s,u,_)}),Mf=sr(function(s,u,_,S){Ma(s,u,_,S)}),L0=Wi(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}),bi(s,fo(s),_),S&&(_=xn(_,g|p|b,C1));for(var A=u.length;A--;)no(_,u[A]);return _});function A0(s,u){return Ff(s,Xa(Xe(u)))}var E0=Wi(function(s,u){return s==null?{}:l1(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 R0(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[vi(u[S])];F===t&&(S=A,F=_),s=zi(F)?F.call(s):F}return s}function D0(s,u,_){return s==null?s:zr(s,u,_)}function V0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:zr(s,u,_,S)}var Uf=Qu(_n),Bf=Qu(Fn);function O0(s,u,_){var S=ot(s),A=S||dl(s)||fr(s);if(u=Xe(u,4),_==null){var F=s&&s.constructor;A?_=S?new F:[]:Yt(s)?_=zi(F)?ar(Pa(s)):{}:_={}}return(A?Ht:mi)(s,function(q,j,x){return u(_,q,j,x)}),_}function M0(s,u){return s==null?!0:no(s,u)}function F0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function U0(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,_n(s))}function B0(s){return s==null?[]:Fs(s,Fn(s))}function H0(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 W0(s,u,_){return u=Gi(u),_===t?(_=u,u=0):_=Gi(_),s=ni(s),jm(s,u,_)}function q0(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=Gi(s),u===t?(u=s,s=0):u=Gi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var A=ou();return wn(s+A*(u-s+nl("1e-"+((A+"").length-1))),u)}return xs(s,u)}var z0=or(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(At(s).toLowerCase())}function Wf(s){return s=At(s),s&&s.replace(_i,Dp).replace(Ns,"")}function G0(s,u,_){s=At(s),u=Gn(u);var S=s.length;_=_===t?S:Fl(ct(_),0,S);var A=_;return _-=u.length,_>=0&&s.slice(_,A)==u}function K0(s){return s=At(s),s&&di.test(s)?s.replace(Qi,Vp):s}function J0(s){return s=At(s),s&&Al.test(s)?s.replace(Ri,"\\$&"):s}var j0=or(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),Y0=or(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),Q0=zu("toLowerCase");function Z0(s,u,_){s=At(s),u=ct(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=At(s),u=ct(u);var S=u?tr(s):0;return u&&S<u?s+qa(u-S,_):s}function $0(s,u,_){s=At(s),u=ct(u);var S=u?tr(s):0;return u&&S<u?qa(u-S,_)+s:s}function x0(s,u,_){return _||u==null?u=0:u&&(u=+u),am(At(s).replace(ri,""),u||0)}function ew(s,u,_){return(_?Nn(s,u,_):u===t)?u=1:u=ct(u),eo(At(s),u)}function tw(){var s=arguments,u=At(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var nw=or(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function iw(s,u,_){return _&&typeof _!="number"&&Nn(s,u,_)&&(u=_=t),_=_===t?se:_>>>0,_?(s=At(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=Gn(u),!u&&er(s))?cl(ai(s),0,_):s.split(u,_)):[]}var lw=or(function(s,u,_){return s+(_?" ":"")+No(u)});function rw(s,u,_){return s=At(s),_=_==null?0:Fl(ct(_),0,s.length),u=Gn(u),s.slice(_,_+u.length)==u}function aw(s,u,_){var S=M.templateSettings;_&&Nn(s,u,_)&&(u=t),s=At(s),u=es({},u,S,Zu);var A=es({},u.imports,S.imports,Zu),F=_n(A),q=Fs(A,F),j,x,ge=0,_e=u.interpolate||pi,Ce="__p += '",Oe=Bs((u.escape||pi).source+"|"+_e.source+"|"+(_e===Xi?nt:pi).source+"|"+(u.evaluate||pi).source+"|$","g"),Ke="//# sourceURL="+(Dt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
36
- `;s.replace(Oe,function(et,mt,kt,Jn,Tn,jn){return kt||(kt=Jn),Ce+=s.slice(ge,jn).replace(El,Op),mt&&(j=!0,Ce+=`' +
37
- __e(`+mt+`) +
35
+ `)}function R1(s){return st(s)||Wl(s)||!!(au&&s&&s[au])}function qi(s,u){var _=typeof s;return u=u??ce,!!u&&(_=="number"||_!="symbol"&&yn.test(s))&&s>-1&&s%1==0&&s<u}function Nn(s,u,_){if(!jt(_))return!1;var S=typeof u;return(S=="number"?Mn(_)&&qi(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 Wt(u)}function D1(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 V1(s){return!!nu&&nu in s}var O1=wa?zi:Do;function Kr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||ir;return s===_}function nf(s){return s===s&&!jt(s)}function lf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Wt(_))}}function M1(s){var u=Za(s,function(S){return _.size===h&&_.clear(),S}),_=u.cache;return u}function F1(s,u){var _=s[1],S=u[1],A=_|S,F=A<(C|y|H),q=S==H&&_==N||S==H&&_==D&&s[7].length<=u[8]||S==(H|D)&&u[7].length<=u[8]&&_==N;if(!(F||q))return s;S&C&&(s[2]=u[2],A|=_&C?0:P);var j=u[3];if(j){var x=s[3];s[3]=x?Bu(x,j,u[4]):j,s[4]=x?al(s[3],d):u[4]}return j=u[5],j&&(x=s[5],s[5]=x?Hu(x,j,u[6]):j,s[6]=x?al(s[5],d):u[6]),j=u[7],j&&(s[7]=j),S&H&&(s[8]=s[8]==null?u[8]:wn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=A,s}function U1(s){var u=[];if(s!=null)for(var _ in Wt(s))u.push(_);return u}function B1(s){return Sa.call(s)}function rf(s,u,_){return u=cn(u===t?s.length-1:u,0),function(){for(var S=arguments,A=-1,F=cn(S.length-u,0),q=oe(F);++A<F;)q[A]=S[u+A];A=-1;for(var j=oe(u+1);++A<u;)j[A]=S[A];return j[u]=_(q),gn(s,this,j)}}function af(s,u){return u.length<2?s:Ul(s,ei(u,0,-1))}function H1(s,u){for(var _=s.length,S=wn(u.length,_),A=On(s);S--;){var F=u[S];s[S]=qi(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=tm||function(s,u){return We.setTimeout(s,u)},bo=uf(u1);function of(s,u,_){var S=u+"";return bo(s,E1(S,W1(T1(S),_)))}function uf(s){var u=0,_=0;return function(){var S=rm(),A=fe-(S-_);if(_=S,A>0){if(++u>=Q)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),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var ff=M1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Ll,function(_,S,A,F){u.push(A?F.replace(ke,"$1"):S||_)}),u});function vi(s){if(typeof s=="string"||Kn(s))return s;var u=s+"";return u=="0"&&1/s==-re?"-0":u}function Hl(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function W1(s,u){return Ht(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__=On(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function q1(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=cn(ft(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var A=0,F=0,q=oe(Ta(S/u));A<S;)q[F++]=ei(s,A,A+=u);return q}function z1(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 G1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return rl(st(_)?On(_):[_],mn(u,1))}var K1=dt(function(s,u){return tn(s)?Hr(s,mn(u,1,tn,!0)):[]}),J1=dt(function(s,u){var _=ti(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),Xe(_,2)):[]}),j1=dt(function(s,u){var _=ti(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),t,_):[]});function Y1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),ei(s,u<0?0:u,S)):[]}function Q1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,ei(s,0,u<0?0:u)):[]}function Z1(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 $1(s,u,_,S){var A=s==null?0:s.length;return A?(_&&typeof _!="number"&&Nn(s,u,_)&&(_=0,S=A),Gm(s,u,_,S)):[]}function df(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=cn(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=ft(_),A=_<0?cn(S+A,0):wn(A,S-1)),ma(s,Xe(u,3),A,!0)}function gf(s){var u=s==null?0:s.length;return u?mn(s,1):[]}function x1(s){var u=s==null?0:s.length;return u?mn(s,re):[]}function eb(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ft(u),mn(s,u)):[]}function tb(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 nb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=cn(S+A,0)),xl(s,u,A)}function ib(s){var u=s==null?0:s.length;return u?ei(s,0,-1):[]}var lb=dt(function(s){var u=Kt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),rb=dt(function(s){var u=ti(s),_=Kt(s,lo);return u===ti(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,Xe(u,2)):[]}),ab=dt(function(s){var u=ti(s),_=Kt(s,lo);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ys(_,t,u):[]});function sb(s,u){return s==null?"":im.call(s,u)}function ti(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ob(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S;return _!==t&&(A=ft(_),A=A<0?cn(S+A,0):wn(A,S-1)),u===u?Wp(s,u,A):ma(s,Yo,A,!0)}function ub(s,u){return s&&s.length?Pu(s,ft(u)):t}var fb=dt(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function cb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,Xe(_,2)):s}function db(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var hb=Wi(function(s,u){var _=s==null?0:s.length,S=Gs(s,u);return Tu(s,Kt(u,function(A){return qi(A,_)?+A:A}).sort(Uu)),S});function gb(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,A=[],F=s.length;for(u=Xe(u,3);++S<F;){var q=s[S];u(q,S,s)&&(_.push(q),A.push(S))}return Tu(s,A),_}function vo(s){return s==null?s:sm.call(s)}function _b(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&Nn(s,u,_)?(u=0,_=S):(u=u==null?0:ft(u),_=_===t?S:ft(_)),ei(s,u,_)):[]}function pb(s,u){return Fa(s,u)}function mb(s,u,_){return to(s,u,Xe(_,2))}function bb(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 vb(s,u){return Fa(s,u,!0)}function wb(s,u,_){return to(s,u,Xe(_,2),!0)}function kb(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 Sb(s){return s&&s.length?Au(s):[]}function Cb(s,u){return s&&s.length?Au(s,Xe(u,2)):[]}function yb(s){var u=s==null?0:s.length;return u?ei(s,1,u):[]}function Pb(s,u,_){return s&&s.length?(u=_||u===t?1:ft(u),ei(s,0,u<0?0:u)):[]}function Ib(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,ei(s,u<0?0:u,S)):[]}function Nb(s,u){return s&&s.length?Ua(s,Xe(u,3),!1,!0):[]}function Tb(s,u){return s&&s.length?Ua(s,Xe(u,3)):[]}var Lb=dt(function(s){return ul(mn(s,1,tn,!0))}),Ab=dt(function(s){var u=ti(s);return tn(u)&&(u=t),ul(mn(s,1,tn,!0),Xe(u,2))}),Eb=dt(function(s){var u=ti(s);return u=typeof u=="function"?u:t,ul(mn(s,1,tn,!0),t,u)});function Rb(s){return s&&s.length?ul(s):[]}function Db(s,u){return s&&s.length?ul(s,Xe(u,2)):[]}function Vb(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(tn(_))return u=cn(_.length,u),!0}),Ms(u,function(_){return Kt(s,Ds(_))})}function mf(s,u){if(!(s&&s.length))return[];var _=wo(s);return u==null?_:Kt(_,function(S){return gn(u,t,S)})}var Ob=dt(function(s,u){return tn(s)?Hr(s,u):[]}),Mb=dt(function(s){return io(ll(s,tn))}),Fb=dt(function(s){var u=ti(s);return tn(u)&&(u=t),io(ll(s,tn),Xe(u,2))}),Ub=dt(function(s){var u=ti(s);return u=typeof u=="function"?u:t,io(ll(s,tn),t,u)}),Bb=dt(wo);function Hb(s,u){return Vu(s||[],u||[],Br)}function Wb(s,u){return Vu(s||[],u||[],zr)}var qb=dt(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 zb(s,u){return u(s),s}function ja(s,u){return u(s)}var Gb=Wi(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)||!qi(_)?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 Kb(){return bf(this)}function Jb(){return new $n(this.value(),this.__chain__)}function jb(){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 Yb(){return this}function Qb(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 Zb(){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 $b=Ba(function(s,u,_){Dt.call(s,_)?++s[_]:Bi(s,_,1)});function xb(s,u,_){var S=st(s)?_a:zm;return _&&Nn(s,u,_)&&(u=t),S(s,Xe(u,3))}function ev(s,u){var _=st(s)?ll:pu;return _(s,Xe(u,3))}var tv=Gu(df),nv=Gu(hf);function iv(s,u){return mn(Ya(s,u),1)}function lv(s,u){return mn(Ya(s,u),re)}function rv(s,u,_){return _=_===t?1:ft(_),mn(Ya(s,u),_)}function vf(s,u){var _=st(s)?Ht:ol;return _(s,Xe(u,3))}function wf(s,u){var _=st(s)?Zn:_u;return _(s,Xe(u,3))}var av=Ba(function(s,u,_){Dt.call(s,_)?s[_].push(u):Bi(s,_,[u])});function sv(s,u,_,S){s=Mn(s)?s:cr(s),_=_&&!S?ft(_):0;var A=s.length;return _<0&&(_=cn(A+_,0)),xa(s)?_<=A&&s.indexOf(u,_)>-1:!!A&&xl(s,u,_)>-1}var ov=dt(function(s,u,_){var S=-1,A=typeof u=="function",F=Mn(s)?oe(s.length):[];return ol(s,function(q){F[++S]=A?gn(u,q,_):Wr(q,u,_)}),F}),uv=Ba(function(s,u,_){Bi(s,_,u)});function Ya(s,u){var _=st(s)?Kt:Su;return _(s,Xe(u,3))}function fv(s,u,_,S){return s==null?[]:(st(u)||(u=u==null?[]:[u]),_=S?t:_,st(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var cv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function dv(s,u,_){var S=st(s)?Es:Zo,A=arguments.length<3;return S(s,Xe(u,4),_,A,ol)}function hv(s,u,_){var S=st(s)?Pp:Zo,A=arguments.length<3;return S(s,Xe(u,4),_,A,_u)}function gv(s,u){var _=st(s)?ll:pu;return _(s,Xa(Xe(u,3)))}function _v(s){var u=st(s)?cu:s1;return u(s)}function pv(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=ft(u);var S=st(s)?Um:o1;return S(s,u)}function mv(s){var u=st(s)?Bm:f1;return u(s)}function bv(s){if(s==null)return 0;if(Mn(s))return xa(s)?tr(s):s.length;var u=kn(s);return u==Pt||u==at?s.size:Zs(s).length}function vv(s,u,_){var S=st(s)?Rs:c1;return _&&Nn(s,u,_)&&(u=t),S(s,Xe(u,3))}var wv=dt(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,mn(u,1),[])}),Qa=em||function(){return We.Date.now()};function kv(s,u){if(typeof u!="function")throw new Xn(a);return s=ft(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,Hi(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new Xn(a);return s=ft(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=dt(function(s,u,_){var S=C;if(_.length){var A=al(_,ur(ko));S|=V}return Hi(s,S,u,_,A)}),Cf=dt(function(s,u,_){var S=C|y;if(_.length){var A=al(_,ur(Cf));S|=V}return Hi(u,S,s,_,A)});function yf(s,u,_){u=_?t:u;var S=Hi(s,N,t,t,t,t,t,u);return S.placeholder=yf.placeholder,S}function Pf(s,u,_){u=_?t:u;var S=Hi(s,I,t,t,t,t,t,u);return S.placeholder=Pf.placeholder,S}function If(s,u,_){var S,A,F,q,j,x,_e=0,pe=!1,Ce=!1,Oe=!0;if(typeof s!="function")throw new Xn(a);u=ni(u)||0,jt(_)&&(pe=!!_.leading,Ce="maxWait"in _,F=Ce?cn(ni(_.maxWait)||0,u):F,Oe="trailing"in _?!!_.trailing:Oe);function Ke(nn){var ui=S,Ki=A;return S=A=t,_e=nn,q=s.apply(Ki,ui),q}function $e(nn){return _e=nn,j=Jr(pt,u),pe?Ke(nn):q}function ct(nn){var ui=nn-x,Ki=nn-_e,Kf=u-ui;return Ce?wn(Kf,F-Ki):Kf}function xe(nn){var ui=nn-x,Ki=nn-_e;return x===t||ui>=u||ui<0||Ce&&Ki>=F}function pt(){var nn=Qa();if(xe(nn))return wt(nn);j=Jr(pt,ct(nn))}function wt(nn){return j=t,Oe&&S?Ke(nn):(S=A=t,q)}function Jn(){j!==t&&Ou(j),_e=0,S=x=A=j=t}function Tn(){return j===t?q:wt(Qa())}function jn(){var nn=Qa(),ui=xe(nn);if(S=arguments,A=this,x=nn,ui){if(j===t)return $e(x);if(Ce)return Ou(j),j=Jr(pt,u),Ke(x)}return j===t&&(j=Jr(pt,u)),q}return jn.cancel=Jn,jn.flush=Tn,jn}var Sv=dt(function(s,u){return gu(s,1,u)}),Cv=dt(function(s,u,_){return gu(s,ni(u)||0,_)});function yv(s){return Hi(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 q=s.apply(this,S);return _.cache=F.set(A,q)||F,q};return _.cache=new(Za.Cache||Ui),_}Za.Cache=Ui;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 Pv(s){return Sf(2,s)}var Iv=d1(function(s,u){u=u.length==1&&st(u[0])?Kt(u[0],zn(Xe())):Kt(mn(u,1),zn(Xe()));var _=u.length;return dt(function(S){for(var A=-1,F=wn(S.length,_);++A<F;)S[A]=u[A].call(this,S[A]);return gn(s,this,S)})}),So=dt(function(s,u){var _=al(u,ur(So));return Hi(s,V,t,u,_)}),Nf=dt(function(s,u){var _=al(u,ur(Nf));return Hi(s,E,t,u,_)}),Nv=Wi(function(s,u){return Hi(s,D,t,t,t,u)});function Tv(s,u){if(typeof s!="function")throw new Xn(a);return u=u===t?u:ft(u),dt(s,u)}function Lv(s,u){if(typeof s!="function")throw new Xn(a);return u=u==null?0:cn(ft(u),0),dt(function(_){var S=_[u],A=cl(_,0,u);return S&&rl(A,S),gn(s,this,A)})}function Av(s,u,_){var S=!0,A=!0;if(typeof s!="function")throw new Xn(a);return jt(_)&&(S="leading"in _?!!_.leading:S,A="trailing"in _?!!_.trailing:A),If(s,u,{leading:S,maxWait:u,trailing:A})}function Ev(s){return kf(s,1)}function Rv(s,u){return So(ro(u),s)}function Dv(){if(!arguments.length)return[];var s=arguments[0];return st(s)?s:[s]}function Vv(s){return xn(s,b)}function Ov(s,u){return u=typeof u=="function"?u:t,xn(s,b,u)}function Mv(s){return xn(s,g|b)}function Fv(s,u){return u=typeof u=="function"?u:t,xn(s,g|b,u)}function Uv(s,u){return u==null||hu(s,u,_n(u))}function oi(s,u){return s===u||s!==s&&u!==u}var Bv=za(js),Hv=za(function(s,u){return s>=u}),Wl=vu(function(){return arguments}())?vu:function(s){return en(s)&&Dt.call(s,"callee")&&!ru.call(s,"callee")},st=oe.isArray,Wv=il?zn(il):Qm;function Mn(s){return s!=null&&$a(s.length)&&!zi(s)}function tn(s){return en(s)&&Mn(s)}function qv(s){return s===!0||s===!1||en(s)&&In(s)==Ze}var dl=nm||Do,zv=Xl?zn(Xl):Zm;function Gv(s){return en(s)&&s.nodeType===1&&!jr(s)}function Kv(s){if(s==null)return!0;if(Mn(s)&&(st(s)||typeof s=="string"||typeof s.splice=="function"||dl(s)||fr(s)||Wl(s)))return!s.length;var u=kn(s);if(u==Pt||u==at)return!s.size;if(Kr(s))return!Zs(s).length;for(var _ in s)if(Dt.call(s,_))return!1;return!0}function Jv(s,u){return qr(s,u)}function jv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?qr(s,u,t,_):!!S}function Co(s){if(!en(s))return!1;var u=In(s);return u==it||u==et||typeof s.message=="string"&&typeof s.name=="string"&&!jr(s)}function Yv(s){return typeof s=="number"&&su(s)}function zi(s){if(!jt(s))return!1;var u=In(s);return u==de||u==lt||u==ze||u==Te}function Tf(s){return typeof s=="number"&&s==ft(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ce}function jt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function en(s){return s!=null&&typeof s=="object"}var Lf=Rl?zn(Rl):$m;function Qv(s,u){return s===u||Qs(s,u,ho(u))}function Zv(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function Xv(s){return Af(s)&&s!=+s}function $v(s){if(O1(s))throw new rt(r);return wu(s)}function xv(s){return s===null}function e0(s){return s==null}function Af(s){return typeof s=="number"||en(s)&&In(s)==an}function jr(s){if(!en(s)||In(s)!=on)return!1;var u=Pa(s);if(u===null)return!0;var _=Dt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==Zp}var yo=Ls?zn(Ls):xm;function t0(s){return Tf(s)&&s>=-ce&&s<=ce}var Ef=$l?zn($l):e1;function xa(s){return typeof s=="string"||!st(s)&&en(s)&&In(s)==Zt}function Kn(s){return typeof s=="symbol"||en(s)&&In(s)==Xt}var fr=ga?zn(ga):t1;function n0(s){return s===t}function i0(s){return en(s)&&kn(s)==Rt}function l0(s){return en(s)&&In(s)==pn}var r0=za(Xs),a0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(Mn(s))return xa(s)?ai(s):On(s);if(Vr&&s[Vr])return Up(s[Vr]());var u=kn(s),_=u==Pt?Us:u==at?ba:cr;return _(s)}function Gi(s){if(!s)return s===0?s:0;if(s=ni(s),s===re||s===-re){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ft(s){var u=Gi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Fl(ft(s),0,se):0}function ni(s){if(typeof s=="number")return s;if(Kn(s))return Pe;if(jt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=jt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Xo(s);var _=gt.test(s);return _||$t.test(s)?Er(s.slice(2),_?2:8):bt.test(s)?Pe:+s}function Vf(s){return bi(s,Fn(s))}function s0(s){return s?Fl(ft(s),-ce,ce):s===0?s:0}function At(s){return s==null?"":Gn(s)}var o0=sr(function(s,u){if(Kr(u)||Mn(u)){bi(u,_n(u),s);return}for(var _ in u)Dt.call(u,_)&&Br(s,_,u[_])}),Of=sr(function(s,u){bi(u,Fn(u),s)}),es=sr(function(s,u,_,S){bi(u,Fn(u),s,S)}),u0=sr(function(s,u,_,S){bi(u,_n(u),s,S)}),f0=Wi(Gs);function c0(s,u){var _=ar(s);return u==null?_:du(_,u)}var d0=dt(function(s,u){s=Wt(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[_],q=Fn(F),j=-1,x=q.length;++j<x;){var _e=q[j],pe=s[_e];(pe===t||oi(pe,ir[_e])&&!Dt.call(s,_e))&&(s[_e]=F[_e])}return s}),h0=dt(function(s){return s.push(t,Xu),gn(Mf,t,s)});function g0(s,u){return jo(s,Xe(u,3),mi)}function _0(s,u){return jo(s,Xe(u,3),Js)}function p0(s,u){return s==null?s:Ks(s,Xe(u,3),Fn)}function m0(s,u){return s==null?s:mu(s,Xe(u,3),Fn)}function b0(s,u){return s&&mi(s,Xe(u,3))}function v0(s,u){return s&&Js(s,Xe(u,3))}function w0(s){return s==null?[]:Oa(s,_n(s))}function k0(s){return s==null?[]:Oa(s,Fn(s))}function Po(s,u,_){var S=s==null?t:Ul(s,u);return S===t?_:S}function S0(s,u){return s!=null&&ef(s,u,Km)}function Io(s,u){return s!=null&&ef(s,u,Jm)}var C0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(Un)),y0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Dt.call(s,u)?s[u].push(_):s[u]=[_]},Xe),P0=dt(Wr);function _n(s){return Mn(s)?fu(s):Zs(s)}function Fn(s){return Mn(s)?fu(s,!0):n1(s)}function I0(s,u){var _={};return u=Xe(u,3),mi(s,function(S,A,F){Bi(_,u(S,A,F),S)}),_}function N0(s,u){var _={};return u=Xe(u,3),mi(s,function(S,A,F){Bi(_,A,u(S,A,F))}),_}var T0=sr(function(s,u,_){Ma(s,u,_)}),Mf=sr(function(s,u,_,S){Ma(s,u,_,S)}),L0=Wi(function(s,u){var _={};if(s==null)return _;var S=!1;u=Kt(u,function(F){return F=fl(F,s),S||(S=F.length>1),F}),bi(s,fo(s),_),S&&(_=xn(_,g|p|b,C1));for(var A=u.length;A--;)no(_,u[A]);return _});function A0(s,u){return Ff(s,Xa(Xe(u)))}var E0=Wi(function(s,u){return s==null?{}:l1(s,u)});function Ff(s,u){if(s==null)return{};var _=Kt(fo(s),function(S){return[S]});return u=Xe(u),Nu(s,_,function(S,A){return u(S,A[0])})}function R0(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[vi(u[S])];F===t&&(S=A,F=_),s=zi(F)?F.call(s):F}return s}function D0(s,u,_){return s==null?s:zr(s,u,_)}function V0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:zr(s,u,_,S)}var Uf=Qu(_n),Bf=Qu(Fn);function O0(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:[]:jt(s)?_=zi(F)?ar(Pa(s)):{}:_={}}return(A?Ht:mi)(s,function(q,j,x){return u(_,q,j,x)}),_}function M0(s,u){return s==null?!0:no(s,u)}function F0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function U0(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,_n(s))}function B0(s){return s==null?[]:Fs(s,Fn(s))}function H0(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 W0(s,u,_){return u=Gi(u),_===t?(_=u,u=0):_=Gi(_),s=ni(s),jm(s,u,_)}function q0(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=Gi(s),u===t?(u=s,s=0):u=Gi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var A=ou();return wn(s+A*(u-s+nl("1e-"+((A+"").length-1))),u)}return xs(s,u)}var z0=or(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(At(s).toLowerCase())}function Wf(s){return s=At(s),s&&s.replace(_i,Dp).replace(Ns,"")}function G0(s,u,_){s=At(s),u=Gn(u);var S=s.length;_=_===t?S:Fl(ft(_),0,S);var A=_;return _-=u.length,_>=0&&s.slice(_,A)==u}function K0(s){return s=At(s),s&&di.test(s)?s.replace(Qi,Vp):s}function J0(s){return s=At(s),s&&Al.test(s)?s.replace(Ri,"\\$&"):s}var j0=or(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),Y0=or(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),Q0=zu("toLowerCase");function Z0(s,u,_){s=At(s),u=ft(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=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?s+qa(u-S,_):s}function $0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?qa(u-S,_)+s:s}function x0(s,u,_){return _||u==null?u=0:u&&(u=+u),am(At(s).replace(ri,""),u||0)}function ew(s,u,_){return(_?Nn(s,u,_):u===t)?u=1:u=ft(u),eo(At(s),u)}function tw(){var s=arguments,u=At(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var nw=or(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function iw(s,u,_){return _&&typeof _!="number"&&Nn(s,u,_)&&(u=_=t),_=_===t?se:_>>>0,_?(s=At(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=Gn(u),!u&&er(s))?cl(ai(s),0,_):s.split(u,_)):[]}var lw=or(function(s,u,_){return s+(_?" ":"")+No(u)});function rw(s,u,_){return s=At(s),_=_==null?0:Fl(ft(_),0,s.length),u=Gn(u),s.slice(_,_+u.length)==u}function aw(s,u,_){var S=M.templateSettings;_&&Nn(s,u,_)&&(u=t),s=At(s),u=es({},u,S,Zu);var A=es({},u.imports,S.imports,Zu),F=_n(A),q=Fs(A,F),j,x,_e=0,pe=u.interpolate||pi,Ce="__p += '",Oe=Bs((u.escape||pi).source+"|"+pe.source+"|"+(pe===Xi?tt:pi).source+"|"+(u.evaluate||pi).source+"|$","g"),Ke="//# sourceURL="+(Dt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
36
+ `;s.replace(Oe,function(xe,pt,wt,Jn,Tn,jn){return wt||(wt=Jn),Ce+=s.slice(_e,jn).replace(El,Op),pt&&(j=!0,Ce+=`' +
37
+ __e(`+pt+`) +
38
38
  '`),Tn&&(x=!0,Ce+=`';
39
39
  `+Tn+`;
40
- __p += '`),kt&&(Ce+=`' +
41
- ((__t = (`+kt+`)) == null ? '' : __t) +
42
- '`),ge=jn+et.length,et}),Ce+=`';
43
- `;var xe=Dt.call(u,"variable")&&u.variable;if(!xe)Ce=`with (obj) {
40
+ __p += '`),wt&&(Ce+=`' +
41
+ ((__t = (`+wt+`)) == null ? '' : __t) +
42
+ '`),_e=jn+xe.length,xe}),Ce+=`';
43
+ `;var $e=Dt.call(u,"variable")&&u.variable;if(!$e)Ce=`with (obj) {
44
44
  `+Ce+`
45
45
  }
46
- `;else if(K.test(xe))throw new at(o);Ce=(x?Ce.replace(Sl,""):Ce).replace(Cl,"$1").replace(yl,"$1;"),Ce="function("+(xe||"obj")+`) {
47
- `+(xe?"":`obj || (obj = {});
46
+ `;else if(K.test($e))throw new rt(o);Ce=(x?Ce.replace(Sl,""):Ce).replace(Cl,"$1").replace(yl,"$1;"),Ce="function("+($e||"obj")+`) {
47
+ `+($e?"":`obj || (obj = {});
48
48
  `)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+Ce+`return __p
52
- }`;var dt=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,q)});if(dt.source=Ce,Co(dt))throw dt;return dt}function sw(s){return At(s).toLowerCase()}function ow(s){return At(s).toUpperCase()}function uw(s,u,_){if(s=At(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),q=xo(S,A)+1;return cl(S,F,q).join("")}function fw(s,u,_){if(s=At(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 cw(s,u,_){if(s=At(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 dw(s,u){var _=z,S=Y;if(Yt(u)){var A="separator"in u?u.separator:A;_="length"in u?ct(u.length):_,S="omission"in u?Gn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var q=ai(s);F=q.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var x=q?cl(q,0,j).join(""):s.slice(0,j);if(A===t)return x+S;if(q&&(j+=x.length-j),yo(A)){if(s.slice(j).search(A)){var ge,_e=x;for(A.global||(A=Bs(A.source,At(je.exec(A))+"g")),A.lastIndex=0;ge=A.exec(_e);)var Ce=ge.index;x=x.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(Gn(A),j)!=j){var Oe=x.lastIndexOf(A);Oe>-1&&(x=x.slice(0,Oe))}return x+S}function hw(s){return s=At(s),s&&Zi.test(s)?s.replace(Ei,qp):s}var gw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Fp(s)?Kp(s):Tp(s):s.match(u)||[]}var zf=ht(function(s,u){try{return gn(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),_w=Wi(function(s,u){return Ht(u,function(_){_=vi(_),Bi(s,_,ko(s[_],s))}),s});function pw(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]]}):[],ht(function(S){for(var A=-1;++A<u;){var F=s[A];if(gn(F[0],this,S))return gn(F[1],this,S)}})}function mw(s){return qm(xn(s,g))}function To(s){return function(){return s}}function bw(s,u){return s==null||s!==s?u:s}var vw=Ku(),ww=Ku(!0);function Un(s){return s}function Lo(s){return ku(typeof s=="function"?s:xn(s,g))}function kw(s){return Cu(xn(s,g))}function Sw(s,u){return yu(s,xn(u,g))}var Cw=ht(function(s,u){return function(_){return Wr(_,s,u)}}),yw=ht(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=_n(u),A=Oa(u,S);_==null&&!(Yt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,_n(u)));var F=!(Yt(_)&&"chain"in _)||!!_.chain,q=zi(s);return Ht(A,function(j){var x=u[j];s[j]=x,q&&(s.prototype[j]=function(){var ge=this.__chain__;if(F||ge){var _e=s(this.__wrapped__),Ce=_e.__actions__=On(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),_e.__chain__=ge,_e}return x.apply(s,rl([this.value()],arguments))})}),s}function Pw(){return We._===this&&(We._=Xp),this}function Eo(){}function Iw(s){return s=ct(s),ht(function(u){return Pu(u,s)})}var Nw=so(Jt),Tw=so(_a),Lw=so(Rs);function Gf(s){return _o(s)?Ds(vi(s)):r1(s)}function Aw(s){return function(u){return s==null?t:Ul(s,u)}}var Ew=ju(),Rw=ju(!0);function Ro(){return[]}function Do(){return!1}function Dw(){return{}}function Vw(){return""}function Ow(){return!0}function Mw(s,u){if(s=ct(s),s<1||s>ce)return[];var _=se,S=wn(s,se);u=Xe(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Fw(s){return ot(s)?Jt(s,vi):Kn(s)?[s]:On(ff(At(s)))}function Uw(s){var u=++Qp;return At(s)+u}var Bw=Wa(function(s,u){return s+u},0),Hw=oo("ceil"),Ww=Wa(function(s,u){return s/u},1),qw=oo("floor");function zw(s){return s&&s.length?Va(s,Un,js):t}function Gw(s,u){return s&&s.length?Va(s,Xe(u,2),js):t}function Kw(s){return Qo(s,Un)}function Jw(s,u){return Qo(s,Xe(u,2))}function jw(s){return s&&s.length?Va(s,Un,Xs):t}function Yw(s,u){return s&&s.length?Va(s,Xe(u,2),Xs):t}var Qw=Wa(function(s,u){return s*u},1),Zw=oo("round"),Xw=Wa(function(s,u){return s-u},0);function $w(s){return s&&s.length?Os(s,Un):0}function xw(s,u){return s&&s.length?Os(s,Xe(u,2)):0}return M.after=kv,M.ary=kf,M.assign=o0,M.assignIn=Of,M.assignInWith=es,M.assignWith=u0,M.at=f0,M.before=Sf,M.bind=ko,M.bindAll=_w,M.bindKey=Cf,M.castArray=Dv,M.chain=bf,M.chunk=q1,M.compact=z1,M.concat=G1,M.cond=pw,M.conforms=mw,M.constant=To,M.countBy=$b,M.create=c0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=d0,M.defaultsDeep=h0,M.defer=Sv,M.delay=Cv,M.difference=K1,M.differenceBy=J1,M.differenceWith=j1,M.drop=Y1,M.dropRight=Q1,M.dropRightWhile=Z1,M.dropWhile=X1,M.fill=$1,M.filter=ev,M.flatMap=iv,M.flatMapDeep=lv,M.flatMapDepth=rv,M.flatten=gf,M.flattenDeep=x1,M.flattenDepth=eb,M.flip=yv,M.flow=vw,M.flowRight=ww,M.fromPairs=tb,M.functions=w0,M.functionsIn=k0,M.groupBy=av,M.initial=ib,M.intersection=lb,M.intersectionBy=rb,M.intersectionWith=ab,M.invert=C0,M.invertBy=y0,M.invokeMap=ov,M.iteratee=Lo,M.keyBy=uv,M.keys=_n,M.keysIn=Fn,M.map=Ya,M.mapKeys=I0,M.mapValues=N0,M.matches=kw,M.matchesProperty=Sw,M.memoize=Za,M.merge=T0,M.mergeWith=Mf,M.method=Cw,M.methodOf=yw,M.mixin=Ao,M.negate=Xa,M.nthArg=Iw,M.omit=L0,M.omitBy=A0,M.once=Pv,M.orderBy=fv,M.over=Nw,M.overArgs=Iv,M.overEvery=Tw,M.overSome=Lw,M.partial=So,M.partialRight=Nf,M.partition=cv,M.pick=E0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Aw,M.pull=fb,M.pullAll=pf,M.pullAllBy=cb,M.pullAllWith=db,M.pullAt=hb,M.range=Ew,M.rangeRight=Rw,M.rearg=Nv,M.reject=gv,M.remove=gb,M.rest=Tv,M.reverse=vo,M.sampleSize=pv,M.set=D0,M.setWith=V0,M.shuffle=mv,M.slice=_b,M.sortBy=wv,M.sortedUniq=Sb,M.sortedUniqBy=Cb,M.split=iw,M.spread=Lv,M.tail=yb,M.take=Pb,M.takeRight=Ib,M.takeRightWhile=Nb,M.takeWhile=Tb,M.tap=zb,M.throttle=Av,M.thru=ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Fw,M.toPlainObject=Vf,M.transform=O0,M.unary=Ev,M.union=Lb,M.unionBy=Ab,M.unionWith=Eb,M.uniq=Rb,M.uniqBy=Db,M.uniqWith=Vb,M.unset=M0,M.unzip=wo,M.unzipWith=mf,M.update=F0,M.updateWith=U0,M.values=cr,M.valuesIn=B0,M.without=Ob,M.words=qf,M.wrap=Rv,M.xor=Mb,M.xorBy=Fb,M.xorWith=Ub,M.zip=Bb,M.zipObject=Hb,M.zipObjectDeep=Wb,M.zipWith=qb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Bw,M.attempt=zf,M.camelCase=z0,M.capitalize=Hf,M.ceil=Hw,M.clamp=H0,M.clone=Vv,M.cloneDeep=Mv,M.cloneDeepWith=Fv,M.cloneWith=Ov,M.conformsTo=Uv,M.deburr=Wf,M.defaultTo=bw,M.divide=Ww,M.endsWith=G0,M.eq=oi,M.escape=K0,M.escapeRegExp=J0,M.every=xb,M.find=tv,M.findIndex=df,M.findKey=g0,M.findLast=nv,M.findLastIndex=hf,M.findLastKey=_0,M.floor=qw,M.forEach=vf,M.forEachRight=wf,M.forIn=p0,M.forInRight=m0,M.forOwn=b0,M.forOwnRight=v0,M.get=Po,M.gt=Bv,M.gte=Hv,M.has=S0,M.hasIn=Io,M.head=_f,M.identity=Un,M.includes=sv,M.indexOf=nb,M.inRange=W0,M.invoke=P0,M.isArguments=Wl,M.isArray=ot,M.isArrayBuffer=Wv,M.isArrayLike=Mn,M.isArrayLikeObject=nn,M.isBoolean=qv,M.isBuffer=dl,M.isDate=zv,M.isElement=Gv,M.isEmpty=Kv,M.isEqual=Jv,M.isEqualWith=jv,M.isError=Co,M.isFinite=Yv,M.isFunction=zi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Qv,M.isMatchWith=Zv,M.isNaN=Xv,M.isNative=$v,M.isNil=e0,M.isNull=xv,M.isNumber=Af,M.isObject=Yt,M.isObjectLike=tn,M.isPlainObject=jr,M.isRegExp=yo,M.isSafeInteger=t0,M.isSet=Ef,M.isString=xa,M.isSymbol=Kn,M.isTypedArray=fr,M.isUndefined=n0,M.isWeakMap=i0,M.isWeakSet=l0,M.join=sb,M.kebabCase=j0,M.last=ti,M.lastIndexOf=ob,M.lowerCase=Y0,M.lowerFirst=Q0,M.lt=r0,M.lte=a0,M.max=zw,M.maxBy=Gw,M.mean=Kw,M.meanBy=Jw,M.min=jw,M.minBy=Yw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Dw,M.stubString=Vw,M.stubTrue=Ow,M.multiply=Qw,M.nth=ub,M.noConflict=Pw,M.noop=Eo,M.now=Qa,M.pad=Z0,M.padEnd=X0,M.padStart=$0,M.parseInt=x0,M.random=q0,M.reduce=dv,M.reduceRight=hv,M.repeat=ew,M.replace=tw,M.result=R0,M.round=Zw,M.runInContext=X,M.sample=_v,M.size=bv,M.snakeCase=nw,M.some=vv,M.sortedIndex=pb,M.sortedIndexBy=mb,M.sortedIndexOf=bb,M.sortedLastIndex=vb,M.sortedLastIndexBy=wb,M.sortedLastIndexOf=kb,M.startCase=lw,M.startsWith=rw,M.subtract=Xw,M.sum=$w,M.sumBy=xw,M.template=aw,M.times=Mw,M.toFinite=Gi,M.toInteger=ct,M.toLength=Df,M.toLower=sw,M.toNumber=ni,M.toSafeInteger=s0,M.toString=At,M.toUpper=ow,M.trim=uw,M.trimEnd=fw,M.trimStart=cw,M.truncate=dw,M.unescape=hw,M.uniqueId=Uw,M.upperCase=gw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return mi(M,function(u,_){Dt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ht(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ht(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:cn(ct(_),0);var S=this.__filtered__&&!u?new bt(this):this.clone();return S.__filtered__?S.__takeCount__=wn(_,S.__takeCount__):S.__views__.push({size:wn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ht(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Q||_==J;bt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:Xe(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ht(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ht(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");bt.prototype[s]=function(){return this.__filtered__?new bt(this):this[_](1)}}),bt.prototype.compact=function(){return this.filter(Un)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=ht(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Wr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa(Xe(s)))},bt.prototype.slice=function(s,u){s=ct(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ct(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},bt.prototype.toArray=function(){return this.take(se)},mi(bt.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 q=this.__wrapped__,j=S?[1]:arguments,x=q instanceof bt,ge=j[0],_e=x||ot(q),Ce=function(mt){var kt=A.apply(M,rl([mt],j));return S&&Oe?kt[0]:kt};_e&&_&&typeof ge=="function"&&ge.length!=1&&(x=_e=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,xe=F&&!Oe,dt=x&&!Ke;if(!F&&_e){q=dt?q:new bt(this);var et=s.apply(q,j);return et.__actions__.push({func:ja,args:[Ce],thisArg:t}),new $n(et,Oe)}return xe&&dt?s.apply(this,j):(et=this.thru(Ce),xe?S?et.value()[0]:et.value():et)})}),Ht(["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(ot(F)?F:[],A)}return this[_](function(q){return u.apply(ot(q)?q:[],A)})}}),mi(bt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Dt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=hm,bt.prototype.reverse=gm,bt.prototype.value=_m,M.prototype.at=Gb,M.prototype.chain=Kb,M.prototype.commit=Jb,M.prototype.next=jb,M.prototype.plant=Qb,M.prototype.reverse=Zb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Yb),M},nr=Jp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Yk{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=te.getConfigValue("routing.useHashRouting"),h=te.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=te.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 te.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 te.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=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.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(){te.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(te.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(te.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=te.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 N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ie.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=le.getParentNode(I,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:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const fe=t.get(),Q=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(fe.context),nodeParams:JSON.stringify(fe.nodeParams),pathParams:JSON.stringify(fe.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Q),withoutSync:!0})}}const Y=document.querySelector(".lui-tab-header");Y&&Y.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);rp.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={...Wk.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(te.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=te.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(te.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 ft=new Yk;class Qk{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(te.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="",pt.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 pt=new Qk;class Zk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const Xk=new Zk;class $k{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=te.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 $k;class xk{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=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.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),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await ki.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(te.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await ki.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 ki.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=te.getConfigValue(`auth.${te.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(te.getConfigValue("auth.events.onAuthConfigError")))await ki.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 hn=new xk;class e2{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 e2;class t2{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 ki.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 t2;class n2{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/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(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"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,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}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 n2;class i2{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 vk.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=te.getConfigValue("settings.customSandboxRules"),c=te.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=te.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:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new i2;class l2{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(Yi.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=!!te.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=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ie=new l2;class r2{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=te.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(ki.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=te.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=te.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=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Et.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:te.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||"/";ft.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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=Et.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 te.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 r2;class a2{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=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.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(te.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=te.getConfigValue("routing.useHashRouting");qn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ft.getHashPath():ft.getModifiedPathname();e(l)}}),qn.addEventListener("popstate",n=>{const l=t?ft.getHashPath(location.href):ft.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:ft.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,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.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=Et.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=te.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=te.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=te.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:Et.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 a2;class s2{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=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const bn=new s2;class o2{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 qn=new o2;class u2{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 f2=new u2;class c2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.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 c2,Zr=38,br=40,bl=13,Gl=27,xr=32,d2=36,h2=35;class sp{constructor(e,t){Bn(this,"dispatch");Bn(this,"search");Bn(this,"isCustomSearchRenderer");Bn(this,"isCustomSearchResultItemRenderer");Bn(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=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.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?ft.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=ee(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 g2(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),gt(n,l),i[5](null)}}}function _2(i,e,t){const n=Zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Pt("getUnsavedChangesModalPromise"),c=Pt("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)}),an(()=>{});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){Ye[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 p2 extends Ft{constructor(e){super(),Mt(this,e,_2,g2,Vt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Wn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Wn(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=Ne(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=ee(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 m2(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,N=i[0].buttonDismiss+"",I,V,E,H,D,O=i[0].type&&$f(i),z=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=Ne(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),z&&z.c(),C=W(),y=k("div"),P=k("button"),I=Ne(N),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(Y,Z){L(Y,e,Z),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),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Y,[Z]){Y[0].type?O?O.p(Y,Z):(O=$f(Y),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=Y[0].header+"")&&Ae(h,c),Z&1&&p!==(p=Y[0].body+"")&&(g.innerHTML=p),Y[0].buttonConfirm!==!1?z?z.p(Y,Z):(z=xf(Y),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Z&1&&N!==(N=Y[0].buttonDismiss+"")&&Ae(I,N),Z&1&&V!==(V="fd-button "+(Y[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Z&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Y[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(Y){Y&&T(e),O&&O.d(),z&&z.d(),H=!1,Qe(D)}}}function b2(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")}),an(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.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 v2 extends Ft{constructor(e){super(),Mt(this,e,b2,m2,Vt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function w2(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 k2(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 an(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),qn.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 Ft{constructor(e){super(),Mt(this,e,k2,w2,Vt,{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[5]?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-1hy363a")},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=ee(h,"click",i[11]),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&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?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=Ne(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[10].default,n=hs(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&_s(n,t,l,l[9],e?gs(t,l[9],r,null):ps(l[9]),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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function S2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&ec(i),C=i[4]&&nc(i),y=i[3]&&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[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Wn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){L(P,e,N),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,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&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[4]?C?(C.p(P,N),N&16&&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||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Wn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&32&&b!==(b=P[5]?"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 C2(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=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=Pt("store");const E=G=>le.getNodeLabel(G),H=async G=>{const J=G&&G.length?ie.getPathWithoutHash(G):"",re=me.parseParams(J.split("?")[1]);b=me.getNodeParams(re);const ce=await qt.extractDataFromPath(G);g=ce.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(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=E(g),r),t(0,r._liveLabel=!0,r)),p=ce.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Y():await O(),zl.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const J=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,J;const re=document.querySelector(".lui-modal-index-"+c),{size:ce,width:ne,height:Pe}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(re.classList.remove("lui-modal-fullscreen"),ne&&ne.match(se)&&Pe&&Pe.match(se))G=Pe,J=ne;else switch(ce){case"fullscreen":G="100vh",J="100vw",re.classList.add("lui-modal-fullscreen");break;case"m":G="80%",J="60%";break;case"s":G="80%",J="40%";break;default:G="80%",J="80%"}re.setAttribute("style",`width:${J};height:${G};`)},z=async(G,J)=>{P?await Y():await O(),G&&(G=me.substituteViewUrl(G,J));const re=await Ee.createIframe(G,void 0,g,"modal",J);return document.querySelector(I).appendChild(re),re};async function Y(G){let J="";const re=document.getElementsByClassName("drawer"),ce=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?J="width:75%;":r.size==="m"?J="width:50%;":r.size==="s"?J="width:25%;":r.size==="xs"&&(J="width:15.5%;")),r.backdrop?re[0].setAttribute("style",J):(ce[0].setAttribute("style",J),re[0].setAttribute("style","width:100%"))}ea(()=>{D(o)});const Z=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&fe()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};an(()=>{bn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),qn.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),ta(()=>{qn.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const Q=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,Q]}class op extends Ft{constructor(e){super(),Mt(this,e,C2,S2,Vt,{settings:0,isDataPrepared:7,nodepath:8,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=Se()},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),gt(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?P2:y2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 y2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Ne(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 P2(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=ee(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 N(){return i[19](i[28])}let I=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Ne(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),I&&I.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),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Ot(N))],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?I?I.p(i,E):(I=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&T(e),I&&I.d(),C=!1,Qe(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),gt(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=Ne(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=[ee(e,"click",h),ee(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,Qe(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),gt(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=Ne(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=ee(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=ee(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=ee(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),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),a=Ne(":"),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(),N&&N.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(I,V){L(I,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),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Ae(r,l),I[28].type==="string"?v?v.p(I,V):(v=uc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=fc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=hc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=_c(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=pc(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function I2(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=[ee(window,"click",i[7]),ee(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,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function N2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Zt();let o=Pt("getTranslation");Ci(i,o,Q=>t(5,n=Q));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Q,G){let J=ls(Q.target,".fd-popover__control",20),re=J.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(J,!re))}function m(Q,G){const J=Q.querySelector(".lui-activate-dropdown"),re=Q.parentNode.querySelector(".fd-popover__body"),ce=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",G),re.setAttribute("aria-hidden",!G),ce.setAttribute("aria-expanded",G),J.setAttribute("aria-expanded",G),t(14,h=G)}function v(Q,G,J){t(4,c=J),t(0,r[l[0]][Q]=G.value||G,r)}function C(Q,G){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(J=>{const re=J.getAttribute("id"),ce=`lui-us-enum_button_${Q}_option`;re===ce?J.classList.add("fd-button--emphasized"):J.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Q]=G.value||G,r)}function y(Q,G){let J;if(Array.isArray(G)){for(let re=0;re<G.length;re++)if(ie.isObject(G[re])){if(G[re].value&&G[re].value===Q){J=G[re].label,t(4,c=re);break}}else{J=Q,t(4,c=G.indexOf(Q));break}return n(J)}}function P(Q){return n(ie.isObject(Q)?Q.label:Q)}function N(Q,G,J){return ie.isObject(J)?`${Q}_${G}_${J.value}`:`${Q}_${G}_${J}`}function I(Q,G,J,re){let ce=ls(Q.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${J}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(Q.keyCode===Zr&&Q.altKey&&(ce.click(),ce.focus()),Q.keyCode===br&&!Q.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<re.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Q.keyCode===Zr&&!Q.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<re.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Q.keyCode===bl||Q.keyCode===xr)&&v(G,re.options[Pe],Pe)}else ce.focus(),Q.keyCode===br&&Q.altKey&&ce.click(),Q.keyCode===br&&!Q.altKey&&Pe<re.options.length-1&&v(G,re.options[Pe+1],Pe+1),Q.keyCode===Zr&&!Q.altKey&&Pe>0&&Pe<re.options.length&&v(G,re.options[Pe-1],Pe-1)}function V(Q){if(h){let G=ls(Q.target,".fd-popover",20);G.blur(),(Q.keyCode===xr||Q.keyCode===bl)&&(Q.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Q){r[l[0]][Q]=this.value,t(0,r)}const H=(Q,G,J,re)=>I(re,Q,G,J),D=Q=>b(event,Q.isEditable),O=(Q,G,J)=>v(Q,G,J),z=Q=>V(Q),Y=(Q,G)=>C(Q,G);function Z(Q){r[l[0]][Q]=this.checked,t(0,r)}function fe(Q){r[l[0]][Q]=this.checked,t(0,r)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"storedUserSettingData"in Q&&t(0,r=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,h=Q.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Y,Z,fe]}class T2 extends Ft{constructor(e){super(),Mt(this,e,N2,I2,Vt,{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?A2:L2}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 L2(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=Se(),f(e,"class",t=Wn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Hn(e,"background-image","url('"+i[38][1].icon+"')"),Hn(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=Wn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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&&Hn(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 A2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Wn(i[18](i[38][1].icon))+" svelte-xbltd6"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-xbltd6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Wn(r[18](r[38][1].icon))+" svelte-xbltd6")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-xbltd6")&&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=Ne(t),f(e,"class",l=Wn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),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=Wn(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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=Ne(a),c=W(),h=k("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-xbltd6"),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,N){L(P,e,N),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=[ee(e,"click",St(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),N[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,Qe(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=Se()},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),gt(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 T2({props:o}),Ye.push(()=>yt(e,"closeDropDown",r)),Ye.push(()=>yt(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],Ct(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],Ct(()=>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 E2(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])+"",N,I,V,E,H,D,O,z,Y,Z,fe,Q,G,J=i[10](i[5])+"",re,ce,ne,Pe,se=i[10](i[6])+"",ae,we,Je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Ze=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=Ne(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[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"),N=Ne(P),I=W(),V=k("div"),E=k("div"),Ze&&Ze.c(),H=W(),D=k("div"),O=W(),z=k("div"),Y=W(),Z=k("footer"),fe=k("div"),Q=k("div"),G=k("button"),re=Ne(J),ce=W(),ne=k("div"),Pe=k("button"),ae=Ne(se),f(o,"class","fd-title fd-title--h5 svelte-xbltd6"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-xbltd6"),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-xbltd6"),f(r,"class","fd-side-nav svelte-xbltd6"),f(l,"class","lui-usersettings-left-nav svelte-xbltd6"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-xbltd6"),f(y,"class","fd-title fd-title--h5 svelte-xbltd6"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-xbltd6"),f(E,"class","usersettingseditor mf-wrapper svelte-xbltd6"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-xbltd6"),f(z,"class","wcUserSettingsCtn wc-wrapper svelte-xbltd6"),f(V,"class","lui-usersettings-content svelte-xbltd6"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-xbltd6"),f(G,"data-testid","lui-us-saveBtn"),f(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(fe,"class","fd-bar__right"),f(Z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-xbltd6"),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-xbltd6"),f(e,"tabindex","0")},m(De,tt){L(De,e,tt),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<ze.length;rt+=1)ze[rt]&&ze[rt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,E),Ze&&Ze.m(E,null),w(V,H),w(V,D),w(V,O),w(V,z),w(t,Y),w(t,Z),w(Z,fe),w(fe,Q),w(Q,G),w(G,re),w(fe,ce),w(fe,ne),w(ne,Pe),w(Pe,ae),we=!0,Je||(ye=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(G,"click",i[25]),ee(Pe,"click",i[26])],Je=!0)},p(De,tt){if((!we||tt[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),tt[0]&803846){Le=Ve(Object.entries(De[1]));let rt;for(rt=0;rt<Le.length;rt+=1){const lt=vc(De,Le,rt);ze[rt]?ze[rt].p(lt,tt):(ze[rt]=yc(lt),ze[rt].c(),ze[rt].m(p,null))}for(;rt<ze.length;rt+=1)ze[rt].d(1);ze.length=Le.length}(!we||tt[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(N,P),De[11]?Ze?(Ze.p(De,tt),tt[0]&2048&&R(Ze,1)):(Ze=Pc(De),Ze.c(),R(Ze,1),Ze.m(E,null)):Ze&&(be(),U(Ze,1,1,()=>{Ze=null}),ve()),(!we||tt[0]&1056)&&J!==(J=De[10](De[5])+"")&&Ae(re,J),(!we||tt[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){we||(R(Ze),we=!0)},o(De){U(Ze),we=!1},d(De){De&&T(e),gt(ze,De),Ze&&Ze.d(),Je=!1,Qe(ye)}}}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 R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function D2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function up(i,e,t){if(i&&t>0)return i.matches(e)?i:up(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 O2(i,e,t){let n,{userSettingGroups:l}=e;const r=Zt();let a,{storedUserSettings:o={}}=e,c={},h=Pt("getTranslation");Ci(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")}),an(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),ae=se||te.getConfigValue("settings.userSettings.userSettingsDialog");ae&&(t(4,d=ae.dialogHeader?ae.dialogHeader:d),t(5,g=ae.saveBtn?ae.saveBtn:g),t(6,p=ae.dismissBtn?ae.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,qn.addEventListener("message",we=>{const Je=Ee.getValidMessageSource(we);if(!Je||we.data.msg!=="custom")return;Je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(we.data),Le="luigi.updateUserSettings";if(ye.id===Le){const ze=pr.findActiveCustomUserSettingsIframe(we.source);if(ze){let Ze=ze.getAttribute("userSettingsGroup");t(0,o[Ze]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<dn.desktopMinWidth&&D()}),te.readUserSettings().then(we=>{c=JSON.parse(JSON.stringify(we)),we===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),we)),N([m,l[0][m]])}).catch(we=>{we&&we.message&&console.error(we.message),we&&we.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 ae in se.settings){let we=se.settings[ae];we.type==="enum"?Array.isArray(we.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):we.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function N(se,ae){t(11,a=se);let we=se[0],Je=se[1];if(P(Je),ae?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),up(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<dn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<dn.desktopMinWidth&&Nc()),Je.viewUrl){if(pr.hideUserSettingsIframe(),Je.webcomponent){I({...Je},we);return}if(b.hasOwnProperty(we))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===we&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(Je.viewUrl):Je.viewUrl;let Le=pr.createIframe(ye,we);b[we]=Le}D2()}else V2()}function I(se,ae){const we=document.querySelector(".wcUserSettingsCtn");if(!we)return;we.innerHTML="";const Je={};we.eventBus={listeners:Je,onPublishEvent:(De,tt)=>{let rt=tt;t(0,o[rt]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Ze=se.label;zl.renderWebComponent(se.viewUrl,we,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Ze?Ze.replace(/ /g,"").toLowerCase():null),R2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.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<dn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function z(se){return le.isOpenUIiconName(se.icon)}let Y;const Z=()=>{const se=window.innerWidth>=dn.desktopMinWidth&&Y<dn.desktopMinWidth;if(window.innerWidth<dn.desktopMinWidth&&Y>=dn.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"),!Y){let we=document.querySelector(".confirm-button");window.innerWidth<dn.desktopMinWidth?we.style.display="none":we.style.display="block"}Y=window.innerWidth};function fe(se,ae){let we=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&we[ae].click(),se.keyCode===h2&&we[Object.keys(l).length-1].focus(),se.keyCode===d2&&we[0].focus()}function Q(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const G=se=>N(se,event),J=(se,ae)=>fe(ae,[se]);function re(se){y=se,t(9,y)}function ce(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,fe,Q,d,g,p,v,C,y,n,a,r,h,N,V,E,D,O,z,Z,G,J,re,ce,ne,Pe]}class M2 extends Ft{constructor(e){super(),Mt(this,e,O2,E2,Vt,{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:F2}=wl;function U2(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 B2(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=Ne(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=ee(t,"click",Ot(St(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=[ee(a,"click",Ot(St(i[3]))),ee(n,"mousedown",Ot(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function H2(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]?B2:U2}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=Se(),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=ee(F2,"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 W2(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,N=!1,I=Pt("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:J=>{J&&Object.getOwnPropertyNames(J).forEach(re=>{re==="splitViewSettings"?t(1,C=J.splitViewSettings):re==="lastNode"?r=J.lastNode:re==="pathData"?a=J.pathData:re==="nodeParams"?o=J.nodeParams:re==="collapsed"?t(0,v=J.collapsed):re==="isDataPrepared"?t(8,y=J.isDataPrepared):re==="currentNode"?c=J.currentNode:re==="splitViewIframe"?d=J.splitViewIframe:re==="splitViewIframeData"?g=J.splitViewIframeData:re==="splitViewWC"?p=J.splitViewWC:re==="splitViewWCData"&&(b=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||pt.createAndSetView(V()):await pt.prepareSplitViewData(V(),m)},H=()=>{l.split=pt.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=pt.getDragger()},D=()=>{const J=pt.getDraggerBackdrop();J&&(J.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${pt.splitViewValues.top}px`),l.split.style.top=`${pt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(J){if(Ee.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&pt.close(V()),J.data.msg==="luigi.navigation.splitview.collapse"&&z(),J.data.msg==="luigi.navigation.splitview.expand"&&Y(),J.data.msg==="luigi.navigation.splitview.resize")){const re=parseInt(J.data.data);if(pt.calculateAndSetSplitViewValues(re,pt.internalValues),v)return;D(),pt.sendMessageToClients("resize.ok",pt.splitViewValues.percent)}}an(()=>{Z(),h=O.bind(this),qn.addEventListener("message",h)}),ea(()=>{E(),N!==y&&!v&&(N=y,D())}),ta(()=>{window.removeEventListener("message",h)});function z(){pt.collapse(V())}async function Y(){await pt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const J=ie.getShellbarHeight();pt.internalValues.innerHeight=ie.getInnerHeight(),pt.internalValues.rightContentHeight=pt.internalValues.innerHeight-J,pt.internalValues.thresholdBottom=30,pt.internalValues.thresholdTop=J+30,pt.calculateAndSetSplitViewValues(pt.splitViewValues.percent,pt.internalValues),v||D()}function fe(J){let re=J.y,ce={};const ne=function(Je){const ye=re-Je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Ze=pt.internalValues.innerHeight-ze,De=pt.enforceTresholds(ze,Ze);ze<De.top||Ze<De.bottom||(ce=De,re=Je.y,l.draggable.style.top=`${ce.top}px`)},Pe=function(){if(se(),!ce.top||!ce.bottom||ce.top==pt.internalValues.m_pos_prev){pt.getDraggerBackdrop().style.display="none";return}pt.internalValues.m_pos_prev=ce.top,pt.splitViewValues=ce,D(),pt.sendMessageToClients("resize.ok",ce.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),pt.getDraggerBackdrop().style.display="block"}const Q=J=>{let re=pt.getDraggerButton();re&&(re.style.display=J?"block":"none"),re=pt.getCollapsedDraggerButton(),re&&(re.style.display=J?"block":"none")},G=J=>{Q(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,m=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,C=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,C,P,z,Y,Z,fe,G,y,m]}class fp extends Ft{constructor(e){super(),Mt(this,e,W2,H2,Vt,{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:G2,then:z2,catch:q2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=Se(),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)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function q2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function z2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=Se()},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=Ne(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 G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=Se()},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 J2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Ft{constructor(e){super(),Mt(this,e,J2,K2,Vt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ne(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 j2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=Se()},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 Y2(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 ii extends Ft{constructor(e){super(),Mt(this,e,Y2,j2,Vt,{node:0})}}function Q2(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,N=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),o=W(),c=k("span"),d=W(),g=k("ul"),N&&N.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(I,V){L(I,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),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Ot(St(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&_s(N,P,I,I[3],v?gs(P,I[3],V,null):ps(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&T(e),N&&N.d(I),C=!1,Qe(y)}}}function Z2(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=[Z2,Q2],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=Se()},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 $2(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 x2 extends Ft{constructor(e){super(),Mt(this,e,$2,X2,Vt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[96]=e[t][0],n[97]=e[t][1],n[99]=t,n}function Dc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[93]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[96]=e[t][0],n[97]=e[t][1],n[99]=t,n}function Bc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[100]=e[t],n}function eS(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-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},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=ee(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-1bekqg6"))&&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-1bekqg6"))&&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 tS(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[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),Hn(e,"width","var(--luigi__left-sidenav--width)"),Hn(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]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&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-1bekqg6")},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=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},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?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 nS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!it(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 iS(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-1bekqg6"),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-1bekqg6")&&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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ee(e,"click",St(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=Wn(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},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=Wn(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&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),gt(a,c)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return c[97].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 rS(i){let e,t,n=Ve(i[97]),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=Se()},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[97]);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),gt(l,a)}}}function aS(i){let e,t,n=i[27](i[96])+"",l,r,a,o,c,h,d=i[10]&&i[97].metaInfo.icon&&Jc(i),g=Ve(i[97]),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=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[97],i[27](i[96]))),f(e,"data-testid",a=i[34](i[97].metaInfo,i[96])),f(e,"id","category_list_level1_"+i[99])},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[97].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[96])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[97],m[27](m[96]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[97].metaInfo,m[96])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[97]);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(),gt(p,m)}}}function sS(i){let e,t,n,l,r,a,o=i[27](i[96])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Y,Z,fe;function Q(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[97].metaInfo.icon)),l?_S:gS}let G=Q(i,[-1,-1,-1,-1]),J=G(i);function re(){return i[66](i[97])}function ce(){return i[67](i[97])}function ne(...ye){return i[68](i[97],...ye)}let Pe=Ve(i[97]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const ae=ye=>U(se[ye],1,1,()=>{se[ye]=null});let we=i[97].metaInfo&&i[97].metaInfo.label===i[8]&&ld(i);function Je(){return i[73](i[97])}return{c(){e=k("li"),t=k("div"),n=k("a"),J.c(),r=W(),a=k("span"),c=Ne(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),we&&we.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[97],i[27](i[96]))),f(n,"class",d="fd-nested-list__link "+(rn(i[97],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[99]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=rn(i[97],i[9])),f(C,"class",y=rn(i[97],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=rn(i[97],i[9])),f(v,"title",N=i[41](i[97],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!rn(i[97],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[97].metaInfo,i[96])),Qt(e,"lui-item-expanded",rn(i[97],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),J.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 ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),we&&we.m(e,null),w(e,O),Y=!0,Z||(fe=[ee(n,"click",St(re)),ee(v,"click",St(ce)),ee(t,"keypress",ne),ee(e,"click",Ot(Je))],Z=!0)},p(ye,Le){if(i=ye,G===(G=Q(i,Le))&&J?J.p(i,Le):(J.d(1),J=G(i),J&&(J.c(),J.m(n,r))),(!Y||Le[0]&134225920)&&o!==(o=i[27](i[96])+"")&&Ae(c,o),(!Y||Le[0]&134225920&&h!==(h=i[35](i[97],i[27](i[96]))))&&f(n,"title",h),(!Y||Le[0]&8704&&d!==(d="fd-nested-list__link "+(rn(i[97],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Y||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Y||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Y||Le[0]&8704&&b!==(b=rn(i[97],i[9])))&&f(n,"aria-expanded",b),(!Y||Le[0]&8704&&y!==(y=rn(i[97],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Y||Le[0]&8704&&P!==(P=rn(i[97],i[9])))&&f(v,"aria-expanded",P),(!Y||Le[0]&8704&&N!==(N=i[41](i[97],i[9])))&&f(v,"title",N),(!Y||Le[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[97]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Ze=Oc(i,Pe,ze);se[ze]?(se[ze].p(Ze,Le),R(se[ze],1)):(se[ze]=id(Ze),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ve()}(!Y||Le[0]&8704&&H!==(H=!rn(i[97],i[9])))&&f(E,"aria-hidden",H),i[97].metaInfo&&i[97].metaInfo.label===i[8]?we?(we.p(i,Le),Le[0]&8448&&R(we,1)):(we=ld(i),we.c(),R(we,1),we.m(e,O)):we&&(be(),U(we,1,1,()=>{we=null}),ve()),(!Y||Le[0]&8192&&z!==(z=i[34](i[97].metaInfo,i[96])))&&f(e,"data-testid",z),(!Y||Le[0]&8704)&&Qt(e,"lui-item-expanded",rn(i[97],i[9]))},i(ye){if(!Y){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(we),Y=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(we),Y=!1},d(ye){ye&&T(e),J.d(),gt(se,ye),we&&we.d(),Z=!1,Qe(fe)}}}function Jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[97].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 oS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!it(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function uS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[97].metaInfo.icon?i[31](i[97].metaInfo.icon):"")+" svelte-1bekqg6"),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[97].metaInfo.icon?n[31](n[97].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function jc(i){let e,t,n=i[100].label&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Z,fe){return Z[100].icon?cS:fS}let V=I(i),E=V(i),H=i[100].statusBadge&&Qc(i),D=i[100].externalLink&&i[100].externalLink.url&&Zc(),O=i[100].badgeCounter&&Xc(i);function z(...Z){return i[74](i[100],...Z)}function Y(...Z){return i[75](i[100],...Z)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Ne(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[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[100])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[100],i[30](i[100]))),f(e,"aria-labelledby","category_list_level1_"+i[99])},m(Z,fe){L(Z,e,fe),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||(N=[ee(t,"click",z),ee(t,"keyup",function(){Si(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],P=!0)},p(Z,fe){i=Z,V===(V=I(i))&&E?E.p(i,fe):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||fe[0]&8192)&&r!==(r=i[30](i[100])+"")&&Ae(a,r),i[100].statusBadge?H?(H.p(i,fe),fe[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||fe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[100].externalLink&&i[100].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[100].badgeCounter?O?(O.p(i,fe),fe[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||fe[0]&8192&&g!==(g=i[33](i[100])))&&f(t,"href",g),(!y||fe[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||fe[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||fe[0]&8192&&m!==(m=le.getTestId(i[100])))&&f(t,"data-testid",m),(!y||fe[0]&8192&&C!==(C=i[35](i[100],i[30](i[100]))))&&f(e,"title",C)},i(Z){y||(R(H),R(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(N)}}}function fS(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=Ne(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 cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 dS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!it(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function hS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[100].icon)+" svelte-1bekqg6")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[100].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new ii({props:{node:i[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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 gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!it(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.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[97].metaInfo.icon)+" "+(i[6]&&!i[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),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[97].metaInfo.icon)+" "+(n[6]&&!n[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[100].label&&ed(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ii({props:{node:i[100]}});let I=i[100].externalLink&&i[100].externalLink.url&&td(),V=i[100].badgeCounter&&nd(i);function E(...D){return i[69](i[100],...D)}function H(...D){return i[70](i[100],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[100])),f(t,"title",v=i[35](i[100],i[30](i[100]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[99])},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),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){Si(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[100])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[100]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[100].externalLink&&i[100].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[100].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[100])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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[100])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[100],i[30](i[100]))))&&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),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[96])+"",r,a,o,c,h=Ve(i[97]),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=Ne(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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},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[96])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[97]);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),gt(d,p)}}}function rd(i){let e,t,n=i[100].label&&ad(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ii({props:{node:i[100]}});let I=i[100].externalLink&&i[100].externalLink.url&&sd(),V=i[100].badgeCounter&&od(i);function E(...D){return i[71](i[100],...D)}function H(...D){return i[72](i[100],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[100])),f(t,"title",v=i[35](i[100],i[30](i[100]))),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),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){Si(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[100])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[100]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[100].externalLink&&i[100].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[100].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[100])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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[100])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[100],i[30](i[100]))))&&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),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&rd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100].label&&cd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Z,fe){return Z[100].icon?mS:pS}let E=V(i),H=E(i);c=new ii({props:{node:i[100]}});let D=i[100].externalLink&&i[100].externalLink.url&&dd(),O=i[100].badgeCounter&&hd(i);function z(...Z){return i[64](i[100],...Z)}function Y(...Z){return i[65](i[100],...Z)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Ne(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[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[100])),f(t,"title",b=i[35](i[100],i[30](i[100]))),f(t,"class",m="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[100])),f(e,"class","fd-nested-list__item")},m(Z,fe){L(Z,e,fe),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,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){Si(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],N=!0)},p(Z,fe){i=Z,E===(E=V(i))&&H?H.p(i,fe):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||fe[0]&8192)&&r!==(r=i[30](i[100])+"")&&Ae(a,r);const Q={};fe[0]&8192&&(Q.node=i[100]),c.$set(Q),(!P||fe[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[100].externalLink&&i[100].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[100].badgeCounter?O?(O.p(i,fe),fe[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||fe[0]&8192&&p!==(p=i[33](i[100])))&&f(t,"href",p),(!P||fe[0]&8192&&b!==(b=i[35](i[100],i[30](i[100]))))&&f(t,"title",b),(!P||fe[0]&8320&&m!==(m="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||fe[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||fe[0]&8192&&C!==(C=le.getTestId(i[100])))&&f(t,"data-testid",C)},i(Z){P||(R(c.$$.fragment,Z),R(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),N=!1,Qe(I)}}}function pS(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 mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 bS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!it(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function vS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[100].icon)+" svelte-1bekqg6"),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[100].icon)+" svelte-1bekqg6")&&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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&fd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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=[rS,lS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[96]==="undefined"||d[96].startsWith(d[15]))),e?0:(t==null&&(t=d[97].filter(FS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},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=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},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"?kS:wS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 wS(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-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[ee(e,"click",i[77]),ee(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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function kS(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-1bekqg6"),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-1bekqg6")},m(a,o){L(a,e,o),w(e,t),l||(r=ee(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-1bekqg6")&&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-1bekqg6")},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=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),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-1bekqg6")},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?CS:SS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 SS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!it(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 CS(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-1bekqg6"),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-1bekqg6")&&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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ee(e,"click",St(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-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){L(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N]&&v[N].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=[ee(c,"click",i[42]),ee(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let N;for(N=0;N<m.length;N+=1){const I=Fc(y,m,N);v[N]?(v[N].p(I,P),R(v[N],1)):(v[N]=Bd(I),v[N].c(),R(v[N],1),v[N].m(t,n))}for(be(),N=m.length;N<v.length;N+=1)C(N);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),gt(v,y),i[62](null),p=!1,Qe(b)}}}function yS(i){let e,t,n,l,r,a,o=i[27](i[96])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(G,J){return J[0]&16384&&(l=null),l==null&&(l=!!G[32](G[97].metaInfo.icon)),l?NS:IS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[53](i[97])}function Y(){return i[54](i[97])}function Z(...G){return i[55](i[97],...G)}function fe(...G){return i[56](i[97],...G)}let Q=(!i[6]||i[97].metaInfo&&i[97].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=Ne(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Q&&Q.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-1bekqg6"),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[97],i[27](i[96]))),f(t,"aria-expanded",v=i[6]?i[97].metaInfo&&i[97].metaInfo.label===i[8]:rn(i[97],i[9])),f(t,"aria-selected",C=i[6]&&i[97].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[97].metaInfo,i[96]))},m(G,J){L(G,e,J),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),Q&&Q.m(e,null),I=!0,V||(E=[ee(n,"click",St(z)),ee(n,"keypress",St(Y)),ee(n,"keypress",St(Z)),ee(t,"click",Ot(fe))],V=!0)},p(G,J){i=G,D===(D=H(i,J))&&O?O.p(i,J):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||J[0]&134234112)&&o!==(o=i[27](i[96])+"")&&Ae(c,o),(!I||J[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||J[0]&134234112&&m!==(m=i[35](i[97],i[27](i[96]))))&&f(t,"title",m),(!I||J[0]&17216&&v!==(v=i[6]?i[97].metaInfo&&i[97].metaInfo.label===i[8]:rn(i[97],i[9])))&&f(t,"aria-expanded",v),(!I||J[0]&16576&&C!==(C=i[6]&&i[97].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[97].metaInfo&&i[97].metaInfo.label===i[8]?Q?(Q.p(i,J),J[0]&16704&&R(Q,1)):(Q=Cd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),(!I||J[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||J[0]&16384&&N!==(N=i[34](i[97].metaInfo,i[96])))&&f(e,"data-testid",N)},i(G){I||(R(Q),I=!0)},o(G){U(Q),I=!1},d(G){G&&T(e),O.d(),Q&&Q.d(),V=!1,Qe(E)}}}function PS(i){let e,t,n=Ve(i[97]),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=Se()},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[97]);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),gt(l,a)}}}function IS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),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&&!it(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function NS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[97].metaInfo.icon)+" "+(i[6]&&!i[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),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[97].metaInfo.icon)+" "+(n[6]&&!n[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&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[97]),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-1bekqg6")},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[97]);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-1bekqg6"))&&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(),gt(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[96])+"",a,o,c,h,d,g=i[10]&&i[97].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Ne(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-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),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[97],i[27](i[96]))),f(e,"data-testid",d=i[34](i[97].metaInfo,i[96]))},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[97].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[96])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[97],p[27](p[96])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[97].metaInfo,p[96]))&&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[97].metaInfo.icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),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&&!it(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[97].metaInfo.altText?r[97].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[97].metaInfo.icon)+" svelte-1bekqg6"),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[97].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[100].label&&Nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E=i[30](i[100])+"",H,D,O,z,Y,Z,fe,Q,G,J,re,ce,ne,Pe;c=new ii({props:{node:i[100]}});let se=i[100].externalLink&&i[100].externalLink.url&&Td(),ae=i[100].badgeCounter&&Ld(i);function we(...De){return i[57](i[100],...De)}function Je(...De){return i[58](i[100],...De)}O=new ii({props:{node:i[100]}});let ye=i[100].externalLink&&i[100].externalLink.url&&Ad(),Le=i[100].badgeCounter&&Ed(i);function ze(...De){return i[59](i[100],...De)}function Ze(...De){return i[60](i[100],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),N=k("li"),I=k("a"),V=k("span"),H=Ne(E),D=W(),Be(O.$$.fragment),Y=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[100])),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[100],i[30](i[100]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[100]===i[7]),f(t,"data-testid",y=le.getTestId(i[100])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",fe=i[33](i[100])),f(I,"class",Q="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",J=le.getTestId(i[100])),f(I,"title",re=i[35](i[100],i[30](i[100]))),Hn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[99])},m(De,tt){L(De,e,tt),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),ae&&ae.m(n,null),L(De,P,tt),L(De,N,tt),w(N,I),w(I,V),w(V,H),w(V,D),Me(O,V,null),w(I,Y),ye&&ye.m(I,null),w(I,Z),Le&&Le.m(I,null),ce=!0,ne||(Pe=[ee(n,"click",we),ee(n,"keyup",function(){Si(i[24]?void 0:Je)&&(i[24]?void 0:Je).apply(this,arguments)}),ee(I,"click",ze),ee(I,"keyup",function(){Si(i[24]?void 0:Ze)&&(i[24]?void 0:Ze).apply(this,arguments)})],ne=!0)},p(De,tt){i=De,(!ce||tt[0]&16384)&&r!==(r=i[30](i[100])+"")&&Ae(a,r);const rt={};tt[0]&16384&&(rt.node=i[100]),c.$set(rt),(!ce||tt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[100].externalLink&&i[100].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[100].badgeCounter?ae?(ae.p(i,tt),tt[0]&16384&&R(ae,1)):(ae=Ld(i),ae.c(),R(ae,1),ae.m(n,null)):ae&&(be(),U(ae,1,1,()=>{ae=null}),ve()),(!ce||tt[0]&16384&&m!==(m=i[33](i[100])))&&f(n,"href",m),(!ce||tt[0]&16384&&v!==(v=i[35](i[100],i[30](i[100]))))&&f(t,"title",v),(!ce||tt[0]&16512&&C!==(C=i[100]===i[7]))&&f(t,"aria-selected",C),(!ce||tt[0]&16384&&y!==(y=le.getTestId(i[100])))&&f(t,"data-testid",y),(!ce||tt[0]&16384)&&E!==(E=i[30](i[100])+"")&&Ae(H,E);const lt={};tt[0]&16384&&(lt.node=i[100]),O.$set(lt),(!ce||tt[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[100].externalLink&&i[100].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(I,Z)):ye&&(ye.d(1),ye=null),i[100].badgeCounter?Le?(Le.p(i,tt),tt[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(I,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ce||tt[0]&16384&&fe!==(fe=i[33](i[100])))&&f(I,"href",fe),(!ce||tt[0]&16512&&Q!==(Q="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",Q),(!ce||tt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!ce||tt[0]&16384&&J!==(J=le.getTestId(i[100])))&&f(I,"data-testid",J),(!ce||tt[0]&16384&&re!==(re=i[35](i[100],i[30](i[100]))))&&f(I,"title",re)},i(De){ce||(R(c.$$.fragment,De),R(ae),R(O.$$.fragment,De),R(Le),ce=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ce=!1},d(De){De&&(T(e),T(P),T(N)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100].hideFromNav&&Id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100].label&&Vd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H;function D(G,J){return G[100].icon?ES:AS}let O=D(i),z=O(i);h=new ii({props:{node:i[100]}});let Y=i[100].externalLink&&i[100].externalLink.url&&Od(),Z=i[100].badgeCounter&&Md(i);function fe(...G){return i[50](i[100],...G)}function Q(...G){return i[51](i[100],...G)}return{c(){e=k("li"),t=k("div"),n=k("a"),z.c(),l=W(),r=k("span"),o=Ne(a),c=W(),Be(h.$$.fragment),g=W(),Y&&Y.c(),p=W(),Z&&Z.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[100]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[100])),f(n,"title",y=i[35](i[100],i[30](i[100]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=le.getTestId(i[100])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[100]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,J){L(G,e,J),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Y&&Y.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",fe),ee(n,"keyup",function(){Si(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)}),ee(n,"mouseup",i[52])],E=!0)},p(G,J){i=G,O===(O=D(i))&&z?z.p(i,J):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||J[0]&16384)&&a!==(a=i[30](i[100])+"")&&Ae(o,a);const re={};J[0]&16384&&(re.node=i[100]),h.$set(re),(!V||J[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[100].externalLink&&i[100].externalLink.url?Y||(Y=Od(),Y.c(),Y.m(n,p)):Y&&(Y.d(1),Y=null),i[100].badgeCounter?Z?(Z.p(i,J),J[0]&16384&&R(Z,1)):(Z=Md(i),Z.c(),R(Z,1),Z.m(n,b)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),(!V||J[0]&16512&&v!==(v="fd-navigation__link "+(i[100]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||J[0]&16384&&C!==(C=i[33](i[100])))&&f(n,"href",C),(!V||J[0]&16384&&y!==(y=i[35](i[100],i[30](i[100]))))&&f(n,"title",y),(!V||J[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||J[0]&16384&&N!==(N=le.getTestId(i[100])))&&f(n,"data-testid",N),(!V||J[0]&16512&&I!==(I=i[100]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(R(h.$$.fragment,G),R(Z),V=!0)},o(G){U(h.$$.fragment,G),U(Z),V=!1},d(G){G&&T(e),z.d(),Fe(h),Y&&Y.d(),Z&&Z.d(),E=!1,Qe(H)}}}function AS(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 ES(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?DS:RS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 RS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!it(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function DS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[100].icon)+" svelte-1bekqg6"),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[100].icon)+" svelte-1bekqg6")&&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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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=[PS,yS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[96]==="undefined"||d[96].startsWith(d[15]))),e?0:(t==null&&(t=d[97].filter(MS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},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 VS(i){let e,t,n=Ve(i[93].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=Se()},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[93].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),gt(l,a)}}}function Bd(i){let e,t;return e=new x2({props:{navGroup:i[93],expanded:i[93].groupEntry&&rn(i[93].groupEntry[1],i[9]),$$slots:{default:[VS]},$$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[93]),l[0]&16896&&(r.expanded=n[93].groupEntry&&rn(n[93].groupEntry[1],n[9])),l[0]&151046080|l[3]&2097152&&(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 OS(i){let e,t,n,l,r,a;const o=[tS,eS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[ee(ns,"resize",i[18]),ee(ns,"click",i[22]),ee(ns,"blur",i[22]),ee(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,Qe(a)}}}function rn(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 MS=i=>!i.hideFromNav&&i.label,FS=i=>!i.hideFromNav&&i.label;function US(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:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async ke=>{if(ke==="pathData")t(5,p=K.pathData);else if(ke==="context")D=K.context;else if(ke==="children")t(0,a=K.children);else if(ke==="selectedNode")t(7,C=K.selectedNode);else if(ke==="hasCategoriesWithIcon")t(10,N=K.hasCategoriesWithIcon);else if(ke==="navParent"){t(12,E=void 0);let nt=K.navParent;if(t(45,H=nt),nt&&nt.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let je=nt.navHeader,vt=nt;if(je==="inherit"){for(vt=nt.parent;vt&&vt.navHeader==="inherit";)vt=vt.parent;je=vt?vt.navHeader:void 0}if(je instanceof Function){t(12,E={});let _t=je(le.stripNode(nt),le.stripNode(vt),D);_t instanceof Promise?_t.then(Ut=>{t(12,E=Ut)}):t(12,E=_t)}else if(je==="auto")t(12,E={label:nt.label,icon:nt.icon});else if(je&&je.useTitleResolver&&vt.titleResolver){vt.titleResolver.prerenderFallback?t(12,E={...je,label:vt.titleResolver.fallbackTitle||"",icon:vt.titleResolver.fallbackIcon}):t(12,E=je);const _t=me.mapPathToNode(ft.getCurrentPath(),vt);qt.extractDataFromPath(_t).then(Ut=>{const xt=me.substituteDynamicParamsInObject(Object.assign({},Ut.pathData.context,vt.context),Ut.pathData.pathParams);le.fetchNodeTitleData(vt,xt).then(yn=>{t(12,E={...je,...yn})}).catch(yn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...je,label:nt.label,icon:nt.icon})})})}else t(12,E=await tt(je,vt))}}}),t(44,I=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:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Y=Pt("store"),Z=Pt("getTranslation");Ci(i,Z,K=>t(27,n=K));let fe=!1,Q=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),G,J=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",re;const ce=K=>le.getNodeLabel(K),ne=async()=>{const K=l.get(),ke=await qt.getLeftNavData({...K},K);ke&&(l.set(ke),O=p,window.LEFTNAVDATA=ke.children)};an(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,fe=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),bn.doOnStoreChange(Y,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),bn.doOnStoreChange(Y,()=>{ne()},["navigation.viewgroupdata"]);let K=wi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),wi.onValueChanged(ke=>{t(6,v=ke.isSemiCollapsed)}),qn.addEventListener("message",ke=>{ke.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const Pe=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ke=G.querySelector(".fd-navigation__list"),nt=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(je=>{je.navGroupId?ke.querySelector(`[navGroupId="${je.navGroupId}"]`).appendChild(je):ke.insertBefore(je,nt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),ke=G.querySelector(".lui-moreItems"),nt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&nt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let je=nt.length-1;je>0&&(lastNode=nt[je-1],nt[je].navGroupId=nt[je].parentNode.getAttribute("navGroupId"),ke.insertBefore(nt[je],ke.firstChild),!(K.clientHeight>0));je--);}},ae=()=>{const K=ke=>{ke&&lt(ke)};E!=null&&E.renderer&&re&&(E.clearBeforeRender&&t(26,re.innerHTML="",re),E.renderer(re,H,K,{...E,context:p._context}))};ea(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ke,nt)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{Pe(),se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):Pe(),ae()}),Qn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function we(K){if(Q){const ke={},nt=[],je=J;let vt=[];return K.forEach(_t=>{if(_t[0].startsWith(m))vt.push({isSingleEntry:!0,entries:[_t]});else{const Ut=_t[1].metaInfo.categoryUid;if(Ut&&Ut.indexOf(je)>0)nt.push(_t);else{const xt=_t[1].metaInfo.isGroup;ke[Ut]={isSingleEntry:!xt,title:n(_t[1].metaInfo.label),groupEntry:_t,uid:Ut,entries:[xt?["undefined",_t[1]]:_t]},vt.push(ke[Ut]),!le.isCollapsedSuperCategory(Ut)&&xt&&Gt(_t[1],!0)}}}),nt.forEach(_t=>{const Ut=_t[1].metaInfo.categoryUid.split(je)[0],xt=ke[Ut];xt&&(xt.isSingleEntry&&(xt.isSingleEntry=!1,xt.entries=[["undefined",xt.groupEntry[1]]]),xt.entries.push(_t))}),vt.filter(_t=>{if(_t.entries&&_t.entries.length>0)for(let Ut=0;Ut<_t.entries.length;Ut++){const[xt,yn]=_t.entries[Ut];if(yn.filter(_i=>!_i.hideFromNav&&_i.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:Je}=e,{sortedVerticalNavGroups:ye}=e;function Le(K){return le.renderIconClassName(K)}function ze(K){return le.isOpenUIiconName(K)}function Ze(K){return me.getNodeHref(K,b)}function De(K,ke){return K&&K.testId?K.testId:le.prepareForTests(ke||K.label)}async function tt(K,ke){const nt=me.mapPathToNode(ft.getCurrentPath(),ke),vt=(await qt.extractDataFromPath(nt)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,vt)}function rt(K,ke){return le.generateTooltipText(K,ke)}function lt(K){r("handleClick",{node:K})}function pe(K,ke){if(wi.getCollapsed()){let nt,je=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?nt=K.metaInfo.label:nt=K.category&&K.category.label||K.category,je&&!je.classList.contains("isBlocked")&&(je.className+=" isBlocked"),nt===y){t(8,y=wi.closePopupMenu(y));return}t(8,y=nt),je?$e(ke):Q&&(Wo(ke),ke.closest(".lui-moreItems")||Te())}}function $e(K){const ke=K.closest(".fd-nested-list__item"),nt=ke.offsetTop,je=Yi.getShellbar().offsetHeight;let vt;Yi.isCustomLuigiContainer()?vt=Yi.getCustomLuigiContainer().clientHeight:vt=window.innerHeight,setTimeout(()=>{const _t=ke.getElementsByClassName("lui-flyout-sublist")[0],Ut=K.closest(".lui-fd-side-nav-wrapper").scrollTop,xt=nt+je-Ut,yn=vt-nt-ke.offsetHeight+Ut-je;xt+_t.offsetHeight>=vt?(_t.style.bottom=yn+"px",_t.className+=" has-bottom-position"):_t.style.top=xt-je+"px"})}function zt(){if(h){let K=wi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function En(K){if(K.code==="ArrowRight"){const nt=Ee.getCurrentMicrofrontendIframe();nt&&nt.contentWindow&&nt.contentWindow.focus()}}function on(K){let ke=H?H.parent:void 0;for(;ke;){if(ke.pathSegment&&ke.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ke});return}ke=ke.parent}console.warn('Could not resolve "up"-node, redirecting to root'),rp.navigate("/")}function Gt(K,ke){wi.getCollapsed()||t(9,P=le.storeExpandedState(K.metaInfo.categoryUid,ke,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function ut(){t(8,y=wi.closePopupMenu(y)),Te()}function st(K){K&&K.code==="Escape"&&ut()}function Xt(){t(6,v=wi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),pn()}function $t(K){const ke=K.code;(ke==="Enter"||ke==="Space")&&Xt()}function Rn(K,ke){(K.code==="Enter"||K==="Space")&&pe(ke,K.currentTarget)}function Rt(K,ke){K.keyCode===bl&&le.handleNavAnchorClickedWithoutMetaKey(K)&&lt(ke)}function pn(){if(!le.getBurgerTooltipConfig())return;const[K,ke]=le.getBurgerTooltipConfig(),nt=document.body.classList.contains("lui-semiCollapsible");K&&ke&&nt&&t(11,V=document.body.classList.contains("semiCollapsed")?K:ke)}function li(K,ke){return rn(K,ke)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function jt(K){if(!K)return;const ke=K.target.parentElement;ke.getAttribute("aria-expanded")==="true"?ke.setAttribute("aria-expanded","false"):(ut(),ke.setAttribute("aria-expanded","true")),K.stopPropagation()}function Cn(K){Ye[K?"unshift":"push"](()=>{re=K,t(26,re)})}const yi=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},Pi=(K,ke)=>Rt(ke,K),vn=K=>{v&&K.target.blur()},Ii=K=>Gt(K,!rn(K,P)),Ni=K=>Gt(K,!rn(K,P)),Ti=(K,ke)=>Rn(ke,K),Li=(K,ke)=>pe(K,ke.currentTarget),Ai=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},Sl=(K,ke)=>Rt(ke,K),Cl=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},yl=(K,ke)=>Rt(ke,K),Ei=K=>{(K.code==="Enter"||K.code==="Space")&&jt(K)};function Qi(K){Ye[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Zi(K){Ye[K?"unshift":"push"](()=>{re=K,t(26,re)})}const di=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},Pl=(K,ke)=>Rt(ke,K),Il=K=>Gt(K,!rn(K,P)),Xi=K=>Gt(K,!rn(K,P)),Nl=(K,ke)=>Rn(ke,K),Tl=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},Ll=(K,ke)=>Rt(ke,K),Ri=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},Al=(K,ke)=>Rt(ke,K),ri=K=>pe(K,event.currentTarget),Di=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&lt(K)},hi=(K,ke)=>Rt(ke,K),Vi=K=>Xt(),gi=K=>Xt(),$i=K=>$t(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,N=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,I=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,Je=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,ye=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((ke,nt)=>ke[1].metaInfo.order-nt[1].metaInfo.order),t(13,Je=K),t(14,ye=we(K))}},[a,o,c,d,g,p,v,C,y,P,N,V,E,Je,ye,m,lt,pe,zt,En,on,Gt,ut,z,fe,G,re,n,Z,Q,ce,Le,ze,Ze,De,rt,st,Xt,$t,Rn,Rt,li,jt,h,I,H,b,$e,Wo,Cn,yi,Pi,vn,Ii,Ni,Ti,Li,Ai,Sl,Cl,yl,Ei,Qi,Zi,di,Pl,Il,Xi,Nl,Tl,Ll,Ri,Al,ri,Di,hi,Vi,gi,$i]}class cp extends Ft{constructor(e){super(),Mt(this,e,US,OS,Vt,{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 BS=i=>{bn.doOnStoreChange(i.store,()=>{const e=te.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}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),dp(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"])},HS=(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||!HS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},dp=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=Et.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 WS(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=ee(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 qS(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=ee(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,n,l=(!i[3]||i[4])&&Jd(i),r=i[3]&&jd(i),a=i[12]&&i[5]&&ih(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},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[3]||o[4]?l?l.p(o,c):(l=Jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=ih(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 Jd(i){let e;function t(r,a){return r[14]?GS:zS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 zS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=k("span"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function GS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"class",r="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(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&T(e),a=!1,o()}}}function jd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?JS:KS}let b=p(i),m=b(i),v=i[6]&&i[7]&&xd(i),C=i[9]&&i[9].length>0&&eh(i);return{c(){e=k("div"),t=k("div"),m.c(),n=W(),l=k("div"),r=k("nav"),a=k("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(y,P){L(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[39](a),d||(g=ee(t,"click",Ot(ZS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=eh(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&528&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" "+(y[9]&&y[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&T(e),m.d(),v&&v.d(),C&&C.d(),i[39](null),d=!1,g()}}}function KS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Ne(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=ee(e,"click",Ot(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 JS(i){let e,t,n,l=i[9]&&i[9].length===1&&Yd(i),r=i[9]&&i[9].length>1&&Qd(i),a=i[9].length>1&&!i[7]&&$d(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},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=Yd(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=Qd(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=$d(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 Yd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Ne(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=ee(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 Qd(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=Se()},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),gt(n,l)}}}function Zd(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=Ne(n),r=W(),a=k("i"),o=W(),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,"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=ee(e,"click",St(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&&Zd(i);return{c(){n&&n.c(),t=Se()},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=Zd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Ne(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,"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=ee(e,"click",St(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 xd(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=Ne(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=ee(t,"click",St(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 eh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},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]=nh(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),gt(n,l)}}}function jS(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=Ne(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=ee(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 YS(i){let e,t=i[18]&&th(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function th(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 nh(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 YS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return jS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Se()},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 ih(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Ne(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 QS(i){let e,t;function n(o,c){return o[14]?qS:WS}let l=n(i),r=l(i),a=i[2]&&Kd(i);return{c(){r.c(),e=W(),a&&a.c(),t=Se()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:Ue,o:Ue,d(o){o&&(T(e),T(t)),r.d(o),a&&a.d(o)}}}const ZS=()=>{};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:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,E,H,D=Pt("getUnsavedChangesModalPromise"),O=Pt("getTranslation");Ci(i,O,pe=>t(19,n=pe));let z=Pt("store");const Y={closeDropDown:()=>{re("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach($e=>{$e==="pathData"?t(26,I=pe.pathData):$e==="appSwitcherItems"?t(9,v=pe.appSwitcherItems):$e==="itemRenderer"?t(10,C=pe.itemRenderer):$e==="pathParams"?t(11,y=pe.pathParams):$e==="selectedItem"?t(7,b=pe.selectedItem):$e==="title"?t(2,o=pe.title):$e==="defaultSubTitle"?t(25,N=pe.defaultSubTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="defaultTitle"?t(8,m=pe.defaultTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="showMainAppEntry"?t(6,p=pe.showMainAppEntry):$e==="hasApps"?t(3,c=pe.hasApps):$e==="keepMainTitle"?t(4,h=pe.keepMainTitle):$e==="showSubTitle"?t(5,d=pe.showSubTitle):$e==="hasLogo"&&t(1,a=pe.hasLogo)})},store:z});an(()=>{BS(Z())}),Qn(()=>{(!H||H!=I)&&(dp(Z()),H=I)});function fe(pe,$e,zt){return setTimeout(()=>{$e&&C(pe,$e.children[zt],Y)}),""}function Q(pe){D().then(()=>{ft.navigateTo(me.applyPathParams(pe,y))},()=>{})}function G(){D().then(()=>{ft.navigateTo("/")},()=>{})}function J(pe){l("handleClick",{node:pe}),re("appSwitcherPopover")}function re(pe){l("toggleDropdownState",{name:pe})}function ce(pe){return pe.testId?pe.testId:le.prepareForTests(pe.title||pe)}function ne(pe,$e){if(pe.link){const zt=me.applyPathParams(pe.link,$e);if(zt.indexOf(":")!==0&&zt.indexOf("/:")===-1)return!0}return!1}function Pe(pe){return me.getNodeHref(pe)}function se(pe){Ye[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const ae=pe=>{le.handleNavAnchorClickedWithoutMetaKey(pe)&&Q("/")};function we(pe){Ye[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const Je=()=>Q("/"),ye=pe=>{le.handleNavAnchorClickedWithoutMetaKey(pe)&&Q("/")},Le=()=>Q("/"),ze=pe=>{le.handleNavAnchorClickedWithoutMetaKey(pe)&&Q(v[0].link)},Ze=()=>re("appSwitcherPopover"),De=()=>re("appSwitcherPopover"),tt=()=>re("appSwitcherPopover"),rt=(pe,$e)=>{le.handleNavAnchorClickedWithoutMetaKey($e)&&Q(pe.link)};function lt(pe){Ye[pe?"unshift":"push"](()=>{E=pe,t(18,E)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,a=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"keepMainTitle"in pe&&t(4,h=pe.keepMainTitle),"showSubTitle"in pe&&t(5,d=pe.showSubTitle),"dropDownStates"in pe&&t(13,g=pe.dropDownStates),"showMainAppEntry"in pe&&t(6,p=pe.showMainAppEntry),"selectedItem"in pe&&t(7,b=pe.selectedItem),"defaultTitle"in pe&&t(8,m=pe.defaultTitle),"appSwitcherItems"in pe&&t(9,v=pe.appSwitcherItems),"itemRenderer"in pe&&t(10,C=pe.itemRenderer),"pathParams"in pe&&t(11,y=pe.pathParams),"subTitle"in pe&&t(12,P=pe.subTitle),"defaultSubTitle"in pe&&t(25,N=pe.defaultSubTitle),"pathData"in pe&&t(26,I=pe.pathData),"addNavHrefForAnchor"in pe&&t(14,V=pe.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Q,G,re,E,n,O,fe,ce,ne,Pe,N,I,J,se,ae,we,Je,ye,Le,ze,Ze,De,tt,rt,lt]}class $S extends Ft{constructor(e){super(),Mt(this,e,XS,QS,Vt,{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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a,o=i[0]&&ah(i),c=(i[10]||i[11])&&hh(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=ah(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=hh(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 ah(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?eC:xS}let h=c(i),d=h(i),g=i[7].name&&sh(i),p=i[7].description&&oh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=fh(lh(i,b,C));let v=i[12]&&ch(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=sh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=oh(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 N=lh(C,b,P);m[P]?m[P].p(N,y):(m[P]=fh(N),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=ch(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(),gt(m,C),v&&v.d()}}}function xS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ne(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 eC(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"),Hn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&Hn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function sh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ne(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 oh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ne(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 uh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 tC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Hn(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&&Hn(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 nC(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 fh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&uh(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=Ne(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=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=uh(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,Qe(d)}}}function ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&dh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Ne(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=[ee(e,"click",St(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=dh(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,Qe(c)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),it(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&&!it(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 lC(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 hh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&gh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},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=gh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(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 gh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Ne(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=ee(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 _h(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=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function rC(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Se()},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=rh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function aC(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=Pt("store"),C=Pt("getTranslation");Ci(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{ki.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){hn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...we}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function fe(){hn.logout(),l("toggleDropdownState")}function Q({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const J=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>Q(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Y,Z,Q,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,J,re,ce]}class sC extends Ft{constructor(e){super(),Mt(this,e,aC,rC,Vt,{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 ph(i,e,t){const n=i.slice();return n[34]=e[t],n}function mh(i){let e,t,n,l,r,a=i[0]&&bh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=wh(ph(i,o,g));let h=i[12]&&kh(i),d=(i[10]||i[11])&&Ch(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=bh(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=ph(g,o,b);c[b]?c[b].p(m,p):(c[b]=wh(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=kh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),gt(c,g),h&&h.d(),d&&d.d()}}}function bh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ne(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 vh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 oC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(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&&!it(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 uC(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 wh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&vh(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=Ne(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=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=vh(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,Qe(d)}}}function kh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&Sh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Ne(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=[ee(e,"click",St(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=Sh(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,Qe(h)}}}function Sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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"),it(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&&!it(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 cC(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 Ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&yh(i),l=i[10]&&!i[8]&&Ih(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},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=yh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ih(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 yh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ph(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Ne(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=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ph(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 Ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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"),it(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&&!it(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 hC(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 Ih(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=ee(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function gC(i){let e,t=!i[1]&&mh(i);return{c(){t&&t.c(),e=Se()},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=mh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function _C(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=Pt("store"),C=Pt("getTranslation");Ci(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{ki.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){hn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...we}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function fe(){hn.logout()}function Q({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const J=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>Q(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Y,Z,Q,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,J,re,ce]}class hp extends Ft{constructor(e){super(),Mt(this,e,_C,gC,Vt,{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 Nh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Th(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Eh(Nh(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=Se()},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=Nh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Eh(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),gt(l,a)}}}function Lh(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 N(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?mC:pC}let I=N(i,-1),V=I(i);r=new An({props:{node:i[11]}});let E=p&&Ah(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=Ne(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=ee(e,"click",H),y=!0)},p(D,O){i=D,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!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=Ah(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 pC(i){let e,t,n;return{c(){e=k("img"),it(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&&!it(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 mC(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 Ah(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Ne(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 Eh(i){let e,t,n=i[11].label&&Lh(i);return{c(){n&&n.c(),e=Se()},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=Lh(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 bC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Th(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Ne(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),I&&I.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),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Ot(vC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?I?(I.p(V,E),E&2&&R(I,1)):(I=Th(V),I.c(),R(I,1),I.m(g,null)):I&&(be(),U(I,1,1,()=>{I=null}),ve())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&T(e),I&&I.d(),P=!1,Qe(N)}}}const vC=()=>{};function wC(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){Ji.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 gp extends Ft{constructor(e){super(),Mt(this,e,wC,bC,Vt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:kC}=wl;function Rh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Dh(i){let e,t,n,l=i[0]&&Vh(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=Vh(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 Vh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mh(Rh(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=Se()},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=Rh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Mh(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),gt(l,a)}}}function Oh(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?CC:SC}let P=y(i,-1),N=P(i);a=new An({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Ne(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),N.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=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.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),N.d(),Fe(a),v=!1,Qe(C)}}}function SC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),it(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&&!it(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 CC(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 Mh(i){let e,t,n=i[7].label&&Oh(i);return{c(){n&&n.c(),e=Se()},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=Oh(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 Fh(i){let e,t;return e=new gp({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 yC(i){let e,t,n,l,r,a=!i[1]&&Dh(i),o=i[1]&&Fh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Se()},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=ee(kC,"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=Dh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Fh(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 PC(i,e,t){const n=Zt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Pt("getUnsavedChangesModalPromise"),h=Pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});an(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 ft.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 Et.getTranslation(E.label)}function N(E){return me.getNodeHref(E,o)}const I=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,N,I,V]}class _p extends Ft{constructor(e){super(),Mt(this,e,PC,yC,Vt,{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 Sn={_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(ft.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=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=Sn._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),!!Sn.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=Sn.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 Sn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await Sn.generateSwitcherNav(e,t)}};function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(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--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=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=zh(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),gt(n,l)}}}function qh(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=Ne(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=[ee(t,"click",St(RC)),ee(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,Qe(d)}}}function zh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&qh(i);return{c(){n&&n.c(),t=Se()},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=qh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function Gh(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 Kh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Bh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},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=Bh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(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),gt(n,l)}}}function IC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function NC(i){let e,t,n,l,r;function a(d,g){return d[2]?LC:TC}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=ee(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 TC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Ne(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=ee(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 LC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=Se(),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 AC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Jh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:AC,then:NC,catch:IC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Se(),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)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function jh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Qh(Uh(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=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qh(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),gt(n,l)}}}function Yh(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=Ne(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=[ee(t,"click",i[17]),ee(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,Qe(d)}}}function Qh(i){let e,t=i[20].position==="bottom"&&Yh(i);return{c(){t&&t.c(),e=Se()},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=Yh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function EC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Wh(i),c=i[3]&&i[3].length===0&&i[10]&&Gh(),h=i[3]&&i[3].length&&Kh(i),d=i[0]&&i[0].length&&jh(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=Wh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Gh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Kh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=jh(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 RC=()=>{};function DC(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 N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>N(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,N,n,I,V,E,H,D]}class pp extends Ft{constructor(e){super(),Mt(this,e,DC,EC,Vt,{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 Zh(i){let e,t,n,l=!i[9]&&Xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&$h(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=$h(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?OC:VC}let p=g(i),b=p(i);return a=new pp({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=ee(n,"click",Ot(KC)),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 VC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?FC:MC}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=ee(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 OC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?WC:HC}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=ee(e,"click",St(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 MC(i){let e,t;function n(a,o){return a[4]?UC:BC}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 FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=Se(),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 UC(i){let e;return{c(){e=Ne(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 BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 HC(i){let e,t;function n(a,o){return a[4]?qC:zC}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 WC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=Se(),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 qC(i){let e;return{c(){e=Ne(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 zC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 $h(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&xh(i),I=i[4]&&eg(i);return d=new pp({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"),N&&N.c(),o=W(),I&&I.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),N&&N.m(a,null),w(a,o),I&&I.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=[ee(v,"click",i[13]),ee(e,"click",Ot(JC))],y=!0)},p(V,E){V[4]?N&&(N.d(1),N=null):N?N.p(V,E):(N=xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,E):(I=eg(V),I.c(),I.m(a,null)):I&&(I.d(1),I=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),N&&N.d(),I&&I.d(),Fe(d),y=!1,Qe(P)}}}function xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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;return{c(){e=Ne(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 GC(i){let e,t,n=i[3]&&Zh(i);return{c(){n&&n.c(),e=Se()},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=Zh(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 KC=()=>{},JC=()=>{};function jC(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:N=!1}=e,{defaultLabel:I}=e,V,E=Pt("getUnsavedChangesModalPromise"),H=Pt("store"),D=Pt("getTranslation");Ci(i,D,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:z}=e,Y;an(async()=>{bn.doOnStoreChange(H,async()=>{const ae=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ae),!!a&&(t(6,C=ie.isFunction(ae.customOptionsRenderer)?ae.customOptionsRenderer:void 0),t(7,y=ie.isFunction(ae.customSelectedOptionRenderer)?ae.customSelectedOptionRenderer:void 0),t(5,h=ae),t(1,g=void 0),ae)){t(27,p=ae.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const we=ft.getCurrentPath();t(20,m=ae.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ae.lazyloadOptions||await Q(),Sn.isContextSwitcherDetailsView(we,ae.parentNodePath)&&await G(we)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>G(ae)),qn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Q())}),t(21,I=h.defaultLabel)}),Qn(()=>{O!==N&&(O=N,Q()),t(14,Y=o.contextSwitcherPopover||!1)});function Z(ae,we,Je){return ae?Promise.resolve(ae):Sn.getFallbackLabel(we,Je)}function fe(ae){return me.getNodeHref(ae,v)}async function Q(){t(1,g=await Sn.fetchOptions(g));const ae=h||{},we=ae.parentNodePath,Je=ae.fallbackLabelResolver,ye=ft.getCurrentPath();t(2,b=await Sn.getSelectedOption(ye,g,we)),t(4,c=await Sn.getSelectedLabel(ye,g,we,Je)),await Sn.getSelectedNode(ye,g,we),V=ae.preserveSubPathOnSwitch}async function G(ae){const we=h||{},Je=we.parentNodePath,ye=we.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ae,g,Je)),t(4,c=await Sn.getSelectedLabel(ae,g,Je,ye)),await Sn.getSelectedNode(ae,g,Je)}async function J(ae){let we=ae.detail.node;we.clickHandler&&!await we.clickHandler(we)||(setTimeout(()=>{re(we.link)}),P&&r("toggleDropdownState"))}function re(ae){E().then(()=>{ft.navigateTo(ae)},()=>{})}function ce(ae){let we=ae.detail.option,Je=ae.detail.selectedOption;E().then(()=>{V&&Je?ft.navigateTo(Sn.getNodePathFromCurrentPath(we,Je)):ft.navigateTo(we.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Q()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=ae=>{"contextSwitcherEnabled"in ae&&t(3,a=ae.contextSwitcherEnabled),"dropDownStates"in ae&&t(8,o=ae.dropDownStates),"selectedLabel"in ae&&t(4,c=ae.selectedLabel),"config"in ae&&t(5,h=ae.config),"actions"in ae&&t(0,d=ae.actions),"options"in ae&&t(1,g=ae.options),"selectedOption"in ae&&t(2,b=ae.selectedOption),"fallbackLabelResolver"in ae&&t(20,m=ae.fallbackLabelResolver),"pathParams"in ae&&t(22,v=ae.pathParams),"customOptionsRenderer"in ae&&t(6,C=ae.customOptionsRenderer),"customSelectedOptionRenderer"in ae&&t(7,y=ae.customSelectedOptionRenderer),"isMobile"in ae&&t(9,P=ae.isMobile),"contextSwitcherToggle"in ae&&t(23,N=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,I=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,z=ae.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,z,J,ce,ne,Y,n,l,D,Z,fe,m,I,v,N,Q,G,re,p,Pe,se]}class mp extends Ft{constructor(e){super(),Mt(this,e,jC,GC,Vt,{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:YC}=wl;function tg(i,e,t){const n=i.slice();return n[22]=e[t],n}function ng(i){let e,t,n,l=!i[2]&&ig(i),r=i[2]&&i[3].productSwitcherPopover&&og(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=ig(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=og(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 ig(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?ZC:QC}let N=P(i,-1),I=N(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=sg(tg(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),I.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=Wn(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),I.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=[ee(r,"click",Ot(i[7])),ee(l,"click",Ot(l3))],C=!0)},p(H,D){if(N===(N=P(H,D))&&I?I.p(H,D):(I.d(1),I=N(H),I&&(I.c(),I.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 z=tg(H,V,O);E[O]?E[O].p(z,D):(E[O]=sg(z),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=Wn(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),I.d(),gt(E,H),C=!1,Qe(y)}}}function QC(i){let e,t,n;return{c(){e=k("img"),it(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&&!it(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 ZC(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 lg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?$C: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=ee(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?e3:xC}let g=d(i,-1),p=g(i),b=h&&rg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Ne(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=rg(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 $C(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,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?n3:t3}let v=m(i,-1),C=v(i),y=d&&ag(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Ne(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,N){L(P,e,N),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=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ag(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&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 xC(i){let e,t,n;return{c(){e=k("img"),it(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&&!it(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 e3(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 rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(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 t3(i){let e,t,n;return{c(){e=k("img"),it(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&&!it(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 n3(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 ag(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(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 sg(i){let e,t=i[22].label&&lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function og(i){let e,t;return e=new gp({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 i3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&ng(i);return{c(){a&&a.c(),t=Se()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=ee(YC,"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=ng(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 l3=()=>{};function r3(i,e,t){const n=Zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Pt("store"),h=Pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;an(async()=>{bn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ft.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 Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function N(){le.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(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,I,V,E,H]}class bp extends Ft{constructor(e){super(),Mt(this,e,r3,i3,Vt,{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 ug(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function a3(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-zbxrcf"),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=ee(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function s3(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-zbxrcf"),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 o3(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 u3(i){let e,t,n,l=i[4]&&fg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),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=fg(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 fg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=cg(ug(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=ug(l,t,a);n[a]?n[a].p(o,r):(n[a]=cg(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),gt(n,l),i[18](null)}}}function f3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=Se(),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 c3(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=Ne(l),a=W(),o=k("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},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=ee(e,"click",St(h3)),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 cg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?f3:c3}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-zbxrcf"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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,Qe(l)}}}function d3(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?s3:a3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?o3:u3}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),I.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-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),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),I.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=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Ot(g3)),ee(b,"click",i[6]),ee(p,"click",Ot(_3))],C=!0)},p(D,[O]){N===(N=P(D))&&I?I.p(D,O):(I.d(1),I=N(D),I&&(I.c(),I.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-zbxrcf")&&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)),I.d(),H.d(),C=!1,Qe(y)}}}const h3=()=>{},g3=()=>{},_3=()=>{};function p3(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;an(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Qn(()=>{t(7,g=h),p||t(8,p=new sp(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 N(D){Ye[D?"unshift":"push"](()=>{a=D,t(0,a)})}const I=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[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,N,I,V,E,H]}class m3 extends Ft{constructor(e){super(),Mt(this,e,p3,d3,Vt,{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 dg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function b3(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-qeg9jv"),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-qeg9jv"),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=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(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,Qe(g)}}}function v3(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 w3(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 k3(i){let e,t,n,l=i[3]&&hg(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-qeg9jv"),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=hg(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 hg(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=gg(dg(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=dg(l,t,a);n[a]?n[a].p(o,r):(n[a]=gg(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),gt(n,l),i[27](null)}}}function S3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=Se(),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 C3(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=Ne(l),a=W(),o=k("div"),h=Ne(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=ee(e,"click",St(P3)),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 gg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?S3:C3}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-qeg9jv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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,Qe(l)}}}function _g(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-qeg9jv")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Ot(N3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function pg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Ot(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-qeg9jv")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?v3:b3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?w3:k3}let y=C(i),P=y(i),N=!i[5]&&_g(i),I=i[5]&&pg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),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-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},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),N&&N.m(V,E),L(V,h,E),I&&I.m(V,E),L(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Ot(I3))],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-qeg9jv")&&f(e,"class",o),V[5]?N&&(N.d(1),N=null):N?N.p(V,E):(N=_g(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,E):(I=pg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Qe(p)}}}const P3=()=>{},I3=()=>{},N3=()=>{};function T3(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=Pt("getTranslation");Ci(i,m,ce=>t(10,n=ce));let v;an(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ce=document.querySelector(".lui-global-search");ce&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ce)}),Qn(()=>{t(8,b=h),v||t(9,v=new sp(b,d)),v.getCustomRenderer(),I()});function C(ce,ne,Pe){v.renderCustomSearchItem(ce,ne,Pe)}function y(){v.closeSearchResult()}function P(ce){v.onKeyUp(ce,r)}function N(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ce){v.onSearchResultItemSelected(ce)}function H(ce,ne){v.handleKeydown(ce,ne,a,c)}function D(ce){v.onActionClick(ce)}function O(){v.toggleSearch(p,r,a,o)}const z=ce=>P(ce);function Y(ce){Ye[ce?"unshift":"push"](()=>{a=ce,t(0,a)})}const Z=()=>I(),fe=(ce,ne)=>E(ce),Q=(ce,ne)=>H(ce,ne);function G(ce){Ye[ce?"unshift":"push"](()=>{c=ce,t(2,c)})}function J(ce){Ye[ce?"unshift":"push"](()=>{o=ce,t(1,o)})}const re=()=>O();return i.$$set=ce=>{"searchResult"in ce&&t(3,l=ce.searchResult),"displaySearchResult"in ce&&t(4,r=ce.displaySearchResult),"inputElem"in ce&&t(0,a=ce.inputElem),"customSearchItemRendererSlot"in ce&&t(1,o=ce.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ce&&t(2,c=ce.customSearchItemRendererSlotContainer),"globalSearchConfig"in ce&&t(20,h=ce.globalSearchConfig),"isSearchFieldVisible"in ce&&t(5,p=ce.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,E,H,h,D,z,Y,Z,fe,Q,G,J,re]}class L3 extends Ft{constructor(e){super(),Mt(this,e,T3,y3,Vt,{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 mg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?E3:A3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 A3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(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&&!it(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 E3(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 bg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ii({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(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 R3(i){let e,t,n,l=i[0].icon&&mg(i),r=(!i[0].icon||i[0].showLabel)&&bg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=mg(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=bg(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 D3(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 Ft{constructor(e){super(),Mt(this,e,D3,R3,Vt,{node:0})}}const{Boolean:vp,window:vg}=wl;function wg(i,e,t){const n=i.slice();return n[109]=e[t],n[111]=t,n}function kg(i,e,t){const n=i.slice();return n[109]=e[t],n[112]=e,n[111]=t,n}function V3(i){let e,t;return e=new hp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[101]),{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 O3(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")&&Sg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new $S({props:C}),Ye.push(()=>yt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Cg(i),P=(!i[0]||i[1])&&yg(i),N=(i[18]||i[7]&&i[30].length>0)&&Ig(i),I=(i[0]||i[16])&&qg(i),V=i[12]&&zg(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(),N&&N.c(),d=W(),I&&I.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-19yzu6h"),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),N&&N.m(c,null),w(c,d),I&&I.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=Sg(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],Ct(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Cg(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=yg(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?N?(N.p(E,H),H[0]&1074004096&&R(N,1)):(N=Ig(E),N.c(),R(N,1),N.m(c,d)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[0]||E[16]?I?(I.p(E,H),H[0]&65537&&R(I,1)):(I=qg(E),I.c(),R(I,1),I.m(c,g)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=zg(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-19yzu6h"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(N),R(I),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(N),U(I),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function Sg(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-19yzu6h"),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=ee(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 Cg(i){let e,t,n,l,r,a,o,c;function h(v){i[60](v)}function d(v){i[61](v)}function g(v){i[62](v)}function p(v){i[63](v)}function b(v){i[64](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 L3({props:m}),Ye.push(()=>yt(t,"isSearchFieldVisible",h)),Ye.push(()=>yt(t,"searchResult",d)),Ye.push(()=>yt(t,"displaySearchResult",g)),Ye.push(()=>yt(t,"inputElem",p)),Ye.push(()=>yt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[65]),t.$on("handleSearchNavigation",i[66]),t.$on("closeSearchResult",i[67]),{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],Ct(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],Ct(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Ct(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],Ct(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],Ct(()=>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 yg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Pg(i);function a(c){i[76](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new mp({props:o}),Ye.push(()=>yt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[77]),{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=Pg(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],Ct(()=>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 Pg(i){let e,t,n,l,r,a,o;function c(m){i[68](m)}function h(m){i[69](m)}function d(m){i[70](m)}function g(m){i[71](m)}function p(m){i[72](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 m3({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"searchResult",h)),Ye.push(()=>yt(e,"displaySearchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[73]),e.$on("handleSearchNavigation",i[74]),e.$on("closeSearchResult",i[75]),{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],Ct(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],Ct(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],Ct(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],Ct(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],Ct(()=>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 Ig(i){let e,t,n,l=i[7]&&i[30].length>0&&Ng(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=Ng(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=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 Ng(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ag(kg(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=Se()},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=kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ag(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(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),gt(l,a)}}}function Tg(i){let e,t,n,l;const r=[F3,M3],a=[];function o(c,h){return c[109].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 M3(i){let e,t,n,l,r;const a=[B3,U3],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 F3(i){let e=i[109].visibleChildren.filter(Gg).length>0,t,n,l=e&&Lg(i);return{c(){l&&l.c(),t=Se()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[109].visibleChildren.filter(Gg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Lg(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 U3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[82](v,i[109],i[112],i[111])}let b={};i[109]!==void 0&&(b.node=i[109]),t=new Jo({props:b}),Ye.push(()=>yt(t,"node",p)),r=new An({props:{node:i[109]}});function m(){return i[83](i[109])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[109],i[49](i[109]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[109])),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=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[109],Ct(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[109]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[109],i[49](i[109]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[109])))&&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 B3(i){let e,t,n,l;const r=[W3,H3],a=[];function o(c,h){return c[109].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 H3(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[80](C,i[109],i[112],i[111])}let m={};i[109]!==void 0&&(m.node=i[109]),t=new Jo({props:m}),Ye.push(()=>yt(t,"node",b)),r=new An({props:{node:i[109]}});function v(...C){return i[81](i[109],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[109])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"title",c=i[51](i[109],i[49](i[109]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[109]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[109],Ct(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[109]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[109])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[109],i[49](i[109]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[109])))&&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 Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(D){i[78](D,i[109],i[112],i[111])}let E={};i[109]!==void 0&&(E.node=i[109]),r=new Jo({props:E}),Ye.push(()=>yt(r,"node",V)),c=new An({props:{node:i[109]}});function H(){return i[79](i[111])}return v=new _p({props:{node:i[109],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[109],i[49](i[109]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(l,"aria-controls","dropDownPopover-"+i[111]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[111]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[109])),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[111]}`]),f(m,"id","dropDownPopover-"+i[111]),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,N||(I=[ee(l,"click",H),ee(n,"click",Ot(ly))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[109],Ct(()=>a=!1)),r.$set(z);const Y={};O[0]&128&&(Y.node=i[109]),c.$set(Y),(!P||O[0]&128&&h!==(h=i[51](i[109],i[49](i[109]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[111]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[109])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[109]),O[1]&1&&(Z.pathParams=i[31]),O[0]&134217728&&(Z.addNavHrefForAnchor=i[27]),v.$set(Z),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[111]}`]))&&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),N=!1,Qe(I)}}}function Ag(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Tg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Tg(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 Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Rg(i),z=i[46]&&(!i[0]||i[1])&&Dg(i),Y=i[7]&&Vg(i),Z=i[12]&&Ug(i),fe=i[12]&&Bg(i),Q=i[14]&&Hg(i),G=(!i[0]||i[1])&&Wg(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(),z&&z.c(),C=W(),Y&&Y.c(),y=W(),Z&&Z.c(),N=W(),fe&&fe.c(),I=W(),Q&&Q.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-19yzu6h"),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-19yzu6h"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,re){L(J,e,re),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),z&&z.m(m,null),w(m,C),Y&&Y.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,N),fe&&fe.m(n,null),w(n,I),Q&&Q.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[84]),ee(l,"click",Ot(ry))],H=!0)},p(J,re){const ce={};re[0]&2048&&(ce.node=J[11]),h.$set(ce),(!E||re[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(a,"aria-expanded",d),J[18]&&!J[19]&&!J[29]?O?O.p(J,re):(O=Rg(J),O.c(),O.m(m,v)):O&&(O.d(1),O=null),J[46]&&(!J[0]||J[1])?z?z.p(J,re):(z=Dg(J),z.c(),z.m(m,C)):z&&(z.d(1),z=null),J[7]?Y?(Y.p(J,re),re[0]&128&&R(Y,1)):(Y=Vg(J),Y.c(),R(Y,1),Y.m(m,y)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),J[12]?Z?Z.p(J,re):(Z=Ug(J),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!E||re[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?fe?(fe.p(J,re),re[0]&4096&&R(fe,1)):(fe=Bg(J),fe.c(),R(fe,1),fe.m(n,I)):fe&&(be(),U(fe,1,1,()=>{fe=null}),ve()),J[14]?Q?(Q.p(J,re),re[0]&16384&&R(Q,1)):(Q=Hg(J),Q.c(),R(Q,1),Q.m(n,V)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),!J[0]||J[1]?G?(G.p(J,re),re[0]&3&&R(G,1)):(G=Wg(J),G.c(),R(G,1),G.m(n,null)):G&&(be(),U(G,1,1,()=>{G=null}),ve())},i(J){E||(R(h.$$.fragment,J),R(Y),R(fe),R(Q),R(G),E=!0)},o(J){U(h.$$.fragment,J),U(Y),U(fe),U(Q),U(G),E=!1},d(J){J&&T(e),Fe(h),O&&O.d(),z&&z.d(),Y&&Y.d(),Z&&Z.d(),fe&&fe.d(),Q&&Q.d(),G&&G.d(),H=!1,Qe(D)}}}function Rg(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-19yzu6h"></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=ee(t,"click",Ot(i[85])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Dg(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=Ne(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-19yzu6h"),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=ee(t,"click",Ot(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-19yzu6h")&&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 Vg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fg(wg(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=Se()},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=wg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fg(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(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),gt(l,a)}}}function Og(i){let e,t,n,l,r;const a=[z3,q3],o=[];function c(h,d){return d[0]&128&&(e=null),!h[109].isCat||h[109].separator?0:(e==null&&(e=h[109].visibleChildren.filter(iy).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Se()},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 q3(i){let e,t,n,l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[109])),l?K3:G3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new An({props:{node:i[109]}});function I(){return i[87](i[109])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-19yzu6h"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[109])),f(t,"title",p=i[51](i[109],i[49](i[109]))),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),N.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=ee(t,"click",St(I)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};E[0]&128&&(H.node=i[109]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[109])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[109],i[49](i[109]))))&&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),N.d(),Fe(a),v=!1,C()}}}function z3(i){let e,t,n,l,r;const a=[j3,J3],o=[];function c(h,d){return h[109].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 G3(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function K3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[109].icon&&n[48](n[109])?n[47](n[109].icon):"")+" svelte-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function J3(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function j3(i){let e,t,n=!i[48](i[109]),l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C,y=n&&Mg(i);r=new An({props:{node:i[109]}});function P(){return i[86](i[109])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Ne(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[109])),f(e,"class",p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")),f(e,"data-testid",b=le.getTestId(i[109])+"-mobile")},m(N,I){L(N,e,I),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=ee(e,"click",St(P)),v=!0)},p(N,I){i=N,I[0]&128&&(n=!i[48](i[109])),n?y?y.p(i,I):(y=Mg(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};I[0]&128&&(V.node=i[109]),r.$set(V),(!m||I[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"))&&f(t,"class",a),(!m||I[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||I[0]&128&&g!==(g=i[50](i[109])))&&f(e,"href",g),(!m||I[0]&384&&p!==(p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||I[0]&128&&b!==(b=le.getTestId(i[109])+"-mobile"))&&f(e,"data-testid",b)},i(N){m||(R(r.$$.fragment,N),m=!0)},o(N){U(r.$$.fragment,N),m=!1},d(N){N&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Mg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Fg(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Og(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Og(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 Ug(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?Q3:Y3}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=Ne(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=ee(t,"click",Ot(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 Y3(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-19yzu6h"),f(e,"class","fd-top-nav__icon sap-icon svelte-19yzu6h")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!it(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 Q3(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-19yzu6h")},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-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bg(i){let e,t,n;function l(a){i[88](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[89]),{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],Ct(()=>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 Hg(i){let e,t;return e=new _p({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 Wg(i){let e,t,n,l,r;function a(d){i[90](d)}function o(d){i[91](d)}function c(d){i[92](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 mp({props:h}),Ye.push(()=>yt(e,"dropDownStates",a)),Ye.push(()=>yt(e,"selectedLabel",o)),Ye.push(()=>yt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[93]),{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],Ct(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],Ct(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],Ct(()=>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 qg(i){let e,t,n,l,r;const a=[X3,Z3],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 Z3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?x3:$3}let y=C(i),P=y(i);return g=new hp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[98]),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-19yzu6h"),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-19yzu6h")},m(N,I){L(N,e,I),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=[ee(r,"click",i[97]),ee(n,"click",Ot(sy)),ee(d,"click",Ot(i[58]))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(R(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function X3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?ty:ey}let g=d(i),p=g(i);return r=new sC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[96]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=W(),l=k("div"),Be(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-19yzu6h")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=[ee(t,"click",Ot(ay)),ee(l,"click",Ot(i[57]))],c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&T(e),p.d(),Fe(r),c=!1,Qe(h)}}}function $3(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 x3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-19yzu6h"),Hn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&Hn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function ey(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=k("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle svelte-19yzu6h"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=ee(e,"click",i[95]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,a()}}}function ty(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-19yzu6h"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Hn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=ee(e,"click",i[94]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Hn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function zg(i){let e,t,n;function l(a){i[99](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[100]),{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],Ct(()=>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 ny(i){let e,t,n,l,r,a;const o=[O3,V3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[ee(vg,"click",i[41]),ee(vg,"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,Qe(a)}}}const iy=i=>!i.hideFromNav&&i.label,Gg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},ay=()=>{},sy=()=>{};function oy(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:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Y}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:fe}=e,{inputElem:Q}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:J}=e,{searchResult:re}=e,{burgerTooltip:ce}=e,{responsiveShellbarPadding:ne}=e,Pe=Pt("store"),se=!1,ae,we,Je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const $=await le.generateTopNavNodes(p);t(7,C=$.children),t(8,y=$.selectedNode),t(9,P=$.visibleNodeCount),t(11,I=$.totalBadgeNode),t(10,N=$.globalNavNodeCount),window.TOPNAVDATA=$.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};an(()=>{bn.doOnStoreChange(Pe,()=>{t(0,l=ki.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=le.getProductSwitcherConfig()),t(18,Y=te.getConfigValue("globalSearch")),t(19,Z=Y&&Y.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),bn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),qn.addEventListener("message",$=>{$.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Qn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Ze}=e;function De($){return le.renderIconClassName($)}function tt($){return le.isOpenUIiconName($.icon)}const rt=$=>le.getNodeLabel($);function lt($){return me.getNodeHref($,m)}function pe($,Bt){return le.generateTooltipText($,Bt)}function $e(){st("productSwitcherPopover")}function zt(){t(43,se=!se),st("contextSwitcherPopover")}function En($){t(14,H=!0),t(15,D=$)}function on(){t(14,H=!1)}function Gt($){n("handleClick",{node:$})}function Te($){n("handleSearchNavigation",{node:$})}function ut($){Gt($.detail.node)}function st($){const Bt=v||{},Dn=!Bt[$];Rt(),on(),Bt[$]=Dn,t(6,v=Bt)}function Xt($){st($.detail.name)}function $t(){Q&&Q.focus()}function Rn(){fe||setTimeout(()=>{$t()}),n("toggleSearch",{isSearchFieldVisible:fe,inputElem:Q,customSearchItemRendererSlot:G})}function Rt(){const $=v||{},Bt=Object.keys($);Bt&&Bt.length>0&&Bt.forEach(Dn=>{$[Dn]=!1,t(6,v=$)})}function pn(){h==="simple"||h==="simpleMobileOnly"?jt():Cn(),li()}function li(){if(!le.getBurgerTooltipConfig())return;const[$,Bt]=le.getBurgerTooltipConfig();$&&Bt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ce=document.body.classList.contains("lui-leftNavToggle")?$:Bt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ce=document.body.classList.contains("semiCollapsed")?$:Bt))}function jt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Cn(){wi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function yi($){const Bt=$.detail;t(17,z=Bt||{})}function Pi($){Ji.call(this,i,$)}function vn($){Ji.call(this,i,$)}function Ii($){v=$,t(6,v)}function Ni($){fe=$,t(20,fe)}function Ti($){re=$,t(24,re)}function Li($){J=$,t(23,J)}function Ai($){Q=$,t(21,Q)}function Sl($){G=$,t(22,G)}function Cl($){Ji.call(this,i,$)}function yl($){Ji.call(this,i,$)}function Ei($){Ji.call(this,i,$)}function Qi($){fe=$,t(20,fe)}function Zi($){re=$,t(24,re)}function di($){J=$,t(23,J)}function Pl($){Q=$,t(21,Q)}function Il($){G=$,t(22,G)}function Xi($){Ji.call(this,i,$)}function Nl($){Ji.call(this,i,$)}function Tl($){Ji.call(this,i,$)}function Ll($){v=$,t(6,v)}const Ri=()=>st("contextSwitcherPopover");function Al($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const ri=$=>st(`dropDownPopover-${$}`);function Di($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const hi=($,Bt)=>{le.handleNavAnchorClickedWithoutMetaKey(Bt)&&Gt($)};function Vi($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const gi=$=>Gt($),$i=()=>st("overflowPopover"),K=()=>{Rn(),st("overflowPopover")},ke=$=>Gt($),nt=$=>En($);function je($){v=$,t(6,v)}const vt=()=>st("productSwitcherPopover");function _t($){v=$,t(6,v)}function Ut($){ae=$,t(44,ae)}function xt($){we=$,t(45,we)}const yn=()=>st("contextSwitcherPopover"),_i=()=>st("profilePopover"),pi=()=>st("profilePopover"),El=()=>st("profilePopover"),Oi=()=>st("profilePopover"),Kl=()=>st("profilePopover");function yr($){v=$,t(6,v)}const wt=()=>st("productSwitcherPopover"),xi=()=>st("profilePopover");return i.$$set=$=>{"authorizationEnabled"in $&&t(0,l=$.authorizationEnabled),"autologinEnabled"in $&&t(53,r=$.autologinEnabled),"isLoggedIn"in $&&t(1,a=$.isLoggedIn),"hideSearchComponent"in $&&t(29,o=$.hideSearchComponent),"hideNavComponent"in $&&t(2,c=$.hideNavComponent),"responsiveNavSetting"in $&&t(3,h=$.responsiveNavSetting),"profileTypeSettings"in $&&t(4,d=$.profileTypeSettings),"showGlobalNav"in $&&t(5,g=$.showGlobalNav),"pathData"in $&&t(30,p=$.pathData),"pathParams"in $&&t(31,m=$.pathParams),"dropDownStates"in $&&t(6,v=$.dropDownStates),"children"in $&&t(7,C=$.children),"selectedNode"in $&&t(8,y=$.selectedNode),"visibleNodeCount"in $&&t(9,P=$.visibleNodeCount),"globalNavNodeCount"in $&&t(10,N=$.globalNavNodeCount),"totalBadgeNode"in $&&t(11,I=$.totalBadgeNode),"isProductSwitcherAvailable"in $&&t(12,V=$.isProductSwitcherAvailable),"productSwitcherConfig"in $&&t(13,E=$.productSwitcherConfig),"openMobileDropDown"in $&&t(14,H=$.openMobileDropDown),"nodeForMobile"in $&&t(15,D=$.nodeForMobile),"profileItemsAvailable"in $&&t(16,O=$.profileItemsAvailable),"userInfo"in $&&t(17,z=$.userInfo),"globalSearchConfig"in $&&t(18,Y=$.globalSearchConfig),"isGlobalSearchCentered"in $&&t(19,Z=$.isGlobalSearchCentered),"isSearchFieldVisible"in $&&t(20,fe=$.isSearchFieldVisible),"inputElem"in $&&t(21,Q=$.inputElem),"customSearchItemRendererSlot"in $&&t(22,G=$.customSearchItemRendererSlot),"displaySearchResult"in $&&t(23,J=$.displaySearchResult),"searchResult"in $&&t(24,re=$.searchResult),"burgerTooltip"in $&&t(25,ce=$.burgerTooltip),"responsiveShellbarPadding"in $&&t(26,ne=$.responsiveShellbarPadding),"addNavHrefForAnchor"in $&&t(27,ye=$.addNavHrefForAnchor),"showTopNav"in $&&t(28,Ze=$.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Ze=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,E,H,D,O,z,Y,Z,fe,Q,G,J,re,ce,ne,ye,Ze,o,p,m,$e,zt,En,on,Gt,ut,st,Xt,Rn,Rt,yi,se,ae,we,Je,De,tt,rt,lt,pe,pn,r,Te,jt,Cn,Pi,vn,Ii,Ni,Ti,Li,Ai,Sl,Cl,yl,Ei,Qi,Zi,di,Pl,Il,Xi,Nl,Tl,Ll,Ri,Al,ri,Di,hi,Vi,gi,$i,K,ke,nt,je,vt,_t,Ut,xt,yn,_i,pi,El,Oi,Kl,yr,wt,xi]}class wp extends Ft{constructor(e){super(),Mt(this,e,oy,ny,Vt,{authorizationEnabled:0,autologinEnabled:53,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:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,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[54]}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[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function Kg(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 uy(i){let e,t=i[0]&&Kg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Kg(),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 fy(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ft.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 an(()=>{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 cy extends Ft{constructor(e){super(),Mt(this,e,fy,uy,Vt,{node:0})}}const{window:Oo}=wl;function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function dy(i){const e=i.slice(),t=kp(e[54]);return e[67]=t,e}function $g(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Mo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function hy(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function xg(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&&e_(i),P=Ve(Object.entries(i[0])),N=[];for(let D=0;D<P.length;D+=1)N[D]=u_(Qg(i,P,D));const I=D=>U(N[D],1,1,()=>{N[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=h_(Jg(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<N.length;D+=1)N[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 z=0;z<N.length;z+=1)N[z]&&N[z].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 z=0;z<E.length;z+=1)E[z]&&E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",St(i[10])),ee(a,"click",Ny),ee(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=e_(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 z;for(z=0;z<P.length;z+=1){const Y=Qg(D,P,z);N[z]?(N[z].p(Y,O),R(N[z],1)):(N[z]=u_(Y),N[z].c(),R(N[z],1),N[z].m(l,r))}for(be(),z=P.length;z<N.length;z+=1)I(z);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let z;for(z=0;z<V.length;z+=1){const Y=Jg(D,V,z);E[z]?(E[z].p(Y,O),R(E[z],1)):(E[z]=h_(Y),E[z].c(),R(E[z],1),E[z].m(p,null))}for(be(),z=V.length;z<E.length;z+=1)H(z);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(N[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[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(),gt(N,D),i[31](null),gt(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function e_(i){let e,t;return e=new cy({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 gy(i){let e,t,n,l,r;const a=[my,py],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!Sy(d[54])),e?0:1}function h(d,g){return g===0?dy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=Se()},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 _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=o_($g(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=Se()},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[54]);let c;for(c=0;c<n.length;c+=1){const h=$g(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=o_(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),gt(l,a)}}}function py(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function E(){return i[29](i[53])}let H=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=i_(Zg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Ne(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 z=0;z<D.length;z+=1)D[z].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[53],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[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=pl(i[53],i[2]))},m(z,Y){L(z,e,Y),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 Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",St(E)),ee(e,"click",Iy)],I=!0)},p(z,Y){if(i=z,(!N||Y[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!N||Y[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),Y[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Zg(i,H,Z);D[Z]?(D[Z].p(fe,Y),R(D[Z],1)):(D[Z]=i_(fe),D[Z].c(),R(D[Z],1),D[Z].m(m,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!N||Y[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),(!N||Y[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Y[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);N=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);N=!1},d(z){z&&T(e),gt(D,z),I=!1,Qe(V)}}}function my(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Ve(i[54]),z=[];for(let Y=0;Y<O.length;Y+=1)z[Y]=r_(Xg(i,O,Y));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(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 Y=0;Y<z.length;Y+=1)z[Y].c();I=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[53],i[2])),f(t,"href",o=i[20](i[67])),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[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),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",N=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Y,Z){L(Y,e,Z),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 fe=0;fe<z.length;fe+=1)z[fe]&&z[fe].m(y,null);w(e,I),V||(E=[ee(t,"click",St(H)),ee(p,"click",St(D)),ee(e,"click",Py)],V=!0)},p(Y,Z){if(i=Y,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=pl(i[53],i[2]))&&f(t,"aria-selected",a),Z[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Z[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Z[0]&1572933){O=Ve(i[54]);let fe;for(fe=0;fe<O.length;fe+=1){const Q=Xg(i,O,fe);z[fe]?z[fe].p(Q,Z):(z[fe]=r_(Q),z[fe].c(),z[fe].m(y,null))}for(;fe<z.length;fe+=1)z[fe].d(1);z.length=O.length}Z[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),Z[0]&9&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:Ue,o:Ue,d(Y){Y&&T(e),gt(z,Y),V=!1,Qe(E)}}}function t_(i){let e,t,n=i[57].label&&n_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=n_(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 n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===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=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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_(i){let e,t,n=!i[57].hideFromNav&&t_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(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 l_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"aria-selected",o=i[57]===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=ee(t,"click",St(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&T(e),h=!1,d()}}}function r_(i){let e,t=!i[57].hideFromNav&&i[57].label&&l_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=l_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function a_(i){let e,t,n=i[57].label&&s_(Mo(i));return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=s_(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 s_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ii({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},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=ee(t,"click",St(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&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 o_(i){let e,t,n=!i[57].hideFromNav&&a_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=a_(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 u_(i){let e,t,n,l,r,a;const o=[_y,gy],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!ky(g[54])),t?1:-1)}function d(g,p){return p===1?hy(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Se()},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 by(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=c_(jg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let z=0;z<D.length;z+=1)D[z].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[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=pl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"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[53]+i[56]]),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[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Y){L(z,e,Y),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 Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",St(V)),ee(d,"click",St(E))],N=!0)},p(z,Y){if(i=z,(!P||Y[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||Y[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Y[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Y[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Y[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Y[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=jg(i,H,Z);D[Z]?(D[Z].p(fe,Y),R(D[Z],1)):(D[Z]=c_(fe),D[Z].c(),R(D[Z],1),D[Z].m(v,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!P||Y[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);P=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);P=!1},d(z){z&&T(e),gt(D,z),N=!1,Qe(I)}}}function vy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=d_(Yg(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=Se()},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[54]);let c;for(c=0;c<n.length;c+=1){const h=Yg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=d_(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),gt(l,a)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},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=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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 c_(i){let e,t,n=i[57].label&&f_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=f_(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 d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},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=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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,l,r;const a=[vy,by],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=Se()},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 wy(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&xg(i);return{c(){r&&r.c(),e=Se()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[ee(Oo,"click",i[8]),ee(Oo,"blur",i[8]),ee(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=xg(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,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function ky(i){return i.some(e=>!e.hideFromNav&&e.label)}function kp(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 Sy(i){return!!kp(i)}function Cy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function yy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),Cy(e)||e.classList.add("fd-popover__body--right")})}const Py=i=>i.stopPropagation(),Iy=i=>i.stopPropagation(),Ny=i=>i.stopPropagation();function Ty(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=Pt("getTranslation");Ci(i,C,Te=>t(17,n=Te));let y=Pt("store"),P,N,I,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(ut=>{ut==="pathData"?t(1,r=Te.pathData):ut==="context"?context=Te.context:ut==="children"?t(0,l=Te.children):ut==="selectedNode"?t(11,b=Te.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Zt();function z(Te){return le.getNodeLabel(Te)}const Y=async()=>{const Te=D.get(),ut=await qt.getTabNavData({...Te},Te);ut&&(D.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(fe(),I&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(I),ut=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let st=0,Xt=!1;[...I.children].forEach($t=>{const Rn=$t.getAttribute("uid");if(!Rn)return;const Rt=getComputedStyle($t),pn=parseFloat(Rt.marginLeft)+parseFloat(Rt.marginRight);st+=$t.offsetWidth+pn,st>=ut?($t.classList.add("hide_element"),$t.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Rn+'"]').classList.remove("hide_element"),Xt=!0):document.querySelector('li[uid="'+Rn+'"]').classList.add("hide_element")}),Xt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},fe=()=>{I!==void 0&&[...I.children].forEach(ut=>{ut.classList.remove("hide_element")})},Q=()=>{P=new ResizeObserver(Te=>{for(const ut of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&yy()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};an(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Q(),bn.doOnStoreChange(y,()=>{Y()},["navigation.viewgroupdata"])}),ta(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Qn(()=>{(!m||m!=r)&&Y(),(v===void 0||v!==p)&&(v=p,Y())}),ea(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):Q()});function J(Te){return me.getNodeHref(Te,a)}function re(Te){ne(),O("handleClick",{node:Te})}function ce(Te){let ut={};d[Te]||(ut[Te]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){fe(),Z()}function se(){t(4,g=!g)}function ae(Te,ut){const st=Te==="undefined",Xt=Te.indexOf(c)===0;if(st||Xt||we(ut))return!0}function we(Te){const ut=Te.find($t=>ie.isObject($t.category));if(!ut)return;const st=ut.category.label||ut.category.id;return Te.filter($t=>$t.category===st&&$t.hideFromNav===!0).length===1}const Je=Te=>re(Te),ye=Te=>re(Te),Le=Te=>ce(Te),ze=Te=>re(Te),Ze=Te=>ce(Te),De=Te=>re(Te);function tt(Te){Ye[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const rt=Te=>re(Te),lt=(Te,ut)=>ce(Te+ut),pe=(Te,ut)=>ce(Te+ut),$e=Te=>re(Te);function zt(Te){Ye[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function En(Te){Ye[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const on=Te=>ce(Te.name);function Gt(Te){Ye[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,re,ce,ne,Pe,se,b,N,I,V,E,H,n,C,z,J,ae,o,a,p,Je,ye,Le,ze,Ze,De,tt,rt,lt,pe,$e,zt,En,on,Gt]}class Sp extends Ft{constructor(e){super(),Mt(this,e,Ty,wy,Vt,{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 g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function p_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&m_(i),o=i[0]&&i[3].length>=0&&k_(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=m_(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=k_(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 m_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(__(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=__(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(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),gt(n,l)}}}function b_(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&&v_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Ne(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(N,I){L(N,e,I),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=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=v_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ay:Ly}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Ly(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),it(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&&!it(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 Ay(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 w_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=Se()},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=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function k_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=y_(g_(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=g_(l,t,a);n[a]?n[a].p(o,r):(n[a]=y_(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),gt(n,l)}}}function S_(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&&C_(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=Ne(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(N,I){L(N,e,I),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=ee(n,"click",St(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=C_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function C_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ry:Ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Ey(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),it(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&&!it(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 Ry(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 y_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&S_(i);return{c(){t&&t.c(),e=Se()},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=S_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Dy(i){let e,t,n,l=i[2]&&p_(i);return{c(){l&&l.c(),e=Se()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[ee(window,"click",ds),ee(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=p_(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,Qe(n)}}}function ds(){}function Vy(i,e,t){let n;const l=Zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Pt("store"),g=Pt("getTranslation");Ci(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.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}};an(()=>{bn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.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=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function N(O){return Et.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{le.handleNavAnchorClickedWithoutMetaKey(z)&&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,N,I,b,m,o,E,H,D]}class Oy extends Ft{constructor(e){super(),Mt(this,e,Vy,Dy,Vt,{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 My(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 Fy(i,e,t){const n=Zt();let{pathData:l}=e,r,a={},o,c=Pt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};an(()=>{bn.doOnStoreChange(c,()=>{},["navigation"])}),Qn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.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(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=ft.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?Et.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const E=await p(I);E&&C.push({label:E,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await qt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await le.fetchNodeTitleData(I,D);C.push({label:O.label,node:I,route:V});continue}catch{}}const E=await p(I);E&&C.push({label:E,node:I,route:V})}P===ft.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(N=>{a[N.route]=N}))}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 Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ft.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){Ye[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 Cp extends Ft{constructor(e){super(),Mt(this,e,Fy,My,Vt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";qn.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 Uy(){return qo}const{Boolean:By,window:P_}=wl;function I_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function N_(i){let e,t;return e=new p2({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 T_(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 op({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 L_(i){let e,t,n=i[154].mfModal.displayed&&T_(i);return{c(){n&&n.c(),e=Se()},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=T_(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 A_(i){let e,t;return e=new op({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Hy]},$$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 Hy(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 E_(i){let e,t;return e=new v2({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 R_(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 M2({props:r}),Ye.push(()=>yt(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],Ct(()=>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 Wy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&D_(i),d=!(i[20]||i[22])&&V_(i);n=new vl({props:{disable:i[12],$$slots:{default:[zy]},$$scope:{ctx:i}}});let g=i[10]&&M_(),p=!i[20]&&F_(i),b=i[15]&&!i[20]&&B_(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=Se()},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=D_(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=V_(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=M_(),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=F_(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=B_(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 qy(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]&&H_(i),y=!(i[20]||i[22])&&W_(i),P=i[19]&&q_(i);b=new vl({props:{disable:i[12],$$slots:{default:[Gy]},$$scope:{ctx:i}}});let N=i[10]&&K_();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(),N&&N.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(I,V){Me(e,I,V),L(I,t,V),L(I,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),N&&N.m(p,null),v=!0},p(I,V){const E={};V[0]&4096&&(E.disable=I[12]),e.$set(E),I[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(I,V),V[0]&33554432&&R(C,1)):(C=H_(I),C.c(),R(C,1),C.m(a,null)),I[20]||I[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(I,V),V[0]&5242880&&R(y,1)):(y=W_(I),y.c(),R(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&R(P,1)):(P=q_(I),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=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=K_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(R(e.$$.fragment,I),R(C),R(y),R(P),R(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){I&&(T(t),T(n)),Fe(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),N&&N.d()}}}function D_(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 wp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>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 V_(i){let e,t;return e=new cp({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 O_(i){let e,t;return e=new fp({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 zy(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&&O_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=Se(),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=Y_(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=O_(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 M_(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 F_(i){let e,t,n,l;e=new Oy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&U_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=Se()},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=U_(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 U_(i){let e,t;return e=new Cp({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 B_(i){let e,t;return e=new Sp({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 H_(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 wp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>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 W_(i){let e,t,n,l;return n=new cp({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 q_(i){let e,t;return e=new Cp({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 z_(i){let e,t;return e=new Sp({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 G_(i){let e,t;return e=new fp({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 Gy(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]&&z_(i),p=i[11].displayed&&G_(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=Se(),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=Y_(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=z_(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=G_(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 K_(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 Ky(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&N_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=L_(I_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&A_(i),y=i[27].displayed&&E_(i),P=i[17].displayed&&R_(i);const N=[qy,Wy],I=[];function V(E,H){return E[30]?0:1}return o=V(i),c=I[o]=N[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),I[o].m(e,null),h=!0,d||(g=[ee(P_,"resize",i[36]),ee(P_,"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=N_(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=I_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=L_(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=A_(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=E_(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=R_(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(By);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(),gt(m,E),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Qe(g)}}}function Jy(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,N,I,V,E,H,D,O,z,Y,Z,fe,Q=!0,G=!1,J,re,ce,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,we=!1,Je,ye,Le={},ze,Ze,De,tt=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:rt}=e,{inputElem:lt}=e,{customSearchItemRendererSlot:pe}=e,{displaySearchResult:$e}=e,{searchResult:zt}=e,{storedUserSettings:En}=e;const on=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Re&&typeof Ge=="object"&&Ge!==null,de=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},Gt=async(B,ue={})=>{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||I,ue)),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)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(ue)},ut=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),Ge=ft.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ie.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:I}),ue.iframe.pv="pv"}},st=(B,ue,Re,Ge)=>{let Ie=Cn(B.params,Re,Ge);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:It}=B.params,Kt={keepBrowserHistory:!de,navSync:Q,preventContextUpdate:It};return Ie=ie.addLeadingSlash(Ie),Ie=He?me.composeSearchParamsToRoute(Ie):Ie,ut(B,ue),ft.navigateTo(Ie,Kt)},Xt=B=>B.split("?")[0],$t=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Xt(Ge.path),Xt(Ge.nextPath)].includes(Xt(Re))},Rn=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},Rt=B=>new Promise((ue,Re)=>{Oi(B)?Kl().then(()=>{Rn(),ue()},()=>{Re()}):ue()}),pn=()=>({get:()=>({unsavedChanges:Pe,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:re,context:I,pathParams:E,hideGlobalSearch:Di,hideSideNav:hi,isolateView:Y,pageErrorHandler:Z,previousNodeValues:fe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:G,goBackContext:J,isNavigationSyncEnabled:Q}),set:B=>{B&&(t(23,Vi=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ri=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,re=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Di=B.hideGlobalSearch):ue==="hideSideNav"?(hi!=B.hideSideNav&&(t(23,Vi=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,hi=B.hideSideNav)):ue==="isolateView"?Y=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?fe=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):ue==="tabNav"?t(15,ae=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?J=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Q=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Oi,getUnsavedChangesModalPromise:Rt,showUnsavedChangesModal:Kl,showAlert:_t,prepareInternalData:on,dispatch:n}),li=(B,ue)=>{bn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Yn.deleteCache();const Ge=ft.getCurrentPath();ft.handleRouteChange(Ge,pn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ie,preventContextUpdate:de}=Ge||{};$t(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let It=wt.length;It--;)Vn(It);na.removeBackdrop(),di(),ft.handleRouteChange(Re,pn(),B,ue,Ie,de)})},jt=(B,ue)=>ie.replaceVars(ft.getNodePath(B),ue,":",!1),Cn=(B,ue,Re)=>{const Ge=ue||D,Ie=Re||E;let de=re;if(ue){let It=ue.parent;for(de=[ue];It;)de.push(It),It=It.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...de].reverse().find(Kt=>Kt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ft.concatenatePath(jt(It,Ie),B.link)}else if(B.fromParent)He=ft.concatenatePath(jt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const It=[...de].reverse().find(Kt=>Kt.navigationContext&&Kt.navigationContext.length>0);He=ft.concatenatePath(jt(It,Ie),B.link)}else if(B.fromContext){const It=B.fromContext,Kt=[...de].reverse().find(Ar=>It===Ar.navigationContext);He=ft.concatenatePath(jt(Kt,Ie),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ft.concatenatePath(jt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,Kt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(Kt<Object.keys(B.nodeParams).length-1?"&":"")})),He},yi=B=>{const ue=B.detail.node;Rt().then(()=>{if(ke(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);$(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Pr(Re,ue.drawer)}else pn().set({isNavigationSyncEnabled:!0}),ft.handleRouteClick(ue,pn())},()=>{})},Pi=()=>{t(16,we=!we)};Yr("handleNavigation",st);const vn=B=>B?!0:(console.warn("No search provider defined."),!1),Ii=()=>{vn(ye)&&t(0,rt=!1)},Ni=()=>{vn(ye)&&lt&&(t(0,rt=!0),lt.focus())},Ti=()=>{vn(ye)&&lt&&(t(1,lt.value="",lt),Ei())},Li=()=>{t(0,rt=!rt),Fk.clearSearchField()},Ai=()=>{if(vn(ye)&&lt)return lt.value},Sl=B=>{vn(ye)&&lt&&(t(1,lt.value=B,lt),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{vn(ye)&&lt&&t(1,lt.placeholder=B,lt)},yl=B=>{if(vn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,pe,ue)}else t(3,$e=!0),t(4,zt=B);else console.warn("Search result array is empty.")},Ei=()=>{if(vn(ye)&&(t(3,$e=!1),t(4,zt=[]),pe))for(;pe.lastElementChild;)pe.removeChild(pe.lastElementChild)},Qi=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};st(Re)},Zi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=pt.getDefaultData().mfSplitView),pt.open(pn(),B,ue)},di=()=>{pt.close(pn())},Pl=()=>{pt.collapse(pn()),t(11,o.collapsed=!0,o)},Il=()=>{pt.expand(pn()),t(11,o.collapsed=!1,o)},Xi=()=>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)},Ri=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,Di,hi,Vi,gi,$i,K;const ke=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{el();const B=window.innerWidth>=dn.desktopMinWidth&&gi<dn.desktopMinWidth,ue=window.innerWidth<dn.desktopMinWidth&&gi>=dn.desktopMinWidth;(B||ue)&&ke(),gi=window.innerWidth};let je=[];const vt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},_t=(B,ue=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ie=Re(B,ue);if(Ie!==!1)return Ie}const Ge=je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&vt(Ge,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(()=>{vt(je,B.id)&&Ut(B.id)},B.closeAfter),new Promise((Ie,de)=>{t(26,je=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Ut=(B,ue)=>{const Re=vt(je,B);if(!Re){console.error("An unexisting alert has been dismissed.",je,B);return}if(t(26,je=je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ce),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ee.sendMessageToIframe(Ge,Ie)}else Re.promise&&Re.promise.resolve(ue||B)},xt=B=>{Ut(B.detail.id,B.detail.dismissKey)};let yn;const _i=()=>{t(27,yn={displayed:!1,content:{},openFromClient:!1,promise:null})};_i();const pi=(B,ue=!1,Re)=>new Promise((Ge,Ie)=>{t(27,yn={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Re})}),El=B=>{const{promise:ue,openFromClient:Re,targetIframe:Ge}=yn;if(_i(),B?ue.resolve():ue.reject(),Re&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ie)}},Oi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>pi({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",Rt);let wt=[];const xi=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,wt=[]);return}let Re;if(t(28,wt=wt.filter((Ie,de)=>(B===de&&(Re=Ie),B!==de))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ie)}};xi();const $=async(B,ue,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Re}};t(28,wt=[...wt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ft.appendModalDataToUrl(B,ue)},Bt=(B,ue)=>{t(28,wt[ue].modalIframe=B.detail.modalIframe,wt),t(28,wt[ue].modalIframeData=B.detail.modalIframeData,wt)},Dn=(B,ue)=>{t(28,wt[ue].modalWC=B.detail.modalWC,wt),t(28,wt[ue].modalWCData=B.detail.modalWCData,wt)},Vn=(B,ue,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ft.removeModalDataFromUrl(It),xi(He,Re)},Ie=wt[B],de=ie.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Rt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),de&&de.doResolve(Re)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),de&&de.doResolve(Re))};Yr("openViewInModal",$);let sn={};const Jl=()=>{t(29,sn.displayed=!1,sn),t(29,sn.nodepath=void 0,sn),t(29,sn.settings={},sn),t(12,g=!1)};Jl();const Pr=async(B,ue)=>{await le.shouldPreventNavigationForPath(B)||(t(29,sn.displayed=!0,sn),t(29,sn.nodepath=B,sn),t(29,sn.settings=ue,sn),sn.settings&&sn.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=dn.desktopMinWidth&&sn.displayed&&sn.settings&&!sn.settings.overlap,el=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Re.forEach(Ie=>{Ir(Ie,Ge)})}},Ir=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},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?Rt(p.contentWindow).then(()=>{Jl()},()=>{}):m&&Rt().then(()=>{Jl()},()=>{}),el(!0)}catch(ue){console.log(ue)}},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;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let ue=re;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Re=B.link,Ge=jt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(He=>He.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=jt(Ie,E);Re=Ge.split(de).join("")}else if(B.fromParent){const Ie=jt(D.parent,E);Re=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=jt(Ie,E);Re=Ge.split(de).join("")}else if(B.fromContext){const Ie=B.fromContext,de=[...ue].reverse().find(It=>Ie===It.navigationContext),He=jt(de,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),qn.addEventListener("popstate",async de=>{const He=je;if(!He||!(He.length>0))return;const It=He.map(Kt=>{if(Kt&&!Kt.openFromClient&&typeof Kt.settings.ttl=="number"){if(Kt.settings.ttl===0)return null;Kt.settings.ttl--}return Kt}).filter(Kt=>Kt);t(26,je=It)}),qn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),It=wt[wt.length-1],Kt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:Kt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Mi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Mi&&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=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(de.data),Nt=We[Lt.id],un="luigi.updateUserSettings";if(Le&&Lt.id===un){Nt&&console.warn(`The key "${un}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const Pn=Yi.getMicrofrontends().find(en=>Ee.isMessageSource(de,en.container));Nt(Lt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.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,Ie.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Mi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ie,iframe:nl[We.iframeKey],context:Lt,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 Gt(Nt,{})});else if(Ie.iframe&&Ee.isMessageSource(de,Ie.iframe))await Gt(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await Gt({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:En[Lt]},iframe:We};await Gt(Nt)}}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"){G=!1;const We=window.location.href,Lt=Mi?He.luigi.currentNode:void 0,Nt=Mi?He.luigi.pathParams:void 0,un=de.data.params,{intent:Pn,newTab:en,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=un;let $l=en||il||Xl||Rl;const ga=()=>{const Zn=ie.getRemotePromise(de.data.remotePromiseId);Zn&&Zn.doResolve()},gn=()=>{const Zn=ie.getRemotePromise(de.data.remotePromiseId);Zn&&Zn.doReject()},Dl=Zn=>{!Zn||We!==window.location.href?ga():gn()};de.source!==window&&!Pn&&un.link&&(un.link=un.link.split("?")[0]);let Ht=Cn(de.data.params,Lt,Nt);if($l=$l||Pn&&Ht.external,!$l)Rt().then(()=>{Q=!de.data.params.withoutSync,st(de.data,Ie,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{gn()}),wt.forEach((Zn,_a)=>{Vn(_a)}),di(),Yl(),Q=!0}).catch(()=>{gn()});else{if(Pn&&Ht.external){ft.navigateToExternalLink({url:Ht.url,sameWindow:!Ht.openInNewTab});return}if(Ht=ie.addLeadingSlash(Ht),en){await aa(Ht),Dl();return}const Zn=await Zl(Ht);if(Ht=await me.handlePageNotFoundAndRetrieveRedirectPath(pn(),Ht,Zn),!Ht){gn();return}ce=B,il!==void 0?(!il.keepPrevious&&xi(),await $(Ht,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Zi(Ht,Xl),Dl()):Rl!==void 0&&(Jl(),Rl.isDrawer=!0,await Pr(Ht,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=wt[wt.length-1],Lt=wt.length>1&&wt[wt.length-2],Nt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){Vn(wt.length-1,!0,Nt);let un=Ie;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const Pn=Lt,en=Pn.modalIframeData;un={pathParams:en.pathParams,context:en.context,iframe:Pn.modalIframe}}un.iframe&&await Gt(un,{goBackContext:Nt})}else Ee.isMessageSource(de,C)?(di(),Ie.iframe&&await Gt(Ie,{goBackContext:Nt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ie.iframe&&await Gt(Ie,{goBackContext:Nt})):ne&&ne.length>0?Rt().then(()=>{fi.setActiveIframeToPrevious(B);const un=ne.pop();Ie.iframe=fi.getActiveIframe(B),G=!0,ne=ne,J=Nt,st({params:{link:un.path}},Ie)},()=>{}):(Nt&&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,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Te(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Mi){const We=ie.addLeadingSlash(Cn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ft.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,Lt=He.luigi.pathParams,Nt=de.data.data,un=Cn(Nt,We,Lt),Pn=un?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),un):!1,en={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,en)}if(de.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(de.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,de.data.dirty?Pe.dirtySet.add(de.source):Pe.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;ce=B,_i(),pi(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ce=B,_t(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&&Et.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"&&f2.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):Ge&&ie.isFunction(Ge.errorFn)&&Ge.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:Lt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Mi)return;const{data:We,keepBrowserHistory:Lt}=de.data;gl.addNodeParams(We,Lt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Lt=le.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=le.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),li(B,Ie)}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 ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=Cn(ue),Ge=Re?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>wt.length>0||ne.length!==0;an(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),gi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();B&&ue&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,ze=Re?B:ue)}}document.body.classList.add("lui-semiCollapsible")}Je=te.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(()=>{Uy()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Qn(()=>{t(19,Ze=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,$i=te.getConfigValue("tag")),t(25,K=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&wt&&wt.length>0&&Vn(wt.length-1)},oa=B=>Vn(B,!0),ws=(B,ue)=>Bt(ue,B),ua=(B,ue)=>Dn(ue,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){$e=B,t(3,$e)}function Cs(B){zt=B,t(4,zt)}function ha(B){lt=B,t(1,lt)}function ys(B){pe=B,t(2,pe)}function Ps(B){rt=B,t(0,rt)}function Is(B){$e=B,t(3,$e)}function Ns(B){zt=B,t(4,zt)}function Lr(B){lt=B,t(1,lt)}function Ts(B){pe=B,t(2,pe)}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,lt=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,pe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,$e=B.displaySearchResult),"searchResult"in B&&t(4,zt=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[rt,lt,pe,$e,zt,En,Li,Ei,Qi,ra,a,o,g,E,re,ae,we,Le,ze,Ze,ri,Di,hi,Vi,$i,K,je,yn,wt,sn,tt,yi,Pi,Ll,Ri,Al,nt,xt,El,Bt,Dn,Vn,ms,la,jl,Yl,vs,sa,l,r,Ii,Ni,Ti,Ai,Sl,Cl,yl,Zi,di,Pl,Il,Xi,Nl,Tl,_t,pi,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class jy extends Ft{constructor(e){super(),Mt(this,e,Jy,Ky,Vt,{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 Yy=()=>{const{subscribe:i,update:e,reset:t}=vr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},yp=Yy(),Qy=Ak((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=yp;const Zy=()=>new Promise(i=>{Et._init(),hn.init().then(()=>{setTimeout(()=>{let e;Yi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new jy({target:Yi.getLuigiContainer(),props:{store:yp,getTranslation:Qy}}),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()})})});te.setConfigCallbacks(Zy);
52
+ }`;var ct=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,q)});if(ct.source=Ce,Co(ct))throw ct;return ct}function sw(s){return At(s).toLowerCase()}function ow(s){return At(s).toUpperCase()}function uw(s,u,_){if(s=At(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),q=xo(S,A)+1;return cl(S,F,q).join("")}function fw(s,u,_){if(s=At(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 cw(s,u,_){if(s=At(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 dw(s,u){var _=z,S=Y;if(jt(u)){var A="separator"in u?u.separator:A;_="length"in u?ft(u.length):_,S="omission"in u?Gn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var q=ai(s);F=q.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var x=q?cl(q,0,j).join(""):s.slice(0,j);if(A===t)return x+S;if(q&&(j+=x.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=x;for(A.global||(A=Bs(A.source,At(je.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;x=x.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(Gn(A),j)!=j){var Oe=x.lastIndexOf(A);Oe>-1&&(x=x.slice(0,Oe))}return x+S}function hw(s){return s=At(s),s&&Zi.test(s)?s.replace(Ei,qp):s}var gw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Fp(s)?Kp(s):Tp(s):s.match(u)||[]}var zf=dt(function(s,u){try{return gn(s,t,u)}catch(_){return Co(_)?_:new rt(_)}}),_w=Wi(function(s,u){return Ht(u,function(_){_=vi(_),Bi(s,_,ko(s[_],s))}),s});function pw(s){var u=s==null?0:s.length,_=Xe();return s=u?Kt(s,function(S){if(typeof S[1]!="function")throw new Xn(a);return[_(S[0]),S[1]]}):[],dt(function(S){for(var A=-1;++A<u;){var F=s[A];if(gn(F[0],this,S))return gn(F[1],this,S)}})}function mw(s){return qm(xn(s,g))}function To(s){return function(){return s}}function bw(s,u){return s==null||s!==s?u:s}var vw=Ku(),ww=Ku(!0);function Un(s){return s}function Lo(s){return ku(typeof s=="function"?s:xn(s,g))}function kw(s){return Cu(xn(s,g))}function Sw(s,u){return yu(s,xn(u,g))}var Cw=dt(function(s,u){return function(_){return Wr(_,s,u)}}),yw=dt(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=_n(u),A=Oa(u,S);_==null&&!(jt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,_n(u)));var F=!(jt(_)&&"chain"in _)||!!_.chain,q=zi(s);return Ht(A,function(j){var x=u[j];s[j]=x,q&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=On(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,rl([this.value()],arguments))})}),s}function Pw(){return We._===this&&(We._=Xp),this}function Eo(){}function Iw(s){return s=ft(s),dt(function(u){return Pu(u,s)})}var Nw=so(Kt),Tw=so(_a),Lw=so(Rs);function Gf(s){return _o(s)?Ds(vi(s)):r1(s)}function Aw(s){return function(u){return s==null?t:Ul(s,u)}}var Ew=ju(),Rw=ju(!0);function Ro(){return[]}function Do(){return!1}function Dw(){return{}}function Vw(){return""}function Ow(){return!0}function Mw(s,u){if(s=ft(s),s<1||s>ce)return[];var _=se,S=wn(s,se);u=Xe(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Fw(s){return st(s)?Kt(s,vi):Kn(s)?[s]:On(ff(At(s)))}function Uw(s){var u=++Qp;return At(s)+u}var Bw=Wa(function(s,u){return s+u},0),Hw=oo("ceil"),Ww=Wa(function(s,u){return s/u},1),qw=oo("floor");function zw(s){return s&&s.length?Va(s,Un,js):t}function Gw(s,u){return s&&s.length?Va(s,Xe(u,2),js):t}function Kw(s){return Qo(s,Un)}function Jw(s,u){return Qo(s,Xe(u,2))}function jw(s){return s&&s.length?Va(s,Un,Xs):t}function Yw(s,u){return s&&s.length?Va(s,Xe(u,2),Xs):t}var Qw=Wa(function(s,u){return s*u},1),Zw=oo("round"),Xw=Wa(function(s,u){return s-u},0);function $w(s){return s&&s.length?Os(s,Un):0}function xw(s,u){return s&&s.length?Os(s,Xe(u,2)):0}return M.after=kv,M.ary=kf,M.assign=o0,M.assignIn=Of,M.assignInWith=es,M.assignWith=u0,M.at=f0,M.before=Sf,M.bind=ko,M.bindAll=_w,M.bindKey=Cf,M.castArray=Dv,M.chain=bf,M.chunk=q1,M.compact=z1,M.concat=G1,M.cond=pw,M.conforms=mw,M.constant=To,M.countBy=$b,M.create=c0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=d0,M.defaultsDeep=h0,M.defer=Sv,M.delay=Cv,M.difference=K1,M.differenceBy=J1,M.differenceWith=j1,M.drop=Y1,M.dropRight=Q1,M.dropRightWhile=Z1,M.dropWhile=X1,M.fill=$1,M.filter=ev,M.flatMap=iv,M.flatMapDeep=lv,M.flatMapDepth=rv,M.flatten=gf,M.flattenDeep=x1,M.flattenDepth=eb,M.flip=yv,M.flow=vw,M.flowRight=ww,M.fromPairs=tb,M.functions=w0,M.functionsIn=k0,M.groupBy=av,M.initial=ib,M.intersection=lb,M.intersectionBy=rb,M.intersectionWith=ab,M.invert=C0,M.invertBy=y0,M.invokeMap=ov,M.iteratee=Lo,M.keyBy=uv,M.keys=_n,M.keysIn=Fn,M.map=Ya,M.mapKeys=I0,M.mapValues=N0,M.matches=kw,M.matchesProperty=Sw,M.memoize=Za,M.merge=T0,M.mergeWith=Mf,M.method=Cw,M.methodOf=yw,M.mixin=Ao,M.negate=Xa,M.nthArg=Iw,M.omit=L0,M.omitBy=A0,M.once=Pv,M.orderBy=fv,M.over=Nw,M.overArgs=Iv,M.overEvery=Tw,M.overSome=Lw,M.partial=So,M.partialRight=Nf,M.partition=cv,M.pick=E0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Aw,M.pull=fb,M.pullAll=pf,M.pullAllBy=cb,M.pullAllWith=db,M.pullAt=hb,M.range=Ew,M.rangeRight=Rw,M.rearg=Nv,M.reject=gv,M.remove=gb,M.rest=Tv,M.reverse=vo,M.sampleSize=pv,M.set=D0,M.setWith=V0,M.shuffle=mv,M.slice=_b,M.sortBy=wv,M.sortedUniq=Sb,M.sortedUniqBy=Cb,M.split=iw,M.spread=Lv,M.tail=yb,M.take=Pb,M.takeRight=Ib,M.takeRightWhile=Nb,M.takeWhile=Tb,M.tap=zb,M.throttle=Av,M.thru=ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Fw,M.toPlainObject=Vf,M.transform=O0,M.unary=Ev,M.union=Lb,M.unionBy=Ab,M.unionWith=Eb,M.uniq=Rb,M.uniqBy=Db,M.uniqWith=Vb,M.unset=M0,M.unzip=wo,M.unzipWith=mf,M.update=F0,M.updateWith=U0,M.values=cr,M.valuesIn=B0,M.without=Ob,M.words=qf,M.wrap=Rv,M.xor=Mb,M.xorBy=Fb,M.xorWith=Ub,M.zip=Bb,M.zipObject=Hb,M.zipObjectDeep=Wb,M.zipWith=qb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Bw,M.attempt=zf,M.camelCase=z0,M.capitalize=Hf,M.ceil=Hw,M.clamp=H0,M.clone=Vv,M.cloneDeep=Mv,M.cloneDeepWith=Fv,M.cloneWith=Ov,M.conformsTo=Uv,M.deburr=Wf,M.defaultTo=bw,M.divide=Ww,M.endsWith=G0,M.eq=oi,M.escape=K0,M.escapeRegExp=J0,M.every=xb,M.find=tv,M.findIndex=df,M.findKey=g0,M.findLast=nv,M.findLastIndex=hf,M.findLastKey=_0,M.floor=qw,M.forEach=vf,M.forEachRight=wf,M.forIn=p0,M.forInRight=m0,M.forOwn=b0,M.forOwnRight=v0,M.get=Po,M.gt=Bv,M.gte=Hv,M.has=S0,M.hasIn=Io,M.head=_f,M.identity=Un,M.includes=sv,M.indexOf=nb,M.inRange=W0,M.invoke=P0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=Wv,M.isArrayLike=Mn,M.isArrayLikeObject=tn,M.isBoolean=qv,M.isBuffer=dl,M.isDate=zv,M.isElement=Gv,M.isEmpty=Kv,M.isEqual=Jv,M.isEqualWith=jv,M.isError=Co,M.isFinite=Yv,M.isFunction=zi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Qv,M.isMatchWith=Zv,M.isNaN=Xv,M.isNative=$v,M.isNil=e0,M.isNull=xv,M.isNumber=Af,M.isObject=jt,M.isObjectLike=en,M.isPlainObject=jr,M.isRegExp=yo,M.isSafeInteger=t0,M.isSet=Ef,M.isString=xa,M.isSymbol=Kn,M.isTypedArray=fr,M.isUndefined=n0,M.isWeakMap=i0,M.isWeakSet=l0,M.join=sb,M.kebabCase=j0,M.last=ti,M.lastIndexOf=ob,M.lowerCase=Y0,M.lowerFirst=Q0,M.lt=r0,M.lte=a0,M.max=zw,M.maxBy=Gw,M.mean=Kw,M.meanBy=Jw,M.min=jw,M.minBy=Yw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Dw,M.stubString=Vw,M.stubTrue=Ow,M.multiply=Qw,M.nth=ub,M.noConflict=Pw,M.noop=Eo,M.now=Qa,M.pad=Z0,M.padEnd=X0,M.padStart=$0,M.parseInt=x0,M.random=q0,M.reduce=dv,M.reduceRight=hv,M.repeat=ew,M.replace=tw,M.result=R0,M.round=Zw,M.runInContext=X,M.sample=_v,M.size=bv,M.snakeCase=nw,M.some=vv,M.sortedIndex=pb,M.sortedIndexBy=mb,M.sortedIndexOf=bb,M.sortedLastIndex=vb,M.sortedLastIndexBy=wb,M.sortedLastIndexOf=kb,M.startCase=lw,M.startsWith=rw,M.subtract=Xw,M.sum=$w,M.sumBy=xw,M.template=aw,M.times=Mw,M.toFinite=Gi,M.toInteger=ft,M.toLength=Df,M.toLower=sw,M.toNumber=ni,M.toSafeInteger=s0,M.toString=At,M.toUpper=ow,M.trim=uw,M.trimEnd=fw,M.trimStart=cw,M.truncate=dw,M.unescape=hw,M.uniqueId=Uw,M.upperCase=gw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return mi(M,function(u,_){Dt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ht(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ht(["drop","take"],function(s,u){mt.prototype[s]=function(_){_=_===t?1:cn(ft(_),0);var S=this.__filtered__&&!u?new mt(this):this.clone();return S.__filtered__?S.__takeCount__=wn(_,S.__takeCount__):S.__views__.push({size:wn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},mt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ht(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Z||_==J;mt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:Xe(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ht(["head","last"],function(s,u){var _="take"+(u?"Right":"");mt.prototype[s]=function(){return this[_](1).value()[0]}}),Ht(["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(Un)},mt.prototype.find=function(s){return this.filter(s).head()},mt.prototype.findLast=function(s){return this.reverse().find(s)},mt.prototype.invokeMap=dt(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=ft(s);var _=this;return _.__filtered__&&(s>0||u<0)?new mt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ft(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)},mi(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 q=this.__wrapped__,j=S?[1]:arguments,x=q instanceof mt,_e=j[0],pe=x||st(q),Ce=function(pt){var wt=A.apply(M,rl([pt],j));return S&&Oe?wt[0]:wt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,$e=F&&!Oe,ct=x&&!Ke;if(!F&&pe){q=ct?q:new mt(this);var xe=s.apply(q,j);return xe.__actions__.push({func:ja,args:[Ce],thisArg:t}),new $n(xe,Oe)}return $e&&ct?s.apply(this,j):(xe=this.thru(Ce),$e?S?xe.value()[0]:xe.value():xe)})}),Ht(["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(q){return u.apply(st(q)?q:[],A)})}}),mi(mt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Dt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],mt.prototype.clone=hm,mt.prototype.reverse=gm,mt.prototype.value=_m,M.prototype.at=Gb,M.prototype.chain=Kb,M.prototype.commit=Jb,M.prototype.next=jb,M.prototype.plant=Qb,M.prototype.reverse=Zb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Yb),M},nr=Jp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Yk{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=te.getConfigValue("routing.useHashRouting"),h=te.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=te.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 te.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 te.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=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.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(){te.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(te.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(te.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=te.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 N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ie.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=le.getParentNode(I,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:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Q=document.querySelector(".wcContainer");if(Q&&(Q.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const fe=t.get(),Z=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(fe.context),nodeParams:JSON.stringify(fe.nodeParams),pathParams:JSON.stringify(fe.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Z),withoutSync:!0})}}const Y=document.querySelector(".lui-tab-header");Y&&Y.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);rp.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={...Wk.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(te.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=te.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(te.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 ut=new Yk;class Qk{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(te.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="",_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`,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 _t=new Qk;class Zk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const Xk=new Zk;class $k{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=te.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 $k;class xk{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=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.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),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await ki.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(te.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await ki.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 ki.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=te.getConfigValue(`auth.${te.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(te.getConfigValue("auth.events.onAuthConfigError")))await ki.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 hn=new xk;class e2{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 e2;class t2{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 ki.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 t2;class n2{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/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(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"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,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}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 n2;class i2{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 vk.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=te.getConfigValue("settings.customSandboxRules"),c=te.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=te.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:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new i2;class l2{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(Yi.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=!!te.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=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ie=new l2;class r2{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=te.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(ki.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=te.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=te.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=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Et.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:te.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||"/";ut.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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=Et.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 te.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 r2;class a2{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=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.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(te.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=te.getConfigValue("routing.useHashRouting");qn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ut.getHashPath():ut.getModifiedPathname();e(l)}}),qn.addEventListener("popstate",n=>{const l=t?ut.getHashPath(location.href):ut.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:ut.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,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.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=Et.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=te.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=te.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=te.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:Et.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 a2;class s2{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=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const bn=new s2;class o2{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 qn=new o2;class u2{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 f2=new u2;class c2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.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 c2,Zr=38,br=40,bl=13,Gl=27,xr=32,d2=36,h2=35;class sp{constructor(e,t){Bn(this,"dispatch");Bn(this,"search");Bn(this,"isCustomSearchRenderer");Bn(this,"isCustomSearchResultItemRenderer");Bn(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=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.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?ut.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=ee(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 g2(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),ht(n,l),i[5](null)}}}function _2(i,e,t){const n=Qt();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)}),rn(()=>{});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){Ye[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 p2 extends Ft{constructor(e){super(),Mt(this,e,_2,g2,Vt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Wn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Wn(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=Ne(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=ee(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 m2(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,N=i[0].buttonDismiss+"",I,V,E,H,D,O=i[0].type&&$f(i),z=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=Ne(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),z&&z.c(),C=W(),y=k("div"),P=k("button"),I=Ne(N),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(Y,Q){L(Y,e,Q),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),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Y,[Q]){Y[0].type?O?O.p(Y,Q):(O=$f(Y),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Q&1&&c!==(c=Y[0].header+"")&&Ae(h,c),Q&1&&p!==(p=Y[0].body+"")&&(g.innerHTML=p),Y[0].buttonConfirm!==!1?z?z.p(Y,Q):(z=xf(Y),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Q&1&&N!==(N=Y[0].buttonDismiss+"")&&Ae(I,N),Q&1&&V!==(V="fd-button "+(Y[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Y[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(Y){Y&&T(e),O&&O.d(),z&&z.d(),H=!1,Qe(D)}}}function b2(i,e,t){const n=Qt();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")}),rn(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.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 v2 extends Ft{constructor(e){super(),Mt(this,e,b2,m2,Vt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function w2(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 k2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Qt();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 rn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),qn.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 Ft{constructor(e){super(),Mt(this,e,k2,w2,Vt,{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[5]?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-1hy363a")},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=ee(h,"click",i[11]),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&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?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=Ne(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[10].default,n=hs(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&_s(n,t,l,l[9],e?gs(t,l[9],r,null):ps(l[9]),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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function S2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&ec(i),C=i[4]&&nc(i),y=i[3]&&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[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Wn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){L(P,e,N),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,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&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[4]?C?(C.p(P,N),N&16&&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||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Wn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&32&&b!==(b=P[5]?"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 C2(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=Qt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=yt("store");const E=G=>le.getNodeLabel(G),H=async G=>{const J=G&&G.length?ie.getPathWithoutHash(G):"",re=me.parseParams(J.split("?")[1]);b=me.getNodeParams(re);const ce=await qt.extractDataFromPath(G);g=ce.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(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=E(g),r),t(0,r._liveLabel=!0,r)),p=ce.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Y():await O(),zl.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const J=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,J;const re=document.querySelector(".lui-modal-index-"+c),{size:ce,width:ne,height:Pe}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(re.classList.remove("lui-modal-fullscreen"),ne&&ne.match(se)&&Pe&&Pe.match(se))G=Pe,J=ne;else switch(ce){case"fullscreen":G="100vh",J="100vw",re.classList.add("lui-modal-fullscreen");break;case"m":G="80%",J="60%";break;case"s":G="80%",J="40%";break;default:G="80%",J="80%"}re.setAttribute("style",`width:${J};height:${G};`)},z=async(G,J)=>{P?await Y():await O(),G&&(G=me.substituteViewUrl(G,J));const re=await Ee.createIframe(G,void 0,g,"modal",J);return document.querySelector(I).appendChild(re),re};async function Y(G){let J="";const re=document.getElementsByClassName("drawer"),ce=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?J="width:75%;":r.size==="m"?J="width:50%;":r.size==="s"?J="width:25%;":r.size==="xs"&&(J="width:15.5%;")),r.backdrop?re[0].setAttribute("style",J):(ce[0].setAttribute("style",J),re[0].setAttribute("style","width:100%"))}ea(()=>{D(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&fe()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ut.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};rn(()=>{bn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),qn.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),ta(()=>{qn.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const Z=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,Z]}class op extends Ft{constructor(e){super(),Mt(this,e,C2,S2,Vt,{settings:0,isDataPrepared:7,nodepath:8,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=Se()},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),ht(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?P2:y2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 y2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Ne(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 P2(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=ee(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 N(){return i[19](i[28])}let I=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Ne(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),I&&I.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),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Ot(N))],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?I?I.p(i,E):(I=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&T(e),I&&I.d(),C=!1,Qe(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),ht(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=Ne(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"),Yt(e,"is-selected",i[4]===i[33]),Yt(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=[ee(e,"click",h),ee(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&&Yt(e,"is-selected",i[4]===i[33]),g[0]&16&&Yt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Qe(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),ht(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=Ne(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=ee(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=ee(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=ee(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),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),a=Ne(":"),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(),N&&N.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(I,V){L(I,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),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Ae(r,l),I[28].type==="string"?v?v.p(I,V):(v=uc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=fc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=hc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=_c(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=pc(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function I2(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=[ee(window,"click",i[7]),ee(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,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function N2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Qt();let o=yt("getTranslation");Ci(i,o,Z=>t(5,n=Z));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Z,G){let J=ls(Z.target,".fd-popover__control",20),re=J.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(J,!re))}function m(Z,G){const J=Z.querySelector(".lui-activate-dropdown"),re=Z.parentNode.querySelector(".fd-popover__body"),ce=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",G),re.setAttribute("aria-hidden",!G),ce.setAttribute("aria-expanded",G),J.setAttribute("aria-expanded",G),t(14,h=G)}function v(Z,G,J){t(4,c=J),t(0,r[l[0]][Z]=G.value||G,r)}function C(Z,G){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(J=>{const re=J.getAttribute("id"),ce=`lui-us-enum_button_${Z}_option`;re===ce?J.classList.add("fd-button--emphasized"):J.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=G.value||G,r)}function y(Z,G){let J;if(Array.isArray(G)){for(let re=0;re<G.length;re++)if(ie.isObject(G[re])){if(G[re].value&&G[re].value===Z){J=G[re].label,t(4,c=re);break}}else{J=Z,t(4,c=G.indexOf(Z));break}return n(J)}}function P(Z){return n(ie.isObject(Z)?Z.label:Z)}function N(Z,G,J){return ie.isObject(J)?`${Z}_${G}_${J.value}`:`${Z}_${G}_${J}`}function I(Z,G,J,re){let ce=ls(Z.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${J}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(Z.keyCode===Zr&&Z.altKey&&(ce.click(),ce.focus()),Z.keyCode===br&&!Z.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<re.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Z.keyCode===Zr&&!Z.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<re.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Z.keyCode===bl||Z.keyCode===xr)&&v(G,re.options[Pe],Pe)}else ce.focus(),Z.keyCode===br&&Z.altKey&&ce.click(),Z.keyCode===br&&!Z.altKey&&Pe<re.options.length-1&&v(G,re.options[Pe+1],Pe+1),Z.keyCode===Zr&&!Z.altKey&&Pe>0&&Pe<re.options.length&&v(G,re.options[Pe-1],Pe-1)}function V(Z){if(h){let G=ls(Z.target,".fd-popover",20);G.blur(),(Z.keyCode===xr||Z.keyCode===bl)&&(Z.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const H=(Z,G,J,re)=>I(re,Z,G,J),D=Z=>b(event,Z.isEditable),O=(Z,G,J)=>v(Z,G,J),z=Z=>V(Z),Y=(Z,G)=>C(Z,G);function Q(Z){r[l[0]][Z]=this.checked,t(0,r)}function fe(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,h=Z.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Y,Q,fe]}class T2 extends Ft{constructor(e){super(),Mt(this,e,N2,I2,Vt,{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?A2:L2}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 L2(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=Se(),f(e,"class",t=Wn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Hn(e,"background-image","url('"+i[38][1].icon+"')"),Hn(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=Wn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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&&Hn(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 A2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Wn(i[18](i[38][1].icon))+" svelte-xbltd6"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-xbltd6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Wn(r[18](r[38][1].icon))+" svelte-xbltd6")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-xbltd6")&&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=Ne(t),f(e,"class",l=Wn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),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=Wn(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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=Ne(a),c=W(),h=k("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-xbltd6"),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,N){L(P,e,N),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=[ee(e,"click",kt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),N[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,Qe(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=Se()},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),ht(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 T2({props:o}),Ye.push(()=>Ct(e,"closeDropDown",r)),Ye.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 E2(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])+"",N,I,V,E,H,D,O,z,Y,Q,fe,Z,G,J=i[10](i[5])+"",re,ce,ne,Pe,se=i[10](i[6])+"",ae,we,Je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Ze=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=Ne(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[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"),N=Ne(P),I=W(),V=k("div"),E=k("div"),Ze&&Ze.c(),H=W(),D=k("div"),O=W(),z=k("div"),Y=W(),Q=k("footer"),fe=k("div"),Z=k("div"),G=k("button"),re=Ne(J),ce=W(),ne=k("div"),Pe=k("button"),ae=Ne(se),f(o,"class","fd-title fd-title--h5 svelte-xbltd6"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-xbltd6"),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-xbltd6"),f(r,"class","fd-side-nav svelte-xbltd6"),f(l,"class","lui-usersettings-left-nav svelte-xbltd6"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-xbltd6"),f(y,"class","fd-title fd-title--h5 svelte-xbltd6"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-xbltd6"),f(E,"class","usersettingseditor mf-wrapper svelte-xbltd6"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-xbltd6"),f(z,"class","wcUserSettingsCtn wc-wrapper svelte-xbltd6"),f(V,"class","lui-usersettings-content svelte-xbltd6"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-xbltd6"),f(G,"data-testid","lui-us-saveBtn"),f(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Z,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(fe,"class","fd-bar__right"),f(Q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-xbltd6"),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-xbltd6"),f(e,"tabindex","0")},m(De,et){L(De,e,et),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 it=0;it<ze.length;it+=1)ze[it]&&ze[it].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,E),Ze&&Ze.m(E,null),w(V,H),w(V,D),w(V,O),w(V,z),w(t,Y),w(t,Q),w(Q,fe),w(fe,Z),w(Z,G),w(G,re),w(fe,ce),w(fe,ne),w(ne,Pe),w(Pe,ae),we=!0,Je||(ye=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(G,"click",i[25]),ee(Pe,"click",i[26])],Je=!0)},p(De,et){if((!we||et[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),et[0]&803846){Le=Ve(Object.entries(De[1]));let it;for(it=0;it<Le.length;it+=1){const de=vc(De,Le,it);ze[it]?ze[it].p(de,et):(ze[it]=yc(de),ze[it].c(),ze[it].m(p,null))}for(;it<ze.length;it+=1)ze[it].d(1);ze.length=Le.length}(!we||et[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(N,P),De[11]?Ze?(Ze.p(De,et),et[0]&2048&&R(Ze,1)):(Ze=Pc(De),Ze.c(),R(Ze,1),Ze.m(E,null)):Ze&&(be(),U(Ze,1,1,()=>{Ze=null}),ve()),(!we||et[0]&1056)&&J!==(J=De[10](De[5])+"")&&Ae(re,J),(!we||et[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){we||(R(Ze),we=!0)},o(De){U(Ze),we=!1},d(De){De&&T(e),ht(ze,De),Ze&&Ze.d(),Je=!1,Qe(ye)}}}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 R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function D2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function up(i,e,t){if(i&&t>0)return i.matches(e)?i:up(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 O2(i,e,t){let n,{userSettingGroups:l}=e;const r=Qt();let a,{storedUserSettings:o={}}=e,c={},h=yt("getTranslation");Ci(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")}),rn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),ae=se||te.getConfigValue("settings.userSettings.userSettingsDialog");ae&&(t(4,d=ae.dialogHeader?ae.dialogHeader:d),t(5,g=ae.saveBtn?ae.saveBtn:g),t(6,p=ae.dismissBtn?ae.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,qn.addEventListener("message",we=>{const Je=Ee.getValidMessageSource(we);if(!Je||we.data.msg!=="custom")return;Je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(we.data),Le="luigi.updateUserSettings";if(ye.id===Le){const ze=pr.findActiveCustomUserSettingsIframe(we.source);if(ze){let Ze=ze.getAttribute("userSettingsGroup");t(0,o[Ze]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<dn.desktopMinWidth&&D()}),te.readUserSettings().then(we=>{c=JSON.parse(JSON.stringify(we)),we===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),we)),N([m,l[0][m]])}).catch(we=>{we&&we.message&&console.error(we.message),we&&we.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 ae in se.settings){let we=se.settings[ae];we.type==="enum"?Array.isArray(we.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):we.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function N(se,ae){t(11,a=se);let we=se[0],Je=se[1];if(P(Je),ae?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),up(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<dn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<dn.desktopMinWidth&&Nc()),Je.viewUrl){if(pr.hideUserSettingsIframe(),Je.webcomponent){I({...Je},we);return}if(b.hasOwnProperty(we))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===we&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(Je.viewUrl):Je.viewUrl;let Le=pr.createIframe(ye,we);b[we]=Le}D2()}else V2()}function I(se,ae){const we=document.querySelector(".wcUserSettingsCtn");if(!we)return;we.innerHTML="";const Je={};we.eventBus={listeners:Je,onPublishEvent:(De,et)=>{let it=et;t(0,o[it]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Ze=se.label;zl.renderWebComponent(se.viewUrl,we,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Ze?Ze.replace(/ /g,"").toLowerCase():null),R2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.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<dn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function z(se){return le.isOpenUIiconName(se.icon)}let Y;const Q=()=>{const se=window.innerWidth>=dn.desktopMinWidth&&Y<dn.desktopMinWidth;if(window.innerWidth<dn.desktopMinWidth&&Y>=dn.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"),!Y){let we=document.querySelector(".confirm-button");window.innerWidth<dn.desktopMinWidth?we.style.display="none":we.style.display="block"}Y=window.innerWidth};function fe(se,ae){let we=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&we[ae].click(),se.keyCode===h2&&we[Object.keys(l).length-1].focus(),se.keyCode===d2&&we[0].focus()}function Z(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const G=se=>N(se,event),J=(se,ae)=>fe(ae,[se]);function re(se){y=se,t(9,y)}function ce(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,fe,Z,d,g,p,v,C,y,n,a,r,h,N,V,E,D,O,z,Q,G,J,re,ce,ne,Pe]}class M2 extends Ft{constructor(e){super(),Mt(this,e,O2,E2,Vt,{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:F2}=wl;function U2(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 B2(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=Ne(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=ee(t,"click",Ot(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=[ee(a,"click",Ot(kt(i[3]))),ee(n,"mousedown",Ot(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function H2(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]?B2:U2}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=Se(),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=ee(F2,"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 W2(i,e,t){const n=Qt();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,N=!1,I=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:J=>{J&&Object.getOwnPropertyNames(J).forEach(re=>{re==="splitViewSettings"?t(1,C=J.splitViewSettings):re==="lastNode"?r=J.lastNode:re==="pathData"?a=J.pathData:re==="nodeParams"?o=J.nodeParams:re==="collapsed"?t(0,v=J.collapsed):re==="isDataPrepared"?t(8,y=J.isDataPrepared):re==="currentNode"?c=J.currentNode:re==="splitViewIframe"?d=J.splitViewIframe:re==="splitViewIframeData"?g=J.splitViewIframeData:re==="splitViewWC"?p=J.splitViewWC:re==="splitViewWCData"&&(b=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||_t.createAndSetView(V()):await _t.prepareSplitViewData(V(),m)},H=()=>{l.split=_t.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=_t.getDragger()},D=()=>{const J=_t.getDraggerBackdrop();J&&(J.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${_t.splitViewValues.top}px`),l.split.style.top=`${_t.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(J){if(Ee.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&_t.close(V()),J.data.msg==="luigi.navigation.splitview.collapse"&&z(),J.data.msg==="luigi.navigation.splitview.expand"&&Y(),J.data.msg==="luigi.navigation.splitview.resize")){const re=parseInt(J.data.data);if(_t.calculateAndSetSplitViewValues(re,_t.internalValues),v)return;D(),_t.sendMessageToClients("resize.ok",_t.splitViewValues.percent)}}rn(()=>{Q(),h=O.bind(this),qn.addEventListener("message",h)}),ea(()=>{E(),N!==y&&!v&&(N=y,D())}),ta(()=>{window.removeEventListener("message",h)});function z(){_t.collapse(V())}async function Y(){await _t.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const J=ie.getShellbarHeight();_t.internalValues.innerHeight=ie.getInnerHeight(),_t.internalValues.rightContentHeight=_t.internalValues.innerHeight-J,_t.internalValues.thresholdBottom=30,_t.internalValues.thresholdTop=J+30,_t.calculateAndSetSplitViewValues(_t.splitViewValues.percent,_t.internalValues),v||D()}function fe(J){let re=J.y,ce={};const ne=function(Je){const ye=re-Je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Ze=_t.internalValues.innerHeight-ze,De=_t.enforceTresholds(ze,Ze);ze<De.top||Ze<De.bottom||(ce=De,re=Je.y,l.draggable.style.top=`${ce.top}px`)},Pe=function(){if(se(),!ce.top||!ce.bottom||ce.top==_t.internalValues.m_pos_prev){_t.getDraggerBackdrop().style.display="none";return}_t.internalValues.m_pos_prev=ce.top,_t.splitViewValues=ce,D(),_t.sendMessageToClients("resize.ok",ce.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),_t.getDraggerBackdrop().style.display="block"}const Z=J=>{let re=_t.getDraggerButton();re&&(re.style.display=J?"block":"none"),re=_t.getCollapsedDraggerButton(),re&&(re.style.display=J?"block":"none")},G=J=>{Z(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,m=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,C=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,C,P,z,Y,Q,fe,G,y,m]}class fp extends Ft{constructor(e){super(),Mt(this,e,W2,H2,Vt,{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:G2,then:z2,catch:q2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=Se(),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)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function q2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function z2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=Se()},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=Ne(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 G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=Se()},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 J2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Ft{constructor(e){super(),Mt(this,e,J2,K2,Vt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ne(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 j2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=Se()},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 Y2(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 ii extends Ft{constructor(e){super(),Mt(this,e,Y2,j2,Vt,{node:0})}}function Q2(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,N=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),o=W(),c=k("span"),d=W(),g=k("ul"),N&&N.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(I,V){L(I,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),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Ot(kt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&_s(N,P,I,I[3],v?gs(P,I[3],V,null):ps(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&T(e),N&&N.d(I),C=!1,Qe(y)}}}function Z2(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=[Z2,Q2],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=Se()},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 $2(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 x2 extends Ft{constructor(e){super(),Mt(this,e,$2,X2,Vt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[96]=e[t][0],n[97]=e[t][1],n[99]=t,n}function Dc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[93]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[96]=e[t][0],n[97]=e[t][1],n[99]=t,n}function Bc(i,e,t){const n=i.slice();return n[100]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[100]=e[t],n}function eS(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-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},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=ee(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-1bekqg6"))&&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-1bekqg6"))&&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 tS(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[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),Hn(e,"width","var(--luigi__left-sidenav--width)"),Hn(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]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&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-1bekqg6")},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=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},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?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 nS(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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},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 iS(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-1bekqg6"),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-1bekqg6")&&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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ee(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=Wn(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},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=Wn(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&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),ht(a,c)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return c[97].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 rS(i){let e,t,n=Ve(i[97]),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=Se()},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[97]);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),ht(l,a)}}}function aS(i){let e,t,n=i[27](i[96])+"",l,r,a,o,c,h,d=i[10]&&i[97].metaInfo.icon&&Jc(i),g=Ve(i[97]),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=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[97],i[27](i[96]))),f(e,"data-testid",a=i[34](i[97].metaInfo,i[96])),f(e,"id","category_list_level1_"+i[99])},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[97].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[96])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[97],m[27](m[96]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[97].metaInfo,m[96])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[97]);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(),ht(p,m)}}}function sS(i){let e,t,n,l,r,a,o=i[27](i[96])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Y,Q,fe;function Z(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[97].metaInfo.icon)),l?_S:gS}let G=Z(i,[-1,-1,-1,-1]),J=G(i);function re(){return i[66](i[97])}function ce(){return i[67](i[97])}function ne(...ye){return i[68](i[97],...ye)}let Pe=Ve(i[97]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const ae=ye=>U(se[ye],1,1,()=>{se[ye]=null});let we=i[97].metaInfo&&i[97].metaInfo.label===i[8]&&ld(i);function Je(){return i[73](i[97])}return{c(){e=k("li"),t=k("div"),n=k("a"),J.c(),r=W(),a=k("span"),c=Ne(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),we&&we.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[97],i[27](i[96]))),f(n,"class",d="fd-nested-list__link "+(ln(i[97],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[99]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=ln(i[97],i[9])),f(C,"class",y=ln(i[97],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ln(i[97],i[9])),f(v,"title",N=i[41](i[97],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!ln(i[97],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[97].metaInfo,i[96])),Yt(e,"lui-item-expanded",ln(i[97],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),J.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 ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),we&&we.m(e,null),w(e,O),Y=!0,Q||(fe=[ee(n,"click",kt(re)),ee(v,"click",kt(ce)),ee(t,"keypress",ne),ee(e,"click",Ot(Je))],Q=!0)},p(ye,Le){if(i=ye,G===(G=Z(i,Le))&&J?J.p(i,Le):(J.d(1),J=G(i),J&&(J.c(),J.m(n,r))),(!Y||Le[0]&134225920)&&o!==(o=i[27](i[96])+"")&&Ae(c,o),(!Y||Le[0]&134225920&&h!==(h=i[35](i[97],i[27](i[96]))))&&f(n,"title",h),(!Y||Le[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[97],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Y||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Y||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Y||Le[0]&8704&&b!==(b=ln(i[97],i[9])))&&f(n,"aria-expanded",b),(!Y||Le[0]&8704&&y!==(y=ln(i[97],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Y||Le[0]&8704&&P!==(P=ln(i[97],i[9])))&&f(v,"aria-expanded",P),(!Y||Le[0]&8704&&N!==(N=i[41](i[97],i[9])))&&f(v,"title",N),(!Y||Le[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[97]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Ze=Oc(i,Pe,ze);se[ze]?(se[ze].p(Ze,Le),R(se[ze],1)):(se[ze]=id(Ze),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ve()}(!Y||Le[0]&8704&&H!==(H=!ln(i[97],i[9])))&&f(E,"aria-hidden",H),i[97].metaInfo&&i[97].metaInfo.label===i[8]?we?(we.p(i,Le),Le[0]&8448&&R(we,1)):(we=ld(i),we.c(),R(we,1),we.m(e,O)):we&&(be(),U(we,1,1,()=>{we=null}),ve()),(!Y||Le[0]&8192&&z!==(z=i[34](i[97].metaInfo,i[96])))&&f(e,"data-testid",z),(!Y||Le[0]&8704)&&Yt(e,"lui-item-expanded",ln(i[97],i[9]))},i(ye){if(!Y){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(we),Y=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(we),Y=!1},d(ye){ye&&T(e),J.d(),ht(se,ye),we&&we.d(),Q=!1,Qe(fe)}}}function Jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[97].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 oS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function uS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[97].metaInfo.icon?i[31](i[97].metaInfo.icon):"")+" svelte-1bekqg6"),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[97].metaInfo.icon?n[31](n[97].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function jc(i){let e,t,n=i[100].label&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Q,fe){return Q[100].icon?cS:fS}let V=I(i),E=V(i),H=i[100].statusBadge&&Qc(i),D=i[100].externalLink&&i[100].externalLink.url&&Zc(),O=i[100].badgeCounter&&Xc(i);function z(...Q){return i[74](i[100],...Q)}function Y(...Q){return i[75](i[100],...Q)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Ne(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[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[100])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[100],i[30](i[100]))),f(e,"aria-labelledby","category_list_level1_"+i[99])},m(Q,fe){L(Q,e,fe),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||(N=[ee(t,"click",z),ee(t,"keyup",function(){Si(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],P=!0)},p(Q,fe){i=Q,V===(V=I(i))&&E?E.p(i,fe):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||fe[0]&8192)&&r!==(r=i[30](i[100])+"")&&Ae(a,r),i[100].statusBadge?H?(H.p(i,fe),fe[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||fe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[100].externalLink&&i[100].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[100].badgeCounter?O?(O.p(i,fe),fe[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||fe[0]&8192&&g!==(g=i[33](i[100])))&&f(t,"href",g),(!y||fe[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||fe[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||fe[0]&8192&&m!==(m=le.getTestId(i[100])))&&f(t,"data-testid",m),(!y||fe[0]&8192&&C!==(C=i[35](i[100],i[30](i[100]))))&&f(e,"title",C)},i(Q){y||(R(H),R(O),y=!0)},o(Q){U(H),U(O),y=!1},d(Q){Q&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(N)}}}function fS(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=Ne(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 cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 dS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function hS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[100].icon)+" svelte-1bekqg6")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[100].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new ii({props:{node:i[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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 gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[97].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.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[97].metaInfo.icon)+" "+(i[6]&&!i[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),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[97].metaInfo.icon)+" "+(n[6]&&!n[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[100].label&&ed(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ii({props:{node:i[100]}});let I=i[100].externalLink&&i[100].externalLink.url&&td(),V=i[100].badgeCounter&&nd(i);function E(...D){return i[69](i[100],...D)}function H(...D){return i[70](i[100],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[100])),f(t,"title",v=i[35](i[100],i[30](i[100]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[99])},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),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){Si(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[100])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[100]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[100].externalLink&&i[100].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[100].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[100])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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[100])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[100],i[30](i[100]))))&&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),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[96])+"",r,a,o,c,h=Ve(i[97]),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=Ne(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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},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[96])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[97]);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),ht(d,p)}}}function rd(i){let e,t,n=i[100].label&&ad(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ii({props:{node:i[100]}});let I=i[100].externalLink&&i[100].externalLink.url&&sd(),V=i[100].badgeCounter&&od(i);function E(...D){return i[71](i[100],...D)}function H(...D){return i[72](i[100],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[100])),f(t,"class",p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[100])),f(t,"title",v=i[35](i[100],i[30](i[100]))),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),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){Si(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[100])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[100]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[100].externalLink&&i[100].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[100].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[100])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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[100])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[100],i[30](i[100]))))&&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),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&rd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100].label&&cd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Q,fe){return Q[100].icon?mS:pS}let E=V(i),H=E(i);c=new ii({props:{node:i[100]}});let D=i[100].externalLink&&i[100].externalLink.url&&dd(),O=i[100].badgeCounter&&hd(i);function z(...Q){return i[64](i[100],...Q)}function Y(...Q){return i[65](i[100],...Q)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Ne(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[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[100])),f(t,"title",b=i[35](i[100],i[30](i[100]))),f(t,"class",m="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[100])),f(e,"class","fd-nested-list__item")},m(Q,fe){L(Q,e,fe),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,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){Si(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],N=!0)},p(Q,fe){i=Q,E===(E=V(i))&&H?H.p(i,fe):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||fe[0]&8192)&&r!==(r=i[30](i[100])+"")&&Ae(a,r);const Z={};fe[0]&8192&&(Z.node=i[100]),c.$set(Z),(!P||fe[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[100].externalLink&&i[100].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[100].badgeCounter?O?(O.p(i,fe),fe[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||fe[0]&8192&&p!==(p=i[33](i[100])))&&f(t,"href",p),(!P||fe[0]&8192&&b!==(b=i[35](i[100],i[30](i[100]))))&&f(t,"title",b),(!P||fe[0]&8320&&m!==(m="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||fe[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||fe[0]&8192&&C!==(C=le.getTestId(i[100])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(O),P=!0)},o(Q){U(c.$$.fragment,Q),U(O),P=!1},d(Q){Q&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),N=!1,Qe(I)}}}function pS(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 mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 bS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!nt(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function vS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[100].icon)+" svelte-1bekqg6"),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[100].icon)+" svelte-1bekqg6")&&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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[100]),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[100].hideFromNav&&fd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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=[rS,lS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[96]==="undefined"||d[96].startsWith(d[15]))),e?0:(t==null&&(t=d[97].filter(FS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},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=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},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"?kS:wS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 wS(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-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[ee(e,"click",i[77]),ee(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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function kS(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-1bekqg6"),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-1bekqg6")},m(a,o){L(a,e,o),w(e,t),l||(r=ee(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-1bekqg6")&&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-1bekqg6")},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=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),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-1bekqg6")},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?CS:SS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 SS(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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},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 CS(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-1bekqg6"),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-1bekqg6")&&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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ee(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-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){L(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N]&&v[N].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=[ee(c,"click",i[42]),ee(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let N;for(N=0;N<m.length;N+=1){const I=Fc(y,m,N);v[N]?(v[N].p(I,P),R(v[N],1)):(v[N]=Bd(I),v[N].c(),R(v[N],1),v[N].m(t,n))}for(be(),N=m.length;N<v.length;N+=1)C(N);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),ht(v,y),i[62](null),p=!1,Qe(b)}}}function yS(i){let e,t,n,l,r,a,o=i[27](i[96])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(G,J){return J[0]&16384&&(l=null),l==null&&(l=!!G[32](G[97].metaInfo.icon)),l?NS:IS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[53](i[97])}function Y(){return i[54](i[97])}function Q(...G){return i[55](i[97],...G)}function fe(...G){return i[56](i[97],...G)}let Z=(!i[6]||i[97].metaInfo&&i[97].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=Ne(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Z&&Z.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-1bekqg6"),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[97],i[27](i[96]))),f(t,"aria-expanded",v=i[6]?i[97].metaInfo&&i[97].metaInfo.label===i[8]:ln(i[97],i[9])),f(t,"aria-selected",C=i[6]&&i[97].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[97].metaInfo,i[96]))},m(G,J){L(G,e,J),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),Z&&Z.m(e,null),I=!0,V||(E=[ee(n,"click",kt(z)),ee(n,"keypress",kt(Y)),ee(n,"keypress",kt(Q)),ee(t,"click",Ot(fe))],V=!0)},p(G,J){i=G,D===(D=H(i,J))&&O?O.p(i,J):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||J[0]&134234112)&&o!==(o=i[27](i[96])+"")&&Ae(c,o),(!I||J[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||J[0]&134234112&&m!==(m=i[35](i[97],i[27](i[96]))))&&f(t,"title",m),(!I||J[0]&17216&&v!==(v=i[6]?i[97].metaInfo&&i[97].metaInfo.label===i[8]:ln(i[97],i[9])))&&f(t,"aria-expanded",v),(!I||J[0]&16576&&C!==(C=i[6]&&i[97].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[97].metaInfo&&i[97].metaInfo.label===i[8]?Z?(Z.p(i,J),J[0]&16704&&R(Z,1)):(Z=Cd(i),Z.c(),R(Z,1),Z.m(e,null)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),(!I||J[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||J[0]&16384&&N!==(N=i[34](i[97].metaInfo,i[96])))&&f(e,"data-testid",N)},i(G){I||(R(Z),I=!0)},o(G){U(Z),I=!1},d(G){G&&T(e),O.d(),Z&&Z.d(),V=!1,Qe(E)}}}function PS(i){let e,t,n=Ve(i[97]),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=Se()},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[97]);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),ht(l,a)}}}function IS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),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[97].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[97].metaInfo.altText?r[97].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function NS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[97].metaInfo.icon)+" "+(i[6]&&!i[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),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[97].metaInfo.icon)+" "+(n[6]&&!n[97].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&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[97]),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-1bekqg6")},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[97]);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-1bekqg6"))&&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(),ht(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[96])+"",a,o,c,h,d,g=i[10]&&i[97].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Ne(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-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),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[97],i[27](i[96]))),f(e,"data-testid",d=i[34](i[97].metaInfo,i[96]))},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[97].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[96])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[97],p[27](p[96])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[97].metaInfo,p[96]))&&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[97].metaInfo.icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[97].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[97].metaInfo.altText?i[97].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),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[97].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[97].metaInfo.altText?r[97].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[97].metaInfo.icon)+" svelte-1bekqg6"),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[97].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[100].label&&Nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E=i[30](i[100])+"",H,D,O,z,Y,Q,fe,Z,G,J,re,ce,ne,Pe;c=new ii({props:{node:i[100]}});let se=i[100].externalLink&&i[100].externalLink.url&&Td(),ae=i[100].badgeCounter&&Ld(i);function we(...De){return i[57](i[100],...De)}function Je(...De){return i[58](i[100],...De)}O=new ii({props:{node:i[100]}});let ye=i[100].externalLink&&i[100].externalLink.url&&Ad(),Le=i[100].badgeCounter&&Ed(i);function ze(...De){return i[59](i[100],...De)}function Ze(...De){return i[60](i[100],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),N=k("li"),I=k("a"),V=k("span"),H=Ne(E),D=W(),Be(O.$$.fragment),Y=W(),ye&&ye.c(),Q=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[100])),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[100],i[30](i[100]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[100]===i[7]),f(t,"data-testid",y=le.getTestId(i[100])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",fe=i[33](i[100])),f(I,"class",Z="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",J=le.getTestId(i[100])),f(I,"title",re=i[35](i[100],i[30](i[100]))),Hn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[99])},m(De,et){L(De,e,et),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),ae&&ae.m(n,null),L(De,P,et),L(De,N,et),w(N,I),w(I,V),w(V,H),w(V,D),Me(O,V,null),w(I,Y),ye&&ye.m(I,null),w(I,Q),Le&&Le.m(I,null),ce=!0,ne||(Pe=[ee(n,"click",we),ee(n,"keyup",function(){Si(i[24]?void 0:Je)&&(i[24]?void 0:Je).apply(this,arguments)}),ee(I,"click",ze),ee(I,"keyup",function(){Si(i[24]?void 0:Ze)&&(i[24]?void 0:Ze).apply(this,arguments)})],ne=!0)},p(De,et){i=De,(!ce||et[0]&16384)&&r!==(r=i[30](i[100])+"")&&Ae(a,r);const it={};et[0]&16384&&(it.node=i[100]),c.$set(it),(!ce||et[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[100].externalLink&&i[100].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[100].badgeCounter?ae?(ae.p(i,et),et[0]&16384&&R(ae,1)):(ae=Ld(i),ae.c(),R(ae,1),ae.m(n,null)):ae&&(be(),U(ae,1,1,()=>{ae=null}),ve()),(!ce||et[0]&16384&&m!==(m=i[33](i[100])))&&f(n,"href",m),(!ce||et[0]&16384&&v!==(v=i[35](i[100],i[30](i[100]))))&&f(t,"title",v),(!ce||et[0]&16512&&C!==(C=i[100]===i[7]))&&f(t,"aria-selected",C),(!ce||et[0]&16384&&y!==(y=le.getTestId(i[100])))&&f(t,"data-testid",y),(!ce||et[0]&16384)&&E!==(E=i[30](i[100])+"")&&Ae(H,E);const de={};et[0]&16384&&(de.node=i[100]),O.$set(de),(!ce||et[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[100].externalLink&&i[100].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(I,Q)):ye&&(ye.d(1),ye=null),i[100].badgeCounter?Le?(Le.p(i,et),et[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(I,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ce||et[0]&16384&&fe!==(fe=i[33](i[100])))&&f(I,"href",fe),(!ce||et[0]&16512&&Z!==(Z="fd-nested-list__link "+(i[100]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",Z),(!ce||et[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!ce||et[0]&16384&&J!==(J=le.getTestId(i[100])))&&f(I,"data-testid",J),(!ce||et[0]&16384&&re!==(re=i[35](i[100],i[30](i[100]))))&&f(I,"title",re)},i(De){ce||(R(c.$$.fragment,De),R(ae),R(O.$$.fragment,De),R(Le),ce=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ce=!1},d(De){De&&(T(e),T(P),T(N)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100].hideFromNav&&Id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100].label&&Vd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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[100])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H;function D(G,J){return G[100].icon?ES:AS}let O=D(i),z=O(i);h=new ii({props:{node:i[100]}});let Y=i[100].externalLink&&i[100].externalLink.url&&Od(),Q=i[100].badgeCounter&&Md(i);function fe(...G){return i[50](i[100],...G)}function Z(...G){return i[51](i[100],...G)}return{c(){e=k("li"),t=k("div"),n=k("a"),z.c(),l=W(),r=k("span"),o=Ne(a),c=W(),Be(h.$$.fragment),g=W(),Y&&Y.c(),p=W(),Q&&Q.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[100]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[100])),f(n,"title",y=i[35](i[100],i[30](i[100]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=le.getTestId(i[100])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[100]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,J){L(G,e,J),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Y&&Y.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",fe),ee(n,"keyup",function(){Si(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)}),ee(n,"mouseup",i[52])],E=!0)},p(G,J){i=G,O===(O=D(i))&&z?z.p(i,J):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||J[0]&16384)&&a!==(a=i[30](i[100])+"")&&Ae(o,a);const re={};J[0]&16384&&(re.node=i[100]),h.$set(re),(!V||J[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[100].statusBadge&&i[100].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[100].externalLink&&i[100].externalLink.url?Y||(Y=Od(),Y.c(),Y.m(n,p)):Y&&(Y.d(1),Y=null),i[100].badgeCounter?Q?(Q.p(i,J),J[0]&16384&&R(Q,1)):(Q=Md(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),(!V||J[0]&16512&&v!==(v="fd-navigation__link "+(i[100]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||J[0]&16384&&C!==(C=i[33](i[100])))&&f(n,"href",C),(!V||J[0]&16384&&y!==(y=i[35](i[100],i[30](i[100]))))&&f(n,"title",y),(!V||J[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||J[0]&16384&&N!==(N=le.getTestId(i[100])))&&f(n,"data-testid",N),(!V||J[0]&16512&&I!==(I=i[100]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(R(h.$$.fragment,G),R(Q),V=!0)},o(G){U(h.$$.fragment,G),U(Q),V=!1},d(G){G&&T(e),z.d(),Fe(h),Y&&Y.d(),Q&&Q.d(),E=!1,Qe(H)}}}function AS(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 ES(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[100].icon)),e?DS:RS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 RS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),nt(t.src,n=i[100].icon)||f(t,"src",n),f(t,"alt",l=i[100].altText?i[100].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!nt(t.src,n=r[100].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[100].altText?r[100].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function DS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[100].icon)+" svelte-1bekqg6"),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[100].icon)+" svelte-1bekqg6")&&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[100]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[100]),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[100].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[100].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=[PS,yS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[96]==="undefined"||d[96].startsWith(d[15]))),e?0:(t==null&&(t=d[97].filter(MS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},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 VS(i){let e,t,n=Ve(i[93].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=Se()},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[93].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),ht(l,a)}}}function Bd(i){let e,t;return e=new x2({props:{navGroup:i[93],expanded:i[93].groupEntry&&ln(i[93].groupEntry[1],i[9]),$$slots:{default:[VS]},$$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[93]),l[0]&16896&&(r.expanded=n[93].groupEntry&&ln(n[93].groupEntry[1],n[9])),l[0]&151046080|l[3]&2097152&&(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 OS(i){let e,t,n,l,r,a;const o=[tS,eS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[ee(ns,"resize",i[18]),ee(ns,"click",i[22]),ee(ns,"blur",i[22]),ee(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,Qe(a)}}}function ln(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 MS=i=>!i.hideFromNav&&i.label,FS=i=>!i.hideFromNav&&i.label;function US(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:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async ke=>{if(ke==="pathData")t(5,p=K.pathData);else if(ke==="context")D=K.context;else if(ke==="children")t(0,a=K.children);else if(ke==="selectedNode")t(7,C=K.selectedNode);else if(ke==="hasCategoriesWithIcon")t(10,N=K.hasCategoriesWithIcon);else if(ke==="navParent"){t(12,E=void 0);let tt=K.navParent;if(t(45,H=tt),tt&&tt.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let je=tt.navHeader,bt=tt;if(je==="inherit"){for(bt=tt.parent;bt&&bt.navHeader==="inherit";)bt=bt.parent;je=bt?bt.navHeader:void 0}if(je instanceof Function){t(12,E={});let gt=je(le.stripNode(tt),le.stripNode(bt),D);gt instanceof Promise?gt.then(Ut=>{t(12,E=Ut)}):t(12,E=gt)}else if(je==="auto")t(12,E={label:tt.label,icon:tt.icon});else if(je&&je.useTitleResolver&&bt.titleResolver){bt.titleResolver.prerenderFallback?t(12,E={...je,label:bt.titleResolver.fallbackTitle||"",icon:bt.titleResolver.fallbackIcon}):t(12,E=je);const gt=me.mapPathToNode(ut.getCurrentPath(),bt);qt.extractDataFromPath(gt).then(Ut=>{const $t=me.substituteDynamicParamsInObject(Object.assign({},Ut.pathData.context,bt.context),Ut.pathData.pathParams);le.fetchNodeTitleData(bt,$t).then(yn=>{t(12,E={...je,...yn})}).catch(yn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...je,label:tt.label,icon:tt.icon})})})}else t(12,E=await et(je,bt))}}}),t(44,I=le.getSideNavAccordionMode(C)))}},r=Qt();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:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Y=yt("store"),Q=yt("getTranslation");Ci(i,Q,K=>t(27,n=K));let fe=!1,Z=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),G,J=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",re;const ce=K=>le.getNodeLabel(K),ne=async()=>{const K=l.get(),ke=await qt.getLeftNavData({...K},K);ke&&(l.set(ke),O=p,window.LEFTNAVDATA=ke.children)};rn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,fe=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),bn.doOnStoreChange(Y,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),bn.doOnStoreChange(Y,()=>{ne()},["navigation.viewgroupdata"]);let K=wi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),wi.onValueChanged(ke=>{t(6,v=ke.isSemiCollapsed)}),qn.addEventListener("message",ke=>{ke.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const Pe=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ke=G.querySelector(".fd-navigation__list"),tt=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(je=>{je.navGroupId?ke.querySelector(`[navGroupId="${je.navGroupId}"]`).appendChild(je):ke.insertBefore(je,tt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),ke=G.querySelector(".lui-moreItems"),tt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&tt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let je=tt.length-1;je>0&&(lastNode=tt[je-1],tt[je].navGroupId=tt[je].parentNode.getAttribute("navGroupId"),ke.insertBefore(tt[je],ke.firstChild),!(K.clientHeight>0));je--);}},ae=()=>{const K=ke=>{ke&&de(ke)};E!=null&&E.renderer&&re&&(E.clearBeforeRender&&t(26,re.innerHTML="",re),E.renderer(re,H,K,{...E,context:p._context}))};ea(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ke,tt)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{Pe(),se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):Pe(),ae()}),Qn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function we(K){if(Z){const ke={},tt=[],je=J;let bt=[];return K.forEach(gt=>{if(gt[0].startsWith(m))bt.push({isSingleEntry:!0,entries:[gt]});else{const Ut=gt[1].metaInfo.categoryUid;if(Ut&&Ut.indexOf(je)>0)tt.push(gt);else{const $t=gt[1].metaInfo.isGroup;ke[Ut]={isSingleEntry:!$t,title:n(gt[1].metaInfo.label),groupEntry:gt,uid:Ut,entries:[$t?["undefined",gt[1]]:gt]},bt.push(ke[Ut]),!le.isCollapsedSuperCategory(Ut)&&$t&&zt(gt[1],!0)}}}),tt.forEach(gt=>{const Ut=gt[1].metaInfo.categoryUid.split(je)[0],$t=ke[Ut];$t&&($t.isSingleEntry&&($t.isSingleEntry=!1,$t.entries=[["undefined",$t.groupEntry[1]]]),$t.entries.push(gt))}),bt.filter(gt=>{if(gt.entries&&gt.entries.length>0)for(let Ut=0;Ut<gt.entries.length;Ut++){const[$t,yn]=gt.entries[Ut];if(yn.filter(_i=>!_i.hideFromNav&&_i.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:Je}=e,{sortedVerticalNavGroups:ye}=e;function Le(K){return le.renderIconClassName(K)}function ze(K){return le.isOpenUIiconName(K)}function Ze(K){return me.getNodeHref(K,b)}function De(K,ke){return K&&K.testId?K.testId:le.prepareForTests(ke||K.label)}async function et(K,ke){const tt=me.mapPathToNode(ut.getCurrentPath(),ke),bt=(await qt.extractDataFromPath(tt)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,bt)}function it(K,ke){return le.generateTooltipText(K,ke)}function de(K){r("handleClick",{node:K})}function lt(K,ke){if(wi.getCollapsed()){let tt,je=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?tt=K.metaInfo.label:tt=K.category&&K.category.label||K.category,je&&!je.classList.contains("isBlocked")&&(je.className+=" isBlocked"),tt===y){t(8,y=wi.closePopupMenu(y));return}t(8,y=tt),je?Pt(ke):Z&&(Wo(ke),ke.closest(".lui-moreItems")||Te())}}function Pt(K){const ke=K.closest(".fd-nested-list__item"),tt=ke.offsetTop,je=Yi.getShellbar().offsetHeight;let bt;Yi.isCustomLuigiContainer()?bt=Yi.getCustomLuigiContainer().clientHeight:bt=window.innerHeight,setTimeout(()=>{const gt=ke.getElementsByClassName("lui-flyout-sublist")[0],Ut=K.closest(".lui-fd-side-nav-wrapper").scrollTop,$t=tt+je-Ut,yn=bt-tt-ke.offsetHeight+Ut-je;$t+gt.offsetHeight>=bt?(gt.style.bottom=yn+"px",gt.className+=" has-bottom-position"):gt.style.top=$t-je+"px"})}function an(){if(h){let K=wi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function En(K){if(K.code==="ArrowRight"){const tt=Ee.getCurrentMicrofrontendIframe();tt&&tt.contentWindow&&tt.contentWindow.focus()}}function on(K){let ke=H?H.parent:void 0;for(;ke;){if(ke.pathSegment&&ke.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ke});return}ke=ke.parent}console.warn('Could not resolve "up"-node, redirecting to root'),rp.navigate("/")}function zt(K,ke){wi.getCollapsed()||t(9,P=le.storeExpandedState(K.metaInfo.categoryUid,ke,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function ot(){t(8,y=wi.closePopupMenu(y)),Te()}function at(K){K&&K.code==="Escape"&&ot()}function Zt(){t(6,v=wi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),pn()}function Xt(K){const ke=K.code;(ke==="Enter"||ke==="Space")&&Zt()}function Rn(K,ke){(K.code==="Enter"||K==="Space")&&lt(ke,K.currentTarget)}function Rt(K,ke){K.keyCode===bl&&le.handleNavAnchorClickedWithoutMetaKey(K)&&de(ke)}function pn(){if(!le.getBurgerTooltipConfig())return;const[K,ke]=le.getBurgerTooltipConfig(),tt=document.body.classList.contains("lui-semiCollapsible");K&&ke&&tt&&t(11,V=document.body.classList.contains("semiCollapsed")?K:ke)}function li(K,ke){return ln(K,ke)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Jt(K){if(!K)return;const ke=K.target.parentElement;ke.getAttribute("aria-expanded")==="true"?ke.setAttribute("aria-expanded","false"):(ot(),ke.setAttribute("aria-expanded","true")),K.stopPropagation()}function Cn(K){Ye[K?"unshift":"push"](()=>{re=K,t(26,re)})}const yi=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},Pi=(K,ke)=>Rt(ke,K),vn=K=>{v&&K.target.blur()},Ii=K=>zt(K,!ln(K,P)),Ni=K=>zt(K,!ln(K,P)),Ti=(K,ke)=>Rn(ke,K),Li=(K,ke)=>lt(K,ke.currentTarget),Ai=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},Sl=(K,ke)=>Rt(ke,K),Cl=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},yl=(K,ke)=>Rt(ke,K),Ei=K=>{(K.code==="Enter"||K.code==="Space")&&Jt(K)};function Qi(K){Ye[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Zi(K){Ye[K?"unshift":"push"](()=>{re=K,t(26,re)})}const di=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},Pl=(K,ke)=>Rt(ke,K),Il=K=>zt(K,!ln(K,P)),Xi=K=>zt(K,!ln(K,P)),Nl=(K,ke)=>Rn(ke,K),Tl=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},Ll=(K,ke)=>Rt(ke,K),Ri=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},Al=(K,ke)=>Rt(ke,K),ri=K=>lt(K,event.currentTarget),Di=(K,ke)=>{le.handleNavAnchorClickedWithoutMetaKey(ke)&&de(K)},hi=(K,ke)=>Rt(ke,K),Vi=K=>Zt(),gi=K=>Zt(),$i=K=>Xt(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,N=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,I=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,Je=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,ye=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((ke,tt)=>ke[1].metaInfo.order-tt[1].metaInfo.order),t(13,Je=K),t(14,ye=we(K))}},[a,o,c,d,g,p,v,C,y,P,N,V,E,Je,ye,m,de,lt,an,En,on,zt,ot,z,fe,G,re,n,Q,Z,ce,Le,ze,Ze,De,it,at,Zt,Xt,Rn,Rt,li,Jt,h,I,H,b,Pt,Wo,Cn,yi,Pi,vn,Ii,Ni,Ti,Li,Ai,Sl,Cl,yl,Ei,Qi,Zi,di,Pl,Il,Xi,Nl,Tl,Ll,Ri,Al,ri,Di,hi,Vi,gi,$i]}class cp extends Ft{constructor(e){super(),Mt(this,e,US,OS,Vt,{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 BS=i=>{bn.doOnStoreChange(i.store,()=>{const e=te.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}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),dp(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"])},HS=(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||!HS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},dp=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=Et.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[45]=e[t],n[47]=t,n}function qd(i,e,t){const n=i.slice();return n[45]=e[t],n}function WS(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=ee(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 qS(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=ee(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,n,l=(!i[3]||i[4])&&Jd(i),r=i[3]&&jd(i),a=i[12]&&i[5]&&ih(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},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[3]||o[4]?l?l.p(o,c):(l=Jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=ih(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 Jd(i){let e;function t(r,a){return r[14]?GS:zS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 zS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=k("span"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function GS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"class",r="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(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&T(e),a=!1,o()}}}function jd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?JS:KS}let b=p(i),m=b(i),v=i[6]&&i[7]&&xd(i),C=i[9]&&i[9].length>0&&eh(i);return{c(){e=k("div"),t=k("div"),m.c(),n=W(),l=k("div"),r=k("nav"),a=k("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){L(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Ot(ZS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=eh(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&T(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function KS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Ne(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=ee(e,"click",Ot(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 JS(i){let e,t,n,l=i[9]&&i[9].length===1&&Yd(i),r=i[9]&&i[9].length>1&&Qd(i),a=i[9].length>1&&!i[7]&&$d(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},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=Yd(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=Qd(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=$d(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 Yd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Ae(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&T(e)}}}function Qd(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=Se()},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),ht(n,l)}}}function Zd(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=Ne(n),r=W(),a=k("i"),o=W(),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,"href",c=i[24](i[45])),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=ee(e,"click",kt(i[34])),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[45]))&&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[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Zd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Zd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Ne(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,"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=ee(e,"click",kt(i[35])),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 xd(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=Ne(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=ee(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 eh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},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]=nh(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),ht(n,l)}}}function jS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(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[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),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=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function YS(i){let e,t=i[18]&&th(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function th(i){let e,t,n=i[21](i[45],i[18],i[47])+"",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[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&T(e)}}}function nh(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 YS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return jS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Se()},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 ih(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Ne(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 QS(i){let e,t;function n(o,c){return o[14]?qS:WS}let l=n(i),r=l(i),a=i[2]&&Kd(i);return{c(){r.c(),e=W(),a&&a.c(),t=Se()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:Ue,o:Ue,d(o){o&&(T(e),T(t)),r.d(o),a&&a.d(o)}}}const ZS=()=>{};function XS(i,e,t){let n;const l=Qt();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:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,E,H,D=yt("getUnsavedChangesModalPromise"),O=yt("getTranslation");Ci(i,O,de=>t(19,n=de));let z=yt("store");const Y={closeDropDown:()=>{re("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(lt=>{lt==="pathData"?t(26,I=de.pathData):lt==="appSwitcherItems"?t(9,v=de.appSwitcherItems):lt==="itemRenderer"?t(10,C=de.itemRenderer):lt==="pathParams"?t(11,y=de.pathParams):lt==="selectedItem"?t(7,b=de.selectedItem):lt==="title"?t(2,o=de.title):lt==="defaultSubTitle"?t(25,N=de.defaultSubTitle):lt==="subTitle"?t(12,P=de.subTitle):lt==="defaultTitle"?t(8,m=de.defaultTitle):lt==="subTitle"?t(12,P=de.subTitle):lt==="showMainAppEntry"?t(6,p=de.showMainAppEntry):lt==="hasApps"?t(3,c=de.hasApps):lt==="keepMainTitle"?t(4,h=de.keepMainTitle):lt==="showSubTitle"?t(5,d=de.showSubTitle):lt==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});rn(()=>{BS(Q())}),Qn(()=>{(!H||H!=I)&&(dp(Q()),H=I)});function fe(de,lt,Pt){return setTimeout(()=>{lt&&C(de,lt.children[Pt],Y)}),""}function Z(de){D().then(()=>{ut.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{ut.navigateTo("/")},()=>{})}function J(de){l("handleClick",{node:de}),re("appSwitcherPopover")}function re(de){l("toggleDropdownState",{name:de})}function ce(de){return de.testId?de.testId:le.prepareForTests(de.title||de)}function ne(de,lt){if(de.link){const Pt=me.applyPathParams(de.link,lt);if(Pt.indexOf(":")!==0&&Pt.indexOf("/:")===-1)return!0}return!1}function Pe(de){return me.getNodeHref(de)}function se(de){Ye[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ae=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")};function we(de){Ye[de?"unshift":"push"](()=>{r=de,t(0,r)})}const Je=()=>Z("/"),ye=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")},Le=()=>Z("/"),ze=()=>re("appSwitcherPopover"),Ze=()=>re("appSwitcherPopover"),De=()=>re("appSwitcherPopover"),et=(de,lt)=>{le.handleNavAnchorClickedWithoutMetaKey(lt)&&Z(de.link)};function it(de){Ye[de?"unshift":"push"](()=>{E=de,t(18,E)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,N=de.defaultSubTitle),"pathData"in de&&t(26,I=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Z,G,re,E,n,O,fe,ce,ne,Pe,N,I,J,se,ae,we,Je,ye,Le,ze,Ze,De,et,it]}class $S extends Ft{constructor(e){super(),Mt(this,e,XS,QS,Vt,{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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a,o=i[0]&&ah(i),c=(i[10]||i[11])&&hh(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=ah(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=hh(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 ah(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?eC:xS}let h=c(i),d=h(i),g=i[7].name&&sh(i),p=i[7].description&&oh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=fh(lh(i,b,C));let v=i[12]&&ch(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=sh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=oh(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 N=lh(C,b,P);m[P]?m[P].p(N,y):(m[P]=fh(N),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=ch(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(),ht(m,C),v&&v.d()}}}function xS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ne(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 eC(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"),Hn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&Hn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function sh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ne(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 oh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ne(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 uh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 tC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Hn(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&&Hn(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 nC(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 fh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&uh(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=Ne(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=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=uh(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,Qe(d)}}}function ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&dh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Ne(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=[ee(e,"click",kt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=dh(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,Qe(c)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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,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 lC(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 hh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&gh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},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=gh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(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 gh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Ne(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=ee(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 _h(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=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function rC(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Se()},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=rh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function aC(i,e,t){let n;const l=Qt();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");Ci(i,C,ne=>t(13,n=ne));let y=yt("getUnsavedChangesModalPromise"),P=yt("openViewInModal");rn(async()=>{ki.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){hn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...we}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ut.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){na.openUserSettings(),l("toggleDropdownState")}function fe(){hn.logout(),l("toggleDropdownState")}function Z({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const J=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Y,Q,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,J,re,ce]}class sC extends Ft{constructor(e){super(),Mt(this,e,aC,rC,Vt,{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 ph(i,e,t){const n=i.slice();return n[34]=e[t],n}function mh(i){let e,t,n,l,r,a=i[0]&&bh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=wh(ph(i,o,g));let h=i[12]&&kh(i),d=(i[10]||i[11])&&Ch(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=bh(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=ph(g,o,b);c[b]?c[b].p(m,p):(c[b]=wh(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=kh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),ht(c,g),h&&h.d(),d&&d.d()}}}function bh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ne(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 vh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 oC(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 uC(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 wh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&vh(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=Ne(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=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=vh(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,Qe(d)}}}function kh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&Sh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Ne(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=[ee(e,"click",kt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=Sh(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,Qe(h)}}}function Sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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[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 cC(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 Ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&yh(i),l=i[10]&&!i[8]&&Ih(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},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=yh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ih(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 yh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ph(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Ne(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=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ph(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 Ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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].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 hC(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 Ih(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=ee(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function gC(i){let e,t=!i[1]&&mh(i);return{c(){t&&t.c(),e=Se()},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=mh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function _C(i,e,t){let n;const l=Qt();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");Ci(i,C,ne=>t(13,n=ne));let y=yt("getUnsavedChangesModalPromise"),P=yt("openViewInModal");rn(async()=>{ki.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){hn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...we}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ut.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){na.openUserSettings(),l("toggleDropdownState")}function fe(){hn.logout()}function Z({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const J=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Y,Q,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,J,re,ce]}class hp extends Ft{constructor(e){super(),Mt(this,e,_C,gC,Vt,{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 Nh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Th(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Eh(Nh(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=Se()},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=Nh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Eh(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),ht(l,a)}}}function Lh(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 N(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?mC:pC}let I=N(i,-1),V=I(i);r=new An({props:{node:i[11]}});let E=p&&Ah(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=Ne(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=ee(e,"click",H),y=!0)},p(D,O){i=D,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!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=Ah(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 pC(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 mC(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 Ah(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Ne(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 Eh(i){let e,t,n=i[11].label&&Lh(i);return{c(){n&&n.c(),e=Se()},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=Lh(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 bC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Th(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Ne(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),I&&I.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),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Ot(vC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?I?(I.p(V,E),E&2&&R(I,1)):(I=Th(V),I.c(),R(I,1),I.m(g,null)):I&&(be(),U(I,1,1,()=>{I=null}),ve())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&T(e),I&&I.d(),P=!1,Qe(N)}}}const vC=()=>{};function wC(i,e,t){const n=Qt();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){Ji.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 gp extends Ft{constructor(e){super(),Mt(this,e,wC,bC,Vt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:kC}=wl;function Rh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Dh(i){let e,t,n,l=i[0]&&Vh(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=Vh(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 Vh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mh(Rh(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=Se()},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=Rh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Mh(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),ht(l,a)}}}function Oh(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?CC:SC}let P=y(i,-1),N=P(i);a=new An({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Ne(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),N.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=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.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),N.d(),Fe(a),v=!1,Qe(C)}}}function SC(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 CC(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 Mh(i){let e,t,n=i[7].label&&Oh(i);return{c(){n&&n.c(),e=Se()},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=Oh(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 Fh(i){let e,t;return e=new gp({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 yC(i){let e,t,n,l,r,a=!i[1]&&Dh(i),o=i[1]&&Fh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Se()},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=ee(kC,"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=Dh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Fh(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 PC(i,e,t){const n=Qt();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=>{}});rn(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 ut.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 Et.getTranslation(E.label)}function N(E){return me.getNodeHref(E,o)}const I=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,N,I,V]}class _p extends Ft{constructor(e){super(),Mt(this,e,PC,yC,Vt,{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 Sn={_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(ut.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=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=Sn._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),!!Sn.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=Sn.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 Sn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await Sn.generateSwitcherNav(e,t)}};function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(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--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=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=zh(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),ht(n,l)}}}function qh(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=Ne(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=[ee(t,"click",kt(RC)),ee(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,Qe(d)}}}function zh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&qh(i);return{c(){n&&n.c(),t=Se()},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=qh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function Gh(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 Kh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Bh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},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=Bh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(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),ht(n,l)}}}function IC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function NC(i){let e,t,n,l,r;function a(d,g){return d[2]?LC:TC}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=ee(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 TC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Ne(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=ee(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 LC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=Se(),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 AC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Jh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:AC,then:NC,catch:IC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Se(),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)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function jh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Qh(Uh(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=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qh(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),ht(n,l)}}}function Yh(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=Ne(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=[ee(t,"click",i[17]),ee(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,Qe(d)}}}function Qh(i){let e,t=i[20].position==="bottom"&&Yh(i);return{c(){t&&t.c(),e=Se()},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=Yh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function EC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Wh(i),c=i[3]&&i[3].length===0&&i[10]&&Gh(),h=i[3]&&i[3].length&&Kh(i),d=i[0]&&i[0].length&&jh(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=Wh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Gh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Kh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=jh(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 RC=()=>{};function DC(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=Qt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>N(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,N,n,I,V,E,H,D]}class pp extends Ft{constructor(e){super(),Mt(this,e,DC,EC,Vt,{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 Zh(i){let e,t,n,l=!i[9]&&Xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&$h(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=$h(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?OC:VC}let p=g(i),b=p(i);return a=new pp({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=ee(n,"click",Ot(KC)),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 VC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?FC:MC}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=ee(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 OC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?WC:HC}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=ee(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 MC(i){let e,t;function n(a,o){return a[4]?UC:BC}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 FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=Se(),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 UC(i){let e;return{c(){e=Ne(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 BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 HC(i){let e,t;function n(a,o){return a[4]?qC:zC}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 WC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=Se(),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 qC(i){let e;return{c(){e=Ne(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 zC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 $h(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&xh(i),I=i[4]&&eg(i);return d=new pp({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"),N&&N.c(),o=W(),I&&I.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),N&&N.m(a,null),w(a,o),I&&I.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=[ee(v,"click",i[13]),ee(e,"click",Ot(JC))],y=!0)},p(V,E){V[4]?N&&(N.d(1),N=null):N?N.p(V,E):(N=xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,E):(I=eg(V),I.c(),I.m(a,null)):I&&(I.d(1),I=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),N&&N.d(),I&&I.d(),Fe(d),y=!1,Qe(P)}}}function xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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;return{c(){e=Ne(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 GC(i){let e,t,n=i[3]&&Zh(i);return{c(){n&&n.c(),e=Se()},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=Zh(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 KC=()=>{},JC=()=>{};function jC(i,e,t){let n,l;const r=Qt();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:N=!1}=e,{defaultLabel:I}=e,V,E=yt("getUnsavedChangesModalPromise"),H=yt("store"),D=yt("getTranslation");Ci(i,D,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:z}=e,Y;rn(async()=>{bn.doOnStoreChange(H,async()=>{const ae=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ae),!!a&&(t(6,C=ie.isFunction(ae.customOptionsRenderer)?ae.customOptionsRenderer:void 0),t(7,y=ie.isFunction(ae.customSelectedOptionRenderer)?ae.customSelectedOptionRenderer:void 0),t(5,h=ae),t(1,g=void 0),ae)){t(27,p=ae.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const we=ut.getCurrentPath();t(20,m=ae.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ae.lazyloadOptions||await Z(),Sn.isContextSwitcherDetailsView(we,ae.parentNodePath)&&await G(we)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>G(ae)),qn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Z())}),t(21,I=h.defaultLabel)}),Qn(()=>{O!==N&&(O=N,Z()),t(14,Y=o.contextSwitcherPopover||!1)});function Q(ae,we,Je){return ae?Promise.resolve(ae):Sn.getFallbackLabel(we,Je)}function fe(ae){return me.getNodeHref(ae,v)}async function Z(){t(1,g=await Sn.fetchOptions(g));const ae=h||{},we=ae.parentNodePath,Je=ae.fallbackLabelResolver,ye=ut.getCurrentPath();t(2,b=await Sn.getSelectedOption(ye,g,we)),t(4,c=await Sn.getSelectedLabel(ye,g,we,Je)),await Sn.getSelectedNode(ye,g,we),V=ae.preserveSubPathOnSwitch}async function G(ae){const we=h||{},Je=we.parentNodePath,ye=we.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ae,g,Je)),t(4,c=await Sn.getSelectedLabel(ae,g,Je,ye)),await Sn.getSelectedNode(ae,g,Je)}async function J(ae){let we=ae.detail.node;we.clickHandler&&!await we.clickHandler(we)||(setTimeout(()=>{re(we.link)}),P&&r("toggleDropdownState"))}function re(ae){E().then(()=>{ut.navigateTo(ae)},()=>{})}function ce(ae){let we=ae.detail.option,Je=ae.detail.selectedOption;E().then(()=>{V&&Je?ut.navigateTo(Sn.getNodePathFromCurrentPath(we,Je)):ut.navigateTo(we.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Z()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=ae=>{"contextSwitcherEnabled"in ae&&t(3,a=ae.contextSwitcherEnabled),"dropDownStates"in ae&&t(8,o=ae.dropDownStates),"selectedLabel"in ae&&t(4,c=ae.selectedLabel),"config"in ae&&t(5,h=ae.config),"actions"in ae&&t(0,d=ae.actions),"options"in ae&&t(1,g=ae.options),"selectedOption"in ae&&t(2,b=ae.selectedOption),"fallbackLabelResolver"in ae&&t(20,m=ae.fallbackLabelResolver),"pathParams"in ae&&t(22,v=ae.pathParams),"customOptionsRenderer"in ae&&t(6,C=ae.customOptionsRenderer),"customSelectedOptionRenderer"in ae&&t(7,y=ae.customSelectedOptionRenderer),"isMobile"in ae&&t(9,P=ae.isMobile),"contextSwitcherToggle"in ae&&t(23,N=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,I=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,z=ae.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,z,J,ce,ne,Y,n,l,D,Q,fe,m,I,v,N,Z,G,re,p,Pe,se]}class mp extends Ft{constructor(e){super(),Mt(this,e,jC,GC,Vt,{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:YC}=wl;function tg(i,e,t){const n=i.slice();return n[22]=e[t],n}function ng(i){let e,t,n,l=!i[2]&&ig(i),r=i[2]&&i[3].productSwitcherPopover&&og(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=ig(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=og(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 ig(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?ZC:QC}let N=P(i,-1),I=N(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=sg(tg(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),I.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=Wn(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),I.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=[ee(r,"click",Ot(i[7])),ee(l,"click",Ot(l3))],C=!0)},p(H,D){if(N===(N=P(H,D))&&I?I.p(H,D):(I.d(1),I=N(H),I&&(I.c(),I.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 z=tg(H,V,O);E[O]?E[O].p(z,D):(E[O]=sg(z),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=Wn(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),I.d(),ht(E,H),C=!1,Qe(y)}}}function QC(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 ZC(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 lg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?$C: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=ee(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?e3:xC}let g=d(i,-1),p=g(i),b=h&&rg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Ne(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=rg(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 $C(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,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?n3:t3}let v=m(i,-1),C=v(i),y=d&&ag(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Ne(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,N){L(P,e,N),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=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ag(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&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 xC(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 e3(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 rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(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 t3(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 n3(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 ag(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(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 sg(i){let e,t=i[22].label&&lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function og(i){let e,t;return e=new gp({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 i3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&ng(i);return{c(){a&&a.c(),t=Se()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=ee(YC,"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=ng(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 l3=()=>{};function r3(i,e,t){const n=Qt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=yt("store"),h=yt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;rn(async()=>{bn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ut.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 Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function N(){le.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(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,I,V,E,H]}class bp extends Ft{constructor(e){super(),Mt(this,e,r3,i3,Vt,{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 ug(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function a3(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-zbxrcf"),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=ee(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function s3(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-zbxrcf"),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 o3(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 u3(i){let e,t,n,l=i[4]&&fg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),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=fg(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 fg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=cg(ug(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=ug(l,t,a);n[a]?n[a].p(o,r):(n[a]=cg(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),ht(n,l),i[18](null)}}}function f3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=Se(),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 c3(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=Ne(l),a=W(),o=k("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},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=ee(e,"click",kt(h3)),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 cg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?f3:c3}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-zbxrcf"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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,Qe(l)}}}function d3(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?s3:a3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?o3:u3}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),I.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-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),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),I.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=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Ot(g3)),ee(b,"click",i[6]),ee(p,"click",Ot(_3))],C=!0)},p(D,[O]){N===(N=P(D))&&I?I.p(D,O):(I.d(1),I=N(D),I&&(I.c(),I.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-zbxrcf")&&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)),I.d(),H.d(),C=!1,Qe(y)}}}const h3=()=>{},g3=()=>{},_3=()=>{};function p3(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=Qt();let g={},p;rn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Qn(()=>{t(7,g=h),p||t(8,p=new sp(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 N(D){Ye[D?"unshift":"push"](()=>{a=D,t(0,a)})}const I=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[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,N,I,V,E,H]}class m3 extends Ft{constructor(e){super(),Mt(this,e,p3,d3,Vt,{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 dg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function b3(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-qeg9jv"),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-qeg9jv"),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=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(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,Qe(g)}}}function v3(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 w3(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 k3(i){let e,t,n,l=i[3]&&hg(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-qeg9jv"),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=hg(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 hg(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=gg(dg(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=dg(l,t,a);n[a]?n[a].p(o,r):(n[a]=gg(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),ht(n,l),i[27](null)}}}function S3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=Se(),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 C3(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=Ne(l),a=W(),o=k("div"),h=Ne(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=ee(e,"click",kt(P3)),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 gg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?S3:C3}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-qeg9jv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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,Qe(l)}}}function _g(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-qeg9jv")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Ot(N3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function pg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Ot(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-qeg9jv")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?v3:b3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?w3:k3}let y=C(i),P=y(i),N=!i[5]&&_g(i),I=i[5]&&pg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),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-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},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),N&&N.m(V,E),L(V,h,E),I&&I.m(V,E),L(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Ot(I3))],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-qeg9jv")&&f(e,"class",o),V[5]?N&&(N.d(1),N=null):N?N.p(V,E):(N=_g(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,E):(I=pg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Qe(p)}}}const P3=()=>{},I3=()=>{},N3=()=>{};function T3(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=Qt();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=yt("getTranslation");Ci(i,m,ce=>t(10,n=ce));let v;rn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ce=document.querySelector(".lui-global-search");ce&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ce)}),Qn(()=>{t(8,b=h),v||t(9,v=new sp(b,d)),v.getCustomRenderer(),I()});function C(ce,ne,Pe){v.renderCustomSearchItem(ce,ne,Pe)}function y(){v.closeSearchResult()}function P(ce){v.onKeyUp(ce,r)}function N(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ce){v.onSearchResultItemSelected(ce)}function H(ce,ne){v.handleKeydown(ce,ne,a,c)}function D(ce){v.onActionClick(ce)}function O(){v.toggleSearch(p,r,a,o)}const z=ce=>P(ce);function Y(ce){Ye[ce?"unshift":"push"](()=>{a=ce,t(0,a)})}const Q=()=>I(),fe=(ce,ne)=>E(ce),Z=(ce,ne)=>H(ce,ne);function G(ce){Ye[ce?"unshift":"push"](()=>{c=ce,t(2,c)})}function J(ce){Ye[ce?"unshift":"push"](()=>{o=ce,t(1,o)})}const re=()=>O();return i.$$set=ce=>{"searchResult"in ce&&t(3,l=ce.searchResult),"displaySearchResult"in ce&&t(4,r=ce.displaySearchResult),"inputElem"in ce&&t(0,a=ce.inputElem),"customSearchItemRendererSlot"in ce&&t(1,o=ce.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ce&&t(2,c=ce.customSearchItemRendererSlotContainer),"globalSearchConfig"in ce&&t(20,h=ce.globalSearchConfig),"isSearchFieldVisible"in ce&&t(5,p=ce.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,E,H,h,D,z,Y,Q,fe,Z,G,J,re]}class L3 extends Ft{constructor(e){super(),Mt(this,e,T3,y3,Vt,{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 mg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?E3:A3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 A3(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 E3(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 bg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ii({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(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 R3(i){let e,t,n,l=i[0].icon&&mg(i),r=(!i[0].icon||i[0].showLabel)&&bg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=mg(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=bg(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 D3(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 Ft{constructor(e){super(),Mt(this,e,D3,R3,Vt,{node:0})}}const{Boolean:vp,window:vg}=wl;function wg(i,e,t){const n=i.slice();return n[109]=e[t],n[111]=t,n}function kg(i,e,t){const n=i.slice();return n[109]=e[t],n[112]=e,n[111]=t,n}function V3(i){let e,t;return e=new hp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[101]),{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 O3(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")&&Sg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new $S({props:C}),Ye.push(()=>Ct(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Cg(i),P=(!i[0]||i[1])&&yg(i),N=(i[18]||i[7]&&i[30].length>0)&&Ig(i),I=(i[0]||i[16])&&qg(i),V=i[12]&&zg(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(),N&&N.c(),d=W(),I&&I.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-19yzu6h"),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),N&&N.m(c,null),w(c,d),I&&I.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=Sg(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=Cg(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=yg(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?N?(N.p(E,H),H[0]&1074004096&&R(N,1)):(N=Ig(E),N.c(),R(N,1),N.m(c,d)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[0]||E[16]?I?(I.p(E,H),H[0]&65537&&R(I,1)):(I=qg(E),I.c(),R(I,1),I.m(c,g)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=zg(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-19yzu6h"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(N),R(I),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(N),U(I),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function Sg(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-19yzu6h"),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=ee(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 Cg(i){let e,t,n,l,r,a,o,c;function h(v){i[60](v)}function d(v){i[61](v)}function g(v){i[62](v)}function p(v){i[63](v)}function b(v){i[64](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 L3({props:m}),Ye.push(()=>Ct(t,"isSearchFieldVisible",h)),Ye.push(()=>Ct(t,"searchResult",d)),Ye.push(()=>Ct(t,"displaySearchResult",g)),Ye.push(()=>Ct(t,"inputElem",p)),Ye.push(()=>Ct(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[65]),t.$on("handleSearchNavigation",i[66]),t.$on("closeSearchResult",i[67]),{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 yg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Pg(i);function a(c){i[76](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new mp({props:o}),Ye.push(()=>Ct(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[77]),{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=Pg(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 Pg(i){let e,t,n,l,r,a,o;function c(m){i[68](m)}function h(m){i[69](m)}function d(m){i[70](m)}function g(m){i[71](m)}function p(m){i[72](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 m3({props:b}),Ye.push(()=>Ct(e,"isSearchFieldVisible",c)),Ye.push(()=>Ct(e,"searchResult",h)),Ye.push(()=>Ct(e,"displaySearchResult",d)),Ye.push(()=>Ct(e,"inputElem",g)),Ye.push(()=>Ct(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[73]),e.$on("handleSearchNavigation",i[74]),e.$on("closeSearchResult",i[75]),{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 Ig(i){let e,t,n,l=i[7]&&i[30].length>0&&Ng(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},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=Ng(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=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 Ng(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ag(kg(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=Se()},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=kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ag(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(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Tg(i){let e,t,n,l;const r=[F3,M3],a=[];function o(c,h){return c[109].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 M3(i){let e,t,n,l,r;const a=[B3,U3],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 F3(i){let e=i[109].visibleChildren.filter(Gg).length>0,t,n,l=e&&Lg(i);return{c(){l&&l.c(),t=Se()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[109].visibleChildren.filter(Gg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Lg(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 U3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[82](v,i[109],i[112],i[111])}let b={};i[109]!==void 0&&(b.node=i[109]),t=new Jo({props:b}),Ye.push(()=>Ct(t,"node",p)),r=new An({props:{node:i[109]}});function m(){return i[83](i[109])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[109],i[49](i[109]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[109])),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=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[109],St(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[109]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[109],i[49](i[109]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[109])))&&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 B3(i){let e,t,n,l;const r=[W3,H3],a=[];function o(c,h){return c[109].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},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 H3(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[80](C,i[109],i[112],i[111])}let m={};i[109]!==void 0&&(m.node=i[109]),t=new Jo({props:m}),Ye.push(()=>Ct(t,"node",b)),r=new An({props:{node:i[109]}});function v(...C){return i[81](i[109],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[109])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"title",c=i[51](i[109],i[49](i[109]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[109]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[109],St(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[109]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[109])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[109],i[49](i[109]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[109])))&&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 Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(D){i[78](D,i[109],i[112],i[111])}let E={};i[109]!==void 0&&(E.node=i[109]),r=new Jo({props:E}),Ye.push(()=>Ct(r,"node",V)),c=new An({props:{node:i[109]}});function H(){return i[79](i[111])}return v=new _p({props:{node:i[109],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[109],i[49](i[109]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(l,"aria-controls","dropDownPopover-"+i[111]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[111]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[109])),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[111]}`]),f(m,"id","dropDownPopover-"+i[111]),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,N||(I=[ee(l,"click",H),ee(n,"click",Ot(ly))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[109],St(()=>a=!1)),r.$set(z);const Y={};O[0]&128&&(Y.node=i[109]),c.$set(Y),(!P||O[0]&128&&h!==(h=i[51](i[109],i[49](i[109]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[111]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[109])))&&f(l,"data-testid",p);const Q={};O[0]&128&&(Q.node=i[109]),O[1]&1&&(Q.pathParams=i[31]),O[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[111]}`]))&&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),N=!1,Qe(I)}}}function Ag(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Tg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Tg(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 Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Rg(i),z=i[46]&&(!i[0]||i[1])&&Dg(i),Y=i[7]&&Vg(i),Q=i[12]&&Ug(i),fe=i[12]&&Bg(i),Z=i[14]&&Hg(i),G=(!i[0]||i[1])&&Wg(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(),z&&z.c(),C=W(),Y&&Y.c(),y=W(),Q&&Q.c(),N=W(),fe&&fe.c(),I=W(),Z&&Z.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-19yzu6h"),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-19yzu6h"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,re){L(J,e,re),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),z&&z.m(m,null),w(m,C),Y&&Y.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,N),fe&&fe.m(n,null),w(n,I),Z&&Z.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[84]),ee(l,"click",Ot(ry))],H=!0)},p(J,re){const ce={};re[0]&2048&&(ce.node=J[11]),h.$set(ce),(!E||re[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(a,"aria-expanded",d),J[18]&&!J[19]&&!J[29]?O?O.p(J,re):(O=Rg(J),O.c(),O.m(m,v)):O&&(O.d(1),O=null),J[46]&&(!J[0]||J[1])?z?z.p(J,re):(z=Dg(J),z.c(),z.m(m,C)):z&&(z.d(1),z=null),J[7]?Y?(Y.p(J,re),re[0]&128&&R(Y,1)):(Y=Vg(J),Y.c(),R(Y,1),Y.m(m,y)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),J[12]?Q?Q.p(J,re):(Q=Ug(J),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||re[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?fe?(fe.p(J,re),re[0]&4096&&R(fe,1)):(fe=Bg(J),fe.c(),R(fe,1),fe.m(n,I)):fe&&(be(),U(fe,1,1,()=>{fe=null}),ve()),J[14]?Z?(Z.p(J,re),re[0]&16384&&R(Z,1)):(Z=Hg(J),Z.c(),R(Z,1),Z.m(n,V)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),!J[0]||J[1]?G?(G.p(J,re),re[0]&3&&R(G,1)):(G=Wg(J),G.c(),R(G,1),G.m(n,null)):G&&(be(),U(G,1,1,()=>{G=null}),ve())},i(J){E||(R(h.$$.fragment,J),R(Y),R(fe),R(Z),R(G),E=!0)},o(J){U(h.$$.fragment,J),U(Y),U(fe),U(Z),U(G),E=!1},d(J){J&&T(e),Fe(h),O&&O.d(),z&&z.d(),Y&&Y.d(),Q&&Q.d(),fe&&fe.d(),Z&&Z.d(),G&&G.d(),H=!1,Qe(D)}}}function Rg(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-19yzu6h"></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=ee(t,"click",Ot(i[85])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Dg(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=Ne(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-19yzu6h"),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=ee(t,"click",Ot(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-19yzu6h")&&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 Vg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fg(wg(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=Se()},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=wg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fg(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(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Og(i){let e,t,n,l,r;const a=[z3,q3],o=[];function c(h,d){return d[0]&128&&(e=null),!h[109].isCat||h[109].separator?0:(e==null&&(e=h[109].visibleChildren.filter(iy).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Se()},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 q3(i){let e,t,n,l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[109])),l?K3:G3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new An({props:{node:i[109]}});function I(){return i[87](i[109])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-19yzu6h"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[109])),f(t,"title",p=i[51](i[109],i[49](i[109]))),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),N.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=ee(t,"click",kt(I)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};E[0]&128&&(H.node=i[109]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[109])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[109],i[49](i[109]))))&&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),N.d(),Fe(a),v=!1,C()}}}function z3(i){let e,t,n,l,r;const a=[j3,J3],o=[];function c(h,d){return h[109].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 G3(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!nt(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function K3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[109].icon&&n[48](n[109])?n[47](n[109].icon):"")+" svelte-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function J3(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function j3(i){let e,t,n=!i[48](i[109]),l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C,y=n&&Mg(i);r=new An({props:{node:i[109]}});function P(){return i[86](i[109])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Ne(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[109])),f(e,"class",p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")),f(e,"data-testid",b=le.getTestId(i[109])+"-mobile")},m(N,I){L(N,e,I),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=ee(e,"click",kt(P)),v=!0)},p(N,I){i=N,I[0]&128&&(n=!i[48](i[109])),n?y?y.p(i,I):(y=Mg(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};I[0]&128&&(V.node=i[109]),r.$set(V),(!m||I[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"))&&f(t,"class",a),(!m||I[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||I[0]&128&&g!==(g=i[50](i[109])))&&f(e,"href",g),(!m||I[0]&384&&p!==(p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||I[0]&128&&b!==(b=le.getTestId(i[109])+"-mobile"))&&f(e,"data-testid",b)},i(N){m||(R(r.$$.fragment,N),m=!0)},o(N){U(r.$$.fragment,N),m=!1},d(N){N&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Mg(i){let e,t,n;return{c(){e=k("img"),nt(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!nt(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Fg(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Og(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Og(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 Ug(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?Q3:Y3}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=Ne(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=ee(t,"click",Ot(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 Y3(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-19yzu6h"),f(e,"class","fd-top-nav__icon sap-icon svelte-19yzu6h")},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 Q3(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-19yzu6h")},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-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bg(i){let e,t,n;function l(a){i[88](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>Ct(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[89]),{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 Hg(i){let e,t;return e=new _p({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 Wg(i){let e,t,n,l,r;function a(d){i[90](d)}function o(d){i[91](d)}function c(d){i[92](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 mp({props:h}),Ye.push(()=>Ct(e,"dropDownStates",a)),Ye.push(()=>Ct(e,"selectedLabel",o)),Ye.push(()=>Ct(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[93]),{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 qg(i){let e,t,n,l,r;const a=[X3,Z3],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 Z3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?x3:$3}let y=C(i),P=y(i);return g=new hp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[98]),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-19yzu6h"),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-19yzu6h")},m(N,I){L(N,e,I),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=[ee(r,"click",i[97]),ee(n,"click",Ot(sy)),ee(d,"click",Ot(i[58]))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(R(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function X3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?ty:ey}let g=d(i),p=g(i);return r=new sC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[96]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=W(),l=k("div"),Be(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-19yzu6h")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=[ee(t,"click",Ot(ay)),ee(l,"click",Ot(i[57]))],c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&T(e),p.d(),Fe(r),c=!1,Qe(h)}}}function $3(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 x3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-19yzu6h"),Hn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&Hn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function ey(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=k("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle svelte-19yzu6h"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=ee(e,"click",i[95]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,a()}}}function ty(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-19yzu6h"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Hn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=ee(e,"click",i[94]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Hn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function zg(i){let e,t,n;function l(a){i[99](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>Ct(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[100]),{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 ny(i){let e,t,n,l,r,a;const o=[O3,V3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[ee(vg,"click",i[41]),ee(vg,"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,Qe(a)}}}const iy=i=>!i.hideFromNav&&i.label,Gg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},ay=()=>{},sy=()=>{};function oy(i,e,t){const n=Qt();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:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Y}=e,{isGlobalSearchCentered:Q}=e,{isSearchFieldVisible:fe}=e,{inputElem:Z}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:J}=e,{searchResult:re}=e,{burgerTooltip:ce}=e,{responsiveShellbarPadding:ne}=e,Pe=yt("store"),se=!1,ae,we,Je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const $=await le.generateTopNavNodes(p);t(7,C=$.children),t(8,y=$.selectedNode),t(9,P=$.visibleNodeCount),t(11,I=$.totalBadgeNode),t(10,N=$.globalNavNodeCount),window.TOPNAVDATA=$.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};rn(()=>{bn.doOnStoreChange(Pe,()=>{t(0,l=ki.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=le.getProductSwitcherConfig()),t(18,Y=te.getConfigValue("globalSearch")),t(19,Q=Y&&Y.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),bn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),qn.addEventListener("message",$=>{$.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Qn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Ze}=e;function De($){return le.renderIconClassName($)}function et($){return le.isOpenUIiconName($.icon)}const it=$=>le.getNodeLabel($);function de($){return me.getNodeHref($,m)}function lt($,Bt){return le.generateTooltipText($,Bt)}function Pt(){at("productSwitcherPopover")}function an(){t(43,se=!se),at("contextSwitcherPopover")}function En($){t(14,H=!0),t(15,D=$)}function on(){t(14,H=!1)}function zt($){n("handleClick",{node:$})}function Te($){n("handleSearchNavigation",{node:$})}function ot($){zt($.detail.node)}function at($){const Bt=v||{},Dn=!Bt[$];Rt(),on(),Bt[$]=Dn,t(6,v=Bt)}function Zt($){at($.detail.name)}function Xt(){Z&&Z.focus()}function Rn(){fe||setTimeout(()=>{Xt()}),n("toggleSearch",{isSearchFieldVisible:fe,inputElem:Z,customSearchItemRendererSlot:G})}function Rt(){const $=v||{},Bt=Object.keys($);Bt&&Bt.length>0&&Bt.forEach(Dn=>{$[Dn]=!1,t(6,v=$)})}function pn(){h==="simple"||h==="simpleMobileOnly"?Jt():Cn(),li()}function li(){if(!le.getBurgerTooltipConfig())return;const[$,Bt]=le.getBurgerTooltipConfig();$&&Bt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ce=document.body.classList.contains("lui-leftNavToggle")?$:Bt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ce=document.body.classList.contains("semiCollapsed")?$:Bt))}function Jt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Cn(){wi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function yi($){const Bt=$.detail;t(17,z=Bt||{})}function Pi($){Ji.call(this,i,$)}function vn($){Ji.call(this,i,$)}function Ii($){v=$,t(6,v)}function Ni($){fe=$,t(20,fe)}function Ti($){re=$,t(24,re)}function Li($){J=$,t(23,J)}function Ai($){Z=$,t(21,Z)}function Sl($){G=$,t(22,G)}function Cl($){Ji.call(this,i,$)}function yl($){Ji.call(this,i,$)}function Ei($){Ji.call(this,i,$)}function Qi($){fe=$,t(20,fe)}function Zi($){re=$,t(24,re)}function di($){J=$,t(23,J)}function Pl($){Z=$,t(21,Z)}function Il($){G=$,t(22,G)}function Xi($){Ji.call(this,i,$)}function Nl($){Ji.call(this,i,$)}function Tl($){Ji.call(this,i,$)}function Ll($){v=$,t(6,v)}const Ri=()=>at("contextSwitcherPopover");function Al($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const ri=$=>at(`dropDownPopover-${$}`);function Di($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const hi=($,Bt)=>{le.handleNavAnchorClickedWithoutMetaKey(Bt)&&zt($)};function Vi($,Bt,Dn,Vn){Dn[Vn]=$,t(7,C)}const gi=$=>zt($),$i=()=>at("overflowPopover"),K=()=>{Rn(),at("overflowPopover")},ke=$=>zt($),tt=$=>En($);function je($){v=$,t(6,v)}const bt=()=>at("productSwitcherPopover");function gt($){v=$,t(6,v)}function Ut($){ae=$,t(44,ae)}function $t($){we=$,t(45,we)}const yn=()=>at("contextSwitcherPopover"),_i=()=>at("profilePopover"),pi=()=>at("profilePopover"),El=()=>at("profilePopover"),Oi=()=>at("profilePopover"),Kl=()=>at("profilePopover");function yr($){v=$,t(6,v)}const vt=()=>at("productSwitcherPopover"),xi=()=>at("profilePopover");return i.$$set=$=>{"authorizationEnabled"in $&&t(0,l=$.authorizationEnabled),"autologinEnabled"in $&&t(53,r=$.autologinEnabled),"isLoggedIn"in $&&t(1,a=$.isLoggedIn),"hideSearchComponent"in $&&t(29,o=$.hideSearchComponent),"hideNavComponent"in $&&t(2,c=$.hideNavComponent),"responsiveNavSetting"in $&&t(3,h=$.responsiveNavSetting),"profileTypeSettings"in $&&t(4,d=$.profileTypeSettings),"showGlobalNav"in $&&t(5,g=$.showGlobalNav),"pathData"in $&&t(30,p=$.pathData),"pathParams"in $&&t(31,m=$.pathParams),"dropDownStates"in $&&t(6,v=$.dropDownStates),"children"in $&&t(7,C=$.children),"selectedNode"in $&&t(8,y=$.selectedNode),"visibleNodeCount"in $&&t(9,P=$.visibleNodeCount),"globalNavNodeCount"in $&&t(10,N=$.globalNavNodeCount),"totalBadgeNode"in $&&t(11,I=$.totalBadgeNode),"isProductSwitcherAvailable"in $&&t(12,V=$.isProductSwitcherAvailable),"productSwitcherConfig"in $&&t(13,E=$.productSwitcherConfig),"openMobileDropDown"in $&&t(14,H=$.openMobileDropDown),"nodeForMobile"in $&&t(15,D=$.nodeForMobile),"profileItemsAvailable"in $&&t(16,O=$.profileItemsAvailable),"userInfo"in $&&t(17,z=$.userInfo),"globalSearchConfig"in $&&t(18,Y=$.globalSearchConfig),"isGlobalSearchCentered"in $&&t(19,Q=$.isGlobalSearchCentered),"isSearchFieldVisible"in $&&t(20,fe=$.isSearchFieldVisible),"inputElem"in $&&t(21,Z=$.inputElem),"customSearchItemRendererSlot"in $&&t(22,G=$.customSearchItemRendererSlot),"displaySearchResult"in $&&t(23,J=$.displaySearchResult),"searchResult"in $&&t(24,re=$.searchResult),"burgerTooltip"in $&&t(25,ce=$.burgerTooltip),"responsiveShellbarPadding"in $&&t(26,ne=$.responsiveShellbarPadding),"addNavHrefForAnchor"in $&&t(27,ye=$.addNavHrefForAnchor),"showTopNav"in $&&t(28,Ze=$.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Ze=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,E,H,D,O,z,Y,Q,fe,Z,G,J,re,ce,ne,ye,Ze,o,p,m,Pt,an,En,on,zt,ot,at,Zt,Rn,Rt,yi,se,ae,we,Je,De,et,it,de,lt,pn,r,Te,Jt,Cn,Pi,vn,Ii,Ni,Ti,Li,Ai,Sl,Cl,yl,Ei,Qi,Zi,di,Pl,Il,Xi,Nl,Tl,Ll,Ri,Al,ri,Di,hi,Vi,gi,$i,K,ke,tt,je,bt,gt,Ut,$t,yn,_i,pi,El,Oi,Kl,yr,vt,xi]}class wp extends Ft{constructor(e){super(),Mt(this,e,oy,ny,Vt,{authorizationEnabled:0,autologinEnabled:53,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:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,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[54]}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[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function Kg(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 uy(i){let e,t=i[0]&&Kg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Kg(),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 fy(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ut.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 rn(()=>{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 cy extends Ft{constructor(e){super(),Mt(this,e,fy,uy,Vt,{node:0})}}const{window:Oo}=wl;function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function dy(i){const e=i.slice(),t=kp(e[54]);return e[67]=t,e}function $g(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Mo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function hy(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function xg(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&&e_(i),P=Ve(Object.entries(i[0])),N=[];for(let D=0;D<P.length;D+=1)N[D]=u_(Qg(i,P,D));const I=D=>U(N[D],1,1,()=>{N[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=h_(Jg(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<N.length;D+=1)N[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 z=0;z<N.length;z+=1)N[z]&&N[z].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 z=0;z<E.length;z+=1)E[z]&&E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",kt(i[10])),ee(a,"click",Ny),ee(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=e_(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 z;for(z=0;z<P.length;z+=1){const Y=Qg(D,P,z);N[z]?(N[z].p(Y,O),R(N[z],1)):(N[z]=u_(Y),N[z].c(),R(N[z],1),N[z].m(l,r))}for(be(),z=P.length;z<N.length;z+=1)I(z);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let z;for(z=0;z<V.length;z+=1){const Y=Jg(D,V,z);E[z]?(E[z].p(Y,O),R(E[z],1)):(E[z]=h_(Y),E[z].c(),R(E[z],1),E[z].m(p,null))}for(be(),z=V.length;z<E.length;z+=1)H(z);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(N[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[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(),ht(N,D),i[31](null),ht(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function e_(i){let e,t;return e=new cy({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 gy(i){let e,t,n,l,r;const a=[my,py],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!Sy(d[54])),e?0:1}function h(d,g){return g===0?dy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=Se()},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 _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=o_($g(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=Se()},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[54]);let c;for(c=0;c<n.length;c+=1){const h=$g(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=o_(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),ht(l,a)}}}function py(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function E(){return i[29](i[53])}let H=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=i_(Zg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Ne(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 z=0;z<D.length;z+=1)D[z].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[53],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[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=pl(i[53],i[2]))},m(z,Y){L(z,e,Y),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 Q=0;Q<D.length;Q+=1)D[Q]&&D[Q].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",kt(E)),ee(e,"click",Iy)],I=!0)},p(z,Y){if(i=z,(!N||Y[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!N||Y[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),Y[0]&1572933){H=Ve(i[54]);let Q;for(Q=0;Q<H.length;Q+=1){const fe=Zg(i,H,Q);D[Q]?(D[Q].p(fe,Y),R(D[Q],1)):(D[Q]=i_(fe),D[Q].c(),R(D[Q],1),D[Q].m(m,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!N||Y[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),(!N||Y[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Y[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);N=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);N=!1},d(z){z&&T(e),ht(D,z),I=!1,Qe(V)}}}function my(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Ve(i[54]),z=[];for(let Y=0;Y<O.length;Y+=1)z[Y]=r_(Xg(i,O,Y));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(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 Y=0;Y<z.length;Y+=1)z[Y].c();I=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[53],i[2])),f(t,"href",o=i[20](i[67])),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[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),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",N=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Y,Q){L(Y,e,Q),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 fe=0;fe<z.length;fe+=1)z[fe]&&z[fe].m(y,null);w(e,I),V||(E=[ee(t,"click",kt(H)),ee(p,"click",kt(D)),ee(e,"click",Py)],V=!0)},p(Y,Q){if(i=Y,Q[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Q[0]&5&&a!==(a=pl(i[53],i[2]))&&f(t,"aria-selected",a),Q[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Q[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Q[0]&1572933){O=Ve(i[54]);let fe;for(fe=0;fe<O.length;fe+=1){const Z=Xg(i,O,fe);z[fe]?z[fe].p(Z,Q):(z[fe]=r_(Z),z[fe].c(),z[fe].m(y,null))}for(;fe<z.length;fe+=1)z[fe].d(1);z.length=O.length}Q[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),Q[0]&9&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:Ue,o:Ue,d(Y){Y&&T(e),ht(z,Y),V=!1,Qe(E)}}}function t_(i){let e,t,n=i[57].label&&n_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=n_(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 n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===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=ee(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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_(i){let e,t,n=!i[57].hideFromNav&&t_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(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 l_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"aria-selected",o=i[57]===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=ee(t,"click",kt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&T(e),h=!1,d()}}}function r_(i){let e,t=!i[57].hideFromNav&&i[57].label&&l_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=l_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function a_(i){let e,t,n=i[57].label&&s_(Mo(i));return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=s_(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 s_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ii({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},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=ee(t,"click",kt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&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 o_(i){let e,t,n=!i[57].hideFromNav&&a_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=a_(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 u_(i){let e,t,n,l,r,a;const o=[_y,gy],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!ky(g[54])),t?1:-1)}function d(g,p){return p===1?hy(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Se()},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 by(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=c_(jg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Ne(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let z=0;z<D.length;z+=1)D[z].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[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=pl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"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[53]+i[56]]),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[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Y){L(z,e,Y),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 Q=0;Q<D.length;Q+=1)D[Q]&&D[Q].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",kt(V)),ee(d,"click",kt(E))],N=!0)},p(z,Y){if(i=z,(!P||Y[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||Y[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Y[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Y[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Y[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Y[0]&1572933){H=Ve(i[54]);let Q;for(Q=0;Q<H.length;Q+=1){const fe=jg(i,H,Q);D[Q]?(D[Q].p(fe,Y),R(D[Q],1)):(D[Q]=c_(fe),D[Q].c(),R(D[Q],1),D[Q].m(v,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!P||Y[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);P=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);P=!1},d(z){z&&T(e),ht(D,z),N=!1,Qe(I)}}}function vy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=d_(Yg(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=Se()},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[54]);let c;for(c=0;c<n.length;c+=1){const h=Yg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=d_(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),ht(l,a)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(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[57])),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},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=ee(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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 c_(i){let e,t,n=i[57].label&&f_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=f_(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 d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=le.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},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=ee(t,"click",kt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=le.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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,l,r;const a=[vy,by],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=Se()},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 wy(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&xg(i);return{c(){r&&r.c(),e=Se()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[ee(Oo,"click",i[8]),ee(Oo,"blur",i[8]),ee(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=xg(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,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function ky(i){return i.some(e=>!e.hideFromNav&&e.label)}function kp(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 Sy(i){return!!kp(i)}function Cy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function yy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),Cy(e)||e.classList.add("fd-popover__body--right")})}const Py=i=>i.stopPropagation(),Iy=i=>i.stopPropagation(),Ny=i=>i.stopPropagation();function Ty(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");Ci(i,C,Te=>t(17,n=Te));let y=yt("store"),P,N,I,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(ot=>{ot==="pathData"?t(1,r=Te.pathData):ot==="context"?context=Te.context:ot==="children"?t(0,l=Te.children):ot==="selectedNode"?t(11,b=Te.selectedNode):ot==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Qt();function z(Te){return le.getNodeLabel(Te)}const Y=async()=>{const Te=D.get(),ot=await qt.getTabNavData({...Te},Te);ot&&(D.set({...ot}),m=r,window.LEFTNAVDATA=ot.groupedChildren,setTimeout(Q))},Q=()=>{if(fe(),I&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(I),ot=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let at=0,Zt=!1;[...I.children].forEach(Xt=>{const Rn=Xt.getAttribute("uid");if(!Rn)return;const Rt=getComputedStyle(Xt),pn=parseFloat(Rt.marginLeft)+parseFloat(Rt.marginRight);at+=Xt.offsetWidth+pn,at>=ot?(Xt.classList.add("hide_element"),Xt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Rn+'"]').classList.remove("hide_element"),Zt=!0):document.querySelector('li[uid="'+Rn+'"]').classList.add("hide_element")}),Zt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},fe=()=>{I!==void 0&&[...I.children].forEach(ot=>{ot.classList.remove("hide_element")})},Z=()=>{P=new ResizeObserver(Te=>{for(const ot of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ot.contentRect.height+"px");H&&yy()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};rn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Z(),bn.doOnStoreChange(y,()=>{Y()},["navigation.viewgroupdata"])}),ta(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Qn(()=>{(!m||m!=r)&&Y(),(v===void 0||v!==p)&&(v=p,Y())}),ea(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):Z()});function J(Te){return me.getNodeHref(Te,a)}function re(Te){ne(),O("handleClick",{node:Te})}function ce(Te){let ot={};d[Te]||(ot[Te]=!0),t(3,d=ot)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){fe(),Q()}function se(){t(4,g=!g)}function ae(Te,ot){const at=Te==="undefined",Zt=Te.indexOf(c)===0;if(at||Zt||we(ot))return!0}function we(Te){const ot=Te.find(Xt=>ie.isObject(Xt.category));if(!ot)return;const at=ot.category.label||ot.category.id;return Te.filter(Xt=>Xt.category===at&&Xt.hideFromNav===!0).length===1}const Je=Te=>re(Te),ye=Te=>re(Te),Le=Te=>ce(Te),ze=Te=>re(Te),Ze=Te=>ce(Te),De=Te=>re(Te);function et(Te){Ye[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const it=Te=>re(Te),de=(Te,ot)=>ce(Te+ot),lt=(Te,ot)=>ce(Te+ot),Pt=Te=>re(Te);function an(Te){Ye[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function En(Te){Ye[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const on=Te=>ce(Te.name);function zt(Te){Ye[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,re,ce,ne,Pe,se,b,N,I,V,E,H,n,C,z,J,ae,o,a,p,Je,ye,Le,ze,Ze,De,et,it,de,lt,Pt,an,En,on,zt]}class Sp extends Ft{constructor(e){super(),Mt(this,e,Ty,wy,Vt,{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 g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function p_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&m_(i),o=i[0]&&i[3].length>=0&&k_(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=m_(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=k_(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 m_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(__(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=__(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(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),ht(n,l)}}}function b_(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&&v_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Ne(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(N,I){L(N,e,I),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=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=v_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ay:Ly}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Ly(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 Ay(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 w_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=Se()},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=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function k_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=y_(g_(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=g_(l,t,a);n[a]?n[a].p(o,r):(n[a]=y_(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),ht(n,l)}}}function S_(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&&C_(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=Ne(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(N,I){L(N,e,I),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=ee(n,"click",kt(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=C_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function C_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ry:Ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Ey(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 Ry(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 y_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&S_(i);return{c(){t&&t.c(),e=Se()},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=S_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Dy(i){let e,t,n,l=i[2]&&p_(i);return{c(){l&&l.c(),e=Se()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[ee(window,"click",ds),ee(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=p_(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,Qe(n)}}}function ds(){}function Vy(i,e,t){let n;const l=Qt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=yt("store"),g=yt("getTranslation");Ci(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.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}};rn(()=>{bn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.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=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function N(O){return Et.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{le.handleNavAnchorClickedWithoutMetaKey(z)&&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,N,I,b,m,o,E,H,D]}class Oy extends Ft{constructor(e){super(),Mt(this,e,Vy,Dy,Vt,{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 My(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 Fy(i,e,t){const n=Qt();let{pathData:l}=e,r,a={},o,c=yt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};rn(()=>{bn.doOnStoreChange(c,()=>{},["navigation"])}),Qn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.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(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=ut.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?Et.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const E=await p(I);E&&C.push({label:E,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await qt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await le.fetchNodeTitleData(I,D);C.push({label:O.label,node:I,route:V});continue}catch{}}const E=await p(I);E&&C.push({label:E,node:I,route:V})}P===ut.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(N=>{a[N.route]=N}))}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 Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ut.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){Ye[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 Cp extends Ft{constructor(e){super(),Mt(this,e,Fy,My,Vt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";qn.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 Uy(){return qo}const{Boolean:By,window:P_}=wl;function I_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function N_(i){let e,t;return e=new p2({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 T_(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 op({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 L_(i){let e,t,n=i[154].mfModal.displayed&&T_(i);return{c(){n&&n.c(),e=Se()},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=T_(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 A_(i){let e,t;return e=new op({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Hy]},$$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 Hy(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 E_(i){let e,t;return e=new v2({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 R_(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 M2({props:r}),Ye.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 Wy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&D_(i),d=!(i[20]||i[22])&&V_(i);n=new vl({props:{disable:i[12],$$slots:{default:[zy]},$$scope:{ctx:i}}});let g=i[10]&&M_(),p=!i[20]&&F_(i),b=i[15]&&!i[20]&&B_(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=Se()},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=D_(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=V_(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=M_(),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=F_(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=B_(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 qy(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]&&H_(i),y=!(i[20]||i[22])&&W_(i),P=i[19]&&q_(i);b=new vl({props:{disable:i[12],$$slots:{default:[Gy]},$$scope:{ctx:i}}});let N=i[10]&&K_();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(),N&&N.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(I,V){Me(e,I,V),L(I,t,V),L(I,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),N&&N.m(p,null),v=!0},p(I,V){const E={};V[0]&4096&&(E.disable=I[12]),e.$set(E),I[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(I,V),V[0]&33554432&&R(C,1)):(C=H_(I),C.c(),R(C,1),C.m(a,null)),I[20]||I[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(I,V),V[0]&5242880&&R(y,1)):(y=W_(I),y.c(),R(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&R(P,1)):(P=q_(I),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=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=K_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(R(e.$$.fragment,I),R(C),R(y),R(P),R(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){I&&(T(t),T(n)),Fe(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),N&&N.d()}}}function D_(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 wp({props:b}),Ye.push(()=>Ct(e,"isSearchFieldVisible",c)),Ye.push(()=>Ct(e,"displaySearchResult",h)),Ye.push(()=>Ct(e,"searchResult",d)),Ye.push(()=>Ct(e,"inputElem",g)),Ye.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 V_(i){let e,t;return e=new cp({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 O_(i){let e,t;return e=new fp({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 zy(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&&O_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(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=Y_(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)&&Yt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Yt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=O_(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 M_(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 F_(i){let e,t,n,l;e=new Oy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&U_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=Se()},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=U_(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 U_(i){let e,t;return e=new Cp({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 B_(i){let e,t;return e=new Sp({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 H_(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 wp({props:b}),Ye.push(()=>Ct(e,"isSearchFieldVisible",c)),Ye.push(()=>Ct(e,"displaySearchResult",h)),Ye.push(()=>Ct(e,"searchResult",d)),Ye.push(()=>Ct(e,"inputElem",g)),Ye.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 W_(i){let e,t,n,l;return n=new cp({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 q_(i){let e,t;return e=new Cp({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 z_(i){let e,t;return e=new Sp({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 G_(i){let e,t;return e=new fp({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 Gy(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]&&z_(i),p=i[11].displayed&&G_(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=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(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=Y_(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)&&Yt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Yt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=z_(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=G_(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 K_(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 Ky(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&N_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=L_(I_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&A_(i),y=i[27].displayed&&E_(i),P=i[17].displayed&&R_(i);const N=[qy,Wy],I=[];function V(E,H){return E[30]?0:1}return o=V(i),c=I[o]=N[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"),Yt(e,"no-nav",i[20]),Yt(e,"no-side-nav",i[22]),Yt(e,"no-top-nav",i[25]),Yt(e,"no-animation",i[23]),Yt(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),I[o].m(e,null),h=!0,d||(g=[ee(P_,"resize",i[36]),ee(P_,"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=N_(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=I_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=L_(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=A_(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=E_(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=R_(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)&&Yt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Yt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Yt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Yt(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(By);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(),ht(m,E),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Qe(g)}}}function Jy(i,e,t){const n=Qt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Y,Q,fe,Z=!0,G=!1,J,re,ce,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,we=!1,Je,ye,Le={},ze,Ze,De,et=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:it}=e,{inputElem:de}=e,{customSearchItemRendererSlot:lt}=e,{displaySearchResult:Pt}=e,{searchResult:an}=e,{storedUserSettings:En}=e;const on=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Re&&typeof Ge=="object"&&Ge!==null,he=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{he[He]=B[He]||!1}),he},zt=async(B,ue={})=>{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||I,ue)),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)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(ue)},ot=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),Ge=ut.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ie.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:I}),ue.iframe.pv="pv"}},at=(B,ue,Re,Ge)=>{let Ie=Cn(B.params,Re,Ge);const{preventHistoryEntry:he,preserveQueryParams:He,preventContextUpdate:It}=B.params,Gt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:It};return Ie=ie.addLeadingSlash(Ie),Ie=He?me.composeSearchParamsToRoute(Ie):Ie,ot(B,ue),ut.navigateTo(Ie,Gt)},Zt=B=>B.split("?")[0],Xt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Zt(Ge.path),Zt(Ge.nextPath)].includes(Zt(Re))},Rn=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},Rt=B=>new Promise((ue,Re)=>{Oi(B)?Kl().then(()=>{Rn(),ue()},()=>{Re()}):ue()}),pn=()=>({get:()=>({unsavedChanges:Pe,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:re,context:I,pathParams:E,hideGlobalSearch:Di,hideSideNav:hi,isolateView:Y,pageErrorHandler:Q,previousNodeValues:fe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:G,goBackContext:J,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Vi=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ri=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,re=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Di=B.hideGlobalSearch):ue==="hideSideNav"?(hi!=B.hideSideNav&&(t(23,Vi=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,hi=B.hideSideNav)):ue==="isolateView"?Y=B.isolateView:ue==="pageErrorHandler"?Q=B.pageErrorHandler:ue==="previousNodeValues"?fe=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):ue==="tabNav"?t(15,ae=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?J=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Oi,getUnsavedChangesModalPromise:Rt,showUnsavedChangesModal:Kl,showAlert:gt,prepareInternalData:on,dispatch:n}),li=(B,ue)=>{bn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Yn.deleteCache();const Ge=ut.getCurrentPath();ut.handleRouteChange(Ge,pn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Xt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let It=vt.length;It--;)Vn(It);na.removeBackdrop(),di(),ut.handleRouteChange(Re,pn(),B,ue,Ie,he)})},Jt=(B,ue)=>ie.replaceVars(ut.getNodePath(B),ue,":",!1),Cn=(B,ue,Re)=>{const Ge=ue||D,Ie=Re||E;let he=re;if(ue){let It=ue.parent;for(he=[ue];It;)he.push(It),It=It.parent;he=[...he].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...he].reverse().find(Gt=>Gt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ut.concatenatePath(Jt(It,Ie),B.link)}else if(B.fromParent)He=ut.concatenatePath(Jt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const It=[...he].reverse().find(Gt=>Gt.navigationContext&&Gt.navigationContext.length>0);He=ut.concatenatePath(Jt(It,Ie),B.link)}else if(B.fromContext){const It=B.fromContext,Gt=[...he].reverse().find(Ar=>It===Ar.navigationContext);He=ut.concatenatePath(Jt(Gt,Ie),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ut.concatenatePath(Jt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,Gt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(Gt<Object.keys(B.nodeParams).length-1?"&":"")})),He},yi=B=>{const ue=B.detail.node;Rt().then(()=>{if(ke(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);$(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Pr(Re,ue.drawer)}else pn().set({isNavigationSyncEnabled:!0}),ut.handleRouteClick(ue,pn())},()=>{})},Pi=()=>{t(16,we=!we)};Yr("handleNavigation",at);const vn=B=>B?!0:(console.warn("No search provider defined."),!1),Ii=()=>{vn(ye)&&t(0,it=!1)},Ni=()=>{vn(ye)&&de&&(t(0,it=!0),de.focus())},Ti=()=>{vn(ye)&&de&&(t(1,de.value="",de),Ei())},Li=()=>{t(0,it=!it),Fk.clearSearchField()},Ai=()=>{if(vn(ye)&&de)return de.value},Sl=B=>{vn(ye)&&de&&(t(1,de.value=B,de),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{vn(ye)&&de&&t(1,de.placeholder=B,de)},yl=B=>{if(vn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,lt,ue)}else t(3,Pt=!0),t(4,an=B);else console.warn("Search result array is empty.")},Ei=()=>{if(vn(ye)&&(t(3,Pt=!1),t(4,an=[]),lt))for(;lt.lastElementChild;)lt.removeChild(lt.lastElementChild)},Qi=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};at(Re)},Zi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=_t.getDefaultData().mfSplitView),_t.open(pn(),B,ue)},di=()=>{_t.close(pn())},Pl=()=>{_t.collapse(pn()),t(11,o.collapsed=!0,o)},Il=()=>{_t.expand(pn()),t(11,o.collapsed=!1,o)},Xi=()=>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)},Ri=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,Di,hi,Vi,gi,$i,K;const ke=()=>{document.body.classList.remove("lui-leftNavToggle")},tt=()=>{el();const B=window.innerWidth>=dn.desktopMinWidth&&gi<dn.desktopMinWidth,ue=window.innerWidth<dn.desktopMinWidth&&gi>=dn.desktopMinWidth;(B||ue)&&ke(),gi=window.innerWidth};let je=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},gt=(B,ue=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ie=Re(B,ue);if(Ie!==!1)return Ie}const Ge=je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&bt(Ge,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(()=>{bt(je,B.id)&&Ut(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,je=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Ut=(B,ue)=>{const Re=bt(je,B);if(!Re){console.error("An unexisting alert has been dismissed.",je,B);return}if(t(26,je=je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ce),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ee.sendMessageToIframe(Ge,Ie)}else Re.promise&&Re.promise.resolve(ue||B)},$t=B=>{Ut(B.detail.id,B.detail.dismissKey)};let yn;const _i=()=>{t(27,yn={displayed:!1,content:{},openFromClient:!1,promise:null})};_i();const pi=(B,ue=!1,Re)=>new Promise((Ge,Ie)=>{t(27,yn={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Re})}),El=B=>{const{promise:ue,openFromClient:Re,targetIframe:Ge}=yn;if(_i(),B?ue.resolve():ue.reject(),Re&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ie)}},Oi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>pi({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",Rt);let vt=[];const xi=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,vt=[]);return}let Re;if(t(28,vt=vt.filter((Ie,he)=>(B===he&&(Re=Ie),B!==he))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ie)}};xi();const $=async(B,ue,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Re}};t(28,vt=[...vt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&vt.length===1&&ut.appendModalDataToUrl(B,ue)},Bt=(B,ue)=>{t(28,vt[ue].modalIframe=B.detail.modalIframe,vt),t(28,vt[ue].modalIframeData=B.detail.modalIframeData,vt)},Dn=(B,ue)=>{t(28,vt[ue].modalWC=B.detail.modalWC,vt),t(28,vt[ue].modalWCData=B.detail.modalWCData,vt)},Vn=(B,ue,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&vt.length===1&&ut.removeModalDataFromUrl(It),xi(He,Re)},Ie=vt[B],he=ie.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Rt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Re)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Re))};Yr("openViewInModal",$);let sn={};const Jl=()=>{t(29,sn.displayed=!1,sn),t(29,sn.nodepath=void 0,sn),t(29,sn.settings={},sn),t(12,g=!1)};Jl();const Pr=async(B,ue)=>{await le.shouldPreventNavigationForPath(B)||(t(29,sn.displayed=!0,sn),t(29,sn.nodepath=B,sn),t(29,sn.settings=ue,sn),sn.settings&&sn.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=dn.desktopMinWidth&&sn.displayed&&sn.settings&&!sn.settings.overlap,el=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Re.forEach(Ie=>{Ir(Ie,Ge)})}},Ir=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},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?Rt(p.contentWindow).then(()=>{Jl()},()=>{}):m&&Rt().then(()=>{Jl()},()=>{}),el(!0)}catch(ue){console.log(ue)}},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;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let ue=re;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Re=B.link,Ge=Jt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(He=>He.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Jt(Ie,E);Re=Ge.split(he).join("")}else if(B.fromParent){const Ie=Jt(D.parent,E);Re=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),he=Jt(Ie,E);Re=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(It=>Ie===It.navigationContext),He=Jt(he,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(he=>{const He={msg:"luigi.current-locale-changed",currentLocale:he};Ee.broadcastMessageToAllIframes(He)}),qn.addEventListener("popstate",async he=>{const He=je;if(!He||!(He.length>0))return;const It=He.map(Gt=>{if(Gt&&!Gt.openFromClient&&typeof Gt.settings.ttl=="number"){if(Gt.settings.ttl===0)return null;Gt.settings.ttl--}return Gt}).filter(Gt=>Gt);t(26,je=It)}),qn.addEventListener("message",async he=>{const He=Ee.getValidMessageSource(he),It=vt[vt.length-1],Gt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:Gt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(he,nl),Mi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Mi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const We=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(he.data),Nt=We[Lt.id],un="luigi.updateUserSettings";if(Le&&Lt.id===un){Nt&&console.warn(`The key "${un}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const Pn=Yi.getMicrofrontends().find(xt=>Ee.isMessageSource(he,xt.container));Nt(Lt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ie.navigateOk=!0,gr.preload()),he.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=he.data.clientVersion,He.luigi.initOk=!1,Mi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ie,iframe:nl[We.iframeKey],context:Lt,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 zt(Nt,{})});else if(Ie.iframe&&Ee.isMessageSource(he,Ie.iframe))await zt(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await zt({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(he.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:En[Lt]},iframe:We};await zt(Nt)}}gr.viewGroupLoaded(He)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const We=window.location.href,Lt=Mi?He.luigi.currentNode:void 0,Nt=Mi?He.luigi.pathParams:void 0,un=he.data.params,{intent:Pn,newTab:xt,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=un;let $l=xt||il||Xl||Rl;const ga=()=>{const Zn=ie.getRemotePromise(he.data.remotePromiseId);Zn&&Zn.doResolve()},gn=()=>{const Zn=ie.getRemotePromise(he.data.remotePromiseId);Zn&&Zn.doReject()},Dl=Zn=>{!Zn||We!==window.location.href?ga():gn()};he.source!==window&&!Pn&&un.link&&(un.link=un.link.split("?")[0]);let Ht=Cn(he.data.params,Lt,Nt);if($l=$l||Pn&&Ht.external,!$l)Rt().then(()=>{Z=!he.data.params.withoutSync,at(he.data,Ie,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{gn()}),vt.forEach((Zn,_a)=>{Vn(_a)}),di(),Yl(),Z=!0}).catch(()=>{gn()});else{if(Pn&&Ht.external){ut.navigateToExternalLink({url:Ht.url,sameWindow:!Ht.openInNewTab});return}if(Ht=ie.addLeadingSlash(Ht),xt){await aa(Ht),Dl();return}const Zn=await Zl(Ht);if(Ht=await me.handlePageNotFoundAndRetrieveRedirectPath(pn(),Ht,Zn),!Ht){gn();return}ce=B,il!==void 0?(!il.keepPrevious&&xi(),await $(Ht,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Zi(Ht,Xl),Dl()):Rl!==void 0&&(Jl(),Rl.isDrawer=!0,await Pr(Ht,Rl),Dl())}}if(he.data.msg==="luigi.navigation.back"){const We=vt[vt.length-1],Lt=vt.length>1&&vt[vt.length-2],Nt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ee.isMessageSource(he,We&&We.modalIframe)){Vn(vt.length-1,!0,Nt);let un=Ie;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const Pn=Lt,xt=Pn.modalIframeData;un={pathParams:xt.pathParams,context:xt.context,iframe:Pn.modalIframe}}un.iframe&&await zt(un,{goBackContext:Nt})}else Ee.isMessageSource(he,C)?(di(),Ie.iframe&&await zt(Ie,{goBackContext:Nt})):Ee.isMessageSource(he,p)?(d&&(d=!d),Yl(),Ie.iframe&&await zt(Ie,{goBackContext:Nt})):ne&&ne.length>0?Rt().then(()=>{fi.setActiveIframeToPrevious(B);const un=ne.pop();Ie.iframe=fi.getActiveIframe(B),G=!0,ne=ne,J=Nt,at({params:{link:un.path}},Ie)},()=>{}):(Nt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const We=he.data.data,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Mi){const We=ie.addLeadingSlash(Cn(he.data.params,He.luigi.currentNode,He.luigi.pathParams));ut.updateModalDataInUrl(We,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Lt=He.luigi.pathParams,Nt=he.data.data,un=Cn(Nt,We,Lt),Pn=un?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),un):!1,xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(he.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,he.data.dirty?Pe.dirtySet.add(he.source):Pe.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const We=he.data.data.settings;ce=B,_i(),pi(We,!0,He).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:We}=he.data.data;if(!We.text&&!ie.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ce=B,gt(We,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=he.data.data;We&&Et.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&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&Nr(),he.data.msg==="storage"&&f2.process(He.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(he.data.errorObj,We):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,We)}if(he.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Lt}=he.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Mi)return;const{data:We,keepBrowserHistory:Lt}=he.data;gl.addNodeParams(We,Lt)}if(he.data.msg==="luigi.setAnchor"){const{anchor:We}=he.data;gl.setAnchor(We)}if(he.data.msg==="luigi.setVGData"){const We=he.data,Lt=le.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=le.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),li(B,Ie)}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 ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=Cn(ue),Ge=Re?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>vt.length>0||ne.length!==0;rn(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),gi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();B&&ue&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,ze=Re?B:ue)}}document.body.classList.add("lui-semiCollapsible")}Je=te.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(()=>{Uy()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Qn(()=>{t(19,Ze=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,$i=te.getConfigValue("tag")),t(25,K=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&vt&&vt.length>0&&Vn(vt.length-1)},oa=B=>Vn(B,!0),ws=(B,ue)=>Bt(ue,B),ua=(B,ue)=>Dn(ue,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){En=B,t(5,En)}function ks(B){it=B,t(0,it)}function Ss(B){Pt=B,t(3,Pt)}function Cs(B){an=B,t(4,an)}function ha(B){de=B,t(1,de)}function ys(B){lt=B,t(2,lt)}function Ps(B){it=B,t(0,it)}function Is(B){Pt=B,t(3,Pt)}function Ns(B){an=B,t(4,an)}function Lr(B){de=B,t(1,de)}function Ts(B){lt=B,t(2,lt)}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,it=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,lt=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Pt=B.displaySearchResult),"searchResult"in B&&t(4,an=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[it,de,lt,Pt,an,En,Li,Ei,Qi,ra,a,o,g,E,re,ae,we,Le,ze,Ze,ri,Di,hi,Vi,$i,K,je,yn,vt,sn,et,yi,Pi,Ll,Ri,Al,tt,$t,El,Bt,Dn,Vn,ms,la,jl,Yl,vs,sa,l,r,Ii,Ni,Ti,Ai,Sl,Cl,yl,Zi,di,Pl,Il,Xi,Nl,Tl,gt,pi,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class jy extends Ft{constructor(e){super(),Mt(this,e,Jy,Ky,Vt,{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 Yy=()=>{const{subscribe:i,update:e,reset:t}=vr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},yp=Yy(),Qy=Ak((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=yp;const Zy=()=>new Promise(i=>{Et._init(),hn.init().then(()=>{setTimeout(()=>{let e;Yi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new jy({target:Yi.getLuigiContainer(),props:{store:yp,getTranslation:Qy}}),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()})})});te.setConfigCallbacks(Zy);
53
53
  //# sourceMappingURL=luigi.js.map