@luigi-project/core 2.6.2 → 2.6.4-dev.202310100026

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.
Files changed (3) hide show
  1. package/luigi.js +11 -11
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,11 +1,11 @@
1
- function Fe(){}function iw(i,e){for(const t in e)i[t]=e[t];return i}function lw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Xg(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach(Xg)}function Vl(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xs;function lt(i,e){return Xs||(Xs=document.createElement("a")),Xs.href=e,i===Xs.href}function rw(i){return Object.keys(i).length===0}function Lo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Lo(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(Lo(e,t))}function $g(i,e,t,n){if(i){const l=xg(i,e,t,n);return i[0](l)}}function xg(i,e,t,n){return i[1]&&n?iw(t.ctx.slice(),i[1](n(e))):t.ctx}function e_(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=[],s=Math.max(e.dirty.length,l.length);for(let o=0;o<s;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function t_(i,e,t,n,l,r){if(l){const s=xg(e,t,n,r);i.p(s,l)}}function n_(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 ei(i){return i==null?"":i}function sw(i){return i&&Vl(i.destroy)?i.destroy:Fe}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(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 aw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function K(){return Ne(" ")}function Se(){return Ne("")}function se(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(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 ow(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function oi(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function bi(i,e,t){i.classList[t?"add":"remove"](e)}function uw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class _r{constructor(e=!1){this.is_svg=!1,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=aw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Qr;function Mi(i){Qr=i}function fl(){if(!Qr)throw new Error("Function called outside component initialization");return Qr}function zn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function ua(i){fl().$$.after_update.push(i)}function Xr(i){fl().$$.on_destroy.push(i)}function Ht(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=uw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Jr(i,e){return fl().$$.context.set(i,e),e}function ht(i){return fl().$$.context.get(i)}function Al(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const or=[],$e=[],xs=[],yo=[],fw=Promise.resolve();let Po=!1;function cw(){Po||(Po=!0,fw.then(Ao))}function No(i){xs.push(i)}function bt(i){yo.push(i)}const ko=new Set;let rr=0;function Ao(){if(rr!==0)return;const i=Qr;do{try{for(;rr<or.length;){const e=or[rr];rr++,Mi(e),dw(e.$$)}}catch(e){throw or.length=0,rr=0,e}for(Mi(null),or.length=0,rr=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];ko.has(t)||(ko.add(t),t())}xs.length=0}while(or.length);for(;yo.length;)yo.pop()();Po=!1,ko.clear(),Mi(i)}function dw(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(No)}}const ea=new Set;let Rl;function Ce(){Rl={r:0,c:[],p:Rl}}function ye(){Rl.r||Ze(Rl.c),Rl=Rl.p}function M(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Rl.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function na(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;s!==void 0&&(c=c.slice(),c[s]=o);const g=l&&(e.current=l)(c);let h=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(Ce(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),ye())}):e.block.d(1),g.c(),M(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Ao()}if(lw(i)){const l=fl();if(i.then(r=>{Mi(l),n(e.then,1,e.value,r),Mi(null)},r=>{if(Mi(l),n(e.catch,2,e.error,r),Mi(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 i_(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)}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function We(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||No(()=>{const s=i.$$.on_mount.map(Xg).filter(Vl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(No)}function ze(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function hw(i,e){i.$$.dirty[0]===-1&&(or.push(i),cw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,s,o=[-1]){const c=Qr;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Mf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Mf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};s&&s(g.root);let h=!1;if(g.ctx=t?t(i,e.props||{},(_,p,...b)=>{const v=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&hw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=ow(e.target);g.fragment&&g.fragment.l(_),_.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),We(i,e.target,e.anchor,e.customElement),Ao()}Mi(c)}class Rt{$destroy(){ze(this,1),this.$destroy=Fe}$on(e,t){if(!Vl(t))return Fe;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&&!rw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class gw{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),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ia=new gw;class _w{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new _w;class pw{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 Wn=new pw;class mw{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()=>{Qw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.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),ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ia.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ia.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return vi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),An.removeAllEventListeners();const e=ui.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&&le.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&&le.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(){Wn.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)||{}}}const ra=new mw;class bw{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return re.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:()=>ai.getStorageKey(),getStorageType:()=>ai.getStorageType(),getAuthData:()=>ai.getAuthData(),setAuthData:e=>ai.setAuthData(e),removeAuthData:()=>ai.removeAuthData(),setNewlyAuthorized:()=>ai.setNewlyAuthorized()}}}const l_=new bw,$t={desktopMinWidth:600},vw=[{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"}],ww={cssSelector:"[luigi-app-root]"},Sw={cssSelector:"[luigi-app-loading-indicator]"};class kw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(ww.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 Le.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Le.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Le.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const r_=new kw;class Cw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends Cw{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,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 s=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=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.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}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.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)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class yw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const s_=new yw,Pw={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"}}},Nw=Pw;class Iw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Nw,this.listeners={}}_init(){on.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(le.isFunction(e)){const t=le.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)}),ra.configChanged()}_initCustomImplementation(){this.translationImpl=ra.getConfigValue("settings.customTranslationImplementation"),le.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 s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+gr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const a_=new Iw;class Tw{sendToAll(e){const t=la.convertCustomMessageUserToInternal(e);Le.getMicrofrontendsInDom().map(n=>n.container).map(n=>Le.sendMessageToIframe(n,t))}send(e,t){const n=la.convertCustomMessageUserToInternal(t);Le.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Le.sendMessageToIframe(l,n))}}const Lw=new Tw,sr=[];function Aw(i,e){return{subscribe:dr(i,e).subscribe}}function dr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!sr.length;for(const g of n)g[1](),sr.push(g,i);if(c){for(let g=0;g<sr.length;g+=2)sr[g][0](sr[g+1]);sr.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Rw{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.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<$t.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<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.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(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].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].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const mi=new Rw;class Ew{constructor(){this.documentTitle=dr()}hideAppLoadingIndicator(){const e=document.querySelector(Sw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.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(le.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 sl(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const o_=new Ew;class Dw{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 u_=new Dw;class Vw{constructor(){this.currentTheme}async getAvailableThemes(){return await re.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=re.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!!re.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=re.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){le.isFunction(re.getConfigValue("settings.theming.variables.errorHandling"))?re.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else re.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=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Zr.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")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const f_=new Vw;class Mw{constructor(){this.featureToggleList=dr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const c_=new Mw;class Ow{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.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(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.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 re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.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 d_=new Ow,re=ra,vi=l_,ui=r_,h_=s_,pt=a_,$r=o_,Fw=u_,Io=f_,Ro=c_,al=d_;window.Luigi=ra;window.Luigi.auth=()=>l_;window.Luigi.elements=()=>r_;window.Luigi.navigation=()=>s_;window.Luigi.i18n=()=>a_;window.Luigi.customMessages=()=>Lw;window.Luigi.ux=()=>o_;window.Luigi.globalSearch=()=>u_;window.Luigi.theming=()=>f_;window.Luigi.featureToggles=()=>c_;window.Luigi.routing=()=>d_;class Uw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Le.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Le.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.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)}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.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:pt.getCurrentLocale()})};Le.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=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:pt.getCurrentLocale()})};Le.sendMessageToIframe(o,g)}}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:(Le.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)):ke.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||le.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 s=Le.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Le.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Le.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,v=!1;if(p.length>0&&(b=p.shift(),b===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Le.getMainIframes().filter(P=>P.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Le.hideElementChildren(n)):Le.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Le.createIframe(r,S?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 C=["init",JSON.stringify(l.context)];Le.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=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 y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),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(y)};l.isNavigationSyncEnabled?(Le.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(E=>{Le.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:E[I.userSettingsGroup]},internal:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Le.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Le.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Ln=new Uw;class Bw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Ln.getAllViewGroupSettings();if(!l)return;const r=Le.getIframeContainer(),s=Le.getMainIframes(),o=new Date().getTime();if(s.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.map(_=>_.vg).filter(Boolean),h=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&h.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&h.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Le.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 ar=new Bw;class Hw{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const _=await e;le.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Wn.setRootNode(l)}const r=n.split("/"),o={...re.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),g=c.navigationPath.filter(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!n||r.length===g.length;const h=n.split("/");return c.matchedPath=h.filter((_,p)=>g[p]&&g[p].startsWith(":")||g[p]===_).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Wn.hasChildren(e)){let r=Wn.getChildren(e);r&&(n=r.children)}else try{n=await ia.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 Wn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Wn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Wn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.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,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={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 g=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=gr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}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,s=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 g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=le.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
1
+ function Fe(){}function iw(i,e){for(const t in e)i[t]=e[t];return i}function lw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Xg(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach(Xg)}function Vl(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xs;function lt(i,e){return Xs||(Xs=document.createElement("a")),Xs.href=e,i===Xs.href}function rw(i){return Object.keys(i).length===0}function Lo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Lo(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(Lo(e,t))}function $g(i,e,t,n){if(i){const l=xg(i,e,t,n);return i[0](l)}}function xg(i,e,t,n){return i[1]&&n?iw(t.ctx.slice(),i[1](n(e))):t.ctx}function e_(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=[],s=Math.max(e.dirty.length,l.length);for(let o=0;o<s;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function t_(i,e,t,n,l,r){if(l){const s=xg(e,t,n,r);i.p(s,l)}}function n_(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 ei(i){return i==null?"":i}function sw(i){return i&&Vl(i.destroy)?i.destroy:Fe}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(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 aw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function K(){return Ne(" ")}function Se(){return Ne("")}function se(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(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 ow(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function oi(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function bi(i,e,t){i.classList[t?"add":"remove"](e)}function uw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class _r{constructor(e=!1){this.is_svg=!1,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=aw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Qr;function Mi(i){Qr=i}function fl(){if(!Qr)throw new Error("Function called outside component initialization");return Qr}function zn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function ua(i){fl().$$.after_update.push(i)}function Xr(i){fl().$$.on_destroy.push(i)}function Ht(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=uw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Jr(i,e){return fl().$$.context.set(i,e),e}function ht(i){return fl().$$.context.get(i)}function Al(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const or=[],$e=[],xs=[],yo=[],fw=Promise.resolve();let Po=!1;function cw(){Po||(Po=!0,fw.then(Ao))}function No(i){xs.push(i)}function bt(i){yo.push(i)}const ko=new Set;let rr=0;function Ao(){if(rr!==0)return;const i=Qr;do{try{for(;rr<or.length;){const e=or[rr];rr++,Mi(e),dw(e.$$)}}catch(e){throw or.length=0,rr=0,e}for(Mi(null),or.length=0,rr=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];ko.has(t)||(ko.add(t),t())}xs.length=0}while(or.length);for(;yo.length;)yo.pop()();Po=!1,ko.clear(),Mi(i)}function dw(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(No)}}const ea=new Set;let Rl;function Ce(){Rl={r:0,c:[],p:Rl}}function ye(){Rl.r||Ze(Rl.c),Rl=Rl.p}function M(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Rl.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function na(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;s!==void 0&&(c=c.slice(),c[s]=o);const g=l&&(e.current=l)(c);let h=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(Ce(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),ye())}):e.block.d(1),g.c(),M(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Ao()}if(lw(i)){const l=fl();if(i.then(r=>{Mi(l),n(e.then,1,e.value,r),Mi(null)},r=>{if(Mi(l),n(e.catch,2,e.error,r),Mi(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 i_(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)}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function We(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||No(()=>{const s=i.$$.on_mount.map(Xg).filter(Vl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(No)}function ze(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function hw(i,e){i.$$.dirty[0]===-1&&(or.push(i),cw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,s,o=[-1]){const c=Qr;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Mf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Mf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};s&&s(g.root);let h=!1;if(g.ctx=t?t(i,e.props||{},(_,p,...b)=>{const v=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&hw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=ow(e.target);g.fragment&&g.fragment.l(_),_.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),We(i,e.target,e.anchor,e.customElement),Ao()}Mi(c)}class Rt{$destroy(){ze(this,1),this.$destroy=Fe}$on(e,t){if(!Vl(t))return Fe;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&&!rw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class gw{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),ne.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ne.getConfigValueFromObject(e,t);return ne.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ia=new gw;class _w{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new _w;class pw{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 Wn=new pw;class mw{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()=>{Qw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.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),ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return ne.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ne.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ia.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ne.isFunction(l))try{return await ia.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return vi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),An.removeAllEventListeners();const e=ui.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&&ne.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&&ne.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(){Wn.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)||{}}}const ra=new mw;class bw{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return re.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:()=>ai.getStorageKey(),getStorageType:()=>ai.getStorageType(),getAuthData:()=>ai.getAuthData(),setAuthData:e=>ai.setAuthData(e),removeAuthData:()=>ai.removeAuthData(),setNewlyAuthorized:()=>ai.setNewlyAuthorized()}}}const l_=new bw,$t={desktopMinWidth:600},vw=[{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"}],ww={cssSelector:"[luigi-app-root]"},Sw={cssSelector:"[luigi-app-loading-indicator]"};class kw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(ww.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 Le.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Le.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Le.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const r_=new kw;class Cw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends Cw{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,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 s=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=ne.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(ne.isFunction(n)){const l=ne.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}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(ne.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)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class yw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const s_=new yw,Pw={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"}}},Nw=Pw;class Iw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Nw,this.listeners={}}_init(){on.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(ne.isFunction(e)){const t=ne.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)}),ra.configChanged()}_initCustomImplementation(){this.translationImpl=ra.getConfigValue("settings.customTranslationImplementation"),ne.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 s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+gr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const a_=new Iw;class Tw{sendToAll(e){const t=la.convertCustomMessageUserToInternal(e);Le.getMicrofrontendsInDom().map(n=>n.container).map(n=>Le.sendMessageToIframe(n,t))}send(e,t){const n=la.convertCustomMessageUserToInternal(t);Le.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Le.sendMessageToIframe(l,n))}}const Lw=new Tw,sr=[];function Aw(i,e){return{subscribe:dr(i,e).subscribe}}function dr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!sr.length;for(const g of n)g[1](),sr.push(g,i);if(c){for(let g=0;g<sr.length;g+=2)sr[g][0](sr[g+1]);sr.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Rw{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.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<$t.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<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.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(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].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].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const mi=new Rw;class Ew{constructor(){this.documentTitle=dr()}hideAppLoadingIndicator(){const e=document.querySelector(Sw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ne.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(ne.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 sl(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const o_=new Ew;class Dw{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 u_=new Dw;class Vw{constructor(){this.currentTheme}async getAvailableThemes(){return await re.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=re.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!!re.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=re.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){ne.isFunction(re.getConfigValue("settings.theming.variables.errorHandling"))?re.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else re.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=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Zr.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")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const f_=new Vw;class Mw{constructor(){this.featureToggleList=dr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ne.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const c_=new Mw;class Ow{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.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(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.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 re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.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 d_=new Ow,re=ra,vi=l_,ui=r_,h_=s_,pt=a_,$r=o_,Fw=u_,Io=f_,Ro=c_,al=d_;window.Luigi=ra;window.Luigi.auth=()=>l_;window.Luigi.elements=()=>r_;window.Luigi.navigation=()=>s_;window.Luigi.i18n=()=>a_;window.Luigi.customMessages=()=>Lw;window.Luigi.ux=()=>o_;window.Luigi.globalSearch=()=>u_;window.Luigi.theming=()=>f_;window.Luigi.featureToggles=()=>c_;window.Luigi.routing=()=>d_;class Uw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ne.isElementVisible)}setActiveIframeToPrevious(e){const t=Le.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Le.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ne.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)}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.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:pt.getCurrentLocale()})};Le.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=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:pt.getCurrentLocale()})};Le.sendMessageToIframe(o,g)}}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:(Le.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)):ke.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||ne.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 s=Le.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Le.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Le.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,v=!1;if(p.length>0&&(b=p.shift(),b===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Le.getMainIframes().filter(P=>P.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Le.hideElementChildren(n)):Le.removeElementChildren(n),l.viewUrl){ne.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Le.createIframe(r,S?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 C=["init",JSON.stringify(l.context)];Le.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=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 y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),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(y)};l.isNavigationSyncEnabled?(Le.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(E=>{Le.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:E[I.userSettingsGroup]},internal:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Le.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Le.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Ln=new Uw;class Bw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Ln.getAllViewGroupSettings();if(!l)return;const r=Le.getIframeContainer(),s=Le.getMainIframes(),o=new Date().getTime();if(s.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.map(_=>_.vg).filter(Boolean),h=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&h.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&h.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Le.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 ar=new Bw;class Hw{async getNavigationPath(e,t=""){try{const n=ne.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const _=await e;ne.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Wn.setRootNode(l)}const r=n.split("/"),o={...re.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),g=c.navigationPath.filter(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!n||r.length===g.length;const h=n.split("/");return c.matchedPath=h.filter((_,p)=>g[p]&&g[p].startsWith(":")||g[p]===_).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Wn.hasChildren(e)){let r=Wn.getChildren(e);r&&(n=r.children)}else try{n=await ia.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 Wn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Wn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Wn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.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,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={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 g=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=gr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}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,s=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 g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=ne.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ne.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&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=[h]}}findMatchingNode(e,t){let n=null;const l=t.filter(s=>!!s.pathSegment).length,r=t.filter(s=>s.pathSegment&&s.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.
5
5
  Remove the static node from the configuration to resolve this warning.
6
6
  Affected pathSegment:`,e,"Children:",t),t=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
7
7
  Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
8
- Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=re.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(Wn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?ke.groupNodesBy(n,"category",!0):{children:ke.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!me.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&1<e.pathData.length){const r=this.getTruncatedChildren(t.pathData);let s=[...r].pop(),o;(s.keepSelectedForChildren||s.tabNav)&&(o=s,r.pop(),s=[...r].pop());const c=await this.getChildren(s,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(c,e);n.navParent=g.parent||s,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const h=g.children;Object.values(h).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||s,n.children=h,re.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ke.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&ke.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=0;n<e.length;n++)if(t.push(e[n]),e[n].tabNav){n<e.length-1&&t.push(e[n+1]);break}return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&1<e.pathData.length){let s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const o=await this.getChildren(s.tabNav?s:s.parent,(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=s,n.selectedNodeForTabNav=s,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&le.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Vt=new Hw,ul={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Ww={externalLink:{sameWindow:!1}};class hr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class zw extends hr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=g_({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class qw extends hr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
8
+ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=re.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(Wn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?ke.groupNodesBy(n,"category",!0):{children:ke.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!me.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&1<e.pathData.length){const r=this.getTruncatedChildren(t.pathData);let s=[...r].pop(),o;(s.keepSelectedForChildren||s.tabNav)&&(o=s,r.pop(),s=[...r].pop());const c=await this.getChildren(s,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(c,e);n.navParent=g.parent||s,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const h=g.children;Object.values(h).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||s,n.children=h,re.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ke.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&ke.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=0;n<e.length;n++)if(t.push(e[n]),e[n].tabNav){n<e.length-1&&t.push(e[n+1]);break}return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&1<e.pathData.length){let s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const o=await this.getChildren(s.tabNav?s:s.parent,(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=s,n.selectedNodeForTabNav=s,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(ne.isFunction(e.onNodeActivation)||ne.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Vt=new Hw,ul={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Ww={externalLink:{sameWindow:!1}};class hr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class zw extends hr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=g_({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class qw extends hr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
9
9
  .${e} {
10
10
  grid-template-columns: ${l.columns||"auto"};
11
11
  grid-template-rows: ${l.rows||"auto"};
@@ -23,16 +23,16 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
23
23
  }
24
24
  ${n}
25
25
  </style>
26
- `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const g_=i=>{const e=i.use;if(e){if(e==="grid")return new qw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new hr(i);return new hr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Gw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/");class Kw{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s,o){if(n&&n.contains(t)){const c=document.createElement(e);s&&c.setAttribute("nodeId",s),c.setAttribute("lui_web_component",!0),this.initWC(c,e,n,r,l,s,o),n.replaceChild(c,t)}}initWC(e,t,n,l,r,s,o){const c=r.context;e.extendedContext=r;const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:h=>{n.eventBus&&n.eventBus.onPublishEvent(h,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),addNodeParams:(h,_)=>{o||window.Luigi.routing().addNodeParams(h,_)},getNodeParams:h=>{var p;if(o)return{};const _=(p=e.extendedContext)!=null&&p.nodeParams?e.extendedContext.nodeParams:{};return h?Gw(_):e.extendedContext.nodeParams},setAnchor:h=>{o||window.Luigi.routing().setAnchor(h)},getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node)};if(e.__postProcess){const h=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,h.origin+h.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g}generateWCId(e){let t="",n=new URL(e,location.href).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(s);for(let g=0;g<c.length&&(o=s[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=re.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,s){const o=n.context,c=me.substituteViewUrl(e,{context:o}),g=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(c),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(g)?this.attachWC(g,h,t,n,c,r,s):window.luigiWCFn?window.luigiWCFn(c,g,h,()=>{this.attachWC(g,h,t,n,c,r,s)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,c,()=>{this.attachWC(g,h,t,n,c,r,s)}):this.registerWCFromUrl(c,g).then(()=>{this.attachWC(g,h,t,n,c,r,s)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){const l=n.context;let r;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(r=new hr,r.viewUrl=me.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=s=>{var o=document.createElement("div");return s&&s.slot&&o.setAttribute("slot",s.slot),o}):e.compound.renderer&&(r=g_(e.compound.renderer)),r=r||new hr,new Promise(s=>{this.createCompoundContainerAsync(r,n).then(o=>{const c={};o.eventBus={listeners:c,onPublishEvent:(g,h,_)=>{const p=c[h+"."+g.type]||[];p.push(...c["*."+g.type]||[]),p.forEach(b=>{const v=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");v?v.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(g.detail):g.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((g,h)=>{const _={...l,...g.context},p=r.createCompoundItemContainer(g.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=g.id||"gen_"+h;this.renderWebComponent(g.viewUrl,p,{context:_},g,b,!0),Ff(c,g,b)}),t.appendChild(o),Ff(c,e.compound,"_root",o),s(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;re.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const cr=new Kw;var Yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dl={exports:{}};/**
26
+ `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const g_=i=>{const e=i.use;if(e){if(e==="grid")return new qw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new hr(i);return new hr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Gw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/");class Kw{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s,o){if(n&&n.contains(t)){const c=document.createElement(e);s&&c.setAttribute("nodeId",s),c.setAttribute("lui_web_component",!0),this.initWC(c,e,n,r,l,s,o),n.replaceChild(c,t)}}initWC(e,t,n,l,r,s,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:h=>{n.eventBus&&n.eventBus.onPublishEvent(h,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var h;return(h=e.extendedContext)!=null&&h.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const h={clientPermissions:e.extendedContext.clientPermissions};return me.prepareSearchParamsForClient(h)},getClientPermissions:()=>{var h;return(h=e.extendedContext)!=null&&h.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(h,_)=>{o||window.Luigi.routing().addNodeParams(h,_)},getNodeParams:h=>{var p;if(o)return{};const _=(p=e.extendedContext)!=null&&p.nodeParams?e.extendedContext.nodeParams:{};return h?Gw(_):e.extendedContext.nodeParams},setAnchor:h=>{o||window.Luigi.routing().setAnchor(h)},getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node)};if(e.__postProcess){const h=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,h.origin+h.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g}generateWCId(e){let t="",n=new URL(e,location.href).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(s);for(let g=0;g<c.length&&(o=s[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=re.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,s){const o=n.context,c=me.substituteViewUrl(e,{context:o}),g=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(c),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(g)?this.attachWC(g,h,t,n,c,r,s):window.luigiWCFn?window.luigiWCFn(c,g,h,()=>{this.attachWC(g,h,t,n,c,r,s)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,c,()=>{this.attachWC(g,h,t,n,c,r,s)}):this.registerWCFromUrl(c,g).then(()=>{this.attachWC(g,h,t,n,c,r,s)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){const l=n.context;let r;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(r=new hr,r.viewUrl=me.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=s=>{var o=document.createElement("div");return s&&s.slot&&o.setAttribute("slot",s.slot),o}):e.compound.renderer&&(r=g_(e.compound.renderer)),r=r||new hr,new Promise(s=>{this.createCompoundContainerAsync(r,n).then(o=>{const c={};o.eventBus={listeners:c,onPublishEvent:(g,h,_)=>{const p=c[h+"."+g.type]||[];p.push(...c["*."+g.type]||[]),p.forEach(b=>{const v=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");v?v.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(g.detail):g.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((g,h)=>{const _={...l,...g.context},p=r.createCompoundItemContainer(g.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=g.id||"gen_"+h;this.renderWebComponent(g.viewUrl,p,{context:_},g,b,!0),Ff(c,g,b)}),t.appendChild(o),Ff(c,e.compound,"_root",o),s(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;re.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const cr=new Kw;var Yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dl={exports:{}};/**
27
27
  * @license
28
28
  * Lodash <https://lodash.com/>
29
29
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
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
- */(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,b=4,v=1,S=2,y=1,C=2,P=4,I=8,E=16,T=32,R=64,O=128,U=256,F=512,H=30,G="...",x=800,$=16,pe=1,ne=2,W=3,ue=1/0,ee=9007199254740991,Y=17976931348623157e292,Pe=0/0,ie=4294967295,Ue=ie-1,Ie=ie>>>1,ce=[["ary",O],["bind",y],["bindKey",C],["curry",I],["curryRight",E],["flip",F],["partial",T],["partialRight",R],["rearg",U]],X="[object Arguments]",he="[object Array]",ae="[object AsyncFunction]",Ve="[object Boolean]",He="[object Date]",be="[object DOMException]",Ge="[object Error]",St="[object Function]",Wt="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",pn="[object Null]",un="[object Object]",mn="[object Promise]",Bi="[object Proxy]",bn="[object RegExp]",Qt="[object Set]",Rn="[object String]",Et="[object Symbol]",cl="[object Undefined]",xt="[object WeakMap]",fn="[object WeakSet]",qn="[object ArrayBuffer]",qt="[object DataView]",Cn="[object Float32Array]",fi="[object Float64Array]",ci="[object Int8Array]",cn="[object Int16Array]",Ci="[object Int32Array]",te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",at="[object Uint16Array]",Nt="[object Uint32Array]",Ct=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,En=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gn=/&(?:amp|lt|gt|quot|#39);/g,ni=/[&<>"']/g,Ml=RegExp(Gn.source),Hi=RegExp(ni.source),pr=/<%-([\s\S]+?)%>/g,mr=/<%([\s\S]+?)%>/g,Ol=/<%=([\s\S]+?)%>/g,br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vr=/^\w*$/,wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dl=/[\\^$.*+?()[\]{}|]/g,Sr=RegExp(dl.source),yi=/^\s+/,Wi=/\s/,hl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zi=/\{\n\/\* \[wrapped with (.+)\] \*/,Fl=/,? & /,Ul=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bl=/[()=,{}\[\]\/\s]/,kr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qi=/\w*$/,gl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,Cr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Wl=/['\n\r\u2028\u2029\\]/g,Pi="\\ud800-\\udfff",yr="\\u0300-\\u036f",gt="\\ufe20-\\ufe2f",ml="\\u20d0-\\u20ff",Ki=yr+gt+ml,bl="\\u2700-\\u27bf",vl="a-z\\xdf-\\xf6\\xf8-\\xff",J="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",hi=" \\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",es="A-Z\\xc0-\\xd6\\xd8-\\xde",wl="\\ufe0e\\ufe0f",ts=J+tt+dn+hi,Pr="['\u2019]",ca="["+Pi+"]",zl="["+ts+"]",ql="["+Ki+"]",ns="\\d+",da="["+bl+"]",is="["+vl+"]",ls="[^"+Pi+ts+ns+bl+vl+es+"]",Gl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+ql+"|"+Gl+")",Nr="[^"+Pi+"]",Ir="(?:\\ud83c[\\udde6-\\uddff]){2}",Tr="[\\ud800-\\udbff][\\udc00-\\udfff]",ji="["+es+"]",rs="\\u200d",ss="(?:"+is+"|"+ls+")",ga="(?:"+ji+"|"+ls+")",as="(?:"+Pr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+Pr+"(?:D|LL|M|RE|S|T|VE))?",us=ha+"?",fs="["+wl+"]?",_a="(?:"+rs+"(?:"+[Nr,Ir,Tr].join("|")+")"+fs+us+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B=fs+us+_a,fe="(?:"+[da,Ir,Tr].join("|")+")"+B,Ee="(?:"+[Nr+ql+"?",ql,Ir,Tr,ca].join("|")+")",je=RegExp(Pr,"g"),Oe=RegExp(ql,"g"),we=RegExp(Gl+"(?="+Gl+")|"+Ee+B,"g"),De=RegExp([ji+"?"+is+"+"+as+"(?="+[zl,ji,"$"].join("|")+")",ga+"+"+os+"(?="+[zl,ji+ss,"$"].join("|")+")",ji+"?"+ss+"+"+as,ji+"+"+os,ma,pa,ns,fe].join("|"),"g"),_t=RegExp("["+rs+Pi+Ki+wl+"]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lr=["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"],Ji=-1,yt={};yt[Cn]=yt[fi]=yt[ci]=yt[cn]=yt[Ci]=yt[te]=yt[Ae]=yt[at]=yt[Nt]=!0,yt[X]=yt[he]=yt[qn]=yt[Ve]=yt[qt]=yt[He]=yt[Ge]=yt[St]=yt[kt]=yt[Yt]=yt[un]=yt[bn]=yt[Qt]=yt[Rn]=yt[xt]=!1;var dt={};dt[X]=dt[he]=dt[qn]=dt[qt]=dt[Ve]=dt[He]=dt[Cn]=dt[fi]=dt[ci]=dt[cn]=dt[Ci]=dt[kt]=dt[Yt]=dt[un]=dt[bn]=dt[Qt]=dt[Rn]=dt[Et]=dt[te]=dt[Ae]=dt[at]=dt[Nt]=!0,dt[Ge]=dt[St]=dt[xt]=!1;var Ar={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},It={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},en=parseFloat,Dn=parseInt,Kn=typeof Yr=="object"&&Yr&&Yr.Object===Object&&Yr,Sl=typeof self=="object"&&self&&self.Object===Object&&self,Gt=Kn||Sl||Function("return this")(),Yi=e&&!e.nodeType&&e,Qi=Yi&&!0&&i&&!i.nodeType&&i,Kl=Qi&&Qi.exports===Yi,Rr=Kl&&Kn.process,rn=function(){try{var Q=Qi&&Qi.require&&Qi.require("util").types;return Q||Rr&&Rr.binding&&Rr.binding("util")}catch{}}(),Zi=rn&&rn.isArrayBuffer,sn=rn&&rn.isDate,Vn=rn&&rn.isMap,cs=rn&&rn.isRegExp,Do=rn&&rn.isSet,Vo=rn&&rn.isTypedArray;function Mn(Q,de,oe){switch(oe.length){case 0:return Q.call(de);case 1:return Q.call(de,oe[0]);case 2:return Q.call(de,oe[0],oe[1]);case 3:return Q.call(de,oe[0],oe[1],oe[2])}return Q.apply(de,oe)}function N_(Q,de,oe,Me){for(var Xe=-1,mt=Q==null?0:Q.length;++Xe<mt;){var Zt=Q[Xe];de(Me,Zt,oe(Zt),Q)}return Me}function jn(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me&&de(Q[oe],oe,Q)!==!1;);return Q}function I_(Q,de){for(var oe=Q==null?0:Q.length;oe--&&de(Q[oe],oe,Q)!==!1;);return Q}function Mo(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(!de(Q[oe],oe,Q))return!1;return!0}function Xi(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];de(Zt,oe,Q)&&(mt[Xe++]=Zt)}return mt}function ds(Q,de){var oe=Q==null?0:Q.length;return!!oe&&jl(Q,de,0)>-1}function ba(Q,de,oe){for(var Me=-1,Xe=Q==null?0:Q.length;++Me<Xe;)if(oe(de,Q[Me]))return!0;return!1}function Ft(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=Array(Me);++oe<Me;)Xe[oe]=de(Q[oe],oe,Q);return Xe}function $i(Q,de){for(var oe=-1,Me=de.length,Xe=Q.length;++oe<Me;)Q[Xe+oe]=de[oe];return Q}function va(Q,de,oe,Me){var Xe=-1,mt=Q==null?0:Q.length;for(Me&&mt&&(oe=Q[++Xe]);++Xe<mt;)oe=de(oe,Q[Xe],Xe,Q);return oe}function T_(Q,de,oe,Me){var Xe=Q==null?0:Q.length;for(Me&&Xe&&(oe=Q[--Xe]);Xe--;)oe=de(oe,Q[Xe],Xe,Q);return oe}function wa(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(de(Q[oe],oe,Q))return!0;return!1}var L_=Sa("length");function A_(Q){return Q.split("")}function R_(Q){return Q.match(Ul)||[]}function Oo(Q,de,oe){var Me;return oe(Q,function(Xe,mt,Zt){if(de(Xe,mt,Zt))return Me=mt,!1}),Me}function hs(Q,de,oe,Me){for(var Xe=Q.length,mt=oe+(Me?1:-1);Me?mt--:++mt<Xe;)if(de(Q[mt],mt,Q))return mt;return-1}function jl(Q,de,oe){return de===de?q_(Q,de,oe):hs(Q,Fo,oe)}function E_(Q,de,oe,Me){for(var Xe=oe-1,mt=Q.length;++Xe<mt;)if(Me(Q[Xe],de))return Xe;return-1}function Fo(Q){return Q!==Q}function Uo(Q,de){var oe=Q==null?0:Q.length;return oe?Ca(Q,de)/oe:Pe}function Sa(Q){return function(de){return de==null?t:de[Q]}}function ka(Q){return function(de){return Q==null?t:Q[de]}}function Bo(Q,de,oe,Me,Xe){return Xe(Q,function(mt,Zt,Lt){oe=Me?(Me=!1,mt):de(oe,mt,Zt,Lt)}),oe}function D_(Q,de){var oe=Q.length;for(Q.sort(de);oe--;)Q[oe]=Q[oe].value;return Q}function Ca(Q,de){for(var oe,Me=-1,Xe=Q.length;++Me<Xe;){var mt=de(Q[Me]);mt!==t&&(oe=oe===t?mt:oe+mt)}return oe}function ya(Q,de){for(var oe=-1,Me=Array(Q);++oe<Q;)Me[oe]=de(oe);return Me}function V_(Q,de){return Ft(de,function(oe){return[oe,Q[oe]]})}function Ho(Q){return Q&&Q.slice(0,Go(Q)+1).replace(yi,"")}function On(Q){return function(de){return Q(de)}}function Pa(Q,de){return Ft(de,function(oe){return Q[oe]})}function Er(Q,de){return Q.has(de)}function Wo(Q,de){for(var oe=-1,Me=Q.length;++oe<Me&&jl(de,Q[oe],0)>-1;);return oe}function zo(Q,de){for(var oe=Q.length;oe--&&jl(de,Q[oe],0)>-1;);return oe}function M_(Q,de){for(var oe=Q.length,Me=0;oe--;)Q[oe]===de&&++Me;return Me}var O_=ka(Ar),F_=ka(Ke);function U_(Q){return"\\"+Dt[Q]}function B_(Q,de){return Q==null?t:Q[de]}function Jl(Q){return _t.test(Q)}function H_(Q){return Ot.test(Q)}function W_(Q){for(var de,oe=[];!(de=Q.next()).done;)oe.push(de.value);return oe}function Na(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me,Xe){oe[++de]=[Xe,Me]}),oe}function qo(Q,de){return function(oe){return Q(de(oe))}}function xi(Q,de){for(var oe=-1,Me=Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];(Zt===de||Zt===h)&&(Q[oe]=h,mt[Xe++]=oe)}return mt}function gs(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=Me}),oe}function z_(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=[Me,Me]}),oe}function q_(Q,de,oe){for(var Me=oe-1,Xe=Q.length;++Me<Xe;)if(Q[Me]===de)return Me;return-1}function G_(Q,de,oe){for(var Me=oe+1;Me--;)if(Q[Me]===de)return Me;return Me}function Yl(Q){return Jl(Q)?j_(Q):L_(Q)}function ii(Q){return Jl(Q)?J_(Q):A_(Q)}function Go(Q){for(var de=Q.length;de--&&Wi.test(Q.charAt(de)););return de}var K_=ka(It);function j_(Q){for(var de=we.lastIndex=0;we.test(Q);)++de;return de}function J_(Q){return Q.match(we)||[]}function Y_(Q){return Q.match(De)||[]}var Q_=function Q(de){de=de==null?Gt:Ql.defaults(Gt.Object(),de,Ql.pick(Gt,Lr));var oe=de.Array,Me=de.Date,Xe=de.Error,mt=de.Function,Zt=de.Math,Lt=de.Object,Ia=de.RegExp,Z_=de.String,Jn=de.TypeError,_s=oe.prototype,X_=mt.prototype,Zl=Lt.prototype,ps=de["__core-js_shared__"],ms=X_.toString,Pt=Zl.hasOwnProperty,$_=0,Ko=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=Zl.toString,x_=ms.call(Lt),ep=Gt._,tp=Ia("^"+ms.call(Pt).replace(dl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=Kl?de.Buffer:t,el=de.Symbol,ws=de.Uint8Array,jo=vs?vs.allocUnsafe:t,Ss=qo(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Zl.propertyIsEnumerable,ks=_s.splice,Qo=el?el.isConcatSpreadable:t,Dr=el?el.iterator:t,kl=el?el.toStringTag:t,Cs=function(){try{var a=Il(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),np=de.clearTimeout!==Gt.clearTimeout&&de.clearTimeout,ip=Me&&Me.now!==Gt.Date.now&&Me.now,lp=de.setTimeout!==Gt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,Ta=Lt.getOwnPropertySymbols,rp=vs?vs.isBuffer:t,Zo=de.isFinite,sp=_s.join,ap=qo(Lt.keys,Lt),Xt=Zt.max,hn=Zt.min,op=Me.now,up=de.parseInt,Xo=Zt.random,fp=_s.reverse,La=Il(de,"DataView"),Vr=Il(de,"Map"),Aa=Il(de,"Promise"),Xl=Il(de,"Set"),Mr=Il(de,"WeakMap"),Or=Il(Lt,"create"),Ns=Mr&&new Mr,$l={},cp=Tl(La),dp=Tl(Vr),hp=Tl(Aa),gp=Tl(Xl),_p=Tl(Mr),Is=el?el.prototype:t,Fr=Is?Is.valueOf:t,$o=Is?Is.toString:t;function D(a){if(zt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof Yn)return a;if(Pt.call(a,"__wrapped__"))return xu(a)}return new Yn(a)}var xl=function(){function a(){}return function(u){if(!Bt(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function Yn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}D.templateSettings={escape:pr,evaluate:mr,interpolate:Ol,variable:"",imports:{_:D}},D.prototype=Ts.prototype,D.prototype.constructor=D,Yn.prototype=xl(Ts.prototype),Yn.prototype.constructor=Yn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function pp(){var a=new ut(this.__wrapped__);return a.__actions__=Pn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Pn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Pn(this.__views__),a}function mp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function bp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,N=d?a.length:0,V=Am(0,N,this.__views__),z=V.start,j=V.end,Z=j-z,ge=m?j:z-1,_e=this.__iteratees__,ve=_e.length,Re=0,Be=hn(Z,this.__takeCount__);if(!d||!m&&N==Z&&Be==Z)return ku(a,this.__actions__);var Ye=[];e:for(;Z--&&Re<Be;){ge+=u;for(var it=-1,Qe=a[ge];++it<ve;){var ot=_e[it],ft=ot.iteratee,Bn=ot.type,Sn=ft(Qe);if(Bn==ne)Qe=Sn;else if(!Sn){if(Bn==pe)continue e;break e}}Ye[Re++]=Qe}return Ye}ut.prototype=xl(Ts.prototype),ut.prototype.constructor=ut;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function vp(){this.__data__=Or?Or(null):{},this.size=0}function wp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Sp(a){var u=this.__data__;if(Or){var d=u[a];return d===c?t:d}return Pt.call(u,a)?u[a]:t}function kp(a){var u=this.__data__;return Or?u[a]!==t:Pt.call(u,a)}function Cp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Or&&u===t?c:u,this}Cl.prototype.clear=vp,Cl.prototype.delete=wp,Cl.prototype.get=Sp,Cl.prototype.has=kp,Cl.prototype.set=Cp;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function yp(){this.__data__=[],this.size=0}function Pp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():ks.call(u,d,1),--this.size,!0}function Np(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Ip(a){return Ls(this.__data__,a)>-1}function Tp(a,u){var d=this.__data__,m=Ls(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ni.prototype.clear=yp,Ni.prototype.delete=Pp,Ni.prototype.get=Np,Ni.prototype.has=Ip,Ni.prototype.set=Tp;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Lp(){this.size=0,this.__data__={hash:new Cl,map:new(Vr||Ni),string:new Cl}}function Ap(a){var u=Ws(this,a).delete(a);return this.size-=u?1:0,u}function Rp(a){return Ws(this,a).get(a)}function Ep(a){return Ws(this,a).has(a)}function Dp(a,u){var d=Ws(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ii.prototype.clear=Lp,Ii.prototype.delete=Ap,Ii.prototype.get=Rp,Ii.prototype.has=Ep,Ii.prototype.set=Dp;function yl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Vp(a){return this.__data__.set(a,c),this}function Mp(a){return this.__data__.has(a)}yl.prototype.add=yl.prototype.push=Vp,yl.prototype.has=Mp;function li(a){var u=this.__data__=new Ni(a);this.size=u.size}function Op(){this.__data__=new Ni,this.size=0}function Fp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Up(a){return this.__data__.get(a)}function Bp(a){return this.__data__.has(a)}function Hp(a,u){var d=this.__data__;if(d instanceof Ni){var m=d.__data__;if(!Vr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(m)}return d.set(a,u),this.size=d.size,this}li.prototype.clear=Op,li.prototype.delete=Fp,li.prototype.get=Up,li.prototype.has=Bp,li.prototype.set=Hp;function xo(a,u){var d=xe(a),m=!d&&Ll(a),N=!d&&!m&&rl(a),V=!d&&!m&&!N&&ir(a),z=d||m||N||V,j=z?ya(a.length,Z_):[],Z=j.length;for(var ge in a)(u||Pt.call(a,ge))&&!(z&&(ge=="length"||N&&(ge=="offset"||ge=="parent")||V&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ri(ge,Z)))&&j.push(ge);return j}function eu(a){var u=a.length;return u?a[Wa(0,u-1)]:t}function Wp(a,u){return zs(Pn(a),Pl(u,0,a.length))}function zp(a){return zs(Pn(a))}function Ra(a,u,d){(d!==t&&!ri(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Ur(a,u,d){var m=a[u];(!(Pt.call(a,u)&&ri(m,d))||d===t&&!(u in a))&&Ti(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ri(a[d][0],u))return d;return-1}function qp(a,u,d,m){return tl(a,function(N,V,z){u(m,N,d(N),z)}),m}function tu(a,u){return a&&_i(u,tn(u),a)}function Gp(a,u){return a&&_i(u,In(u),a)}function Ti(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Ea(a,u){for(var d=-1,m=u.length,N=oe(m),V=a==null;++d<m;)N[d]=V?t:ho(a,u[d]);return N}function Pl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Qn(a,u,d,m,N,V){var z,j=u&_,Z=u&p,ge=u&b;if(d&&(z=N?d(a,m,N,V):d(a)),z!==t)return z;if(!Bt(a))return a;var _e=xe(a);if(_e){if(z=Em(a),!j)return Pn(a,z)}else{var ve=gn(a),Re=ve==St||ve==Wt;if(rl(a))return Pu(a,j);if(ve==un||ve==X||Re&&!N){if(z=Z||Re?{}:Gu(a),!j)return Z?Sm(a,Gp(z,a)):wm(a,tu(z,a))}else{if(!dt[ve])return N?a:{};z=Dm(a,ve,j)}}V||(V=new li);var Be=V.get(a);if(Be)return Be;V.set(a,z),wf(a)?a.forEach(function(Qe){z.add(Qn(Qe,u,d,Qe,a,V))}):bf(a)&&a.forEach(function(Qe,ot){z.set(ot,Qn(Qe,u,d,ot,a,V))});var Ye=ge?Z?$a:Xa:Z?In:tn,it=_e?t:Ye(a);return jn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Ur(z,ot,Qn(Qe,u,d,ot,a,V))}),z}function Kp(a){var u=tn(a);return function(d){return nu(d,a,u)}}function nu(a,u,d){var m=d.length;if(a==null)return!m;for(a=Lt(a);m--;){var N=d[m],V=u[N],z=a[N];if(z===t&&!(N in a)||!V(z))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Jn(s);return Kr(function(){a.apply(t,d)},u)}function Br(a,u,d,m){var N=-1,V=ds,z=!0,j=a.length,Z=[],ge=u.length;if(!j)return Z;d&&(u=Ft(u,On(d))),m?(V=ba,z=!1):u.length>=l&&(V=Er,z=!1,u=new yl(u));e:for(;++N<j;){var _e=a[N],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,z&&ve===ve){for(var Re=ge;Re--;)if(u[Re]===ve)continue e;Z.push(_e)}else V(u,ve,m)||Z.push(_e)}return Z}var tl=Au(gi),lu=Au(Va,!0);function jp(a,u){var d=!0;return tl(a,function(m,N,V){return d=!!u(m,N,V),d}),d}function As(a,u,d){for(var m=-1,N=a.length;++m<N;){var V=a[m],z=u(V);if(z!=null&&(j===t?z===z&&!Un(z):d(z,j)))var j=z,Z=V}return Z}function Jp(a,u,d,m){var N=a.length;for(d=nt(d),d<0&&(d=-d>N?0:N+d),m=m===t||m>N?N:nt(m),m<0&&(m+=N),m=d>m?0:kf(m);d<m;)a[d++]=u;return a}function ru(a,u){var d=[];return tl(a,function(m,N,V){u(m,N,V)&&d.push(m)}),d}function an(a,u,d,m,N){var V=-1,z=a.length;for(d||(d=Mm),N||(N=[]);++V<z;){var j=a[V];u>0&&d(j)?u>1?an(j,u-1,d,m,N):$i(N,j):m||(N[N.length]=j)}return N}var Da=Ru(),su=Ru(!0);function gi(a,u){return a&&Da(a,u,tn)}function Va(a,u){return a&&su(a,u,tn)}function Rs(a,u){return Xi(u,function(d){return Ei(a[d])})}function Nl(a,u){u=il(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[pi(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:$i(m,d(a))}function vn(a){return a==null?a===t?cl:pn:kl&&kl in Lt(a)?Lm(a):zm(a)}function Ma(a,u){return a>u}function Yp(a,u){return a!=null&&Pt.call(a,u)}function Qp(a,u){return a!=null&&u in Lt(a)}function Zp(a,u,d){return a>=hn(u,d)&&a<Xt(u,d)}function Oa(a,u,d){for(var m=d?ba:ds,N=a[0].length,V=a.length,z=V,j=oe(V),Z=1/0,ge=[];z--;){var _e=a[z];z&&u&&(_e=Ft(_e,On(u))),Z=hn(_e.length,Z),j[z]=!d&&(u||N>=120&&_e.length>=120)?new yl(z&&_e):t}_e=a[0];var ve=-1,Re=j[0];e:for(;++ve<N&&ge.length<Z;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Re?Er(Re,Ye):m(ge,Ye,d))){for(z=V;--z;){var it=j[z];if(!(it?Er(it,Ye):m(a[z],Ye,d)))continue e}Re&&Re.push(Ye),ge.push(Be)}}return ge}function Xp(a,u,d,m){return gi(a,function(N,V,z){u(m,d(N),V,z)}),m}function Hr(a,u,d){u=il(u,a),a=Yu(a,u);var m=a==null?a:a[pi(Xn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&vn(a)==X}function $p(a){return zt(a)&&vn(a)==qn}function xp(a){return zt(a)&&vn(a)==He}function Wr(a,u,d,m,N){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:em(a,u,d,m,Wr,N)}function em(a,u,d,m,N,V){var z=xe(a),j=xe(u),Z=z?he:gn(a),ge=j?he:gn(u);Z=Z==X?un:Z,ge=ge==X?un:ge;var _e=Z==un,ve=ge==un,Re=Z==ge;if(Re&&rl(a)){if(!rl(u))return!1;z=!0,_e=!1}if(Re&&!_e)return V||(V=new li),z||ir(a)?Wu(a,u,d,m,N,V):Im(a,u,Z,d,m,N,V);if(!(d&v)){var Be=_e&&Pt.call(a,"__wrapped__"),Ye=ve&&Pt.call(u,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Qe=Ye?u.value():u;return V||(V=new li),N(it,Qe,d,m,V)}}return Re?(V||(V=new li),Tm(a,u,d,m,N,V)):!1}function tm(a){return zt(a)&&gn(a)==kt}function Fa(a,u,d,m){var N=d.length,V=N,z=!m;if(a==null)return!V;for(a=Lt(a);N--;){var j=d[N];if(z&&j[2]?j[1]!==a[j[0]]:!(j[0]in a))return!1}for(;++N<V;){j=d[N];var Z=j[0],ge=a[Z],_e=j[1];if(z&&j[2]){if(ge===t&&!(Z in a))return!1}else{var ve=new li;if(m)var Re=m(ge,_e,Z,a,u,ve);if(!(Re===t?Wr(_e,ge,v|S,m,ve):Re))return!1}}return!0}function uu(a){if(!Bt(a)||Fm(a))return!1;var u=Ei(a)?tp:Cr;return u.test(Tl(a))}function nm(a){return zt(a)&&vn(a)==bn}function im(a){return zt(a)&&gn(a)==Qt}function lm(a){return zt(a)&&Ys(a.length)&&!!yt[vn(a)]}function fu(a){return typeof a=="function"?a:a==null?Tn:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ua(a){if(!Gr(a))return ap(a);var u=[];for(var d in Lt(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function rm(a){if(!Bt(a))return Wm(a);var u=Gr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Ba(a,u){return a<u}function cu(a,u){var d=-1,m=Nn(a)?oe(a.length):[];return tl(a,function(N,V,z){m[++d]=u(N,V,z)}),m}function du(a){var u=eo(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Fa(d,a,u)}}function hu(a,u){return no(a)&&Ku(u)?ju(pi(a),u):function(d){var m=ho(d,a);return m===t&&m===u?go(d,a):Wr(u,m,v|S)}}function Es(a,u,d,m,N){a!==u&&Da(u,function(V,z){if(N||(N=new li),Bt(V))sm(a,u,z,d,Es,m,N);else{var j=m?m(lo(a,z),V,z+"",a,u,N):t;j===t&&(j=V),Ra(a,z,j)}},In)}function sm(a,u,d,m,N,V,z){var j=lo(a,d),Z=lo(u,d),ge=z.get(Z);if(ge){Ra(a,d,ge);return}var _e=V?V(j,Z,d+"",a,u,z):t,ve=_e===t;if(ve){var Re=xe(Z),Be=!Re&&rl(Z),Ye=!Re&&!Be&&ir(Z);_e=Z,Re||Be||Ye?xe(j)?_e=j:Kt(j)?_e=Pn(j):Be?(ve=!1,_e=Pu(Z,!0)):Ye?(ve=!1,_e=Nu(Z,!0)):_e=[]:jr(Z)||Ll(Z)?(_e=j,Ll(j)?_e=Cf(j):(!Bt(j)||Ei(j))&&(_e=Gu(Z))):ve=!1}ve&&(z.set(Z,_e),N(_e,Z,m,V,z),z.delete(Z)),Ra(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ri(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ft(u,function(V){return xe(V)?function(z){return Nl(z,V.length===1?V[0]:V)}:V}):u=[Tn];var m=-1;u=Ft(u,On(Je()));var N=cu(a,function(V,z,j){var Z=Ft(u,function(ge){return ge(V)});return{criteria:Z,index:++m,value:V}});return D_(N,function(V,z){return vm(V,z,d)})}function am(a,u){return pu(a,u,function(d,m){return go(a,m)})}function pu(a,u,d){for(var m=-1,N=u.length,V={};++m<N;){var z=u[m],j=Nl(a,z);d(j,z)&&zr(V,il(z,a),j)}return V}function om(a){return function(u){return Nl(u,a)}}function Ha(a,u,d,m){var N=m?E_:jl,V=-1,z=u.length,j=a;for(a===u&&(u=Pn(u)),d&&(j=Ft(a,On(d)));++V<z;)for(var Z=0,ge=u[V],_e=d?d(ge):ge;(Z=N(j,_e,Z,m))>-1;)j!==a&&ks.call(j,Z,1),ks.call(a,Z,1);return a}function mu(a,u){for(var d=a?u.length:0,m=d-1;d--;){var N=u[d];if(d==m||N!==V){var V=N;Ri(N)?ks.call(a,N,1):Ga(a,N)}}return a}function Wa(a,u){return a+Ps(Xo()*(u-a+1))}function um(a,u,d,m){for(var N=-1,V=Xt(ys((u-a)/(d||1)),0),z=oe(V);V--;)z[m?V:++N]=a,a+=d;return z}function za(a,u){var d="";if(!a||u<1||u>ee)return d;do u%2&&(d+=a),u=Ps(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return ro(Ju(a,u,Tn),a+"")}function fm(a){return eu(lr(a))}function cm(a,u){var d=lr(a);return zs(d,Pl(u,0,d.length))}function zr(a,u,d,m){if(!Bt(a))return a;u=il(u,a);for(var N=-1,V=u.length,z=V-1,j=a;j!=null&&++N<V;){var Z=pi(u[N]),ge=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(N!=z){var _e=j[Z];ge=m?m(_e,Z,j):t,ge===t&&(ge=Bt(_e)?_e:Ri(u[N+1])?[]:{})}Ur(j,Z,ge),j=j[Z]}return a}var bu=Ns?function(a,u){return Ns.set(a,u),a}:Tn,dm=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:po(u),writable:!0})}:Tn;function hm(a){return zs(lr(a))}function Zn(a,u,d){var m=-1,N=a.length;u<0&&(u=-u>N?0:N+u),d=d>N?N:d,d<0&&(d+=N),N=u>d?0:d-u>>>0,u>>>=0;for(var V=oe(N);++m<N;)V[m]=a[m+u];return V}function gm(a,u){var d;return tl(a,function(m,N,V){return d=u(m,N,V),!d}),!!d}function Ds(a,u,d){var m=0,N=a==null?m:a.length;if(typeof u=="number"&&u===u&&N<=Ie){for(;m<N;){var V=m+N>>>1,z=a[V];z!==null&&!Un(z)&&(d?z<=u:z<u)?m=V+1:N=V}return N}return qa(a,u,Tn,d)}function qa(a,u,d,m){var N=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var z=u!==u,j=u===null,Z=Un(u),ge=u===t;N<V;){var _e=Ps((N+V)/2),ve=d(a[_e]),Re=ve!==t,Be=ve===null,Ye=ve===ve,it=Un(ve);if(z)var Qe=m||Ye;else ge?Qe=Ye&&(m||Re):j?Qe=Ye&&Re&&(m||!Be):Z?Qe=Ye&&Re&&!Be&&(m||!it):Be||it?Qe=!1:Qe=m?ve<=u:ve<u;Qe?N=_e+1:V=_e}return hn(V,Ue)}function vu(a,u){for(var d=-1,m=a.length,N=0,V=[];++d<m;){var z=a[d],j=u?u(z):z;if(!d||!ri(j,Z)){var Z=j;V[N++]=z===0?0:z}}return V}function wu(a){return typeof a=="number"?a:Un(a)?Pe:+a}function Fn(a){if(typeof a=="string")return a;if(xe(a))return Ft(a,Fn)+"";if(Un(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function nl(a,u,d){var m=-1,N=ds,V=a.length,z=!0,j=[],Z=j;if(d)z=!1,N=ba;else if(V>=l){var ge=u?null:Pm(a);if(ge)return gs(ge);z=!1,N=Er,Z=new yl}else Z=u?[]:j;e:for(;++m<V;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,z&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),j.push(_e)}else N(Z,ve,d)||(Z!==j&&Z.push(ve),j.push(_e))}return j}function Ga(a,u){return u=il(u,a),a=Yu(a,u),a==null||delete a[pi(Xn(u))]}function Su(a,u,d,m){return zr(a,u,d(Nl(a,u)),m)}function Vs(a,u,d,m){for(var N=a.length,V=m?N:-1;(m?V--:++V<N)&&u(a[V],V,a););return d?Zn(a,m?0:V,m?V+1:N):Zn(a,m?V+1:0,m?N:V)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),va(u,function(m,N){return N.func.apply(N.thisArg,$i([m],N.args))},d)}function Ka(a,u,d){var m=a.length;if(m<2)return m?nl(a[0]):[];for(var N=-1,V=oe(m);++N<m;)for(var z=a[N],j=-1;++j<m;)j!=N&&(V[N]=Br(V[N]||z,a[j],u,d));return nl(an(V,1),u,d)}function Cu(a,u,d){for(var m=-1,N=a.length,V=u.length,z={};++m<N;){var j=m<V?u[m]:t;d(z,a[m],j)}return z}function ja(a){return Kt(a)?a:[]}function Ja(a){return typeof a=="function"?a:Tn}function il(a,u){return xe(a)?a:no(a,u)?[a]:$u(wt(a))}var _m=rt;function ll(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Zn(a,u,d)}var yu=np||function(a){return Gt.clearTimeout(a)};function Pu(a,u){if(u)return a.slice();var d=a.length,m=jo?jo(d):new a.constructor(d);return a.copy(m),m}function Ya(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function pm(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function mm(a){var u=new a.constructor(a.source,qi.exec(a));return u.lastIndex=a.lastIndex,u}function bm(a){return Fr?Lt(Fr.call(a)):{}}function Nu(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Iu(a,u){if(a!==u){var d=a!==t,m=a===null,N=a===a,V=Un(a),z=u!==t,j=u===null,Z=u===u,ge=Un(u);if(!j&&!ge&&!V&&a>u||V&&z&&Z&&!j&&!ge||m&&z&&Z||!d&&Z||!N)return 1;if(!m&&!V&&!ge&&a<u||ge&&d&&N&&!m&&!V||j&&d&&N||!z&&N||!Z)return-1}return 0}function vm(a,u,d){for(var m=-1,N=a.criteria,V=u.criteria,z=N.length,j=d.length;++m<z;){var Z=Iu(N[m],V[m]);if(Z){if(m>=j)return Z;var ge=d[m];return Z*(ge=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var N=-1,V=a.length,z=d.length,j=-1,Z=u.length,ge=Xt(V-z,0),_e=oe(Z+ge),ve=!m;++j<Z;)_e[j]=u[j];for(;++N<z;)(ve||N<V)&&(_e[d[N]]=a[N]);for(;ge--;)_e[j++]=a[N++];return _e}function Lu(a,u,d,m){for(var N=-1,V=a.length,z=-1,j=d.length,Z=-1,ge=u.length,_e=Xt(V-j,0),ve=oe(_e+ge),Re=!m;++N<_e;)ve[N]=a[N];for(var Be=N;++Z<ge;)ve[Be+Z]=u[Z];for(;++z<j;)(Re||N<V)&&(ve[Be+d[z]]=a[N++]);return ve}function Pn(a,u){var d=-1,m=a.length;for(u||(u=oe(m));++d<m;)u[d]=a[d];return u}function _i(a,u,d,m){var N=!d;d||(d={});for(var V=-1,z=u.length;++V<z;){var j=u[V],Z=m?m(d[j],a[j],j,d,a):t;Z===t&&(Z=a[j]),N?Ti(d,j,Z):Ur(d,j,Z)}return d}function wm(a,u){return _i(a,to(a),u)}function Sm(a,u){return _i(a,zu(a),u)}function Ms(a,u){return function(d,m){var N=xe(d)?N_:qp,V=u?u():{};return N(d,a,Je(m,2),V)}}function er(a){return rt(function(u,d){var m=-1,N=d.length,V=N>1?d[N-1]:t,z=N>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(N--,V):t,z&&wn(d[0],d[1],z)&&(V=N<3?t:V,N=1),u=Lt(u);++m<N;){var j=d[m];j&&a(u,j,m,V)}return u})}function Au(a,u){return function(d,m){if(d==null)return d;if(!Nn(d))return a(d,m);for(var N=d.length,V=u?N:-1,z=Lt(d);(u?V--:++V<N)&&m(z[V],V,z)!==!1;);return d}}function Ru(a){return function(u,d,m){for(var N=-1,V=Lt(u),z=m(u),j=z.length;j--;){var Z=z[a?j:++N];if(d(V[Z],Z,V)===!1)break}return u}}function km(a,u,d){var m=u&y,N=qr(a);function V(){var z=this&&this!==Gt&&this instanceof V?N:a;return z.apply(m?d:this,arguments)}return V}function Eu(a){return function(u){u=wt(u);var d=Jl(u)?ii(u):t,m=d?d[0]:u.charAt(0),N=d?ll(d,1).join(""):u.slice(1);return m[a]()+N}}function tr(a){return function(u){return va(Rf(Af(u).replace(je,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=xl(a.prototype),m=a.apply(d,u);return Bt(m)?m:d}}function Cm(a,u,d){var m=qr(a);function N(){for(var V=arguments.length,z=oe(V),j=V,Z=nr(N);j--;)z[j]=arguments[j];var ge=V<3&&z[0]!==Z&&z[V-1]!==Z?[]:xi(z,Z);if(V-=ge.length,V<d)return Fu(a,u,Os,N.placeholder,t,z,ge,t,t,d-V);var _e=this&&this!==Gt&&this instanceof N?m:a;return Mn(_e,this,z)}return N}function Du(a){return function(u,d,m){var N=Lt(u);if(!Nn(u)){var V=Je(d,3);u=tn(u),d=function(j){return V(N[j],j,N)}}var z=a(u,d,m);return z>-1?N[V?u[z]:z]:t}}function Vu(a){return Ai(function(u){var d=u.length,m=d,N=Yn.prototype.thru;for(a&&u.reverse();m--;){var V=u[m];if(typeof V!="function")throw new Jn(s);if(N&&!z&&Hs(V)=="wrapper")var z=new Yn([],!0)}for(m=z?m:d;++m<d;){V=u[m];var j=Hs(V),Z=j=="wrapper"?xa(V):t;Z&&io(Z[0])&&Z[1]==(O|I|T|U)&&!Z[4].length&&Z[9]==1?z=z[Hs(Z[0])].apply(z,Z[3]):z=V.length==1&&io(V)?z[j]():z.thru(V)}return function(){var ge=arguments,_e=ge[0];if(z&&ge.length==1&&xe(_e))return z.plant(_e).value();for(var ve=0,Re=d?u[ve].apply(this,ge):_e;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Os(a,u,d,m,N,V,z,j,Z,ge){var _e=u&O,ve=u&y,Re=u&C,Be=u&(I|E),Ye=u&F,it=Re?t:qr(a);function Qe(){for(var ot=arguments.length,ft=oe(ot),Bn=ot;Bn--;)ft[Bn]=arguments[Bn];if(Be)var Sn=nr(Qe),Hn=M_(ft,Sn);if(m&&(ft=Tu(ft,m,N,Be)),V&&(ft=Lu(ft,V,z,Be)),ot-=Hn,Be&&ot<ge){var jt=xi(ft,Sn);return Fu(a,u,Os,Qe.placeholder,d,ft,jt,j,Z,ge-ot)}var si=ve?d:this,Vi=Re?si[a]:a;return ot=ft.length,j?ft=qm(ft,j):Ye&&ot>1&&ft.reverse(),_e&&Z<ot&&(ft.length=Z),this&&this!==Gt&&this instanceof Qe&&(Vi=it||qr(Vi)),Vi.apply(si,ft)}return Qe}function Mu(a,u){return function(d,m){return Xp(d,a,u(m),{})}}function Fs(a,u){return function(d,m){var N;if(d===t&&m===t)return u;if(d!==t&&(N=d),m!==t){if(N===t)return m;typeof d=="string"||typeof m=="string"?(d=Fn(d),m=Fn(m)):(d=wu(d),m=wu(m)),N=a(d,m)}return N}}function Qa(a){return Ai(function(u){return u=Ft(u,On(Je())),rt(function(d){var m=this;return a(u,function(N){return Mn(N,m,d)})})})}function Us(a,u){u=u===t?" ":Fn(u);var d=u.length;if(d<2)return d?za(u,a):u;var m=za(u,ys(a/Yl(u)));return Jl(u)?ll(ii(m),0,a).join(""):m.slice(0,a)}function ym(a,u,d,m){var N=u&y,V=qr(a);function z(){for(var j=-1,Z=arguments.length,ge=-1,_e=m.length,ve=oe(_e+Z),Re=this&&this!==Gt&&this instanceof z?V:a;++ge<_e;)ve[ge]=m[ge];for(;Z--;)ve[ge++]=arguments[++j];return Mn(Re,N?d:this,ve)}return z}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&wn(u,d,m)&&(d=m=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),m=m===t?u<d?1:-1:Di(m),um(u,d,m,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=$n(u),d=$n(d)),a(u,d)}}function Fu(a,u,d,m,N,V,z,j,Z,ge){var _e=u&I,ve=_e?z:t,Re=_e?t:z,Be=_e?V:t,Ye=_e?t:V;u|=_e?T:R,u&=~(_e?R:T),u&P||(u&=~(y|C));var it=[a,u,N,Be,ve,Ye,Re,j,Z,ge],Qe=d.apply(t,it);return io(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Za(a){var u=Zt[a];return function(d,m){if(d=$n(d),m=m==null?0:hn(nt(m),292),m&&Zo(d)){var N=(wt(d)+"e").split("e"),V=u(N[0]+"e"+(+N[1]+m));return N=(wt(V)+"e").split("e"),+(N[0]+"e"+(+N[1]-m))}return u(d)}}var Pm=Xl&&1/gs(new Xl([,-0]))[1]==ue?function(a){return new Xl(a)}:vo;function Uu(a){return function(u){var d=gn(u);return d==kt?Na(u):d==Qt?z_(u):V_(u,a(u))}}function Li(a,u,d,m,N,V,z,j){var Z=u&C;if(!Z&&typeof a!="function")throw new Jn(s);var ge=m?m.length:0;if(ge||(u&=~(T|R),m=N=t),z=z===t?z:Xt(nt(z),0),j=j===t?j:nt(j),ge-=N?N.length:0,u&R){var _e=m,ve=N;m=N=t}var Re=Z?t:xa(a),Be=[a,u,d,m,N,_e,ve,V,z,j];if(Re&&Hm(Be,Re),a=Be[0],u=Be[1],d=Be[2],m=Be[3],N=Be[4],j=Be[9]=Be[9]===t?Z?0:a.length:Xt(Be[9]-ge,0),!j&&u&(I|E)&&(u&=~(I|E)),!u||u==y)var Ye=km(a,u,d);else u==I||u==E?Ye=Cm(a,u,j):(u==T||u==(y|T))&&!N.length?Ye=ym(a,u,d,m):Ye=Os.apply(t,Be);var it=Re?bu:Qu;return Zu(it(Ye,Be),a,u)}function Bu(a,u,d,m){return a===t||ri(a,Zl[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,N,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Es(a,u,t,Hu,V),V.delete(u)),a}function Nm(a){return jr(a)?t:a}function Wu(a,u,d,m,N,V){var z=d&v,j=a.length,Z=u.length;if(j!=Z&&!(z&&Z>j))return!1;var ge=V.get(a),_e=V.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Re=!0,Be=d&S?new yl:t;for(V.set(a,u),V.set(u,a);++ve<j;){var Ye=a[ve],it=u[ve];if(m)var Qe=z?m(it,Ye,ve,u,a,V):m(Ye,it,ve,a,u,V);if(Qe!==t){if(Qe)continue;Re=!1;break}if(Be){if(!wa(u,function(ot,ft){if(!Er(Be,ft)&&(Ye===ot||N(Ye,ot,d,m,V)))return Be.push(ft)})){Re=!1;break}}else if(!(Ye===it||N(Ye,it,d,m,V))){Re=!1;break}}return V.delete(a),V.delete(u),Re}function Im(a,u,d,m,N,V,z){switch(d){case qt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case qn:return!(a.byteLength!=u.byteLength||!V(new ws(a),new ws(u)));case Ve:case He:case Yt:return ri(+a,+u);case Ge:return a.name==u.name&&a.message==u.message;case bn:case Rn:return a==u+"";case kt:var j=Na;case Qt:var Z=m&v;if(j||(j=gs),a.size!=u.size&&!Z)return!1;var ge=z.get(a);if(ge)return ge==u;m|=S,z.set(a,u);var _e=Wu(j(a),j(u),m,N,V,z);return z.delete(a),_e;case Et:if(Fr)return Fr.call(a)==Fr.call(u)}return!1}function Tm(a,u,d,m,N,V){var z=d&v,j=Xa(a),Z=j.length,ge=Xa(u),_e=ge.length;if(Z!=_e&&!z)return!1;for(var ve=Z;ve--;){var Re=j[ve];if(!(z?Re in u:Pt.call(u,Re)))return!1}var Be=V.get(a),Ye=V.get(u);if(Be&&Ye)return Be==u&&Ye==a;var it=!0;V.set(a,u),V.set(u,a);for(var Qe=z;++ve<Z;){Re=j[ve];var ot=a[Re],ft=u[Re];if(m)var Bn=z?m(ft,ot,Re,u,a,V):m(ot,ft,Re,a,u,V);if(!(Bn===t?ot===ft||N(ot,ft,d,m,V):Bn)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var Sn=a.constructor,Hn=u.constructor;Sn!=Hn&&"constructor"in a&&"constructor"in u&&!(typeof Sn=="function"&&Sn instanceof Sn&&typeof Hn=="function"&&Hn instanceof Hn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ai(a){return ro(Ju(a,t,nf),a+"")}function Xa(a){return au(a,tn,to)}function $a(a){return au(a,In,zu)}var xa=Ns?function(a){return Ns.get(a)}:vo;function Hs(a){for(var u=a.name+"",d=$l[u],m=Pt.call($l,u)?d.length:0;m--;){var N=d[m],V=N.func;if(V==null||V==a)return N.name}return u}function nr(a){var u=Pt.call(D,"placeholder")?D:a;return u.placeholder}function Je(){var a=D.iteratee||mo;return a=a===mo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ws(a,u){var d=a.__data__;return Om(u)?d[typeof u=="string"?"string":"hash"]:d.map}function eo(a){for(var u=tn(a),d=u.length;d--;){var m=u[d],N=a[m];u[d]=[m,N,Ku(N)]}return u}function Il(a,u){var d=B_(a,u);return uu(d)?d:t}function Lm(a){var u=Pt.call(a,kl),d=a[kl];try{a[kl]=t;var m=!0}catch{}var N=bs.call(a);return m&&(u?a[kl]=d:delete a[kl]),N}var to=Ta?function(a){return a==null?[]:(a=Lt(a),Xi(Ta(a),function(u){return Yo.call(a,u)}))}:wo,zu=Ta?function(a){for(var u=[];a;)$i(u,to(a)),a=Ss(a);return u}:wo,gn=vn;(La&&gn(new La(new ArrayBuffer(1)))!=qt||Vr&&gn(new Vr)!=kt||Aa&&gn(Aa.resolve())!=mn||Xl&&gn(new Xl)!=Qt||Mr&&gn(new Mr)!=xt)&&(gn=function(a){var u=vn(a),d=u==un?a.constructor:t,m=d?Tl(d):"";if(m)switch(m){case cp:return qt;case dp:return kt;case hp:return mn;case gp:return Qt;case _p:return xt}return u});function Am(a,u,d){for(var m=-1,N=d.length;++m<N;){var V=d[m],z=V.size;switch(V.type){case"drop":a+=z;break;case"dropRight":u-=z;break;case"take":u=hn(u,a+z);break;case"takeRight":a=Xt(a,u-z);break}}return{start:a,end:u}}function Rm(a){var u=a.match(zi);return u?u[1].split(Fl):[]}function qu(a,u,d){u=il(u,a);for(var m=-1,N=u.length,V=!1;++m<N;){var z=pi(u[m]);if(!(V=a!=null&&d(a,z)))break;a=a[z]}return V||++m!=N?V:(N=a==null?0:a.length,!!N&&Ys(N)&&Ri(z,N)&&(xe(a)||Ll(a)))}function Em(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Pt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function Gu(a){return typeof a.constructor=="function"&&!Gr(a)?xl(Ss(a)):{}}function Dm(a,u,d){var m=a.constructor;switch(u){case qn:return Ya(a);case Ve:case He:return new m(+a);case qt:return pm(a,d);case Cn:case fi:case ci:case cn:case Ci:case te:case Ae:case at:case Nt:return Nu(a,d);case kt:return new m;case Yt:case Rn:return new m(a);case bn:return mm(a);case Qt:return new m;case Et:return bm(a)}}function Vm(a,u){var d=u.length;if(!d)return a;var m=d-1;return u[m]=(d>1?"& ":"")+u[m],u=u.join(d>2?", ":" "),a.replace(hl,`{
33
+ */(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,b=4,v=1,S=2,y=1,C=2,P=4,I=8,E=16,T=32,R=64,O=128,U=256,F=512,H=30,G="...",x=800,$=16,pe=1,ie=2,W=3,ue=1/0,ee=9007199254740991,Y=17976931348623157e292,Pe=0/0,le=4294967295,Ue=le-1,Ie=le>>>1,ce=[["ary",O],["bind",y],["bindKey",C],["curry",I],["curryRight",E],["flip",F],["partial",T],["partialRight",R],["rearg",U]],X="[object Arguments]",he="[object Array]",ae="[object AsyncFunction]",Ve="[object Boolean]",He="[object Date]",be="[object DOMException]",Ge="[object Error]",St="[object Function]",Wt="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",pn="[object Null]",un="[object Object]",mn="[object Promise]",Bi="[object Proxy]",bn="[object RegExp]",Qt="[object Set]",Rn="[object String]",Et="[object Symbol]",cl="[object Undefined]",xt="[object WeakMap]",fn="[object WeakSet]",qn="[object ArrayBuffer]",qt="[object DataView]",Cn="[object Float32Array]",fi="[object Float64Array]",ci="[object Int8Array]",cn="[object Int16Array]",Ci="[object Int32Array]",te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",at="[object Uint16Array]",Nt="[object Uint32Array]",Ct=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,En=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gn=/&(?:amp|lt|gt|quot|#39);/g,ni=/[&<>"']/g,Ml=RegExp(Gn.source),Hi=RegExp(ni.source),pr=/<%-([\s\S]+?)%>/g,mr=/<%([\s\S]+?)%>/g,Ol=/<%=([\s\S]+?)%>/g,br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vr=/^\w*$/,wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dl=/[\\^$.*+?()[\]{}|]/g,Sr=RegExp(dl.source),yi=/^\s+/,Wi=/\s/,hl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zi=/\{\n\/\* \[wrapped with (.+)\] \*/,Fl=/,? & /,Ul=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bl=/[()=,{}\[\]\/\s]/,kr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qi=/\w*$/,gl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,Cr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Wl=/['\n\r\u2028\u2029\\]/g,Pi="\\ud800-\\udfff",yr="\\u0300-\\u036f",gt="\\ufe20-\\ufe2f",ml="\\u20d0-\\u20ff",Ki=yr+gt+ml,bl="\\u2700-\\u27bf",vl="a-z\\xdf-\\xf6\\xf8-\\xff",J="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",hi=" \\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",es="A-Z\\xc0-\\xd6\\xd8-\\xde",wl="\\ufe0e\\ufe0f",ts=J+tt+dn+hi,Pr="['\u2019]",ca="["+Pi+"]",zl="["+ts+"]",ql="["+Ki+"]",ns="\\d+",da="["+bl+"]",is="["+vl+"]",ls="[^"+Pi+ts+ns+bl+vl+es+"]",Gl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+ql+"|"+Gl+")",Nr="[^"+Pi+"]",Ir="(?:\\ud83c[\\udde6-\\uddff]){2}",Tr="[\\ud800-\\udbff][\\udc00-\\udfff]",ji="["+es+"]",rs="\\u200d",ss="(?:"+is+"|"+ls+")",ga="(?:"+ji+"|"+ls+")",as="(?:"+Pr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+Pr+"(?:D|LL|M|RE|S|T|VE))?",us=ha+"?",fs="["+wl+"]?",_a="(?:"+rs+"(?:"+[Nr,Ir,Tr].join("|")+")"+fs+us+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B=fs+us+_a,fe="(?:"+[da,Ir,Tr].join("|")+")"+B,Ee="(?:"+[Nr+ql+"?",ql,Ir,Tr,ca].join("|")+")",je=RegExp(Pr,"g"),Oe=RegExp(ql,"g"),we=RegExp(Gl+"(?="+Gl+")|"+Ee+B,"g"),De=RegExp([ji+"?"+is+"+"+as+"(?="+[zl,ji,"$"].join("|")+")",ga+"+"+os+"(?="+[zl,ji+ss,"$"].join("|")+")",ji+"?"+ss+"+"+as,ji+"+"+os,ma,pa,ns,fe].join("|"),"g"),_t=RegExp("["+rs+Pi+Ki+wl+"]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lr=["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"],Ji=-1,yt={};yt[Cn]=yt[fi]=yt[ci]=yt[cn]=yt[Ci]=yt[te]=yt[Ae]=yt[at]=yt[Nt]=!0,yt[X]=yt[he]=yt[qn]=yt[Ve]=yt[qt]=yt[He]=yt[Ge]=yt[St]=yt[kt]=yt[Yt]=yt[un]=yt[bn]=yt[Qt]=yt[Rn]=yt[xt]=!1;var dt={};dt[X]=dt[he]=dt[qn]=dt[qt]=dt[Ve]=dt[He]=dt[Cn]=dt[fi]=dt[ci]=dt[cn]=dt[Ci]=dt[kt]=dt[Yt]=dt[un]=dt[bn]=dt[Qt]=dt[Rn]=dt[Et]=dt[te]=dt[Ae]=dt[at]=dt[Nt]=!0,dt[Ge]=dt[St]=dt[xt]=!1;var Ar={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},It={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},en=parseFloat,Dn=parseInt,Kn=typeof Yr=="object"&&Yr&&Yr.Object===Object&&Yr,Sl=typeof self=="object"&&self&&self.Object===Object&&self,Gt=Kn||Sl||Function("return this")(),Yi=e&&!e.nodeType&&e,Qi=Yi&&!0&&i&&!i.nodeType&&i,Kl=Qi&&Qi.exports===Yi,Rr=Kl&&Kn.process,rn=function(){try{var Q=Qi&&Qi.require&&Qi.require("util").types;return Q||Rr&&Rr.binding&&Rr.binding("util")}catch{}}(),Zi=rn&&rn.isArrayBuffer,sn=rn&&rn.isDate,Vn=rn&&rn.isMap,cs=rn&&rn.isRegExp,Do=rn&&rn.isSet,Vo=rn&&rn.isTypedArray;function Mn(Q,de,oe){switch(oe.length){case 0:return Q.call(de);case 1:return Q.call(de,oe[0]);case 2:return Q.call(de,oe[0],oe[1]);case 3:return Q.call(de,oe[0],oe[1],oe[2])}return Q.apply(de,oe)}function N_(Q,de,oe,Me){for(var Xe=-1,mt=Q==null?0:Q.length;++Xe<mt;){var Zt=Q[Xe];de(Me,Zt,oe(Zt),Q)}return Me}function jn(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me&&de(Q[oe],oe,Q)!==!1;);return Q}function I_(Q,de){for(var oe=Q==null?0:Q.length;oe--&&de(Q[oe],oe,Q)!==!1;);return Q}function Mo(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(!de(Q[oe],oe,Q))return!1;return!0}function Xi(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];de(Zt,oe,Q)&&(mt[Xe++]=Zt)}return mt}function ds(Q,de){var oe=Q==null?0:Q.length;return!!oe&&jl(Q,de,0)>-1}function ba(Q,de,oe){for(var Me=-1,Xe=Q==null?0:Q.length;++Me<Xe;)if(oe(de,Q[Me]))return!0;return!1}function Ft(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=Array(Me);++oe<Me;)Xe[oe]=de(Q[oe],oe,Q);return Xe}function $i(Q,de){for(var oe=-1,Me=de.length,Xe=Q.length;++oe<Me;)Q[Xe+oe]=de[oe];return Q}function va(Q,de,oe,Me){var Xe=-1,mt=Q==null?0:Q.length;for(Me&&mt&&(oe=Q[++Xe]);++Xe<mt;)oe=de(oe,Q[Xe],Xe,Q);return oe}function T_(Q,de,oe,Me){var Xe=Q==null?0:Q.length;for(Me&&Xe&&(oe=Q[--Xe]);Xe--;)oe=de(oe,Q[Xe],Xe,Q);return oe}function wa(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(de(Q[oe],oe,Q))return!0;return!1}var L_=Sa("length");function A_(Q){return Q.split("")}function R_(Q){return Q.match(Ul)||[]}function Oo(Q,de,oe){var Me;return oe(Q,function(Xe,mt,Zt){if(de(Xe,mt,Zt))return Me=mt,!1}),Me}function hs(Q,de,oe,Me){for(var Xe=Q.length,mt=oe+(Me?1:-1);Me?mt--:++mt<Xe;)if(de(Q[mt],mt,Q))return mt;return-1}function jl(Q,de,oe){return de===de?q_(Q,de,oe):hs(Q,Fo,oe)}function E_(Q,de,oe,Me){for(var Xe=oe-1,mt=Q.length;++Xe<mt;)if(Me(Q[Xe],de))return Xe;return-1}function Fo(Q){return Q!==Q}function Uo(Q,de){var oe=Q==null?0:Q.length;return oe?Ca(Q,de)/oe:Pe}function Sa(Q){return function(de){return de==null?t:de[Q]}}function ka(Q){return function(de){return Q==null?t:Q[de]}}function Bo(Q,de,oe,Me,Xe){return Xe(Q,function(mt,Zt,Lt){oe=Me?(Me=!1,mt):de(oe,mt,Zt,Lt)}),oe}function D_(Q,de){var oe=Q.length;for(Q.sort(de);oe--;)Q[oe]=Q[oe].value;return Q}function Ca(Q,de){for(var oe,Me=-1,Xe=Q.length;++Me<Xe;){var mt=de(Q[Me]);mt!==t&&(oe=oe===t?mt:oe+mt)}return oe}function ya(Q,de){for(var oe=-1,Me=Array(Q);++oe<Q;)Me[oe]=de(oe);return Me}function V_(Q,de){return Ft(de,function(oe){return[oe,Q[oe]]})}function Ho(Q){return Q&&Q.slice(0,Go(Q)+1).replace(yi,"")}function On(Q){return function(de){return Q(de)}}function Pa(Q,de){return Ft(de,function(oe){return Q[oe]})}function Er(Q,de){return Q.has(de)}function Wo(Q,de){for(var oe=-1,Me=Q.length;++oe<Me&&jl(de,Q[oe],0)>-1;);return oe}function zo(Q,de){for(var oe=Q.length;oe--&&jl(de,Q[oe],0)>-1;);return oe}function M_(Q,de){for(var oe=Q.length,Me=0;oe--;)Q[oe]===de&&++Me;return Me}var O_=ka(Ar),F_=ka(Ke);function U_(Q){return"\\"+Dt[Q]}function B_(Q,de){return Q==null?t:Q[de]}function Jl(Q){return _t.test(Q)}function H_(Q){return Ot.test(Q)}function W_(Q){for(var de,oe=[];!(de=Q.next()).done;)oe.push(de.value);return oe}function Na(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me,Xe){oe[++de]=[Xe,Me]}),oe}function qo(Q,de){return function(oe){return Q(de(oe))}}function xi(Q,de){for(var oe=-1,Me=Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];(Zt===de||Zt===h)&&(Q[oe]=h,mt[Xe++]=oe)}return mt}function gs(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=Me}),oe}function z_(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=[Me,Me]}),oe}function q_(Q,de,oe){for(var Me=oe-1,Xe=Q.length;++Me<Xe;)if(Q[Me]===de)return Me;return-1}function G_(Q,de,oe){for(var Me=oe+1;Me--;)if(Q[Me]===de)return Me;return Me}function Yl(Q){return Jl(Q)?j_(Q):L_(Q)}function ii(Q){return Jl(Q)?J_(Q):A_(Q)}function Go(Q){for(var de=Q.length;de--&&Wi.test(Q.charAt(de)););return de}var K_=ka(It);function j_(Q){for(var de=we.lastIndex=0;we.test(Q);)++de;return de}function J_(Q){return Q.match(we)||[]}function Y_(Q){return Q.match(De)||[]}var Q_=function Q(de){de=de==null?Gt:Ql.defaults(Gt.Object(),de,Ql.pick(Gt,Lr));var oe=de.Array,Me=de.Date,Xe=de.Error,mt=de.Function,Zt=de.Math,Lt=de.Object,Ia=de.RegExp,Z_=de.String,Jn=de.TypeError,_s=oe.prototype,X_=mt.prototype,Zl=Lt.prototype,ps=de["__core-js_shared__"],ms=X_.toString,Pt=Zl.hasOwnProperty,$_=0,Ko=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=Zl.toString,x_=ms.call(Lt),ep=Gt._,tp=Ia("^"+ms.call(Pt).replace(dl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=Kl?de.Buffer:t,el=de.Symbol,ws=de.Uint8Array,jo=vs?vs.allocUnsafe:t,Ss=qo(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Zl.propertyIsEnumerable,ks=_s.splice,Qo=el?el.isConcatSpreadable:t,Dr=el?el.iterator:t,kl=el?el.toStringTag:t,Cs=function(){try{var a=Il(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),np=de.clearTimeout!==Gt.clearTimeout&&de.clearTimeout,ip=Me&&Me.now!==Gt.Date.now&&Me.now,lp=de.setTimeout!==Gt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,Ta=Lt.getOwnPropertySymbols,rp=vs?vs.isBuffer:t,Zo=de.isFinite,sp=_s.join,ap=qo(Lt.keys,Lt),Xt=Zt.max,hn=Zt.min,op=Me.now,up=de.parseInt,Xo=Zt.random,fp=_s.reverse,La=Il(de,"DataView"),Vr=Il(de,"Map"),Aa=Il(de,"Promise"),Xl=Il(de,"Set"),Mr=Il(de,"WeakMap"),Or=Il(Lt,"create"),Ns=Mr&&new Mr,$l={},cp=Tl(La),dp=Tl(Vr),hp=Tl(Aa),gp=Tl(Xl),_p=Tl(Mr),Is=el?el.prototype:t,Fr=Is?Is.valueOf:t,$o=Is?Is.toString:t;function D(a){if(zt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof Yn)return a;if(Pt.call(a,"__wrapped__"))return xu(a)}return new Yn(a)}var xl=function(){function a(){}return function(u){if(!Bt(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function Yn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}D.templateSettings={escape:pr,evaluate:mr,interpolate:Ol,variable:"",imports:{_:D}},D.prototype=Ts.prototype,D.prototype.constructor=D,Yn.prototype=xl(Ts.prototype),Yn.prototype.constructor=Yn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=le,this.__views__=[]}function pp(){var a=new ut(this.__wrapped__);return a.__actions__=Pn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Pn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Pn(this.__views__),a}function mp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function bp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,N=d?a.length:0,V=Am(0,N,this.__views__),z=V.start,j=V.end,Z=j-z,ge=m?j:z-1,_e=this.__iteratees__,ve=_e.length,Re=0,Be=hn(Z,this.__takeCount__);if(!d||!m&&N==Z&&Be==Z)return ku(a,this.__actions__);var Ye=[];e:for(;Z--&&Re<Be;){ge+=u;for(var it=-1,Qe=a[ge];++it<ve;){var ot=_e[it],ft=ot.iteratee,Bn=ot.type,Sn=ft(Qe);if(Bn==ie)Qe=Sn;else if(!Sn){if(Bn==pe)continue e;break e}}Ye[Re++]=Qe}return Ye}ut.prototype=xl(Ts.prototype),ut.prototype.constructor=ut;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function vp(){this.__data__=Or?Or(null):{},this.size=0}function wp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Sp(a){var u=this.__data__;if(Or){var d=u[a];return d===c?t:d}return Pt.call(u,a)?u[a]:t}function kp(a){var u=this.__data__;return Or?u[a]!==t:Pt.call(u,a)}function Cp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Or&&u===t?c:u,this}Cl.prototype.clear=vp,Cl.prototype.delete=wp,Cl.prototype.get=Sp,Cl.prototype.has=kp,Cl.prototype.set=Cp;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function yp(){this.__data__=[],this.size=0}function Pp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():ks.call(u,d,1),--this.size,!0}function Np(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Ip(a){return Ls(this.__data__,a)>-1}function Tp(a,u){var d=this.__data__,m=Ls(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ni.prototype.clear=yp,Ni.prototype.delete=Pp,Ni.prototype.get=Np,Ni.prototype.has=Ip,Ni.prototype.set=Tp;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Lp(){this.size=0,this.__data__={hash:new Cl,map:new(Vr||Ni),string:new Cl}}function Ap(a){var u=Ws(this,a).delete(a);return this.size-=u?1:0,u}function Rp(a){return Ws(this,a).get(a)}function Ep(a){return Ws(this,a).has(a)}function Dp(a,u){var d=Ws(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ii.prototype.clear=Lp,Ii.prototype.delete=Ap,Ii.prototype.get=Rp,Ii.prototype.has=Ep,Ii.prototype.set=Dp;function yl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Vp(a){return this.__data__.set(a,c),this}function Mp(a){return this.__data__.has(a)}yl.prototype.add=yl.prototype.push=Vp,yl.prototype.has=Mp;function li(a){var u=this.__data__=new Ni(a);this.size=u.size}function Op(){this.__data__=new Ni,this.size=0}function Fp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Up(a){return this.__data__.get(a)}function Bp(a){return this.__data__.has(a)}function Hp(a,u){var d=this.__data__;if(d instanceof Ni){var m=d.__data__;if(!Vr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(m)}return d.set(a,u),this.size=d.size,this}li.prototype.clear=Op,li.prototype.delete=Fp,li.prototype.get=Up,li.prototype.has=Bp,li.prototype.set=Hp;function xo(a,u){var d=xe(a),m=!d&&Ll(a),N=!d&&!m&&rl(a),V=!d&&!m&&!N&&ir(a),z=d||m||N||V,j=z?ya(a.length,Z_):[],Z=j.length;for(var ge in a)(u||Pt.call(a,ge))&&!(z&&(ge=="length"||N&&(ge=="offset"||ge=="parent")||V&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ri(ge,Z)))&&j.push(ge);return j}function eu(a){var u=a.length;return u?a[Wa(0,u-1)]:t}function Wp(a,u){return zs(Pn(a),Pl(u,0,a.length))}function zp(a){return zs(Pn(a))}function Ra(a,u,d){(d!==t&&!ri(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Ur(a,u,d){var m=a[u];(!(Pt.call(a,u)&&ri(m,d))||d===t&&!(u in a))&&Ti(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ri(a[d][0],u))return d;return-1}function qp(a,u,d,m){return tl(a,function(N,V,z){u(m,N,d(N),z)}),m}function tu(a,u){return a&&_i(u,tn(u),a)}function Gp(a,u){return a&&_i(u,In(u),a)}function Ti(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Ea(a,u){for(var d=-1,m=u.length,N=oe(m),V=a==null;++d<m;)N[d]=V?t:ho(a,u[d]);return N}function Pl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Qn(a,u,d,m,N,V){var z,j=u&_,Z=u&p,ge=u&b;if(d&&(z=N?d(a,m,N,V):d(a)),z!==t)return z;if(!Bt(a))return a;var _e=xe(a);if(_e){if(z=Em(a),!j)return Pn(a,z)}else{var ve=gn(a),Re=ve==St||ve==Wt;if(rl(a))return Pu(a,j);if(ve==un||ve==X||Re&&!N){if(z=Z||Re?{}:Gu(a),!j)return Z?Sm(a,Gp(z,a)):wm(a,tu(z,a))}else{if(!dt[ve])return N?a:{};z=Dm(a,ve,j)}}V||(V=new li);var Be=V.get(a);if(Be)return Be;V.set(a,z),wf(a)?a.forEach(function(Qe){z.add(Qn(Qe,u,d,Qe,a,V))}):bf(a)&&a.forEach(function(Qe,ot){z.set(ot,Qn(Qe,u,d,ot,a,V))});var Ye=ge?Z?$a:Xa:Z?In:tn,it=_e?t:Ye(a);return jn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Ur(z,ot,Qn(Qe,u,d,ot,a,V))}),z}function Kp(a){var u=tn(a);return function(d){return nu(d,a,u)}}function nu(a,u,d){var m=d.length;if(a==null)return!m;for(a=Lt(a);m--;){var N=d[m],V=u[N],z=a[N];if(z===t&&!(N in a)||!V(z))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Jn(s);return Kr(function(){a.apply(t,d)},u)}function Br(a,u,d,m){var N=-1,V=ds,z=!0,j=a.length,Z=[],ge=u.length;if(!j)return Z;d&&(u=Ft(u,On(d))),m?(V=ba,z=!1):u.length>=l&&(V=Er,z=!1,u=new yl(u));e:for(;++N<j;){var _e=a[N],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,z&&ve===ve){for(var Re=ge;Re--;)if(u[Re]===ve)continue e;Z.push(_e)}else V(u,ve,m)||Z.push(_e)}return Z}var tl=Au(gi),lu=Au(Va,!0);function jp(a,u){var d=!0;return tl(a,function(m,N,V){return d=!!u(m,N,V),d}),d}function As(a,u,d){for(var m=-1,N=a.length;++m<N;){var V=a[m],z=u(V);if(z!=null&&(j===t?z===z&&!Un(z):d(z,j)))var j=z,Z=V}return Z}function Jp(a,u,d,m){var N=a.length;for(d=nt(d),d<0&&(d=-d>N?0:N+d),m=m===t||m>N?N:nt(m),m<0&&(m+=N),m=d>m?0:kf(m);d<m;)a[d++]=u;return a}function ru(a,u){var d=[];return tl(a,function(m,N,V){u(m,N,V)&&d.push(m)}),d}function an(a,u,d,m,N){var V=-1,z=a.length;for(d||(d=Mm),N||(N=[]);++V<z;){var j=a[V];u>0&&d(j)?u>1?an(j,u-1,d,m,N):$i(N,j):m||(N[N.length]=j)}return N}var Da=Ru(),su=Ru(!0);function gi(a,u){return a&&Da(a,u,tn)}function Va(a,u){return a&&su(a,u,tn)}function Rs(a,u){return Xi(u,function(d){return Ei(a[d])})}function Nl(a,u){u=il(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[pi(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:$i(m,d(a))}function vn(a){return a==null?a===t?cl:pn:kl&&kl in Lt(a)?Lm(a):zm(a)}function Ma(a,u){return a>u}function Yp(a,u){return a!=null&&Pt.call(a,u)}function Qp(a,u){return a!=null&&u in Lt(a)}function Zp(a,u,d){return a>=hn(u,d)&&a<Xt(u,d)}function Oa(a,u,d){for(var m=d?ba:ds,N=a[0].length,V=a.length,z=V,j=oe(V),Z=1/0,ge=[];z--;){var _e=a[z];z&&u&&(_e=Ft(_e,On(u))),Z=hn(_e.length,Z),j[z]=!d&&(u||N>=120&&_e.length>=120)?new yl(z&&_e):t}_e=a[0];var ve=-1,Re=j[0];e:for(;++ve<N&&ge.length<Z;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Re?Er(Re,Ye):m(ge,Ye,d))){for(z=V;--z;){var it=j[z];if(!(it?Er(it,Ye):m(a[z],Ye,d)))continue e}Re&&Re.push(Ye),ge.push(Be)}}return ge}function Xp(a,u,d,m){return gi(a,function(N,V,z){u(m,d(N),V,z)}),m}function Hr(a,u,d){u=il(u,a),a=Yu(a,u);var m=a==null?a:a[pi(Xn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&vn(a)==X}function $p(a){return zt(a)&&vn(a)==qn}function xp(a){return zt(a)&&vn(a)==He}function Wr(a,u,d,m,N){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:em(a,u,d,m,Wr,N)}function em(a,u,d,m,N,V){var z=xe(a),j=xe(u),Z=z?he:gn(a),ge=j?he:gn(u);Z=Z==X?un:Z,ge=ge==X?un:ge;var _e=Z==un,ve=ge==un,Re=Z==ge;if(Re&&rl(a)){if(!rl(u))return!1;z=!0,_e=!1}if(Re&&!_e)return V||(V=new li),z||ir(a)?Wu(a,u,d,m,N,V):Im(a,u,Z,d,m,N,V);if(!(d&v)){var Be=_e&&Pt.call(a,"__wrapped__"),Ye=ve&&Pt.call(u,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Qe=Ye?u.value():u;return V||(V=new li),N(it,Qe,d,m,V)}}return Re?(V||(V=new li),Tm(a,u,d,m,N,V)):!1}function tm(a){return zt(a)&&gn(a)==kt}function Fa(a,u,d,m){var N=d.length,V=N,z=!m;if(a==null)return!V;for(a=Lt(a);N--;){var j=d[N];if(z&&j[2]?j[1]!==a[j[0]]:!(j[0]in a))return!1}for(;++N<V;){j=d[N];var Z=j[0],ge=a[Z],_e=j[1];if(z&&j[2]){if(ge===t&&!(Z in a))return!1}else{var ve=new li;if(m)var Re=m(ge,_e,Z,a,u,ve);if(!(Re===t?Wr(_e,ge,v|S,m,ve):Re))return!1}}return!0}function uu(a){if(!Bt(a)||Fm(a))return!1;var u=Ei(a)?tp:Cr;return u.test(Tl(a))}function nm(a){return zt(a)&&vn(a)==bn}function im(a){return zt(a)&&gn(a)==Qt}function lm(a){return zt(a)&&Ys(a.length)&&!!yt[vn(a)]}function fu(a){return typeof a=="function"?a:a==null?Tn:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ua(a){if(!Gr(a))return ap(a);var u=[];for(var d in Lt(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function rm(a){if(!Bt(a))return Wm(a);var u=Gr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Ba(a,u){return a<u}function cu(a,u){var d=-1,m=Nn(a)?oe(a.length):[];return tl(a,function(N,V,z){m[++d]=u(N,V,z)}),m}function du(a){var u=eo(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Fa(d,a,u)}}function hu(a,u){return no(a)&&Ku(u)?ju(pi(a),u):function(d){var m=ho(d,a);return m===t&&m===u?go(d,a):Wr(u,m,v|S)}}function Es(a,u,d,m,N){a!==u&&Da(u,function(V,z){if(N||(N=new li),Bt(V))sm(a,u,z,d,Es,m,N);else{var j=m?m(lo(a,z),V,z+"",a,u,N):t;j===t&&(j=V),Ra(a,z,j)}},In)}function sm(a,u,d,m,N,V,z){var j=lo(a,d),Z=lo(u,d),ge=z.get(Z);if(ge){Ra(a,d,ge);return}var _e=V?V(j,Z,d+"",a,u,z):t,ve=_e===t;if(ve){var Re=xe(Z),Be=!Re&&rl(Z),Ye=!Re&&!Be&&ir(Z);_e=Z,Re||Be||Ye?xe(j)?_e=j:Kt(j)?_e=Pn(j):Be?(ve=!1,_e=Pu(Z,!0)):Ye?(ve=!1,_e=Nu(Z,!0)):_e=[]:jr(Z)||Ll(Z)?(_e=j,Ll(j)?_e=Cf(j):(!Bt(j)||Ei(j))&&(_e=Gu(Z))):ve=!1}ve&&(z.set(Z,_e),N(_e,Z,m,V,z),z.delete(Z)),Ra(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ri(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ft(u,function(V){return xe(V)?function(z){return Nl(z,V.length===1?V[0]:V)}:V}):u=[Tn];var m=-1;u=Ft(u,On(Je()));var N=cu(a,function(V,z,j){var Z=Ft(u,function(ge){return ge(V)});return{criteria:Z,index:++m,value:V}});return D_(N,function(V,z){return vm(V,z,d)})}function am(a,u){return pu(a,u,function(d,m){return go(a,m)})}function pu(a,u,d){for(var m=-1,N=u.length,V={};++m<N;){var z=u[m],j=Nl(a,z);d(j,z)&&zr(V,il(z,a),j)}return V}function om(a){return function(u){return Nl(u,a)}}function Ha(a,u,d,m){var N=m?E_:jl,V=-1,z=u.length,j=a;for(a===u&&(u=Pn(u)),d&&(j=Ft(a,On(d)));++V<z;)for(var Z=0,ge=u[V],_e=d?d(ge):ge;(Z=N(j,_e,Z,m))>-1;)j!==a&&ks.call(j,Z,1),ks.call(a,Z,1);return a}function mu(a,u){for(var d=a?u.length:0,m=d-1;d--;){var N=u[d];if(d==m||N!==V){var V=N;Ri(N)?ks.call(a,N,1):Ga(a,N)}}return a}function Wa(a,u){return a+Ps(Xo()*(u-a+1))}function um(a,u,d,m){for(var N=-1,V=Xt(ys((u-a)/(d||1)),0),z=oe(V);V--;)z[m?V:++N]=a,a+=d;return z}function za(a,u){var d="";if(!a||u<1||u>ee)return d;do u%2&&(d+=a),u=Ps(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return ro(Ju(a,u,Tn),a+"")}function fm(a){return eu(lr(a))}function cm(a,u){var d=lr(a);return zs(d,Pl(u,0,d.length))}function zr(a,u,d,m){if(!Bt(a))return a;u=il(u,a);for(var N=-1,V=u.length,z=V-1,j=a;j!=null&&++N<V;){var Z=pi(u[N]),ge=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(N!=z){var _e=j[Z];ge=m?m(_e,Z,j):t,ge===t&&(ge=Bt(_e)?_e:Ri(u[N+1])?[]:{})}Ur(j,Z,ge),j=j[Z]}return a}var bu=Ns?function(a,u){return Ns.set(a,u),a}:Tn,dm=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:po(u),writable:!0})}:Tn;function hm(a){return zs(lr(a))}function Zn(a,u,d){var m=-1,N=a.length;u<0&&(u=-u>N?0:N+u),d=d>N?N:d,d<0&&(d+=N),N=u>d?0:d-u>>>0,u>>>=0;for(var V=oe(N);++m<N;)V[m]=a[m+u];return V}function gm(a,u){var d;return tl(a,function(m,N,V){return d=u(m,N,V),!d}),!!d}function Ds(a,u,d){var m=0,N=a==null?m:a.length;if(typeof u=="number"&&u===u&&N<=Ie){for(;m<N;){var V=m+N>>>1,z=a[V];z!==null&&!Un(z)&&(d?z<=u:z<u)?m=V+1:N=V}return N}return qa(a,u,Tn,d)}function qa(a,u,d,m){var N=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var z=u!==u,j=u===null,Z=Un(u),ge=u===t;N<V;){var _e=Ps((N+V)/2),ve=d(a[_e]),Re=ve!==t,Be=ve===null,Ye=ve===ve,it=Un(ve);if(z)var Qe=m||Ye;else ge?Qe=Ye&&(m||Re):j?Qe=Ye&&Re&&(m||!Be):Z?Qe=Ye&&Re&&!Be&&(m||!it):Be||it?Qe=!1:Qe=m?ve<=u:ve<u;Qe?N=_e+1:V=_e}return hn(V,Ue)}function vu(a,u){for(var d=-1,m=a.length,N=0,V=[];++d<m;){var z=a[d],j=u?u(z):z;if(!d||!ri(j,Z)){var Z=j;V[N++]=z===0?0:z}}return V}function wu(a){return typeof a=="number"?a:Un(a)?Pe:+a}function Fn(a){if(typeof a=="string")return a;if(xe(a))return Ft(a,Fn)+"";if(Un(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function nl(a,u,d){var m=-1,N=ds,V=a.length,z=!0,j=[],Z=j;if(d)z=!1,N=ba;else if(V>=l){var ge=u?null:Pm(a);if(ge)return gs(ge);z=!1,N=Er,Z=new yl}else Z=u?[]:j;e:for(;++m<V;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,z&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),j.push(_e)}else N(Z,ve,d)||(Z!==j&&Z.push(ve),j.push(_e))}return j}function Ga(a,u){return u=il(u,a),a=Yu(a,u),a==null||delete a[pi(Xn(u))]}function Su(a,u,d,m){return zr(a,u,d(Nl(a,u)),m)}function Vs(a,u,d,m){for(var N=a.length,V=m?N:-1;(m?V--:++V<N)&&u(a[V],V,a););return d?Zn(a,m?0:V,m?V+1:N):Zn(a,m?V+1:0,m?N:V)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),va(u,function(m,N){return N.func.apply(N.thisArg,$i([m],N.args))},d)}function Ka(a,u,d){var m=a.length;if(m<2)return m?nl(a[0]):[];for(var N=-1,V=oe(m);++N<m;)for(var z=a[N],j=-1;++j<m;)j!=N&&(V[N]=Br(V[N]||z,a[j],u,d));return nl(an(V,1),u,d)}function Cu(a,u,d){for(var m=-1,N=a.length,V=u.length,z={};++m<N;){var j=m<V?u[m]:t;d(z,a[m],j)}return z}function ja(a){return Kt(a)?a:[]}function Ja(a){return typeof a=="function"?a:Tn}function il(a,u){return xe(a)?a:no(a,u)?[a]:$u(wt(a))}var _m=rt;function ll(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Zn(a,u,d)}var yu=np||function(a){return Gt.clearTimeout(a)};function Pu(a,u){if(u)return a.slice();var d=a.length,m=jo?jo(d):new a.constructor(d);return a.copy(m),m}function Ya(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function pm(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function mm(a){var u=new a.constructor(a.source,qi.exec(a));return u.lastIndex=a.lastIndex,u}function bm(a){return Fr?Lt(Fr.call(a)):{}}function Nu(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Iu(a,u){if(a!==u){var d=a!==t,m=a===null,N=a===a,V=Un(a),z=u!==t,j=u===null,Z=u===u,ge=Un(u);if(!j&&!ge&&!V&&a>u||V&&z&&Z&&!j&&!ge||m&&z&&Z||!d&&Z||!N)return 1;if(!m&&!V&&!ge&&a<u||ge&&d&&N&&!m&&!V||j&&d&&N||!z&&N||!Z)return-1}return 0}function vm(a,u,d){for(var m=-1,N=a.criteria,V=u.criteria,z=N.length,j=d.length;++m<z;){var Z=Iu(N[m],V[m]);if(Z){if(m>=j)return Z;var ge=d[m];return Z*(ge=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var N=-1,V=a.length,z=d.length,j=-1,Z=u.length,ge=Xt(V-z,0),_e=oe(Z+ge),ve=!m;++j<Z;)_e[j]=u[j];for(;++N<z;)(ve||N<V)&&(_e[d[N]]=a[N]);for(;ge--;)_e[j++]=a[N++];return _e}function Lu(a,u,d,m){for(var N=-1,V=a.length,z=-1,j=d.length,Z=-1,ge=u.length,_e=Xt(V-j,0),ve=oe(_e+ge),Re=!m;++N<_e;)ve[N]=a[N];for(var Be=N;++Z<ge;)ve[Be+Z]=u[Z];for(;++z<j;)(Re||N<V)&&(ve[Be+d[z]]=a[N++]);return ve}function Pn(a,u){var d=-1,m=a.length;for(u||(u=oe(m));++d<m;)u[d]=a[d];return u}function _i(a,u,d,m){var N=!d;d||(d={});for(var V=-1,z=u.length;++V<z;){var j=u[V],Z=m?m(d[j],a[j],j,d,a):t;Z===t&&(Z=a[j]),N?Ti(d,j,Z):Ur(d,j,Z)}return d}function wm(a,u){return _i(a,to(a),u)}function Sm(a,u){return _i(a,zu(a),u)}function Ms(a,u){return function(d,m){var N=xe(d)?N_:qp,V=u?u():{};return N(d,a,Je(m,2),V)}}function er(a){return rt(function(u,d){var m=-1,N=d.length,V=N>1?d[N-1]:t,z=N>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(N--,V):t,z&&wn(d[0],d[1],z)&&(V=N<3?t:V,N=1),u=Lt(u);++m<N;){var j=d[m];j&&a(u,j,m,V)}return u})}function Au(a,u){return function(d,m){if(d==null)return d;if(!Nn(d))return a(d,m);for(var N=d.length,V=u?N:-1,z=Lt(d);(u?V--:++V<N)&&m(z[V],V,z)!==!1;);return d}}function Ru(a){return function(u,d,m){for(var N=-1,V=Lt(u),z=m(u),j=z.length;j--;){var Z=z[a?j:++N];if(d(V[Z],Z,V)===!1)break}return u}}function km(a,u,d){var m=u&y,N=qr(a);function V(){var z=this&&this!==Gt&&this instanceof V?N:a;return z.apply(m?d:this,arguments)}return V}function Eu(a){return function(u){u=wt(u);var d=Jl(u)?ii(u):t,m=d?d[0]:u.charAt(0),N=d?ll(d,1).join(""):u.slice(1);return m[a]()+N}}function tr(a){return function(u){return va(Rf(Af(u).replace(je,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=xl(a.prototype),m=a.apply(d,u);return Bt(m)?m:d}}function Cm(a,u,d){var m=qr(a);function N(){for(var V=arguments.length,z=oe(V),j=V,Z=nr(N);j--;)z[j]=arguments[j];var ge=V<3&&z[0]!==Z&&z[V-1]!==Z?[]:xi(z,Z);if(V-=ge.length,V<d)return Fu(a,u,Os,N.placeholder,t,z,ge,t,t,d-V);var _e=this&&this!==Gt&&this instanceof N?m:a;return Mn(_e,this,z)}return N}function Du(a){return function(u,d,m){var N=Lt(u);if(!Nn(u)){var V=Je(d,3);u=tn(u),d=function(j){return V(N[j],j,N)}}var z=a(u,d,m);return z>-1?N[V?u[z]:z]:t}}function Vu(a){return Ai(function(u){var d=u.length,m=d,N=Yn.prototype.thru;for(a&&u.reverse();m--;){var V=u[m];if(typeof V!="function")throw new Jn(s);if(N&&!z&&Hs(V)=="wrapper")var z=new Yn([],!0)}for(m=z?m:d;++m<d;){V=u[m];var j=Hs(V),Z=j=="wrapper"?xa(V):t;Z&&io(Z[0])&&Z[1]==(O|I|T|U)&&!Z[4].length&&Z[9]==1?z=z[Hs(Z[0])].apply(z,Z[3]):z=V.length==1&&io(V)?z[j]():z.thru(V)}return function(){var ge=arguments,_e=ge[0];if(z&&ge.length==1&&xe(_e))return z.plant(_e).value();for(var ve=0,Re=d?u[ve].apply(this,ge):_e;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Os(a,u,d,m,N,V,z,j,Z,ge){var _e=u&O,ve=u&y,Re=u&C,Be=u&(I|E),Ye=u&F,it=Re?t:qr(a);function Qe(){for(var ot=arguments.length,ft=oe(ot),Bn=ot;Bn--;)ft[Bn]=arguments[Bn];if(Be)var Sn=nr(Qe),Hn=M_(ft,Sn);if(m&&(ft=Tu(ft,m,N,Be)),V&&(ft=Lu(ft,V,z,Be)),ot-=Hn,Be&&ot<ge){var jt=xi(ft,Sn);return Fu(a,u,Os,Qe.placeholder,d,ft,jt,j,Z,ge-ot)}var si=ve?d:this,Vi=Re?si[a]:a;return ot=ft.length,j?ft=qm(ft,j):Ye&&ot>1&&ft.reverse(),_e&&Z<ot&&(ft.length=Z),this&&this!==Gt&&this instanceof Qe&&(Vi=it||qr(Vi)),Vi.apply(si,ft)}return Qe}function Mu(a,u){return function(d,m){return Xp(d,a,u(m),{})}}function Fs(a,u){return function(d,m){var N;if(d===t&&m===t)return u;if(d!==t&&(N=d),m!==t){if(N===t)return m;typeof d=="string"||typeof m=="string"?(d=Fn(d),m=Fn(m)):(d=wu(d),m=wu(m)),N=a(d,m)}return N}}function Qa(a){return Ai(function(u){return u=Ft(u,On(Je())),rt(function(d){var m=this;return a(u,function(N){return Mn(N,m,d)})})})}function Us(a,u){u=u===t?" ":Fn(u);var d=u.length;if(d<2)return d?za(u,a):u;var m=za(u,ys(a/Yl(u)));return Jl(u)?ll(ii(m),0,a).join(""):m.slice(0,a)}function ym(a,u,d,m){var N=u&y,V=qr(a);function z(){for(var j=-1,Z=arguments.length,ge=-1,_e=m.length,ve=oe(_e+Z),Re=this&&this!==Gt&&this instanceof z?V:a;++ge<_e;)ve[ge]=m[ge];for(;Z--;)ve[ge++]=arguments[++j];return Mn(Re,N?d:this,ve)}return z}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&wn(u,d,m)&&(d=m=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),m=m===t?u<d?1:-1:Di(m),um(u,d,m,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=$n(u),d=$n(d)),a(u,d)}}function Fu(a,u,d,m,N,V,z,j,Z,ge){var _e=u&I,ve=_e?z:t,Re=_e?t:z,Be=_e?V:t,Ye=_e?t:V;u|=_e?T:R,u&=~(_e?R:T),u&P||(u&=~(y|C));var it=[a,u,N,Be,ve,Ye,Re,j,Z,ge],Qe=d.apply(t,it);return io(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Za(a){var u=Zt[a];return function(d,m){if(d=$n(d),m=m==null?0:hn(nt(m),292),m&&Zo(d)){var N=(wt(d)+"e").split("e"),V=u(N[0]+"e"+(+N[1]+m));return N=(wt(V)+"e").split("e"),+(N[0]+"e"+(+N[1]-m))}return u(d)}}var Pm=Xl&&1/gs(new Xl([,-0]))[1]==ue?function(a){return new Xl(a)}:vo;function Uu(a){return function(u){var d=gn(u);return d==kt?Na(u):d==Qt?z_(u):V_(u,a(u))}}function Li(a,u,d,m,N,V,z,j){var Z=u&C;if(!Z&&typeof a!="function")throw new Jn(s);var ge=m?m.length:0;if(ge||(u&=~(T|R),m=N=t),z=z===t?z:Xt(nt(z),0),j=j===t?j:nt(j),ge-=N?N.length:0,u&R){var _e=m,ve=N;m=N=t}var Re=Z?t:xa(a),Be=[a,u,d,m,N,_e,ve,V,z,j];if(Re&&Hm(Be,Re),a=Be[0],u=Be[1],d=Be[2],m=Be[3],N=Be[4],j=Be[9]=Be[9]===t?Z?0:a.length:Xt(Be[9]-ge,0),!j&&u&(I|E)&&(u&=~(I|E)),!u||u==y)var Ye=km(a,u,d);else u==I||u==E?Ye=Cm(a,u,j):(u==T||u==(y|T))&&!N.length?Ye=ym(a,u,d,m):Ye=Os.apply(t,Be);var it=Re?bu:Qu;return Zu(it(Ye,Be),a,u)}function Bu(a,u,d,m){return a===t||ri(a,Zl[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,N,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Es(a,u,t,Hu,V),V.delete(u)),a}function Nm(a){return jr(a)?t:a}function Wu(a,u,d,m,N,V){var z=d&v,j=a.length,Z=u.length;if(j!=Z&&!(z&&Z>j))return!1;var ge=V.get(a),_e=V.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Re=!0,Be=d&S?new yl:t;for(V.set(a,u),V.set(u,a);++ve<j;){var Ye=a[ve],it=u[ve];if(m)var Qe=z?m(it,Ye,ve,u,a,V):m(Ye,it,ve,a,u,V);if(Qe!==t){if(Qe)continue;Re=!1;break}if(Be){if(!wa(u,function(ot,ft){if(!Er(Be,ft)&&(Ye===ot||N(Ye,ot,d,m,V)))return Be.push(ft)})){Re=!1;break}}else if(!(Ye===it||N(Ye,it,d,m,V))){Re=!1;break}}return V.delete(a),V.delete(u),Re}function Im(a,u,d,m,N,V,z){switch(d){case qt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case qn:return!(a.byteLength!=u.byteLength||!V(new ws(a),new ws(u)));case Ve:case He:case Yt:return ri(+a,+u);case Ge:return a.name==u.name&&a.message==u.message;case bn:case Rn:return a==u+"";case kt:var j=Na;case Qt:var Z=m&v;if(j||(j=gs),a.size!=u.size&&!Z)return!1;var ge=z.get(a);if(ge)return ge==u;m|=S,z.set(a,u);var _e=Wu(j(a),j(u),m,N,V,z);return z.delete(a),_e;case Et:if(Fr)return Fr.call(a)==Fr.call(u)}return!1}function Tm(a,u,d,m,N,V){var z=d&v,j=Xa(a),Z=j.length,ge=Xa(u),_e=ge.length;if(Z!=_e&&!z)return!1;for(var ve=Z;ve--;){var Re=j[ve];if(!(z?Re in u:Pt.call(u,Re)))return!1}var Be=V.get(a),Ye=V.get(u);if(Be&&Ye)return Be==u&&Ye==a;var it=!0;V.set(a,u),V.set(u,a);for(var Qe=z;++ve<Z;){Re=j[ve];var ot=a[Re],ft=u[Re];if(m)var Bn=z?m(ft,ot,Re,u,a,V):m(ot,ft,Re,a,u,V);if(!(Bn===t?ot===ft||N(ot,ft,d,m,V):Bn)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var Sn=a.constructor,Hn=u.constructor;Sn!=Hn&&"constructor"in a&&"constructor"in u&&!(typeof Sn=="function"&&Sn instanceof Sn&&typeof Hn=="function"&&Hn instanceof Hn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ai(a){return ro(Ju(a,t,nf),a+"")}function Xa(a){return au(a,tn,to)}function $a(a){return au(a,In,zu)}var xa=Ns?function(a){return Ns.get(a)}:vo;function Hs(a){for(var u=a.name+"",d=$l[u],m=Pt.call($l,u)?d.length:0;m--;){var N=d[m],V=N.func;if(V==null||V==a)return N.name}return u}function nr(a){var u=Pt.call(D,"placeholder")?D:a;return u.placeholder}function Je(){var a=D.iteratee||mo;return a=a===mo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ws(a,u){var d=a.__data__;return Om(u)?d[typeof u=="string"?"string":"hash"]:d.map}function eo(a){for(var u=tn(a),d=u.length;d--;){var m=u[d],N=a[m];u[d]=[m,N,Ku(N)]}return u}function Il(a,u){var d=B_(a,u);return uu(d)?d:t}function Lm(a){var u=Pt.call(a,kl),d=a[kl];try{a[kl]=t;var m=!0}catch{}var N=bs.call(a);return m&&(u?a[kl]=d:delete a[kl]),N}var to=Ta?function(a){return a==null?[]:(a=Lt(a),Xi(Ta(a),function(u){return Yo.call(a,u)}))}:wo,zu=Ta?function(a){for(var u=[];a;)$i(u,to(a)),a=Ss(a);return u}:wo,gn=vn;(La&&gn(new La(new ArrayBuffer(1)))!=qt||Vr&&gn(new Vr)!=kt||Aa&&gn(Aa.resolve())!=mn||Xl&&gn(new Xl)!=Qt||Mr&&gn(new Mr)!=xt)&&(gn=function(a){var u=vn(a),d=u==un?a.constructor:t,m=d?Tl(d):"";if(m)switch(m){case cp:return qt;case dp:return kt;case hp:return mn;case gp:return Qt;case _p:return xt}return u});function Am(a,u,d){for(var m=-1,N=d.length;++m<N;){var V=d[m],z=V.size;switch(V.type){case"drop":a+=z;break;case"dropRight":u-=z;break;case"take":u=hn(u,a+z);break;case"takeRight":a=Xt(a,u-z);break}}return{start:a,end:u}}function Rm(a){var u=a.match(zi);return u?u[1].split(Fl):[]}function qu(a,u,d){u=il(u,a);for(var m=-1,N=u.length,V=!1;++m<N;){var z=pi(u[m]);if(!(V=a!=null&&d(a,z)))break;a=a[z]}return V||++m!=N?V:(N=a==null?0:a.length,!!N&&Ys(N)&&Ri(z,N)&&(xe(a)||Ll(a)))}function Em(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Pt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function Gu(a){return typeof a.constructor=="function"&&!Gr(a)?xl(Ss(a)):{}}function Dm(a,u,d){var m=a.constructor;switch(u){case qn:return Ya(a);case Ve:case He:return new m(+a);case qt:return pm(a,d);case Cn:case fi:case ci:case cn:case Ci:case te:case Ae:case at:case Nt:return Nu(a,d);case kt:return new m;case Yt:case Rn:return new m(a);case bn:return mm(a);case Qt:return new m;case Et:return bm(a)}}function Vm(a,u){var d=u.length;if(!d)return a;var m=d-1;return u[m]=(d>1?"& ":"")+u[m],u=u.join(d>2?", ":" "),a.replace(hl,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function Mm(a){return xe(a)||Ll(a)||!!(Qo&&a&&a[Qo])}function Ri(a,u){var d=typeof a;return u=u==null?ee:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function wn(a,u,d){if(!Bt(d))return!1;var m=typeof u;return(m=="number"?Nn(d)&&Ri(u,d.length):m=="string"&&u in d)?ri(d[u],a):!1}function no(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Un(a)?!0:vr.test(a)||!br.test(a)||u!=null&&a in Lt(u)}function Om(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function io(a){var u=Hs(a),d=D[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=xa(d);return!!m&&a===m[0]}function Fm(a){return!!Ko&&Ko in a}var Um=ps?Ei:So;function Gr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Zl;return a===d}function Ku(a){return a===a&&!Bt(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Bm(a){var u=js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Hm(a,u){var d=a[1],m=u[1],N=d|m,V=N<(y|C|O),z=m==O&&d==I||m==O&&d==U&&a[7].length<=u[8]||m==(O|U)&&u[7].length<=u[8]&&d==I;if(!(V||z))return a;m&y&&(a[2]=u[2],N|=d&y?0:P);var j=u[3];if(j){var Z=a[3];a[3]=Z?Tu(Z,j,u[4]):j,a[4]=Z?xi(a[3],h):u[4]}return j=u[5],j&&(Z=a[5],a[5]=Z?Lu(Z,j,u[6]):j,a[6]=Z?xi(a[5],h):u[6]),j=u[7],j&&(a[7]=j),m&O&&(a[8]=a[8]==null?u[8]:hn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=N,a}function Wm(a){var u=[];if(a!=null)for(var d in Lt(a))u.push(d);return u}function zm(a){return bs.call(a)}function Ju(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var m=arguments,N=-1,V=Xt(m.length-u,0),z=oe(V);++N<V;)z[N]=m[u+N];N=-1;for(var j=oe(u+1);++N<u;)j[N]=m[N];return j[u]=d(z),Mn(a,this,j)}}function Yu(a,u){return u.length<2?a:Nl(a,Zn(u,0,-1))}function qm(a,u){for(var d=a.length,m=hn(u.length,d),N=Pn(a);m--;){var V=u[m];a[m]=Ri(V,d)?N[V]:t}return a}function lo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),Kr=lp||function(a,u){return Gt.setTimeout(a,u)},ro=Xu(dm);function Zu(a,u,d){var m=u+"";return ro(a,Vm(m,Gm(Rm(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=op(),N=$-(m-d);if(d=m,N>0){if(++u>=x)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,m=a.length,N=m-1;for(u=u===t?m:u;++d<u;){var V=Wa(d,N),z=a[V];a[V]=a[d],a[d]=z}return a.length=u,a}var $u=Bm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(wr,function(d,m,N,V){u.push(N?V.replace(kr,"$1"):m||d)}),u});function pi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function Tl(a){if(a!=null){try{return ms.call(a)}catch{}try{return a+""}catch{}}return""}function Gm(a,u){return jn(ce,function(d){var m="_."+d[0];u&d[1]&&!ds(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new Yn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function Km(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=Xt(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var N=0,V=0,z=oe(ys(m/u));N<m;)z[V++]=Zn(a,N,N+=u);return z}function jm(a){for(var u=-1,d=a==null?0:a.length,m=0,N=[];++u<d;){var V=a[u];V&&(N[m++]=V)}return N}function Jm(){var a=arguments.length;if(!a)return[];for(var u=oe(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return $i(xe(d)?Pn(d):[d],an(u,1))}var Ym=rt(function(a,u){return Kt(a)?Br(a,an(u,1,Kt,!0)):[]}),Qm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),Je(d,2)):[]}),Zm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),t,d):[]});function Xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Zn(a,u<0?0:u,m)):[]}function $m(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,0,u<0?0:u)):[]}function xm(a,u){return a&&a.length?Vs(a,Je(u,3),!0,!0):[]}function e1(a,u){return a&&a.length?Vs(a,Je(u,3),!0):[]}function t1(a,u,d,m){var N=a==null?0:a.length;return N?(d&&typeof d!="number"&&wn(a,u,d)&&(d=0,m=N),Jp(a,u,d,m)):[]}function ef(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),hs(a,Je(u,3),N)}function tf(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m-1;return d!==t&&(N=nt(d),N=d<0?Xt(m+N,0):hn(N,m-1)),hs(a,Je(u,3),N,!0)}function nf(a){var u=a==null?0:a.length;return u?an(a,1):[]}function n1(a){var u=a==null?0:a.length;return u?an(a,ue):[]}function i1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),an(a,u)):[]}function l1(a){for(var u=-1,d=a==null?0:a.length,m={};++u<d;){var N=a[u];m[N[0]]=N[1]}return m}function lf(a){return a&&a.length?a[0]:t}function r1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),jl(a,u,N)}function s1(a){var u=a==null?0:a.length;return u?Zn(a,0,-1):[]}var a1=rt(function(a){var u=Ft(a,ja);return u.length&&u[0]===a[0]?Oa(u):[]}),o1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u===Xn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Oa(d,Je(u,2)):[]}),u1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Oa(d,t,u):[]});function f1(a,u){return a==null?"":sp.call(a,u)}function Xn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function c1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m;return d!==t&&(N=nt(d),N=N<0?Xt(m+N,0):hn(N,m-1)),u===u?G_(a,u,N):hs(a,Fo,N,!0)}function d1(a,u){return a&&a.length?gu(a,nt(u)):t}var h1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function g1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,Je(d,2)):a}function _1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var p1=Ai(function(a,u){var d=a==null?0:a.length,m=Ea(a,u);return mu(a,Ft(u,function(N){return Ri(N,d)?+N:N}).sort(Iu)),m});function m1(a,u){var d=[];if(!(a&&a.length))return d;var m=-1,N=[],V=a.length;for(u=Je(u,3);++m<V;){var z=a[m];u(z,m,a)&&(d.push(z),N.push(m))}return mu(a,N),d}function so(a){return a==null?a:fp.call(a)}function b1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&wn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Zn(a,u,d)):[]}function v1(a,u){return Ds(a,u)}function w1(a,u,d){return qa(a,u,Je(d,2))}function S1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u);if(m<d&&ri(a[m],u))return m}return-1}function k1(a,u){return Ds(a,u,!0)}function C1(a,u,d){return qa(a,u,Je(d,2),!0)}function y1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u,!0)-1;if(ri(a[m],u))return m}return-1}function P1(a){return a&&a.length?vu(a):[]}function N1(a,u){return a&&a.length?vu(a,Je(u,2)):[]}function I1(a){var u=a==null?0:a.length;return u?Zn(a,1,u):[]}function T1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Zn(a,0,u<0?0:u)):[]}function L1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,u<0?0:u,m)):[]}function A1(a,u){return a&&a.length?Vs(a,Je(u,3),!1,!0):[]}function R1(a,u){return a&&a.length?Vs(a,Je(u,3)):[]}var E1=rt(function(a){return nl(an(a,1,Kt,!0))}),D1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),nl(an(a,1,Kt,!0),Je(u,2))}),V1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,nl(an(a,1,Kt,!0),t,u)});function M1(a){return a&&a.length?nl(a):[]}function O1(a,u){return a&&a.length?nl(a,Je(u,2)):[]}function F1(a,u){return u=typeof u=="function"?u:t,a&&a.length?nl(a,t,u):[]}function ao(a){if(!(a&&a.length))return[];var u=0;return a=Xi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),ya(u,function(d){return Ft(a,Sa(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=ao(a);return u==null?d:Ft(d,function(m){return Mn(u,t,m)})}var U1=rt(function(a,u){return Kt(a)?Br(a,u):[]}),B1=rt(function(a){return Ka(Xi(a,Kt))}),H1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),Ka(Xi(a,Kt),Je(u,2))}),W1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,Ka(Xi(a,Kt),t,u)}),z1=rt(ao);function q1(a,u){return Cu(a||[],u||[],Ur)}function G1(a,u){return Cu(a||[],u||[],zr)}var K1=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,sf(a,d)});function af(a){var u=D(a);return u.__chain__=!0,u}function j1(a,u){return u(a),a}function qs(a,u){return u(a)}var J1=Ai(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,N=function(V){return Ea(V,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ri(d)?this.thru(N):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:qs,args:[N],thisArg:t}),new Yn(m,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function Y1(){return af(this)}function Q1(){return new Yn(this.value(),this.__chain__)}function Z1(){this.__values__===t&&(this.__values__=Sf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function X1(){return this}function $1(a){for(var u,d=this;d instanceof Ts;){var m=xu(d);m.__index__=0,m.__values__=t,u?N.__wrapped__=m:u=m;var N=m;d=d.__wrapped__}return N.__wrapped__=a,u}function x1(){var a=this.__wrapped__;if(a instanceof ut){var u=a;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:qs,args:[so],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(so)}function eb(){return ku(this.__wrapped__,this.__actions__)}var tb=Ms(function(a,u,d){Pt.call(a,d)?++a[d]:Ti(a,d,1)});function nb(a,u,d){var m=xe(a)?Mo:jp;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}function ib(a,u){var d=xe(a)?Xi:ru;return d(a,Je(u,3))}var lb=Du(ef),rb=Du(tf);function sb(a,u){return an(Gs(a,u),1)}function ab(a,u){return an(Gs(a,u),ue)}function ob(a,u,d){return d=d===t?1:nt(d),an(Gs(a,u),d)}function of(a,u){var d=xe(a)?jn:tl;return d(a,Je(u,3))}function uf(a,u){var d=xe(a)?I_:lu;return d(a,Je(u,3))}var ub=Ms(function(a,u,d){Pt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function fb(a,u,d,m){a=Nn(a)?a:lr(a),d=d&&!m?nt(d):0;var N=a.length;return d<0&&(d=Xt(N+d,0)),Qs(a)?d<=N&&a.indexOf(u,d)>-1:!!N&&jl(a,u,d)>-1}var cb=rt(function(a,u,d){var m=-1,N=typeof u=="function",V=Nn(a)?oe(a.length):[];return tl(a,function(z){V[++m]=N?Mn(u,z,d):Hr(z,u,d)}),V}),db=Ms(function(a,u,d){Ti(a,d,u)});function Gs(a,u){var d=xe(a)?Ft:cu;return d(a,Je(u,3))}function hb(a,u,d,m){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=m?t:d,xe(d)||(d=d==null?[]:[d]),_u(a,u,d))}var gb=Ms(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function _b(a,u,d){var m=xe(a)?va:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,tl)}function pb(a,u,d){var m=xe(a)?T_:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,lu)}function mb(a,u){var d=xe(a)?Xi:ru;return d(a,Js(Je(u,3)))}function bb(a){var u=xe(a)?eu:fm;return u(a)}function vb(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?Wp:cm;return m(a,u)}function wb(a){var u=xe(a)?zp:hm;return u(a)}function Sb(a){if(a==null)return 0;if(Nn(a))return Qs(a)?Yl(a):a.length;var u=gn(a);return u==kt||u==Qt?a.size:Ua(a).length}function kb(a,u,d){var m=xe(a)?wa:gm;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}var Cb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&wn(a,u[0],u[1])?u=[]:d>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,an(u,1),[])}),Ks=ip||function(){return Gt.Date.now()};function yb(a,u){if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){if(--a<1)return u.apply(this,arguments)}}function ff(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,O,t,t,t,t,u)}function cf(a,u){var d;if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var oo=rt(function(a,u,d){var m=y;if(d.length){var N=xi(d,nr(oo));m|=T}return Li(a,m,u,d,N)}),df=rt(function(a,u,d){var m=y|C;if(d.length){var N=xi(d,nr(df));m|=T}return Li(u,m,a,d,N)});function hf(a,u,d){u=d?t:u;var m=Li(a,I,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Li(a,E,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,N,V,z,j,Z,ge=0,_e=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Jn(s);u=$n(u)||0,Bt(d)&&(_e=!!d.leading,ve="maxWait"in d,V=ve?Xt($n(d.maxWait)||0,u):V,Re="trailing"in d?!!d.trailing:Re);function Be(jt){var si=m,Vi=N;return m=N=t,ge=jt,z=a.apply(Vi,si),z}function Ye(jt){return ge=jt,j=Kr(ot,u),_e?Be(jt):z}function it(jt){var si=jt-Z,Vi=jt-ge,Vf=u-si;return ve?hn(Vf,V-Vi):Vf}function Qe(jt){var si=jt-Z,Vi=jt-ge;return Z===t||si>=u||si<0||ve&&Vi>=V}function ot(){var jt=Ks();if(Qe(jt))return ft(jt);j=Kr(ot,it(jt))}function ft(jt){return j=t,Re&&m?Be(jt):(m=N=t,z)}function Bn(){j!==t&&yu(j),ge=0,m=Z=N=j=t}function Sn(){return j===t?z:ft(Ks())}function Hn(){var jt=Ks(),si=Qe(jt);if(m=arguments,N=this,Z=jt,si){if(j===t)return Ye(Z);if(ve)return yu(j),j=Kr(ot,u),Be(Z)}return j===t&&(j=Kr(ot,u)),z}return Hn.cancel=Bn,Hn.flush=Sn,Hn}var Pb=rt(function(a,u){return iu(a,1,u)}),Nb=rt(function(a,u,d){return iu(a,$n(u)||0,d)});function Ib(a){return Li(a,F)}function js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Jn(s);var d=function(){var m=arguments,N=u?u.apply(this,m):m[0],V=d.cache;if(V.has(N))return V.get(N);var z=a.apply(this,m);return d.cache=V.set(N,z)||V,z};return d.cache=new(js.Cache||Ii),d}js.Cache=Ii;function Js(a){if(typeof a!="function")throw new Jn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function Tb(a){return cf(2,a)}var Lb=_m(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],On(Je())):Ft(an(u,1),On(Je()));var d=u.length;return rt(function(m){for(var N=-1,V=hn(m.length,d);++N<V;)m[N]=u[N].call(this,m[N]);return Mn(a,this,m)})}),uo=rt(function(a,u){var d=xi(u,nr(uo));return Li(a,T,t,u,d)}),pf=rt(function(a,u){var d=xi(u,nr(pf));return Li(a,R,t,u,d)}),Ab=Ai(function(a,u){return Li(a,U,t,t,t,u)});function Rb(a,u){if(typeof a!="function")throw new Jn(s);return u=u===t?u:nt(u),rt(a,u)}function Eb(a,u){if(typeof a!="function")throw new Jn(s);return u=u==null?0:Xt(nt(u),0),rt(function(d){var m=d[u],N=ll(d,0,u);return m&&$i(N,m),Mn(a,this,N)})}function Db(a,u,d){var m=!0,N=!0;if(typeof a!="function")throw new Jn(s);return Bt(d)&&(m="leading"in d?!!d.leading:m,N="trailing"in d?!!d.trailing:N),_f(a,u,{leading:m,maxWait:u,trailing:N})}function Vb(a){return ff(a,1)}function Mb(a,u){return uo(Ja(u),a)}function Ob(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Fb(a){return Qn(a,b)}function Ub(a,u){return u=typeof u=="function"?u:t,Qn(a,b,u)}function Bb(a){return Qn(a,_|b)}function Hb(a,u){return u=typeof u=="function"?u:t,Qn(a,_|b,u)}function Wb(a,u){return u==null||nu(a,u,tn(u))}function ri(a,u){return a===u||a!==a&&u!==u}var zb=Bs(Ma),qb=Bs(function(a,u){return a>=u}),Ll=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=oe.isArray,Gb=Zi?On(Zi):$p;function Nn(a){return a!=null&&Ys(a.length)&&!Ei(a)}function Kt(a){return zt(a)&&Nn(a)}function Kb(a){return a===!0||a===!1||zt(a)&&vn(a)==Ve}var rl=rp||So,jb=sn?On(sn):xp;function Jb(a){return zt(a)&&a.nodeType===1&&!jr(a)}function Yb(a){if(a==null)return!0;if(Nn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||rl(a)||ir(a)||Ll(a)))return!a.length;var u=gn(a);if(u==kt||u==Qt)return!a.size;if(Gr(a))return!Ua(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Qb(a,u){return Wr(a,u)}function Zb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Wr(a,u,t,d):!!m}function fo(a){if(!zt(a))return!1;var u=vn(a);return u==Ge||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function Xb(a){return typeof a=="number"&&Zo(a)}function Ei(a){if(!Bt(a))return!1;var u=vn(a);return u==St||u==Wt||u==ae||u==Bi}function mf(a){return typeof a=="number"&&a==nt(a)}function Ys(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ee}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var bf=Vn?On(Vn):tm;function $b(a,u){return a===u||Fa(a,u,eo(u))}function xb(a,u,d){return d=typeof d=="function"?d:t,Fa(a,u,eo(u),d)}function ev(a){return vf(a)&&a!=+a}function tv(a){if(Um(a))throw new Xe(r);return uu(a)}function nv(a){return a===null}function iv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&vn(a)==Yt}function jr(a){if(!zt(a)||vn(a)!=un)return!1;var u=Ss(a);if(u===null)return!0;var d=Pt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ms.call(d)==x_}var co=cs?On(cs):nm;function lv(a){return mf(a)&&a>=-ee&&a<=ee}var wf=Do?On(Do):im;function Qs(a){return typeof a=="string"||!xe(a)&&zt(a)&&vn(a)==Rn}function Un(a){return typeof a=="symbol"||zt(a)&&vn(a)==Et}var ir=Vo?On(Vo):lm;function rv(a){return a===t}function sv(a){return zt(a)&&gn(a)==xt}function av(a){return zt(a)&&vn(a)==fn}var ov=Bs(Ba),uv=Bs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Nn(a))return Qs(a)?ii(a):Pn(a);if(Dr&&a[Dr])return W_(a[Dr]());var u=gn(a),d=u==kt?Na:u==Qt?gs:lr;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=$n(a),a===ue||a===-ue){var u=a<0?-1:1;return u*Y}return a===a?a:0}function nt(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?Pl(nt(a),0,ie):0}function $n(a){if(typeof a=="number")return a;if(Un(a))return Pe;if(Bt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Bt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Hl.test(a);return d||Gi.test(a)?Dn(a.slice(2),d?2:8):gl.test(a)?Pe:+a}function Cf(a){return _i(a,In(a))}function fv(a){return a?Pl(nt(a),-ee,ee):a===0?a:0}function wt(a){return a==null?"":Fn(a)}var cv=er(function(a,u){if(Gr(u)||Nn(u)){_i(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Ur(a,d,u[d])}),yf=er(function(a,u){_i(u,In(u),a)}),Zs=er(function(a,u,d,m){_i(u,In(u),a,m)}),dv=er(function(a,u,d,m){_i(u,tn(u),a,m)}),hv=Ai(Ea);function gv(a,u){var d=xl(a);return u==null?d:tu(d,u)}var _v=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,N=m>2?u[2]:t;for(N&&wn(u[0],u[1],N)&&(m=1);++d<m;)for(var V=u[d],z=In(V),j=-1,Z=z.length;++j<Z;){var ge=z[j],_e=a[ge];(_e===t||ri(_e,Zl[ge])&&!Pt.call(a,ge))&&(a[ge]=V[ge])}return a}),pv=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function mv(a,u){return Oo(a,Je(u,3),gi)}function bv(a,u){return Oo(a,Je(u,3),Va)}function vv(a,u){return a==null?a:Da(a,Je(u,3),In)}function wv(a,u){return a==null?a:su(a,Je(u,3),In)}function Sv(a,u){return a&&gi(a,Je(u,3))}function kv(a,u){return a&&Va(a,Je(u,3))}function Cv(a){return a==null?[]:Rs(a,tn(a))}function yv(a){return a==null?[]:Rs(a,In(a))}function ho(a,u,d){var m=a==null?t:Nl(a,u);return m===t?d:m}function Pv(a,u){return a!=null&&qu(a,u,Yp)}function go(a,u){return a!=null&&qu(a,u,Qp)}var Nv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),a[u]=d},po(Tn)),Iv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),Pt.call(a,u)?a[u].push(d):a[u]=[d]},Je),Tv=rt(Hr);function tn(a){return Nn(a)?xo(a):Ua(a)}function In(a){return Nn(a)?xo(a,!0):rm(a)}function Lv(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,u(m,N,V),m)}),d}function Av(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,N,u(m,N,V))}),d}var Rv=er(function(a,u,d){Es(a,u,d)}),Pf=er(function(a,u,d,m){Es(a,u,d,m)}),Ev=Ai(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ft(u,function(V){return V=il(V,a),m||(m=V.length>1),V}),_i(a,$a(a),d),m&&(d=Qn(d,_|p|b,Nm));for(var N=u.length;N--;)Ga(d,u[N]);return d});function Dv(a,u){return Nf(a,Js(Je(u)))}var Vv=Ai(function(a,u){return a==null?{}:am(a,u)});function Nf(a,u){if(a==null)return{};var d=Ft($a(a),function(m){return[m]});return u=Je(u),pu(a,d,function(m,N){return u(m,N[0])})}function Mv(a,u,d){u=il(u,a);var m=-1,N=u.length;for(N||(N=1,a=t);++m<N;){var V=a==null?t:a[pi(u[m])];V===t&&(m=N,V=d),a=Ei(V)?V.call(a):V}return a}function Ov(a,u,d){return a==null?a:zr(a,u,d)}function Fv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:zr(a,u,d,m)}var If=Uu(tn),Tf=Uu(In);function Uv(a,u,d){var m=xe(a),N=m||rl(a)||ir(a);if(u=Je(u,4),d==null){var V=a&&a.constructor;N?d=m?new V:[]:Bt(a)?d=Ei(V)?xl(Ss(a)):{}:d={}}return(N?jn:gi)(a,function(z,j,Z){return u(d,z,j,Z)}),d}function Bv(a,u){return a==null?!0:Ga(a,u)}function Hv(a,u,d){return a==null?a:Su(a,u,Ja(d))}function Wv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ja(d),m)}function lr(a){return a==null?[]:Pa(a,tn(a))}function zv(a){return a==null?[]:Pa(a,In(a))}function qv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=$n(d),d=d===d?d:0),u!==t&&(u=$n(u),u=u===u?u:0),Pl($n(a),u,d)}function Gv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=$n(a),Zp(a,u,d)}function Kv(a,u,d){if(d&&typeof d!="boolean"&&wn(a,u,d)&&(u=d=t),d===t&&(typeof u=="boolean"?(d=u,u=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Di(a),u===t?(u=a,a=0):u=Di(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var N=Xo();return hn(a+N*(u-a+en("1e-"+((N+"").length-1))),u)}return Wa(a,u)}var jv=tr(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return _o(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(pl,O_).replace(Oe,"")}function Jv(a,u,d){a=wt(a),u=Fn(u);var m=a.length;d=d===t?m:Pl(nt(d),0,m);var N=d;return d-=u.length,d>=0&&a.slice(d,N)==u}function Yv(a){return a=wt(a),a&&Hi.test(a)?a.replace(ni,F_):a}function Qv(a){return a=wt(a),a&&Sr.test(a)?a.replace(dl,"\\$&"):a}var Zv=tr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Xv=tr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),$v=Eu("toLowerCase");function xv(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;if(!u||m>=u)return a;var N=(u-m)/2;return Us(Ps(N),d)+a+Us(ys(N),d)}function e0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?a+Us(u-m,d):a}function t0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?Us(u-m,d)+a:a}function n0(a,u,d){return d||u==null?u=0:u&&(u=+u),up(wt(a).replace(yi,""),u||0)}function i0(a,u,d){return(d?wn(a,u,d):u===t)?u=1:u=nt(u),za(wt(a),u)}function l0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var r0=tr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function s0(a,u,d){return d&&typeof d!="number"&&wn(a,u,d)&&(u=d=t),d=d===t?ie:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!co(u))&&(u=Fn(u),!u&&Jl(a))?ll(ii(a),0,d):a.split(u,d)):[]}var a0=tr(function(a,u,d){return a+(d?" ":"")+_o(u)});function o0(a,u,d){return a=wt(a),d=d==null?0:Pl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function u0(a,u,d){var m=D.templateSettings;d&&wn(a,u,d)&&(u=t),a=wt(a),u=Zs({},u,m,Bu);var N=Zs({},u.imports,m.imports,Bu),V=tn(N),z=Pa(N,V),j,Z,ge=0,_e=u.interpolate||di,ve="__p += '",Re=Ia((u.escape||di).source+"|"+_e.source+"|"+(_e===Ol?yn:di).source+"|"+(u.evaluate||di).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ji+"]")+`
35
+ `)}function Mm(a){return xe(a)||Ll(a)||!!(Qo&&a&&a[Qo])}function Ri(a,u){var d=typeof a;return u=u==null?ee:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function wn(a,u,d){if(!Bt(d))return!1;var m=typeof u;return(m=="number"?Nn(d)&&Ri(u,d.length):m=="string"&&u in d)?ri(d[u],a):!1}function no(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Un(a)?!0:vr.test(a)||!br.test(a)||u!=null&&a in Lt(u)}function Om(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function io(a){var u=Hs(a),d=D[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=xa(d);return!!m&&a===m[0]}function Fm(a){return!!Ko&&Ko in a}var Um=ps?Ei:So;function Gr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Zl;return a===d}function Ku(a){return a===a&&!Bt(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Bm(a){var u=js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Hm(a,u){var d=a[1],m=u[1],N=d|m,V=N<(y|C|O),z=m==O&&d==I||m==O&&d==U&&a[7].length<=u[8]||m==(O|U)&&u[7].length<=u[8]&&d==I;if(!(V||z))return a;m&y&&(a[2]=u[2],N|=d&y?0:P);var j=u[3];if(j){var Z=a[3];a[3]=Z?Tu(Z,j,u[4]):j,a[4]=Z?xi(a[3],h):u[4]}return j=u[5],j&&(Z=a[5],a[5]=Z?Lu(Z,j,u[6]):j,a[6]=Z?xi(a[5],h):u[6]),j=u[7],j&&(a[7]=j),m&O&&(a[8]=a[8]==null?u[8]:hn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=N,a}function Wm(a){var u=[];if(a!=null)for(var d in Lt(a))u.push(d);return u}function zm(a){return bs.call(a)}function Ju(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var m=arguments,N=-1,V=Xt(m.length-u,0),z=oe(V);++N<V;)z[N]=m[u+N];N=-1;for(var j=oe(u+1);++N<u;)j[N]=m[N];return j[u]=d(z),Mn(a,this,j)}}function Yu(a,u){return u.length<2?a:Nl(a,Zn(u,0,-1))}function qm(a,u){for(var d=a.length,m=hn(u.length,d),N=Pn(a);m--;){var V=u[m];a[m]=Ri(V,d)?N[V]:t}return a}function lo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),Kr=lp||function(a,u){return Gt.setTimeout(a,u)},ro=Xu(dm);function Zu(a,u,d){var m=u+"";return ro(a,Vm(m,Gm(Rm(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=op(),N=$-(m-d);if(d=m,N>0){if(++u>=x)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,m=a.length,N=m-1;for(u=u===t?m:u;++d<u;){var V=Wa(d,N),z=a[V];a[V]=a[d],a[d]=z}return a.length=u,a}var $u=Bm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(wr,function(d,m,N,V){u.push(N?V.replace(kr,"$1"):m||d)}),u});function pi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function Tl(a){if(a!=null){try{return ms.call(a)}catch{}try{return a+""}catch{}}return""}function Gm(a,u){return jn(ce,function(d){var m="_."+d[0];u&d[1]&&!ds(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new Yn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function Km(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=Xt(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var N=0,V=0,z=oe(ys(m/u));N<m;)z[V++]=Zn(a,N,N+=u);return z}function jm(a){for(var u=-1,d=a==null?0:a.length,m=0,N=[];++u<d;){var V=a[u];V&&(N[m++]=V)}return N}function Jm(){var a=arguments.length;if(!a)return[];for(var u=oe(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return $i(xe(d)?Pn(d):[d],an(u,1))}var Ym=rt(function(a,u){return Kt(a)?Br(a,an(u,1,Kt,!0)):[]}),Qm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),Je(d,2)):[]}),Zm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),t,d):[]});function Xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Zn(a,u<0?0:u,m)):[]}function $m(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,0,u<0?0:u)):[]}function xm(a,u){return a&&a.length?Vs(a,Je(u,3),!0,!0):[]}function e1(a,u){return a&&a.length?Vs(a,Je(u,3),!0):[]}function t1(a,u,d,m){var N=a==null?0:a.length;return N?(d&&typeof d!="number"&&wn(a,u,d)&&(d=0,m=N),Jp(a,u,d,m)):[]}function ef(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),hs(a,Je(u,3),N)}function tf(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m-1;return d!==t&&(N=nt(d),N=d<0?Xt(m+N,0):hn(N,m-1)),hs(a,Je(u,3),N,!0)}function nf(a){var u=a==null?0:a.length;return u?an(a,1):[]}function n1(a){var u=a==null?0:a.length;return u?an(a,ue):[]}function i1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),an(a,u)):[]}function l1(a){for(var u=-1,d=a==null?0:a.length,m={};++u<d;){var N=a[u];m[N[0]]=N[1]}return m}function lf(a){return a&&a.length?a[0]:t}function r1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),jl(a,u,N)}function s1(a){var u=a==null?0:a.length;return u?Zn(a,0,-1):[]}var a1=rt(function(a){var u=Ft(a,ja);return u.length&&u[0]===a[0]?Oa(u):[]}),o1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u===Xn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Oa(d,Je(u,2)):[]}),u1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Oa(d,t,u):[]});function f1(a,u){return a==null?"":sp.call(a,u)}function Xn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function c1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m;return d!==t&&(N=nt(d),N=N<0?Xt(m+N,0):hn(N,m-1)),u===u?G_(a,u,N):hs(a,Fo,N,!0)}function d1(a,u){return a&&a.length?gu(a,nt(u)):t}var h1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function g1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,Je(d,2)):a}function _1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var p1=Ai(function(a,u){var d=a==null?0:a.length,m=Ea(a,u);return mu(a,Ft(u,function(N){return Ri(N,d)?+N:N}).sort(Iu)),m});function m1(a,u){var d=[];if(!(a&&a.length))return d;var m=-1,N=[],V=a.length;for(u=Je(u,3);++m<V;){var z=a[m];u(z,m,a)&&(d.push(z),N.push(m))}return mu(a,N),d}function so(a){return a==null?a:fp.call(a)}function b1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&wn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Zn(a,u,d)):[]}function v1(a,u){return Ds(a,u)}function w1(a,u,d){return qa(a,u,Je(d,2))}function S1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u);if(m<d&&ri(a[m],u))return m}return-1}function k1(a,u){return Ds(a,u,!0)}function C1(a,u,d){return qa(a,u,Je(d,2),!0)}function y1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u,!0)-1;if(ri(a[m],u))return m}return-1}function P1(a){return a&&a.length?vu(a):[]}function N1(a,u){return a&&a.length?vu(a,Je(u,2)):[]}function I1(a){var u=a==null?0:a.length;return u?Zn(a,1,u):[]}function T1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Zn(a,0,u<0?0:u)):[]}function L1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,u<0?0:u,m)):[]}function A1(a,u){return a&&a.length?Vs(a,Je(u,3),!1,!0):[]}function R1(a,u){return a&&a.length?Vs(a,Je(u,3)):[]}var E1=rt(function(a){return nl(an(a,1,Kt,!0))}),D1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),nl(an(a,1,Kt,!0),Je(u,2))}),V1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,nl(an(a,1,Kt,!0),t,u)});function M1(a){return a&&a.length?nl(a):[]}function O1(a,u){return a&&a.length?nl(a,Je(u,2)):[]}function F1(a,u){return u=typeof u=="function"?u:t,a&&a.length?nl(a,t,u):[]}function ao(a){if(!(a&&a.length))return[];var u=0;return a=Xi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),ya(u,function(d){return Ft(a,Sa(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=ao(a);return u==null?d:Ft(d,function(m){return Mn(u,t,m)})}var U1=rt(function(a,u){return Kt(a)?Br(a,u):[]}),B1=rt(function(a){return Ka(Xi(a,Kt))}),H1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),Ka(Xi(a,Kt),Je(u,2))}),W1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,Ka(Xi(a,Kt),t,u)}),z1=rt(ao);function q1(a,u){return Cu(a||[],u||[],Ur)}function G1(a,u){return Cu(a||[],u||[],zr)}var K1=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,sf(a,d)});function af(a){var u=D(a);return u.__chain__=!0,u}function j1(a,u){return u(a),a}function qs(a,u){return u(a)}var J1=Ai(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,N=function(V){return Ea(V,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ri(d)?this.thru(N):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:qs,args:[N],thisArg:t}),new Yn(m,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function Y1(){return af(this)}function Q1(){return new Yn(this.value(),this.__chain__)}function Z1(){this.__values__===t&&(this.__values__=Sf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function X1(){return this}function $1(a){for(var u,d=this;d instanceof Ts;){var m=xu(d);m.__index__=0,m.__values__=t,u?N.__wrapped__=m:u=m;var N=m;d=d.__wrapped__}return N.__wrapped__=a,u}function x1(){var a=this.__wrapped__;if(a instanceof ut){var u=a;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:qs,args:[so],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(so)}function eb(){return ku(this.__wrapped__,this.__actions__)}var tb=Ms(function(a,u,d){Pt.call(a,d)?++a[d]:Ti(a,d,1)});function nb(a,u,d){var m=xe(a)?Mo:jp;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}function ib(a,u){var d=xe(a)?Xi:ru;return d(a,Je(u,3))}var lb=Du(ef),rb=Du(tf);function sb(a,u){return an(Gs(a,u),1)}function ab(a,u){return an(Gs(a,u),ue)}function ob(a,u,d){return d=d===t?1:nt(d),an(Gs(a,u),d)}function of(a,u){var d=xe(a)?jn:tl;return d(a,Je(u,3))}function uf(a,u){var d=xe(a)?I_:lu;return d(a,Je(u,3))}var ub=Ms(function(a,u,d){Pt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function fb(a,u,d,m){a=Nn(a)?a:lr(a),d=d&&!m?nt(d):0;var N=a.length;return d<0&&(d=Xt(N+d,0)),Qs(a)?d<=N&&a.indexOf(u,d)>-1:!!N&&jl(a,u,d)>-1}var cb=rt(function(a,u,d){var m=-1,N=typeof u=="function",V=Nn(a)?oe(a.length):[];return tl(a,function(z){V[++m]=N?Mn(u,z,d):Hr(z,u,d)}),V}),db=Ms(function(a,u,d){Ti(a,d,u)});function Gs(a,u){var d=xe(a)?Ft:cu;return d(a,Je(u,3))}function hb(a,u,d,m){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=m?t:d,xe(d)||(d=d==null?[]:[d]),_u(a,u,d))}var gb=Ms(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function _b(a,u,d){var m=xe(a)?va:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,tl)}function pb(a,u,d){var m=xe(a)?T_:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,lu)}function mb(a,u){var d=xe(a)?Xi:ru;return d(a,Js(Je(u,3)))}function bb(a){var u=xe(a)?eu:fm;return u(a)}function vb(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?Wp:cm;return m(a,u)}function wb(a){var u=xe(a)?zp:hm;return u(a)}function Sb(a){if(a==null)return 0;if(Nn(a))return Qs(a)?Yl(a):a.length;var u=gn(a);return u==kt||u==Qt?a.size:Ua(a).length}function kb(a,u,d){var m=xe(a)?wa:gm;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}var Cb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&wn(a,u[0],u[1])?u=[]:d>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,an(u,1),[])}),Ks=ip||function(){return Gt.Date.now()};function yb(a,u){if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){if(--a<1)return u.apply(this,arguments)}}function ff(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,O,t,t,t,t,u)}function cf(a,u){var d;if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var oo=rt(function(a,u,d){var m=y;if(d.length){var N=xi(d,nr(oo));m|=T}return Li(a,m,u,d,N)}),df=rt(function(a,u,d){var m=y|C;if(d.length){var N=xi(d,nr(df));m|=T}return Li(u,m,a,d,N)});function hf(a,u,d){u=d?t:u;var m=Li(a,I,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Li(a,E,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,N,V,z,j,Z,ge=0,_e=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Jn(s);u=$n(u)||0,Bt(d)&&(_e=!!d.leading,ve="maxWait"in d,V=ve?Xt($n(d.maxWait)||0,u):V,Re="trailing"in d?!!d.trailing:Re);function Be(jt){var si=m,Vi=N;return m=N=t,ge=jt,z=a.apply(Vi,si),z}function Ye(jt){return ge=jt,j=Kr(ot,u),_e?Be(jt):z}function it(jt){var si=jt-Z,Vi=jt-ge,Vf=u-si;return ve?hn(Vf,V-Vi):Vf}function Qe(jt){var si=jt-Z,Vi=jt-ge;return Z===t||si>=u||si<0||ve&&Vi>=V}function ot(){var jt=Ks();if(Qe(jt))return ft(jt);j=Kr(ot,it(jt))}function ft(jt){return j=t,Re&&m?Be(jt):(m=N=t,z)}function Bn(){j!==t&&yu(j),ge=0,m=Z=N=j=t}function Sn(){return j===t?z:ft(Ks())}function Hn(){var jt=Ks(),si=Qe(jt);if(m=arguments,N=this,Z=jt,si){if(j===t)return Ye(Z);if(ve)return yu(j),j=Kr(ot,u),Be(Z)}return j===t&&(j=Kr(ot,u)),z}return Hn.cancel=Bn,Hn.flush=Sn,Hn}var Pb=rt(function(a,u){return iu(a,1,u)}),Nb=rt(function(a,u,d){return iu(a,$n(u)||0,d)});function Ib(a){return Li(a,F)}function js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Jn(s);var d=function(){var m=arguments,N=u?u.apply(this,m):m[0],V=d.cache;if(V.has(N))return V.get(N);var z=a.apply(this,m);return d.cache=V.set(N,z)||V,z};return d.cache=new(js.Cache||Ii),d}js.Cache=Ii;function Js(a){if(typeof a!="function")throw new Jn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function Tb(a){return cf(2,a)}var Lb=_m(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],On(Je())):Ft(an(u,1),On(Je()));var d=u.length;return rt(function(m){for(var N=-1,V=hn(m.length,d);++N<V;)m[N]=u[N].call(this,m[N]);return Mn(a,this,m)})}),uo=rt(function(a,u){var d=xi(u,nr(uo));return Li(a,T,t,u,d)}),pf=rt(function(a,u){var d=xi(u,nr(pf));return Li(a,R,t,u,d)}),Ab=Ai(function(a,u){return Li(a,U,t,t,t,u)});function Rb(a,u){if(typeof a!="function")throw new Jn(s);return u=u===t?u:nt(u),rt(a,u)}function Eb(a,u){if(typeof a!="function")throw new Jn(s);return u=u==null?0:Xt(nt(u),0),rt(function(d){var m=d[u],N=ll(d,0,u);return m&&$i(N,m),Mn(a,this,N)})}function Db(a,u,d){var m=!0,N=!0;if(typeof a!="function")throw new Jn(s);return Bt(d)&&(m="leading"in d?!!d.leading:m,N="trailing"in d?!!d.trailing:N),_f(a,u,{leading:m,maxWait:u,trailing:N})}function Vb(a){return ff(a,1)}function Mb(a,u){return uo(Ja(u),a)}function Ob(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Fb(a){return Qn(a,b)}function Ub(a,u){return u=typeof u=="function"?u:t,Qn(a,b,u)}function Bb(a){return Qn(a,_|b)}function Hb(a,u){return u=typeof u=="function"?u:t,Qn(a,_|b,u)}function Wb(a,u){return u==null||nu(a,u,tn(u))}function ri(a,u){return a===u||a!==a&&u!==u}var zb=Bs(Ma),qb=Bs(function(a,u){return a>=u}),Ll=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=oe.isArray,Gb=Zi?On(Zi):$p;function Nn(a){return a!=null&&Ys(a.length)&&!Ei(a)}function Kt(a){return zt(a)&&Nn(a)}function Kb(a){return a===!0||a===!1||zt(a)&&vn(a)==Ve}var rl=rp||So,jb=sn?On(sn):xp;function Jb(a){return zt(a)&&a.nodeType===1&&!jr(a)}function Yb(a){if(a==null)return!0;if(Nn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||rl(a)||ir(a)||Ll(a)))return!a.length;var u=gn(a);if(u==kt||u==Qt)return!a.size;if(Gr(a))return!Ua(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Qb(a,u){return Wr(a,u)}function Zb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Wr(a,u,t,d):!!m}function fo(a){if(!zt(a))return!1;var u=vn(a);return u==Ge||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function Xb(a){return typeof a=="number"&&Zo(a)}function Ei(a){if(!Bt(a))return!1;var u=vn(a);return u==St||u==Wt||u==ae||u==Bi}function mf(a){return typeof a=="number"&&a==nt(a)}function Ys(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ee}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var bf=Vn?On(Vn):tm;function $b(a,u){return a===u||Fa(a,u,eo(u))}function xb(a,u,d){return d=typeof d=="function"?d:t,Fa(a,u,eo(u),d)}function ev(a){return vf(a)&&a!=+a}function tv(a){if(Um(a))throw new Xe(r);return uu(a)}function nv(a){return a===null}function iv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&vn(a)==Yt}function jr(a){if(!zt(a)||vn(a)!=un)return!1;var u=Ss(a);if(u===null)return!0;var d=Pt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ms.call(d)==x_}var co=cs?On(cs):nm;function lv(a){return mf(a)&&a>=-ee&&a<=ee}var wf=Do?On(Do):im;function Qs(a){return typeof a=="string"||!xe(a)&&zt(a)&&vn(a)==Rn}function Un(a){return typeof a=="symbol"||zt(a)&&vn(a)==Et}var ir=Vo?On(Vo):lm;function rv(a){return a===t}function sv(a){return zt(a)&&gn(a)==xt}function av(a){return zt(a)&&vn(a)==fn}var ov=Bs(Ba),uv=Bs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Nn(a))return Qs(a)?ii(a):Pn(a);if(Dr&&a[Dr])return W_(a[Dr]());var u=gn(a),d=u==kt?Na:u==Qt?gs:lr;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=$n(a),a===ue||a===-ue){var u=a<0?-1:1;return u*Y}return a===a?a:0}function nt(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?Pl(nt(a),0,le):0}function $n(a){if(typeof a=="number")return a;if(Un(a))return Pe;if(Bt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Bt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Hl.test(a);return d||Gi.test(a)?Dn(a.slice(2),d?2:8):gl.test(a)?Pe:+a}function Cf(a){return _i(a,In(a))}function fv(a){return a?Pl(nt(a),-ee,ee):a===0?a:0}function wt(a){return a==null?"":Fn(a)}var cv=er(function(a,u){if(Gr(u)||Nn(u)){_i(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Ur(a,d,u[d])}),yf=er(function(a,u){_i(u,In(u),a)}),Zs=er(function(a,u,d,m){_i(u,In(u),a,m)}),dv=er(function(a,u,d,m){_i(u,tn(u),a,m)}),hv=Ai(Ea);function gv(a,u){var d=xl(a);return u==null?d:tu(d,u)}var _v=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,N=m>2?u[2]:t;for(N&&wn(u[0],u[1],N)&&(m=1);++d<m;)for(var V=u[d],z=In(V),j=-1,Z=z.length;++j<Z;){var ge=z[j],_e=a[ge];(_e===t||ri(_e,Zl[ge])&&!Pt.call(a,ge))&&(a[ge]=V[ge])}return a}),pv=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function mv(a,u){return Oo(a,Je(u,3),gi)}function bv(a,u){return Oo(a,Je(u,3),Va)}function vv(a,u){return a==null?a:Da(a,Je(u,3),In)}function wv(a,u){return a==null?a:su(a,Je(u,3),In)}function Sv(a,u){return a&&gi(a,Je(u,3))}function kv(a,u){return a&&Va(a,Je(u,3))}function Cv(a){return a==null?[]:Rs(a,tn(a))}function yv(a){return a==null?[]:Rs(a,In(a))}function ho(a,u,d){var m=a==null?t:Nl(a,u);return m===t?d:m}function Pv(a,u){return a!=null&&qu(a,u,Yp)}function go(a,u){return a!=null&&qu(a,u,Qp)}var Nv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),a[u]=d},po(Tn)),Iv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),Pt.call(a,u)?a[u].push(d):a[u]=[d]},Je),Tv=rt(Hr);function tn(a){return Nn(a)?xo(a):Ua(a)}function In(a){return Nn(a)?xo(a,!0):rm(a)}function Lv(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,u(m,N,V),m)}),d}function Av(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,N,u(m,N,V))}),d}var Rv=er(function(a,u,d){Es(a,u,d)}),Pf=er(function(a,u,d,m){Es(a,u,d,m)}),Ev=Ai(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ft(u,function(V){return V=il(V,a),m||(m=V.length>1),V}),_i(a,$a(a),d),m&&(d=Qn(d,_|p|b,Nm));for(var N=u.length;N--;)Ga(d,u[N]);return d});function Dv(a,u){return Nf(a,Js(Je(u)))}var Vv=Ai(function(a,u){return a==null?{}:am(a,u)});function Nf(a,u){if(a==null)return{};var d=Ft($a(a),function(m){return[m]});return u=Je(u),pu(a,d,function(m,N){return u(m,N[0])})}function Mv(a,u,d){u=il(u,a);var m=-1,N=u.length;for(N||(N=1,a=t);++m<N;){var V=a==null?t:a[pi(u[m])];V===t&&(m=N,V=d),a=Ei(V)?V.call(a):V}return a}function Ov(a,u,d){return a==null?a:zr(a,u,d)}function Fv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:zr(a,u,d,m)}var If=Uu(tn),Tf=Uu(In);function Uv(a,u,d){var m=xe(a),N=m||rl(a)||ir(a);if(u=Je(u,4),d==null){var V=a&&a.constructor;N?d=m?new V:[]:Bt(a)?d=Ei(V)?xl(Ss(a)):{}:d={}}return(N?jn:gi)(a,function(z,j,Z){return u(d,z,j,Z)}),d}function Bv(a,u){return a==null?!0:Ga(a,u)}function Hv(a,u,d){return a==null?a:Su(a,u,Ja(d))}function Wv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ja(d),m)}function lr(a){return a==null?[]:Pa(a,tn(a))}function zv(a){return a==null?[]:Pa(a,In(a))}function qv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=$n(d),d=d===d?d:0),u!==t&&(u=$n(u),u=u===u?u:0),Pl($n(a),u,d)}function Gv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=$n(a),Zp(a,u,d)}function Kv(a,u,d){if(d&&typeof d!="boolean"&&wn(a,u,d)&&(u=d=t),d===t&&(typeof u=="boolean"?(d=u,u=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Di(a),u===t?(u=a,a=0):u=Di(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var N=Xo();return hn(a+N*(u-a+en("1e-"+((N+"").length-1))),u)}return Wa(a,u)}var jv=tr(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return _o(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(pl,O_).replace(Oe,"")}function Jv(a,u,d){a=wt(a),u=Fn(u);var m=a.length;d=d===t?m:Pl(nt(d),0,m);var N=d;return d-=u.length,d>=0&&a.slice(d,N)==u}function Yv(a){return a=wt(a),a&&Hi.test(a)?a.replace(ni,F_):a}function Qv(a){return a=wt(a),a&&Sr.test(a)?a.replace(dl,"\\$&"):a}var Zv=tr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Xv=tr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),$v=Eu("toLowerCase");function xv(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;if(!u||m>=u)return a;var N=(u-m)/2;return Us(Ps(N),d)+a+Us(ys(N),d)}function e0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?a+Us(u-m,d):a}function t0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?Us(u-m,d)+a:a}function n0(a,u,d){return d||u==null?u=0:u&&(u=+u),up(wt(a).replace(yi,""),u||0)}function i0(a,u,d){return(d?wn(a,u,d):u===t)?u=1:u=nt(u),za(wt(a),u)}function l0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var r0=tr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function s0(a,u,d){return d&&typeof d!="number"&&wn(a,u,d)&&(u=d=t),d=d===t?le:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!co(u))&&(u=Fn(u),!u&&Jl(a))?ll(ii(a),0,d):a.split(u,d)):[]}var a0=tr(function(a,u,d){return a+(d?" ":"")+_o(u)});function o0(a,u,d){return a=wt(a),d=d==null?0:Pl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function u0(a,u,d){var m=D.templateSettings;d&&wn(a,u,d)&&(u=t),a=wt(a),u=Zs({},u,m,Bu);var N=Zs({},u.imports,m.imports,Bu),V=tn(N),z=Pa(N,V),j,Z,ge=0,_e=u.interpolate||di,ve="__p += '",Re=Ia((u.escape||di).source+"|"+_e.source+"|"+(_e===Ol?yn:di).source+"|"+(u.evaluate||di).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ji+"]")+`
36
36
  `;a.replace(Re,function(Qe,ot,ft,Bn,Sn,Hn){return ft||(ft=Bn),ve+=a.slice(ge,Hn).replace(Wl,U_),ot&&(j=!0,ve+=`' +
37
37
  __e(`+ot+`) +
38
38
  '`),Sn&&(Z=!0,ve+=`';
@@ -49,13 +49,13 @@ __p += '`),ft&&(ve+=`' +
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+ve+`return __p
52
- }`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,z)});if(it.source=ve,fo(it))throw it;return it}function f0(a){return wt(a).toLowerCase()}function c0(a){return wt(a).toUpperCase()}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=ii(u),V=Wo(m,N),z=zo(m,N)+1;return ll(m,V,z).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Go(a)+1);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=zo(m,ii(u))+1;return ll(m,0,N).join("")}function g0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(yi,"");if(!a||!(u=Fn(u)))return a;var m=ii(a),N=Wo(m,ii(u));return ll(m,N).join("")}function _0(a,u){var d=H,m=G;if(Bt(u)){var N="separator"in u?u.separator:N;d="length"in u?nt(u.length):d,m="omission"in u?Fn(u.omission):m}a=wt(a);var V=a.length;if(Jl(a)){var z=ii(a);V=z.length}if(d>=V)return a;var j=d-Yl(m);if(j<1)return m;var Z=z?ll(z,0,j).join(""):a.slice(0,j);if(N===t)return Z+m;if(z&&(j+=Z.length-j),co(N)){if(a.slice(j).search(N)){var ge,_e=Z;for(N.global||(N=Ia(N.source,wt(qi.exec(N))+"g")),N.lastIndex=0;ge=N.exec(_e);)var ve=ge.index;Z=Z.slice(0,ve===t?j:ve)}}else if(a.indexOf(Fn(N),j)!=j){var Re=Z.lastIndexOf(N);Re>-1&&(Z=Z.slice(0,Re))}return Z+m}function p0(a){return a=wt(a),a&&Ml.test(a)?a.replace(Gn,K_):a}var m0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Eu("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?H_(a)?Y_(a):R_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),b0=Ai(function(a,u){return jn(u,function(d){d=pi(d),Ti(a,d,oo(a[d],a))}),a});function v0(a){var u=a==null?0:a.length,d=Je();return a=u?Ft(a,function(m){if(typeof m[1]!="function")throw new Jn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var N=-1;++N<u;){var V=a[N];if(Mn(V[0],this,m))return Mn(V[1],this,m)}})}function w0(a){return Kp(Qn(a,_))}function po(a){return function(){return a}}function S0(a,u){return a==null||a!==a?u:a}var k0=Vu(),C0=Vu(!0);function Tn(a){return a}function mo(a){return fu(typeof a=="function"?a:Qn(a,_))}function y0(a){return du(Qn(a,_))}function P0(a,u){return hu(a,Qn(u,_))}var N0=rt(function(a,u){return function(d){return Hr(d,a,u)}}),I0=rt(function(a,u){return function(d){return Hr(a,d,u)}});function bo(a,u,d){var m=tn(u),N=Rs(u,m);d==null&&!(Bt(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Rs(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,z=Ei(a);return jn(N,function(j){var Z=u[j];a[j]=Z,z&&(a.prototype[j]=function(){var ge=this.__chain__;if(V||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return Z.apply(a,$i([this.value()],arguments))})}),a}function T0(){return Gt._===this&&(Gt._=ep),this}function vo(){}function L0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var A0=Qa(Ft),R0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(pi(a)):om(a)}function D0(a){return function(u){return a==null?t:Nl(a,u)}}var V0=Ou(),M0=Ou(!0);function wo(){return[]}function So(){return!1}function O0(){return{}}function F0(){return""}function U0(){return!0}function B0(a,u){if(a=nt(a),a<1||a>ee)return[];var d=ie,m=hn(a,ie);u=Je(u),a-=ie;for(var N=ya(m,u);++d<a;)u(d);return N}function H0(a){return xe(a)?Ft(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function W0(a){var u=++$_;return wt(a)+u}var z0=Fs(function(a,u){return a+u},0),q0=Za("ceil"),G0=Fs(function(a,u){return a/u},1),K0=Za("floor");function j0(a){return a&&a.length?As(a,Tn,Ma):t}function J0(a,u){return a&&a.length?As(a,Je(u,2),Ma):t}function Y0(a){return Uo(a,Tn)}function Q0(a,u){return Uo(a,Je(u,2))}function Z0(a){return a&&a.length?As(a,Tn,Ba):t}function X0(a,u){return a&&a.length?As(a,Je(u,2),Ba):t}var $0=Fs(function(a,u){return a*u},1),x0=Za("round"),ew=Fs(function(a,u){return a-u},0);function tw(a){return a&&a.length?Ca(a,Tn):0}function nw(a,u){return a&&a.length?Ca(a,Je(u,2)):0}return D.after=yb,D.ary=ff,D.assign=cv,D.assignIn=yf,D.assignInWith=Zs,D.assignWith=dv,D.at=hv,D.before=cf,D.bind=oo,D.bindAll=b0,D.bindKey=df,D.castArray=Ob,D.chain=af,D.chunk=Km,D.compact=jm,D.concat=Jm,D.cond=v0,D.conforms=w0,D.constant=po,D.countBy=tb,D.create=gv,D.curry=hf,D.curryRight=gf,D.debounce=_f,D.defaults=_v,D.defaultsDeep=pv,D.defer=Pb,D.delay=Nb,D.difference=Ym,D.differenceBy=Qm,D.differenceWith=Zm,D.drop=Xm,D.dropRight=$m,D.dropRightWhile=xm,D.dropWhile=e1,D.fill=t1,D.filter=ib,D.flatMap=sb,D.flatMapDeep=ab,D.flatMapDepth=ob,D.flatten=nf,D.flattenDeep=n1,D.flattenDepth=i1,D.flip=Ib,D.flow=k0,D.flowRight=C0,D.fromPairs=l1,D.functions=Cv,D.functionsIn=yv,D.groupBy=ub,D.initial=s1,D.intersection=a1,D.intersectionBy=o1,D.intersectionWith=u1,D.invert=Nv,D.invertBy=Iv,D.invokeMap=cb,D.iteratee=mo,D.keyBy=db,D.keys=tn,D.keysIn=In,D.map=Gs,D.mapKeys=Lv,D.mapValues=Av,D.matches=y0,D.matchesProperty=P0,D.memoize=js,D.merge=Rv,D.mergeWith=Pf,D.method=N0,D.methodOf=I0,D.mixin=bo,D.negate=Js,D.nthArg=L0,D.omit=Ev,D.omitBy=Dv,D.once=Tb,D.orderBy=hb,D.over=A0,D.overArgs=Lb,D.overEvery=R0,D.overSome=E0,D.partial=uo,D.partialRight=pf,D.partition=gb,D.pick=Vv,D.pickBy=Nf,D.property=Df,D.propertyOf=D0,D.pull=h1,D.pullAll=rf,D.pullAllBy=g1,D.pullAllWith=_1,D.pullAt=p1,D.range=V0,D.rangeRight=M0,D.rearg=Ab,D.reject=mb,D.remove=m1,D.rest=Rb,D.reverse=so,D.sampleSize=vb,D.set=Ov,D.setWith=Fv,D.shuffle=wb,D.slice=b1,D.sortBy=Cb,D.sortedUniq=P1,D.sortedUniqBy=N1,D.split=s0,D.spread=Eb,D.tail=I1,D.take=T1,D.takeRight=L1,D.takeRightWhile=A1,D.takeWhile=R1,D.tap=j1,D.throttle=Db,D.thru=qs,D.toArray=Sf,D.toPairs=If,D.toPairsIn=Tf,D.toPath=H0,D.toPlainObject=Cf,D.transform=Uv,D.unary=Vb,D.union=E1,D.unionBy=D1,D.unionWith=V1,D.uniq=M1,D.uniqBy=O1,D.uniqWith=F1,D.unset=Bv,D.unzip=ao,D.unzipWith=sf,D.update=Hv,D.updateWith=Wv,D.values=lr,D.valuesIn=zv,D.without=U1,D.words=Rf,D.wrap=Mb,D.xor=B1,D.xorBy=H1,D.xorWith=W1,D.zip=z1,D.zipObject=q1,D.zipObjectDeep=G1,D.zipWith=K1,D.entries=If,D.entriesIn=Tf,D.extend=yf,D.extendWith=Zs,bo(D,D),D.add=z0,D.attempt=Ef,D.camelCase=jv,D.capitalize=Lf,D.ceil=q0,D.clamp=qv,D.clone=Fb,D.cloneDeep=Bb,D.cloneDeepWith=Hb,D.cloneWith=Ub,D.conformsTo=Wb,D.deburr=Af,D.defaultTo=S0,D.divide=G0,D.endsWith=Jv,D.eq=ri,D.escape=Yv,D.escapeRegExp=Qv,D.every=nb,D.find=lb,D.findIndex=ef,D.findKey=mv,D.findLast=rb,D.findLastIndex=tf,D.findLastKey=bv,D.floor=K0,D.forEach=of,D.forEachRight=uf,D.forIn=vv,D.forInRight=wv,D.forOwn=Sv,D.forOwnRight=kv,D.get=ho,D.gt=zb,D.gte=qb,D.has=Pv,D.hasIn=go,D.head=lf,D.identity=Tn,D.includes=fb,D.indexOf=r1,D.inRange=Gv,D.invoke=Tv,D.isArguments=Ll,D.isArray=xe,D.isArrayBuffer=Gb,D.isArrayLike=Nn,D.isArrayLikeObject=Kt,D.isBoolean=Kb,D.isBuffer=rl,D.isDate=jb,D.isElement=Jb,D.isEmpty=Yb,D.isEqual=Qb,D.isEqualWith=Zb,D.isError=fo,D.isFinite=Xb,D.isFunction=Ei,D.isInteger=mf,D.isLength=Ys,D.isMap=bf,D.isMatch=$b,D.isMatchWith=xb,D.isNaN=ev,D.isNative=tv,D.isNil=iv,D.isNull=nv,D.isNumber=vf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=jr,D.isRegExp=co,D.isSafeInteger=lv,D.isSet=wf,D.isString=Qs,D.isSymbol=Un,D.isTypedArray=ir,D.isUndefined=rv,D.isWeakMap=sv,D.isWeakSet=av,D.join=f1,D.kebabCase=Zv,D.last=Xn,D.lastIndexOf=c1,D.lowerCase=Xv,D.lowerFirst=$v,D.lt=ov,D.lte=uv,D.max=j0,D.maxBy=J0,D.mean=Y0,D.meanBy=Q0,D.min=Z0,D.minBy=X0,D.stubArray=wo,D.stubFalse=So,D.stubObject=O0,D.stubString=F0,D.stubTrue=U0,D.multiply=$0,D.nth=d1,D.noConflict=T0,D.noop=vo,D.now=Ks,D.pad=xv,D.padEnd=e0,D.padStart=t0,D.parseInt=n0,D.random=Kv,D.reduce=_b,D.reduceRight=pb,D.repeat=i0,D.replace=l0,D.result=Mv,D.round=x0,D.runInContext=Q,D.sample=bb,D.size=Sb,D.snakeCase=r0,D.some=kb,D.sortedIndex=v1,D.sortedIndexBy=w1,D.sortedIndexOf=S1,D.sortedLastIndex=k1,D.sortedLastIndexBy=C1,D.sortedLastIndexOf=y1,D.startCase=a0,D.startsWith=o0,D.subtract=ew,D.sum=tw,D.sumBy=nw,D.template=u0,D.times=B0,D.toFinite=Di,D.toInteger=nt,D.toLength=kf,D.toLower=f0,D.toNumber=$n,D.toSafeInteger=fv,D.toString=wt,D.toUpper=c0,D.trim=d0,D.trimEnd=h0,D.trimStart=g0,D.truncate=_0,D.unescape=p0,D.uniqueId=W0,D.upperCase=m0,D.upperFirst=_o,D.each=of,D.eachRight=uf,D.first=lf,bo(D,function(){var a={};return gi(D,function(u,d){Pt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),jn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,ie),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),jn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==W;ut.prototype[a]=function(N){var V=this.clone();return V.__iteratees__.push({iteratee:Je(N,3),type:d}),V.__filtered__=V.__filtered__||m,V}}),jn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),jn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(Tn)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Hr(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Js(Je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(ie)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=D[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(D.prototype[u]=function(){var z=this.__wrapped__,j=m?[1]:arguments,Z=z instanceof ut,ge=j[0],_e=Z||xe(z),ve=function(ot){var ft=N.apply(D,$i([ot],j));return m&&Re?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(Z=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=Z&&!Be;if(!V&&_e){z=it?z:new ut(this);var Qe=a.apply(z,j);return Qe.__actions__.push({func:qs,args:[ve],thisArg:t}),new Yn(Qe,Re)}return Ye&&it?a.apply(this,j):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),jn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var N=arguments;if(m&&!this.__chain__){var V=this.value();return u.apply(xe(V)?V:[],N)}return this[d](function(z){return u.apply(xe(z)?z:[],N)})}}),gi(ut.prototype,function(a,u){var d=D[u];if(d){var m=d.name+"";Pt.call($l,m)||($l[m]=[]),$l[m].push({name:u,func:d})}}),$l[Os(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=pp,ut.prototype.reverse=mp,ut.prototype.value=bp,D.prototype.at=J1,D.prototype.chain=Y1,D.prototype.commit=Q1,D.prototype.next=Z1,D.prototype.plant=$1,D.prototype.reverse=x1,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=eb,D.prototype.first=D.prototype.head,Dr&&(D.prototype[Dr]=X1),D},Ql=Q_();Qi?((Qi.exports=Ql)._=Ql,Yi._=Ql):Gt._=Ql}).call(Yr)})(Dl,Dl.exports);class jw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",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=le.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 Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.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 re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),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(){re.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!c&&t.trim()===""&&!g&&!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 h=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?le.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=re.getConfigBooleanValue("settings.hideNavigation"),b=me.parseParams(c.split("?")[1]),v=me.getNodeParams(b),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let P=!1,I=C;for(;I;){if(I.tabNav===!0){P=!0;break}else if(I.tabNav===!1){P=!1;break}else if(le.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){P=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){P=!1;break}else{P=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let E=C,T=g.hideSideNav;if(T===void 0)for(;E;){if(E.tabNav&&E.hideSideNav===!0){T=!0;break}if(E.hideSideNav===!1){T=!1;break}E=E.parent}const R=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=R;const O={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:R,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:P};t.set(Object.assign({},O,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let U=document.getElementsByClassName("iframeContainer")[0];if(U&&(P?U.classList.add("iframeContainerTabNav"):U.classList.contains("iframeContainerTabNav")&&U.classList.remove("iframeContainerTabNav")),g.compound)Ln.switchActiveIframe(n,void 0,!1),U&&U.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Ln.switchActiveIframe(n,void 0,!1),U&&U.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else{const H=document.querySelector(".wcContainer");if(H&&(H.configChangedRequest=!1),U&&(U.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Ln.navigateIframe(l,t,n);else{const G=t.get(),x=await t.prepareInternalData(l);Le.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(G.context),nodeParams:JSON.stringify(G.nodeParams),pathParams:JSON.stringify(G.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(x),withoutSync:!0})}}const F=document.querySelector(".lui-tab-header");F&&F.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);h_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Wn.deleteNodesRecursively(c);break}}else r=!1}}else Wn.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(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Le.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Le.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Le.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Le.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.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={...Ww.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.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:cr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&cr.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Dl.exports.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(s=>ke.checkVisibleForFeatureToggles(s))),cr.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(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),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(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==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(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),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 et=new jw;class Jw{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=Le.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?le.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){cr.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 s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,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(le.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+le.getShellbarHeight();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:le.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,le.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}),Le.getIframeContainer().style.marginBottom="",st.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`,Le.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="",Le.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Le.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Jw;class Yw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Qw=new Yw;class Zw{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=re.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 ai=new Zw;class Xw{constructor(){return this._userInfoStore=dr({}),this._loggedInStore=dr(!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=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(!!await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),le.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.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=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!le.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new Xw;class $w{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(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Zr=new $w;class xw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new xw;class eS{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"),s=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),h=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),_=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${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((s,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),links:s.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const gr=new eS;class tS{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(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=Dl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Dl.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.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,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(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 s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(re.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=s=>{r(s||!0)},t=()=>{r(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._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 re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new tS;class nS{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)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.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 vw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.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(le.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){Le.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=re.getConfigValue("settings.customSandboxRules"),c=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Zr.hasDecorators()?Zr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=re.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Le.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));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 Le.specialIframeTypes.filter(n=>Le.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:Ro.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Le=new nS;class iS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.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 le.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=Ro.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(vi.isAuthorizationEnabled()){const r=ol.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.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 e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=re.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];le.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.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&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&c.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Vt.getChildren(o[h])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:re.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}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,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||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.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 Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Dl.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||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 s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Dl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Ln.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new iS;class lS{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 ia.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.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 s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[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}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Le.getLocation(e.viewUrl)===Le.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.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(re.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=re.getConfigValue("routing.useHashRouting");An.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),An.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.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 s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}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=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[gr.sanitizeParam(n[0])]=gr.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(s=>Ro.setFeatureToggle(s,!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=re.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 s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=re.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}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 s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${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 al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}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:pt.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 s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);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}}const me=new lS;class rS{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 on=new rS;class sS{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 An=new sS;class aS{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 s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}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}};Le.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Le.sendMessageToIframe(s,r))}}const oS=new aS;class uS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Le.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 ur=new uS;class fS{constructor(){}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)}}const Bf=new fS;function Hf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Wf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){A(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=se(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&L(e),c=!1,g()}}}function cS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wf(Hf(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-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Hf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Wf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&L(e),ct(n,l),i[5](null)}}}function dS(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),c=ht("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:S,closeAfter:y}=b.settings,C=gr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=s;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:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:C}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class hS extends Rt{constructor(e){super(),At(this,e,dS,cS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,Si=13,wi=27,fa=32,gS=36,_S=35;function zf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&L(e)}}}function qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;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){A(o,e,c),w(e,t),w(t,l),r||(s=se(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function pS(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,P,I=i[0].buttonDismiss+"",E,T,R,O,U,F=i[0].type&&zf(i),H=i[0].buttonConfirm!==!1&&qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=Ne(c),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),H&&H.c(),y=K(),C=k("div"),P=k("button"),E=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",R="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(G,x){A(G,e,x),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),H&&H.m(S,null),w(S,y),w(S,C),w(C,P),w(P,E),O||(U=[se(window,"keydown",i[1]),se(P,"click",i[5])],O=!0)},p(G,[x]){G[0].type?F?F.p(G,x):(F=zf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),x&1&&c!==(c=G[0].header+"")&&Te(g,c),x&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?H?H.p(G,x):(H=qf(G),H.c(),H.m(S,y)):H&&(H.d(1),H=null),x&1&&I!==(I=G[0].buttonDismiss+"")&&Te(E,I),x&1&&T!==(T="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",T),x&1&&R!==(R="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",R)},i:Fe,o:Fe,d(G){G&&L(e),F&&F.d(),H&&H.d(),O=!1,Ze(U)}}}function mS(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:gr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Le.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return ke.renderIconClassName(h)}function o(h){h.keyCode===wi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class bS extends Rt{constructor(e){super(),At(this,e,mS,pS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function vS(i){let e,t,n;const l=i[5].default,r=$g(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){A(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&t_(r,l,s,s[4],n?e_(l,s[4],o,null):n_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&L(e),r&&r.d(s)}}}function wS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},b=v=>{if(!h)return!0;const y=[...Le.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",S=>{const y=Le.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(S)),r("stateChanged",{backdropActive:!0}),Le.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Le.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class xr extends Rt{constructor(e){super(),At(this,e,wS,vS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:SS}=Fi;function Gf(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v;t=new xr({props:{disable:i[2]}});let S=i[0].title&&Kf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),c=k("div"),g=k("button"),h=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(h,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(y,C){A(y,e,C),We(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),w(g,h),p=!0,b||(v=se(g,"click",i[12]),b=!0)},p(y,C){const P={};C&4&&(P.disable=y[2]),t.$set(P),y[0].title?S?S.p(y,C):(S=Kf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&f(g,"data-testid",_)},i(y){p||(M(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&L(e),ze(t),S&&S.d(),b=!1,v()}}}function Kf(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&L(e)}}}function jf(i){let e;const t=i[11].default,n=$g(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&t_(n,t,l,l[10],e?e_(t,l[10],r,null):n_(l[10]),null)},i(l){e||(M(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function Jf(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>
52
+ }`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,z)});if(it.source=ve,fo(it))throw it;return it}function f0(a){return wt(a).toLowerCase()}function c0(a){return wt(a).toUpperCase()}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=ii(u),V=Wo(m,N),z=zo(m,N)+1;return ll(m,V,z).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Go(a)+1);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=zo(m,ii(u))+1;return ll(m,0,N).join("")}function g0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(yi,"");if(!a||!(u=Fn(u)))return a;var m=ii(a),N=Wo(m,ii(u));return ll(m,N).join("")}function _0(a,u){var d=H,m=G;if(Bt(u)){var N="separator"in u?u.separator:N;d="length"in u?nt(u.length):d,m="omission"in u?Fn(u.omission):m}a=wt(a);var V=a.length;if(Jl(a)){var z=ii(a);V=z.length}if(d>=V)return a;var j=d-Yl(m);if(j<1)return m;var Z=z?ll(z,0,j).join(""):a.slice(0,j);if(N===t)return Z+m;if(z&&(j+=Z.length-j),co(N)){if(a.slice(j).search(N)){var ge,_e=Z;for(N.global||(N=Ia(N.source,wt(qi.exec(N))+"g")),N.lastIndex=0;ge=N.exec(_e);)var ve=ge.index;Z=Z.slice(0,ve===t?j:ve)}}else if(a.indexOf(Fn(N),j)!=j){var Re=Z.lastIndexOf(N);Re>-1&&(Z=Z.slice(0,Re))}return Z+m}function p0(a){return a=wt(a),a&&Ml.test(a)?a.replace(Gn,K_):a}var m0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Eu("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?H_(a)?Y_(a):R_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),b0=Ai(function(a,u){return jn(u,function(d){d=pi(d),Ti(a,d,oo(a[d],a))}),a});function v0(a){var u=a==null?0:a.length,d=Je();return a=u?Ft(a,function(m){if(typeof m[1]!="function")throw new Jn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var N=-1;++N<u;){var V=a[N];if(Mn(V[0],this,m))return Mn(V[1],this,m)}})}function w0(a){return Kp(Qn(a,_))}function po(a){return function(){return a}}function S0(a,u){return a==null||a!==a?u:a}var k0=Vu(),C0=Vu(!0);function Tn(a){return a}function mo(a){return fu(typeof a=="function"?a:Qn(a,_))}function y0(a){return du(Qn(a,_))}function P0(a,u){return hu(a,Qn(u,_))}var N0=rt(function(a,u){return function(d){return Hr(d,a,u)}}),I0=rt(function(a,u){return function(d){return Hr(a,d,u)}});function bo(a,u,d){var m=tn(u),N=Rs(u,m);d==null&&!(Bt(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Rs(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,z=Ei(a);return jn(N,function(j){var Z=u[j];a[j]=Z,z&&(a.prototype[j]=function(){var ge=this.__chain__;if(V||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return Z.apply(a,$i([this.value()],arguments))})}),a}function T0(){return Gt._===this&&(Gt._=ep),this}function vo(){}function L0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var A0=Qa(Ft),R0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(pi(a)):om(a)}function D0(a){return function(u){return a==null?t:Nl(a,u)}}var V0=Ou(),M0=Ou(!0);function wo(){return[]}function So(){return!1}function O0(){return{}}function F0(){return""}function U0(){return!0}function B0(a,u){if(a=nt(a),a<1||a>ee)return[];var d=le,m=hn(a,le);u=Je(u),a-=le;for(var N=ya(m,u);++d<a;)u(d);return N}function H0(a){return xe(a)?Ft(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function W0(a){var u=++$_;return wt(a)+u}var z0=Fs(function(a,u){return a+u},0),q0=Za("ceil"),G0=Fs(function(a,u){return a/u},1),K0=Za("floor");function j0(a){return a&&a.length?As(a,Tn,Ma):t}function J0(a,u){return a&&a.length?As(a,Je(u,2),Ma):t}function Y0(a){return Uo(a,Tn)}function Q0(a,u){return Uo(a,Je(u,2))}function Z0(a){return a&&a.length?As(a,Tn,Ba):t}function X0(a,u){return a&&a.length?As(a,Je(u,2),Ba):t}var $0=Fs(function(a,u){return a*u},1),x0=Za("round"),ew=Fs(function(a,u){return a-u},0);function tw(a){return a&&a.length?Ca(a,Tn):0}function nw(a,u){return a&&a.length?Ca(a,Je(u,2)):0}return D.after=yb,D.ary=ff,D.assign=cv,D.assignIn=yf,D.assignInWith=Zs,D.assignWith=dv,D.at=hv,D.before=cf,D.bind=oo,D.bindAll=b0,D.bindKey=df,D.castArray=Ob,D.chain=af,D.chunk=Km,D.compact=jm,D.concat=Jm,D.cond=v0,D.conforms=w0,D.constant=po,D.countBy=tb,D.create=gv,D.curry=hf,D.curryRight=gf,D.debounce=_f,D.defaults=_v,D.defaultsDeep=pv,D.defer=Pb,D.delay=Nb,D.difference=Ym,D.differenceBy=Qm,D.differenceWith=Zm,D.drop=Xm,D.dropRight=$m,D.dropRightWhile=xm,D.dropWhile=e1,D.fill=t1,D.filter=ib,D.flatMap=sb,D.flatMapDeep=ab,D.flatMapDepth=ob,D.flatten=nf,D.flattenDeep=n1,D.flattenDepth=i1,D.flip=Ib,D.flow=k0,D.flowRight=C0,D.fromPairs=l1,D.functions=Cv,D.functionsIn=yv,D.groupBy=ub,D.initial=s1,D.intersection=a1,D.intersectionBy=o1,D.intersectionWith=u1,D.invert=Nv,D.invertBy=Iv,D.invokeMap=cb,D.iteratee=mo,D.keyBy=db,D.keys=tn,D.keysIn=In,D.map=Gs,D.mapKeys=Lv,D.mapValues=Av,D.matches=y0,D.matchesProperty=P0,D.memoize=js,D.merge=Rv,D.mergeWith=Pf,D.method=N0,D.methodOf=I0,D.mixin=bo,D.negate=Js,D.nthArg=L0,D.omit=Ev,D.omitBy=Dv,D.once=Tb,D.orderBy=hb,D.over=A0,D.overArgs=Lb,D.overEvery=R0,D.overSome=E0,D.partial=uo,D.partialRight=pf,D.partition=gb,D.pick=Vv,D.pickBy=Nf,D.property=Df,D.propertyOf=D0,D.pull=h1,D.pullAll=rf,D.pullAllBy=g1,D.pullAllWith=_1,D.pullAt=p1,D.range=V0,D.rangeRight=M0,D.rearg=Ab,D.reject=mb,D.remove=m1,D.rest=Rb,D.reverse=so,D.sampleSize=vb,D.set=Ov,D.setWith=Fv,D.shuffle=wb,D.slice=b1,D.sortBy=Cb,D.sortedUniq=P1,D.sortedUniqBy=N1,D.split=s0,D.spread=Eb,D.tail=I1,D.take=T1,D.takeRight=L1,D.takeRightWhile=A1,D.takeWhile=R1,D.tap=j1,D.throttle=Db,D.thru=qs,D.toArray=Sf,D.toPairs=If,D.toPairsIn=Tf,D.toPath=H0,D.toPlainObject=Cf,D.transform=Uv,D.unary=Vb,D.union=E1,D.unionBy=D1,D.unionWith=V1,D.uniq=M1,D.uniqBy=O1,D.uniqWith=F1,D.unset=Bv,D.unzip=ao,D.unzipWith=sf,D.update=Hv,D.updateWith=Wv,D.values=lr,D.valuesIn=zv,D.without=U1,D.words=Rf,D.wrap=Mb,D.xor=B1,D.xorBy=H1,D.xorWith=W1,D.zip=z1,D.zipObject=q1,D.zipObjectDeep=G1,D.zipWith=K1,D.entries=If,D.entriesIn=Tf,D.extend=yf,D.extendWith=Zs,bo(D,D),D.add=z0,D.attempt=Ef,D.camelCase=jv,D.capitalize=Lf,D.ceil=q0,D.clamp=qv,D.clone=Fb,D.cloneDeep=Bb,D.cloneDeepWith=Hb,D.cloneWith=Ub,D.conformsTo=Wb,D.deburr=Af,D.defaultTo=S0,D.divide=G0,D.endsWith=Jv,D.eq=ri,D.escape=Yv,D.escapeRegExp=Qv,D.every=nb,D.find=lb,D.findIndex=ef,D.findKey=mv,D.findLast=rb,D.findLastIndex=tf,D.findLastKey=bv,D.floor=K0,D.forEach=of,D.forEachRight=uf,D.forIn=vv,D.forInRight=wv,D.forOwn=Sv,D.forOwnRight=kv,D.get=ho,D.gt=zb,D.gte=qb,D.has=Pv,D.hasIn=go,D.head=lf,D.identity=Tn,D.includes=fb,D.indexOf=r1,D.inRange=Gv,D.invoke=Tv,D.isArguments=Ll,D.isArray=xe,D.isArrayBuffer=Gb,D.isArrayLike=Nn,D.isArrayLikeObject=Kt,D.isBoolean=Kb,D.isBuffer=rl,D.isDate=jb,D.isElement=Jb,D.isEmpty=Yb,D.isEqual=Qb,D.isEqualWith=Zb,D.isError=fo,D.isFinite=Xb,D.isFunction=Ei,D.isInteger=mf,D.isLength=Ys,D.isMap=bf,D.isMatch=$b,D.isMatchWith=xb,D.isNaN=ev,D.isNative=tv,D.isNil=iv,D.isNull=nv,D.isNumber=vf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=jr,D.isRegExp=co,D.isSafeInteger=lv,D.isSet=wf,D.isString=Qs,D.isSymbol=Un,D.isTypedArray=ir,D.isUndefined=rv,D.isWeakMap=sv,D.isWeakSet=av,D.join=f1,D.kebabCase=Zv,D.last=Xn,D.lastIndexOf=c1,D.lowerCase=Xv,D.lowerFirst=$v,D.lt=ov,D.lte=uv,D.max=j0,D.maxBy=J0,D.mean=Y0,D.meanBy=Q0,D.min=Z0,D.minBy=X0,D.stubArray=wo,D.stubFalse=So,D.stubObject=O0,D.stubString=F0,D.stubTrue=U0,D.multiply=$0,D.nth=d1,D.noConflict=T0,D.noop=vo,D.now=Ks,D.pad=xv,D.padEnd=e0,D.padStart=t0,D.parseInt=n0,D.random=Kv,D.reduce=_b,D.reduceRight=pb,D.repeat=i0,D.replace=l0,D.result=Mv,D.round=x0,D.runInContext=Q,D.sample=bb,D.size=Sb,D.snakeCase=r0,D.some=kb,D.sortedIndex=v1,D.sortedIndexBy=w1,D.sortedIndexOf=S1,D.sortedLastIndex=k1,D.sortedLastIndexBy=C1,D.sortedLastIndexOf=y1,D.startCase=a0,D.startsWith=o0,D.subtract=ew,D.sum=tw,D.sumBy=nw,D.template=u0,D.times=B0,D.toFinite=Di,D.toInteger=nt,D.toLength=kf,D.toLower=f0,D.toNumber=$n,D.toSafeInteger=fv,D.toString=wt,D.toUpper=c0,D.trim=d0,D.trimEnd=h0,D.trimStart=g0,D.truncate=_0,D.unescape=p0,D.uniqueId=W0,D.upperCase=m0,D.upperFirst=_o,D.each=of,D.eachRight=uf,D.first=lf,bo(D,function(){var a={};return gi(D,function(u,d){Pt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),jn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,le),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),jn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==W;ut.prototype[a]=function(N){var V=this.clone();return V.__iteratees__.push({iteratee:Je(N,3),type:d}),V.__filtered__=V.__filtered__||m,V}}),jn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),jn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(Tn)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Hr(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Js(Je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(le)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=D[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(D.prototype[u]=function(){var z=this.__wrapped__,j=m?[1]:arguments,Z=z instanceof ut,ge=j[0],_e=Z||xe(z),ve=function(ot){var ft=N.apply(D,$i([ot],j));return m&&Re?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(Z=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=Z&&!Be;if(!V&&_e){z=it?z:new ut(this);var Qe=a.apply(z,j);return Qe.__actions__.push({func:qs,args:[ve],thisArg:t}),new Yn(Qe,Re)}return Ye&&it?a.apply(this,j):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),jn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var N=arguments;if(m&&!this.__chain__){var V=this.value();return u.apply(xe(V)?V:[],N)}return this[d](function(z){return u.apply(xe(z)?z:[],N)})}}),gi(ut.prototype,function(a,u){var d=D[u];if(d){var m=d.name+"";Pt.call($l,m)||($l[m]=[]),$l[m].push({name:u,func:d})}}),$l[Os(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=pp,ut.prototype.reverse=mp,ut.prototype.value=bp,D.prototype.at=J1,D.prototype.chain=Y1,D.prototype.commit=Q1,D.prototype.next=Z1,D.prototype.plant=$1,D.prototype.reverse=x1,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=eb,D.prototype.first=D.prototype.head,Dr&&(D.prototype[Dr]=X1),D},Ql=Q_();Qi?((Qi.exports=Ql)._=Ql,Yi._=Ql):Gt._=Ql}).call(Yr)})(Dl,Dl.exports);class jw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",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=ne.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 Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?ne.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ne.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ne.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ne.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 re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ne.trimLeadingSlash(window.location.pathname)+window.location.search:ne.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),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(){re.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!c&&t.trim()===""&&!g&&!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 h=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=ne.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ne.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?ne.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=re.getConfigBooleanValue("settings.hideNavigation"),b=me.parseParams(c.split("?")[1]),v=me.getNodeParams(b),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let P=!1,I=C;for(;I;){if(I.tabNav===!0){P=!0;break}else if(I.tabNav===!1){P=!1;break}else if(ne.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){P=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){P=!1;break}else{P=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let E=C,T=g.hideSideNav;if(T===void 0)for(;E;){if(E.tabNav&&E.hideSideNav===!0){T=!0;break}if(E.hideSideNav===!1){T=!1;break}E=E.parent}const R=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=R;const O={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:R,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:P};t.set(Object.assign({},O,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let U=document.getElementsByClassName("iframeContainer")[0];if(U&&(P?U.classList.add("iframeContainerTabNav"):U.classList.contains("iframeContainerTabNav")&&U.classList.remove("iframeContainerTabNav")),g.compound)Ln.switchActiveIframe(n,void 0,!1),U&&U.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Ln.switchActiveIframe(n,void 0,!1),U&&U.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else{const H=document.querySelector(".wcContainer");if(H&&(H.configChangedRequest=!1),U&&(U.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Ln.navigateIframe(l,t,n);else{const G=t.get(),x=await t.prepareInternalData(l);Le.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(G.context),nodeParams:JSON.stringify(G.nodeParams),pathParams:JSON.stringify(G.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(x),withoutSync:!0})}}const F=document.querySelector(".lui-tab-header");F&&F.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);h_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Wn.deleteNodesRecursively(c);break}}else r=!1}}else Wn.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(ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(n)){const r=Le.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Le.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Le.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Le.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ne.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={...Ww.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ne.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:cr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&cr.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Dl.exports.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(s=>ke.checkVisibleForFeatureToggles(s))),cr.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(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),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(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==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(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),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 et=new jw;class Jw{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=Le.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?ne.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){cr.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 s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,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(ne.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ne.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ne.computePxFromPercent(t.rightContentHeight,100-e))+ne.getShellbarHeight();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:ne.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,ne.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}),Le.getIframeContainer().style.marginBottom="",st.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`,Le.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="",Le.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Le.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Jw;class Yw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Qw=new Yw;class Zw{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=re.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 ai=new Zw;class Xw{constructor(){return this._userInfoStore=dr({}),this._loggedInStore=dr(!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=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(!!await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ne.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ne.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ne.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),ne.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),ne.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ne.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);ne.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ne.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=ne.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ne.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ne.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ne.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new Xw;class $w{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(ne.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Zr=new $w;class xw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ne.getUrlParameter("error"),t=ne.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new xw;class eS{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"),s=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),h=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),_=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${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((s,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),links:s.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const gr=new eS;class tS{getRandomId(){return(window.crypto||window.msCrypto).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 Boolean(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=Dl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Dl.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.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,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(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 s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(re.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=s=>{r(s||!0)},t=()=>{r(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._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 re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ne=new tS;class nS{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)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.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 vw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ne.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(ne.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){Le.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=re.getConfigValue("settings.customSandboxRules"),c=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Zr.hasDecorators()?Zr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ne.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=re.getConfigValue("settings.iframeCreationInterceptor");if(ne.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Le.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));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 Le.specialIframeTypes.filter(n=>Le.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:Ro.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Le=new nS;class iS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.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 ne.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=Ro.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(vi.isAuthorizationEnabled()){const r=ol.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.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 e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=re.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];ne.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),ne.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ne.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&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&c.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Vt.getChildren(o[h])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:re.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}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,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||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(ne.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.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 Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Dl.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||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 s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Dl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Ln.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ne.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new iS;class lS{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 ia.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.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 s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[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}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Le.getLocation(e.viewUrl)===Le.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.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(re.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=re.getConfigValue("routing.useHashRouting");An.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),An.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.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 s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ne.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ne.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ne.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}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=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ne.replaceVars(e,t.pathParams,":",!1),e=ne.replaceVars(e,t.context,n),e=ne.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[gr.sanitizeParam(n[0])]=gr.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(s=>Ro.setFeatureToggle(s,!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=re.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 s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=re.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}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 s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${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 al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ne.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}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:pt.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 s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);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}}const me=new lS;class rS{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 on=new rS;class sS{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 An=new sS;class aS{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 s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}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}};Le.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Le.sendMessageToIframe(s,r))}}const oS=new aS;class uS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ne.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Le.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 ur=new uS;class fS{constructor(){}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)}}const Bf=new fS;function Hf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Wf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){A(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=se(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&L(e),c=!1,g()}}}function cS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wf(Hf(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-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Hf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Wf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&L(e),ct(n,l),i[5](null)}}}function dS(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),c=ht("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:S,closeAfter:y}=b.settings,C=gr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=s;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:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:C}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class hS extends Rt{constructor(e){super(),At(this,e,dS,cS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,Si=13,wi=27,fa=32,gS=36,_S=35;function zf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&L(e)}}}function qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;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){A(o,e,c),w(e,t),w(t,l),r||(s=se(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function pS(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,P,I=i[0].buttonDismiss+"",E,T,R,O,U,F=i[0].type&&zf(i),H=i[0].buttonConfirm!==!1&&qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=Ne(c),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),H&&H.c(),y=K(),C=k("div"),P=k("button"),E=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",R="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(G,x){A(G,e,x),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),H&&H.m(S,null),w(S,y),w(S,C),w(C,P),w(P,E),O||(U=[se(window,"keydown",i[1]),se(P,"click",i[5])],O=!0)},p(G,[x]){G[0].type?F?F.p(G,x):(F=zf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),x&1&&c!==(c=G[0].header+"")&&Te(g,c),x&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?H?H.p(G,x):(H=qf(G),H.c(),H.m(S,y)):H&&(H.d(1),H=null),x&1&&I!==(I=G[0].buttonDismiss+"")&&Te(E,I),x&1&&T!==(T="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",T),x&1&&R!==(R="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",R)},i:Fe,o:Fe,d(G){G&&L(e),F&&F.d(),H&&H.d(),O=!1,Ze(U)}}}function mS(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:gr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Le.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return ke.renderIconClassName(h)}function o(h){h.keyCode===wi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class bS extends Rt{constructor(e){super(),At(this,e,mS,pS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function vS(i){let e,t,n;const l=i[5].default,r=$g(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){A(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&t_(r,l,s,s[4],n?e_(l,s[4],o,null):n_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&L(e),r&&r.d(s)}}}function wS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},b=v=>{if(!h)return!0;const y=[...Le.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",S=>{const y=Le.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(S)),r("stateChanged",{backdropActive:!0}),Le.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Le.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class xr extends Rt{constructor(e){super(),At(this,e,wS,vS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:SS}=Fi;function Gf(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v;t=new xr({props:{disable:i[2]}});let S=i[0].title&&Kf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),c=k("div"),g=k("button"),h=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(h,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(y,C){A(y,e,C),We(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),w(g,h),p=!0,b||(v=se(g,"click",i[12]),b=!0)},p(y,C){const P={};C&4&&(P.disable=y[2]),t.$set(P),y[0].title?S?S.p(y,C):(S=Kf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&f(g,"data-testid",_)},i(y){p||(M(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&L(e),ze(t),S&&S.d(),b=!1,v()}}}function Kf(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&L(e)}}}function jf(i){let e;const t=i[11].default,n=$g(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&t_(n,t,l,l[10],e?e_(t,l[10],r,null):n_(l[10]),null)},i(l){e||(M(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function Jf(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>
53
53
  <div class="fd-busy-indicator__circle"></div>
54
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function kS(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),P=i[5]&&jf(i),I=i[4]&&Jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),P&&P.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(E,T){A(E,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=se(SS,"keydown",i[3]),S=!0)},p(E,[T]){E[6]||E[5]&&E[0].header?C?(C.p(E,T),T&97&&M(C,1)):(C=Gf(E),C.c(),M(C,1),C.m(t,n)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),E[5]?P?(P.p(E,T),T&32&&M(P,1)):(P=jf(E),P.c(),M(P,1),P.m(l,r)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),(!v||T&32&&o!==(o="iframeModalCtn "+(E[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(s,"class",o),(!v||T&34&&c!==(c=E[5]?void 0:E[1]))&&f(s,"modal-container-index",c),E[4]?I||(I=Jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||T&35&&h!==(h="fd-dialog__content "+(E[5]?E[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+E[1])+" svelte-k9bftu"))&&f(t,"class",h),(!v||T&64&&_!==(_=E[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=ei(E[6]||E[5]&&E[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!v||T&64&&b!==(b=E[6]?"z-index:1001":""))&&f(e,"style",b)},i(E){v||(M(C),M(P),v=!0)},o(E){q(C),q(P),v=!1},d(E){E&&L(e),C&&C.d(),P&&P.d(),I&&I.d(),S=!1,y()}}}function CS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,P=!1,I=!0,E,T=ht("store");const R=W=>ke.getNodeLabel(W),O=async W=>{const ue=W&&W.length?le.getPathWithoutHash(W):"",ee=me.parseParams(ue.split("?")[1]);b=me.getNodeParams(ee);const Y=await Vt.extractDataFromPath(W);_=Y.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=R(_),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),h("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=R(_),r),t(0,r._liveLabel=!0,r)),p=Y.pathData,t(8,s=!0)},U=async W=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(E),{context:p.context},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),S=!0;else{const ue=await H(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:ue,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(W)},F=async()=>{let W,ue;const ee=document.querySelector(".lui-modal-index-"+c),{size:Y,width:Pe,height:ie}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ee.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(Ue)&&ie&&ie.match(Ue))W=ie,ue=Pe;else switch(Y){case"fullscreen":W="100vh",ue="100vw",ee.classList.add("lui-modal-fullscreen");break;case"m":W="80%",ue="60%";break;case"s":W="80%",ue="40%";break;default:W="80%",ue="80%"}ee.setAttribute("style",`width:${ue};height:${W};`)},H=async(W,ue)=>{P?await G():await F(),W&&(W=me.substituteViewUrl(W,ue));const ee=await Le.createIframe(W,void 0,_,"modal",ue);return document.querySelector(E).appendChild(ee),ee};async function G(W){let ue="";const ee=document.getElementsByClassName("drawer"),Y=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ue="width:75%;":r.size==="m"?ue="width:50%;":r.size==="s"?ue="width:25%;":r.size==="xs"&&(ue="width:15.5%;")),r.backdrop?ee[0].setAttribute("style",ue):(Y[0].setAttribute("style",ue),ee[0].setAttribute("style","width:100%"))}ua(()=>{U(o)});const x=async W=>{W.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),W.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),W.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),W.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),W.data.msg==="luigi.navigation.updateModalSettings"&&((W.data.updatedModalSettings.title||W.data.updatedModalSettings.title==="")&&t(0,r.title=W.data.updatedModalSettings.title,r),W.data.updatedModalSettings.size&&(t(0,r.size=W.data.updatedModalSettings.size,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size},W.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(T,()=>{r._liveLabel&&_&&t(0,r.title=R(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var W;!C&&!_.webcomponent&&((W=_.loadingIndicator)==null?void 0:W.enabled)!==!1&&t(4,y=!0)},250)}),Xr(()=>{An.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function $(W){W.keyCode===wi&&h("close")}function pe(){let W;I?W=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):W=document.querySelector(".drawer .spinnerContainer"),W&&W.classList.contains("fade-out")&&(W.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ne=()=>h("close",{activeDrawer:!1});return i.$$set=W=>{"settings"in W&&t(0,r=W.settings),"isDataPrepared"in W&&t(8,s=W.isDataPrepared),"nodepath"in W&&t(9,o=W.nodepath),"modalIndex"in W&&t(1,c=W.modalIndex),"disableBackdrop"in W&&t(2,g=W.disableBackdrop),"$$scope"in W&&t(10,l=W.$$scope)},[r,c,g,$,y,P,I,h,s,o,l,n,ne]}class __ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Yf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Xf(i){let e,t=i[1][1].settings&&$f(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=$f(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function $f(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=ac(Yf(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,s){A(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=Yf(r,n,o);l[o]?l[o].p(c,s):(l[o]=ac(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&&L(e),ct(l,r)}}}function xf(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?PS:yS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function yS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){A(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function PS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}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[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){A(o,e,c),Of(e,i[0][i[1][0]][i[28]]),l||(r=se(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&L(e),l=!1,r()}}}function ec(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,b,v=Array.isArray(i[29].options),S,y;function C(...E){return i[19](i[28],i[31],i[29],...E)}function P(){return i[20](i[29])}let I=v&&tc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=Ne(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),b=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-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-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),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(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(E,T){A(E,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,b),I&&I.m(b,null),S||(y=[se(r,"keydown",C),se(n,"click",Ut(P))],S=!0)},p(E,T){i=E,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=tc(i),I.c(),I.m(b,null)):I&&(I.d(1),I=null)},d(E){E&&L(e),I&&I.d(),S=!1,Ze(y)}}}function tc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=nc(Zf(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[31]),f(e,"role","listbox")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=Zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=nc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function nc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ne(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(e,"is-focus",i[4]===i[34])},m(g,h){A(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[se(e,"click",c),se(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&L(e),s=!1,Ze(o)}}}function ic(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=lc(Qf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){A(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=Qf(s,l,c);r[c]?r[c].p(g,o):(r[c]=lc(g),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-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&L(e),ct(r,s)}}}function lc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ne(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),g||(h=se(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&L(e),g=!1,h()}}}function rc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),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[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].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[28])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=se(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,h()}}}function sc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){A(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=se(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&L(e),n=!1,l()}}}function ac(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&xf(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),C=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&sc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),s=Ne(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),P&&P.c(),b=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(E,T){A(E,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,v)},p(E,T){T[0]&34&&l!==(l=E[5](E[29].label)+"")&&Te(r,l),E[29].type==="string"?S?S.p(E,T):(S=xf(E),S.c(),S.m(c,g)):S&&(S.d(1),S=null),E[29].type==="enum"&&(E[29].style===void 0||E[29].style==="list")?y?y.p(E,T):(y=ec(E),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=E[29].type==="enum"&&E[29].style==="button"&&Array.isArray(E[29].options)),_?C?C.p(E,T):(C=ic(E),C.c(),C.m(c,p)):C&&(C.d(1),C=null),E[29].type==="boolean"&&(!E[29].style||E[29].style==="switch")?P?P.p(E,T):(P=rc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[29].type==="boolean"&&E[29].style==="checkbox"?I?I.p(E,T):(I=sc(E),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(E){E&&L(e),S&&S.d(),y&&y.d(),C&&C.d(),P&&P.d(),I&&I.d()}}}function NS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Xf(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){A(r,e,s),l&&l.m(e,null),t||(n=[se(window,"click",i[7]),se(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&L(e),l&&l.d(),t=!1,Ze(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let c=ht("getTranslation");ki(i,c,ne=>t(5,n=ne));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ne){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(W=>{S(W,!1)})}function v(ne,W){let ue=ta(ne.target,".fd-popover__control",20),ee=ue.getAttribute("aria-expanded")==="true";(W||W===void 0)&&(b(),S(ue,!ee))}function S(ne,W){const ue=ne.querySelector(".lui-activate-language-dropdown"),ee=ne.parentNode.querySelector(".fd-popover__body"),Y=ne.parentNode.querySelector(".fd-select__control");ne.setAttribute("aria-expanded",W),ee.setAttribute("aria-hidden",!W),Y.setAttribute("aria-expanded",W),ue.setAttribute("aria-expanded",W),t(14,h=W)}function y(ne,W,ue){t(4,g=ue),t(0,s[l[0]][ne]=W.value||W,s)}function C(ne,W){document.querySelectorAll(".enum-buttons-container-"+ne+" button").forEach(ue=>{const ee=ue.getAttribute("id"),Y=`lui-us-enum_button_${ne}_option`;ee===Y?ue.classList.add("fd-button--emphasized"):ue.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ne]=W.value||W,s)}function P(ne,W){let ue;if(Array.isArray(W)){for(let ee=0;ee<W.length;ee++)if(le.isObject(W[ee])){if(W[ee].value&&W[ee].value===ne){ue=W[ee].label,t(4,g=ee);break}}else{ue=ne,t(4,g=W.indexOf(ne));break}return n(ue)}}function I(ne){return n(le.isObject(ne)?ne.label:ne)}function E(ne,W,ue){return le.isObject(ue)?`${ne}_${W}_${ue.value}`:`${ne}_${W}_${ue}`}function T(ne,W,ue,ee){let Y=ta(ne.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${ue}`).children;let ie=-1;if([...Pe].forEach((Ue,Ie)=>{Ue.classList.contains("is-focus")&&(ie=Ie)}),h){if(ne.keyCode===El&&ne.altKey&&(Y.click(),Y.focus()),ne.keyCode===Oi&&!ne.altKey){if(ie===-1){ie=0,Pe.item(ie).classList.add("is-focus");return}ie<ee.options.length-1&&(Pe.item(ie).classList.remove("is-focus"),ie+=1,Pe.item(ie).classList.add("is-focus"))}if(ne.keyCode===El&&!ne.altKey){if(ie===-1){ie=ie.length-1,Pe.item(ie).classList.add("is-focus");return}ie>0&&ie<ee.options.length&&(Pe.item(ie).classList.remove("is-focus"),ie-=1,Pe.item(ie).classList.add("is-focus"))}ne.keyCode===Si&&y(W,ee.options[ie],ie)}else Y.focus(),ne.keyCode===Oi&&ne.altKey&&Y.click(),ne.keyCode===Oi&&!ne.altKey&&ie<ee.options.length-1&&y(W,ee.options[ie+1],ie+1),ne.keyCode===El&&!ne.altKey&&ie>0&&ie<ee.options.length&&y(W,ee.options[ie-1],ie-1)}function R(ne){if(h){let W=ta(ne.target,".fd-popover",20);W.blur(),(ne.keyCode===fa||ne.keyCode===Si)&&(ne.target.click(),b(),setTimeout(()=>{W.focus()},0))}}P();function O(ne){s[l[0]][ne]=this.value,t(0,s)}const U=(ne,W,ue,ee)=>T(ee,ne,W,ue),F=ne=>v(event,ne.isEditable),H=(ne,W,ue)=>y(ne,W,ue),G=ne=>R(ne),x=(ne,W)=>C(ne,W);function $(ne){s[l[0]][ne]=this.checked,t(0,s)}function pe(ne){s[l[0]][ne]=this.checked,t(0,s)}return i.$$set=ne=>{"userSettingGroup"in ne&&t(1,l=ne.userSettingGroup),"userSettingsGroupKey"in ne&&t(15,r=ne.userSettingsGroupKey),"storedUserSettingData"in ne&&t(0,s=ne.storedUserSettingData),"isComboOpen"in ne&&t(14,h=ne.isComboOpen)},[s,l,T,R,g,n,c,b,v,y,C,P,I,E,h,r,_,p,O,U,F,H,G,x,$,pe]}class TS extends Rt{constructor(e){super(),At(this,e,IS,NS,Tt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:oc}=Fi;function uc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function fc(i,e,t){const n=i.slice();return n[38]=e[t],n}function cc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?AS:LS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&L(t),o&&L(n)}}}function LS(i){let e,t,n,l,r,s=i[38][1].initials&&dc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),s&&s.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&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&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=dc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&L(e),o&&L(l),s&&s.d(o),o&&L(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&L(e)}}}function dc(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=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){A(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&L(e)}}}function hc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&cc(i);function y(){return i[22](i[38])}function C(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),c=K(),g=k("div"),_=Ne(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){A(P,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(v=[se(e,"click",Mt(y)),se(e,"keydown",C)],b=!0)},p(P,I){i=P,i[38][1].icon?S?S.p(i,I):(S=cc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(_,h)},d(P){P&&L(e),S&&S.d(),b=!1,Ze(v)}}}function gc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hc(fc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=fc(l,t,s);n[s]?n[s].p(o,r):(n[s]=hc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function _c(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](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 TS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){We(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],bt(()=>n=!1)),e.$set(h)},i(c){l||(M(e.$$.fragment,c),l=!0)},o(c){q(e.$$.fragment,c),l=!1},d(c){ze(e,c)}}}function RS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,P=i[10](i[7])+"",I,E,T,R,O,U,F,H,G,x,$,pe=i[10](i[5])+"",ne,W,ue,ee,Y=i[10](i[6])+"",Pe,ie,Ue,Ie,ce=Object.entries(i[1]),X=[];for(let ae=0;ae<ce.length;ae+=1)X[ae]=gc(uc(i,ce,ae));let he=i[11]&&_c(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ne(c),h=K(),_=k("div"),p=k("ul");for(let ae=0;ae<X.length;ae+=1)X[ae].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=Ne(P),E=K(),T=k("div"),R=k("div"),he&&he.c(),O=K(),U=k("div"),F=K(),H=k("footer"),G=k("div"),x=k("div"),$=k("button"),ne=Ne(pe),W=K(),ue=k("div"),ee=k("button"),Pe=Ne(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(R,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f($,"data-testid","lui-us-saveBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(x,"class","fd-bar__element"),f(ee,"data-testid","lui-us-dismissBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ue,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(H,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),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-yylqtk"),f(e,"tabindex","0")},m(ae,Ve){A(ae,e,Ve),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let He=0;He<X.length;He+=1)X[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,E),w(n,T),w(T,R),he&&he.m(R,null),w(T,O),w(T,U),w(t,F),w(t,H),w(H,G),w(G,x),w(x,$),w($,ne),w(G,W),w(G,ue),w(ue,ee),w(ee,Pe),ie=!0,Ue||(Ie=[se(oc,"resize",i[20]),se(oc,"keydown",i[3]),se(S,"click",i[17]),se($,"click",i[26]),se(ee,"click",i[27])],Ue=!0)},p(ae,Ve){if((!ie||Ve[0]&1040)&&c!==(c=ae[10](ae[4])+"")&&Te(g,c),Ve[0]&803846){ce=Object.entries(ae[1]);let He;for(He=0;He<ce.length;He+=1){const be=uc(ae,ce,He);X[He]?X[He].p(be,Ve):(X[He]=gc(be),X[He].c(),X[He].m(p,null))}for(;He<X.length;He+=1)X[He].d(1);X.length=ce.length}(!ie||Ve[0]&1152)&&P!==(P=ae[10](ae[7])+"")&&Te(I,P),ae[11]?he?(he.p(ae,Ve),Ve[0]&2048&&M(he,1)):(he=_c(ae),he.c(),M(he,1),he.m(R,null)):he&&(Ce(),q(he,1,1,()=>{he=null}),ye()),(!ie||Ve[0]&1056)&&pe!==(pe=ae[10](ae[5])+"")&&Te(ne,pe),(!ie||Ve[0]&1088)&&Y!==(Y=ae[10](ae[6])+"")&&Te(Pe,Y)},i(ae){ie||(M(he),ie=!0)},o(ae){q(he),ie=!1},d(ae){ae&&L(e),ct(X,ae),he&&he.d(),Ue=!1,Ze(Ie)}}}function pc(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 ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function DS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function p_(i,e,t){if(i&&t>0)return i.matches(e)?i:p_(i.parentNode,e,t-1)}function mc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function VS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:c={}}=e,g={},h=ht("getTranslation");ki(i,h,ie=>t(10,n=ie));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},S,y,C,P;Xr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const ie=re.getConfigValue("userSettings.userSettingsDialog"),Ue=ie||re.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Ie=>{const ce=Le.getValidMessageSource(Ie);if(!ce||Ie.data.msg!=="custom")return;ce._ready=!0;const X=la.convertCustomMessageInternalToUser(Ie.data),he="luigi.updateUserSettings";if(X.id===he){const ae=ur.findActiveCustomUserSettingsIframe(Ie.source);if(ae){let Ve=ae.getAttribute("userSettingsGroup");t(0,c[Ve]=X.data,c)}}X.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&U()}),re.readUserSettings().then(Ie=>{g=JSON.parse(JSON.stringify(Ie)),Ie===null?t(0,c=pc(JSON.parse(JSON.stringify(r)),{})):t(0,c=pc(JSON.parse(JSON.stringify(r)),Ie)),E([S,r[0][S]])}).catch(Ie=>{Ie&&Ie.message&&console.error(Ie.message),Ie&&Ie.closeDialog&&s("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(ie){if(t(7,y=ie.title?ie.title:""),!!le.isObject(ie.settings))for(let Ue in ie.settings){let Ie=ie.settings[Ue];Ie.type==="enum"?Array.isArray(Ie.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Ie.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function E(ie,Ue){t(11,o=ie);let Ie=ie[0],ce=ie[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),p_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()),ce.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(Ie))ur.getUserSettingsIframesInDom().forEach(X=>{X.userSettingsGroup===Ie&&(X.style.display="block")});else{const X=Zr.hasDecorators()?Zr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=ur.createIframe(X,Ie);v[Ie]=he}ES()}else DS()}const T=ie=>{t(0,c=ie.detail.userSettings)};function R(){re.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function O(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()}function F(ie){return ke.renderIconClassName(ie)}function H(ie){return ke.isOpenUIiconName(ie.icon)}let G;const x=()=>{const ie=window.innerWidth>=$t.desktopMinWidth&&G<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&G>=$t.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"),ie&&(document.querySelector(".confirm-button").style.display="block"),!G){let Ie=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Ie.style.display="none":Ie.style.display="block"}G=window.innerWidth};function $(ie,Ue){let Ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===Si||ie.keyCode===fa)&&Ie[Ue].click(),ie.keyCode===_S&&Ie[Object.keys(r).length-1].focus(),ie.keyCode===gS&&Ie[0].focus()}function pe(ie){ie.keyCode===wi&&C?P():ie.keyCode===wi&&!C&&s("close")}const ne=ie=>E(ie,event),W=(ie,Ue)=>$(Ue,[ie]);function ue(ie){P=ie,t(9,P)}function ee(ie){C=ie,t(8,C)}const Y=()=>R(),Pe=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,$,pe,_,p,b,y,C,P,n,o,s,h,E,T,R,U,F,H,x,l,ne,W,ue,ee,Y,Pe]}class MS extends Rt{constructor(e){super(),At(this,e,VS,RS,Tt,{schemaObj:21,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:OS}=Fi;function FS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(e)}}}function US(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){A(g,e,h),w(e,t),A(g,n,h),A(g,l,h),w(l,s),o||(c=se(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function bc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){A(g,e,h),A(g,t,h),A(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[se(s,"click",Ut(Mt(i[3]))),se(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(c)}}}function BS(i){let e,t,n,l,r,s,o,c,g,h;t=new xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){A(S,e,y),We(t,e,null),w(e,n),w(e,l),b.m(l,null),A(S,s,y),v&&v.m(S,y),A(S,o,y),c=!0,g||(h=se(OS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=bc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(M(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&L(e),ze(t),b.d(),S&&L(s),v&&v.d(S),S&&L(o),g=!1,h()}}}function HS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:P}=e,I=!1,E=ht("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(ue=>{ue==="splitViewSettings"?t(1,y=W.splitViewSettings):ue==="lastNode"?r=W.lastNode:ue==="pathData"?s=W.pathData:ue==="nodeParams"?o=W.nodeParams:ue==="collapsed"?t(0,S=W.collapsed):ue==="isDataPrepared"?t(8,C=W.isDataPrepared):ue==="currentNode"?c=W.currentNode:ue==="splitViewIframe"?h=W.splitViewIframe:ue==="splitViewIframeData"?_=W.splitViewIframeData:ue==="splitViewWC"?p=W.splitViewWC:ue==="splitViewWCData"&&(b=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),R=async()=>{C?S||st.createAndSetView(T()):await st.prepareSplitViewData(T(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=st.getDragger()},U=()=>{const W=st.getDraggerBackdrop();W&&(W.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function F(W){if(!!Le.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&st.close(T()),W.data.msg==="luigi.navigation.splitview.collapse"&&H(),W.data.msg==="luigi.navigation.splitview.expand"&&G(),W.data.msg==="luigi.navigation.splitview.resize")){const ue=parseInt(W.data.data);if(st.calculateAndSetSplitViewValues(ue,st.internalValues),S)return;U(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{x(),g=F.bind(this),An.addEventListener("message",g)}),ua(()=>{R(),I!==C&&!S&&(I=C,U())}),Xr(()=>{window.removeEventListener("message",g)});function H(){st.collapse(T())}async function G(){await st.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const W=le.getShellbarHeight();st.internalValues.innerHeight=le.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-W,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=W+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||U()}function $(W){let ue=W.y,ee={};const Y=function(ce){const X=ue-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||X===0)return;const ae=he-X,Ve=st.internalValues.innerHeight-ae,He=st.enforceTresholds(ae,Ve);ae<He.top||Ve<He.bottom||(ee=He,ue=ce.y,l.draggable.style.top=`${ee.top}px`)},Pe=function(){if(ie(),!ee.top||!ee.bottom||ee.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=ee.top,st.splitViewValues=ee,U(),st.sendMessageToClients("resize.ok",ee.percent)},ie=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},Ue=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};O(),ie(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=W=>{let ue=st.getDraggerButton();ue&&(ue.style.display=W?"block":"none"),ue=st.getCollapsedDraggerButton(),ue&&(ue.style.display=W?"block":"none")},ne=W=>{pe(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,P=W.disableBackdrop)},[S,y,P,H,G,x,$,ne,C,v]}class WS extends Rt{constructor(e){super(),At(this,e,HS,BS,Tt,{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 vc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:qS,catch:zS,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){A(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())&&na(t,n)||i_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function zS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function wc(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-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){A(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function KS(i){let e,t=i[0]&&i[0].badgeCounter&&vc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Rt{constructor(e){super(),At(this,e,jS,KS,Tt,{node:0})}}function Sc(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-1c6n42g")},m(r,s){A(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&L(e)}}}function JS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Sc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function YS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Ui extends Rt{constructor(e){super(),At(this,e,YS,JS,Tt,{node:0})}}const{window:$s}=Fi;function kc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Tc(i),p=i[12].showUpLink&&Lc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=Ne(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(b,v){A(b,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(b,v){b[12].icon?_?_.p(b,v):(_=Tc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Te(c,o),b[12].showUpLink?p?p.p(b,v):(p=Lc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&f(l,"title",h)},d(b){b&&L(e),_&&_.d(),p&&p.d()}}}function Tc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?ZS:QS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function QS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function ZS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Lc(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-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){A(r,e,s),n||(l=se(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Ac(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=ed(kc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){A(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=kc(c,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=ed(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(Ce(),h=r.length;h<s.length;h+=1)o(h);ye()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&L(e),ct(s,c)}}}function XS(i){let e,t,n,l;const r=[e2,xS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),A(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&L(n)}}}function $S(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=xc(Nc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Nc(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=xc(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function xS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Rc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Fc(Cc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=Ne(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){A(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),A(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);A(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Te(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Cc(v,_,y);p[y]?(p[y].p(C,S),M(p[y],1)):(p[y]=Fc(C),p[y].c(),M(p[y],1),p[y].m(c.parentNode,c))}for(Ce(),y=_.length;y<p.length;y+=1)b(y);ye()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)M(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&L(e),h&&h.d(),v&&L(o),ct(p,v),v&&L(c)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,b,v,S,y,C,P,I,E,T,R,O,U,F,H,G,x,$;function pe(X,he){return he[0]&8192&&(l=null),l==null&&(l=!!X[28](X[68].metaInfo.icon)),l?o2:a2}let ne=pe(i,[-1,-1,-1]),W=ne(i);function ue(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...X){return i[48](i[68],...X)}let Pe=i[68],ie=[];for(let X=0;X<Pe.length;X+=1)ie[X]=zc(Pc(i,Pe,X));const Ue=X=>q(ie[X],1,1,()=>{ie[X]=null});let Ie=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&qc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),c=Ne(o),v=K(),S=k("button"),y=k("i"),T=K(),R=k("ul");for(let X=0;X<ie.length;X+=1)ie[X].c();U=K(),Ie&&Ie.c(),F=K(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=kn(i[68],i[9])),f(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",P=kn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",E=i[6]?"0":"-1"),f(R,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(R,"aria-hidden",O=!kn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",H=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(X,he){A(X,e,he),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,R);for(let ae=0;ae<ie.length;ae+=1)ie[ae].m(R,null);w(e,U),Ie&&Ie.m(e,null),w(e,F),G=!0,x||($=[se(n,"click",Mt(ue)),se(S,"click",Mt(ee)),se(t,"keypress",Y),se(e,"click",Ut(ce))],x=!0)},p(X,he){if(i=X,ne===(ne=pe(i,he))&&W?W.p(i,he):(W.d(1),W=ne(i),W&&(W.c(),W.m(n,r))),(!G||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Te(c,o),(!G||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!G||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!G||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&f(n,"aria-expanded",b),(!G||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!G||he[0]&8704&&P!==(P=kn(i[68],i[9])))&&f(S,"aria-expanded",P),(!G||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!G||he[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),he[0]&1686151296|he[1]&66){Pe=i[68];let ae;for(ae=0;ae<Pe.length;ae+=1){const Ve=Pc(i,Pe,ae);ie[ae]?(ie[ae].p(Ve,he),M(ie[ae],1)):(ie[ae]=zc(Ve),ie[ae].c(),M(ie[ae],1),ie[ae].m(R,null))}for(Ce(),ae=Pe.length;ae<ie.length;ae+=1)Ue(ae);ye()}(!G||he[0]&8704&&O!==(O=!kn(i[68],i[9])))&&f(R,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Ie?(Ie.p(i,he),he[0]&8448&&M(Ie,1)):(Ie=qc(i),Ie.c(),M(Ie,1),Ie.m(e,F)):Ie&&(Ce(),q(Ie,1,1,()=>{Ie=null}),ye()),(!G||he[0]&8192&&H!==(H=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",H),(!G||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(X){if(!G){for(let he=0;he<Pe.length;he+=1)M(ie[he]);M(Ie),G=!0}},o(X){ie=ie.filter(Boolean);for(let he=0;he<ie.length;he+=1)q(ie[he]);q(Ie),G=!1},d(X){X&&L(e),W.d(),ct(ie,X),Ie&&Ie.d(),x=!1,Ze($)}}}function Rc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function t2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function n2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ec(i){let e,t,n=i[71].label&&Dc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Dc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I;function E(x,$){return x[71].icon?l2:i2}let T=E(i),R=T(i),O=i[71].statusBadge&&Vc(i),U=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function H(...x){return i[54](i[71],...x)}function G(...x){return i[55](i[71],...x)}return{c(){e=k("li"),t=k("a"),R.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),U&&U.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(x,$){A(x,e,$),w(e,t),R.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),O&&O.m(l,null),w(t,g),U&&U.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,P||(I=[se(t,"click",H),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(x,$){i=x,T===(T=E(i))&&R?R.p(i,$):(R.d(1),R=T(i),R&&(R.c(),R.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r),i[71].statusBadge?O?(O.p(i,$),$[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye()),(!C||$[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?U||(U=Mc(),U.c(),U.m(t,h)):U&&(U.d(1),U=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||$[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(x){C||(M(O),M(F),C=!0)},o(x){q(O),q(F),C=!1},d(x){x&&L(e),R.d(),O&&O.d(),U&&U.d(),F&&F.d(),P=!1,Ze(I)}}}function i2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,s)},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":"")&&Te(s,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function l2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?s2:r2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function r2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function s2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Fc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Ec(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function a2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function o2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Bc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let E=i[71].externalLink&&i[71].externalLink.url&&Hc(),T=i[71].badgeCounter&&Wc(i);function R(...U){return i[49](i[71],...U)}function O(...U){return i[50](i[71],...U)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),E&&E.c(),h=K(),T&&T.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),E&&E.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",R),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(U,F){i=U,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const H={};F[0]&8192&&(H.node=i[71]),o.$set(H),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?E||(E=Hc(),E.c(),E.m(t,h)):E&&(E.d(1),E=null),i[71].badgeCounter?T?(T.p(i,F),F[0]&8192&&M(T,1)):(T=Wc(i),T.c(),M(T,1),T.m(t,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(U){C||(M(o.$$.fragment,U),M(T),C=!0)},o(U){q(o.$$.fragment,U),q(T),C=!1},d(U){U&&L(e),ze(o),E&&E.d(),T&&T.d(),P=!1,Ze(I)}}}function Hc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Uc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Yc(yc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ne(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,b){if((!c||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Te(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=yc(p,g,v);h[v]?(h[v].p(S,b),M(h[v],1)):(h[v]=Yc(S),h[v].c(),M(h[v],1),h[v].m(o,null))}for(Ce(),v=g.length;v<h.length;v+=1)_(v);ye()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)M(h[b]);c=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);c=!1},d(p){p&&L(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Kc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let E=i[71].externalLink&&i[71].externalLink.url&&jc(),T=i[71].badgeCounter&&Jc(i);function R(...U){return i[51](i[71],...U)}function O(...U){return i[52](i[71],...U)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),E&&E.c(),h=K(),T&&T.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),E&&E.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",R),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(U,F){i=U,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const H={};F[0]&8192&&(H.node=i[71]),o.$set(H),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?E||(E=jc(),E.c(),E.m(t,h)):E&&(E.d(1),E=null),i[71].badgeCounter?T?(T.p(i,F),F[0]&8192&&M(T,1)):(T=Jc(i),T.c(),M(T,1),T.m(t,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(U){C||(M(o.$$.fragment,U),M(T),C=!0)},o(U){q(o.$$.fragment,U),q(T),C=!1},d(U){U&&L(e),ze(o),E&&E.d(),T&&T.d(),P=!1,Ze(I)}}}function jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Gc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Qc(i){let e,t,n=i[71].label&&Zc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Zc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(x,$){return x[71].icon?f2:u2}let R=T(i),O=R(i);c=new Ui({props:{node:i[71]}});let U=i[71].externalLink&&i[71].externalLink.url&&Xc(),F=i[71].badgeCounter&&$c(i);function H(...x){return i[44](i[71],...x)}function G(...x){return i[45](i[71],...x)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),qe(c.$$.fragment),h=K(),U&&U.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",b=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(x,$){A(x,e,$),w(e,t),O.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),We(c,l,null),w(t,h),U&&U.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),P=!0,I||(E=[se(t,"click",H),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(x,$){i=x,R===(R=T(i))&&O?O.p(i,$):(O.d(1),O=R(i),O&&(O.c(),O.m(t,n))),(!P||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r);const pe={};$[0]&8192&&(pe.node=i[71]),c.$set(pe),(!P||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?U||(U=Xc(),U.c(),U.m(t,_)):U&&(U.d(1),U=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!P||$[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!P||$[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&f(t,"title",b),(!P||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!P||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!P||$[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(x){P||(M(c.$$.fragment,x),M(F),P=!0)},o(x){q(c.$$.fragment,x),q(F),P=!1},d(x){x&&L(e),O.d(),ze(c),U&&U.d(),F&&F.d(),I=!1,Ze(E)}}}function u2(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){A(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&&L(e)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function c2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function d2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xc(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){A(t,e,n)},d(t){t&&L(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function xc(i){let e,t,n=!i[71].hideFromNav&&Qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Qc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ed(i){let e,t,n,l,r,s;const o=[$S,XS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(p2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function td(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&nd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ne(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Te(r,l),c[3]?o?o.p(c,g):(o=nd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function nd(i){let e;function t(r,s){return r[4]=="button"?g2:h2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function h2(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-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){A(r,e,s),n||(l=[se(e,"click",i[57]),se(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Ze(l)}}}function g2(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-1f9ma6n"),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-1f9ma6n")},m(s,o){A(s,e,o),w(e,t),l||(r=se(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&L(e),l=!1,r()}}}function _2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Ic(i),p=i[0]&&i[5].length>1&&Ac(i),b=(i[2]||i[3])&&td(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n")},m(v,S){A(v,e,S),_&&_.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,g||(h=[se($s,"resize",i[17]),se($s,"click",i[21]),se($s,"blur",i[21]),se($s,"keydown",i[33]),se(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Ic(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(Ce(),q(p,1,1,()=>{p=null}),ye()),v[2]||v[3]?b?b.p(v,S):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n"))&&f(e,"class",o)},i(v){c||(M(p),c=!0)},o(v){q(p),c=!1},d(v){v&&L(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const p2=i=>!i.hideFromNav&&i.label;function m2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:E,selectedCategory:C,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:O}),set:async te=>{te&&(Object.getOwnPropertyNames(te).forEach(async Ae=>{if(Ae==="pathData")t(5,p=te.pathData);else if(Ae==="context")U=te.context;else if(Ae==="children")t(0,s=te.children);else if(Ae==="selectedNode")t(7,y=te.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,I=te.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,R=void 0);let at=te.navParent;if(t(41,O=at),at&&at.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,R={});let ln=Nt(ke.stripNode(at),ke.stripNode(Ct),U);ln instanceof Promise?ln.then(En=>{t(12,R=En)}):t(12,R=ln)}else if(Nt==="auto")t(12,R={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,R={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,R=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);ke.fetchNodeTitleData(Ct,Gn).then(ni=>{t(12,R={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,R={...Nt,label:at.label,icon:at.icon})})})}else t(12,R=await Ue(Nt,Ct))}}}),t(40,E=ke.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:T}=e,{navHeader:R}=e,{navParentNode:O}=e,U,F,H,G=ht("store"),x=ht("getTranslation");ki(i,x,te=>t(24,n=te));let $=!1;const pe=te=>ke.getNodeLabel(te),ne=async()=>{const te=l.get(),Ae=await Vt.getLeftNavData({...te},te);!Ae||(l.set(Ae),F=p,window.LEFTNAVDATA=Ae.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,H=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),on.doOnStoreChange(G,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(G,()=>{ne()},["navigation.viewgroupdata"]);let te=mi.initial();t(6,S=te.isSemiCollapsed),t(39,g=te.semiCollapsible),mi.onValueChanged(Ae=>{t(6,S=Ae.isSemiCollapsed)}),An.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&ne()})}),zn(()=>{(!F||F!=p)&&ne(),t(22,H=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function ue(te){return ke.renderIconClassName(te)}function ee(te){return ke.isOpenUIiconName(te)}function Y(te){return te.testId?te.testId:ke.prepareForTests(te.pathSegment,te.label)}function Pe(te){return me.getNodeHref(te,b)}function ie(te,Ae){return te&&te.testId?te.testId:ke.prepareForTests(Ae||te.label)}async function Ue(te,Ae){const at=me.mapPathToNode(et.getCurrentPath(),Ae),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(te,Ct)}function Ie(te,Ae){return ke.generateTooltipText(te,Ae)}function ce(te){r("handleClick",{node:te})}function X(te,Ae){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?at=te.metaInfo.label:at=te.category&&te.category.label||te.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Ae)}}function he(te){const Ae=te.closest(".fd-nested-list__item"),at=Ae.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Ae.getElementsByClassName("lui-flyout-sublist")[0],En=te.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ni=Ct-at-Ae.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function ae(){if(g){let te=mi.onResize(C);t(6,S=te.isSemiCollapsed),t(8,C=te.selectedCategory)}}function Ve(te){if(te.code==="ArrowRight"){const at=Le.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(te){let Ae=O?O.parent:void 0;for(;Ae;){if(Ae.pathSegment&&Ae.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ae});return}Ae=Ae.parent}console.warn('Could not resolve "up"-node, redirecting to root'),h_.navigate("/")}function be(te,Ae){mi.getCollapsed()||t(9,P=ke.storeExpandedState(te.metaInfo.categoryUid,Ae,E))}function Ge(){t(8,C=mi.closePopupMenu(C))}function St(te){te&&te.code==="Escape"&&Ge()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(te){const Ae=te.code;(Ae==="Enter"||Ae==="Space")&&Wt()}function Yt(te,Ae){(te.code==="Enter"||te==="Space")&&X(Ae,te.currentTarget)}function pn(te,Ae){te.keyCode===Si&&ke.handleNavAnchorClickedWithoutMetaKey(te)&&ce(Ae)}function un(){if(!ke.getBurgerTooltipConfig())return;const[te,Ae]=ke.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");te&&Ae&&at&&t(11,T=document.body.classList.contains("semiCollapsed")?te:Ae)}function mn(te,Ae){return kn(te,Ae)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const Bi=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},bn=(te,Ae)=>pn(Ae,te),Qt=te=>be(te,!kn(te,P)),Rn=te=>be(te,!kn(te,P)),Et=(te,Ae)=>Yt(Ae,te),cl=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},xt=(te,Ae)=>pn(Ae,te),fn=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},qn=(te,Ae)=>pn(Ae,te),qt=te=>X(te,event.currentTarget),Cn=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},fi=(te,Ae)=>pn(Ae,te),ci=te=>Wt(),cn=te=>Wt(),Ci=te=>kt(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,c=te.footerText),"semiCollapsible"in te&&t(39,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"semiCollapsibleButtonStyle"in te&&t(4,_=te.semiCollapsibleButtonStyle),"pathData"in te&&t(5,p=te.pathData),"pathParams"in te&&t(42,b=te.pathParams),"virtualGroupPrefix"in te&&t(14,v=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(6,S=te.isSemiCollapsed),"selectedNode"in te&&t(7,y=te.selectedNode),"selectedCategory"in te&&t(8,C=te.selectedCategory),"expandedCategories"in te&&t(9,P=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(10,I=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(40,E=te.sideNavAccordionMode),"burgerTooltip"in te&&t(11,T=te.burgerTooltip),"navHeader"in te&&t(12,R=te.navHeader),"navParentNode"in te&&t(41,O=te.navParentNode),"sortedChildrenEntries"in te&&t(13,W=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Ae,at)=>Ae[1].metaInfo.order-at[1].metaInfo.order),t(13,W=te)}},[s,o,c,h,_,p,S,y,C,P,I,T,R,W,v,ce,X,ae,Ve,He,be,Ge,H,$,n,x,pe,ue,ee,Y,Pe,ie,Ie,St,Wt,kt,Yt,pn,mn,g,E,O,b,he,Bi,bn,Qt,Rn,Et,cl,xt,fn,qn,qt,Cn,fi,ci,cn,Ci]}class b2 extends Rt{constructor(e){super(),At(this,e,m2,_2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const v2=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),m_(i),!t)return;const n=Boolean(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){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},w2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),m_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!w2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=$r.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function id(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ld(i,e,t){const n=i.slice();return n[43]=e[t],n}function S2(i){let e,t,n,l,r=i[1]&&rd(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-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){A(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&L(e),r&&r.d(),n=!1,l()}}}function k2(i){let e,t,n,l,r=i[1]&&sd(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-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){A(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=sd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&L(e),r&&r.d(),n=!1,l()}}}function rd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function sd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){A(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[26](null)}}}function ad(i){let e,t;function n(o,c){return o[3]?C2:y2}let l=n(i),r=l(i),s=i[10]&&md(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),A(o,e,c),s&&s.m(o,c),A(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[10]?s?s.p(o,c):(s=md(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&L(e),s&&s.d(o),o&&L(t)}}}function C2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),S=i[7]&&i[7].length>0&&gd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"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[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){A(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=se(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=hd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=gd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&L(e),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function y2(i){let e;function t(r,s){return r[12]?A2:L2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function P2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=Ne(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){A(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=se(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&L(e),c=!1,g()}}}function N2(i){let e,t,n,l=i[7]&&i[7].length===1&&od(i),r=i[7]&&i[7].length>1&&ud(i),s=i[7].length>1&&!i[5]&&dd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),s&&s.m(o,c),A(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=dd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),s&&s.d(o),o&&L(n)}}}function od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){A(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&L(e)}}}function ud(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=cd(ld(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ld(l,t,s);n[s]?n[s].p(o,r):(n[s]=cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function fd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),o=K(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),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",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=se(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),h=!1,_()}}}function cd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&fd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=fd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){A(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=se(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&L(e),c=!1,g()}}}function hd(i){let e,t,n,l=i[17](i[6])+"",r,s,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",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){A(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=se(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&L(e),o=!1,c()}}}function gd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=pd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=pd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function I2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),c=K(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=se(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&L(e),g=!1,h()}}}function T2(i){let e,t=i[16]&&_d(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=_d(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new _r(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){A(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&L(e)}}}function pd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return T2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return I2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&L(n)}}}function L2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(s=se(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function A2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(s=se(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function md(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&L(e)}}}function R2(i){let e,t;function n(o,c){return o[12]?k2:S2}let l=n(i),r=l(i),s=i[2]&&ad(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),A(o,e,c),s&&s.m(o,c),A(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]?s?s.p(o,c):(s=ad(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&L(e),s&&s.d(o),o&&L(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,E,T,R=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");ki(i,O,be=>t(17,n=be));let U=ht("store");const F={closeDropDown:()=>{ne("appSwitcherPopover")}},H=()=>({get:()=>({pathData:P,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ge=>{Ge==="pathData"?t(24,P=be.pathData):Ge==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ge==="itemRenderer"?t(8,v=be.itemRenderer):Ge==="pathParams"?t(9,S=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ge==="hasApps"?t(3,c=be.hasApps):Ge==="hasLogo"&&t(1,s=be.hasLogo)})},store:U});Jt(()=>{v2(H())}),zn(()=>{(!T||T!=P)&&(m_(H()),T=P)});function G(be,Ge,St){return setTimeout(()=>{Ge&&v(be,Ge.children[St],F)}),""}function x(be){R().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){R().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ne("appSwitcherPopover")}function ne(be){l("toggleDropdownState",{name:be})}function W(be){return be.testId?be.testId:ke.prepareForTests(be.title||be)}function ue(be,Ge){if(be.link){const St=me.applyPathParams(be.link,Ge);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ee(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")};function ie(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>x("/"),Ie=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")},ce=()=>x("/"),X=()=>ne("appSwitcherPopover"),he=()=>ne("appSwitcherPopover"),ae=()=>ne("appSwitcherPopover"),Ve=(be,Ge)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(be.link)};function He(be){$e[be?"unshift":"push"](()=>{E=be,t(16,E)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,c=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,c,h,_,p,b,v,S,y,g,I,x,$,ne,E,n,O,G,W,ue,ee,C,P,pe,Y,Pe,ie,Ue,Ie,ce,X,he,ae,Ve,He]}class V2 extends Rt{constructor(e){super(),At(this,e,D2,R2,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function bd(i,e,t){const n=i.slice();return n[34]=e[t],n}function vd(i){let e,t,n,l,r,s,o=i[0]&&wd(i),c=(i[10]||i[11])&&Id(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"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(g,h){A(g,e,h),o&&o.m(e,null),A(g,t,h),A(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=wd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Id(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function wd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?O2:M2}let g=c(i),h=g(i),_=i[7].name&&Sd(i),p=i[7].description&&kd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=yd(bd(i,b,y));let S=i[12]&&Pd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){A(y,e,C),h.m(e,null),A(y,t,C),A(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),A(y,r,C),A(y,s,C);for(let P=0;P<v.length;P+=1)v[P].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Sd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=kd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let P;for(P=0;P<b.length;P+=1){const I=bd(y,b,P);v[P]?v[P].p(I,C):(v[P]=yd(I),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=Pd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&L(e),h.d(),y&&L(t),y&&L(n),_&&_.d(),p&&p.d(),y&&L(r),y&&L(s),ct(v,y),S&&S.d()}}}function M2(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--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&L(e)}}}function O2(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function Sd(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-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&L(e)}}}function kd(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-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&L(e)}}}function Cd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?U2:F2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function F2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&oi(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&&L(e)}}}function U2(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-x3xwcc")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&L(e)}}}function yd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Cd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,v){A(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Cd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),_&&_.d(),g=!1,Ze(h)}}}function Pd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Nd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){A(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Nd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r)},d(h){h&&L(e),g&&g.d(),o=!1,Ze(c)}}}function Nd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?H2:B2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function B2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function H2(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-x3xwcc")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Id(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Td(i),l=i[10]&&!i[8]&&Ld(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),A(r,e,s),l&&l.m(r,s),A(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Td(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ld(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Td(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,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,g){A(c,e,g),w(e,t),w(t,l),s||(o=se(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),s=!1,o()}}}function Ld(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),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(s,o){A(s,e,o),A(s,t,o),A(s,n,o),l||(r=[se(e,"click",i[15]),se(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&L(e),s&&L(t),s&&L(n),l=!1,Ze(r)}}}function W2(i){let e,t=!i[1]&&vd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),U(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function E(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function R(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function U(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),ie=Pe||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(ie)){const Ie=ie.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&le.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(ie))},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function H(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){$r.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===fa)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ne}=e;const W=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>H(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ne=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ne=Boolean(o&&(o.name||o.email)))},[ne,r,s,H,G,x,pe,o,c,g,h,_,p,n,y,I,E,T,R,O,U,F,$,W,ue,ee]}class q2 extends Rt{constructor(e){super(),At(this,e,z2,W2,Tt,{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 Ad(i,e,t){const n=i.slice();return n[34]=e[t],n}function Rd(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Vd(Ad(i,o,_));let g=i[12]&&Md(i),h=(i[10]||i[11])&&Fd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){A(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ad(_,o,b);c[b]?c[b].p(v,p):(c[b]=Vd(v),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Md(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Fd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&L(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Ed(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-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){A(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Te(l,n)},d(r){r&&L(e)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?K2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function G2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function K2(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Dd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=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,v){A(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Dd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),_&&_.d(),g=!1,Ze(h)}}}function Md(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Od(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=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(_,p){A(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&L(e),h&&h.d(),c=!1,Ze(g)}}}function Od(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?J2:j2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function j2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function J2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ud(i),l=i[10]&&!i[8]&&Hd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),A(r,e,s),l&&l.m(r,s),A(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ud(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Hd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Ud(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Bd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){A(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=se(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&L(e),h&&h.d(),c=!1,g()}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Q2:Y2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function Y2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function Q2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Hd(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){A(l,e,r),t||(n=se(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function Z2(i){let e,t=!i[1]&&Rd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Rd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function X2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),U(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function E(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function R(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function U(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),ie=Pe||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(ie));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=ie.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&le.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function H(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){$r.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===fa)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ne}=e;const W=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>H(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ne=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ne=Boolean(o&&(o.name||o.email)))},[ne,r,s,H,G,x,pe,o,c,g,h,_,p,n,y,I,E,T,R,O,U,F,$,W,ue,ee]}class b_ extends Rt{constructor(e){super(),At(this,e,X2,Z2,Tt,{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 Wd(i,e,t){const n=i.slice();return n[12]=e[t],n}function zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kd(Wd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=Wd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Kd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function qd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,S,y,C,P;function I(U,F){return F&10&&(n=null),n==null&&(n=!!U[3](U[12])),n?x2:$2}let E=I(i,-1),T=E(i);r=new ti({props:{node:i[12]}});let R=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=Ne(g),_=K(),R&&R.c(),b=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(U,F){A(U,e,F),w(e,t),T.m(t,null),w(t,l),We(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),R&&R.m(o,null),w(e,b),y=!0,C||(P=se(e,"click",O),C=!0)},p(U,F){i=U,E===(E=I(i,F))&&T?T.p(i,F):(T.d(1),T=E(i),T&&(T.c(),T.m(t,l)));const H={};F&2&&(H.node=i[12]),r.$set(H),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Te(h,g),F&34&&(p=i[5](i[12])),p?R?R.p(i,F):(R=Gd(i),R.c(),R.m(o,null)):R&&(R.d(1),R=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(U){y||(M(r.$$.fragment,U),y=!0)},o(U){q(r.$$.fragment,U),y=!1},d(U){U&&L(e),T.d(),ze(r),R&&R.d(),C=!1,P()}}}function $2(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){A(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function x2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){A(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&L(e)}}}function Gd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Kd(i){let e,t,n=i[12].label&&qd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ek(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E=i[1]&&zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ne(i[0]),c=K(),g=k("div"),h=k("div"),_=k("ul"),E&&E.c(),p=K(),b=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"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(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),E&&E.m(_,null),w(t,p),w(t,b),w(b,v),w(v,S),w(S,y),C=!0,P||(I=[se(y,"click",i[9]),se(e,"click",Ut(tk))],P=!0)},p(T,[R]){(!C||R&1)&&Te(o,T[0]),T[1]?E?(E.p(T,R),R&2&&M(E,1)):(E=zd(T),E.c(),M(E,1),E.m(_,null)):E&&(Ce(),q(E,1,1,()=>{E=null}),ye())},i(T){C||(M(E),C=!0)},o(T){q(E),C=!1},d(T){T&&L(e),E&&E.d(),P=!1,Ze(I)}}}const tk=()=>{};function nk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ke.renderIconClassName(S)}function p(S){n("listClick",S)}function b(S){Al.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,b,v]}class v_ extends Rt{constructor(e){super(),At(this,e,nk,ek,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:ik}=Fi;function jd(i,e,t){const n=i.slice();return n[6]=e[t],n}function Jd(i){let e,t,n,l=i[0]&&Yd(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,s){A(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&M(l,1)):(l=Yd(r),l.c(),M(l,1),l.m(t,null)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Yd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=jd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Zd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function Qd(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(T,R){return R&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?rk:lk}let P=C(i,-1),I=P(i);s=new ti({props:{node:i[6]}});function E(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=Ne(g),p=K(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=i[12](i[6]))},m(T,R){A(T,e,R),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[se(t,"click",i[14]),se(e,"click",E)],S=!0)},p(T,R){i=T,P===(P=C(i,R))&&I?I.p(i,R):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};R&1&&(O.node=i[6]),s.$set(O),(!v||R&1)&&g!==(g=i[11](i[6])+"")&&Te(h,g),(!v||R&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||R&1&&b!==(b=i[12](i[6])))&&f(e,"data-testid",b)},i(T){v||(M(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&L(e),I.d(),ze(s),S=!1,Ze(y)}}}function lk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function rk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Zd(i){let e,t,n=i[6].label&&Qd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Xd(i){let e,t;return e=new v_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function sk(i){let e,t,n,l,r,s=!i[1]&&Jd(i),o=i[1]&&Xd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(r=se(ik,"resize",sa),l=!0)},p(c,[g]){c[1]?s&&(Ce(),q(s,1,1,()=>{s=null}),ye()):s?(s.p(c,g),g&2&&M(s,1)):(s=Jd(c),s.c(),M(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&M(o,1)):(o=Xd(c),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(Ce(),q(o,1,1,()=>{o=null}),ye())},i(c){n||(M(s),M(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function sa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{sa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(O){c().then(()=>{if(O.openNodeInModal){const U=me.buildRoute(O,`/${O.pathSegment}`);g(U,O.openNodeInModal===!0?{}:O.openNodeInModal)}else et.handleRouteClick(O,p())},()=>{}),S()}function v(O){b(O.detail)}function S(){n("close")}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return ke.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:ke.prepareForTests(O.pathSegment,O.label)}function E(O){return me.getNodeHref(O,o)}const T=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},R=O=>b(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(6,s=O.node)},[r,l,b,v,S,sa,s,h,_,y,C,P,I,E,T,R]}class w_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return sa}}const _n={_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?le.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=le.addLeadingSlash(et.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.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=le.normalizePath(i),n=le.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._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=le.normalizePath(i),t=le.normalizePath(t),!!_n.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=_n.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 _n.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=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ih(eh(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-qht2wo")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function nh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",Mt(gk)),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(h)}}}function ih(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&nh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=nh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function lh(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>
54
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function kS(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),P=i[5]&&jf(i),I=i[4]&&Jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),P&&P.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(E,T){A(E,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=se(SS,"keydown",i[3]),S=!0)},p(E,[T]){E[6]||E[5]&&E[0].header?C?(C.p(E,T),T&97&&M(C,1)):(C=Gf(E),C.c(),M(C,1),C.m(t,n)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),E[5]?P?(P.p(E,T),T&32&&M(P,1)):(P=jf(E),P.c(),M(P,1),P.m(l,r)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),(!v||T&32&&o!==(o="iframeModalCtn "+(E[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(s,"class",o),(!v||T&34&&c!==(c=E[5]?void 0:E[1]))&&f(s,"modal-container-index",c),E[4]?I||(I=Jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||T&35&&h!==(h="fd-dialog__content "+(E[5]?E[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+E[1])+" svelte-k9bftu"))&&f(t,"class",h),(!v||T&64&&_!==(_=E[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=ei(E[6]||E[5]&&E[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!v||T&64&&b!==(b=E[6]?"z-index:1001":""))&&f(e,"style",b)},i(E){v||(M(C),M(P),v=!0)},o(E){q(C),q(P),v=!1},d(E){E&&L(e),C&&C.d(),P&&P.d(),I&&I.d(),S=!1,y()}}}function CS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,P=!1,I=!0,E,T=ht("store");const R=W=>ke.getNodeLabel(W),O=async W=>{const ue=W&&W.length?ne.getPathWithoutHash(W):"",ee=me.parseParams(ue.split("?")[1]);b=me.getNodeParams(ee);const Y=await Vt.extractDataFromPath(W);_=Y.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=R(_),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),h("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=R(_),r),t(0,r._liveLabel=!0,r)),p=Y.pathData,t(8,s=!0)},U=async W=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(E),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),S=!0;else{const ue=await H(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:ue,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(W)},F=async()=>{let W,ue;const ee=document.querySelector(".lui-modal-index-"+c),{size:Y,width:Pe,height:le}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ee.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(Ue)&&le&&le.match(Ue))W=le,ue=Pe;else switch(Y){case"fullscreen":W="100vh",ue="100vw",ee.classList.add("lui-modal-fullscreen");break;case"m":W="80%",ue="60%";break;case"s":W="80%",ue="40%";break;default:W="80%",ue="80%"}ee.setAttribute("style",`width:${ue};height:${W};`)},H=async(W,ue)=>{P?await G():await F(),W&&(W=me.substituteViewUrl(W,ue));const ee=await Le.createIframe(W,void 0,_,"modal",ue);return document.querySelector(E).appendChild(ee),ee};async function G(W){let ue="";const ee=document.getElementsByClassName("drawer"),Y=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ue="width:75%;":r.size==="m"?ue="width:50%;":r.size==="s"?ue="width:25%;":r.size==="xs"&&(ue="width:15.5%;")),r.backdrop?ee[0].setAttribute("style",ue):(Y[0].setAttribute("style",ue),ee[0].setAttribute("style","width:100%"))}ua(()=>{U(o)});const x=async W=>{W.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),W.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),W.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),W.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),W.data.msg==="luigi.navigation.updateModalSettings"&&((W.data.updatedModalSettings.title||W.data.updatedModalSettings.title==="")&&t(0,r.title=W.data.updatedModalSettings.title,r),W.data.updatedModalSettings.size&&(t(0,r.size=W.data.updatedModalSettings.size,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size},W.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(T,()=>{r._liveLabel&&_&&t(0,r.title=R(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var W;!C&&!_.webcomponent&&((W=_.loadingIndicator)==null?void 0:W.enabled)!==!1&&t(4,y=!0)},250)}),Xr(()=>{An.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function $(W){W.keyCode===wi&&h("close")}function pe(){let W;I?W=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):W=document.querySelector(".drawer .spinnerContainer"),W&&W.classList.contains("fade-out")&&(W.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ie=()=>h("close",{activeDrawer:!1});return i.$$set=W=>{"settings"in W&&t(0,r=W.settings),"isDataPrepared"in W&&t(8,s=W.isDataPrepared),"nodepath"in W&&t(9,o=W.nodepath),"modalIndex"in W&&t(1,c=W.modalIndex),"disableBackdrop"in W&&t(2,g=W.disableBackdrop),"$$scope"in W&&t(10,l=W.$$scope)},[r,c,g,$,y,P,I,h,s,o,l,n,ie]}class __ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Yf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Xf(i){let e,t=i[1][1].settings&&$f(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=$f(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function $f(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=ac(Yf(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,s){A(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=Yf(r,n,o);l[o]?l[o].p(c,s):(l[o]=ac(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&&L(e),ct(l,r)}}}function xf(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?PS:yS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function yS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){A(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function PS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}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[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){A(o,e,c),Of(e,i[0][i[1][0]][i[28]]),l||(r=se(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&L(e),l=!1,r()}}}function ec(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,b,v=Array.isArray(i[29].options),S,y;function C(...E){return i[19](i[28],i[31],i[29],...E)}function P(){return i[20](i[29])}let I=v&&tc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=Ne(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),b=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-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-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),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(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(E,T){A(E,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,b),I&&I.m(b,null),S||(y=[se(r,"keydown",C),se(n,"click",Ut(P))],S=!0)},p(E,T){i=E,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=tc(i),I.c(),I.m(b,null)):I&&(I.d(1),I=null)},d(E){E&&L(e),I&&I.d(),S=!1,Ze(y)}}}function tc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=nc(Zf(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[31]),f(e,"role","listbox")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=Zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=nc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function nc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ne(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(e,"is-focus",i[4]===i[34])},m(g,h){A(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[se(e,"click",c),se(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&L(e),s=!1,Ze(o)}}}function ic(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=lc(Qf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){A(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=Qf(s,l,c);r[c]?r[c].p(g,o):(r[c]=lc(g),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-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&L(e),ct(r,s)}}}function lc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ne(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),g||(h=se(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&L(e),g=!1,h()}}}function rc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),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[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].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[28])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=se(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,h()}}}function sc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){A(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=se(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&L(e),n=!1,l()}}}function ac(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&xf(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),C=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&sc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),s=Ne(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),P&&P.c(),b=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(E,T){A(E,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,v)},p(E,T){T[0]&34&&l!==(l=E[5](E[29].label)+"")&&Te(r,l),E[29].type==="string"?S?S.p(E,T):(S=xf(E),S.c(),S.m(c,g)):S&&(S.d(1),S=null),E[29].type==="enum"&&(E[29].style===void 0||E[29].style==="list")?y?y.p(E,T):(y=ec(E),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=E[29].type==="enum"&&E[29].style==="button"&&Array.isArray(E[29].options)),_?C?C.p(E,T):(C=ic(E),C.c(),C.m(c,p)):C&&(C.d(1),C=null),E[29].type==="boolean"&&(!E[29].style||E[29].style==="switch")?P?P.p(E,T):(P=rc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[29].type==="boolean"&&E[29].style==="checkbox"?I?I.p(E,T):(I=sc(E),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(E){E&&L(e),S&&S.d(),y&&y.d(),C&&C.d(),P&&P.d(),I&&I.d()}}}function NS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Xf(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){A(r,e,s),l&&l.m(e,null),t||(n=[se(window,"click",i[7]),se(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&L(e),l&&l.d(),t=!1,Ze(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let c=ht("getTranslation");ki(i,c,ie=>t(5,n=ie));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ie){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(W=>{S(W,!1)})}function v(ie,W){let ue=ta(ie.target,".fd-popover__control",20),ee=ue.getAttribute("aria-expanded")==="true";(W||W===void 0)&&(b(),S(ue,!ee))}function S(ie,W){const ue=ie.querySelector(".lui-activate-language-dropdown"),ee=ie.parentNode.querySelector(".fd-popover__body"),Y=ie.parentNode.querySelector(".fd-select__control");ie.setAttribute("aria-expanded",W),ee.setAttribute("aria-hidden",!W),Y.setAttribute("aria-expanded",W),ue.setAttribute("aria-expanded",W),t(14,h=W)}function y(ie,W,ue){t(4,g=ue),t(0,s[l[0]][ie]=W.value||W,s)}function C(ie,W){document.querySelectorAll(".enum-buttons-container-"+ie+" button").forEach(ue=>{const ee=ue.getAttribute("id"),Y=`lui-us-enum_button_${ie}_option`;ee===Y?ue.classList.add("fd-button--emphasized"):ue.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ie]=W.value||W,s)}function P(ie,W){let ue;if(Array.isArray(W)){for(let ee=0;ee<W.length;ee++)if(ne.isObject(W[ee])){if(W[ee].value&&W[ee].value===ie){ue=W[ee].label,t(4,g=ee);break}}else{ue=ie,t(4,g=W.indexOf(ie));break}return n(ue)}}function I(ie){return n(ne.isObject(ie)?ie.label:ie)}function E(ie,W,ue){return ne.isObject(ue)?`${ie}_${W}_${ue.value}`:`${ie}_${W}_${ue}`}function T(ie,W,ue,ee){let Y=ta(ie.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${ue}`).children;let le=-1;if([...Pe].forEach((Ue,Ie)=>{Ue.classList.contains("is-focus")&&(le=Ie)}),h){if(ie.keyCode===El&&ie.altKey&&(Y.click(),Y.focus()),ie.keyCode===Oi&&!ie.altKey){if(le===-1){le=0,Pe.item(le).classList.add("is-focus");return}le<ee.options.length-1&&(Pe.item(le).classList.remove("is-focus"),le+=1,Pe.item(le).classList.add("is-focus"))}if(ie.keyCode===El&&!ie.altKey){if(le===-1){le=le.length-1,Pe.item(le).classList.add("is-focus");return}le>0&&le<ee.options.length&&(Pe.item(le).classList.remove("is-focus"),le-=1,Pe.item(le).classList.add("is-focus"))}ie.keyCode===Si&&y(W,ee.options[le],le)}else Y.focus(),ie.keyCode===Oi&&ie.altKey&&Y.click(),ie.keyCode===Oi&&!ie.altKey&&le<ee.options.length-1&&y(W,ee.options[le+1],le+1),ie.keyCode===El&&!ie.altKey&&le>0&&le<ee.options.length&&y(W,ee.options[le-1],le-1)}function R(ie){if(h){let W=ta(ie.target,".fd-popover",20);W.blur(),(ie.keyCode===fa||ie.keyCode===Si)&&(ie.target.click(),b(),setTimeout(()=>{W.focus()},0))}}P();function O(ie){s[l[0]][ie]=this.value,t(0,s)}const U=(ie,W,ue,ee)=>T(ee,ie,W,ue),F=ie=>v(event,ie.isEditable),H=(ie,W,ue)=>y(ie,W,ue),G=ie=>R(ie),x=(ie,W)=>C(ie,W);function $(ie){s[l[0]][ie]=this.checked,t(0,s)}function pe(ie){s[l[0]][ie]=this.checked,t(0,s)}return i.$$set=ie=>{"userSettingGroup"in ie&&t(1,l=ie.userSettingGroup),"userSettingsGroupKey"in ie&&t(15,r=ie.userSettingsGroupKey),"storedUserSettingData"in ie&&t(0,s=ie.storedUserSettingData),"isComboOpen"in ie&&t(14,h=ie.isComboOpen)},[s,l,T,R,g,n,c,b,v,y,C,P,I,E,h,r,_,p,O,U,F,H,G,x,$,pe]}class TS extends Rt{constructor(e){super(),At(this,e,IS,NS,Tt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:oc}=Fi;function uc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function fc(i,e,t){const n=i.slice();return n[38]=e[t],n}function cc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?AS:LS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&L(t),o&&L(n)}}}function LS(i){let e,t,n,l,r,s=i[38][1].initials&&dc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),s&&s.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&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&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=dc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&L(e),o&&L(l),s&&s.d(o),o&&L(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&L(e)}}}function dc(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=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){A(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&L(e)}}}function hc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&cc(i);function y(){return i[22](i[38])}function C(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),c=K(),g=k("div"),_=Ne(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){A(P,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(v=[se(e,"click",Mt(y)),se(e,"keydown",C)],b=!0)},p(P,I){i=P,i[38][1].icon?S?S.p(i,I):(S=cc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(_,h)},d(P){P&&L(e),S&&S.d(),b=!1,Ze(v)}}}function gc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hc(fc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=fc(l,t,s);n[s]?n[s].p(o,r):(n[s]=hc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function _c(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](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 TS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){We(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],bt(()=>n=!1)),e.$set(h)},i(c){l||(M(e.$$.fragment,c),l=!0)},o(c){q(e.$$.fragment,c),l=!1},d(c){ze(e,c)}}}function RS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,P=i[10](i[7])+"",I,E,T,R,O,U,F,H,G,x,$,pe=i[10](i[5])+"",ie,W,ue,ee,Y=i[10](i[6])+"",Pe,le,Ue,Ie,ce=Object.entries(i[1]),X=[];for(let ae=0;ae<ce.length;ae+=1)X[ae]=gc(uc(i,ce,ae));let he=i[11]&&_c(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ne(c),h=K(),_=k("div"),p=k("ul");for(let ae=0;ae<X.length;ae+=1)X[ae].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=Ne(P),E=K(),T=k("div"),R=k("div"),he&&he.c(),O=K(),U=k("div"),F=K(),H=k("footer"),G=k("div"),x=k("div"),$=k("button"),ie=Ne(pe),W=K(),ue=k("div"),ee=k("button"),Pe=Ne(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(R,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f($,"data-testid","lui-us-saveBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(x,"class","fd-bar__element"),f(ee,"data-testid","lui-us-dismissBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ue,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(H,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),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-yylqtk"),f(e,"tabindex","0")},m(ae,Ve){A(ae,e,Ve),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let He=0;He<X.length;He+=1)X[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,E),w(n,T),w(T,R),he&&he.m(R,null),w(T,O),w(T,U),w(t,F),w(t,H),w(H,G),w(G,x),w(x,$),w($,ie),w(G,W),w(G,ue),w(ue,ee),w(ee,Pe),le=!0,Ue||(Ie=[se(oc,"resize",i[20]),se(oc,"keydown",i[3]),se(S,"click",i[17]),se($,"click",i[26]),se(ee,"click",i[27])],Ue=!0)},p(ae,Ve){if((!le||Ve[0]&1040)&&c!==(c=ae[10](ae[4])+"")&&Te(g,c),Ve[0]&803846){ce=Object.entries(ae[1]);let He;for(He=0;He<ce.length;He+=1){const be=uc(ae,ce,He);X[He]?X[He].p(be,Ve):(X[He]=gc(be),X[He].c(),X[He].m(p,null))}for(;He<X.length;He+=1)X[He].d(1);X.length=ce.length}(!le||Ve[0]&1152)&&P!==(P=ae[10](ae[7])+"")&&Te(I,P),ae[11]?he?(he.p(ae,Ve),Ve[0]&2048&&M(he,1)):(he=_c(ae),he.c(),M(he,1),he.m(R,null)):he&&(Ce(),q(he,1,1,()=>{he=null}),ye()),(!le||Ve[0]&1056)&&pe!==(pe=ae[10](ae[5])+"")&&Te(ie,pe),(!le||Ve[0]&1088)&&Y!==(Y=ae[10](ae[6])+"")&&Te(Pe,Y)},i(ae){le||(M(he),le=!0)},o(ae){q(he),le=!1},d(ae){ae&&L(e),ct(X,ae),he&&he.d(),Ue=!1,Ze(Ie)}}}function pc(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 ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function DS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function p_(i,e,t){if(i&&t>0)return i.matches(e)?i:p_(i.parentNode,e,t-1)}function mc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function VS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:c={}}=e,g={},h=ht("getTranslation");ki(i,h,le=>t(10,n=le));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},S,y,C,P;Xr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const le=re.getConfigValue("userSettings.userSettingsDialog"),Ue=le||re.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Ie=>{const ce=Le.getValidMessageSource(Ie);if(!ce||Ie.data.msg!=="custom")return;ce._ready=!0;const X=la.convertCustomMessageInternalToUser(Ie.data),he="luigi.updateUserSettings";if(X.id===he){const ae=ur.findActiveCustomUserSettingsIframe(Ie.source);if(ae){let Ve=ae.getAttribute("userSettingsGroup");t(0,c[Ve]=X.data,c)}}X.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&U()}),re.readUserSettings().then(Ie=>{g=JSON.parse(JSON.stringify(Ie)),Ie===null?t(0,c=pc(JSON.parse(JSON.stringify(r)),{})):t(0,c=pc(JSON.parse(JSON.stringify(r)),Ie)),E([S,r[0][S]])}).catch(Ie=>{Ie&&Ie.message&&console.error(Ie.message),Ie&&Ie.closeDialog&&s("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(le){if(t(7,y=le.title?le.title:""),!!ne.isObject(le.settings))for(let Ue in le.settings){let Ie=le.settings[Ue];Ie.type==="enum"?Array.isArray(Ie.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Ie.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function E(le,Ue){t(11,o=le);let Ie=le[0],ce=le[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),p_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()),ce.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(Ie))ur.getUserSettingsIframesInDom().forEach(X=>{X.userSettingsGroup===Ie&&(X.style.display="block")});else{const X=Zr.hasDecorators()?Zr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=ur.createIframe(X,Ie);v[Ie]=he}ES()}else DS()}const T=le=>{t(0,c=le.detail.userSettings)};function R(){re.storeUserSettings(c,g).then(()=>{s("close")}).catch(le=>{le&&le.message&&console.error(le.message),le&&le.closeDialog&&s("close")})}function O(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()}function F(le){return ke.renderIconClassName(le)}function H(le){return ke.isOpenUIiconName(le.icon)}let G;const x=()=>{const le=window.innerWidth>=$t.desktopMinWidth&&G<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&G>=$t.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"),le&&(document.querySelector(".confirm-button").style.display="block"),!G){let Ie=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Ie.style.display="none":Ie.style.display="block"}G=window.innerWidth};function $(le,Ue){let Ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(le.keyCode===Si||le.keyCode===fa)&&Ie[Ue].click(),le.keyCode===_S&&Ie[Object.keys(r).length-1].focus(),le.keyCode===gS&&Ie[0].focus()}function pe(le){le.keyCode===wi&&C?P():le.keyCode===wi&&!C&&s("close")}const ie=le=>E(le,event),W=(le,Ue)=>$(Ue,[le]);function ue(le){P=le,t(9,P)}function ee(le){C=le,t(8,C)}const Y=()=>R(),Pe=()=>s("close");return i.$$set=le=>{"schemaObj"in le&&t(21,l=le.schemaObj),"userSettingGroups"in le&&t(1,r=le.userSettingGroups),"storedUserSettings"in le&&t(0,c=le.storedUserSettings)},[c,r,$,pe,_,p,b,y,C,P,n,o,s,h,E,T,R,U,F,H,x,l,ie,W,ue,ee,Y,Pe]}class MS extends Rt{constructor(e){super(),At(this,e,VS,RS,Tt,{schemaObj:21,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:OS}=Fi;function FS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(e)}}}function US(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){A(g,e,h),w(e,t),A(g,n,h),A(g,l,h),w(l,s),o||(c=se(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function bc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){A(g,e,h),A(g,t,h),A(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[se(s,"click",Ut(Mt(i[3]))),se(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(c)}}}function BS(i){let e,t,n,l,r,s,o,c,g,h;t=new xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){A(S,e,y),We(t,e,null),w(e,n),w(e,l),b.m(l,null),A(S,s,y),v&&v.m(S,y),A(S,o,y),c=!0,g||(h=se(OS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=bc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(M(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&L(e),ze(t),b.d(),S&&L(s),v&&v.d(S),S&&L(o),g=!1,h()}}}function HS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:P}=e,I=!1,E=ht("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(ue=>{ue==="splitViewSettings"?t(1,y=W.splitViewSettings):ue==="lastNode"?r=W.lastNode:ue==="pathData"?s=W.pathData:ue==="nodeParams"?o=W.nodeParams:ue==="collapsed"?t(0,S=W.collapsed):ue==="isDataPrepared"?t(8,C=W.isDataPrepared):ue==="currentNode"?c=W.currentNode:ue==="splitViewIframe"?h=W.splitViewIframe:ue==="splitViewIframeData"?_=W.splitViewIframeData:ue==="splitViewWC"?p=W.splitViewWC:ue==="splitViewWCData"&&(b=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),R=async()=>{C?S||st.createAndSetView(T()):await st.prepareSplitViewData(T(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=st.getDragger()},U=()=>{const W=st.getDraggerBackdrop();W&&(W.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function F(W){if(!!Le.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&st.close(T()),W.data.msg==="luigi.navigation.splitview.collapse"&&H(),W.data.msg==="luigi.navigation.splitview.expand"&&G(),W.data.msg==="luigi.navigation.splitview.resize")){const ue=parseInt(W.data.data);if(st.calculateAndSetSplitViewValues(ue,st.internalValues),S)return;U(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{x(),g=F.bind(this),An.addEventListener("message",g)}),ua(()=>{R(),I!==C&&!S&&(I=C,U())}),Xr(()=>{window.removeEventListener("message",g)});function H(){st.collapse(T())}async function G(){await st.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const W=ne.getShellbarHeight();st.internalValues.innerHeight=ne.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-W,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=W+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||U()}function $(W){let ue=W.y,ee={};const Y=function(ce){const X=ue-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||X===0)return;const ae=he-X,Ve=st.internalValues.innerHeight-ae,He=st.enforceTresholds(ae,Ve);ae<He.top||Ve<He.bottom||(ee=He,ue=ce.y,l.draggable.style.top=`${ee.top}px`)},Pe=function(){if(le(),!ee.top||!ee.bottom||ee.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=ee.top,st.splitViewValues=ee,U(),st.sendMessageToClients("resize.ok",ee.percent)},le=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},Ue=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};O(),le(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=W=>{let ue=st.getDraggerButton();ue&&(ue.style.display=W?"block":"none"),ue=st.getCollapsedDraggerButton(),ue&&(ue.style.display=W?"block":"none")},ie=W=>{pe(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,P=W.disableBackdrop)},[S,y,P,H,G,x,$,ie,C,v]}class WS extends Rt{constructor(e){super(),At(this,e,HS,BS,Tt,{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 vc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:qS,catch:zS,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){A(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())&&na(t,n)||i_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function zS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function wc(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-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){A(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function KS(i){let e,t=i[0]&&i[0].badgeCounter&&vc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Rt{constructor(e){super(),At(this,e,jS,KS,Tt,{node:0})}}function Sc(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-1c6n42g")},m(r,s){A(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&L(e)}}}function JS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Sc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function YS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Ui extends Rt{constructor(e){super(),At(this,e,YS,JS,Tt,{node:0})}}const{window:$s}=Fi;function kc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Tc(i),p=i[12].showUpLink&&Lc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=Ne(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(b,v){A(b,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(b,v){b[12].icon?_?_.p(b,v):(_=Tc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Te(c,o),b[12].showUpLink?p?p.p(b,v):(p=Lc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&f(l,"title",h)},d(b){b&&L(e),_&&_.d(),p&&p.d()}}}function Tc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?ZS:QS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function QS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function ZS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Lc(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-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){A(r,e,s),n||(l=se(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Ac(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=ed(kc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){A(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=kc(c,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=ed(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(Ce(),h=r.length;h<s.length;h+=1)o(h);ye()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&L(e),ct(s,c)}}}function XS(i){let e,t,n,l;const r=[e2,xS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),A(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&L(n)}}}function $S(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=xc(Nc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Nc(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=xc(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function xS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Rc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Fc(Cc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=Ne(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){A(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),A(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);A(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Te(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Cc(v,_,y);p[y]?(p[y].p(C,S),M(p[y],1)):(p[y]=Fc(C),p[y].c(),M(p[y],1),p[y].m(c.parentNode,c))}for(Ce(),y=_.length;y<p.length;y+=1)b(y);ye()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)M(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&L(e),h&&h.d(),v&&L(o),ct(p,v),v&&L(c)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,b,v,S,y,C,P,I,E,T,R,O,U,F,H,G,x,$;function pe(X,he){return he[0]&8192&&(l=null),l==null&&(l=!!X[28](X[68].metaInfo.icon)),l?o2:a2}let ie=pe(i,[-1,-1,-1]),W=ie(i);function ue(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...X){return i[48](i[68],...X)}let Pe=i[68],le=[];for(let X=0;X<Pe.length;X+=1)le[X]=zc(Pc(i,Pe,X));const Ue=X=>q(le[X],1,1,()=>{le[X]=null});let Ie=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&qc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),c=Ne(o),v=K(),S=k("button"),y=k("i"),T=K(),R=k("ul");for(let X=0;X<le.length;X+=1)le[X].c();U=K(),Ie&&Ie.c(),F=K(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=kn(i[68],i[9])),f(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",P=kn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",E=i[6]?"0":"-1"),f(R,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(R,"aria-hidden",O=!kn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",H=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(X,he){A(X,e,he),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,R);for(let ae=0;ae<le.length;ae+=1)le[ae].m(R,null);w(e,U),Ie&&Ie.m(e,null),w(e,F),G=!0,x||($=[se(n,"click",Mt(ue)),se(S,"click",Mt(ee)),se(t,"keypress",Y),se(e,"click",Ut(ce))],x=!0)},p(X,he){if(i=X,ie===(ie=pe(i,he))&&W?W.p(i,he):(W.d(1),W=ie(i),W&&(W.c(),W.m(n,r))),(!G||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Te(c,o),(!G||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!G||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!G||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&f(n,"aria-expanded",b),(!G||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!G||he[0]&8704&&P!==(P=kn(i[68],i[9])))&&f(S,"aria-expanded",P),(!G||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!G||he[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),he[0]&1686151296|he[1]&66){Pe=i[68];let ae;for(ae=0;ae<Pe.length;ae+=1){const Ve=Pc(i,Pe,ae);le[ae]?(le[ae].p(Ve,he),M(le[ae],1)):(le[ae]=zc(Ve),le[ae].c(),M(le[ae],1),le[ae].m(R,null))}for(Ce(),ae=Pe.length;ae<le.length;ae+=1)Ue(ae);ye()}(!G||he[0]&8704&&O!==(O=!kn(i[68],i[9])))&&f(R,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Ie?(Ie.p(i,he),he[0]&8448&&M(Ie,1)):(Ie=qc(i),Ie.c(),M(Ie,1),Ie.m(e,F)):Ie&&(Ce(),q(Ie,1,1,()=>{Ie=null}),ye()),(!G||he[0]&8192&&H!==(H=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",H),(!G||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(X){if(!G){for(let he=0;he<Pe.length;he+=1)M(le[he]);M(Ie),G=!0}},o(X){le=le.filter(Boolean);for(let he=0;he<le.length;he+=1)q(le[he]);q(Ie),G=!1},d(X){X&&L(e),W.d(),ct(le,X),Ie&&Ie.d(),x=!1,Ze($)}}}function Rc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function t2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function n2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ec(i){let e,t,n=i[71].label&&Dc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Dc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I;function E(x,$){return x[71].icon?l2:i2}let T=E(i),R=T(i),O=i[71].statusBadge&&Vc(i),U=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function H(...x){return i[54](i[71],...x)}function G(...x){return i[55](i[71],...x)}return{c(){e=k("li"),t=k("a"),R.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),U&&U.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(x,$){A(x,e,$),w(e,t),R.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),O&&O.m(l,null),w(t,g),U&&U.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,P||(I=[se(t,"click",H),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(x,$){i=x,T===(T=E(i))&&R?R.p(i,$):(R.d(1),R=T(i),R&&(R.c(),R.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r),i[71].statusBadge?O?(O.p(i,$),$[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye()),(!C||$[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?U||(U=Mc(),U.c(),U.m(t,h)):U&&(U.d(1),U=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||$[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(x){C||(M(O),M(F),C=!0)},o(x){q(O),q(F),C=!1},d(x){x&&L(e),R.d(),O&&O.d(),U&&U.d(),F&&F.d(),P=!1,Ze(I)}}}function i2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,s)},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":"")&&Te(s,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function l2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?s2:r2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function r2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function s2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Fc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Ec(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function a2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function o2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Bc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let E=i[71].externalLink&&i[71].externalLink.url&&Hc(),T=i[71].badgeCounter&&Wc(i);function R(...U){return i[49](i[71],...U)}function O(...U){return i[50](i[71],...U)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),E&&E.c(),h=K(),T&&T.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),E&&E.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",R),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(U,F){i=U,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const H={};F[0]&8192&&(H.node=i[71]),o.$set(H),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?E||(E=Hc(),E.c(),E.m(t,h)):E&&(E.d(1),E=null),i[71].badgeCounter?T?(T.p(i,F),F[0]&8192&&M(T,1)):(T=Wc(i),T.c(),M(T,1),T.m(t,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(U){C||(M(o.$$.fragment,U),M(T),C=!0)},o(U){q(o.$$.fragment,U),q(T),C=!1},d(U){U&&L(e),ze(o),E&&E.d(),T&&T.d(),P=!1,Ze(I)}}}function Hc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Uc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Yc(yc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ne(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,b){if((!c||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Te(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=yc(p,g,v);h[v]?(h[v].p(S,b),M(h[v],1)):(h[v]=Yc(S),h[v].c(),M(h[v],1),h[v].m(o,null))}for(Ce(),v=g.length;v<h.length;v+=1)_(v);ye()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)M(h[b]);c=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);c=!1},d(p){p&&L(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Kc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let E=i[71].externalLink&&i[71].externalLink.url&&jc(),T=i[71].badgeCounter&&Jc(i);function R(...U){return i[51](i[71],...U)}function O(...U){return i[52](i[71],...U)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),E&&E.c(),h=K(),T&&T.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),E&&E.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",R),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(U,F){i=U,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const H={};F[0]&8192&&(H.node=i[71]),o.$set(H),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?E||(E=jc(),E.c(),E.m(t,h)):E&&(E.d(1),E=null),i[71].badgeCounter?T?(T.p(i,F),F[0]&8192&&M(T,1)):(T=Jc(i),T.c(),M(T,1),T.m(t,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(U){C||(M(o.$$.fragment,U),M(T),C=!0)},o(U){q(o.$$.fragment,U),q(T),C=!1},d(U){U&&L(e),ze(o),E&&E.d(),T&&T.d(),P=!1,Ze(I)}}}function jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Gc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Qc(i){let e,t,n=i[71].label&&Zc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Zc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(x,$){return x[71].icon?f2:u2}let R=T(i),O=R(i);c=new Ui({props:{node:i[71]}});let U=i[71].externalLink&&i[71].externalLink.url&&Xc(),F=i[71].badgeCounter&&$c(i);function H(...x){return i[44](i[71],...x)}function G(...x){return i[45](i[71],...x)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),qe(c.$$.fragment),h=K(),U&&U.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",b=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(x,$){A(x,e,$),w(e,t),O.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),We(c,l,null),w(t,h),U&&U.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),P=!0,I||(E=[se(t,"click",H),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(x,$){i=x,R===(R=T(i))&&O?O.p(i,$):(O.d(1),O=R(i),O&&(O.c(),O.m(t,n))),(!P||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r);const pe={};$[0]&8192&&(pe.node=i[71]),c.$set(pe),(!P||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?U||(U=Xc(),U.c(),U.m(t,_)):U&&(U.d(1),U=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!P||$[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!P||$[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&f(t,"title",b),(!P||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!P||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!P||$[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(x){P||(M(c.$$.fragment,x),M(F),P=!0)},o(x){q(c.$$.fragment,x),q(F),P=!1},d(x){x&&L(e),O.d(),ze(c),U&&U.d(),F&&F.d(),I=!1,Ze(E)}}}function u2(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){A(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&&L(e)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function c2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function d2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xc(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){A(t,e,n)},d(t){t&&L(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function xc(i){let e,t,n=!i[71].hideFromNav&&Qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Qc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ed(i){let e,t,n,l,r,s;const o=[$S,XS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(p2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function td(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&nd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ne(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Te(r,l),c[3]?o?o.p(c,g):(o=nd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function nd(i){let e;function t(r,s){return r[4]=="button"?g2:h2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function h2(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-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){A(r,e,s),n||(l=[se(e,"click",i[57]),se(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Ze(l)}}}function g2(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-1f9ma6n"),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-1f9ma6n")},m(s,o){A(s,e,o),w(e,t),l||(r=se(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&L(e),l=!1,r()}}}function _2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Ic(i),p=i[0]&&i[5].length>1&&Ac(i),b=(i[2]||i[3])&&td(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n")},m(v,S){A(v,e,S),_&&_.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,g||(h=[se($s,"resize",i[17]),se($s,"click",i[21]),se($s,"blur",i[21]),se($s,"keydown",i[33]),se(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Ic(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(Ce(),q(p,1,1,()=>{p=null}),ye()),v[2]||v[3]?b?b.p(v,S):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n"))&&f(e,"class",o)},i(v){c||(M(p),c=!0)},o(v){q(p),c=!1},d(v){v&&L(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const p2=i=>!i.hideFromNav&&i.label;function m2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:E,selectedCategory:C,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:O}),set:async te=>{te&&(Object.getOwnPropertyNames(te).forEach(async Ae=>{if(Ae==="pathData")t(5,p=te.pathData);else if(Ae==="context")U=te.context;else if(Ae==="children")t(0,s=te.children);else if(Ae==="selectedNode")t(7,y=te.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,I=te.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,R=void 0);let at=te.navParent;if(t(41,O=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,R={});let ln=Nt(ke.stripNode(at),ke.stripNode(Ct),U);ln instanceof Promise?ln.then(En=>{t(12,R=En)}):t(12,R=ln)}else if(Nt==="auto")t(12,R={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,R={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,R=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);ke.fetchNodeTitleData(Ct,Gn).then(ni=>{t(12,R={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,R={...Nt,label:at.label,icon:at.icon})})})}else t(12,R=await Ue(Nt,Ct))}}}),t(40,E=ke.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:T}=e,{navHeader:R}=e,{navParentNode:O}=e,U,F,H,G=ht("store"),x=ht("getTranslation");ki(i,x,te=>t(24,n=te));let $=!1;const pe=te=>ke.getNodeLabel(te),ie=async()=>{const te=l.get(),Ae=await Vt.getLeftNavData({...te},te);!Ae||(l.set(Ae),F=p,window.LEFTNAVDATA=Ae.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,H=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),on.doOnStoreChange(G,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(G,()=>{ie()},["navigation.viewgroupdata"]);let te=mi.initial();t(6,S=te.isSemiCollapsed),t(39,g=te.semiCollapsible),mi.onValueChanged(Ae=>{t(6,S=Ae.isSemiCollapsed)}),An.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),zn(()=>{(!F||F!=p)&&ie(),t(22,H=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function ue(te){return ke.renderIconClassName(te)}function ee(te){return ke.isOpenUIiconName(te)}function Y(te){return te.testId?te.testId:ke.prepareForTests(te.pathSegment,te.label)}function Pe(te){return me.getNodeHref(te,b)}function le(te,Ae){return te&&te.testId?te.testId:ke.prepareForTests(Ae||te.label)}async function Ue(te,Ae){const at=me.mapPathToNode(et.getCurrentPath(),Ae),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(te,Ct)}function Ie(te,Ae){return ke.generateTooltipText(te,Ae)}function ce(te){r("handleClick",{node:te})}function X(te,Ae){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?at=te.metaInfo.label:at=te.category&&te.category.label||te.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Ae)}}function he(te){const Ae=te.closest(".fd-nested-list__item"),at=Ae.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Ae.getElementsByClassName("lui-flyout-sublist")[0],En=te.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ni=Ct-at-Ae.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function ae(){if(g){let te=mi.onResize(C);t(6,S=te.isSemiCollapsed),t(8,C=te.selectedCategory)}}function Ve(te){if(te.code==="ArrowRight"){const at=Le.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(te){let Ae=O?O.parent:void 0;for(;Ae;){if(Ae.pathSegment&&Ae.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ae});return}Ae=Ae.parent}console.warn('Could not resolve "up"-node, redirecting to root'),h_.navigate("/")}function be(te,Ae){mi.getCollapsed()||t(9,P=ke.storeExpandedState(te.metaInfo.categoryUid,Ae,E))}function Ge(){t(8,C=mi.closePopupMenu(C))}function St(te){te&&te.code==="Escape"&&Ge()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(te){const Ae=te.code;(Ae==="Enter"||Ae==="Space")&&Wt()}function Yt(te,Ae){(te.code==="Enter"||te==="Space")&&X(Ae,te.currentTarget)}function pn(te,Ae){te.keyCode===Si&&ke.handleNavAnchorClickedWithoutMetaKey(te)&&ce(Ae)}function un(){if(!ke.getBurgerTooltipConfig())return;const[te,Ae]=ke.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");te&&Ae&&at&&t(11,T=document.body.classList.contains("semiCollapsed")?te:Ae)}function mn(te,Ae){return kn(te,Ae)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const Bi=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},bn=(te,Ae)=>pn(Ae,te),Qt=te=>be(te,!kn(te,P)),Rn=te=>be(te,!kn(te,P)),Et=(te,Ae)=>Yt(Ae,te),cl=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},xt=(te,Ae)=>pn(Ae,te),fn=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},qn=(te,Ae)=>pn(Ae,te),qt=te=>X(te,event.currentTarget),Cn=(te,Ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},fi=(te,Ae)=>pn(Ae,te),ci=te=>Wt(),cn=te=>Wt(),Ci=te=>kt(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,c=te.footerText),"semiCollapsible"in te&&t(39,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"semiCollapsibleButtonStyle"in te&&t(4,_=te.semiCollapsibleButtonStyle),"pathData"in te&&t(5,p=te.pathData),"pathParams"in te&&t(42,b=te.pathParams),"virtualGroupPrefix"in te&&t(14,v=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(6,S=te.isSemiCollapsed),"selectedNode"in te&&t(7,y=te.selectedNode),"selectedCategory"in te&&t(8,C=te.selectedCategory),"expandedCategories"in te&&t(9,P=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(10,I=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(40,E=te.sideNavAccordionMode),"burgerTooltip"in te&&t(11,T=te.burgerTooltip),"navHeader"in te&&t(12,R=te.navHeader),"navParentNode"in te&&t(41,O=te.navParentNode),"sortedChildrenEntries"in te&&t(13,W=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Ae,at)=>Ae[1].metaInfo.order-at[1].metaInfo.order),t(13,W=te)}},[s,o,c,h,_,p,S,y,C,P,I,T,R,W,v,ce,X,ae,Ve,He,be,Ge,H,$,n,x,pe,ue,ee,Y,Pe,le,Ie,St,Wt,kt,Yt,pn,mn,g,E,O,b,he,Bi,bn,Qt,Rn,Et,cl,xt,fn,qn,qt,Cn,fi,ci,cn,Ci]}class b2 extends Rt{constructor(e){super(),At(this,e,m2,_2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const v2=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),m_(i),!t)return;const n=Boolean(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){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},w2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),m_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return ne.trimTrailingSlash(ne.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!w2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=$r.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function id(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ld(i,e,t){const n=i.slice();return n[43]=e[t],n}function S2(i){let e,t,n,l,r=i[1]&&rd(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-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){A(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&L(e),r&&r.d(),n=!1,l()}}}function k2(i){let e,t,n,l,r=i[1]&&sd(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-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){A(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=sd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&L(e),r&&r.d(),n=!1,l()}}}function rd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function sd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){A(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[26](null)}}}function ad(i){let e,t;function n(o,c){return o[3]?C2:y2}let l=n(i),r=l(i),s=i[10]&&md(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),A(o,e,c),s&&s.m(o,c),A(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[10]?s?s.p(o,c):(s=md(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&L(e),s&&s.d(o),o&&L(t)}}}function C2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),S=i[7]&&i[7].length>0&&gd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"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[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){A(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=se(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=hd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=gd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&L(e),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function y2(i){let e;function t(r,s){return r[12]?A2:L2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),A(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function P2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=Ne(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){A(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=se(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&L(e),c=!1,g()}}}function N2(i){let e,t,n,l=i[7]&&i[7].length===1&&od(i),r=i[7]&&i[7].length>1&&ud(i),s=i[7].length>1&&!i[5]&&dd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),s&&s.m(o,c),A(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=dd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),s&&s.d(o),o&&L(n)}}}function od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){A(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&L(e)}}}function ud(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=cd(ld(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ld(l,t,s);n[s]?n[s].p(o,r):(n[s]=cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function fd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),o=K(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),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",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=se(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),h=!1,_()}}}function cd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&fd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=fd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){A(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=se(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&L(e),c=!1,g()}}}function hd(i){let e,t,n,l=i[17](i[6])+"",r,s,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",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){A(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=se(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&L(e),o=!1,c()}}}function gd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=pd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=pd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function I2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),c=K(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=se(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&L(e),g=!1,h()}}}function T2(i){let e,t=i[16]&&_d(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=_d(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new _r(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){A(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&L(e)}}}function pd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return T2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return I2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&L(n)}}}function L2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(s=se(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function A2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(s=se(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&L(e),r=!1,s()}}}function md(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&L(e)}}}function R2(i){let e,t;function n(o,c){return o[12]?k2:S2}let l=n(i),r=l(i),s=i[2]&&ad(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),A(o,e,c),s&&s.m(o,c),A(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]?s?s.p(o,c):(s=ad(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&L(e),s&&s.d(o),o&&L(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,E,T,R=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");ki(i,O,be=>t(17,n=be));let U=ht("store");const F={closeDropDown:()=>{ie("appSwitcherPopover")}},H=()=>({get:()=>({pathData:P,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ge=>{Ge==="pathData"?t(24,P=be.pathData):Ge==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ge==="itemRenderer"?t(8,v=be.itemRenderer):Ge==="pathParams"?t(9,S=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ge==="hasApps"?t(3,c=be.hasApps):Ge==="hasLogo"&&t(1,s=be.hasLogo)})},store:U});Jt(()=>{v2(H())}),zn(()=>{(!T||T!=P)&&(m_(H()),T=P)});function G(be,Ge,St){return setTimeout(()=>{Ge&&v(be,Ge.children[St],F)}),""}function x(be){R().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){R().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ie("appSwitcherPopover")}function ie(be){l("toggleDropdownState",{name:be})}function W(be){return be.testId?be.testId:ke.prepareForTests(be.title||be)}function ue(be,Ge){if(be.link){const St=me.applyPathParams(be.link,Ge);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ee(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")};function le(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>x("/"),Ie=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")},ce=()=>x("/"),X=()=>ie("appSwitcherPopover"),he=()=>ie("appSwitcherPopover"),ae=()=>ie("appSwitcherPopover"),Ve=(be,Ge)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(be.link)};function He(be){$e[be?"unshift":"push"](()=>{E=be,t(16,E)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,c=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,c,h,_,p,b,v,S,y,g,I,x,$,ie,E,n,O,G,W,ue,ee,C,P,pe,Y,Pe,le,Ue,Ie,ce,X,he,ae,Ve,He]}class V2 extends Rt{constructor(e){super(),At(this,e,D2,R2,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function bd(i,e,t){const n=i.slice();return n[34]=e[t],n}function vd(i){let e,t,n,l,r,s,o=i[0]&&wd(i),c=(i[10]||i[11])&&Id(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"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(g,h){A(g,e,h),o&&o.m(e,null),A(g,t,h),A(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=wd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Id(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function wd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?O2:M2}let g=c(i),h=g(i),_=i[7].name&&Sd(i),p=i[7].description&&kd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=yd(bd(i,b,y));let S=i[12]&&Pd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){A(y,e,C),h.m(e,null),A(y,t,C),A(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),A(y,r,C),A(y,s,C);for(let P=0;P<v.length;P+=1)v[P].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Sd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=kd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let P;for(P=0;P<b.length;P+=1){const I=bd(y,b,P);v[P]?v[P].p(I,C):(v[P]=yd(I),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=Pd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&L(e),h.d(),y&&L(t),y&&L(n),_&&_.d(),p&&p.d(),y&&L(r),y&&L(s),ct(v,y),S&&S.d()}}}function M2(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--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&L(e)}}}function O2(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function Sd(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-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&L(e)}}}function kd(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-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&L(e)}}}function Cd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?U2:F2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function F2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&oi(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&&L(e)}}}function U2(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-x3xwcc")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&L(e)}}}function yd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Cd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,v){A(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Cd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),_&&_.d(),g=!1,Ze(h)}}}function Pd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Nd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){A(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Nd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r)},d(h){h&&L(e),g&&g.d(),o=!1,Ze(c)}}}function Nd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?H2:B2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function B2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function H2(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-x3xwcc")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Id(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Td(i),l=i[10]&&!i[8]&&Ld(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),A(r,e,s),l&&l.m(r,s),A(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Td(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ld(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Td(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,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,g){A(c,e,g),w(e,t),w(t,l),s||(o=se(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),s=!1,o()}}}function Ld(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),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(s,o){A(s,e,o),A(s,t,o),A(s,n,o),l||(r=[se(e,"click",i[15]),se(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&L(e),s&&L(t),s&&L(n),l=!1,Ze(r)}}}function W2(i){let e,t=!i[1]&&vd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),U(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function E(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function R(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function U(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(le)){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(le))},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function H(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){$r.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===fa)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ie}=e;const W=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>H(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,H,G,x,pe,o,c,g,h,_,p,n,y,I,E,T,R,O,U,F,$,W,ue,ee]}class q2 extends Rt{constructor(e){super(),At(this,e,z2,W2,Tt,{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 Ad(i,e,t){const n=i.slice();return n[34]=e[t],n}function Rd(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Vd(Ad(i,o,_));let g=i[12]&&Md(i),h=(i[10]||i[11])&&Fd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){A(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ad(_,o,b);c[b]?c[b].p(v,p):(c[b]=Vd(v),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Md(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Fd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&L(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Ed(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-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){A(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Te(l,n)},d(r){r&&L(e)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?K2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function G2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function K2(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Dd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=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,v){A(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Dd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),_&&_.d(),g=!1,Ze(h)}}}function Md(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Od(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=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(_,p){A(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&L(e),h&&h.d(),c=!1,Ze(g)}}}function Od(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?J2:j2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function j2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function J2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ud(i),l=i[10]&&!i[8]&&Hd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),A(r,e,s),l&&l.m(r,s),A(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ud(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Hd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Ud(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Bd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){A(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=se(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&L(e),h&&h.d(),c=!1,g()}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Q2:Y2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function Y2(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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){A(l,e,r)},p(l,r){r[0]&512&&!lt(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&&L(e)}}}function Q2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&L(e)}}}function Hd(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){A(l,e,r),t||(n=se(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function Z2(i){let e,t=!i[1]&&Rd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Rd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function X2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),U(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function E(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function R(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function U(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(le));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function H(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){$r.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===fa)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ie}=e;const W=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>H(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,H,G,x,pe,o,c,g,h,_,p,n,y,I,E,T,R,O,U,F,$,W,ue,ee]}class b_ extends Rt{constructor(e){super(),At(this,e,X2,Z2,Tt,{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 Wd(i,e,t){const n=i.slice();return n[12]=e[t],n}function zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kd(Wd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=Wd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Kd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function qd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,S,y,C,P;function I(U,F){return F&10&&(n=null),n==null&&(n=!!U[3](U[12])),n?x2:$2}let E=I(i,-1),T=E(i);r=new ti({props:{node:i[12]}});let R=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=Ne(g),_=K(),R&&R.c(),b=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(U,F){A(U,e,F),w(e,t),T.m(t,null),w(t,l),We(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),R&&R.m(o,null),w(e,b),y=!0,C||(P=se(e,"click",O),C=!0)},p(U,F){i=U,E===(E=I(i,F))&&T?T.p(i,F):(T.d(1),T=E(i),T&&(T.c(),T.m(t,l)));const H={};F&2&&(H.node=i[12]),r.$set(H),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Te(h,g),F&34&&(p=i[5](i[12])),p?R?R.p(i,F):(R=Gd(i),R.c(),R.m(o,null)):R&&(R.d(1),R=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(U){y||(M(r.$$.fragment,U),y=!0)},o(U){q(r.$$.fragment,U),y=!1},d(U){U&&L(e),T.d(),ze(r),R&&R.d(),C=!1,P()}}}function $2(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){A(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function x2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){A(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&L(e)}}}function Gd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Kd(i){let e,t,n=i[12].label&&qd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ek(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E=i[1]&&zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ne(i[0]),c=K(),g=k("div"),h=k("div"),_=k("ul"),E&&E.c(),p=K(),b=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"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(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),E&&E.m(_,null),w(t,p),w(t,b),w(b,v),w(v,S),w(S,y),C=!0,P||(I=[se(y,"click",i[9]),se(e,"click",Ut(tk))],P=!0)},p(T,[R]){(!C||R&1)&&Te(o,T[0]),T[1]?E?(E.p(T,R),R&2&&M(E,1)):(E=zd(T),E.c(),M(E,1),E.m(_,null)):E&&(Ce(),q(E,1,1,()=>{E=null}),ye())},i(T){C||(M(E),C=!0)},o(T){q(E),C=!1},d(T){T&&L(e),E&&E.d(),P=!1,Ze(I)}}}const tk=()=>{};function nk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ke.renderIconClassName(S)}function p(S){n("listClick",S)}function b(S){Al.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,b,v]}class v_ extends Rt{constructor(e){super(),At(this,e,nk,ek,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:ik}=Fi;function jd(i,e,t){const n=i.slice();return n[6]=e[t],n}function Jd(i){let e,t,n,l=i[0]&&Yd(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,s){A(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&M(l,1)):(l=Yd(r),l.c(),M(l,1),l.m(t,null)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Yd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=jd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Zd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function Qd(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(T,R){return R&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?rk:lk}let P=C(i,-1),I=P(i);s=new ti({props:{node:i[6]}});function E(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=Ne(g),p=K(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=i[12](i[6]))},m(T,R){A(T,e,R),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[se(t,"click",i[14]),se(e,"click",E)],S=!0)},p(T,R){i=T,P===(P=C(i,R))&&I?I.p(i,R):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};R&1&&(O.node=i[6]),s.$set(O),(!v||R&1)&&g!==(g=i[11](i[6])+"")&&Te(h,g),(!v||R&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||R&1&&b!==(b=i[12](i[6])))&&f(e,"data-testid",b)},i(T){v||(M(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&L(e),I.d(),ze(s),S=!1,Ze(y)}}}function lk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function rk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Zd(i){let e,t,n=i[6].label&&Qd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Xd(i){let e,t;return e=new v_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function sk(i){let e,t,n,l,r,s=!i[1]&&Jd(i),o=i[1]&&Xd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(r=se(ik,"resize",sa),l=!0)},p(c,[g]){c[1]?s&&(Ce(),q(s,1,1,()=>{s=null}),ye()):s?(s.p(c,g),g&2&&M(s,1)):(s=Jd(c),s.c(),M(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&M(o,1)):(o=Xd(c),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(Ce(),q(o,1,1,()=>{o=null}),ye())},i(c){n||(M(s),M(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function sa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{sa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(O){c().then(()=>{if(O.openNodeInModal){const U=me.buildRoute(O,`/${O.pathSegment}`);g(U,O.openNodeInModal===!0?{}:O.openNodeInModal)}else et.handleRouteClick(O,p())},()=>{}),S()}function v(O){b(O.detail)}function S(){n("close")}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return ke.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:ke.prepareForTests(O.pathSegment,O.label)}function E(O){return me.getNodeHref(O,o)}const T=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},R=O=>b(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(6,s=O.node)},[r,l,b,v,S,sa,s,h,_,y,C,P,I,E,T,R]}class w_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return sa}}const _n={_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?ne.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=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.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=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._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=ne.normalizePath(i),t=ne.normalizePath(t),!!_n.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=_n.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 _n.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=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ih(eh(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-qht2wo")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function nh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",Mt(gk)),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(h)}}}function ih(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&nh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=nh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function lh(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>
55
55
  <div class="fd-busy-indicator__circle"></div>
56
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function rh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=sh(xd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=sh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function ok(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function uk(i){let e,t,n,l,r;function s(h,_){return h[2]?ck:fk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=K(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){A(h,e,_),c.m(e,null),A(h,n,_),l||(r=se(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&L(e),c.d(),h&&L(n),l=!1,r()}}}function fk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){A(h,e,_),w(e,t),w(t,l),c||(g=se(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Te(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&L(e),c=!1,g()}}}function ck(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function dk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dk,then:uk,catch:ok,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),n.block.c()},m(l,r){A(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[21].label,i[1].fallbackLabelResolver,i[21].id))&&na(t,n)||i_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function ah(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=uh($d(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-qht2wo")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=uh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function oh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",i[18]),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(h)}}}function uh(i){let e,t=i[21].position==="bottom"&&oh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=oh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function hk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&th(i),c=i[3]&&i[3].length===0&&i[11]&&lh(),g=i[3]&&i[3].length&&rh(i),h=i[0]&&i[0].length&&ah(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),c&&c.c(),l=K(),g&&g.c(),r=K(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){A(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=th(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=lh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=rh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ah(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const gk=()=>{};function _k(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(y,H=>t(14,n=H)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const P=Ht();function I(H){P("onActionClick",{node:H})}function E(H,G){P("goToOption",{option:H,selectedOption:G})}const T=H=>I(H),R=H=>{ke.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>E(H,_),U=H=>{ke.handleNavAnchorClickedWithoutMetaKey(H)},F=H=>I(H);return i.$$set=H=>{"actions"in H&&t(0,s=H.actions),"config"in H&&t(1,o=H.config),"customOptionsRenderer"in H&&t(2,c=H.customOptionsRenderer),"options"in H&&t(3,g=H.options),"selectedLabel"in H&&t(4,h=H.selectedLabel),"selectedOption"in H&&t(5,_=H.selectedOption),"isMobile"in H&&t(6,p=H.isMobile),"getNodeName"in H&&t(7,b=H.getNodeName),"getRouteLink"in H&&t(8,v=H.getRouteLink),"getTestId"in H&&t(9,S=H.getTestId),"getTranslation"in H&&r(t(10,y=H.getTranslation)),"isContextSwitcherDropdownShown"in H&&t(11,C=H.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,b,v,S,y,C,I,E,n,T,R,O,U,F]}class S_ extends Rt{constructor(e){super(),At(this,e,_k,hk,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function fh(i){let e,t,n,l=!i[9]&&ch(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[9]?l&&(Ce(),q(l,1,1,()=>{l=null}),ye()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=ch(s),l.c(),M(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&M(r,1)):(r=dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function ch(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),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-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){A(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),We(s,r,null),c=!0,g||(h=se(n,"click",Ut(Ik)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(M(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&L(e),b.d(),ze(s),g=!1,h()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?vk:bk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),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(h,_){A(h,e,_),g.m(e,null),r||(s=se(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&L(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ck:kk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),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(h,_){A(h,e,_),g.m(e,null),r||(s=se(e,"click",Mt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&L(e),g.d(),r=!1,s()}}}function bk(i){let e,t;function n(s,o){return s[4]?wk:Sk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),A(s,e,o),A(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&L(e),s&&L(t)}}}function vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function kk(i){let e,t;function n(s,o){return s[4]?yk:Pk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),A(s,e,o),A(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&L(e),s&&L(t)}}}function Ck(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function dh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I=!i[4]&&hh(i),E=i[4]&&gh(i);return h=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),E&&E.c(),c=K(),g=k("div"),qe(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"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(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),E&&E.m(s,null),w(t,c),w(t,g),We(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(P=[se(S,"click",i[12]),se(e,"click",Ut(Tk))],C=!0)},p(T,R){T[4]?I&&(I.d(1),I=null):I?I.p(T,R):(I=hh(T),I.c(),I.m(s,o)),T[4]?E?E.p(T,R):(E=gh(T),E.c(),E.m(s,null)):E&&(E.d(1),E=null);const O={};R[0]&1&&(O.actions=T[0]),R[0]&32&&(O.config=T[5]),R[0]&64&&(O.customOptionsRenderer=T[6]),R[0]&2&&(O.options=T[1]),R[0]&16&&(O.selectedLabel=T[4]),R[0]&4&&(O.selectedOption=T[2]),R[0]&512&&(O.isMobile=T[9]),R[0]&16384&&(O.isContextSwitcherDropdownShown=T[14]),h.$set(O)},i(T){y||(M(h.$$.fragment,T),y=!0)},o(T){q(h.$$.fragment,T),y=!1},d(T){T&&L(e),I&&I.d(),E&&E.d(),ze(h),C=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Nk(i){let e,t,n=i[3]&&fh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=fh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:E}=e,T,R=ht("getUnsavedChangesModalPromise"),O=ht("store"),U=ht("getTranslation");ki(i,U,ce=>t(16,l=ce));let F=!1,H,G,x;Jt(async()=>{on.doOnStoreChange(O,async()=>{const ce=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=le.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=le.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const X=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),_n.resetFallbackLabelCache(),ce.lazyloadOptions||await W(),_n.isContextSwitcherDetailsView(X,ce.parentNodePath)&&await ue(X)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>ue(ce)),An.addEventListener("message",ce=>{!Le.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),W())}),t(23,E=g.defaultLabel)}),zn(()=>{F!==I&&(F=I,W()),t(14,x=o.contextSwitcherPopover||!1)});function $(ce,X,he){return ce?Promise.resolve(ce):_n.getFallbackLabel(X,he)}function pe(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function ne(ce){return me.getNodeHref(ce,S)}async function W(){t(1,_=await _n.fetchOptions(_));const ce=g||{},X=ce.parentNodePath,he=ce.fallbackLabelResolver,ae=et.getCurrentPath();t(2,b=await _n.getSelectedOption(ae,_,X)),t(4,c=await _n.getSelectedLabel(ae,_,X,he)),t(13,H=await _n.getSelectedNode(ae,_,X)),T=ce.preserveSubPathOnSwitch}async function ue(ce){const X=g||{},he=X.parentNodePath,ae=X.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(ce,_,he)),t(4,c=await _n.getSelectedLabel(ce,_,he,ae)),t(13,H=await _n.getSelectedNode(ce,_,he))}async function ee(ce){let X=ce.detail.node;X.clickHandler&&!await X.clickHandler(X)||(setTimeout(()=>{Y(X.link)}),P&&r("toggleDropdownState"))}function Y(ce){R().then(()=>{et.navigateTo(ce)},()=>{})}function Pe(ce){let X=ce.detail.option,he=ce.detail.selectedOption;R().then(()=>{T&&he?et.navigateTo(_n.getNodePathFromCurrentPath(X,he)):et.navigateTo(X.link),P&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&W()}const Ue=()=>{n&&ie()},Ie=()=>{n&&ie()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,P=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,E=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,c,g,y,C,o,P,ee,Pe,ie,H,x,n,l,U,G,$,pe,ne,v,E,S,I,W,ue,Y,p,Ue,Ie]}class k_ extends Rt{constructor(e){super(),At(this,e,Lk,Nk,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Ak}=Fi;function _h(i,e,t){const n=i.slice();return n[22]=e[t],n}function ph(i){let e,t,n,l=!i[2]&&mh(i),r=i[2]&&i[3].productSwitcherPopover&&kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=mh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=kh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function mh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C;function P(O,U){return U&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let I=P(i,-1),E=I(i),T=i[0],R=[];for(let O=0;O<T.length;O+=1)R[O]=Sh(_h(i,T,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),E.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<R.length;O+=1)R[O].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",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",v=ei(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"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(O,U){A(O,e,U),w(e,t),w(t,n),w(n,l),w(l,r),E.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<R.length;F+=1)R[F].m(b,null);y||(C=[se(r,"click",Ut(i[7])),se(l,"click",Ut(Hk))],y=!0)},p(O,U){if(I===(I=P(O,U))&&E?E.p(O,U):(E.d(1),E=I(O),E&&(E.c(),E.m(r,null))),U&8&&o!==(o=O[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),U&2&&c!==(c=O[1].label)&&f(r,"title",c),U&2&&g!==(g=O[14](O[1]))&&f(r,"data-testid",g),U&64561){T=O[0];let F;for(F=0;F<T.length;F+=1){const H=_h(O,T,F);R[F]?R[F].p(H,U):(R[F]=Sh(H),R[F].c(),R[F].m(b,null))}for(;F<R.length;F+=1)R[F].d(1);R.length=T.length}U&512&&v!==(v=ei(O[9])+" svelte-1e1qi56")&&f(p,"class",v),U&8&&S!==(S=!O[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(O){O&&L(e),E.d(),ct(R,O),y=!1,Ze(C)}}}function Rk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!lt(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&&L(e)}}}function Ek(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function bh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Vk:Dk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){A(_,e,p),g.m(e,null),w(e,t),r||(s=se(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&L(e),g.d(),r=!1,s()}}}function Dk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Ok:Mk}let _=h(i,-1),p=_(i),b=g&&vh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),c=K(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){A(v,e,S),p.m(e,null),A(v,n,S),A(v,l,S),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Te(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&L(e),p.d(),v&&L(n),v&&L(l),b&&b.d()}}}function Vk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,b;function v(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let S=v(i,-1),y=S(i),C=h&&wh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),c=Ne(o),g=K(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(b=se(e,"click",i[16]),p=!0)},p(P,I){S===(S=v(P,I))&&y?y.p(P,I):(y.d(1),y=S(P),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Te(c,o),I&1&&(h=P[13](P[22])),h?C?C.p(P,I):(C=wh(P),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&L(e),y.d(),C&&C.d(),p=!1,b()}}}function Mk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function Ok(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-1e1qi56")},m(n,l){A(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-1e1qi56")&&f(e,"class",t)},d(n){n&&L(e)}}}function vh(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Fk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function Uk(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-1e1qi56")},m(n,l){A(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-1e1qi56")&&f(e,"class",t)},d(n){n&&L(e)}}}function wh(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Sh(i){let e,t=i[22].label&&bh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=bh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function kh(i){let e,t;return e=new v_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){We(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||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&ph(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),A(o,t,c),n=!0,l||(r=se(Ak,"resize",aa),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&M(s,1)):(s=ph(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(Ce(),q(s,1,1,()=>{s=null}),ye())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&L(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Hk=()=>{};function Wk(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{on.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),I()),aa()},["navigation.productSwitcher"])});function p(U){g().then(()=>{et.navigateToLink(U)},()=>{}),v()}function b(U){p(U.detail)}function v(){n("toggleDropdownState")}function S(U){return ke.renderIconClassName(U)}function y(U){return ke.isOpenUIiconName(U.icon)}function C(U){return pt.getTranslation(U.label)}function P(U){return pt.getTranslation(U.subTitle)}function I(){ke.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function E(U){return U.testId?U.testId:ke.prepareForTests(U.label)}function T(U){return me.getNodeHref(U)}const R=U=>{ke.handleNavAnchorClickedWithoutMetaKey(U)},O=U=>p(U);return i.$$set=U=>{"productSwitcherItems"in U&&t(0,l=U.productSwitcherItems),"isMobile"in U&&t(2,r=U.isMobile),"config"in U&&t(1,s=U.config),"dropDownStates"in U&&t(3,o=U.dropDownStates),"addNavHrefForAnchor"in U&&t(4,_=U.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,aa,h,S,y,C,P,E,T,R,O]}class C_ extends Rt{constructor(e){super(),At(this,e,Wk,Bk,Tt,{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 aa}}function Ch(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function zk(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 svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){A(l,e,r),i[19](e),e.focus(),t||(n=se(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&L(e),i[19](null),t=!1,n()}}}function qk(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 svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){A(t,e,n),e.focus()},p:Fe,d(t){t&&L(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[23](e)},p:Fe,d(t){t&&L(e),i[23](null)}}}function Kk(i){let e,t,n,l=i[5]&&yh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){A(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=yh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function yh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ph(Ch(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){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ch(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ph(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[22](null)}}}function jk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function Jk(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Te(g,c)},d(p){p&&L(e),h=!1,_()}}}function Ph(i){let e,t,n,l;function r(h,_){return h[9]?jk:Jk}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){A(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",c),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&L(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(R,O){return R[7]&&R[7].disableInputHandlers?qk:zk}let C=y(i),P=C(i);function I(R,O){return R[8]?Gk:Kk}let E=I(i),T=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),T.c(),c=K(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(R,O){A(R,e,O),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),T.m(n,null),A(R,c,O),A(R,g,O),w(g,h),w(h,_),w(_,p),v||(S=[se(window,"click",i[11]),se(window,"blur",i[11]),se(n,"click",Ut(Zk)),se(_,"click",i[6]),se(h,"click",Ut(Xk))],v=!0)},p(R,O){C===(C=y(R))&&P?P.p(R,O):(P.d(1),P=C(R),P&&(P.c(),P.m(l,null))),E===(E=I(R))&&T?T.p(R,O):(T.d(1),T=E(R),T&&(T.c(),T.m(n,null))),O[0]&16&&s!==(s=!R[4])&&f(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(R[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),O[0]&16&&b!==(b=!R[4])&&f(_,"aria-expanded",b)},i:Fe,o:Fe,d(R){R&&L(e),P.d(),T.d(),R&&L(c),R&&L(g),v=!1,Ze(S)}}}const Qk=()=>{},Zk=()=>{},Xk=()=>{};function $k(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ee=>{b.searchProvider.onSearchResultItemSelected(ee)}};let b={},v,S;Jt(async()=>{t(7,b=h);let ee=o;const Y=C(b.searchProvider);Y&&(ee.placeholder=Y),y()}),zn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=le.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=le.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C(ee){if(!ee||!ee.inputPlaceholder)return;const Y=pt.getCurrentLocale();if(le.isFunction(ee.inputPlaceholder))return ee.inputPlaceholder();if(typeof ee.inputPlaceholder=="string"){const Pe=pt.getTranslation(ee.inputPlaceholder);return!!Pe&&Pe.trim().length>0?Pe:ee.inputPlaceholder}if(typeof ee.inputPlaceholder=="object")return ee.inputPlaceholder[Y]}function P(ee,Y,Pe){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ee,Y.children[Pe],p)}),""}function I(){_("closeSearchResult")}function E({keyCode:ee}){b&&b.searchProvider?le.isFunction(b.searchProvider.onEnter)&&ee===Si?b.searchProvider.onEnter():le.isFunction(b.searchProvider.onEscape)&&ee===wi?b.searchProvider.onEscape():ee===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ee){let Y=g.children;if(Y)for(let Pe=0;Pe<Y.length;Pe++){let{childNodes:ie,nextSibling:Ue,previousSibling:Ie}=Y[Pe],ce;if(ie[0].getAttribute("aria-selected")==="true"){ee===Oi&&(ce=Ue!==null?Ue:Y[0]),ee===El&&(ce=Ie!==null?Ie:Y[Y.length-1]),ie[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function R(){let ee=g.children;if(ee)for(let Y=0;Y<ee.length;Y++){let Pe=ee[Y];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function O(ee){b&&le.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ee):le.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function U(ee,{keyCode:Y}){Y===Si&&b.searchProvider.onSearchResultItemSelected(ee),Y===El||Y===Oi?T(Y):le.isFunction(b.searchProvider.onEscape)&&Y===wi&&(R(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(ee){let Y=ee.pathObject;Y.externalLink?et.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function H(){o&&o.focus()}function G(){if(n?t(0,r=!1):setTimeout(()=>{H()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&le.isFunction(b.searchProvider.toggleSearch)){const ee=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ee)}}const x=ee=>E(ee);function $(ee){$e[ee?"unshift":"push"](()=>{o=ee,t(1,o)})}const pe=(ee,Y)=>O(ee),ne=(ee,Y)=>U(ee,Y);function W(ee){$e[ee?"unshift":"push"](()=>{g=ee,t(3,g)})}function ue(ee){$e[ee?"unshift":"push"](()=>{c=ee,t(2,c)})}return i.$$set=ee=>{"isSearchFieldVisible"in ee&&t(4,n=ee.isSearchFieldVisible),"searchResult"in ee&&t(5,l=ee.searchResult),"displaySearchResult"in ee&&t(0,r=ee.displaySearchResult),"displayCustomSearchResult"in ee&&t(15,s=ee.displayCustomSearchResult),"inputElem"in ee&&t(1,o=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(2,c=ee.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ee&&t(3,g=ee.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ee&&t(16,h=ee.globalSearchConfig)},[r,o,c,g,n,l,G,b,v,S,P,I,E,O,U,s,h,F,x,$,pe,ne,W,ue]}class xk extends Rt{constructor(e){super(),At(this,e,$k,Yk,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Nh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function eC(i){let e,t,n,l,r,s,o,c=i[11]&&Ih(i);return{c(){e=k("input"),t=K(),n=k("span"),c&&c.c(),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){A(g,e,h),i[26](e),A(g,t,h),A(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[se(e,"keyup",i[25]),se(e,"input",i[27]),se(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Ih(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&L(e),i[26](null),g&&L(t),g&&L(n),c&&c.d(),s=!1,Ze(o)}}}function tC(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 svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(e)}}}function Ih(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){A(l,e,r),t||(n=se(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[31](e)},p:Fe,d(t){t&&L(e),i[31](null)}}}function iC(i){let e,t,n,l=i[4]&&Th(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-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){A(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function Th(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(Nh(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){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[30](null)}}}function lC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function rC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=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){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Te(g,c)},d(p){p&&L(e),h=!1,_()}}}function Lh(i){let e,t,n,l;function r(h,_){return h[10]?lC:rC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){A(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",c),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&L(e),o.d(),n=!1,Ze(l)}}}function Ah(i){let e,t,n,l,r,s,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-1yci3dk")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[se(n,"click",i[6]),se(t,"click",Ut(uC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),s=!1,Ze(o)}}}function Rh(i){let e,t,n=i[12](i[7])+"",l,r,s,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-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){A(g,e,h),w(e,t),w(t,l),o||(c=se(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Te(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&L(e),o=!1,c()}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(T,R){return T[8]&&T[8].disableInputHandlers?tC:eC}let v=b(i),S=v(i);function y(T,R){return T[9]?nC:iC}let C=y(i),P=C(i),I=!i[5]&&Ah(i),E=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),P.c(),c=K(),I&&I.c(),g=K(),E&&E.c(),h=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),P.m(n,null),A(T,c,R),I&&I.m(T,R),A(T,g,R),E&&E.m(T,R),A(T,h,R),_||(p=[se(window,"click",i[15]),se(window,"blur",i[15]),se(n,"click",Ut(oC))],_=!0)},p(T,R){v===(v=b(T))&&S?S.p(T,R):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&P?P.p(T,R):(P.d(1),P=C(T),P&&(P.c(),P.m(n,null))),R[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),R[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,R):(I=Ah(T),I.c(),I.m(g.parentNode,g)),T[5]?E?E.p(T,R):(E=Rh(T),E.c(),E.m(h.parentNode,h)):E&&(E.d(1),E=null)},i:Fe,o:Fe,d(T){T&&L(e),S.d(),P.d(),T&&L(c),I&&I.d(T),T&&L(g),E&&E.d(T),T&&L(h),_=!1,Ze(p)}}}const aC=()=>{},oC=()=>{},uC=()=>{};function fC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ae=>{S.searchProvider.onSearchResultItemSelected(ae)}};let b=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,P=!1,I=ht("getTranslation");ki(i,I,ae=>t(12,n=ae)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let ae=o;const Ve=T(S.searchProvider);Ve&&(ae.placeholder=Ve),E(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ge=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),zn(()=>{t(8,S=h),E(),H()});function E(){t(9,y=S.searchProvider&&le.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&le.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(ae){if(!ae||!ae.inputPlaceholder)return;const Ve=pt.getCurrentLocale();if(le.isFunction(ae.inputPlaceholder))return ae.inputPlaceholder();if(typeof ae.inputPlaceholder=="string"){const He=pt.getTranslation(ae.inputPlaceholder);return!!He&&He.trim().length>0?He:ae.inputPlaceholder}if(typeof ae.inputPlaceholder=="object")return ae.inputPlaceholder[Ve]}function R(ae,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ae,Ve.children[He],p)}),""}function O(){_("closeSearchResult")}function U({keyCode:ae}){S?le.isFunction(S.searchProvider.onEnter)&&ae===Si?S.searchProvider.onEnter():le.isFunction(S.searchProvider.onEscape)&&ae===wi?S.searchProvider.onEscape():ae===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&le.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function H(){o&&o.value?t(11,P=!0):t(11,P=!1)}function G(){t(1,o.value="",o),O(),t(11,P=!1)}function x(ae){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:Ge,previousSibling:St}=Ve[He],Wt;if(be[0].getAttribute("aria-selected")==="true"){ae===Oi&&(Wt=Ge!==null?Ge:Ve[0]),ae===El&&(Wt=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Wt.childNodes[0].setAttribute("aria-selected","true"),Wt.focus();break}}}function $(){let ae=g.children;if(ae)for(let Ve=0;Ve<ae.length;Ve++){let He=ae[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(ae){S&&le.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ae):le.isFunction(S.searchProvider.onEscape)&&event.keyCode===wi&&S.searchProvider.onEscape()}function ne(ae,{keyCode:Ve}){Ve===Si&&S.searchProvider.onSearchResultItemSelected(ae),Ve===El||Ve===Oi?x(Ve):le.isFunction(S.searchProvider.onEscape)&&Ve===wi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function W(ae){let Ve=ae.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function ue(){o&&o.focus()}function ee(){if(v?t(0,r=!1):setTimeout(()=>{ue()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),le.isFunction(S.searchProvider.toggleSearch)){const ae=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ae)}}const Y=ae=>U(ae);function Pe(ae){$e[ae?"unshift":"push"](()=>{o=ae,t(1,o)})}const ie=()=>H(),Ue=(ae,Ve)=>pe(ae),Ie=(ae,Ve)=>ne(ae,Ve);function ce(ae){$e[ae?"unshift":"push"](()=>{g=ae,t(3,g)})}function X(ae){$e[ae?"unshift":"push"](()=>{c=ae,t(2,c)})}const he=()=>ee();return i.$$set=ae=>{"searchResult"in ae&&t(4,l=ae.searchResult),"displaySearchResult"in ae&&t(0,r=ae.displaySearchResult),"displayCustomSearchResult"in ae&&t(22,s=ae.displayCustomSearchResult),"inputElem"in ae&&t(1,o=ae.inputElem),"luigiCustomSearchRenderer__slot"in ae&&t(2,c=ae.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ae&&t(3,g=ae.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ae&&t(23,h=ae.globalSearchConfig),"isSearchFieldVisible"in ae&&t(5,v=ae.isSearchFieldVisible)},[r,o,c,g,l,v,ee,b,S,y,C,P,n,I,R,O,U,F,H,G,pe,ne,s,h,W,Y,Pe,ie,Ue,Ie,ce,X,he]}class cC extends Rt{constructor(e){super(),At(this,e,fC,sC,Tt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?hC:dC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),lt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function hC(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){A(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&&L(e)}}}function Dh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Ui({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(t),l=K(),qe(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),We(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&L(e),ze(r)}}}function gC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&M(r,1)):(r=Dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function _C(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Eo extends Rt{constructor(e){super(),At(this,e,_C,gC,Tt,{node:0})}}const{Boolean:y_,window:Vh}=Fi;function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Oh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function pC(i){let e,t;return e=new b_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function mC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Fh(i);function S(R){i[59](R)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new V2({props:y}),$e.push(()=>vt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),I=(i[18]||i[7]&&i[30].length>0)&&Wh(i),E=(i[0]||i[16])&&ig(i),T=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),qe(l.$$.fragment),s=K(),C&&C.c(),o=K(),c=k("div"),P&&P.c(),g=K(),I&&I.c(),h=K(),E&&E.c(),_=K(),T&&T.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[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(R,O){A(R,e,O),w(e,t),v&&v.m(t,null),w(t,n),We(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),E&&E.m(c,null),w(c,_),T&&T.m(c,null),b=!0},p(R,O){R[3]==="simple"||R[3]==="simpleMobileOnly"||R[3]==="Fiori3"?v?v.p(R,O):(v=Fh(R),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const U={};O[0]&1073741824&&(U.pathData=R[30]),O[1]&1&&(U.pathParams=R[31]),O[0]&268435456&&(U.addNavHrefForAnchor=R[28]),!r&&O[0]&64&&(r=!0,U.dropDownStates=R[6],bt(()=>r=!1)),l.$set(U),R[18]&&R[19]?C?(C.p(R,O),O[0]&786432&&M(C,1)):(C=Uh(R),C.c(),M(C,1),C.m(e,o)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),!R[0]||R[1]?P?(P.p(R,O),O[0]&3&&M(P,1)):(P=Bh(R),P.c(),M(P,1),P.m(c,g)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),R[18]||R[7]&&R[30].length>0?I?(I.p(R,O),O[0]&1074004096&&M(I,1)):(I=Wh(R),I.c(),M(I,1),I.m(c,h)):I&&(Ce(),q(I,1,1,()=>{I=null}),ye()),R[0]||R[16]?E?(E.p(R,O),O[0]&65537&&M(E,1)):(E=ig(R),E.c(),M(E,1),E.m(c,_)):E&&(Ce(),q(E,1,1,()=>{E=null}),ye()),R[12]?T?(T.p(R,O),O[0]&4096&&M(T,1)):(T=lg(R),T.c(),M(T,1),T.m(c,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(R[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(R[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(R){b||(M(l.$$.fragment,R),M(C),M(P),M(I),M(E),M(T),b=!0)},o(R){q(l.$$.fragment,R),q(C),q(P),q(I),q(E),q(T),b=!1},d(R){R&&L(e),v&&v.d(),ze(l),C&&C.d(),P&&P.d(),I&&I.d(),E&&E.d(),T&&T.d()}}}function Fh(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-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){A(r,e,s),w(e,t),n||(l=se(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&L(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function b(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new cC({props:y}),$e.push(()=>vt(t,"isSearchFieldVisible",h)),$e.push(()=>vt(t,"searchResult",_)),$e.push(()=>vt(t,"displaySearchResult",p)),$e.push(()=>vt(t,"displayCustomSearchResult",b)),$e.push(()=>vt(t,"inputElem",v)),$e.push(()=>vt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,P){A(C,e,P),We(t,e,null),g=!0},p(C,P){const I={};P[0]&262144&&(I.globalSearchConfig=C[18]),!n&&P[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,I.searchResult=C[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,I.displaySearchResult=C[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,I.inputElem=C[21],bt(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],bt(()=>c=!1)),t.$set(I)},i(C){g||(M(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&L(e),ze(t)}}}function Bh(i){let e,t,n,l,r=i[18]&&!i[19]&&Hh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new k_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),A(c,e,g),We(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&M(r,1)):(r=Hh(c),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],bt(()=>n=!1)),t.$set(h)},i(c){l||(M(r),M(t.$$.fragment,c),l=!0)},o(c){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),ze(t,c)}}}function Hh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function b(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"searchResult",h)),$e.push(()=>vt(e,"displaySearchResult",_)),$e.push(()=>vt(e,"displayCustomSearchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),c=!0},p(y,C){const P={};C[0]&262144&&(P.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,P.isSearchFieldVisible=y[20],bt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,P.searchResult=y[25],bt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,P.displaySearchResult=y[23],bt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,P.displayCustomSearchResult=y[24],bt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,P.inputElem=y[21],bt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=y[22],bt(()=>o=!1)),e.$set(P)},i(y){c||(M(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){ze(e,y)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&jh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&M(l,1)):(l=zh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&M(r,1)):(r=jh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kh(Oh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Oh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Kh(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function qh(i){let e,t,n,l;const r=[vC,bC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),A(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&L(n)}}}function bC(i){let e,t,n,l,r;const s=[SC,wC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=K(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){A(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(e,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){g&&L(e),o[t].d()}}}function vC(i){let e=i[111].visibleChildren.filter(rg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),A(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(rg).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=Gh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function wC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Eo({props:b}),$e.push(()=>vt(t,"node",p)),r=new ti({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){A(S,e,y),We(t,e,null),w(e,l),We(r,e,null),g=!0,h||(_=se(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],bt(()=>n=!1)),t.$set(C);const P={};y[0]&128&&(P.node=i[111]),r.$set(P),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(M(t.$$.fragment,S),M(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&L(e),ze(t),ze(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Eo({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){A(y,e,C),We(t,e,null),w(e,l),We(r,e,null),h=!0,_||(p=se(e,"click",S),_=!0)},p(y,C){i=y;const P={};!n&&C[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(M(t.$$.fragment,y),M(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&L(e),ze(t),ze(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(U){i[80](U,i[111],i[114],i[113])}let R={};i[111]!==void 0&&(R.node=i[111]),r=new Eo({props:R}),$e.push(()=>vt(r,"node",T)),c=new ti({props:{node:i[111]}});function O(){return i[81](i[113])}return S=new w_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=K(),qe(c.$$.fragment),b=K(),v=k("div"),qe(S.$$.fragment),C=K(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,l),We(r,l,null),w(l,o),We(c,l,null),w(t,b),w(t,v),We(S,v,null),w(e,C),P=!0,I||(E=[se(l,"click",O),se(n,"click",Ut(OC))],I=!0)},p(U,F){i=U;const H={};!s&&F[0]&128&&(s=!0,H.node=i[111],bt(()=>s=!1)),r.$set(H);const G={};F[0]&128&&(G.node=i[111]),c.$set(G),(!P||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!P||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!P||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!P||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const x={};F[0]&128&&(x.node=i[111]),F[1]&1&&(x.pathParams=i[31]),F[0]&268435456&&(x.addNavHrefForAnchor=i[28]),S.$set(x),(!P||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(U){P||(M(r.$$.fragment,U),M(c.$$.fragment,U),M(S.$$.fragment,U),P=!0)},o(U){q(r.$$.fragment,U),q(c.$$.fragment,U),q(S.$$.fragment,U),P=!1},d(U){U&&L(e),ze(r),ze(c),ze(S),I=!1,Ze(E)}}}function Kh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&qh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=qh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function jh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E,T,R,O,U;g=new ti({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Jh(i),H=i[46]&&(!i[0]||i[1])&&Yh(i),G=i[7]&&Qh(i),x=i[12]&&xh(i),$=i[12]&&eg(i),pe=i[14]&&tg(i),ne=(!i[0]||i[1])&&ng(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=K(),qe(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),H&&H.c(),y=K(),G&&G.c(),C=K(),x&&x.c(),I=K(),$&&$.c(),E=K(),pe&&pe.c(),T=K(),ne&&ne.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"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(v,"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-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(W,ue){A(W,e,ue),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),We(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),H&&H.m(v,null),w(v,y),G&&G.m(v,null),w(v,C),x&&x.m(v,null),w(n,I),$&&$.m(n,null),w(n,E),pe&&pe.m(n,null),w(n,T),ne&&ne.m(n,null),R=!0,O||(U=[se(s,"click",i[86]),se(l,"click",Ut(FC))],O=!0)},p(W,ue){const ee={};ue[0]&2048&&(ee.node=W[11]),g.$set(ee),(!R||ue[0]&64&&h!==(h=W[6].overflowPopover||!1))&&f(s,"aria-expanded",h),W[18]&&!W[19]?F?F.p(W,ue):(F=Jh(W),F.c(),F.m(v,S)):F&&(F.d(1),F=null),W[46]&&(!W[0]||W[1])?H?H.p(W,ue):(H=Yh(W),H.c(),H.m(v,y)):H&&(H.d(1),H=null),W[7]?G?(G.p(W,ue),ue[0]&128&&M(G,1)):(G=Qh(W),G.c(),M(G,1),G.m(v,C)):G&&(Ce(),q(G,1,1,()=>{G=null}),ye()),W[12]?x?x.p(W,ue):(x=xh(W),x.c(),x.m(v,null)):x&&(x.d(1),x=null),(!R||ue[0]&64&&P!==(P=!W[6].overflowPopover))&&f(p,"aria-hidden",P),W[12]?$?($.p(W,ue),ue[0]&4096&&M($,1)):($=eg(W),$.c(),M($,1),$.m(n,E)):$&&(Ce(),q($,1,1,()=>{$=null}),ye()),W[14]?pe?(pe.p(W,ue),ue[0]&16384&&M(pe,1)):(pe=tg(W),pe.c(),M(pe,1),pe.m(n,T)):pe&&(Ce(),q(pe,1,1,()=>{pe=null}),ye()),!W[0]||W[1]?ne?(ne.p(W,ue),ue[0]&3&&M(ne,1)):(ne=ng(W),ne.c(),M(ne,1),ne.m(n,null)):ne&&(Ce(),q(ne,1,1,()=>{ne=null}),ye())},i(W){R||(M(g.$$.fragment,W),M(G),M($),M(pe),M(ne),R=!0)},o(W){q(g.$$.fragment,W),q(G),q($),q(pe),q(ne),R=!1},d(W){W&&L(e),ze(g),F&&F.d(),H&&H.d(),G&&G.d(),x&&x.d(),$&&$.d(),pe&&pe.d(),ne&&ne.d(),O=!1,Ze(U)}}}function Jh(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-1kyy3lw"></i>
57
- <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,s){A(r,e,s),w(e,t),n||(l=se(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&L(e),n=!1,l()}}}function Yh(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=K(),s=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-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){A(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=se(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Te(c,o)},d(_){_&&L(e),g=!1,h()}}}function Qh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=$h(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Mh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=$h(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function Zh(i){let e,t,n,l,r;const s=[CC,kC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(MC).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),A(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function kC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(T,R){return R[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?PC:yC}let P=C(i,[-1,-1,-1,-1]),I=P(i);s=new ti({props:{node:i[111]}});function E(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=Ne(g),b=K(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,R){A(T,e,R),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,c),w(c,h),w(e,b),v=!0,S||(y=se(t,"click",Mt(E)),S=!0)},p(T,R){i=T,P===(P=C(i,R))&&I?I.p(i,R):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};R[0]&128&&(O.node=i[111]),s.$set(O),(!v||R[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(h,g),(!v||R[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||R[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(M(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&L(e),I.d(),ze(s),S=!1,y()}}}function CC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,P,I=l&&Xh(i);s=new ti({props:{node:i[111]}});function E(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),qe(s.$$.fragment),c=K(),g=k("span"),_=Ne(h),S=K(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,R){A(T,e,R),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),We(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(P=se(t,"click",Mt(E)),C=!0)},p(T,R){i=T,R[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,R):(I=Xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};R[0]&128&&(O.node=i[111]),s.$set(O),(!y||R[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||R[0]&128)&&h!==(h=i[49](i[111])+"")&&Te(_,h),(!y||R[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||R[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!y||R[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(M(s.$$.fragment,T),y=!0)},o(T){q(s.$$.fragment,T),y=!1},d(T){T&&L(e),I&&I.d(),ze(s),C=!1,P()}}}function yC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xh(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function $h(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Zh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xh(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?IC:NC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),r=k("span"),o=Ne(s),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,v){A(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=se(t,"click",Ut(i[32])),c=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Te(o,s)},d(b){b&&L(e),p.d(),c=!1,g()}}}function NC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function IC(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-1kyy3lw")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&L(e)}}}function eg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function tg(i){let e,t;return e=new w_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){We(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||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function ng(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new k_({props:g}),$e.push(()=>vt(e,"dropDownStates",s)),$e.push(()=>vt(e,"selectedLabel",o)),$e.push(()=>vt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){We(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],bt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],bt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],bt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){ze(e,h)}}}function ig(i){let e,t,n,l,r;const s=[LC,TC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[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(g,h){A(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),M(l,1),l.m(e,null))},i(g){r||(M(l),r=!0)},o(g){q(l),r=!1},d(g){g&&L(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(I,E){return I[17].picture?RC:AC}let C=y(i),P=C(i);return _=new b_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),g=K(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=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(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,E){A(I,e,E),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,h),We(_,h,null),b=!0,v||(S=[se(r,"click",i[99]),se(n,"click",Ut(BC))],v=!0)},p(I,E){C===(C=y(I))&&P?P.p(I,E):(P.d(1),P=C(I),P&&(P.c(),P.m(r,null))),(!b||E[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!b||E[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||E[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};E[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!b||E[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){b||(M(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),ze(_),v=!1,Ze(S)}}}function LC(i){let e,t,n,l,r,s,o,c,g;function h(b,v){return b[17].picture?DC:EC}let _=h(i),p=_(i);return r=new q2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){A(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),We(r,l,null),o=!0,c||(g=se(t,"click",Ut(UC)),c=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&f(l,"aria-hidden",s)},i(b){o||(M(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),ze(r),c=!1,g()}}}function AC(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){A(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&&L(e)}}}function RC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),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){A(o,e,c),w(e,n),r||(s=se(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,s()}}}function DC(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-1kyy3lw"),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"),oi(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){A(r,e,s),n||(l=se(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function lg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function VC(i){let e,t,n,l,r,s;const o=[mC,pC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),A(h,n,_),l=!0,r||(s=[se(Vh,"click",i[41]),se(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),M(t,1),t.m(n.parentNode,n))},i(h){l||(M(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&L(n),r=!1,Ze(s)}}}const MC=i=>!i.hideFromNav&&i.label,rg=i=>!i.hideFromNav&&i.label,OC=()=>{},FC=()=>{},UC=()=>{},BC=()=>{};function HC(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:R}=e,{nodeForMobile:O}=e,{profileItemsAvailable:U}=e,{userInfo:F={}}=e,{urlAuthError:H}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:x}=e,{isSearchFieldVisible:$}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ne}=e,{displaySearchResult:W}=e,{displayCustomSearchResult:ue}=e,{searchResult:ee}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:Pe}=e,ie=ht("store"),Ue=!1,Ie,ce,X=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ae=async()=>{if(_&&0<_.length){const J=await ke.generateTopNavNodes(_);t(7,S=J.children),t(8,y=J.selectedNode),t(9,C=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},Ve=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{on.doOnStoreChange(ie,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,U=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,E=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,Pe=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=ke.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,x=G&&G.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(28,he=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,X=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(ie,()=>{ae()},["navigation.viewgroupdata"]),An.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&ae()})}),zn(()=>{(!p||p!=_)&&ae(),Ve()});let{showTopNav:He}=e;function be(J){return ke.renderIconClassName(J)}function Ge(J){return ke.isOpenUIiconName(J.icon)}const St=J=>ke.getNodeLabel(J);function Wt(J){return J.testId?J.testId:ke.prepareForTests(J.pathSegment,J.label)}function kt(J){return me.getNodeHref(J,b)}function Yt(J,tt){return ke.generateTooltipText(J,tt)}function pn(){Et("productSwitcherPopover")}function un(){t(43,Ue=!Ue),Et("contextSwitcherPopover")}function mn(J){t(14,R=!0),t(15,O=J)}function Bi(){t(14,R=!1)}function bn(J){n("handleClick",{node:J})}function Qt(J){n("handleSearchNavigation",{node:J})}function Rn(J){bn(J.detail.node)}function Et(J){const tt=v||{},dn=!tt[J];qn(),Bi(),tt[J]=dn,t(6,v=tt)}function cl(J){Et(J.detail.name)}function xt(){pe&&pe.focus()}function fn(){$||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:pe,luigiCustomSearchRenderer__slot:ne})}function qn(){const J=v||{},tt=Object.keys(J);tt&&tt.length>0&&tt.forEach(dn=>{J[dn]=!1,t(6,v=J)})}function qt(){c==="simple"||c==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!ke.getBurgerTooltipConfig())return;const[J,tt]=ke.getBurgerTooltipConfig();J&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?J:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?J:tt))}function fi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){mi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function cn(J){const tt=J.detail;t(17,F=tt||{})}function Ci(J){v=J,t(6,v)}function te(J){$=J,t(20,$)}function Ae(J){ee=J,t(25,ee)}function at(J){W=J,t(23,W)}function Nt(J){ue=J,t(24,ue)}function Ct(J){pe=J,t(21,pe)}function ln(J){ne=J,t(22,ne)}function En(J){Al.call(this,i,J)}function Gn(J){Al.call(this,i,J)}function ni(J){Al.call(this,i,J)}function Ml(J){$=J,t(20,$)}function Hi(J){ee=J,t(25,ee)}function pr(J){W=J,t(23,W)}function mr(J){ue=J,t(24,ue)}function Ol(J){pe=J,t(21,pe)}function br(J){ne=J,t(22,ne)}function vr(J){Al.call(this,i,J)}function wr(J){Al.call(this,i,J)}function dl(J){Al.call(this,i,J)}function Sr(J){v=J,t(6,v)}const yi=()=>Et("contextSwitcherPopover");function Wi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const hl=J=>Et(`dropDownPopover-${J}`);function zi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Fl=(J,tt)=>{ke.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(J)};function Ul(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Bl=J=>bn(J),kr=()=>Et("overflowPopover"),yn=()=>{fn(),Et("overflowPopover")},qi=J=>bn(J),gl=J=>mn(J);function Hl(J){v=J,t(6,v)}const Cr=()=>Et("productSwitcherPopover");function Gi(J){v=J,t(6,v)}function _l(J){Ie=J,t(44,Ie)}function pl(J){ce=J,t(45,ce)}const di=()=>Et("contextSwitcherPopover"),Wl=()=>Et("profilePopover"),Pi=()=>Et("profilePopover"),yr=()=>Et("profilePopover"),gt=()=>Et("profilePopover"),ml=()=>Et("profilePopover");function Ki(J){v=J,t(6,v)}const bl=()=>Et("productSwitcherPopover"),vl=()=>Et("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(54,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,s=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,h=J.showGlobalNav),"pathData"in J&&t(30,_=J.pathData),"pathParams"in J&&t(31,b=J.pathParams),"dropDownStates"in J&&t(6,v=J.dropDownStates),"children"in J&&t(7,S=J.children),"selectedNode"in J&&t(8,y=J.selectedNode),"visibleNodeCount"in J&&t(9,C=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,E=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,T=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,R=J.openMobileDropDown),"nodeForMobile"in J&&t(15,O=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,U=J.profileItemsAvailable),"userInfo"in J&&t(17,F=J.userInfo),"urlAuthError"in J&&t(55,H=J.urlAuthError),"globalSearchConfig"in J&&t(18,G=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,x=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,$=J.isSearchFieldVisible),"inputElem"in J&&t(21,pe=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,ne=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,W=J.displaySearchResult),"displayCustomSearchResult"in J&&t(24,ue=J.displayCustomSearchResult),"searchResult"in J&&t(25,ee=J.searchResult),"burgerTooltip"in J&&t(26,Y=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(27,Pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(28,he=J.addNavHrefForAnchor),"showTopNav"in J&&t(29,He=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,P,I,E,T,R,O,U,F,G,x,$,pe,ne,W,ue,ee,Y,Pe,he,He,_,b,pn,un,mn,Bi,bn,Rn,Et,cl,fn,qn,cn,Ue,Ie,ce,X,be,Ge,St,Wt,kt,Yt,qt,r,H,Qt,fi,ci,Ci,te,Ae,at,Nt,Ct,ln,En,Gn,ni,Ml,Hi,pr,mr,Ol,br,vr,wr,dl,Sr,yi,Wi,hl,zi,Fl,Ul,Bl,kr,yn,qi,gl,Hl,Cr,Gi,_l,pl,di,Wl,Pi,yr,gt,ml,Ki,bl,vl]}class WC extends Rt{constructor(e){super(),At(this,e,HC,VC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,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,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,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[56]}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[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function sg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=sg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function qC(i,e,t){let{node:n}=e;async function l(){var o;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=document.querySelector(".lui-tab-header");cr.renderWebComponent(n.viewUrl,r,{context:await l()},n),r.addEventListener("lui_ctx_update",async()=>{const s=document.querySelector(".lui-tab-header [lui_web_component]");s&&(s.context=await l())})}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 GC extends Rt{constructor(e){super(),At(this,e,qC,zC,Tt,{node:0})}}const{window:Co}=Fi;function ag(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n}function ug(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n}function dg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function hg(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),I=Object.entries(i[0]),E=[];for(let F=0;F<I.length;F+=1)E[F]=Sg(fg(i,I,F));const T=F=>q(E[F],1,1,()=>{E[F]=null});let R=Object.entries(i[0]),O=[];for(let F=0;F<R.length;F+=1)O[F]=Pg(ag(i,R,F));const U=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("div"),P&&P.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let F=0;F<E.length;F+=1)E[F].c();s=K(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
58
- <span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=K(),p=k("div"),b=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),f(l,"class","tabsContainerWrapper svelte-16eupdq"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-16eupdq"),f(o,"class","luigi-tabsMoreButton svelte-16eupdq"),f(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-16eupdq"),f(e,"id","tabsContainer")},m(F,H){A(F,e,H),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let G=0;G<E.length;G+=1)E[G].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,b);for(let G=0;G<O.length;G+=1)O[G].m(b,null);S=!0,y||(C=[se(h,"click",Mt(i[10])),se(c,"click",$C),se(n,"toggleDropdownState",i[26])],y=!0)},p(F,H){if(F[11].parent&&F[11].parent.tabNav&&F[11].parent.tabNav.showAsTabHeader?P?(P.p(F,H),H[0]&2048&&M(P,1)):(P=gg(F),P.c(),M(P,1),P.m(e,t)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),H[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const x=fg(F,I,G);E[G]?(E[G].p(x,H),M(E[G],1)):(E[G]=Sg(x),E[G].c(),M(E[G],1),E[G].m(r,null))}for(Ce(),G=I.length;G<E.length;G+=1)T(G);ye()}if(H[0]&53485){R=Object.entries(F[0]);let G;for(G=0;G<R.length;G+=1){const x=ag(F,R,G);O[G]?(O[G].p(x,H),M(O[G],1)):(O[G]=Pg(x),O[G].c(),M(O[G],1),O[G].m(b,null))}for(Ce(),G=R.length;G<O.length;G+=1)U(G);ye()}(!S||H[0]&16&&v!==(v=!F[4]))&&f(p,"aria-hidden",v)},i(F){if(!S){M(P);for(let H=0;H<I.length;H+=1)M(E[H]);for(let H=0;H<R.length;H+=1)M(O[H]);S=!0}},o(F){q(P),E=E.filter(Boolean);for(let H=0;H<E.length;H+=1)q(E[H]);O=O.filter(Boolean);for(let H=0;H<O.length;H+=1)q(O[H]);S=!1},d(F){F&&L(e),P&&P.d(),ct(E,F),ct(O,F),y=!1,Ze(C)}}}function gg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function KC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(){return i[20](i[39])}let R=i[40],O=[];for(let F=0;F<R.length;F+=1)O[F]=mg(cg(i,R,F));const U=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ne(s),c=K(),g=k("span"),_=K(),p=k("div"),b=k("nav"),v=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();y=K(),f(r,"class","label fd-tabs__tag svelte-16eupdq"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),f(l,"class","fd-tabs__link has-child svelte-16eupdq"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=fr(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-16eupdq"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=fr(i[39],i[2]))},m(F,H){A(F,e,H),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,v);for(let G=0;G<O.length;G+=1)O[G].m(v,null);w(e,y),P=!0,I||(E=[se(l,"click",Mt(T)),se(e,"click",XC)],I=!0)},p(F,H){if(i=F,(!P||H[0]&4097)&&s!==(s=i[12](i[39])+"")&&Te(o,s),(!P||H[0]&5&&h!==(h=fr(i[39],i[2])))&&f(l,"aria-selected",h),H[0]&49221){R=i[40];let G;for(G=0;G<R.length;G+=1){const x=cg(i,R,G);O[G]?(O[G].p(x,H),M(O[G],1)):(O[G]=mg(x),O[G].c(),M(O[G],1),O[G].m(v,null))}for(Ce(),G=R.length;G<O.length;G+=1)U(G);ye()}(!P||H[0]&9&&S!==(S=!i[3][i[39]]))&&f(p,"aria-hidden",S),(!P||H[0]&5&&C!==(C=fr(i[39],i[2])))&&f(e,"isselected",C)},i(F){if(!P){for(let H=0;H<R.length;H+=1)M(O[H]);P=!0}},o(F){O=O.filter(Boolean);for(let H=0;H<O.length;H+=1)q(O[H]);P=!1},d(F){F&&L(e),ct(O,F),I=!1,Ze(E)}}}function jC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=wg(dg(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=dg(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=wg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function _g(i){let e,t,n=i[43].label&&pg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=pg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function pg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-menu__item")},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function mg(i){let e,t,n=!i[43].hideFromNav&&_g(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=_g(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function bg(i){let e,t,n=i[43].label&&vg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=vg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b,v,S;o=new Ui({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(C,P){A(C,e,P),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),b=!0,v||(S=se(t,"click",Mt(y)),v=!0)},p(C,P){i=C,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const I={};P[0]&1&&(I.node=i[43]),o.$set(I),(!b||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!b||P[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&f(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(C){b||(M(o.$$.fragment,C),b=!0)},o(C){q(o.$$.fragment,C),b=!1},d(C){C&&L(e),ze(o),v=!1,S()}}}function wg(i){let e,t,n=!i[43].hideFromNav&&bg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=bg(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Sg(i){let e,t,n,l,r,s;const o=[jC,KC],c=[];function g(h,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:(t==null&&(t=h[40].filter(ZC).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function JC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(){return i[23](i[39],i[42])}function R(){return i[24](i[39],i[42])}let O=i[40],U=[];for(let H=0;H<O.length;H+=1)U[H]=Cg(og(i,O,H));const F=H=>q(U[H],1,1,()=>{U[H]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ne(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let H=0;H<U.length;H+=1)U[H].c();C=K(),f(l,"class","fd-nested-list__title svelte-16eupdq"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=fr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-16eupdq"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(H,G){A(H,e,G),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let x=0;x<U.length;x+=1)U[x].m(S,null);w(e,C),P=!0,I||(E=[se(n,"click",Mt(T)),se(h,"click",Mt(R))],I=!0)},p(H,G){if(i=H,(!P||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(s,r),(!P||G[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||G[0]&5&&c!==(c=fr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||G[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||G[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(h,"aria-expanded",b),G[0]&49221){O=i[40];let x;for(x=0;x<O.length;x+=1){const $=og(i,O,x);U[x]?(U[x].p($,G),M(U[x],1)):(U[x]=Cg($),U[x].c(),M(U[x],1),U[x].m(S,null))}for(Ce(),x=O.length;x<U.length;x+=1)F(x);ye()}(!P||G[0]&9&&y!==(y=!i[3][i[39]+i[42]]))&&f(S,"aria-hidden",y)},i(H){if(!P){for(let G=0;G<O.length;G+=1)M(U[G]);P=!0}},o(H){U=U.filter(Boolean);for(let G=0;G<U.length;G+=1)q(U[G]);P=!1},d(H){H&&L(e),ct(U,H),I=!1,Ze(E)}}}function YC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=yg(ug(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=ug(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=yg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function kg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function Cg(i){let e,t,n=i[43].label&&kg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=kg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function Pg(i){let e,t,n,l,r;const s=[YC,JC],o=[];function c(g,h){return h[0]&33&&(e=null),e==null&&(e=g[39]==="undefined"||g[39].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=s[t](i),{c(){n.c(),l=Se()},m(g,h){o[t].m(g,h),A(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){o[t].d(g),g&&L(l)}}}function QC(i){let e,t,n,l,r=i[0]&&i[1].length>1&&hg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),A(s,e,o),t=!0,n||(l=[se(Co,"click",i[8]),se(Co,"blur",i[8]),se(Co,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&M(r,1)):(r=hg(s),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){t||(M(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&L(e),n=!1,Ze(l)}}}function fr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ZC=i=>!i.hideFromNav&&i.label,XC=i=>i.stopPropagation(),$C=i=>i.stopPropagation();function xC(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:v}=e,S,y=ht("getTranslation");ki(i,y,X=>t(12,n=X));let C=ht("store"),P;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:X=>{X&&Object.getOwnPropertyNames(X).forEach(he=>{he==="pathData"?t(1,r=X.pathData):he==="context"?context=X.context:he==="children"?t(0,l=X.children):he==="selectedNode"?t(11,h=X.selectedNode):he==="selectedNodeForTabNav"&&t(2,_=X.selectedNodeForTabNav)})}},E=Ht();function T(X){return ke.getNodeLabel(X)}const R=async()=>{const X=I.get(),he=await Vt.getTabNavData({...X},X);!he||(I.set({...he}),o=r,window.LEFTNAVDATA=he.groupedChildren,setTimeout(O))},O=()=>{U();let X=document.getElementsByClassName("luigi-tabsContainer")[0],he=document.getElementsByClassName("luigi-tabsMoreButton")[0],ae=document.getElementsByClassName("luigi__more")[0],Ve,He=0,be=!1,Ge,St;ae&&ae.setAttribute("aria-selected","false"),X&&(Ve=X.offsetWidth,[...X.children].forEach(kt=>{Ge=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Ve?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&ae.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Yt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Yt+'"]').classList.add("hide_element")}),be?he.classList.remove("hide_element"):he.classList.add("hide_element"))},U=()=>{let X=document.getElementsByClassName("luigi-tabsContainer")[0];X!==void 0&&[...X.children].forEach(ae=>{ae.classList.remove("hide_element")})},F=()=>{P=new ResizeObserver(X=>{for(const he of X)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",he.contentRect.height+"px")}),setTimeout(()=>{P.observe(document.querySelector("#tabsContainer.lui-tabs"))})},H=()=>{P&&P.disconnect()};Jt(()=>{t(16,c=re.getConfigBooleanValue("settings.hideNavigation")),F(),on.doOnStoreChange(C,()=>{R()},["navigation.viewgroupdata"])}),Xr(()=>{H(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&R(),(S===void 0||S!==v)&&(S=v,R())}),ua(()=>{H(),P?setTimeout(()=>{P.observe(document.querySelector("#tabsContainer.lui-tabs"))}):F()});function G(X){return me.getNodeHref(X,s)}function x(X){pe(),E("handleClick",{node:X})}function $(X){let he={};p[X]||(he[X]=!0),t(3,p=he)}function pe(){t(3,p={}),t(4,b=!1)}function ne(){U(),O()}function W(){t(4,b=!b)}const ue=X=>x(X),ee=X=>$(X),Y=X=>x(X),Pe=X=>x(X),ie=(X,he)=>$(X+he),Ue=(X,he)=>$(X+he),Ie=X=>x(X),ce=X=>$(X.name);return i.$$set=X=>{"children"in X&&t(0,l=X.children),"pathData"in X&&t(1,r=X.pathData),"pathParams"in X&&t(17,s=X.pathParams),"hideNavComponent"in X&&t(16,c=X.hideNavComponent),"virtualGroupPrefix"in X&&t(5,g=X.virtualGroupPrefix),"selectedNodeForTabNav"in X&&t(2,_=X.selectedNodeForTabNav),"dropDownStates"in X&&t(3,p=X.dropDownStates),"isMoreBtnExpanded"in X&&t(4,b=X.isMoreBtnExpanded),"resizeTabNavToggle"in X&&t(18,v=X.resizeTabNavToggle)},[l,r,_,p,b,g,x,$,pe,ne,W,h,n,y,T,G,c,s,v,ue,ee,Y,Pe,ie,Ue,Ie,ce]}class ey extends Rt{constructor(e){super(),At(this,e,xC,QC,Tt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-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 Ng(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ig(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Tg(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Lg(i),o=i[0]&&i[3].length>0&&Dg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){A(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Lg(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=Dg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),s&&s.d(),o&&o.d()}}}function Lg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eg(Ig(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-174hcxg")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ig(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function Ag(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Rg(i);function P(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,E){A(I,e,E),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=se(t,"click",P),S=!0)},p(I,E){i=I,i[24].icon?C?C.p(i,E):(C=Rg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),E&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),E&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),E&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),E&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),E&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&L(e),C&&C.d(),S=!1,y()}}}function Rg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ny:ty}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function ty(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ny(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&L(e)}}}function Eg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Ag(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Dg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Og(Ng(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-174hcxg")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ng(l,t,s);n[s]?n[s].p(o,r):(n[s]=Og(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function Vg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Mg(i);function P(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,E){A(I,e,E),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=se(n,"click",Mt(P)),S=!0)},p(I,E){i=I,i[24].icon?C?C.p(i,E):(C=Mg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),E&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),E&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),E&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),E&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),E&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&L(e),C&&C.d(),S=!1,y()}}}function Mg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ly:iy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function iy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ly(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&L(e)}}}function Og(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Vg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Vg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ry(i){let e,t,n,l=i[2]&&Tg(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),A(r,e,s),t||(n=[se(window,"click",oa),se(window,"blur",oa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Tg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){l&&l.d(r),r&&L(e),t=!1,Ze(n)}}}function oa(){}function sy(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");ki(i,_,H=>t(7,n=H));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const H=await ke.generateTopNavNodes(r);t(0,c=H.children),t(1,g=H.selectedNode),s=r}};Jt(()=>{on.doOnStoreChange(h,()=>{t(14,b=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(H){return ke.renderIconClassName(H)}function P(H){return ke.isOpenUIiconName(H.icon)}function I(H){return pt.getTranslation(H.label)}function E(H){return H.testId?H.testId:ke.prepareForTests(H.pathSegment,H.label)}function T(H){return me.getNodeHref(H,o)}function R(H){l("handleClick",{node:H})}function O(H){R(H.detail.node)}const U=(H,G)=>{ke.handleNavAnchorClickedWithoutMetaKey(G)&&R(H)},F=H=>R(H);return i.$$set=H=>{"pathData"in H&&t(3,r=H.pathData),"pathParams"in H&&t(16,o=H.pathParams),"children"in H&&t(0,c=H.children),"selectedNode"in H&&t(1,g=H.selectedNode),"showGlobalNav"in H&&t(2,p=H.showGlobalNav),"hideNavComponent"in H&&t(14,b=H.hideNavComponent),"responsiveNavSetting"in H&&t(15,v=H.responsiveNavSetting)},[c,g,p,r,R,oa,S,n,_,C,P,I,E,T,b,v,o,O,U,F]}class ay extends Rt{constructor(e){super(),At(this,e,sy,ry,Tt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return oa}}function oy(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){A(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&L(e),i[6](null)}}}function uy(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,c=ht("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=C=>{C.last||S(C.node)};Jt(()=>{on.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let P=[];const I=C.omitRoot?2:1,E=et.getCurrentPath();for(let T=I;T<l.length;T++){const R=l[T],O=me.mapPathToNode(E,R);if(s[O])P.push(s[O]);else if(R.label||R.pathSegment||R.titleResolver)if(document.body.classList.add("lui-breadcrumb"),R.titleResolver)P.push({label:R.titleResolver.prerenderFallback&&R.titleResolver.fallbackTitle?pt.getTranslation(R.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:R,route:O,pending:!0});else{const U=await v(R);U&&P.push({label:U,node:R,route:O})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,P,b),P=[];for(let T=I;T<l.length;T++){const R=l[T],O=me.mapPathToNode(E,R);if(R.titleResolver){const F=await Vt.extractDataFromPath(O),H=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,R.context),F.pathData.pathParams);try{const G=await ke.fetchNodeTitleData(R,H);P.push({label:G.label,node:R,route:O});continue}catch{}}const U=await v(R);U&&P.push({label:U,node:R,route:O})}E===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,P,b)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},P.map(T=>{s[T.route]=T}))}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 v(C){if(C.label&&!C._virtualTree)return pt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const P=me.mapPathToNode(et.getCurrentPath(),C),I=await Vt.extractDataFromPath(P);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class fy extends Rt{constructor(e){super(),At(this,e,uy,oy,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";An.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),To="disabled"):i.data==="luigi.tpcEnabled"&&(To="enabled")},!1);function cy(){return To}const{Boolean:dy,window:hy}=Fi;function Fg(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Ug(i){let e,t;return e=new hS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bg(i){let e,t;function n(){return i[68](i[149])}function l(...s){return i[69](i[149],...s)}function r(...s){return i[70](i[149],...s)}return e=new __({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[147].mfModal.settings),o[0]&268435456&&(c.nodepath=i[147].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(M(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){ze(e,s)}}}function Hg(i){let e,t,n=i[147].mfModal.displayed&&Bg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[147].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&M(n,1)):(n=Bg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Wg(i){let e,t;return e=new __({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[gy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){We(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]&8192|l[4]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function gy(i){let e,t;return e=new xr({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zg(i){let e,t;return e=new bS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function qg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new MS({props:r}),$e.push(()=>vt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function Gg(i){let e,t;return e=new WS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function _y(i){let e,t,n,l,r,s,o,c,g;t=new xr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Gg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-16jxfob"),f(e,"class","fd-page iframeContainer svelte-16jxfob"),f(e,"tabindex","0"),bi(e,"lui-split-view",i[12].displayed),bi(e,"lui-collapsed",i[12].collapsed)},m(_,p){A(_,e,p),We(t,e,null),w(e,n),w(e,l),A(_,r,p),h&&h.m(_,p),A(_,s,p),o=!0,c||(g=sw(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&bi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&bi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&M(h,1)):(h=Gg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(Ce(),q(h,1,1,()=>{h=null}),ye())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&L(e),ze(t),_&&L(r),h&&h.d(_),_&&L(s),c=!1,g()}}}function Kg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-16jxfob" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-16jxfob"></div>
56
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function rh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=sh(xd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);A(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=sh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function ok(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function uk(i){let e,t,n,l,r;function s(h,_){return h[2]?ck:fk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=K(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){A(h,e,_),c.m(e,null),A(h,n,_),l||(r=se(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&L(e),c.d(),h&&L(n),l=!1,r()}}}function fk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){A(h,e,_),w(e,t),w(t,l),c||(g=se(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Te(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&L(e),c=!1,g()}}}function ck(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function dk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dk,then:uk,catch:ok,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),n.block.c()},m(l,r){A(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[21].label,i[1].fallbackLabelResolver,i[21].id))&&na(t,n)||i_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function ah(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=uh($d(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-qht2wo")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=uh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function oh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",i[18]),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(h)}}}function uh(i){let e,t=i[21].position==="bottom"&&oh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=oh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function hk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&th(i),c=i[3]&&i[3].length===0&&i[11]&&lh(),g=i[3]&&i[3].length&&rh(i),h=i[0]&&i[0].length&&ah(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),c&&c.c(),l=K(),g&&g.c(),r=K(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){A(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=th(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=lh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=rh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ah(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const gk=()=>{};function _k(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(y,H=>t(14,n=H)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const P=Ht();function I(H){P("onActionClick",{node:H})}function E(H,G){P("goToOption",{option:H,selectedOption:G})}const T=H=>I(H),R=H=>{ke.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>E(H,_),U=H=>{ke.handleNavAnchorClickedWithoutMetaKey(H)},F=H=>I(H);return i.$$set=H=>{"actions"in H&&t(0,s=H.actions),"config"in H&&t(1,o=H.config),"customOptionsRenderer"in H&&t(2,c=H.customOptionsRenderer),"options"in H&&t(3,g=H.options),"selectedLabel"in H&&t(4,h=H.selectedLabel),"selectedOption"in H&&t(5,_=H.selectedOption),"isMobile"in H&&t(6,p=H.isMobile),"getNodeName"in H&&t(7,b=H.getNodeName),"getRouteLink"in H&&t(8,v=H.getRouteLink),"getTestId"in H&&t(9,S=H.getTestId),"getTranslation"in H&&r(t(10,y=H.getTranslation)),"isContextSwitcherDropdownShown"in H&&t(11,C=H.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,b,v,S,y,C,I,E,n,T,R,O,U,F]}class S_ extends Rt{constructor(e){super(),At(this,e,_k,hk,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function fh(i){let e,t,n,l=!i[9]&&ch(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[9]?l&&(Ce(),q(l,1,1,()=>{l=null}),ye()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=ch(s),l.c(),M(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&M(r,1)):(r=dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function ch(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),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-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){A(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),We(s,r,null),c=!0,g||(h=se(n,"click",Ut(Ik)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(M(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&L(e),b.d(),ze(s),g=!1,h()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?vk:bk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),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(h,_){A(h,e,_),g.m(e,null),r||(s=se(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&L(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ck:kk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),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(h,_){A(h,e,_),g.m(e,null),r||(s=se(e,"click",Mt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&L(e),g.d(),r=!1,s()}}}function bk(i){let e,t;function n(s,o){return s[4]?wk:Sk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),A(s,e,o),A(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&L(e),s&&L(t)}}}function vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function kk(i){let e,t;function n(s,o){return s[4]?yk:Pk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),A(s,e,o),A(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&L(e),s&&L(t)}}}function Ck(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function dh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I=!i[4]&&hh(i),E=i[4]&&gh(i);return h=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),E&&E.c(),c=K(),g=k("div"),qe(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"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(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),E&&E.m(s,null),w(t,c),w(t,g),We(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(P=[se(S,"click",i[12]),se(e,"click",Ut(Tk))],C=!0)},p(T,R){T[4]?I&&(I.d(1),I=null):I?I.p(T,R):(I=hh(T),I.c(),I.m(s,o)),T[4]?E?E.p(T,R):(E=gh(T),E.c(),E.m(s,null)):E&&(E.d(1),E=null);const O={};R[0]&1&&(O.actions=T[0]),R[0]&32&&(O.config=T[5]),R[0]&64&&(O.customOptionsRenderer=T[6]),R[0]&2&&(O.options=T[1]),R[0]&16&&(O.selectedLabel=T[4]),R[0]&4&&(O.selectedOption=T[2]),R[0]&512&&(O.isMobile=T[9]),R[0]&16384&&(O.isContextSwitcherDropdownShown=T[14]),h.$set(O)},i(T){y||(M(h.$$.fragment,T),y=!0)},o(T){q(h.$$.fragment,T),y=!1},d(T){T&&L(e),I&&I.d(),E&&E.d(),ze(h),C=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&L(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&L(e)}}}function Nk(i){let e,t,n=i[3]&&fh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=fh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:E}=e,T,R=ht("getUnsavedChangesModalPromise"),O=ht("store"),U=ht("getTranslation");ki(i,U,ce=>t(16,l=ce));let F=!1,H,G,x;Jt(async()=>{on.doOnStoreChange(O,async()=>{const ce=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=ne.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=ne.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const X=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),_n.resetFallbackLabelCache(),ce.lazyloadOptions||await W(),_n.isContextSwitcherDetailsView(X,ce.parentNodePath)&&await ue(X)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>ue(ce)),An.addEventListener("message",ce=>{!Le.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),W())}),t(23,E=g.defaultLabel)}),zn(()=>{F!==I&&(F=I,W()),t(14,x=o.contextSwitcherPopover||!1)});function $(ce,X,he){return ce?Promise.resolve(ce):_n.getFallbackLabel(X,he)}function pe(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function ie(ce){return me.getNodeHref(ce,S)}async function W(){t(1,_=await _n.fetchOptions(_));const ce=g||{},X=ce.parentNodePath,he=ce.fallbackLabelResolver,ae=et.getCurrentPath();t(2,b=await _n.getSelectedOption(ae,_,X)),t(4,c=await _n.getSelectedLabel(ae,_,X,he)),t(13,H=await _n.getSelectedNode(ae,_,X)),T=ce.preserveSubPathOnSwitch}async function ue(ce){const X=g||{},he=X.parentNodePath,ae=X.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(ce,_,he)),t(4,c=await _n.getSelectedLabel(ce,_,he,ae)),t(13,H=await _n.getSelectedNode(ce,_,he))}async function ee(ce){let X=ce.detail.node;X.clickHandler&&!await X.clickHandler(X)||(setTimeout(()=>{Y(X.link)}),P&&r("toggleDropdownState"))}function Y(ce){R().then(()=>{et.navigateTo(ce)},()=>{})}function Pe(ce){let X=ce.detail.option,he=ce.detail.selectedOption;R().then(()=>{T&&he?et.navigateTo(_n.getNodePathFromCurrentPath(X,he)):et.navigateTo(X.link),P&&r("toggleDropdownState")},()=>{})}function le(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&W()}const Ue=()=>{n&&le()},Ie=()=>{n&&le()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,P=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,E=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,c,g,y,C,o,P,ee,Pe,le,H,x,n,l,U,G,$,pe,ie,v,E,S,I,W,ue,Y,p,Ue,Ie]}class k_ extends Rt{constructor(e){super(),At(this,e,Lk,Nk,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Ak}=Fi;function _h(i,e,t){const n=i.slice();return n[22]=e[t],n}function ph(i){let e,t,n,l=!i[2]&&mh(i),r=i[2]&&i[3].productSwitcherPopover&&kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=mh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=kh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function mh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C;function P(O,U){return U&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let I=P(i,-1),E=I(i),T=i[0],R=[];for(let O=0;O<T.length;O+=1)R[O]=Sh(_h(i,T,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),E.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<R.length;O+=1)R[O].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",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",v=ei(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"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(O,U){A(O,e,U),w(e,t),w(t,n),w(n,l),w(l,r),E.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<R.length;F+=1)R[F].m(b,null);y||(C=[se(r,"click",Ut(i[7])),se(l,"click",Ut(Hk))],y=!0)},p(O,U){if(I===(I=P(O,U))&&E?E.p(O,U):(E.d(1),E=I(O),E&&(E.c(),E.m(r,null))),U&8&&o!==(o=O[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),U&2&&c!==(c=O[1].label)&&f(r,"title",c),U&2&&g!==(g=O[14](O[1]))&&f(r,"data-testid",g),U&64561){T=O[0];let F;for(F=0;F<T.length;F+=1){const H=_h(O,T,F);R[F]?R[F].p(H,U):(R[F]=Sh(H),R[F].c(),R[F].m(b,null))}for(;F<R.length;F+=1)R[F].d(1);R.length=T.length}U&512&&v!==(v=ei(O[9])+" svelte-1e1qi56")&&f(p,"class",v),U&8&&S!==(S=!O[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(O){O&&L(e),E.d(),ct(R,O),y=!1,Ze(C)}}}function Rk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!lt(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&&L(e)}}}function Ek(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function bh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Vk:Dk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){A(_,e,p),g.m(e,null),w(e,t),r||(s=se(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&L(e),g.d(),r=!1,s()}}}function Dk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Ok:Mk}let _=h(i,-1),p=_(i),b=g&&vh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),c=K(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){A(v,e,S),p.m(e,null),A(v,n,S),A(v,l,S),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Te(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&L(e),p.d(),v&&L(n),v&&L(l),b&&b.d()}}}function Vk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,b;function v(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let S=v(i,-1),y=S(i),C=h&&wh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),c=Ne(o),g=K(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(b=se(e,"click",i[16]),p=!0)},p(P,I){S===(S=v(P,I))&&y?y.p(P,I):(y.d(1),y=S(P),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Te(c,o),I&1&&(h=P[13](P[22])),h?C?C.p(P,I):(C=wh(P),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&L(e),y.d(),C&&C.d(),p=!1,b()}}}function Mk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function Ok(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-1e1qi56")},m(n,l){A(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-1e1qi56")&&f(e,"class",t)},d(n){n&&L(e)}}}function vh(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Fk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function Uk(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-1e1qi56")},m(n,l){A(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-1e1qi56")&&f(e,"class",t)},d(n){n&&L(e)}}}function wh(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&L(e)}}}function Sh(i){let e,t=i[22].label&&bh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=bh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function kh(i){let e,t;return e=new v_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){We(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||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&ph(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),A(o,t,c),n=!0,l||(r=se(Ak,"resize",aa),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&M(s,1)):(s=ph(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(Ce(),q(s,1,1,()=>{s=null}),ye())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&L(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Hk=()=>{};function Wk(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{on.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),I()),aa()},["navigation.productSwitcher"])});function p(U){g().then(()=>{et.navigateToLink(U)},()=>{}),v()}function b(U){p(U.detail)}function v(){n("toggleDropdownState")}function S(U){return ke.renderIconClassName(U)}function y(U){return ke.isOpenUIiconName(U.icon)}function C(U){return pt.getTranslation(U.label)}function P(U){return pt.getTranslation(U.subTitle)}function I(){ke.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function E(U){return U.testId?U.testId:ke.prepareForTests(U.label)}function T(U){return me.getNodeHref(U)}const R=U=>{ke.handleNavAnchorClickedWithoutMetaKey(U)},O=U=>p(U);return i.$$set=U=>{"productSwitcherItems"in U&&t(0,l=U.productSwitcherItems),"isMobile"in U&&t(2,r=U.isMobile),"config"in U&&t(1,s=U.config),"dropDownStates"in U&&t(3,o=U.dropDownStates),"addNavHrefForAnchor"in U&&t(4,_=U.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,aa,h,S,y,C,P,E,T,R,O]}class C_ extends Rt{constructor(e){super(),At(this,e,Wk,Bk,Tt,{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 aa}}function Ch(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function zk(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 svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){A(l,e,r),i[19](e),e.focus(),t||(n=se(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&L(e),i[19](null),t=!1,n()}}}function qk(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 svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){A(t,e,n),e.focus()},p:Fe,d(t){t&&L(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[23](e)},p:Fe,d(t){t&&L(e),i[23](null)}}}function Kk(i){let e,t,n,l=i[5]&&yh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){A(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=yh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function yh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ph(Ch(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){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ch(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ph(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[22](null)}}}function jk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function Jk(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Te(g,c)},d(p){p&&L(e),h=!1,_()}}}function Ph(i){let e,t,n,l;function r(h,_){return h[9]?jk:Jk}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){A(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",c),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&L(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(R,O){return R[7]&&R[7].disableInputHandlers?qk:zk}let C=y(i),P=C(i);function I(R,O){return R[8]?Gk:Kk}let E=I(i),T=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),T.c(),c=K(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(R,O){A(R,e,O),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),T.m(n,null),A(R,c,O),A(R,g,O),w(g,h),w(h,_),w(_,p),v||(S=[se(window,"click",i[11]),se(window,"blur",i[11]),se(n,"click",Ut(Zk)),se(_,"click",i[6]),se(h,"click",Ut(Xk))],v=!0)},p(R,O){C===(C=y(R))&&P?P.p(R,O):(P.d(1),P=C(R),P&&(P.c(),P.m(l,null))),E===(E=I(R))&&T?T.p(R,O):(T.d(1),T=E(R),T&&(T.c(),T.m(n,null))),O[0]&16&&s!==(s=!R[4])&&f(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(R[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),O[0]&16&&b!==(b=!R[4])&&f(_,"aria-expanded",b)},i:Fe,o:Fe,d(R){R&&L(e),P.d(),T.d(),R&&L(c),R&&L(g),v=!1,Ze(S)}}}const Qk=()=>{},Zk=()=>{},Xk=()=>{};function $k(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ee=>{b.searchProvider.onSearchResultItemSelected(ee)}};let b={},v,S;Jt(async()=>{t(7,b=h);let ee=o;const Y=C(b.searchProvider);Y&&(ee.placeholder=Y),y()}),zn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=ne.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=ne.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C(ee){if(!ee||!ee.inputPlaceholder)return;const Y=pt.getCurrentLocale();if(ne.isFunction(ee.inputPlaceholder))return ee.inputPlaceholder();if(typeof ee.inputPlaceholder=="string"){const Pe=pt.getTranslation(ee.inputPlaceholder);return!!Pe&&Pe.trim().length>0?Pe:ee.inputPlaceholder}if(typeof ee.inputPlaceholder=="object")return ee.inputPlaceholder[Y]}function P(ee,Y,Pe){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ee,Y.children[Pe],p)}),""}function I(){_("closeSearchResult")}function E({keyCode:ee}){b&&b.searchProvider?ne.isFunction(b.searchProvider.onEnter)&&ee===Si?b.searchProvider.onEnter():ne.isFunction(b.searchProvider.onEscape)&&ee===wi?b.searchProvider.onEscape():ee===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ee){let Y=g.children;if(Y)for(let Pe=0;Pe<Y.length;Pe++){let{childNodes:le,nextSibling:Ue,previousSibling:Ie}=Y[Pe],ce;if(le[0].getAttribute("aria-selected")==="true"){ee===Oi&&(ce=Ue!==null?Ue:Y[0]),ee===El&&(ce=Ie!==null?Ie:Y[Y.length-1]),le[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function R(){let ee=g.children;if(ee)for(let Y=0;Y<ee.length;Y++){let Pe=ee[Y];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function O(ee){b&&ne.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ee):ne.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function U(ee,{keyCode:Y}){Y===Si&&b.searchProvider.onSearchResultItemSelected(ee),Y===El||Y===Oi?T(Y):ne.isFunction(b.searchProvider.onEscape)&&Y===wi&&(R(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(ee){let Y=ee.pathObject;Y.externalLink?et.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function H(){o&&o.focus()}function G(){if(n?t(0,r=!1):setTimeout(()=>{H()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&ne.isFunction(b.searchProvider.toggleSearch)){const ee=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ee)}}const x=ee=>E(ee);function $(ee){$e[ee?"unshift":"push"](()=>{o=ee,t(1,o)})}const pe=(ee,Y)=>O(ee),ie=(ee,Y)=>U(ee,Y);function W(ee){$e[ee?"unshift":"push"](()=>{g=ee,t(3,g)})}function ue(ee){$e[ee?"unshift":"push"](()=>{c=ee,t(2,c)})}return i.$$set=ee=>{"isSearchFieldVisible"in ee&&t(4,n=ee.isSearchFieldVisible),"searchResult"in ee&&t(5,l=ee.searchResult),"displaySearchResult"in ee&&t(0,r=ee.displaySearchResult),"displayCustomSearchResult"in ee&&t(15,s=ee.displayCustomSearchResult),"inputElem"in ee&&t(1,o=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(2,c=ee.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ee&&t(3,g=ee.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ee&&t(16,h=ee.globalSearchConfig)},[r,o,c,g,n,l,G,b,v,S,P,I,E,O,U,s,h,F,x,$,pe,ie,W,ue]}class xk extends Rt{constructor(e){super(),At(this,e,$k,Yk,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Nh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function eC(i){let e,t,n,l,r,s,o,c=i[11]&&Ih(i);return{c(){e=k("input"),t=K(),n=k("span"),c&&c.c(),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){A(g,e,h),i[26](e),A(g,t,h),A(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[se(e,"keyup",i[25]),se(e,"input",i[27]),se(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Ih(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&L(e),i[26](null),g&&L(t),g&&L(n),c&&c.d(),s=!1,Ze(o)}}}function tC(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 svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(e)}}}function Ih(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){A(l,e,r),t||(n=se(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[31](e)},p:Fe,d(t){t&&L(e),i[31](null)}}}function iC(i){let e,t,n,l=i[4]&&Th(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-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){A(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function Th(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(Nh(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){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[30](null)}}}function lC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new _r(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function rC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=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){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Te(g,c)},d(p){p&&L(e),h=!1,_()}}}function Lh(i){let e,t,n,l;function r(h,_){return h[10]?lC:rC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){A(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",c),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&L(e),o.d(),n=!1,Ze(l)}}}function Ah(i){let e,t,n,l,r,s,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-1yci3dk")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[se(n,"click",i[6]),se(t,"click",Ut(uC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),s=!1,Ze(o)}}}function Rh(i){let e,t,n=i[12](i[7])+"",l,r,s,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-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){A(g,e,h),w(e,t),w(t,l),o||(c=se(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Te(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&L(e),o=!1,c()}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(T,R){return T[8]&&T[8].disableInputHandlers?tC:eC}let v=b(i),S=v(i);function y(T,R){return T[9]?nC:iC}let C=y(i),P=C(i),I=!i[5]&&Ah(i),E=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),P.c(),c=K(),I&&I.c(),g=K(),E&&E.c(),h=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,R){A(T,e,R),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),P.m(n,null),A(T,c,R),I&&I.m(T,R),A(T,g,R),E&&E.m(T,R),A(T,h,R),_||(p=[se(window,"click",i[15]),se(window,"blur",i[15]),se(n,"click",Ut(oC))],_=!0)},p(T,R){v===(v=b(T))&&S?S.p(T,R):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&P?P.p(T,R):(P.d(1),P=C(T),P&&(P.c(),P.m(n,null))),R[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),R[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,R):(I=Ah(T),I.c(),I.m(g.parentNode,g)),T[5]?E?E.p(T,R):(E=Rh(T),E.c(),E.m(h.parentNode,h)):E&&(E.d(1),E=null)},i:Fe,o:Fe,d(T){T&&L(e),S.d(),P.d(),T&&L(c),I&&I.d(T),T&&L(g),E&&E.d(T),T&&L(h),_=!1,Ze(p)}}}const aC=()=>{},oC=()=>{},uC=()=>{};function fC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ae=>{S.searchProvider.onSearchResultItemSelected(ae)}};let b=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,P=!1,I=ht("getTranslation");ki(i,I,ae=>t(12,n=ae)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let ae=o;const Ve=T(S.searchProvider);Ve&&(ae.placeholder=Ve),E(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ge=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),zn(()=>{t(8,S=h),E(),H()});function E(){t(9,y=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(ae){if(!ae||!ae.inputPlaceholder)return;const Ve=pt.getCurrentLocale();if(ne.isFunction(ae.inputPlaceholder))return ae.inputPlaceholder();if(typeof ae.inputPlaceholder=="string"){const He=pt.getTranslation(ae.inputPlaceholder);return!!He&&He.trim().length>0?He:ae.inputPlaceholder}if(typeof ae.inputPlaceholder=="object")return ae.inputPlaceholder[Ve]}function R(ae,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ae,Ve.children[He],p)}),""}function O(){_("closeSearchResult")}function U({keyCode:ae}){S?ne.isFunction(S.searchProvider.onEnter)&&ae===Si?S.searchProvider.onEnter():ne.isFunction(S.searchProvider.onEscape)&&ae===wi?S.searchProvider.onEscape():ae===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&ne.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function H(){o&&o.value?t(11,P=!0):t(11,P=!1)}function G(){t(1,o.value="",o),O(),t(11,P=!1)}function x(ae){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:Ge,previousSibling:St}=Ve[He],Wt;if(be[0].getAttribute("aria-selected")==="true"){ae===Oi&&(Wt=Ge!==null?Ge:Ve[0]),ae===El&&(Wt=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Wt.childNodes[0].setAttribute("aria-selected","true"),Wt.focus();break}}}function $(){let ae=g.children;if(ae)for(let Ve=0;Ve<ae.length;Ve++){let He=ae[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(ae){S&&ne.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ae):ne.isFunction(S.searchProvider.onEscape)&&event.keyCode===wi&&S.searchProvider.onEscape()}function ie(ae,{keyCode:Ve}){Ve===Si&&S.searchProvider.onSearchResultItemSelected(ae),Ve===El||Ve===Oi?x(Ve):ne.isFunction(S.searchProvider.onEscape)&&Ve===wi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function W(ae){let Ve=ae.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function ue(){o&&o.focus()}function ee(){if(v?t(0,r=!1):setTimeout(()=>{ue()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),ne.isFunction(S.searchProvider.toggleSearch)){const ae=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ae)}}const Y=ae=>U(ae);function Pe(ae){$e[ae?"unshift":"push"](()=>{o=ae,t(1,o)})}const le=()=>H(),Ue=(ae,Ve)=>pe(ae),Ie=(ae,Ve)=>ie(ae,Ve);function ce(ae){$e[ae?"unshift":"push"](()=>{g=ae,t(3,g)})}function X(ae){$e[ae?"unshift":"push"](()=>{c=ae,t(2,c)})}const he=()=>ee();return i.$$set=ae=>{"searchResult"in ae&&t(4,l=ae.searchResult),"displaySearchResult"in ae&&t(0,r=ae.displaySearchResult),"displayCustomSearchResult"in ae&&t(22,s=ae.displayCustomSearchResult),"inputElem"in ae&&t(1,o=ae.inputElem),"luigiCustomSearchRenderer__slot"in ae&&t(2,c=ae.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ae&&t(3,g=ae.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ae&&t(23,h=ae.globalSearchConfig),"isSearchFieldVisible"in ae&&t(5,v=ae.isSearchFieldVisible)},[r,o,c,g,l,v,ee,b,S,y,C,P,n,I,R,O,U,F,H,G,pe,ie,s,h,W,Y,Pe,le,Ue,Ie,ce,X,he]}class cC extends Rt{constructor(e){super(),At(this,e,fC,sC,Tt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?hC:dC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),lt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(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&&L(e)}}}function hC(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){A(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&&L(e)}}}function Dh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Ui({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(t),l=K(),qe(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),We(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&L(e),ze(r)}}}function gC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&M(r,1)):(r=Dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function _C(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Eo extends Rt{constructor(e){super(),At(this,e,_C,gC,Tt,{node:0})}}const{Boolean:y_,window:Vh}=Fi;function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Oh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function pC(i){let e,t;return e=new b_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function mC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Fh(i);function S(R){i[59](R)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new V2({props:y}),$e.push(()=>vt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),I=(i[18]||i[7]&&i[30].length>0)&&Wh(i),E=(i[0]||i[16])&&ig(i),T=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),qe(l.$$.fragment),s=K(),C&&C.c(),o=K(),c=k("div"),P&&P.c(),g=K(),I&&I.c(),h=K(),E&&E.c(),_=K(),T&&T.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[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(R,O){A(R,e,O),w(e,t),v&&v.m(t,null),w(t,n),We(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),E&&E.m(c,null),w(c,_),T&&T.m(c,null),b=!0},p(R,O){R[3]==="simple"||R[3]==="simpleMobileOnly"||R[3]==="Fiori3"?v?v.p(R,O):(v=Fh(R),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const U={};O[0]&1073741824&&(U.pathData=R[30]),O[1]&1&&(U.pathParams=R[31]),O[0]&268435456&&(U.addNavHrefForAnchor=R[28]),!r&&O[0]&64&&(r=!0,U.dropDownStates=R[6],bt(()=>r=!1)),l.$set(U),R[18]&&R[19]?C?(C.p(R,O),O[0]&786432&&M(C,1)):(C=Uh(R),C.c(),M(C,1),C.m(e,o)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),!R[0]||R[1]?P?(P.p(R,O),O[0]&3&&M(P,1)):(P=Bh(R),P.c(),M(P,1),P.m(c,g)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),R[18]||R[7]&&R[30].length>0?I?(I.p(R,O),O[0]&1074004096&&M(I,1)):(I=Wh(R),I.c(),M(I,1),I.m(c,h)):I&&(Ce(),q(I,1,1,()=>{I=null}),ye()),R[0]||R[16]?E?(E.p(R,O),O[0]&65537&&M(E,1)):(E=ig(R),E.c(),M(E,1),E.m(c,_)):E&&(Ce(),q(E,1,1,()=>{E=null}),ye()),R[12]?T?(T.p(R,O),O[0]&4096&&M(T,1)):(T=lg(R),T.c(),M(T,1),T.m(c,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(R[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(R[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(R){b||(M(l.$$.fragment,R),M(C),M(P),M(I),M(E),M(T),b=!0)},o(R){q(l.$$.fragment,R),q(C),q(P),q(I),q(E),q(T),b=!1},d(R){R&&L(e),v&&v.d(),ze(l),C&&C.d(),P&&P.d(),I&&I.d(),E&&E.d(),T&&T.d()}}}function Fh(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-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){A(r,e,s),w(e,t),n||(l=se(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&L(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function b(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new cC({props:y}),$e.push(()=>vt(t,"isSearchFieldVisible",h)),$e.push(()=>vt(t,"searchResult",_)),$e.push(()=>vt(t,"displaySearchResult",p)),$e.push(()=>vt(t,"displayCustomSearchResult",b)),$e.push(()=>vt(t,"inputElem",v)),$e.push(()=>vt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,P){A(C,e,P),We(t,e,null),g=!0},p(C,P){const I={};P[0]&262144&&(I.globalSearchConfig=C[18]),!n&&P[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,I.searchResult=C[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,I.displaySearchResult=C[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,I.inputElem=C[21],bt(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],bt(()=>c=!1)),t.$set(I)},i(C){g||(M(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&L(e),ze(t)}}}function Bh(i){let e,t,n,l,r=i[18]&&!i[19]&&Hh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new k_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),A(c,e,g),We(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&M(r,1)):(r=Hh(c),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],bt(()=>n=!1)),t.$set(h)},i(c){l||(M(r),M(t.$$.fragment,c),l=!0)},o(c){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),ze(t,c)}}}function Hh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function b(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"searchResult",h)),$e.push(()=>vt(e,"displaySearchResult",_)),$e.push(()=>vt(e,"displayCustomSearchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),c=!0},p(y,C){const P={};C[0]&262144&&(P.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,P.isSearchFieldVisible=y[20],bt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,P.searchResult=y[25],bt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,P.displaySearchResult=y[23],bt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,P.displayCustomSearchResult=y[24],bt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,P.inputElem=y[21],bt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=y[22],bt(()=>o=!1)),e.$set(P)},i(y){c||(M(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){ze(e,y)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&jh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&M(l,1)):(l=zh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&M(r,1)):(r=jh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kh(Oh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Oh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Kh(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function qh(i){let e,t,n,l;const r=[vC,bC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),A(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&L(n)}}}function bC(i){let e,t,n,l,r;const s=[SC,wC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=K(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){A(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(e,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){g&&L(e),o[t].d()}}}function vC(i){let e=i[111].visibleChildren.filter(rg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),A(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(rg).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=Gh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function wC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Eo({props:b}),$e.push(()=>vt(t,"node",p)),r=new ti({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){A(S,e,y),We(t,e,null),w(e,l),We(r,e,null),g=!0,h||(_=se(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],bt(()=>n=!1)),t.$set(C);const P={};y[0]&128&&(P.node=i[111]),r.$set(P),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(M(t.$$.fragment,S),M(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&L(e),ze(t),ze(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Eo({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){A(y,e,C),We(t,e,null),w(e,l),We(r,e,null),h=!0,_||(p=se(e,"click",S),_=!0)},p(y,C){i=y;const P={};!n&&C[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(M(t.$$.fragment,y),M(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&L(e),ze(t),ze(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(U){i[80](U,i[111],i[114],i[113])}let R={};i[111]!==void 0&&(R.node=i[111]),r=new Eo({props:R}),$e.push(()=>vt(r,"node",T)),c=new ti({props:{node:i[111]}});function O(){return i[81](i[113])}return S=new w_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=K(),qe(c.$$.fragment),b=K(),v=k("div"),qe(S.$$.fragment),C=K(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(U,F){A(U,e,F),w(e,t),w(t,n),w(n,l),We(r,l,null),w(l,o),We(c,l,null),w(t,b),w(t,v),We(S,v,null),w(e,C),P=!0,I||(E=[se(l,"click",O),se(n,"click",Ut(OC))],I=!0)},p(U,F){i=U;const H={};!s&&F[0]&128&&(s=!0,H.node=i[111],bt(()=>s=!1)),r.$set(H);const G={};F[0]&128&&(G.node=i[111]),c.$set(G),(!P||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!P||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!P||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!P||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const x={};F[0]&128&&(x.node=i[111]),F[1]&1&&(x.pathParams=i[31]),F[0]&268435456&&(x.addNavHrefForAnchor=i[28]),S.$set(x),(!P||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(U){P||(M(r.$$.fragment,U),M(c.$$.fragment,U),M(S.$$.fragment,U),P=!0)},o(U){q(r.$$.fragment,U),q(c.$$.fragment,U),q(S.$$.fragment,U),P=!1},d(U){U&&L(e),ze(r),ze(c),ze(S),I=!1,Ze(E)}}}function Kh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&qh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=qh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function jh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P,I,E,T,R,O,U;g=new ti({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Jh(i),H=i[46]&&(!i[0]||i[1])&&Yh(i),G=i[7]&&Qh(i),x=i[12]&&xh(i),$=i[12]&&eg(i),pe=i[14]&&tg(i),ie=(!i[0]||i[1])&&ng(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=K(),qe(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),H&&H.c(),y=K(),G&&G.c(),C=K(),x&&x.c(),I=K(),$&&$.c(),E=K(),pe&&pe.c(),T=K(),ie&&ie.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"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(v,"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-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(W,ue){A(W,e,ue),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),We(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),H&&H.m(v,null),w(v,y),G&&G.m(v,null),w(v,C),x&&x.m(v,null),w(n,I),$&&$.m(n,null),w(n,E),pe&&pe.m(n,null),w(n,T),ie&&ie.m(n,null),R=!0,O||(U=[se(s,"click",i[86]),se(l,"click",Ut(FC))],O=!0)},p(W,ue){const ee={};ue[0]&2048&&(ee.node=W[11]),g.$set(ee),(!R||ue[0]&64&&h!==(h=W[6].overflowPopover||!1))&&f(s,"aria-expanded",h),W[18]&&!W[19]?F?F.p(W,ue):(F=Jh(W),F.c(),F.m(v,S)):F&&(F.d(1),F=null),W[46]&&(!W[0]||W[1])?H?H.p(W,ue):(H=Yh(W),H.c(),H.m(v,y)):H&&(H.d(1),H=null),W[7]?G?(G.p(W,ue),ue[0]&128&&M(G,1)):(G=Qh(W),G.c(),M(G,1),G.m(v,C)):G&&(Ce(),q(G,1,1,()=>{G=null}),ye()),W[12]?x?x.p(W,ue):(x=xh(W),x.c(),x.m(v,null)):x&&(x.d(1),x=null),(!R||ue[0]&64&&P!==(P=!W[6].overflowPopover))&&f(p,"aria-hidden",P),W[12]?$?($.p(W,ue),ue[0]&4096&&M($,1)):($=eg(W),$.c(),M($,1),$.m(n,E)):$&&(Ce(),q($,1,1,()=>{$=null}),ye()),W[14]?pe?(pe.p(W,ue),ue[0]&16384&&M(pe,1)):(pe=tg(W),pe.c(),M(pe,1),pe.m(n,T)):pe&&(Ce(),q(pe,1,1,()=>{pe=null}),ye()),!W[0]||W[1]?ie?(ie.p(W,ue),ue[0]&3&&M(ie,1)):(ie=ng(W),ie.c(),M(ie,1),ie.m(n,null)):ie&&(Ce(),q(ie,1,1,()=>{ie=null}),ye())},i(W){R||(M(g.$$.fragment,W),M(G),M($),M(pe),M(ie),R=!0)},o(W){q(g.$$.fragment,W),q(G),q($),q(pe),q(ie),R=!1},d(W){W&&L(e),ze(g),F&&F.d(),H&&H.d(),G&&G.d(),x&&x.d(),$&&$.d(),pe&&pe.d(),ie&&ie.d(),O=!1,Ze(U)}}}function Jh(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-1kyy3lw"></i>
57
+ <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,s){A(r,e,s),w(e,t),n||(l=se(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&L(e),n=!1,l()}}}function Yh(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=K(),s=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-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){A(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=se(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Te(c,o)},d(_){_&&L(e),g=!1,h()}}}function Qh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=$h(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Mh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=$h(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function Zh(i){let e,t,n,l,r;const s=[CC,kC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(MC).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),A(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function kC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(T,R){return R[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?PC:yC}let P=C(i,[-1,-1,-1,-1]),I=P(i);s=new ti({props:{node:i[111]}});function E(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=Ne(g),b=K(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,R){A(T,e,R),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,c),w(c,h),w(e,b),v=!0,S||(y=se(t,"click",Mt(E)),S=!0)},p(T,R){i=T,P===(P=C(i,R))&&I?I.p(i,R):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};R[0]&128&&(O.node=i[111]),s.$set(O),(!v||R[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(h,g),(!v||R[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||R[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(M(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&L(e),I.d(),ze(s),S=!1,y()}}}function CC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,P,I=l&&Xh(i);s=new ti({props:{node:i[111]}});function E(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),qe(s.$$.fragment),c=K(),g=k("span"),_=Ne(h),S=K(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,R){A(T,e,R),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),We(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(P=se(t,"click",Mt(E)),C=!0)},p(T,R){i=T,R[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,R):(I=Xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};R[0]&128&&(O.node=i[111]),s.$set(O),(!y||R[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||R[0]&128)&&h!==(h=i[49](i[111])+"")&&Te(_,h),(!y||R[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||R[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!y||R[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(M(s.$$.fragment,T),y=!0)},o(T){q(s.$$.fragment,T),y=!1},d(T){T&&L(e),I&&I.d(),ze(s),C=!1,P()}}}function yC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xh(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function $h(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Zh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xh(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?IC:NC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),r=k("span"),o=Ne(s),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,v){A(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=se(t,"click",Ut(i[32])),c=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Te(o,s)},d(b){b&&L(e),p.d(),c=!1,g()}}}function NC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){A(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function IC(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-1kyy3lw")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&L(e)}}}function eg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function tg(i){let e,t;return e=new w_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){We(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||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function ng(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new k_({props:g}),$e.push(()=>vt(e,"dropDownStates",s)),$e.push(()=>vt(e,"selectedLabel",o)),$e.push(()=>vt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){We(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],bt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],bt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],bt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){ze(e,h)}}}function ig(i){let e,t,n,l,r;const s=[LC,TC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ne.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[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(g,h){A(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),M(l,1),l.m(e,null))},i(g){r||(M(l),r=!0)},o(g){q(l),r=!1},d(g){g&&L(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(I,E){return I[17].picture?RC:AC}let C=y(i),P=C(i);return _=new b_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),g=K(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=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(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,E){A(I,e,E),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,h),We(_,h,null),b=!0,v||(S=[se(r,"click",i[99]),se(n,"click",Ut(BC))],v=!0)},p(I,E){C===(C=y(I))&&P?P.p(I,E):(P.d(1),P=C(I),P&&(P.c(),P.m(r,null))),(!b||E[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!b||E[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||E[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};E[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!b||E[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){b||(M(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),ze(_),v=!1,Ze(S)}}}function LC(i){let e,t,n,l,r,s,o,c,g;function h(b,v){return b[17].picture?DC:EC}let _=h(i),p=_(i);return r=new q2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){A(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),We(r,l,null),o=!0,c||(g=se(t,"click",Ut(UC)),c=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&f(l,"aria-hidden",s)},i(b){o||(M(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),ze(r),c=!1,g()}}}function AC(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){A(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&&L(e)}}}function RC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),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){A(o,e,c),w(e,n),r||(s=se(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,s()}}}function DC(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-1kyy3lw"),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"),oi(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){A(r,e,s),n||(l=se(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function lg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function VC(i){let e,t,n,l,r,s;const o=[mC,pC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),A(h,n,_),l=!0,r||(s=[se(Vh,"click",i[41]),se(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),M(t,1),t.m(n.parentNode,n))},i(h){l||(M(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&L(n),r=!1,Ze(s)}}}const MC=i=>!i.hideFromNav&&i.label,rg=i=>!i.hideFromNav&&i.label,OC=()=>{},FC=()=>{},UC=()=>{},BC=()=>{};function HC(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:R}=e,{nodeForMobile:O}=e,{profileItemsAvailable:U}=e,{userInfo:F={}}=e,{urlAuthError:H}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:x}=e,{isSearchFieldVisible:$}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ie}=e,{displaySearchResult:W}=e,{displayCustomSearchResult:ue}=e,{searchResult:ee}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:Pe}=e,le=ht("store"),Ue=!1,Ie,ce,X=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ae=async()=>{if(_&&0<_.length){const J=await ke.generateTopNavNodes(_);t(7,S=J.children),t(8,y=J.selectedNode),t(9,C=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},Ve=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{on.doOnStoreChange(le,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,U=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,E=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,Pe=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=ke.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,x=G&&G.searchFieldCentered&&ne.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),t(28,he=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,X=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(le,()=>{ae()},["navigation.viewgroupdata"]),An.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&ae()})}),zn(()=>{(!p||p!=_)&&ae(),Ve()});let{showTopNav:He}=e;function be(J){return ke.renderIconClassName(J)}function Ge(J){return ke.isOpenUIiconName(J.icon)}const St=J=>ke.getNodeLabel(J);function Wt(J){return J.testId?J.testId:ke.prepareForTests(J.pathSegment,J.label)}function kt(J){return me.getNodeHref(J,b)}function Yt(J,tt){return ke.generateTooltipText(J,tt)}function pn(){Et("productSwitcherPopover")}function un(){t(43,Ue=!Ue),Et("contextSwitcherPopover")}function mn(J){t(14,R=!0),t(15,O=J)}function Bi(){t(14,R=!1)}function bn(J){n("handleClick",{node:J})}function Qt(J){n("handleSearchNavigation",{node:J})}function Rn(J){bn(J.detail.node)}function Et(J){const tt=v||{},dn=!tt[J];qn(),Bi(),tt[J]=dn,t(6,v=tt)}function cl(J){Et(J.detail.name)}function xt(){pe&&pe.focus()}function fn(){$||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:pe,luigiCustomSearchRenderer__slot:ie})}function qn(){const J=v||{},tt=Object.keys(J);tt&&tt.length>0&&tt.forEach(dn=>{J[dn]=!1,t(6,v=J)})}function qt(){c==="simple"||c==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!ke.getBurgerTooltipConfig())return;const[J,tt]=ke.getBurgerTooltipConfig();J&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?J:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?J:tt))}function fi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){mi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function cn(J){const tt=J.detail;t(17,F=tt||{})}function Ci(J){v=J,t(6,v)}function te(J){$=J,t(20,$)}function Ae(J){ee=J,t(25,ee)}function at(J){W=J,t(23,W)}function Nt(J){ue=J,t(24,ue)}function Ct(J){pe=J,t(21,pe)}function ln(J){ie=J,t(22,ie)}function En(J){Al.call(this,i,J)}function Gn(J){Al.call(this,i,J)}function ni(J){Al.call(this,i,J)}function Ml(J){$=J,t(20,$)}function Hi(J){ee=J,t(25,ee)}function pr(J){W=J,t(23,W)}function mr(J){ue=J,t(24,ue)}function Ol(J){pe=J,t(21,pe)}function br(J){ie=J,t(22,ie)}function vr(J){Al.call(this,i,J)}function wr(J){Al.call(this,i,J)}function dl(J){Al.call(this,i,J)}function Sr(J){v=J,t(6,v)}const yi=()=>Et("contextSwitcherPopover");function Wi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const hl=J=>Et(`dropDownPopover-${J}`);function zi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Fl=(J,tt)=>{ke.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(J)};function Ul(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Bl=J=>bn(J),kr=()=>Et("overflowPopover"),yn=()=>{fn(),Et("overflowPopover")},qi=J=>bn(J),gl=J=>mn(J);function Hl(J){v=J,t(6,v)}const Cr=()=>Et("productSwitcherPopover");function Gi(J){v=J,t(6,v)}function _l(J){Ie=J,t(44,Ie)}function pl(J){ce=J,t(45,ce)}const di=()=>Et("contextSwitcherPopover"),Wl=()=>Et("profilePopover"),Pi=()=>Et("profilePopover"),yr=()=>Et("profilePopover"),gt=()=>Et("profilePopover"),ml=()=>Et("profilePopover");function Ki(J){v=J,t(6,v)}const bl=()=>Et("productSwitcherPopover"),vl=()=>Et("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(54,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,s=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,h=J.showGlobalNav),"pathData"in J&&t(30,_=J.pathData),"pathParams"in J&&t(31,b=J.pathParams),"dropDownStates"in J&&t(6,v=J.dropDownStates),"children"in J&&t(7,S=J.children),"selectedNode"in J&&t(8,y=J.selectedNode),"visibleNodeCount"in J&&t(9,C=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,E=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,T=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,R=J.openMobileDropDown),"nodeForMobile"in J&&t(15,O=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,U=J.profileItemsAvailable),"userInfo"in J&&t(17,F=J.userInfo),"urlAuthError"in J&&t(55,H=J.urlAuthError),"globalSearchConfig"in J&&t(18,G=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,x=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,$=J.isSearchFieldVisible),"inputElem"in J&&t(21,pe=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,ie=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,W=J.displaySearchResult),"displayCustomSearchResult"in J&&t(24,ue=J.displayCustomSearchResult),"searchResult"in J&&t(25,ee=J.searchResult),"burgerTooltip"in J&&t(26,Y=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(27,Pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(28,he=J.addNavHrefForAnchor),"showTopNav"in J&&t(29,He=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,P,I,E,T,R,O,U,F,G,x,$,pe,ie,W,ue,ee,Y,Pe,he,He,_,b,pn,un,mn,Bi,bn,Rn,Et,cl,fn,qn,cn,Ue,Ie,ce,X,be,Ge,St,Wt,kt,Yt,qt,r,H,Qt,fi,ci,Ci,te,Ae,at,Nt,Ct,ln,En,Gn,ni,Ml,Hi,pr,mr,Ol,br,vr,wr,dl,Sr,yi,Wi,hl,zi,Fl,Ul,Bl,kr,yn,qi,gl,Hl,Cr,Gi,_l,pl,di,Wl,Pi,yr,gt,ml,Ki,bl,vl]}class WC extends Rt{constructor(e){super(),At(this,e,HC,VC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,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,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,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[56]}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[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function sg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=sg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&L(e)}}}function qC(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return{context:((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context,pathParams:((c=s.pathData)==null?void 0:c.pathParams)||{},clientPermissions:s.nodeObject.clientPermissions||{}}}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");cr.renderWebComponent(n.viewUrl,s,r,n),s.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}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 GC extends Rt{constructor(e){super(),At(this,e,qC,zC,Tt,{node:0})}}const{window:Co}=Fi;function ag(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n}function ug(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n}function dg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function hg(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),I=Object.entries(i[0]),E=[];for(let F=0;F<I.length;F+=1)E[F]=Sg(fg(i,I,F));const T=F=>q(E[F],1,1,()=>{E[F]=null});let R=Object.entries(i[0]),O=[];for(let F=0;F<R.length;F+=1)O[F]=Pg(ag(i,R,F));const U=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("div"),P&&P.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let F=0;F<E.length;F+=1)E[F].c();s=K(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
58
+ <span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=K(),p=k("div"),b=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),f(l,"class","tabsContainerWrapper svelte-16eupdq"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-16eupdq"),f(o,"class","luigi-tabsMoreButton svelte-16eupdq"),f(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-16eupdq"),f(e,"id","tabsContainer")},m(F,H){A(F,e,H),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let G=0;G<E.length;G+=1)E[G].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,b);for(let G=0;G<O.length;G+=1)O[G].m(b,null);S=!0,y||(C=[se(h,"click",Mt(i[10])),se(c,"click",$C),se(n,"toggleDropdownState",i[26])],y=!0)},p(F,H){if(F[11].parent&&F[11].parent.tabNav&&F[11].parent.tabNav.showAsTabHeader?P?(P.p(F,H),H[0]&2048&&M(P,1)):(P=gg(F),P.c(),M(P,1),P.m(e,t)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),H[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const x=fg(F,I,G);E[G]?(E[G].p(x,H),M(E[G],1)):(E[G]=Sg(x),E[G].c(),M(E[G],1),E[G].m(r,null))}for(Ce(),G=I.length;G<E.length;G+=1)T(G);ye()}if(H[0]&53485){R=Object.entries(F[0]);let G;for(G=0;G<R.length;G+=1){const x=ag(F,R,G);O[G]?(O[G].p(x,H),M(O[G],1)):(O[G]=Pg(x),O[G].c(),M(O[G],1),O[G].m(b,null))}for(Ce(),G=R.length;G<O.length;G+=1)U(G);ye()}(!S||H[0]&16&&v!==(v=!F[4]))&&f(p,"aria-hidden",v)},i(F){if(!S){M(P);for(let H=0;H<I.length;H+=1)M(E[H]);for(let H=0;H<R.length;H+=1)M(O[H]);S=!0}},o(F){q(P),E=E.filter(Boolean);for(let H=0;H<E.length;H+=1)q(E[H]);O=O.filter(Boolean);for(let H=0;H<O.length;H+=1)q(O[H]);S=!1},d(F){F&&L(e),P&&P.d(),ct(E,F),ct(O,F),y=!1,Ze(C)}}}function gg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function KC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(){return i[20](i[39])}let R=i[40],O=[];for(let F=0;F<R.length;F+=1)O[F]=mg(cg(i,R,F));const U=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ne(s),c=K(),g=k("span"),_=K(),p=k("div"),b=k("nav"),v=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();y=K(),f(r,"class","label fd-tabs__tag svelte-16eupdq"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),f(l,"class","fd-tabs__link has-child svelte-16eupdq"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=fr(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-16eupdq"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=fr(i[39],i[2]))},m(F,H){A(F,e,H),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,v);for(let G=0;G<O.length;G+=1)O[G].m(v,null);w(e,y),P=!0,I||(E=[se(l,"click",Mt(T)),se(e,"click",XC)],I=!0)},p(F,H){if(i=F,(!P||H[0]&4097)&&s!==(s=i[12](i[39])+"")&&Te(o,s),(!P||H[0]&5&&h!==(h=fr(i[39],i[2])))&&f(l,"aria-selected",h),H[0]&49221){R=i[40];let G;for(G=0;G<R.length;G+=1){const x=cg(i,R,G);O[G]?(O[G].p(x,H),M(O[G],1)):(O[G]=mg(x),O[G].c(),M(O[G],1),O[G].m(v,null))}for(Ce(),G=R.length;G<O.length;G+=1)U(G);ye()}(!P||H[0]&9&&S!==(S=!i[3][i[39]]))&&f(p,"aria-hidden",S),(!P||H[0]&5&&C!==(C=fr(i[39],i[2])))&&f(e,"isselected",C)},i(F){if(!P){for(let H=0;H<R.length;H+=1)M(O[H]);P=!0}},o(F){O=O.filter(Boolean);for(let H=0;H<O.length;H+=1)q(O[H]);P=!1},d(F){F&&L(e),ct(O,F),I=!1,Ze(E)}}}function jC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=wg(dg(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=dg(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=wg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function _g(i){let e,t,n=i[43].label&&pg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=pg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function pg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-menu__item")},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function mg(i){let e,t,n=!i[43].hideFromNav&&_g(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=_g(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function bg(i){let e,t,n=i[43].label&&vg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=vg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b,v,S;o=new Ui({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(C,P){A(C,e,P),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),b=!0,v||(S=se(t,"click",Mt(y)),v=!0)},p(C,P){i=C,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const I={};P[0]&1&&(I.node=i[43]),o.$set(I),(!b||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!b||P[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&f(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(C){b||(M(o.$$.fragment,C),b=!0)},o(C){q(o.$$.fragment,C),b=!1},d(C){C&&L(e),ze(o),v=!1,S()}}}function wg(i){let e,t,n=!i[43].hideFromNav&&bg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=bg(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Sg(i){let e,t,n,l,r,s;const o=[jC,KC],c=[];function g(h,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:(t==null&&(t=h[40].filter(ZC).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ce(),q(c[p],1,1,()=>{c[p]=null}),ye()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function JC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,b,v,S,y,C,P,I,E;function T(){return i[23](i[39],i[42])}function R(){return i[24](i[39],i[42])}let O=i[40],U=[];for(let H=0;H<O.length;H+=1)U[H]=Cg(og(i,O,H));const F=H=>q(U[H],1,1,()=>{U[H]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ne(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let H=0;H<U.length;H+=1)U[H].c();C=K(),f(l,"class","fd-nested-list__title svelte-16eupdq"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=fr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-16eupdq"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(H,G){A(H,e,G),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let x=0;x<U.length;x+=1)U[x].m(S,null);w(e,C),P=!0,I||(E=[se(n,"click",Mt(T)),se(h,"click",Mt(R))],I=!0)},p(H,G){if(i=H,(!P||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(s,r),(!P||G[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||G[0]&5&&c!==(c=fr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||G[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||G[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(h,"aria-expanded",b),G[0]&49221){O=i[40];let x;for(x=0;x<O.length;x+=1){const $=og(i,O,x);U[x]?(U[x].p($,G),M(U[x],1)):(U[x]=Cg($),U[x].c(),M(U[x],1),U[x].m(S,null))}for(Ce(),x=O.length;x<U.length;x+=1)F(x);ye()}(!P||G[0]&9&&y!==(y=!i[3][i[39]+i[42]]))&&f(S,"aria-hidden",y)},i(H){if(!P){for(let G=0;G<O.length;G+=1)M(U[G]);P=!0}},o(H){U=U.filter(Boolean);for(let G=0;G<U.length;G+=1)q(U[G]);P=!1},d(H){H&&L(e),ct(U,H),I=!1,Ze(E)}}}function YC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=yg(ug(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);A(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=ug(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=yg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(Ce(),c=n.length;c<l.length;c+=1)r(c);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&L(e)}}}function kg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function Cg(i){let e,t,n=i[43].label&&kg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=kg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(S,y){A(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&L(e),ze(o),p=!1,b()}}}function Pg(i){let e,t,n,l,r;const s=[YC,JC],o=[];function c(g,h){return h[0]&33&&(e=null),e==null&&(e=g[39]==="undefined"||g[39].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=s[t](i),{c(){n.c(),l=Se()},m(g,h){o[t].m(g,h),A(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){o[t].d(g),g&&L(l)}}}function QC(i){let e,t,n,l,r=i[0]&&i[1].length>1&&hg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),A(s,e,o),t=!0,n||(l=[se(Co,"click",i[8]),se(Co,"blur",i[8]),se(Co,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&M(r,1)):(r=hg(s),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){t||(M(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&L(e),n=!1,Ze(l)}}}function fr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ZC=i=>!i.hideFromNav&&i.label,XC=i=>i.stopPropagation(),$C=i=>i.stopPropagation();function xC(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:v}=e,S,y=ht("getTranslation");ki(i,y,X=>t(12,n=X));let C=ht("store"),P;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:X=>{X&&Object.getOwnPropertyNames(X).forEach(he=>{he==="pathData"?t(1,r=X.pathData):he==="context"?context=X.context:he==="children"?t(0,l=X.children):he==="selectedNode"?t(11,h=X.selectedNode):he==="selectedNodeForTabNav"&&t(2,_=X.selectedNodeForTabNav)})}},E=Ht();function T(X){return ke.getNodeLabel(X)}const R=async()=>{const X=I.get(),he=await Vt.getTabNavData({...X},X);!he||(I.set({...he}),o=r,window.LEFTNAVDATA=he.groupedChildren,setTimeout(O))},O=()=>{U();let X=document.getElementsByClassName("luigi-tabsContainer")[0],he=document.getElementsByClassName("luigi-tabsMoreButton")[0],ae=document.getElementsByClassName("luigi__more")[0],Ve,He=0,be=!1,Ge,St;ae&&ae.setAttribute("aria-selected","false"),X&&(Ve=X.offsetWidth,[...X.children].forEach(kt=>{Ge=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Ve?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&ae.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Yt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Yt+'"]').classList.add("hide_element")}),be?he.classList.remove("hide_element"):he.classList.add("hide_element"))},U=()=>{let X=document.getElementsByClassName("luigi-tabsContainer")[0];X!==void 0&&[...X.children].forEach(ae=>{ae.classList.remove("hide_element")})},F=()=>{P=new ResizeObserver(X=>{for(const he of X)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",he.contentRect.height+"px")}),setTimeout(()=>{P.observe(document.querySelector("#tabsContainer.lui-tabs"))})},H=()=>{P&&P.disconnect()};Jt(()=>{t(16,c=re.getConfigBooleanValue("settings.hideNavigation")),F(),on.doOnStoreChange(C,()=>{R()},["navigation.viewgroupdata"])}),Xr(()=>{H(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&R(),(S===void 0||S!==v)&&(S=v,R())}),ua(()=>{H(),P?setTimeout(()=>{P.observe(document.querySelector("#tabsContainer.lui-tabs"))}):F()});function G(X){return me.getNodeHref(X,s)}function x(X){pe(),E("handleClick",{node:X})}function $(X){let he={};p[X]||(he[X]=!0),t(3,p=he)}function pe(){t(3,p={}),t(4,b=!1)}function ie(){U(),O()}function W(){t(4,b=!b)}const ue=X=>x(X),ee=X=>$(X),Y=X=>x(X),Pe=X=>x(X),le=(X,he)=>$(X+he),Ue=(X,he)=>$(X+he),Ie=X=>x(X),ce=X=>$(X.name);return i.$$set=X=>{"children"in X&&t(0,l=X.children),"pathData"in X&&t(1,r=X.pathData),"pathParams"in X&&t(17,s=X.pathParams),"hideNavComponent"in X&&t(16,c=X.hideNavComponent),"virtualGroupPrefix"in X&&t(5,g=X.virtualGroupPrefix),"selectedNodeForTabNav"in X&&t(2,_=X.selectedNodeForTabNav),"dropDownStates"in X&&t(3,p=X.dropDownStates),"isMoreBtnExpanded"in X&&t(4,b=X.isMoreBtnExpanded),"resizeTabNavToggle"in X&&t(18,v=X.resizeTabNavToggle)},[l,r,_,p,b,g,x,$,pe,ie,W,h,n,y,T,G,c,s,v,ue,ee,Y,Pe,le,Ue,Ie,ce]}class ey extends Rt{constructor(e){super(),At(this,e,xC,QC,Tt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-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 Ng(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ig(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Tg(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Lg(i),o=i[0]&&i[3].length>0&&Dg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){A(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Lg(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=Dg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),s&&s.d(),o&&o.d()}}}function Lg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eg(Ig(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-174hcxg")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ig(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function Ag(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Rg(i);function P(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,E){A(I,e,E),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=se(t,"click",P),S=!0)},p(I,E){i=I,i[24].icon?C?C.p(i,E):(C=Rg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),E&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),E&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),E&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),E&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),E&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&L(e),C&&C.d(),S=!1,y()}}}function Rg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ny:ty}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function ty(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ny(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&L(e)}}}function Eg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Ag(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Dg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Og(Ng(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-174hcxg")},m(l,r){A(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ng(l,t,s);n[s]?n[s].p(o,r):(n[s]=Og(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function Vg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Mg(i);function P(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,E){A(I,e,E),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=se(n,"click",Mt(P)),S=!0)},p(I,E){i=I,i[24].icon?C?C.p(i,E):(C=Mg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),E&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),E&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),E&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),E&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),E&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&L(e),C&&C.d(),S=!1,y()}}}function Mg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ly:iy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),A(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&L(t)}}}function iy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ly(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&L(e)}}}function Og(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Vg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Vg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ry(i){let e,t,n,l=i[2]&&Tg(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),A(r,e,s),t||(n=[se(window,"click",oa),se(window,"blur",oa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Tg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){l&&l.d(r),r&&L(e),t=!1,Ze(n)}}}function oa(){}function sy(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");ki(i,_,H=>t(7,n=H));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const H=await ke.generateTopNavNodes(r);t(0,c=H.children),t(1,g=H.selectedNode),s=r}};Jt(()=>{on.doOnStoreChange(h,()=>{t(14,b=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(H){return ke.renderIconClassName(H)}function P(H){return ke.isOpenUIiconName(H.icon)}function I(H){return pt.getTranslation(H.label)}function E(H){return H.testId?H.testId:ke.prepareForTests(H.pathSegment,H.label)}function T(H){return me.getNodeHref(H,o)}function R(H){l("handleClick",{node:H})}function O(H){R(H.detail.node)}const U=(H,G)=>{ke.handleNavAnchorClickedWithoutMetaKey(G)&&R(H)},F=H=>R(H);return i.$$set=H=>{"pathData"in H&&t(3,r=H.pathData),"pathParams"in H&&t(16,o=H.pathParams),"children"in H&&t(0,c=H.children),"selectedNode"in H&&t(1,g=H.selectedNode),"showGlobalNav"in H&&t(2,p=H.showGlobalNav),"hideNavComponent"in H&&t(14,b=H.hideNavComponent),"responsiveNavSetting"in H&&t(15,v=H.responsiveNavSetting)},[c,g,p,r,R,oa,S,n,_,C,P,I,E,T,b,v,o,O,U,F]}class ay extends Rt{constructor(e){super(),At(this,e,sy,ry,Tt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return oa}}function oy(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){A(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&L(e),i[6](null)}}}function uy(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,c=ht("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=C=>{C.last||S(C.node)};Jt(()=>{on.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let P=[];const I=C.omitRoot?2:1,E=et.getCurrentPath();for(let T=I;T<l.length;T++){const R=l[T],O=me.mapPathToNode(E,R);if(s[O])P.push(s[O]);else if(R.label||R.pathSegment||R.titleResolver)if(document.body.classList.add("lui-breadcrumb"),R.titleResolver)P.push({label:R.titleResolver.prerenderFallback&&R.titleResolver.fallbackTitle?pt.getTranslation(R.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:R,route:O,pending:!0});else{const U=await v(R);U&&P.push({label:U,node:R,route:O})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,P,b),P=[];for(let T=I;T<l.length;T++){const R=l[T],O=me.mapPathToNode(E,R);if(R.titleResolver){const F=await Vt.extractDataFromPath(O),H=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,R.context),F.pathData.pathParams);try{const G=await ke.fetchNodeTitleData(R,H);P.push({label:G.label,node:R,route:O});continue}catch{}}const U=await v(R);U&&P.push({label:U,node:R,route:O})}E===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,P,b)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},P.map(T=>{s[T.route]=T}))}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 v(C){if(C.label&&!C._virtualTree)return pt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const P=me.mapPathToNode(et.getCurrentPath(),C),I=await Vt.extractDataFromPath(P);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class fy extends Rt{constructor(e){super(),At(this,e,uy,oy,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";An.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),To="disabled"):i.data==="luigi.tpcEnabled"&&(To="enabled")},!1);function cy(){return To}const{Boolean:dy,window:hy}=Fi;function Fg(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Ug(i){let e,t;return e=new hS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bg(i){let e,t;function n(){return i[68](i[149])}function l(...s){return i[69](i[149],...s)}function r(...s){return i[70](i[149],...s)}return e=new __({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[147].mfModal.settings),o[0]&268435456&&(c.nodepath=i[147].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(M(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){ze(e,s)}}}function Hg(i){let e,t,n=i[147].mfModal.displayed&&Bg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[147].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&M(n,1)):(n=Bg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Wg(i){let e,t;return e=new __({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[gy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){We(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]&8192|l[4]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function gy(i){let e,t;return e=new xr({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zg(i){let e,t;return e=new bS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function qg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new MS({props:r}),$e.push(()=>vt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function Gg(i){let e,t;return e=new WS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function _y(i){let e,t,n,l,r,s,o,c,g;t=new xr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Gg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-16jxfob"),f(e,"class","fd-page iframeContainer svelte-16jxfob"),f(e,"tabindex","0"),bi(e,"lui-split-view",i[12].displayed),bi(e,"lui-collapsed",i[12].collapsed)},m(_,p){A(_,e,p),We(t,e,null),w(e,n),w(e,l),A(_,r,p),h&&h.m(_,p),A(_,s,p),o=!0,c||(g=sw(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&bi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&bi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&M(h,1)):(h=Gg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(Ce(),q(h,1,1,()=>{h=null}),ye())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&L(e),ze(t),_&&L(r),h&&h.d(_),_&&L(s),c=!1,g()}}}function Kg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-16jxfob" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-16jxfob"></div>
59
59
  <div class="fd-busy-indicator__circle svelte-16jxfob"></div>
60
- <div class="fd-busy-indicator__circle svelte-16jxfob"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-16jxfob"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function jg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function b(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new WC({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"displaySearchResult",h)),$e.push(()=>vt(e,"displayCustomSearchResult",_)),$e.push(()=>vt(e,"searchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),c=!0},p(y,C){const P={};C[0]&32768&&(P.pathData=y[15]),C[0]&16384&&(P.pathParams=y[14]),C[0]&524288&&(P.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,P.isSearchFieldVisible=y[0],bt(()=>t=!1)),!n&&C[0]&8&&(n=!0,P.displaySearchResult=y[3],bt(()=>n=!1)),!l&&C[0]&16&&(l=!0,P.displayCustomSearchResult=y[4],bt(()=>l=!1)),!r&&C[0]&32&&(r=!0,P.searchResult=y[5],bt(()=>r=!1)),!s&&C[0]&2&&(s=!0,P.inputElem=y[1],bt(()=>s=!1)),!o&&C[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=y[2],bt(()=>o=!1)),e.$set(P)},i(y){c||(M(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){ze(e,y)}}}function Jg(i){let e,t,n,l;e=new ay({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Yg(i);return{c(){qe(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){We(e,s,o),A(s,t,o),r&&r.m(s,o),A(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&M(r,1)):(r=Yg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){ze(e,s),s&&L(t),r&&r.d(s),s&&L(n)}}}function Yg(i){let e,t;return e=new fy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Qg(i){let e,t;return e=new b2({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Zg(i){let e,t;return e=new ey({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function py(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=i[26]&&i[26].length&&Ug(i),P=i[28],I=[];for(let $=0;$<P.length;$+=1)I[$]=Hg(Fg(i,P,$));const E=$=>q(I[$],1,1,()=>{I[$]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Wg(i),R=i[27].displayed&&zg(i),O=i[18].displayed&&qg(i);o=new xr({props:{disable:i[13],$$slots:{default:[_y]},$$scope:{ctx:i}}});let U=i[11]&&Kg(),F=!i[25]&&jg(i),H=!i[21]&&Jg(i),G=!(i[21]||i[22])&&Qg(i),x=i[16]&&!i[21]&&Zg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let $=0;$<I.length;$+=1)I[$].c();n=K(),T&&T.c(),l=K(),R&&R.c(),r=K(),O&&O.c(),s=K(),qe(o.$$.fragment),c=K(),U&&U.c(),g=K(),F&&F.c(),h=K(),H&&H.c(),_=K(),G&&G.c(),p=K(),x&&x.c(),f(e,"id","app"),f(e,"class",b=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-16jxfob"),f(e,"configversion",i[24])},m($,pe){A($,e,pe),C&&C.m(e,null),w(e,t);for(let ne=0;ne<I.length;ne+=1)I[ne].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),R&&R.m(e,null),w(e,r),O&&O.m(e,null),w(e,s),We(o,e,null),w(e,c),U&&U.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),H&&H.m(e,null),w(e,_),G&&G.m(e,null),w(e,p),x&&x.m(e,null),v=!0,S||(y=se(hy,"resize",i[35]),S=!0)},p($,pe){if($[26]&&$[26].length?C?(C.p($,pe),pe[0]&67108864&&M(C,1)):(C=Ug($),C.c(),M(C,1),C.m(e,t)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),pe[0]&268443648|pe[1]&896){P=$[28];let W;for(W=0;W<P.length;W+=1){const ue=Fg($,P,W);I[W]?(I[W].p(ue,pe),M(I[W],1)):(I[W]=Hg(ue),I[W].c(),M(I[W],1),I[W].m(e,n))}for(Ce(),W=P.length;W<I.length;W+=1)E(W);ye()}$[29].displayed&&$[29].settings.isDrawer?T?(T.p($,pe),pe[0]&536870912&&M(T,1)):(T=Wg($),T.c(),M(T,1),T.m(e,l)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),$[27].displayed?R?(R.p($,pe),pe[0]&134217728&&M(R,1)):(R=zg($),R.c(),M(R,1),R.m(e,r)):R&&(Ce(),q(R,1,1,()=>{R=null}),ye()),$[18].displayed?O?(O.p($,pe),pe[0]&262144&&M(O,1)):(O=qg($),O.c(),M(O,1),O.m(e,s)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye());const ne={};pe[0]&8192&&(ne.disable=$[13]),pe[0]&12288|pe[4]&67108864&&(ne.$$scope={dirty:pe,ctx:$}),o.$set(ne),$[11]?U||(U=Kg(),U.c(),U.m(e,g)):U&&(U.d(1),U=null),$[25]?F&&(Ce(),q(F,1,1,()=>{F=null}),ye()):F?(F.p($,pe),pe[0]&33554432&&M(F,1)):(F=jg($),F.c(),M(F,1),F.m(e,h)),$[21]?H&&(Ce(),q(H,1,1,()=>{H=null}),ye()):H?(H.p($,pe),pe[0]&2097152&&M(H,1)):(H=Jg($),H.c(),M(H,1),H.m(e,_)),$[21]||$[22]?G&&(Ce(),q(G,1,1,()=>{G=null}),ye()):G?(G.p($,pe),pe[0]&6291456&&M(G,1)):(G=Qg($),G.c(),M(G,1),G.m(e,p)),$[16]&&!$[21]?x?(x.p($,pe),pe[0]&2162688&&M(x,1)):(x=Zg($),x.c(),M(x,1),x.m(e,null)):x&&(Ce(),q(x,1,1,()=>{x=null}),ye()),(!v||pe[0]&48234496&&b!==(b=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-16jxfob"))&&f(e,"class",b),(!v||pe[0]&16777216)&&f(e,"configversion",$[24])},i($){if(!v){M(C);for(let pe=0;pe<P.length;pe+=1)M(I[pe]);M(T),M(R),M(O),M(o.$$.fragment,$),M(F),M(H),M(G),M(x),v=!0}},o($){q(C),I=I.filter(dy);for(let pe=0;pe<I.length;pe+=1)q(I[pe]);q(T),q(R),q(O),q(o.$$.fragment,$),q(F),q(H),q(G),q(x),v=!1},d($){$&&L(e),C&&C.d(),ct(I,$),T&&T.d(),R&&R.d(),O&&O.d(),ze(o),U&&U.d(),F&&F.d(),H&&H.d(),G&&G.d(),x&&x.d(),S=!1,y()}}}function my(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,b,v,S,y,C,P,I,E,T,R,O,U,F,H,G,x,$,pe=!0,ne=!1,W,ue,ee,Y=[],Pe={isDirty:!1,persistUrl:null},ie,Ue,Ie=!1,ce,X,he={},ae,Ve,He,{isSearchFieldVisible:be}=e,{inputElem:Ge}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:Wt}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:pn}=e;const un=async B=>{const fe=B.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,je=await re.readUserSettings(),Oe=Ee&&typeof je=="object"&&je!==null,we=Le.applyCoreStateData({isNavigateBack:ne,viewStackSize:Y.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Oe?je[Ee]:null,anchor:al.getAnchor(),cssVariables:await Io.getCSSVariables()});return Le.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=B[De]||!1}),we},mn=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||R)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await un(B)),authData:ol.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Le.sendMessageToIframe(B.iframe,Ee)},Bi=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Le.broadcastMessageToAllIframes(fe)},bn=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Cn(B.params),je=et.getNodePath(U,O);Y.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(je,fe.iframe.luigi.pathParams,":",!1):je,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:E}),fe.iframe.pv="pv"}},Qt=(B,fe,Ee,je)=>{let Oe=Cn(B.params,Ee,je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:_t}=B.params,Ot={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:_t};return Oe=le.addLeadingSlash(Oe),Oe=De?me.composeSearchParamsToRoute(Oe):Oe,bn(B,fe),et.navigateTo(Oe,Ot)},Rn=B=>B.split("?")[0],Et=(B,fe)=>{if(B.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,je=[...B].pop();return[Rn(je.path),Rn(je.nextPath)].includes(Rn(Ee))},cl=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},xt=B=>new Promise((fe,Ee)=>{Wl(B)?Pi().then(()=>{cl(),fe()},()=>{Ee()}):fe()}),fn=()=>({get:()=>({unsavedChanges:Pe,hideNav:yi,viewUrl:F,nodeParams:T,viewGroup:H,urlParamsRaw:O,currentNode:U,navigationPath:ue,context:E,pathParams:R,hideSideNav:Wi,isolateView:G,pageErrorHandler:x,previousNodeValues:$,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:P,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:ne,goBackContext:W,isNavigationSyncEnabled:pe}),set:B=>{B&&(t(23,hl=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(21,yi=B.hideNav):fe==="viewUrl"?F=B.viewUrl:fe==="nodeParams"?T=B.nodeParams:fe==="viewGroup"?H=B.viewGroup:fe==="urlParamsRaw"?O=B.urlParamsRaw:fe==="currentNode"?U=B.currentNode:fe==="navigationPath"?t(15,ue=B.navigationPath):fe==="context"?E=B.context:fe==="pathParams"?t(14,R=B.pathParams):fe==="hideSideNav"?(Wi!=B.hideSideNav&&(t(23,hl=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,Wi=B.hideSideNav)):fe==="isolateView"?G=B.isolateView:fe==="pageErrorHandler"?x=B.pageErrorHandler:fe==="previousNodeValues"?$=B.previousNodeValues:fe==="mfSplitView"?t(12,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?y=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?He=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(He)):fe==="tabNav"?t(16,Ue=B.tabNav):fe==="isNavigateBack"?ne=B.isNavigateBack:fe==="goBackContext"?W=B.goBackContext:fe==="isNavigationSyncEnabled"&&(pe=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Wl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Pi,showAlert:gl,prepareInternalData:un,dispatch:n}),qn=(B,fe)=>{on.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Wn.deleteCache();const je=et.getCurrentPath();et.handleRouteChange(je,fn(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Ee,je)=>{const{withoutSync:Oe,preventContextUpdate:we}=je||{};Et(Y,Ee)||(Y=[],Ln.removeInactiveIframes(B));for(let _t=gt.length;_t--;)J(_t);$r.removeBackdrop(),Hi(),et.handleRouteChange(Ee,fn(),B,fe,Oe,we)})},qt=(B,fe)=>le.replaceVars(et.getNodePath(B),fe,":",!1),Cn=(B,fe,Ee)=>{const je=fe||U,Oe=Ee||R;let we=ue;if(fe){let _t=fe.parent;for(we=[fe];_t;)we.push(_t),_t=_t.parent;we=[...we].reverse()}let De=B.link;if(B.fromVirtualTreeRoot){const _t=[...we].reverse().find(Ot=>Ot.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(qt(_t,Oe),B.link)}else if(B.fromParent)De=et.concatenatePath(qt(je.parent,Oe),B.link);else if(B.fromClosestContext){const _t=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);De=et.concatenatePath(qt(_t,Oe),B.link)}else if(B.fromContext){const _t=B.fromContext,Ot=[...we].reverse().find(Lr=>_t===Lr.navigationContext);De=et.concatenatePath(qt(Ot,Oe),B.link)}else B.intent?De=me.getIntentPath(B.link):B.relative&&(De=et.concatenatePath(qt(je,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((_t,Ot)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),De},fi=B=>{const fe=B.detail.node;xt().then(()=>{if(Bl(),fe.openNodeInModal){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);Ki(Ee,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,hi(Ee,fe.drawer)}else fn().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(fe,fn())},()=>{})},ci=()=>{t(17,Ie=!Ie)};Jr("handleNavigation",Qt);const cn=B=>B?!0:(console.warn("No search provider defined."),!1),Ci=()=>{cn(X)&&t(0,be=!1)},te=()=>{cn(X)&&Ge&&(t(0,be=!0),Ge.focus())},Ae=()=>{cn(X)&&Ge&&(t(1,Ge.value="",Ge),Gn())},at=()=>{t(0,be=!be),Fw.clearSearchField()},Nt=()=>{if(cn(X)&&Ge)return Ge.value},Ct=B=>{cn(X)&&Ge&&(t(1,Ge.value=B,Ge),le.isFunction(X.onInput)?X.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=B=>{cn(X)&&Ge&&t(1,Ge.placeholder=B,Ge)},En=B=>{if(cn(X))if(B&&B.length>0)if(le.isFunction(X.customSearchResultRenderer)){t(4,kt=!0);let fe={fireItemSelected:Ee=>{X.onSearchResultItemSelected(Ee)}};X.customSearchResultRenderer(B,St,fe)}else t(3,Wt=!0),t(5,Yt=B);else console.warn("Search result array is empty.")},Gn=()=>{if(cn(X)&&(t(3,Wt=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ni=B=>{let fe=B.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Qt(Ee)},Ml=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(fn(),B,fe)},Hi=()=>{st.close(fn())},pr=()=>{st.collapse(fn()),t(12,o.collapsed=!0,o)},mr=()=>{st.expand(fn()),t(12,o.collapsed=!1,o)},Ol=()=>o.displayed?o.collapsed:!1,br=()=>o.displayed?!o.collapsed:!1,vr=()=>o.displayed,wr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},dl=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},Sr=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let yi,Wi,hl,zi,Fl,Ul;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},kr=()=>{wl();const B=window.innerWidth>=$t.desktopMinWidth&&zi<$t.desktopMinWidth,fe=window.innerWidth<$t.desktopMinWidth&&zi>=$t.desktopMinWidth;(B||fe)&&Bl(),zi=window.innerWidth};let yn=[];const qi=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===fe)[0]},gl=(B,fe=!1)=>{const Ee=re.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Oe=Ee(B,fe);if(Oe!==!1)return Oe}const je=yn;return B.id||(B.id=le.getRandomId()),B.id&&je&&qi(je,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(()=>{qi(yn,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Oe,we)=>{t(26,yn=[...je||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Oe}}])}))},Hl=(B,fe)=>{const Ee=qi(yn,B);if(!Ee){console.error("An unexisting alert has been dismissed.",yn,B);return}if(t(26,yn=yn.filter(je=>je.settings.id!==B)),Ee.openFromClient){const je=Ln.getActiveIframe(ee),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Le.sendMessageToIframe(je,Oe)}else Ee.promise&&Ee.promise.resolve(fe||B)},Cr=B=>{Hl(B.detail.id,B.detail.dismissKey)};let Gi;const _l=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};_l();const pl=(B,fe=!1,Ee)=>new Promise((je,Oe)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:je,reject:Oe},targetIframe:Ee})}),di=B=>{const{promise:fe,openFromClient:Ee,targetIframe:je}=Gi;if(_l(),B?fe.resolve():fe.reject(),Ee&&je){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Le.sendMessageToIframe(je,Oe)}},Wl=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Pi=()=>pl({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Jr("getUnsavedChangesModalPromise",xt);let gt=[];const ml=B=>{if(typeof B>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((fe,Ee)=>B!==Ee))};ml();const Ki=async(B,fe)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Ee={mfModal:{displayed:!0,nodepath:B,settings:fe}};t(28,gt=[...gt,Ee]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&gt.length===1&&et.appendModalDataToUrl(B,fe)},bl=(B,fe)=>{t(28,gt[fe].modalIframe=B.detail.modalIframe,gt),t(28,gt[fe].modalIframeData=B.detail.modalIframeData,gt)},vl=(B,fe)=>{t(28,gt[fe].modalWC=B.detail.modalWC,gt),t(28,gt[fe].modalWCData=B.detail.modalWCData,gt)},J=(B,fe,Ee)=>{const je=(De,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&gt.length===1&&et.removeModalDataFromUrl(_t),ml(De)},Oe=gt[B],we=le.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?xt(Oe.modalIframe.contentWindow).then(()=>{je(B,fe),we&&we.doResolve(Ee)},()=>{}):Oe&&Oe.modalWC&&(je(B,fe),we&&we.doResolve(Ee))};Jr("openViewInModal",Ki);let tt={};const dn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};dn();const hi=async(B,fe)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,tt.displayed=!0,tt),t(29,tt.nodepath=B,tt),t(29,tt.settings=fe,tt),tt.settings&&tt.settings.backdrop&&t(13,_=!0))},es=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,wl=()=>{if(!es())return;const B=document.querySelector(".iframeModalCtn._drawer"),fe=Le.getCurrentMicrofrontendIframe();if(B&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ee}=getComputedStyle(B),je=fe.clientWidth;fe.setAttribute("style",`width: calc(${je}px - ${Ee})`)}},ts=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,wl()},Pr=B=>{v=B.detail.modalWC,B.detail.modalWCData,wl()},ca=B=>{h=B.detail.activeDrawer},zl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{dn()},()=>{}):v&&xt().then(()=>{dn()},()=>{}),Le.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},ql=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,he.userSettingGroups=[...B],he),t(18,he.displayed=!0,he)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,he.displayed=!1,he)},da=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;re.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},is=B=>{let fe=ue;if(U){let Oe=U.parent;for(fe=[U];Oe;)fe.push(Oe),Oe=Oe.parent;fe=[...fe].reverse()}let Ee=B.link,je=qt(U,R);if(B.fromVirtualTreeRoot){const Oe=[...fe].reverse().find(De=>De.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=qt(Oe,R);Ee=je.split(we).join("")}else if(B.fromParent){const Oe=qt(U.parent,R);Ee=je.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...fe].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=qt(Oe,R);Ee=je.split(we).join("")}else if(B.fromContext){const Oe=B.fromContext,we=[...fe].reverse().find(_t=>Oe===_t.navigationContext),De=qt(we,R);Ee=je.split(De).join("")}else Ee=je;return Ee};function ls(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const fe=re.getConfigValue("navigation.defaults.isolateView"),Ee=re.getConfigValue("navigation.defaults.pageErrorHandler"),je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Le.broadcastMessageToAllIframes(De)}),An.addEventListener("popstate",async we=>{const De=yn;if(!De||!(De.length>0))return;const _t=De.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,yn=_t)}),An.addEventListener("message",async we=>{const De=Le.getValidMessageSource(we),_t=gt[gt.length-1],Ot=_t&&_t.modalIframe,Lr=_t&&_t.modalIframeData,Ji={modalIframe:Ot,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!De)return;De._ready=!0;const yt=Le.getSpecialIframeMessageSource(we,Ji),dt=yt&&yt.length>0,Ar=re.getConfigValue("communication.skipEventsWhenInactive");if(Ar&&Ar.length>0&&!dt&&De.contentWindow!==window&&!le.isElementVisible(De)&&Ar.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Ke=re.getConfigValue("communication.customMessagesListeners")||{},It=la.convertCustomMessageInternalToUser(we.data),Dt=Ke[It.id],en="luigi.updateUserSettings";if(he&&It.id===en){Dt&&console.warn(`The key "${en}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const Dn=ui.getMicrofrontends().find(Kn=>Le.isMessageSource(we,Kn.container));Dt(It,Dn,le.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Oe.navigateOk=!0,ar.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,dt)yt.forEach(async Ke=>{let It=Ji[Ke.dataKey].context;const Dt={...Oe,iframe:Ji[Ke.iframeKey],context:It,pathParams:Ji[Ke.dataKey].pathParams,nodeParams:Ji[Ke.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Ji[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await mn(Dt,{})});else if(Oe.iframe&&Le.isMessageSource(we,Oe.iframe))await mn(Oe,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&ha(),ar.preload();else if(De.luigi.preloading)await mn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=ur.findActiveCustomUserSettingsIframe(we.source);if(Ke){let It=Ke.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:pn[It]},iframe:Ke};await mn(Dt)}}ar.viewGroupLoaded(De)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(He),t(11,s=!1)),we.data.msg==="luigi.navigation.open"){ne=!1;const Ke=window.location.href,It=dt?De.luigi.currentNode:void 0,Dt=dt?De.luigi.pathParams:void 0,en=we.data.params,{intent:Dn,newTab:Kn,modal:Sl,splitView:Gt,drawer:Yi,withoutSync:Qi}=en;let Kl=Kn||Sl||Gt||Yi;const Rr=()=>{const Vn=le.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},rn=()=>{const Vn=le.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Zi=Vn=>{!Vn||Ke!==window.location.href?Rr():rn()};we.source!==window&&!Dn&&en.link&&(en.link=en.link.split("?")[0]);let sn=Cn(we.data.params,It,Dt);if(Kl=Kl||Dn&&sn.external,!Kl)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Oe,It,Dt).then(()=>{Zi(!0)}).catch(()=>{rn()}),gt.forEach((Vn,cs)=>{J(cs)}),Hi(),zl(),pe=!0}).catch(()=>{rn()});else{if(Dn&&sn.external){et.navigateToExternalLink({url:sn.url,sameWindow:!sn.openInNewTab});return}if(sn=le.addLeadingSlash(sn),Kn){await da(sn),Zi();return}const Vn=await Nr(sn);if(sn=await me.handlePageNotFoundAndRetrieveRedirectPath(fn(),sn,Vn),!sn){rn();return}ee=B,Sl!==void 0?(!Sl.keepPrevious&&ml(),await Ki(sn,Sl===!0?{}:Sl),Zi()):Gt!==void 0?(await Ml(sn,Gt),Zi()):Yi!==void 0&&(dn(),Yi.isDrawer=!0,await hi(sn,Yi),Zi())}}if(we.data.msg==="luigi.navigation.back"){const Ke=gt[gt.length-1],It=gt.length>1&&gt[gt.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Le.isMessageSource(we,Ke&&Ke.modalIframe)){J(gt.length-1,!0,Dt);let en=Oe;if(It&&It.modalIframeData&&It.modalIframe){const Dn=It,Kn=Dn.modalIframeData;en={pathParams:Kn.pathParams,context:Kn.context,iframe:Dn.modalIframe}}en.iframe&&await mn(en,{goBackContext:Dt})}else Le.isMessageSource(we,y)?(Hi(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Le.isMessageSource(we,p)?(h&&(h=!h),zl(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Y&&Y.length>0?xt().then(()=>{Ln.setActiveIframeToPrevious(B);const en=Y.pop();Oe.iframe=Ln.getActiveIframe(B),ne=!0,Y=Y,W=Dt,Qt({params:{link:en.path}},Oe)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const Ke=we.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(Ke),correlationId:Ke.id}};Le.sendMessageToIframe(De,Dt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Bi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(dt){const Ke=le.addLeadingSlash(Cn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(Ke,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const Ke=De.luigi.currentNode,It=De.luigi.pathParams,Dt=we.data.data,en=Cn(Dt,Ke,It),Dn=en?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),en):!1,Kn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:Dn?Dn.isExistingRoute:!1}};Le.sendMessageToIframe(De,Kn)}if(we.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const Ke=new Set;Ke.add(we.source),Pe={dirtySet:Ke}}Pe.persistUrl=window.location.href,we.data.dirty?Pe.dirtySet.add(we.source):Pe.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Ke=we.data.data.settings;ee=B,_l(),pl(Ke,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=we.data.data;if(!Ke.text&&!le.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ee=B,gl(Ke,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=we.data.data;Ke&&pt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Gl(),we.data.msg==="storage"&&oS.process(De.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Ke=De.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(we.data.errorObj,Ke):je&&le.isFunction(je.errorFn)&&je.errorFn(we.data.errorObj,Ke)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:It}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,Ke,It)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(dt)return;const{data:Ke,keepBrowserHistory:It}=we.data;al.addNodeParams(Ke,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Ke}=we.data;al.setAnchor(Ke)}if(we.data.msg==="luigi.setVGData"){const Ke=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Dt=Ln.getViewGroupSettings(It);Dt._liveCustomData=Ke.data,re.configChanged("navigation.viewgroupdata")}}}),qn(B,Oe)}Jr("store",l),Jr("getTranslation",r);const Gl=B=>{ce&&ce.thirdPartyCookieErrorHandling&&le.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()};function ha(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(He),t(11,s=!1)},250)):clearTimeout(He)}const Nr=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Cn(fe),je=Ee?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ee):!1;return je?je.isExistingRoute:!1},Ir=()=>gt.length>0||Y.length!==0;Jt(()=>{if(Io._init(),X=re.getConfigValue("globalSearch.searchProvider"),ie=re.getConfigValue("settings.responsiveNavigation"),zi=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,fe]=ke.getBurgerTooltipConfig();B&&fe&&t(19,ae=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,fe]=ke.getBurgerTooltipConfig();if(B&&fe){const Ee=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,ae=Ee?B:fe)}}document.body.classList.add("lui-semiCollapsible")}ce=re.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{cy()==="disabled"&&Gl()}),document.body.removeChild(B)}})}),ua(()=>{wl()}),zn(()=>{t(20,Ve=re.getConfigValue("navigation.breadcrumbs")),X=re.getConfigValue("globalSearch.searchProvider"),t(24,Fl=re.getConfigValue("tag")),t(25,Ul=re.getConfigValue("settings.header.disabled"))});const Tr=B=>J(B,!0),ji=(B,fe)=>bl(fe,B),rs=(B,fe)=>vl(fe,B),ss=()=>di(!0),ga=()=>di(!1);function as(B){pn=B,t(6,pn)}function os(B){be=B,t(0,be)}function us(B){Wt=B,t(3,Wt)}function fs(B){kt=B,t(4,kt)}function _a(B){Yt=B,t(5,Yt)}function pa(B){Ge=B,t(1,Ge)}function ma(B){St=B,t(2,St)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,be=B.isSearchFieldVisible),"inputElem"in B&&t(1,Ge=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,St=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Wt=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,kt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Yt=B.searchResult),"storedUserSettings"in B&&t(6,pn=B.storedUserSettings)},[be,Ge,St,Wt,kt,Yt,pn,at,Gn,ni,ns,s,o,_,R,ue,Ue,Ie,he,ae,Ve,yi,Wi,hl,Fl,Ul,yn,Gi,gt,tt,fi,ci,wr,dl,Sr,kr,Cr,di,bl,vl,J,ts,Pr,ca,zl,ls,l,r,Ci,te,Ae,Nt,Ct,ln,En,Ml,Hi,pr,mr,Ol,br,vr,gl,pl,yr,ql,Nr,Ir,Tr,ji,rs,ss,ga,as,os,us,fs,_a,pa,ma]}class by extends Rt{constructor(e){super(),At(this,e,my,py,Tt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const vy=()=>{const{subscribe:i,update:e,reset:t}=dr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},P_=vy(),wy=Aw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=P_;const Sy=()=>new Promise(i=>{pt._init(),nn.init().then(()=>{setTimeout(()=>{let e;ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new by({target:ui.getLuigiContainer(),props:{store:P_,getTranslation:wy}}),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(),i()})})});re.setConfigCallbacks(Sy);
60
+ <div class="fd-busy-indicator__circle svelte-16jxfob"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-16jxfob"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function jg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function b(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new WC({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"displaySearchResult",h)),$e.push(()=>vt(e,"displayCustomSearchResult",_)),$e.push(()=>vt(e,"searchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),c=!0},p(y,C){const P={};C[0]&32768&&(P.pathData=y[15]),C[0]&16384&&(P.pathParams=y[14]),C[0]&524288&&(P.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,P.isSearchFieldVisible=y[0],bt(()=>t=!1)),!n&&C[0]&8&&(n=!0,P.displaySearchResult=y[3],bt(()=>n=!1)),!l&&C[0]&16&&(l=!0,P.displayCustomSearchResult=y[4],bt(()=>l=!1)),!r&&C[0]&32&&(r=!0,P.searchResult=y[5],bt(()=>r=!1)),!s&&C[0]&2&&(s=!0,P.inputElem=y[1],bt(()=>s=!1)),!o&&C[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=y[2],bt(()=>o=!1)),e.$set(P)},i(y){c||(M(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){ze(e,y)}}}function Jg(i){let e,t,n,l;e=new ay({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Yg(i);return{c(){qe(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){We(e,s,o),A(s,t,o),r&&r.m(s,o),A(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&M(r,1)):(r=Yg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){ze(e,s),s&&L(t),r&&r.d(s),s&&L(n)}}}function Yg(i){let e,t;return e=new fy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Qg(i){let e,t;return e=new b2({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Zg(i){let e,t;return e=new ey({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function py(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=i[26]&&i[26].length&&Ug(i),P=i[28],I=[];for(let $=0;$<P.length;$+=1)I[$]=Hg(Fg(i,P,$));const E=$=>q(I[$],1,1,()=>{I[$]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Wg(i),R=i[27].displayed&&zg(i),O=i[18].displayed&&qg(i);o=new xr({props:{disable:i[13],$$slots:{default:[_y]},$$scope:{ctx:i}}});let U=i[11]&&Kg(),F=!i[25]&&jg(i),H=!i[21]&&Jg(i),G=!(i[21]||i[22])&&Qg(i),x=i[16]&&!i[21]&&Zg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let $=0;$<I.length;$+=1)I[$].c();n=K(),T&&T.c(),l=K(),R&&R.c(),r=K(),O&&O.c(),s=K(),qe(o.$$.fragment),c=K(),U&&U.c(),g=K(),F&&F.c(),h=K(),H&&H.c(),_=K(),G&&G.c(),p=K(),x&&x.c(),f(e,"id","app"),f(e,"class",b=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-16jxfob"),f(e,"configversion",i[24])},m($,pe){A($,e,pe),C&&C.m(e,null),w(e,t);for(let ie=0;ie<I.length;ie+=1)I[ie].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),R&&R.m(e,null),w(e,r),O&&O.m(e,null),w(e,s),We(o,e,null),w(e,c),U&&U.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),H&&H.m(e,null),w(e,_),G&&G.m(e,null),w(e,p),x&&x.m(e,null),v=!0,S||(y=se(hy,"resize",i[35]),S=!0)},p($,pe){if($[26]&&$[26].length?C?(C.p($,pe),pe[0]&67108864&&M(C,1)):(C=Ug($),C.c(),M(C,1),C.m(e,t)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),pe[0]&268443648|pe[1]&896){P=$[28];let W;for(W=0;W<P.length;W+=1){const ue=Fg($,P,W);I[W]?(I[W].p(ue,pe),M(I[W],1)):(I[W]=Hg(ue),I[W].c(),M(I[W],1),I[W].m(e,n))}for(Ce(),W=P.length;W<I.length;W+=1)E(W);ye()}$[29].displayed&&$[29].settings.isDrawer?T?(T.p($,pe),pe[0]&536870912&&M(T,1)):(T=Wg($),T.c(),M(T,1),T.m(e,l)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),$[27].displayed?R?(R.p($,pe),pe[0]&134217728&&M(R,1)):(R=zg($),R.c(),M(R,1),R.m(e,r)):R&&(Ce(),q(R,1,1,()=>{R=null}),ye()),$[18].displayed?O?(O.p($,pe),pe[0]&262144&&M(O,1)):(O=qg($),O.c(),M(O,1),O.m(e,s)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye());const ie={};pe[0]&8192&&(ie.disable=$[13]),pe[0]&12288|pe[4]&67108864&&(ie.$$scope={dirty:pe,ctx:$}),o.$set(ie),$[11]?U||(U=Kg(),U.c(),U.m(e,g)):U&&(U.d(1),U=null),$[25]?F&&(Ce(),q(F,1,1,()=>{F=null}),ye()):F?(F.p($,pe),pe[0]&33554432&&M(F,1)):(F=jg($),F.c(),M(F,1),F.m(e,h)),$[21]?H&&(Ce(),q(H,1,1,()=>{H=null}),ye()):H?(H.p($,pe),pe[0]&2097152&&M(H,1)):(H=Jg($),H.c(),M(H,1),H.m(e,_)),$[21]||$[22]?G&&(Ce(),q(G,1,1,()=>{G=null}),ye()):G?(G.p($,pe),pe[0]&6291456&&M(G,1)):(G=Qg($),G.c(),M(G,1),G.m(e,p)),$[16]&&!$[21]?x?(x.p($,pe),pe[0]&2162688&&M(x,1)):(x=Zg($),x.c(),M(x,1),x.m(e,null)):x&&(Ce(),q(x,1,1,()=>{x=null}),ye()),(!v||pe[0]&48234496&&b!==(b=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-16jxfob"))&&f(e,"class",b),(!v||pe[0]&16777216)&&f(e,"configversion",$[24])},i($){if(!v){M(C);for(let pe=0;pe<P.length;pe+=1)M(I[pe]);M(T),M(R),M(O),M(o.$$.fragment,$),M(F),M(H),M(G),M(x),v=!0}},o($){q(C),I=I.filter(dy);for(let pe=0;pe<I.length;pe+=1)q(I[pe]);q(T),q(R),q(O),q(o.$$.fragment,$),q(F),q(H),q(G),q(x),v=!1},d($){$&&L(e),C&&C.d(),ct(I,$),T&&T.d(),R&&R.d(),O&&O.d(),ze(o),U&&U.d(),F&&F.d(),H&&H.d(),G&&G.d(),x&&x.d(),S=!1,y()}}}function my(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,b,v,S,y,C,P,I,E,T,R,O,U,F,H,G,x,$,pe=!0,ie=!1,W,ue,ee,Y=[],Pe={isDirty:!1,persistUrl:null},le,Ue,Ie=!1,ce,X,he={},ae,Ve,He,{isSearchFieldVisible:be}=e,{inputElem:Ge}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:Wt}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:pn}=e;const un=async B=>{const fe=B.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,je=await re.readUserSettings(),Oe=Ee&&typeof je=="object"&&je!==null,we=Le.applyCoreStateData({isNavigateBack:ie,viewStackSize:Y.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Oe?je[Ee]:null,anchor:al.getAnchor(),cssVariables:await Io.getCSSVariables()});return Le.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=B[De]||!1}),we},mn=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||R)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await un(B)),authData:ol.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Le.sendMessageToIframe(B.iframe,Ee)},Bi=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Le.broadcastMessageToAllIframes(fe)},bn=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Cn(B.params),je=et.getNodePath(U,O);Y.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ne.replaceVars(je,fe.iframe.luigi.pathParams,":",!1):je,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:E}),fe.iframe.pv="pv"}},Qt=(B,fe,Ee,je)=>{let Oe=Cn(B.params,Ee,je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:_t}=B.params,Ot={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:_t};return Oe=ne.addLeadingSlash(Oe),Oe=De?me.composeSearchParamsToRoute(Oe):Oe,bn(B,fe),et.navigateTo(Oe,Ot)},Rn=B=>B.split("?")[0],Et=(B,fe)=>{if(B.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,je=[...B].pop();return[Rn(je.path),Rn(je.nextPath)].includes(Rn(Ee))},cl=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},xt=B=>new Promise((fe,Ee)=>{Wl(B)?Pi().then(()=>{cl(),fe()},()=>{Ee()}):fe()}),fn=()=>({get:()=>({unsavedChanges:Pe,hideNav:yi,viewUrl:F,nodeParams:T,viewGroup:H,urlParamsRaw:O,currentNode:U,navigationPath:ue,context:E,pathParams:R,hideSideNav:Wi,isolateView:G,pageErrorHandler:x,previousNodeValues:$,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:P,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:ie,goBackContext:W,isNavigationSyncEnabled:pe}),set:B=>{B&&(t(23,hl=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(21,yi=B.hideNav):fe==="viewUrl"?F=B.viewUrl:fe==="nodeParams"?T=B.nodeParams:fe==="viewGroup"?H=B.viewGroup:fe==="urlParamsRaw"?O=B.urlParamsRaw:fe==="currentNode"?U=B.currentNode:fe==="navigationPath"?t(15,ue=B.navigationPath):fe==="context"?E=B.context:fe==="pathParams"?t(14,R=B.pathParams):fe==="hideSideNav"?(Wi!=B.hideSideNav&&(t(23,hl=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,Wi=B.hideSideNav)):fe==="isolateView"?G=B.isolateView:fe==="pageErrorHandler"?x=B.pageErrorHandler:fe==="previousNodeValues"?$=B.previousNodeValues:fe==="mfSplitView"?t(12,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?y=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?He=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(He)):fe==="tabNav"?t(16,Ue=B.tabNav):fe==="isNavigateBack"?ie=B.isNavigateBack:fe==="goBackContext"?W=B.goBackContext:fe==="isNavigationSyncEnabled"&&(pe=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Wl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Pi,showAlert:gl,prepareInternalData:un,dispatch:n}),qn=(B,fe)=>{on.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Wn.deleteCache();const je=et.getCurrentPath();et.handleRouteChange(je,fn(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Ee,je)=>{const{withoutSync:Oe,preventContextUpdate:we}=je||{};Et(Y,Ee)||(Y=[],Ln.removeInactiveIframes(B));for(let _t=gt.length;_t--;)J(_t);$r.removeBackdrop(),Hi(),et.handleRouteChange(Ee,fn(),B,fe,Oe,we)})},qt=(B,fe)=>ne.replaceVars(et.getNodePath(B),fe,":",!1),Cn=(B,fe,Ee)=>{const je=fe||U,Oe=Ee||R;let we=ue;if(fe){let _t=fe.parent;for(we=[fe];_t;)we.push(_t),_t=_t.parent;we=[...we].reverse()}let De=B.link;if(B.fromVirtualTreeRoot){const _t=[...we].reverse().find(Ot=>Ot.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(qt(_t,Oe),B.link)}else if(B.fromParent)De=et.concatenatePath(qt(je.parent,Oe),B.link);else if(B.fromClosestContext){const _t=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);De=et.concatenatePath(qt(_t,Oe),B.link)}else if(B.fromContext){const _t=B.fromContext,Ot=[...we].reverse().find(Lr=>_t===Lr.navigationContext);De=et.concatenatePath(qt(Ot,Oe),B.link)}else B.intent?De=me.getIntentPath(B.link):B.relative&&(De=et.concatenatePath(qt(je,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((_t,Ot)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),De},fi=B=>{const fe=B.detail.node;xt().then(()=>{if(Bl(),fe.openNodeInModal){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);Ki(Ee,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,hi(Ee,fe.drawer)}else fn().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(fe,fn())},()=>{})},ci=()=>{t(17,Ie=!Ie)};Jr("handleNavigation",Qt);const cn=B=>B?!0:(console.warn("No search provider defined."),!1),Ci=()=>{cn(X)&&t(0,be=!1)},te=()=>{cn(X)&&Ge&&(t(0,be=!0),Ge.focus())},Ae=()=>{cn(X)&&Ge&&(t(1,Ge.value="",Ge),Gn())},at=()=>{t(0,be=!be),Fw.clearSearchField()},Nt=()=>{if(cn(X)&&Ge)return Ge.value},Ct=B=>{cn(X)&&Ge&&(t(1,Ge.value=B,Ge),ne.isFunction(X.onInput)?X.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=B=>{cn(X)&&Ge&&t(1,Ge.placeholder=B,Ge)},En=B=>{if(cn(X))if(B&&B.length>0)if(ne.isFunction(X.customSearchResultRenderer)){t(4,kt=!0);let fe={fireItemSelected:Ee=>{X.onSearchResultItemSelected(Ee)}};X.customSearchResultRenderer(B,St,fe)}else t(3,Wt=!0),t(5,Yt=B);else console.warn("Search result array is empty.")},Gn=()=>{if(cn(X)&&(t(3,Wt=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ni=B=>{let fe=B.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Qt(Ee)},Ml=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(fn(),B,fe)},Hi=()=>{st.close(fn())},pr=()=>{st.collapse(fn()),t(12,o.collapsed=!0,o)},mr=()=>{st.expand(fn()),t(12,o.collapsed=!1,o)},Ol=()=>o.displayed?o.collapsed:!1,br=()=>o.displayed?!o.collapsed:!1,vr=()=>o.displayed,wr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},dl=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},Sr=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let yi,Wi,hl,zi,Fl,Ul;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},kr=()=>{wl();const B=window.innerWidth>=$t.desktopMinWidth&&zi<$t.desktopMinWidth,fe=window.innerWidth<$t.desktopMinWidth&&zi>=$t.desktopMinWidth;(B||fe)&&Bl(),zi=window.innerWidth};let yn=[];const qi=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===fe)[0]},gl=(B,fe=!1)=>{const Ee=re.getConfigValue("settings.customAlertHandler");if(ne.isFunction(Ee)){const Oe=Ee(B,fe);if(Oe!==!1)return Oe}const je=yn;return B.id||(B.id=ne.getRandomId()),B.id&&je&&qi(je,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(()=>{qi(yn,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Oe,we)=>{t(26,yn=[...je||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Oe}}])}))},Hl=(B,fe)=>{const Ee=qi(yn,B);if(!Ee){console.error("An unexisting alert has been dismissed.",yn,B);return}if(t(26,yn=yn.filter(je=>je.settings.id!==B)),Ee.openFromClient){const je=Ln.getActiveIframe(ee),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Le.sendMessageToIframe(je,Oe)}else Ee.promise&&Ee.promise.resolve(fe||B)},Cr=B=>{Hl(B.detail.id,B.detail.dismissKey)};let Gi;const _l=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};_l();const pl=(B,fe=!1,Ee)=>new Promise((je,Oe)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:je,reject:Oe},targetIframe:Ee})}),di=B=>{const{promise:fe,openFromClient:Ee,targetIframe:je}=Gi;if(_l(),B?fe.resolve():fe.reject(),Ee&&je){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Le.sendMessageToIframe(je,Oe)}},Wl=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Pi=()=>pl({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Jr("getUnsavedChangesModalPromise",xt);let gt=[];const ml=B=>{if(typeof B>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((fe,Ee)=>B!==Ee))};ml();const Ki=async(B,fe)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Ee={mfModal:{displayed:!0,nodepath:B,settings:fe}};t(28,gt=[...gt,Ee]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&gt.length===1&&et.appendModalDataToUrl(B,fe)},bl=(B,fe)=>{t(28,gt[fe].modalIframe=B.detail.modalIframe,gt),t(28,gt[fe].modalIframeData=B.detail.modalIframeData,gt)},vl=(B,fe)=>{t(28,gt[fe].modalWC=B.detail.modalWC,gt),t(28,gt[fe].modalWCData=B.detail.modalWCData,gt)},J=(B,fe,Ee)=>{const je=(De,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&gt.length===1&&et.removeModalDataFromUrl(_t),ml(De)},Oe=gt[B],we=ne.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?xt(Oe.modalIframe.contentWindow).then(()=>{je(B,fe),we&&we.doResolve(Ee)},()=>{}):Oe&&Oe.modalWC&&(je(B,fe),we&&we.doResolve(Ee))};Jr("openViewInModal",Ki);let tt={};const dn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};dn();const hi=async(B,fe)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,tt.displayed=!0,tt),t(29,tt.nodepath=B,tt),t(29,tt.settings=fe,tt),tt.settings&&tt.settings.backdrop&&t(13,_=!0))},es=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,wl=()=>{if(!es())return;const B=document.querySelector(".iframeModalCtn._drawer"),fe=Le.getCurrentMicrofrontendIframe();if(B&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ee}=getComputedStyle(B),je=fe.clientWidth;fe.setAttribute("style",`width: calc(${je}px - ${Ee})`)}},ts=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,wl()},Pr=B=>{v=B.detail.modalWC,B.detail.modalWCData,wl()},ca=B=>{h=B.detail.activeDrawer},zl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{dn()},()=>{}):v&&xt().then(()=>{dn()},()=>{}),Le.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},ql=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,he.userSettingGroups=[...B],he),t(18,he.displayed=!0,he)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,he.displayed=!1,he)},da=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;re.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},is=B=>{let fe=ue;if(U){let Oe=U.parent;for(fe=[U];Oe;)fe.push(Oe),Oe=Oe.parent;fe=[...fe].reverse()}let Ee=B.link,je=qt(U,R);if(B.fromVirtualTreeRoot){const Oe=[...fe].reverse().find(De=>De.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=qt(Oe,R);Ee=je.split(we).join("")}else if(B.fromParent){const Oe=qt(U.parent,R);Ee=je.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...fe].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=qt(Oe,R);Ee=je.split(we).join("")}else if(B.fromContext){const Oe=B.fromContext,we=[...fe].reverse().find(_t=>Oe===_t.navigationContext),De=qt(we,R);Ee=je.split(De).join("")}else Ee=je;return Ee};function ls(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const fe=re.getConfigValue("navigation.defaults.isolateView"),Ee=re.getConfigValue("navigation.defaults.pageErrorHandler"),je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Le.broadcastMessageToAllIframes(De)}),An.addEventListener("popstate",async we=>{const De=yn;if(!De||!(De.length>0))return;const _t=De.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,yn=_t)}),An.addEventListener("message",async we=>{const De=Le.getValidMessageSource(we),_t=gt[gt.length-1],Ot=_t&&_t.modalIframe,Lr=_t&&_t.modalIframeData,Ji={modalIframe:Ot,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!De)return;De._ready=!0;const yt=Le.getSpecialIframeMessageSource(we,Ji),dt=yt&&yt.length>0,Ar=re.getConfigValue("communication.skipEventsWhenInactive");if(Ar&&Ar.length>0&&!dt&&De.contentWindow!==window&&!ne.isElementVisible(De)&&Ar.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Ke=re.getConfigValue("communication.customMessagesListeners")||{},It=la.convertCustomMessageInternalToUser(we.data),Dt=Ke[It.id],en="luigi.updateUserSettings";if(he&&It.id===en){Dt&&console.warn(`The key "${en}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const Dn=ui.getMicrofrontends().find(Kn=>Le.isMessageSource(we,Kn.container));Dt(It,Dn,ne.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Oe.navigateOk=!0,ar.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,dt)yt.forEach(async Ke=>{let It=Ji[Ke.dataKey].context;const Dt={...Oe,iframe:Ji[Ke.iframeKey],context:It,pathParams:Ji[Ke.dataKey].pathParams,nodeParams:Ji[Ke.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Ji[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await mn(Dt,{})});else if(Oe.iframe&&Le.isMessageSource(we,Oe.iframe))await mn(Oe,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&ha(),ar.preload();else if(De.luigi.preloading)await mn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=ur.findActiveCustomUserSettingsIframe(we.source);if(Ke){let It=Ke.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:pn[It]},iframe:Ke};await mn(Dt)}}ar.viewGroupLoaded(De)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(He),t(11,s=!1)),we.data.msg==="luigi.navigation.open"){ie=!1;const Ke=window.location.href,It=dt?De.luigi.currentNode:void 0,Dt=dt?De.luigi.pathParams:void 0,en=we.data.params,{intent:Dn,newTab:Kn,modal:Sl,splitView:Gt,drawer:Yi,withoutSync:Qi}=en;let Kl=Kn||Sl||Gt||Yi;const Rr=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},rn=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Zi=Vn=>{!Vn||Ke!==window.location.href?Rr():rn()};we.source!==window&&!Dn&&en.link&&(en.link=en.link.split("?")[0]);let sn=Cn(we.data.params,It,Dt);if(Kl=Kl||Dn&&sn.external,!Kl)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Oe,It,Dt).then(()=>{Zi(!0)}).catch(()=>{rn()}),gt.forEach((Vn,cs)=>{J(cs)}),Hi(),zl(),pe=!0}).catch(()=>{rn()});else{if(Dn&&sn.external){et.navigateToExternalLink({url:sn.url,sameWindow:!sn.openInNewTab});return}if(sn=ne.addLeadingSlash(sn),Kn){await da(sn),Zi();return}const Vn=await Nr(sn);if(sn=await me.handlePageNotFoundAndRetrieveRedirectPath(fn(),sn,Vn),!sn){rn();return}ee=B,Sl!==void 0?(!Sl.keepPrevious&&ml(),await Ki(sn,Sl===!0?{}:Sl),Zi()):Gt!==void 0?(await Ml(sn,Gt),Zi()):Yi!==void 0&&(dn(),Yi.isDrawer=!0,await hi(sn,Yi),Zi())}}if(we.data.msg==="luigi.navigation.back"){const Ke=gt[gt.length-1],It=gt.length>1&&gt[gt.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Le.isMessageSource(we,Ke&&Ke.modalIframe)){J(gt.length-1,!0,Dt);let en=Oe;if(It&&It.modalIframeData&&It.modalIframe){const Dn=It,Kn=Dn.modalIframeData;en={pathParams:Kn.pathParams,context:Kn.context,iframe:Dn.modalIframe}}en.iframe&&await mn(en,{goBackContext:Dt})}else Le.isMessageSource(we,y)?(Hi(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Le.isMessageSource(we,p)?(h&&(h=!h),zl(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Y&&Y.length>0?xt().then(()=>{Ln.setActiveIframeToPrevious(B);const en=Y.pop();Oe.iframe=Ln.getActiveIframe(B),ie=!0,Y=Y,W=Dt,Qt({params:{link:en.path}},Oe)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const Ke=we.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(Ke),correlationId:Ke.id}};Le.sendMessageToIframe(De,Dt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Bi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(dt){const Ke=ne.addLeadingSlash(Cn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(Ke,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const Ke=De.luigi.currentNode,It=De.luigi.pathParams,Dt=we.data.data,en=Cn(Dt,Ke,It),Dn=en?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),en):!1,Kn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:Dn?Dn.isExistingRoute:!1}};Le.sendMessageToIframe(De,Kn)}if(we.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const Ke=new Set;Ke.add(we.source),Pe={dirtySet:Ke}}Pe.persistUrl=window.location.href,we.data.dirty?Pe.dirtySet.add(we.source):Pe.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Ke=we.data.data.settings;ee=B,_l(),pl(Ke,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=we.data.data;if(!Ke.text&&!ne.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ee=B,gl(Ke,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=we.data.data;Ke&&pt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Gl(),we.data.msg==="storage"&&oS.process(De.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Ke=De.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&ne.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(we.data.errorObj,Ke):je&&ne.isFunction(je.errorFn)&&je.errorFn(we.data.errorObj,Ke)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:It}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,Ke,It)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(dt)return;const{data:Ke,keepBrowserHistory:It}=we.data;al.addNodeParams(Ke,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Ke}=we.data;al.setAnchor(Ke)}if(we.data.msg==="luigi.setVGData"){const Ke=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Dt=Ln.getViewGroupSettings(It);Dt._liveCustomData=Ke.data,re.configChanged("navigation.viewgroupdata")}}}),qn(B,Oe)}Jr("store",l),Jr("getTranslation",r);const Gl=B=>{ce&&ce.thirdPartyCookieErrorHandling&&ne.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()};function ha(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(He),t(11,s=!1)},250)):clearTimeout(He)}const Nr=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Cn(fe),je=Ee?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ee):!1;return je?je.isExistingRoute:!1},Ir=()=>gt.length>0||Y.length!==0;Jt(()=>{if(Io._init(),X=re.getConfigValue("globalSearch.searchProvider"),le=re.getConfigValue("settings.responsiveNavigation"),zi=window.innerWidth,le==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,fe]=ke.getBurgerTooltipConfig();B&&fe&&t(19,ae=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(le==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,fe]=ke.getBurgerTooltipConfig();if(B&&fe){const Ee=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,ae=Ee?B:fe)}}document.body.classList.add("lui-semiCollapsible")}ce=re.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{cy()==="disabled"&&Gl()}),document.body.removeChild(B)}})}),ua(()=>{wl()}),zn(()=>{t(20,Ve=re.getConfigValue("navigation.breadcrumbs")),X=re.getConfigValue("globalSearch.searchProvider"),t(24,Fl=re.getConfigValue("tag")),t(25,Ul=re.getConfigValue("settings.header.disabled"))});const Tr=B=>J(B,!0),ji=(B,fe)=>bl(fe,B),rs=(B,fe)=>vl(fe,B),ss=()=>di(!0),ga=()=>di(!1);function as(B){pn=B,t(6,pn)}function os(B){be=B,t(0,be)}function us(B){Wt=B,t(3,Wt)}function fs(B){kt=B,t(4,kt)}function _a(B){Yt=B,t(5,Yt)}function pa(B){Ge=B,t(1,Ge)}function ma(B){St=B,t(2,St)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,be=B.isSearchFieldVisible),"inputElem"in B&&t(1,Ge=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,St=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Wt=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,kt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Yt=B.searchResult),"storedUserSettings"in B&&t(6,pn=B.storedUserSettings)},[be,Ge,St,Wt,kt,Yt,pn,at,Gn,ni,ns,s,o,_,R,ue,Ue,Ie,he,ae,Ve,yi,Wi,hl,Fl,Ul,yn,Gi,gt,tt,fi,ci,wr,dl,Sr,kr,Cr,di,bl,vl,J,ts,Pr,ca,zl,ls,l,r,Ci,te,Ae,Nt,Ct,ln,En,Ml,Hi,pr,mr,Ol,br,vr,gl,pl,yr,ql,Nr,Ir,Tr,ji,rs,ss,ga,as,os,us,fs,_a,pa,ma]}class by extends Rt{constructor(e){super(),At(this,e,my,py,Tt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const vy=()=>{const{subscribe:i,update:e,reset:t}=dr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},P_=vy(),wy=Aw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=P_;const Sy=()=>new Promise(i=>{pt._init(),nn.init().then(()=>{setTimeout(()=>{let e;ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new by({target:ui.getLuigiContainer(),props:{store:P_,getTranslation:wy}}),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(),i()})})});re.setConfigCallbacks(Sy);
61
61
  //# sourceMappingURL=luigi.js.map