@luigi-project/core 2.8.1-dev.202402120025 → 2.8.1-dev.202402130025

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 +18 -18
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,11 +1,11 @@
1
- var sw=Object.defineProperty;var aw=(i,e,t)=>e in i?sw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Of=(i,e,t)=>(aw(i,typeof e!="symbol"?e+"":e,t),t);function Fe(){}function ow(i,e){for(const t in e)i[t]=e[t];return i}function uw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function e_(i){return i()}function Ff(){return Object.create(null)}function Qe(i){i.forEach(e_)}function Rl(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Zs;function it(i,e){return Zs||(Zs=document.createElement("a")),Zs.href=e,i===Zs.href}function fw(i){return Object.keys(i).length===0}function Ao(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ll(i){let e;return Ao(i,t=>e=t)(),e}function Si(i,e,t){i.$$.on_destroy.push(Ao(e,t))}function t_(i,e,t,n){if(i){const l=n_(i,e,t,n);return i[0](l)}}function n_(i,e,t,n){return i[1]&&n?ow(t.ctx.slice(),i[1](n(e))):t.ctx}function i_(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 l_(i,e,t,n,l,r){if(l){const s=n_(e,t,n,r);i.p(s,l)}}function r_(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 $n(i){return i??""}function cw(i){return i&&Rl(i.destroy)?i.destroy:Fe}function S(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode&&i.parentNode.removeChild(i)}function dt(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function C(i){return document.createElement(i)}function dw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function q(){return Ne(" ")}function ke(){return Ne("")}function ae(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 hw(i){return Array.from(i.childNodes)}function Ie(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Uf(i,e){i.value=e??""}function oi(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function mi(i,e,t){i.classList[t?"add":"remove"](e)}function gw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class cr{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=dw(t.nodeName):this.e=C(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)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let Kr;function Mi(i){Kr=i}function ol(){if(!Kr)throw new Error("Function called outside component initialization");return Kr}function Hn(i){ol().$$.before_update.push(i)}function jt(i){ol().$$.on_mount.push(i)}function fa(i){ol().$$.after_update.push(i)}function Qr(i){ol().$$.on_destroy.push(i)}function Ht(){const i=ol();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=gw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return ol().$$.context.set(i,e),e}function gt(i){return ol().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Gr=[],tt=[],xs=[],Po=[],_w=Promise.resolve();let No=!1;function pw(){No||(No=!0,_w.then(Eo))}function Io(i){xs.push(i)}function Nt(i){Po.push(i)}const ko=new Set;let Xs=0;function Eo(){const i=Kr;do{for(;Xs<Gr.length;){const e=Gr[Xs];Xs++,Mi(e),mw(e.$$)}for(Mi(null),Gr.length=0,Xs=0;tt.length;)tt.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(Gr.length);for(;Po.length;)Po.pop()();No=!1,ko.clear(),Mi(i)}function mw(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Io)}}const ea=new Set;let Al;function ye(){Al={r:0,c:[],p:Al}}function Pe(){Al.r||Qe(Al.c),Al=Al.p}function M(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Al.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&&_&&(ye(),z(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Pe())}):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&&Eo()}if(uw(i)){const l=ol();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 s_(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 ul=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function It(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function We(i){i&&i.c()}function Be(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Io(()=>{const s=i.$$.on_mount.map(e_).filter(Rl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Qe(s),i.$$.on_mount=[]}),r.forEach(Io)}function He(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function bw(i,e){i.$$.dirty[0]===-1&&(Gr.push(i),pw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Et(i,e,t,n,l,r,s,o=[-1]){const c=Kr;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Ff(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Ff(),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,...w)=>{const m=w.length?w[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=m)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](m),h&&bw(i,_)),p}):[],g.update(),h=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=hw(e.target);g.fragment&&g.fragment.l(_),_.forEach(T)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),Be(i,e.target,e.anchor,e.customElement),Eo()}Mi(c)}class Rt{$destroy(){He(this,1),this.$destroy=Fe}$on(e,t){if(!Rl(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&&!fw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class vw{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 vw;class ww{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new ww;class Sw{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 Bn=new Sw;let Cw=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{n2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=fn.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 bi.isAuthorizationEnabled()}unload(){this.initialized=!1,ln.unload(),Ln.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(){Bn.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 Cw;let kw=class{constructor(){}isAuthorizationEnabled(){return!!se.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&ln.startAuthorization()}logout(){this.isAuthorizationEnabled()&&ln.logout()}async handleAuthEvent(e,t,n,l){const r=await se.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 se.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 a_=new kw,xt={desktopMinWidth:600},yw=[{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"}],Pw={cssSelector:"[luigi-app-root]"},Nw={cssSelector:"[luigi-app-loading-indicator]"};let Iw=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(Pw.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 Te.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Te.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Te.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const o_=new Iw;class Tw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Xn extends Tw{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 Lw{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 u_=new Lw,Aw={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"}}},Ew=Aw;class Rw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ew,this.listeners={}}_init(){fn.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("{"+fr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const f_=new Rw;class Dw{sendToAll(e){const t=la.convertCustomMessageUserToInternal(e);Te.getMicrofrontendsInDom().map(n=>n.container).map(n=>Te.sendMessageToIframe(n,t))}send(e,t){const n=la.convertCustomMessageUserToInternal(t);Te.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Te.sendMessageToIframe(l,n))}}const Vw=new Dw,ir=[];function Mw(i,e){return{subscribe:or(i,e).subscribe}}function or(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!ir.length;for(const g of n)g[1](),ir.push(g,i);if(c){for(let g=0;g<ir.length;g+=2)ir[g][0](ir[g+1]);ir.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 Ow{initial(){this.responsiveNavSetting=se.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(Se.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<xt.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<xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>xt.desktopMinWidth&&this.previousWindowWidth>=xt.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(Se.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Se.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 pi=new Ow;let Fw=class{constructor(){this.documentTitle=or()}hideAppLoadingIndicator(){const e=document.querySelector(Nw.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 ll(this.documentTitle)}collapseLeftSideNav(e){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const c_=new Fw;let Uw=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const d_=new Uw;let Bw=class{constructor(){this.currentTheme}async getAvailableThemes(){return await se.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=se.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!!se.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=se.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(se.getConfigValue("settings.theming.variables.errorHandling"))?se.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else se.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=se.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Jr.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")};fn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const h_=new Bw;let Hw=class{constructor(){this.featureToggleList=or([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ll(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ll(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ll(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ll(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 ll(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ll(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const g_=new Hw;let Ww=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(se.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);se.getConfigValue("routing.useHashRouting")?n.hash=_e.addParamsOnHashRouting(e,n.hash):_e.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),se.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=_e.getContentViewParamPrefix(),l=new URL(location);se.getConfigValue("routing.useHashRouting")?l.hash=_e.addParamsOnHashRouting(e,l.hash,n):_e.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),se.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 se.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(se.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 __=new Ww,se=ra,bi=a_,ui=o_,p_=u_,pt=f_,Zr=c_,zw=d_,To=h_,Ro=g_,rl=__;window.Luigi=ra;window.Luigi.auth=()=>a_;window.Luigi.elements=()=>o_;window.Luigi.navigation=()=>u_;window.Luigi.i18n=()=>f_;window.Luigi.customMessages=()=>Vw;window.Luigi.ux=()=>c_;window.Luigi.globalSearch=()=>d_;window.Luigi.theming=()=>h_;window.Luigi.featureToggles=()=>g_;window.Luigi.routing=()=>__;class qw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Te.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Te.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)}canCache(e){const t=Se.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()})};Te.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=Se.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()})};Te.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:(Te.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)):Se.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=_e.substituteViewUrl(r,l));const s=Te.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Te.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Te.getMainIframes(),p=this.getPreservedViewsInDom(_);let w,m=!1;if(p.length>0&&(w=p.shift(),w===h&&(m=!0,h=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let v;if(!c&&l.viewGroup){const y=Te.getMainIframes().filter(N=>N.vg===l.viewGroup);y.length>0&&(v=y[0],h=this.switchActiveIframe(n,v,h&&!h.vg))}h&&!v&&(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),m?(this.notifyInactiveIframes(),Te.hideElementChildren(n)):Te.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Te.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Te.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const k=l.currentNode.pageErrorHandler;k?this.checkIframe(k,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const k=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},_e.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(k)};l.isNavigationSyncEnabled?(Te.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(A=>{Te.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:A[I.userSettingsGroup]},internal:Te.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Te.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({},_e.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Te.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Te.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const si=new qw;class Gw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(se.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Se.getAllViewGroupSettings();if(!l)return;const r=Te.getIframeContainer(),s=Te.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=Te.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 lr=new Gw;class Kw{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(Bn.hasRootNode()&&(l=Bn.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),Bn.setRootNode(l)}const r=n.split("/"),o={...se.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(Bn.hasChildren(e)){let r=Bn.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 Bn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Bn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Bn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>Se.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=Se.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=fr.sanitizeParam(o)),g=_e.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
+ var sw=Object.defineProperty;var aw=(i,e,t)=>e in i?sw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Of=(i,e,t)=>(aw(i,typeof e!="symbol"?e+"":e,t),t);function Oe(){}function ow(i,e){for(const t in e)i[t]=e[t];return i}function uw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function e_(i){return i()}function Ff(){return Object.create(null)}function Ze(i){i.forEach(e_)}function Rl(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Zs;function it(i,e){return Zs||(Zs=document.createElement("a")),Zs.href=e,i===Zs.href}function fw(i){return Object.keys(i).length===0}function Ao(i,...e){if(i==null)return Oe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ll(i){let e;return Ao(i,t=>e=t)(),e}function bi(i,e,t){i.$$.on_destroy.push(Ao(e,t))}function t_(i,e,t,n){if(i){const l=n_(i,e,t,n);return i[0](l)}}function n_(i,e,t,n){return i[1]&&n?ow(t.ctx.slice(),i[1](n(e))):t.ctx}function i_(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 l_(i,e,t,n,l,r){if(l){const s=n_(e,t,n,r);i.p(s,l)}}function r_(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 Yn(i){return i??""}function cw(i){return i&&Rl(i.destroy)?i.destroy:Oe}function S(i,e){i.appendChild(e)}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function dt(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function C(i){return document.createElement(i)}function dw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function z(){return Ne(" ")}function ke(){return Ne("")}function ae(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 Bt(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 hw(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Uf(i,e){i.value=e??""}function ai(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function gi(i,e,t){i.classList[t?"add":"remove"](e)}function gw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class cr{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=dw(t.nodeName):this.e=C(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)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}let Kr;function Vi(i){Kr=i}function ol(){if(!Kr)throw new Error("Function called outside component initialization");return Kr}function Un(i){ol().$$.before_update.push(i)}function Yt(i){ol().$$.on_mount.push(i)}function fa(i){ol().$$.after_update.push(i)}function Qr(i){ol().$$.on_destroy.push(i)}function zt(){const i=ol();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=gw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return ol().$$.context.set(i,e),e}function gt(i){return ol().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Gr=[],tt=[],xs=[],Po=[],_w=Promise.resolve();let No=!1;function pw(){No||(No=!0,_w.then(Eo))}function Io(i){xs.push(i)}function Nt(i){Po.push(i)}const ko=new Set;let Xs=0;function Eo(){const i=Kr;do{for(;Xs<Gr.length;){const e=Gr[Xs];Xs++,Vi(e),mw(e.$$)}for(Vi(null),Gr.length=0,Xs=0;tt.length;)tt.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(Gr.length);for(;Po.length;)Po.pop()();No=!1,ko.clear(),Vi(i)}function mw(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(Io)}}const ea=new Set;let Al;function ye(){Al={r:0,c:[],p:Al}}function Pe(){Al.r||Ze(Al.c),Al=Al.p}function O(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function W(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Al.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&&_&&(ye(),W(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Pe())}):e.block.d(1),g.c(),O(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Eo()}if(uw(i)){const l=ol();if(i.then(r=>{Vi(l),n(e.then,1,e.value,r),Vi(null)},r=>{if(Vi(l),n(e.catch,2,e.error,r),Vi(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 s_(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 ul=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function It(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function We(i){i&&i.c()}function Be(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Io(()=>{const s=i.$$.on_mount.map(e_).filter(Rl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(Io)}function He(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 bw(i,e){i.$$.dirty[0]===-1&&(Gr.push(i),pw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Et(i,e,t,n,l,r,s,o=[-1]){const c=Kr;Vi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Oe,not_equal:l,bound:Ff(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Ff(),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,...v)=>{const m=v.length?v[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=m)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](m),h&&bw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=hw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&O(i.$$.fragment),Be(i,e.target,e.anchor,e.customElement),Eo()}Vi(c)}class Rt{$destroy(){He(this,1),this.$destroy=Oe}$on(e,t){if(!Rl(t))return Oe;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&&!fw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class vw{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 vw;class ww{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new ww;class Sw{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 Fn=new Sw;let Cw=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{nS.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=fn.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),oi.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 _i.isAuthorizationEnabled()}unload(){this.initialized=!1,rn.unload(),In.removeAllEventListeners();const e=oi.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(){Fn.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 Cw;let kw=class{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&rn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&rn.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:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>si.setNewlyAuthorized()}}};const a_=new kw,en={desktopMinWidth:600},yw=[{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"}],Pw={cssSelector:"[luigi-app-root]"},Nw={cssSelector:"[luigi-app-loading-indicator]"};let Iw=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(Pw.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 o_=new Iw;class Tw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Jn extends Tw{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 Lw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Jn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Jn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Jn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Jn().openAsDrawer(e,t)}fromContext(e){return new Jn().fromContext(e)}fromClosestContext(){return new Jn().fromClosestContext()}fromVirtualTreeRoot(){return new Jn().fromVirtualTreeRoot()}withParams(e){return new Jn().withParams(e)}pathExists(e){return new Jn().pathExists(e)}hasBack(){return new Jn().hasBack()}goBack(e){return new Jn().goBack(e)}}const u_=new Lw,Aw={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"}}},Ew=Aw;class Rw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ew,this.listeners={}}_init(){fn.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("{"+fr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const f_=new Rw;class Dw{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 Vw=new Dw,ir=[];function Mw(i,e){return{subscribe:or(i,e).subscribe}}function or(i,e=Oe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!ir.length;for(const g of n)g[1](),ir.push(g,i);if(c){for(let g=0;g<ir.length;g+=2)ir[g][0](ir[g+1]);ir.length=0}}}function r(o){l(o(i))}function s(o,c=Oe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Oe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Ow{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(de.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<en.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<en.desktopMinWidth&&this.previousWindowWidth>=en.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>en.desktopMinWidth&&this.previousWindowWidth>=en.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(de.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(de.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 hi=new Ow;let Fw=class{constructor(){this.documentTitle=or()}hideAppLoadingIndicator(){const e=document.querySelector(Nw.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 ll(this.documentTitle)}collapseLeftSideNav(e){hi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Jn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const c_=new Fw;let Uw=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const d_=new Uw;let Bw=class{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&&Jr.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")};fn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const h_=new Bw;let Hw=class{constructor(){this.featureToggleList=or([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ll(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ll(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ll(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ll(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 ll(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ll(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const g_=new Hw;let Ww=class{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=pe.addParamsOnHashRouting(e,n.hash):pe.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=pe.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=pe.addParamsOnHashRouting(e,l.hash,n):pe.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 __=new Ww,re=ra,_i=a_,oi=o_,p_=u_,pt=f_,Zr=c_,zw=d_,To=h_,Ro=g_,rl=__;window.Luigi=ra;window.Luigi.auth=()=>a_;window.Luigi.elements=()=>o_;window.Luigi.navigation=()=>u_;window.Luigi.i18n=()=>f_;window.Luigi.customMessages=()=>Vw;window.Luigi.ux=()=>c_;window.Luigi.globalSearch=()=>d_;window.Luigi.theming=()=>h_;window.Luigi.featureToggles=()=>g_;window.Luigi.routing=()=>__;class qw{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)}canCache(e){const t=de.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=de.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)):de.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=pe.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 v,m=!1;if(p.length>0&&(v=p.shift(),v===h&&(m=!0,h=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let w;if(!c&&l.viewGroup){const y=Le.getMainIframes().filter(N=>N.vg===l.viewGroup);y.length>0&&(w=y[0],h=this.switchActiveIframe(n,w,h&&!h.vg))}h&&!w&&(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),m?(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 w=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Le.createIframe(r,w?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Le.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const k=l.currentNode.pageErrorHandler;k?this.checkIframe(k,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const w=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 k=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:w})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},pe.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(k)};l.isNavigationSyncEnabled?(Le.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(R=>{Le.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:R[T.userSettingsGroup]},internal:Le.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Le.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},pe.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Le.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Le.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ri=new qw;class Gw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=de.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 lr=new Gw;class Kw{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(Fn.hasRootNode()&&(l=Fn.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),Fn.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(Fn.hasChildren(e)){let r=Fn.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 Fn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Fn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Fn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>de.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=de.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=fr.sanitizeParam(o)),g=pe.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.
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=se.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Bn.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)?Se.groupNodesBy(n,"category",!0):{children:Se.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!_e.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let 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,se.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,Se.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&&Se.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(s.tabNav?s:Se.getParentNode(s,e.pathData),(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(se.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:_e.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Vt=new Kw,al={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},jw={externalLink:{sameWindow:!1}};class ur{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 Jw extends ur{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=m_({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 Yw extends ur{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>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Fn.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)?de.groupNodesBy(n,"category",!0):{children:de.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!pe.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let 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,de.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&&de.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(s.tabNav?s:de.getParentNode(s,e.pathData),(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:pe.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Vt=new Kw,al={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},jw={externalLink:{sameWindow:!1}};class ur{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 Jw extends ur{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=m_({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 Yw extends ur{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,39 +23,39 @@ 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 m_=i=>{const e=i.use;if(e){if(e==="grid")return new Yw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Jw(i)}else return new ur(i);return new ur(i)},Bf=(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]})},Qw=i=>Object.entries(i).reduce((e,t)=>(e[Hf(t[0])]=Hf(t[1]),e),{}),Hf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),Zw="500px",Xw="0px";class $w{constructor(){Of(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,s,o,c){if(n&&n.contains(t)){const g=document.createElement(e);s&&g.setAttribute("nodeId",s),g.setAttribute("lui_web_component",!0),this.initWC(g,e,n,r,l,s,o),n.replaceChild(g,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}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:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var _;return(_=e.extendedContext)!=null&&_.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const _={clientPermissions:e.extendedContext.clientPermissions};return _e.prepareSearchParamsForClient(_)},getClientPermissions:()=>{var _;return(_=e.extendedContext)!=null&&_.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(_,p)=>{o||window.Luigi.routing().addNodeParams(_,p)},getNodeParams:_=>{var w;if(o)return{};const p=(w=e.extendedContext)!=null&&w.nodeParams?e.extendedContext.nodeParams:{};return _?Qw(p):e.extendedContext.nodeParams},setAnchor:_=>{o||window.Luigi.routing().setAnchor(_)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:_=>{const p=Se.findViewGroup(n._luigi_node);if(p){const w=Se.getViewGroupSettings(p);w._liveCustomData=_,se.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const _=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,_.origin+_.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g;const h=se.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(h)&&h(e,r.currentNode,r,s,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=_e.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=se.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,o){var p;const c=n.context,g=_e.substituteViewUrl(e,{context:c}),h=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(g),_=document.createElement("div");t.appendChild(_),t._luigi_node=l,window.customElements.get(h)?this.attachWC(h,_,t,n,g,r,s,o):window.luigiWCFn?window.luigiWCFn(g,h,_,()=>{this.attachWC(h,_,t,n,g,r,s,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,g,()=>{this.attachWC(h,_,t,n,g,r,s,o)}):this.registerWCFromUrl(g,h).then(()=>{this.attachWC(h,_,t,n,g,r,s,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var s,o;if(e.viewUrl)try{const c=((s=n==null?void 0:n.webcomponent)==null?void 0:s.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(c);this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,s=this.wcContainerData.get(r);s?this.renderWebComponent(s.viewUrl,s.wc_container,s.extendedContext,s.node,s.nodeId,s.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,s,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((s=n.layoutConfig)==null?void 0:s.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||Zw;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new ur,l.viewUrl=_e.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer?l=m_(e.compound.renderer):l=new ur,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||Xw})}renderWebComponentCompound(e,t,n){var c,g;const l=((g=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:g.enabled)===!0,r=n.context,s=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),new Promise(h=>{this.createCompoundContainerAsync(s,n,e).then(_=>{const p={};_.eventBus={listeners:p,onPublishEvent:(w,m,v)=>{const k=p[m+"."+w.type]||[];k.push(...p["*."+w.type]||[]),k.forEach(y=>{const N=y.wcElement||_.querySelector("[nodeId="+y.wcElementId+"]");N?N.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(w.detail):w.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((w,m)=>{var N;const v={...r,...w.context},k=s.createCompoundItemContainer(w.layoutConfig),y=w.id||"gen_"+m;k.eventBus=_.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(k,e.compound,w),s.attachCompoundItem(_,k),this.wcContainerData.set(k,{viewUrl:w.viewUrl,wc_container:k,extendedContext:{context:v},node:w,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(N=e.compound.lazyLoadingOptions)==null?void 0:N.noTemporaryContainerHeight}),o.observe(k)):(s.attachCompoundItem(_,k),this.renderWebComponent(w.viewUrl,k,{context:v},w,y,!0,!1)),Bf(p,w,y)}),t.appendChild(_),Bf(p,e.compound,"_root",_),h(_)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;se.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const ar=new $w;var qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sa={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 m_=i=>{const e=i.use;if(e){if(e==="grid")return new Yw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Jw(i)}else return new ur(i);return new ur(i)},Bf=(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]})},Qw=i=>Object.entries(i).reduce((e,t)=>(e[Hf(t[0])]=Hf(t[1]),e),{}),Hf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),Zw="500px",Xw="0px";class $w{constructor(){Of(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,s,o,c){if(n&&n.contains(t)){const g=document.createElement(e);s&&g.setAttribute("nodeId",s),g.setAttribute("lui_web_component",!0),this.initWC(g,e,n,r,l,s,o),n.replaceChild(g,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}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:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var _;return(_=e.extendedContext)!=null&&_.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const _={clientPermissions:e.extendedContext.clientPermissions};return pe.prepareSearchParamsForClient(_)},getClientPermissions:()=>{var _;return(_=e.extendedContext)!=null&&_.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(_,p)=>{o||window.Luigi.routing().addNodeParams(_,p)},getNodeParams:_=>{var v;if(o)return{};const p=(v=e.extendedContext)!=null&&v.nodeParams?e.extendedContext.nodeParams:{};return _?Qw(p):e.extendedContext.nodeParams},setAnchor:_=>{o||window.Luigi.routing().setAnchor(_)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:_=>{const p=de.findViewGroup(n._luigi_node);if(p){const v=de.getViewGroupSettings(p);v._liveCustomData=_,re.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const _=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,_.origin+_.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g;const h=re.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(h)&&h(e,r.currentNode,r,s,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=pe.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,o){var p;const c=n.context,g=pe.substituteViewUrl(e,{context:c}),h=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(g),_=document.createElement("div");t.appendChild(_),t._luigi_node=l,window.customElements.get(h)?this.attachWC(h,_,t,n,g,r,s,o):window.luigiWCFn?window.luigiWCFn(g,h,_,()=>{this.attachWC(h,_,t,n,g,r,s,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,g,()=>{this.attachWC(h,_,t,n,g,r,s,o)}):this.registerWCFromUrl(g,h).then(()=>{this.attachWC(h,_,t,n,g,r,s,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var s,o;if(e.viewUrl)try{const c=((s=n==null?void 0:n.webcomponent)==null?void 0:s.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(c);this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,s=this.wcContainerData.get(r);s?this.renderWebComponent(s.viewUrl,s.wc_container,s.extendedContext,s.node,s.nodeId,s.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,s,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((s=n.layoutConfig)==null?void 0:s.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||Zw;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new ur,l.viewUrl=pe.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer?l=m_(e.compound.renderer):l=new ur,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||Xw})}renderWebComponentCompound(e,t,n){var c,g;const l=((g=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:g.enabled)===!0,r=n.context,s=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),new Promise(h=>{this.createCompoundContainerAsync(s,n,e).then(_=>{const p={};_.eventBus={listeners:p,onPublishEvent:(v,m,w)=>{const k=p[m+"."+v.type]||[];k.push(...p["*."+v.type]||[]),k.forEach(y=>{const N=y.wcElement||_.querySelector("[nodeId="+y.wcElementId+"]");N?N.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(v.detail):v.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((v,m)=>{var N;const w={...r,...v.context},k=s.createCompoundItemContainer(v.layoutConfig),y=v.id||"gen_"+m;k.eventBus=_.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(k,e.compound,v),s.attachCompoundItem(_,k),this.wcContainerData.set(k,{viewUrl:v.viewUrl,wc_container:k,extendedContext:{context:w},node:v,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(N=e.compound.lazyLoadingOptions)==null?void 0:N.noTemporaryContainerHeight}),o.observe(k)):(s.attachCompoundItem(_,k),this.renderWebComponent(v.viewUrl,k,{context:w},v,y,!0,!1)),Bf(p,v,y)}),t.appendChild(_),Bf(p,e.compound,"_root",_),h(_)})})}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 ar=new $w;var qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sa={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
- */sa.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,w=4,m=1,v=2,k=1,y=2,N=4,I=8,A=16,R=32,E=64,O=128,H=256,F=512,B=30,G="...",ee=800,te=16,Z=1,J=2,j=3,Y=1/0,be=9007199254740991,re=17976931348623157e292,oe=0/0,Ce=4294967295,De=Ce-1,ce=Ce>>>1,Re=[["ary",O],["bind",k],["bindKey",y],["curry",I],["curryRight",A],["flip",F],["partial",R],["partialRight",E],["rearg",H]],ne="[object Arguments]",x="[object Array]",me="[object AsyncFunction]",je="[object Boolean]",Ze="[object Date]",pe="[object DOMException]",qe="[object Error]",mt="[object Function]",rn="[object GeneratorFunction]",vt="[object Map]",Zt="[object Number]",An="[object Null]",Wt="[object Object]",Wn="[object Promise]",fl="[object Proxy]",Cn="[object RegExp]",ut="[object Set]",ei="[object String]",fi="[object Symbol]",_n="[object Undefined]",Jt="[object WeakMap]",cl="[object WeakSet]",Yt="[object ArrayBuffer]",en="[object DataView]",ci="[object Float32Array]",Ci="[object Float64Array]",cn="[object Int8Array]",ki="[object Int16Array]",yi="[object Int32Array]",ie="[object Uint8Array]",Le="[object Uint8ClampedArray]",st="[object Uint16Array]",yt="[object Uint32Array]",St=/\b__p \+= '';/g,sn=/\b(__p \+=) '' \+/g,kn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ti=/&(?:amp|lt|gt|quot|#39);/g,zn=/[&<>"']/g,Ui=RegExp(ti.source),dr=RegExp(zn.source),hr=/<%-([\s\S]+?)%>/g,gr=/<%([\s\S]+?)%>/g,Dl=/<%=([\s\S]+?)%>/g,_r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pr=/^\w*$/,mr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dl=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(dl.source),di=/^\s+/,gl=/\s/,Bi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,Ol=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,br=/[()=,{}\[\]\/\s]/,yn=/\\(\\)?/g,_l=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hi=/\w*$/,Fl=/^[-+]0x[0-9a-f]+$/i,vr=/^0b[01]+$/i,Wi=/^\[object .+?Constructor\]$/,pl=/^0o[0-7]+$/i,ml=/^(?:0|[1-9]\d*)$/,bl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pi=/($^)/,Ul=/['\n\r\u2028\u2029\\]/g,zi="\\ud800-\\udfff",ft="\\u0300-\\u036f",vl="\\ufe20-\\ufe2f",X="\\u20d0-\\u20ff",Lt=ft+vl+X,pn="\\u2700-\\u27bf",mn="a-z\\xdf-\\xf6\\xf8-\\xff",Qt="\\xac\\xb1\\xd7\\xf7",Bl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$r="\\u2000-\\u206f",ca=" \\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",qi="A-Z\\xc0-\\xd6\\xd8-\\xde",xr="\\ufe0e\\ufe0f",es=Qt+Bl+$r+ca,wr="['’]",da="["+zi+"]",Hl="["+es+"]",Wl="["+Lt+"]",ts="\\d+",ha="["+pn+"]",ns="["+mn+"]",is="[^"+zi+es+ts+pn+mn+qi+"]",zl="\\ud83c[\\udffb-\\udfff]",ga="(?:"+Wl+"|"+zl+")",Sr="[^"+zi+"]",Cr="(?:\\ud83c[\\udde6-\\uddff]){2}",kr="[\\ud800-\\udbff][\\udc00-\\udfff]",Gi="["+qi+"]",ls="\\u200d",rs="(?:"+ns+"|"+is+")",_a="(?:"+Gi+"|"+is+")",ss="(?:"+wr+"(?:d|ll|m|re|s|t|ve))?",as="(?:"+wr+"(?:D|LL|M|RE|S|T|VE))?",os=ga+"?",us="["+xr+"]?",pa="(?:"+ls+"(?:"+[Sr,Cr,kr].join("|")+")"+us+os+")*",ma="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ba="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",U=us+os+pa,fe="(?:"+[ha,Cr,kr].join("|")+")"+U,Ee="(?:"+[Sr+Wl+"?",Wl,Cr,kr,da].join("|")+")",ze=RegExp(wr,"g"),Me=RegExp(Wl,"g"),we=RegExp(zl+"(?="+zl+")|"+Ee+U,"g"),Ve=RegExp([Gi+"?"+ns+"+"+ss+"(?="+[Hl,Gi,"$"].join("|")+")",_a+"+"+as+"(?="+[Hl,Gi+rs,"$"].join("|")+")",Gi+"?"+rs+"+"+ss,Gi+"+"+as,ba,ma,ts,fe].join("|"),"g"),_t=RegExp("["+ls+zi+Lt+xr+"]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,yr=["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"],Ki=-1,Ct={};Ct[ci]=Ct[Ci]=Ct[cn]=Ct[ki]=Ct[yi]=Ct[ie]=Ct[Le]=Ct[st]=Ct[yt]=!0,Ct[ne]=Ct[x]=Ct[Yt]=Ct[je]=Ct[en]=Ct[Ze]=Ct[qe]=Ct[mt]=Ct[vt]=Ct[Zt]=Ct[Wt]=Ct[Cn]=Ct[ut]=Ct[ei]=Ct[Jt]=!1;var ht={};ht[ne]=ht[x]=ht[Yt]=ht[en]=ht[je]=ht[Ze]=ht[ci]=ht[Ci]=ht[cn]=ht[ki]=ht[yi]=ht[vt]=ht[Zt]=ht[Wt]=ht[Cn]=ht[ut]=ht[ei]=ht[fi]=ht[ie]=ht[Le]=ht[st]=ht[yt]=!0,ht[qe]=ht[mt]=ht[Jt]=!1;var Pr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ge={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Pt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tn=parseFloat,En=parseInt,qn=typeof qr=="object"&&qr&&qr.Object===Object&&qr,wl=typeof self=="object"&&self&&self.Object===Object&&self,qt=qn||wl||Function("return this")(),ji=e&&!e.nodeType&&e,Ji=ji&&!0&&i&&!i.nodeType&&i,ql=Ji&&Ji.exports===ji,Nr=ql&&qn.process,an=function(){try{var Q=Ji&&Ji.require&&Ji.require("util").types;return Q||Nr&&Nr.binding&&Nr.binding("util")}catch{}}(),Yi=an&&an.isArrayBuffer,on=an&&an.isDate,Rn=an&&an.isMap,fs=an&&an.isRegExp,Vo=an&&an.isSet,Mo=an&&an.isTypedArray;function Dn(Q,de,ue){switch(ue.length){case 0:return Q.call(de);case 1:return Q.call(de,ue[0]);case 2:return Q.call(de,ue[0],ue[1]);case 3:return Q.call(de,ue[0],ue[1],ue[2])}return Q.apply(de,ue)}function L_(Q,de,ue,Oe){for(var Xe=-1,bt=Q==null?0:Q.length;++Xe<bt;){var Xt=Q[Xe];de(Oe,Xt,ue(Xt),Q)}return Oe}function Gn(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe&&de(Q[ue],ue,Q)!==!1;);return Q}function A_(Q,de){for(var ue=Q==null?0:Q.length;ue--&&de(Q[ue],ue,Q)!==!1;);return Q}function Oo(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(!de(Q[ue],ue,Q))return!1;return!0}function Qi(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=0,bt=[];++ue<Oe;){var Xt=Q[ue];de(Xt,ue,Q)&&(bt[Xe++]=Xt)}return bt}function cs(Q,de){var ue=Q==null?0:Q.length;return!!ue&&Gl(Q,de,0)>-1}function va(Q,de,ue){for(var Oe=-1,Xe=Q==null?0:Q.length;++Oe<Xe;)if(ue(de,Q[Oe]))return!0;return!1}function Ft(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=Array(Oe);++ue<Oe;)Xe[ue]=de(Q[ue],ue,Q);return Xe}function Zi(Q,de){for(var ue=-1,Oe=de.length,Xe=Q.length;++ue<Oe;)Q[Xe+ue]=de[ue];return Q}function wa(Q,de,ue,Oe){var Xe=-1,bt=Q==null?0:Q.length;for(Oe&&bt&&(ue=Q[++Xe]);++Xe<bt;)ue=de(ue,Q[Xe],Xe,Q);return ue}function E_(Q,de,ue,Oe){var Xe=Q==null?0:Q.length;for(Oe&&Xe&&(ue=Q[--Xe]);Xe--;)ue=de(ue,Q[Xe],Xe,Q);return ue}function Sa(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(de(Q[ue],ue,Q))return!0;return!1}var R_=Ca("length");function D_(Q){return Q.split("")}function V_(Q){return Q.match(Ol)||[]}function Fo(Q,de,ue){var Oe;return ue(Q,function(Xe,bt,Xt){if(de(Xe,bt,Xt))return Oe=bt,!1}),Oe}function ds(Q,de,ue,Oe){for(var Xe=Q.length,bt=ue+(Oe?1:-1);Oe?bt--:++bt<Xe;)if(de(Q[bt],bt,Q))return bt;return-1}function Gl(Q,de,ue){return de===de?j_(Q,de,ue):ds(Q,Uo,ue)}function M_(Q,de,ue,Oe){for(var Xe=ue-1,bt=Q.length;++Xe<bt;)if(Oe(Q[Xe],de))return Xe;return-1}function Uo(Q){return Q!==Q}function Bo(Q,de){var ue=Q==null?0:Q.length;return ue?ya(Q,de)/ue:oe}function Ca(Q){return function(de){return de==null?t:de[Q]}}function ka(Q){return function(de){return Q==null?t:Q[de]}}function Ho(Q,de,ue,Oe,Xe){return Xe(Q,function(bt,Xt,At){ue=Oe?(Oe=!1,bt):de(ue,bt,Xt,At)}),ue}function O_(Q,de){var ue=Q.length;for(Q.sort(de);ue--;)Q[ue]=Q[ue].value;return Q}function ya(Q,de){for(var ue,Oe=-1,Xe=Q.length;++Oe<Xe;){var bt=de(Q[Oe]);bt!==t&&(ue=ue===t?bt:ue+bt)}return ue}function Pa(Q,de){for(var ue=-1,Oe=Array(Q);++ue<Q;)Oe[ue]=de(ue);return Oe}function F_(Q,de){return Ft(de,function(ue){return[ue,Q[ue]]})}function Wo(Q){return Q&&Q.slice(0,Ko(Q)+1).replace(di,"")}function Vn(Q){return function(de){return Q(de)}}function Na(Q,de){return Ft(de,function(ue){return Q[ue]})}function Ir(Q,de){return Q.has(de)}function zo(Q,de){for(var ue=-1,Oe=Q.length;++ue<Oe&&Gl(de,Q[ue],0)>-1;);return ue}function qo(Q,de){for(var ue=Q.length;ue--&&Gl(de,Q[ue],0)>-1;);return ue}function U_(Q,de){for(var ue=Q.length,Oe=0;ue--;)Q[ue]===de&&++Oe;return Oe}var B_=ka(Pr),H_=ka(Ge);function W_(Q){return"\\"+Dt[Q]}function z_(Q,de){return Q==null?t:Q[de]}function Kl(Q){return _t.test(Q)}function q_(Q){return Ot.test(Q)}function G_(Q){for(var de,ue=[];!(de=Q.next()).done;)ue.push(de.value);return ue}function Ia(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe,Xe){ue[++de]=[Xe,Oe]}),ue}function Go(Q,de){return function(ue){return Q(de(ue))}}function Xi(Q,de){for(var ue=-1,Oe=Q.length,Xe=0,bt=[];++ue<Oe;){var Xt=Q[ue];(Xt===de||Xt===h)&&(Q[ue]=h,bt[Xe++]=ue)}return bt}function hs(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=Oe}),ue}function K_(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=[Oe,Oe]}),ue}function j_(Q,de,ue){for(var Oe=ue-1,Xe=Q.length;++Oe<Xe;)if(Q[Oe]===de)return Oe;return-1}function J_(Q,de,ue){for(var Oe=ue+1;Oe--;)if(Q[Oe]===de)return Oe;return Oe}function jl(Q){return Kl(Q)?Q_(Q):R_(Q)}function ni(Q){return Kl(Q)?Z_(Q):D_(Q)}function Ko(Q){for(var de=Q.length;de--&&gl.test(Q.charAt(de)););return de}var Y_=ka(Pt);function Q_(Q){for(var de=we.lastIndex=0;we.test(Q);)++de;return de}function Z_(Q){return Q.match(we)||[]}function X_(Q){return Q.match(Ve)||[]}var $_=function Q(de){de=de==null?qt:Jl.defaults(qt.Object(),de,Jl.pick(qt,yr));var ue=de.Array,Oe=de.Date,Xe=de.Error,bt=de.Function,Xt=de.Math,At=de.Object,Ta=de.RegExp,x_=de.String,Kn=de.TypeError,gs=ue.prototype,ep=bt.prototype,Yl=At.prototype,_s=de["__core-js_shared__"],ps=ep.toString,kt=Yl.hasOwnProperty,tp=0,jo=function(){var a=/[^.]+$/.exec(_s&&_s.keys&&_s.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ms=Yl.toString,np=ps.call(At),ip=qt._,lp=Ta("^"+ps.call(kt).replace(dl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bs=ql?de.Buffer:t,$i=de.Symbol,vs=de.Uint8Array,Jo=bs?bs.allocUnsafe:t,ws=Go(At.getPrototypeOf,At),Yo=At.create,Qo=Yl.propertyIsEnumerable,Ss=gs.splice,Zo=$i?$i.isConcatSpreadable:t,Tr=$i?$i.iterator:t,Sl=$i?$i.toStringTag:t,Cs=function(){try{var a=Nl(At,"defineProperty");return a({},"",{}),a}catch{}}(),rp=de.clearTimeout!==qt.clearTimeout&&de.clearTimeout,sp=Oe&&Oe.now!==qt.Date.now&&Oe.now,ap=de.setTimeout!==qt.setTimeout&&de.setTimeout,ks=Xt.ceil,ys=Xt.floor,La=At.getOwnPropertySymbols,op=bs?bs.isBuffer:t,Xo=de.isFinite,up=gs.join,fp=Go(At.keys,At),$t=Xt.max,dn=Xt.min,cp=Oe.now,dp=de.parseInt,$o=Xt.random,hp=gs.reverse,Aa=Nl(de,"DataView"),Lr=Nl(de,"Map"),Ea=Nl(de,"Promise"),Ql=Nl(de,"Set"),Ar=Nl(de,"WeakMap"),Er=Nl(At,"create"),Ps=Ar&&new Ar,Zl={},gp=Il(Aa),_p=Il(Lr),pp=Il(Ea),mp=Il(Ql),bp=Il(Ar),Ns=$i?$i.prototype:t,Rr=Ns?Ns.valueOf:t,xo=Ns?Ns.toString:t;function D(a){if(zt(a)&&!$e(a)&&!(a instanceof ot)){if(a instanceof jn)return a;if(kt.call(a,"__wrapped__"))return ef(a)}return new jn(a)}var Xl=function(){function a(){}return function(u){if(!Bt(u))return{};if(Yo)return Yo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Is(){}function jn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}D.templateSettings={escape:hr,evaluate:gr,interpolate:Dl,variable:"",imports:{_:D}},D.prototype=Is.prototype,D.prototype.constructor=D,jn.prototype=Xl(Is.prototype),jn.prototype.constructor=jn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function vp(){var a=new ot(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 wp(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Sp(){var a=this.__wrapped__.value(),u=this.__dir__,d=$e(a),b=u<0,P=d?a.length:0,V=Dm(0,P,this.__views__),W=V.start,K=V.end,$=K-W,he=b?K:W-1,ge=this.__iteratees__,ve=ge.length,Ae=0,Ue=dn($,this.__takeCount__);if(!d||!b&&P==$&&Ue==$)return ku(a,this.__actions__);var Je=[];e:for(;$--&&Ae<Ue;){he+=u;for(var nt=-1,Ye=a[he];++nt<ve;){var at=ge[nt],ct=at.iteratee,Fn=at.type,wn=ct(Ye);if(Fn==J)Ye=wn;else if(!wn){if(Fn==Z)continue e;break e}}Je[Ae++]=Ye}return Je}ot.prototype=Xl(Is.prototype),ot.prototype.constructor=ot;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Cp(){this.__data__=Er?Er(null):{},this.size=0}function kp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function yp(a){var u=this.__data__;if(Er){var d=u[a];return d===c?t:d}return kt.call(u,a)?u[a]:t}function Pp(a){var u=this.__data__;return Er?u[a]!==t:kt.call(u,a)}function Np(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Er&&u===t?c:u,this}Cl.prototype.clear=Cp,Cl.prototype.delete=kp,Cl.prototype.get=yp,Cl.prototype.has=Pp,Cl.prototype.set=Np;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Ip(){this.__data__=[],this.size=0}function Tp(a){var u=this.__data__,d=Ts(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ss.call(u,d,1),--this.size,!0}function Lp(a){var u=this.__data__,d=Ts(u,a);return d<0?t:u[d][1]}function Ap(a){return Ts(this.__data__,a)>-1}function Ep(a,u){var d=this.__data__,b=Ts(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Ni.prototype.clear=Ip,Ni.prototype.delete=Tp,Ni.prototype.get=Lp,Ni.prototype.has=Ap,Ni.prototype.set=Ep;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Rp(){this.size=0,this.__data__={hash:new Cl,map:new(Lr||Ni),string:new Cl}}function Dp(a){var u=Hs(this,a).delete(a);return this.size-=u?1:0,u}function Vp(a){return Hs(this,a).get(a)}function Mp(a){return Hs(this,a).has(a)}function Op(a,u){var d=Hs(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}Ii.prototype.clear=Rp,Ii.prototype.delete=Dp,Ii.prototype.get=Vp,Ii.prototype.has=Mp,Ii.prototype.set=Op;function kl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Fp(a){return this.__data__.set(a,c),this}function Up(a){return this.__data__.has(a)}kl.prototype.add=kl.prototype.push=Fp,kl.prototype.has=Up;function ii(a){var u=this.__data__=new Ni(a);this.size=u.size}function Bp(){this.__data__=new Ni,this.size=0}function Hp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Wp(a){return this.__data__.get(a)}function zp(a){return this.__data__.has(a)}function qp(a,u){var d=this.__data__;if(d instanceof Ni){var b=d.__data__;if(!Lr||b.length<l-1)return b.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(b)}return d.set(a,u),this.size=d.size,this}ii.prototype.clear=Bp,ii.prototype.delete=Hp,ii.prototype.get=Wp,ii.prototype.has=zp,ii.prototype.set=qp;function eu(a,u){var d=$e(a),b=!d&&Tl(a),P=!d&&!b&&il(a),V=!d&&!b&&!P&&tr(a),W=d||b||P||V,K=W?Pa(a.length,x_):[],$=K.length;for(var he in a)(u||kt.call(a,he))&&!(W&&(he=="length"||P&&(he=="offset"||he=="parent")||V&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Ei(he,$)))&&K.push(he);return K}function tu(a){var u=a.length;return u?a[za(0,u-1)]:t}function Gp(a,u){return Ws(Pn(a),yl(u,0,a.length))}function Kp(a){return Ws(Pn(a))}function Ra(a,u,d){(d!==t&&!li(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Dr(a,u,d){var b=a[u];(!(kt.call(a,u)&&li(b,d))||d===t&&!(u in a))&&Ti(a,u,d)}function Ts(a,u){for(var d=a.length;d--;)if(li(a[d][0],u))return d;return-1}function jp(a,u,d,b){return xi(a,function(P,V,W){u(b,P,d(P),W)}),b}function nu(a,u){return a&&gi(u,nn(u),a)}function Jp(a,u){return a&&gi(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 Da(a,u){for(var d=-1,b=u.length,P=ue(b),V=a==null;++d<b;)P[d]=V?t:go(a,u[d]);return P}function yl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Jn(a,u,d,b,P,V){var W,K=u&_,$=u&p,he=u&w;if(d&&(W=P?d(a,b,P,V):d(a)),W!==t)return W;if(!Bt(a))return a;var ge=$e(a);if(ge){if(W=Mm(a),!K)return Pn(a,W)}else{var ve=hn(a),Ae=ve==mt||ve==rn;if(il(a))return Nu(a,K);if(ve==Wt||ve==ne||Ae&&!P){if(W=$||Ae?{}:Ku(a),!K)return $?ym(a,Jp(W,a)):km(a,nu(W,a))}else{if(!ht[ve])return P?a:{};W=Om(a,ve,K)}}V||(V=new ii);var Ue=V.get(a);if(Ue)return Ue;V.set(a,W),Sf(a)?a.forEach(function(Ye){W.add(Jn(Ye,u,d,Ye,a,V))}):vf(a)&&a.forEach(function(Ye,at){W.set(at,Jn(Ye,u,d,at,a,V))});var Je=he?$?xa:$a:$?In:nn,nt=ge?t:Je(a);return Gn(nt||a,function(Ye,at){nt&&(at=Ye,Ye=a[at]),Dr(W,at,Jn(Ye,u,d,at,a,V))}),W}function Yp(a){var u=nn(a);return function(d){return iu(d,a,u)}}function iu(a,u,d){var b=d.length;if(a==null)return!b;for(a=At(a);b--;){var P=d[b],V=u[P],W=a[P];if(W===t&&!(P in a)||!V(W))return!1}return!0}function lu(a,u,d){if(typeof a!="function")throw new Kn(s);return Hr(function(){a.apply(t,d)},u)}function Vr(a,u,d,b){var P=-1,V=cs,W=!0,K=a.length,$=[],he=u.length;if(!K)return $;d&&(u=Ft(u,Vn(d))),b?(V=va,W=!1):u.length>=l&&(V=Ir,W=!1,u=new kl(u));e:for(;++P<K;){var ge=a[P],ve=d==null?ge:d(ge);if(ge=b||ge!==0?ge:0,W&&ve===ve){for(var Ae=he;Ae--;)if(u[Ae]===ve)continue e;$.push(ge)}else V(u,ve,b)||$.push(ge)}return $}var xi=Eu(hi),ru=Eu(Ma,!0);function Qp(a,u){var d=!0;return xi(a,function(b,P,V){return d=!!u(b,P,V),d}),d}function Ls(a,u,d){for(var b=-1,P=a.length;++b<P;){var V=a[b],W=u(V);if(W!=null&&(K===t?W===W&&!On(W):d(W,K)))var K=W,$=V}return $}function Zp(a,u,d,b){var P=a.length;for(d=et(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:et(b),b<0&&(b+=P),b=d>b?0:kf(b);d<b;)a[d++]=u;return a}function su(a,u){var d=[];return xi(a,function(b,P,V){u(b,P,V)&&d.push(b)}),d}function un(a,u,d,b,P){var V=-1,W=a.length;for(d||(d=Um),P||(P=[]);++V<W;){var K=a[V];u>0&&d(K)?u>1?un(K,u-1,d,b,P):Zi(P,K):b||(P[P.length]=K)}return P}var Va=Ru(),au=Ru(!0);function hi(a,u){return a&&Va(a,u,nn)}function Ma(a,u){return a&&au(a,u,nn)}function As(a,u){return Qi(u,function(d){return Ri(a[d])})}function Pl(a,u){u=tl(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[_i(u[d++])];return d&&d==b?a:t}function ou(a,u,d){var b=u(a);return $e(a)?b:Zi(b,d(a))}function bn(a){return a==null?a===t?_n:An:Sl&&Sl in At(a)?Rm(a):Km(a)}function Oa(a,u){return a>u}function Xp(a,u){return a!=null&&kt.call(a,u)}function $p(a,u){return a!=null&&u in At(a)}function xp(a,u,d){return a>=dn(u,d)&&a<$t(u,d)}function Fa(a,u,d){for(var b=d?va:cs,P=a[0].length,V=a.length,W=V,K=ue(V),$=1/0,he=[];W--;){var ge=a[W];W&&u&&(ge=Ft(ge,Vn(u))),$=dn(ge.length,$),K[W]=!d&&(u||P>=120&&ge.length>=120)?new kl(W&&ge):t}ge=a[0];var ve=-1,Ae=K[0];e:for(;++ve<P&&he.length<$;){var Ue=ge[ve],Je=u?u(Ue):Ue;if(Ue=d||Ue!==0?Ue:0,!(Ae?Ir(Ae,Je):b(he,Je,d))){for(W=V;--W;){var nt=K[W];if(!(nt?Ir(nt,Je):b(a[W],Je,d)))continue e}Ae&&Ae.push(Je),he.push(Ue)}}return he}function em(a,u,d,b){return hi(a,function(P,V,W){u(b,d(P),V,W)}),b}function Mr(a,u,d){u=tl(u,a),a=Qu(a,u);var b=a==null?a:a[_i(Qn(u))];return b==null?t:Dn(b,a,d)}function uu(a){return zt(a)&&bn(a)==ne}function tm(a){return zt(a)&&bn(a)==Yt}function nm(a){return zt(a)&&bn(a)==Ze}function Or(a,u,d,b,P){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:im(a,u,d,b,Or,P)}function im(a,u,d,b,P,V){var W=$e(a),K=$e(u),$=W?x:hn(a),he=K?x:hn(u);$=$==ne?Wt:$,he=he==ne?Wt:he;var ge=$==Wt,ve=he==Wt,Ae=$==he;if(Ae&&il(a)){if(!il(u))return!1;W=!0,ge=!1}if(Ae&&!ge)return V||(V=new ii),W||tr(a)?zu(a,u,d,b,P,V):Am(a,u,$,d,b,P,V);if(!(d&m)){var Ue=ge&&kt.call(a,"__wrapped__"),Je=ve&&kt.call(u,"__wrapped__");if(Ue||Je){var nt=Ue?a.value():a,Ye=Je?u.value():u;return V||(V=new ii),P(nt,Ye,d,b,V)}}return Ae?(V||(V=new ii),Em(a,u,d,b,P,V)):!1}function lm(a){return zt(a)&&hn(a)==vt}function Ua(a,u,d,b){var P=d.length,V=P,W=!b;if(a==null)return!V;for(a=At(a);P--;){var K=d[P];if(W&&K[2]?K[1]!==a[K[0]]:!(K[0]in a))return!1}for(;++P<V;){K=d[P];var $=K[0],he=a[$],ge=K[1];if(W&&K[2]){if(he===t&&!($ in a))return!1}else{var ve=new ii;if(b)var Ae=b(he,ge,$,a,u,ve);if(!(Ae===t?Or(ge,he,m|v,b,ve):Ae))return!1}}return!0}function fu(a){if(!Bt(a)||Hm(a))return!1;var u=Ri(a)?lp:Wi;return u.test(Il(a))}function rm(a){return zt(a)&&bn(a)==Cn}function sm(a){return zt(a)&&hn(a)==ut}function am(a){return zt(a)&&Js(a.length)&&!!Ct[bn(a)]}function cu(a){return typeof a=="function"?a:a==null?Tn:typeof a=="object"?$e(a)?gu(a[0],a[1]):hu(a):Vf(a)}function Ba(a){if(!Br(a))return fp(a);var u=[];for(var d in At(a))kt.call(a,d)&&d!="constructor"&&u.push(d);return u}function om(a){if(!Bt(a))return Gm(a);var u=Br(a),d=[];for(var b in a)b=="constructor"&&(u||!kt.call(a,b))||d.push(b);return d}function Ha(a,u){return a<u}function du(a,u){var d=-1,b=Nn(a)?ue(a.length):[];return xi(a,function(P,V,W){b[++d]=u(P,V,W)}),b}function hu(a){var u=to(a);return u.length==1&&u[0][2]?Ju(u[0][0],u[0][1]):function(d){return d===a||Ua(d,a,u)}}function gu(a,u){return io(a)&&ju(u)?Ju(_i(a),u):function(d){var b=go(d,a);return b===t&&b===u?_o(d,a):Or(u,b,m|v)}}function Es(a,u,d,b,P){a!==u&&Va(u,function(V,W){if(P||(P=new ii),Bt(V))um(a,u,W,d,Es,b,P);else{var K=b?b(ro(a,W),V,W+"",a,u,P):t;K===t&&(K=V),Ra(a,W,K)}},In)}function um(a,u,d,b,P,V,W){var K=ro(a,d),$=ro(u,d),he=W.get($);if(he){Ra(a,d,he);return}var ge=V?V(K,$,d+"",a,u,W):t,ve=ge===t;if(ve){var Ae=$e($),Ue=!Ae&&il($),Je=!Ae&&!Ue&&tr($);ge=$,Ae||Ue||Je?$e(K)?ge=K:Gt(K)?ge=Pn(K):Ue?(ve=!1,ge=Nu($,!0)):Je?(ve=!1,ge=Iu($,!0)):ge=[]:Wr($)||Tl($)?(ge=K,Tl(K)?ge=yf(K):(!Bt(K)||Ri(K))&&(ge=Ku($))):ve=!1}ve&&(W.set($,ge),P(ge,$,b,V,W),W.delete($)),Ra(a,d,ge)}function _u(a,u){var d=a.length;if(d)return u+=u<0?d:0,Ei(u,d)?a[u]:t}function pu(a,u,d){u.length?u=Ft(u,function(V){return $e(V)?function(W){return Pl(W,V.length===1?V[0]:V)}:V}):u=[Tn];var b=-1;u=Ft(u,Vn(Ke()));var P=du(a,function(V,W,K){var $=Ft(u,function(he){return he(V)});return{criteria:$,index:++b,value:V}});return O_(P,function(V,W){return Cm(V,W,d)})}function fm(a,u){return mu(a,u,function(d,b){return _o(a,b)})}function mu(a,u,d){for(var b=-1,P=u.length,V={};++b<P;){var W=u[b],K=Pl(a,W);d(K,W)&&Fr(V,tl(W,a),K)}return V}function cm(a){return function(u){return Pl(u,a)}}function Wa(a,u,d,b){var P=b?M_:Gl,V=-1,W=u.length,K=a;for(a===u&&(u=Pn(u)),d&&(K=Ft(a,Vn(d)));++V<W;)for(var $=0,he=u[V],ge=d?d(he):he;($=P(K,ge,$,b))>-1;)K!==a&&Ss.call(K,$,1),Ss.call(a,$,1);return a}function bu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==V){var V=P;Ei(P)?Ss.call(a,P,1):Ka(a,P)}}return a}function za(a,u){return a+ys($o()*(u-a+1))}function dm(a,u,d,b){for(var P=-1,V=$t(ks((u-a)/(d||1)),0),W=ue(V);V--;)W[b?V:++P]=a,a+=d;return W}function qa(a,u){var d="";if(!a||u<1||u>be)return d;do u%2&&(d+=a),u=ys(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return so(Yu(a,u,Tn),a+"")}function hm(a){return tu(nr(a))}function gm(a,u){var d=nr(a);return Ws(d,yl(u,0,d.length))}function Fr(a,u,d,b){if(!Bt(a))return a;u=tl(u,a);for(var P=-1,V=u.length,W=V-1,K=a;K!=null&&++P<V;){var $=_i(u[P]),he=d;if($==="__proto__"||$==="constructor"||$==="prototype")return a;if(P!=W){var ge=K[$];he=b?b(ge,$,K):t,he===t&&(he=Bt(ge)?ge:Ei(u[P+1])?[]:{})}Dr(K,$,he),K=K[$]}return a}var vu=Ps?function(a,u){return Ps.set(a,u),a}:Tn,_m=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:mo(u),writable:!0})}:Tn;function pm(a){return Ws(nr(a))}function Yn(a,u,d){var b=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var V=ue(P);++b<P;)V[b]=a[b+u];return V}function mm(a,u){var d;return xi(a,function(b,P,V){return d=u(b,P,V),!d}),!!d}function Rs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=ce){for(;b<P;){var V=b+P>>>1,W=a[V];W!==null&&!On(W)&&(d?W<=u:W<u)?b=V+1:P=V}return P}return Ga(a,u,Tn,d)}function Ga(a,u,d,b){var P=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var W=u!==u,K=u===null,$=On(u),he=u===t;P<V;){var ge=ys((P+V)/2),ve=d(a[ge]),Ae=ve!==t,Ue=ve===null,Je=ve===ve,nt=On(ve);if(W)var Ye=b||Je;else he?Ye=Je&&(b||Ae):K?Ye=Je&&Ae&&(b||!Ue):$?Ye=Je&&Ae&&!Ue&&(b||!nt):Ue||nt?Ye=!1:Ye=b?ve<=u:ve<u;Ye?P=ge+1:V=ge}return dn(V,De)}function wu(a,u){for(var d=-1,b=a.length,P=0,V=[];++d<b;){var W=a[d],K=u?u(W):W;if(!d||!li(K,$)){var $=K;V[P++]=W===0?0:W}}return V}function Su(a){return typeof a=="number"?a:On(a)?oe:+a}function Mn(a){if(typeof a=="string")return a;if($e(a))return Ft(a,Mn)+"";if(On(a))return xo?xo.call(a):"";var u=a+"";return u=="0"&&1/a==-Y?"-0":u}function el(a,u,d){var b=-1,P=cs,V=a.length,W=!0,K=[],$=K;if(d)W=!1,P=va;else if(V>=l){var he=u?null:Tm(a);if(he)return hs(he);W=!1,P=Ir,$=new kl}else $=u?[]:K;e:for(;++b<V;){var ge=a[b],ve=u?u(ge):ge;if(ge=d||ge!==0?ge:0,W&&ve===ve){for(var Ae=$.length;Ae--;)if($[Ae]===ve)continue e;u&&$.push(ve),K.push(ge)}else P($,ve,d)||($!==K&&$.push(ve),K.push(ge))}return K}function Ka(a,u){return u=tl(u,a),a=Qu(a,u),a==null||delete a[_i(Qn(u))]}function Cu(a,u,d,b){return Fr(a,u,d(Pl(a,u)),b)}function Ds(a,u,d,b){for(var P=a.length,V=b?P:-1;(b?V--:++V<P)&&u(a[V],V,a););return d?Yn(a,b?0:V,b?V+1:P):Yn(a,b?V+1:0,b?P:V)}function ku(a,u){var d=a;return d instanceof ot&&(d=d.value()),wa(u,function(b,P){return P.func.apply(P.thisArg,Zi([b],P.args))},d)}function ja(a,u,d){var b=a.length;if(b<2)return b?el(a[0]):[];for(var P=-1,V=ue(b);++P<b;)for(var W=a[P],K=-1;++K<b;)K!=P&&(V[P]=Vr(V[P]||W,a[K],u,d));return el(un(V,1),u,d)}function yu(a,u,d){for(var b=-1,P=a.length,V=u.length,W={};++b<P;){var K=b<V?u[b]:t;d(W,a[b],K)}return W}function Ja(a){return Gt(a)?a:[]}function Ya(a){return typeof a=="function"?a:Tn}function tl(a,u){return $e(a)?a:io(a,u)?[a]:xu(wt(a))}var bm=lt;function nl(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Yn(a,u,d)}var Pu=rp||function(a){return qt.clearTimeout(a)};function Nu(a,u){if(u)return a.slice();var d=a.length,b=Jo?Jo(d):new a.constructor(d);return a.copy(b),b}function Qa(a){var u=new a.constructor(a.byteLength);return new vs(u).set(new vs(a)),u}function vm(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function wm(a){var u=new a.constructor(a.source,Hi.exec(a));return u.lastIndex=a.lastIndex,u}function Sm(a){return Rr?At(Rr.call(a)):{}}function Iu(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Tu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,V=On(a),W=u!==t,K=u===null,$=u===u,he=On(u);if(!K&&!he&&!V&&a>u||V&&W&&$&&!K&&!he||b&&W&&$||!d&&$||!P)return 1;if(!b&&!V&&!he&&a<u||he&&d&&P&&!b&&!V||K&&d&&P||!W&&P||!$)return-1}return 0}function Cm(a,u,d){for(var b=-1,P=a.criteria,V=u.criteria,W=P.length,K=d.length;++b<W;){var $=Tu(P[b],V[b]);if($){if(b>=K)return $;var he=d[b];return $*(he=="desc"?-1:1)}}return a.index-u.index}function Lu(a,u,d,b){for(var P=-1,V=a.length,W=d.length,K=-1,$=u.length,he=$t(V-W,0),ge=ue($+he),ve=!b;++K<$;)ge[K]=u[K];for(;++P<W;)(ve||P<V)&&(ge[d[P]]=a[P]);for(;he--;)ge[K++]=a[P++];return ge}function Au(a,u,d,b){for(var P=-1,V=a.length,W=-1,K=d.length,$=-1,he=u.length,ge=$t(V-K,0),ve=ue(ge+he),Ae=!b;++P<ge;)ve[P]=a[P];for(var Ue=P;++$<he;)ve[Ue+$]=u[$];for(;++W<K;)(Ae||P<V)&&(ve[Ue+d[W]]=a[P++]);return ve}function Pn(a,u){var d=-1,b=a.length;for(u||(u=ue(b));++d<b;)u[d]=a[d];return u}function gi(a,u,d,b){var P=!d;d||(d={});for(var V=-1,W=u.length;++V<W;){var K=u[V],$=b?b(d[K],a[K],K,d,a):t;$===t&&($=a[K]),P?Ti(d,K,$):Dr(d,K,$)}return d}function km(a,u){return gi(a,no(a),u)}function ym(a,u){return gi(a,qu(a),u)}function Vs(a,u){return function(d,b){var P=$e(d)?L_:jp,V=u?u():{};return P(d,a,Ke(b,2),V)}}function $l(a){return lt(function(u,d){var b=-1,P=d.length,V=P>1?d[P-1]:t,W=P>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(P--,V):t,W&&vn(d[0],d[1],W)&&(V=P<3?t:V,P=1),u=At(u);++b<P;){var K=d[b];K&&a(u,K,b,V)}return u})}function Eu(a,u){return function(d,b){if(d==null)return d;if(!Nn(d))return a(d,b);for(var P=d.length,V=u?P:-1,W=At(d);(u?V--:++V<P)&&b(W[V],V,W)!==!1;);return d}}function Ru(a){return function(u,d,b){for(var P=-1,V=At(u),W=b(u),K=W.length;K--;){var $=W[a?K:++P];if(d(V[$],$,V)===!1)break}return u}}function Pm(a,u,d){var b=u&k,P=Ur(a);function V(){var W=this&&this!==qt&&this instanceof V?P:a;return W.apply(b?d:this,arguments)}return V}function Du(a){return function(u){u=wt(u);var d=Kl(u)?ni(u):t,b=d?d[0]:u.charAt(0),P=d?nl(d,1).join(""):u.slice(1);return b[a]()+P}}function xl(a){return function(u){return wa(Rf(Ef(u).replace(ze,"")),a,"")}}function Ur(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),b=a.apply(d,u);return Bt(b)?b:d}}function Nm(a,u,d){var b=Ur(a);function P(){for(var V=arguments.length,W=ue(V),K=V,$=er(P);K--;)W[K]=arguments[K];var he=V<3&&W[0]!==$&&W[V-1]!==$?[]:Xi(W,$);if(V-=he.length,V<d)return Uu(a,u,Ms,P.placeholder,t,W,he,t,t,d-V);var ge=this&&this!==qt&&this instanceof P?b:a;return Dn(ge,this,W)}return P}function Vu(a){return function(u,d,b){var P=At(u);if(!Nn(u)){var V=Ke(d,3);u=nn(u),d=function(K){return V(P[K],K,P)}}var W=a(u,d,b);return W>-1?P[V?u[W]:W]:t}}function Mu(a){return Ai(function(u){var d=u.length,b=d,P=jn.prototype.thru;for(a&&u.reverse();b--;){var V=u[b];if(typeof V!="function")throw new Kn(s);if(P&&!W&&Bs(V)=="wrapper")var W=new jn([],!0)}for(b=W?b:d;++b<d;){V=u[b];var K=Bs(V),$=K=="wrapper"?eo(V):t;$&&lo($[0])&&$[1]==(O|I|R|H)&&!$[4].length&&$[9]==1?W=W[Bs($[0])].apply(W,$[3]):W=V.length==1&&lo(V)?W[K]():W.thru(V)}return function(){var he=arguments,ge=he[0];if(W&&he.length==1&&$e(ge))return W.plant(ge).value();for(var ve=0,Ae=d?u[ve].apply(this,he):ge;++ve<d;)Ae=u[ve].call(this,Ae);return Ae}})}function Ms(a,u,d,b,P,V,W,K,$,he){var ge=u&O,ve=u&k,Ae=u&y,Ue=u&(I|A),Je=u&F,nt=Ae?t:Ur(a);function Ye(){for(var at=arguments.length,ct=ue(at),Fn=at;Fn--;)ct[Fn]=arguments[Fn];if(Ue)var wn=er(Ye),Un=U_(ct,wn);if(b&&(ct=Lu(ct,b,P,Ue)),V&&(ct=Au(ct,V,W,Ue)),at-=Un,Ue&&at<he){var Kt=Xi(ct,wn);return Uu(a,u,Ms,Ye.placeholder,d,ct,Kt,K,$,he-at)}var ri=ve?d:this,Vi=Ae?ri[a]:a;return at=ct.length,K?ct=jm(ct,K):Je&&at>1&&ct.reverse(),ge&&$<at&&(ct.length=$),this&&this!==qt&&this instanceof Ye&&(Vi=nt||Ur(Vi)),Vi.apply(ri,ct)}return Ye}function Ou(a,u){return function(d,b){return em(d,a,u(b),{})}}function Os(a,u){return function(d,b){var P;if(d===t&&b===t)return u;if(d!==t&&(P=d),b!==t){if(P===t)return b;typeof d=="string"||typeof b=="string"?(d=Mn(d),b=Mn(b)):(d=Su(d),b=Su(b)),P=a(d,b)}return P}}function Za(a){return Ai(function(u){return u=Ft(u,Vn(Ke())),lt(function(d){var b=this;return a(u,function(P){return Dn(P,b,d)})})})}function Fs(a,u){u=u===t?" ":Mn(u);var d=u.length;if(d<2)return d?qa(u,a):u;var b=qa(u,ks(a/jl(u)));return Kl(u)?nl(ni(b),0,a).join(""):b.slice(0,a)}function Im(a,u,d,b){var P=u&k,V=Ur(a);function W(){for(var K=-1,$=arguments.length,he=-1,ge=b.length,ve=ue(ge+$),Ae=this&&this!==qt&&this instanceof W?V:a;++he<ge;)ve[he]=b[he];for(;$--;)ve[he++]=arguments[++K];return Dn(Ae,P?d:this,ve)}return W}function Fu(a){return function(u,d,b){return b&&typeof b!="number"&&vn(u,d,b)&&(d=b=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),b=b===t?u<d?1:-1:Di(b),dm(u,d,b,a)}}function Us(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Zn(u),d=Zn(d)),a(u,d)}}function Uu(a,u,d,b,P,V,W,K,$,he){var ge=u&I,ve=ge?W:t,Ae=ge?t:W,Ue=ge?V:t,Je=ge?t:V;u|=ge?R:E,u&=~(ge?E:R),u&N||(u&=~(k|y));var nt=[a,u,P,Ue,ve,Je,Ae,K,$,he],Ye=d.apply(t,nt);return lo(a)&&Zu(Ye,nt),Ye.placeholder=b,Xu(Ye,a,u)}function Xa(a){var u=Xt[a];return function(d,b){if(d=Zn(d),b=b==null?0:dn(et(b),292),b&&Xo(d)){var P=(wt(d)+"e").split("e"),V=u(P[0]+"e"+(+P[1]+b));return P=(wt(V)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Tm=Ql&&1/hs(new Ql([,-0]))[1]==Y?function(a){return new Ql(a)}:wo;function Bu(a){return function(u){var d=hn(u);return d==vt?Ia(u):d==ut?K_(u):F_(u,a(u))}}function Li(a,u,d,b,P,V,W,K){var $=u&y;if(!$&&typeof a!="function")throw new Kn(s);var he=b?b.length:0;if(he||(u&=~(R|E),b=P=t),W=W===t?W:$t(et(W),0),K=K===t?K:et(K),he-=P?P.length:0,u&E){var ge=b,ve=P;b=P=t}var Ae=$?t:eo(a),Ue=[a,u,d,b,P,ge,ve,V,W,K];if(Ae&&qm(Ue,Ae),a=Ue[0],u=Ue[1],d=Ue[2],b=Ue[3],P=Ue[4],K=Ue[9]=Ue[9]===t?$?0:a.length:$t(Ue[9]-he,0),!K&&u&(I|A)&&(u&=~(I|A)),!u||u==k)var Je=Pm(a,u,d);else u==I||u==A?Je=Nm(a,u,K):(u==R||u==(k|R))&&!P.length?Je=Im(a,u,d,b):Je=Ms.apply(t,Ue);var nt=Ae?vu:Zu;return Xu(nt(Je,Ue),a,u)}function Hu(a,u,d,b){return a===t||li(a,Yl[d])&&!kt.call(b,d)?u:a}function Wu(a,u,d,b,P,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Es(a,u,t,Wu,V),V.delete(u)),a}function Lm(a){return Wr(a)?t:a}function zu(a,u,d,b,P,V){var W=d&m,K=a.length,$=u.length;if(K!=$&&!(W&&$>K))return!1;var he=V.get(a),ge=V.get(u);if(he&&ge)return he==u&&ge==a;var ve=-1,Ae=!0,Ue=d&v?new kl:t;for(V.set(a,u),V.set(u,a);++ve<K;){var Je=a[ve],nt=u[ve];if(b)var Ye=W?b(nt,Je,ve,u,a,V):b(Je,nt,ve,a,u,V);if(Ye!==t){if(Ye)continue;Ae=!1;break}if(Ue){if(!Sa(u,function(at,ct){if(!Ir(Ue,ct)&&(Je===at||P(Je,at,d,b,V)))return Ue.push(ct)})){Ae=!1;break}}else if(!(Je===nt||P(Je,nt,d,b,V))){Ae=!1;break}}return V.delete(a),V.delete(u),Ae}function Am(a,u,d,b,P,V,W){switch(d){case en:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Yt:return!(a.byteLength!=u.byteLength||!V(new vs(a),new vs(u)));case je:case Ze:case Zt:return li(+a,+u);case qe:return a.name==u.name&&a.message==u.message;case Cn:case ei:return a==u+"";case vt:var K=Ia;case ut:var $=b&m;if(K||(K=hs),a.size!=u.size&&!$)return!1;var he=W.get(a);if(he)return he==u;b|=v,W.set(a,u);var ge=zu(K(a),K(u),b,P,V,W);return W.delete(a),ge;case fi:if(Rr)return Rr.call(a)==Rr.call(u)}return!1}function Em(a,u,d,b,P,V){var W=d&m,K=$a(a),$=K.length,he=$a(u),ge=he.length;if($!=ge&&!W)return!1;for(var ve=$;ve--;){var Ae=K[ve];if(!(W?Ae in u:kt.call(u,Ae)))return!1}var Ue=V.get(a),Je=V.get(u);if(Ue&&Je)return Ue==u&&Je==a;var nt=!0;V.set(a,u),V.set(u,a);for(var Ye=W;++ve<$;){Ae=K[ve];var at=a[Ae],ct=u[Ae];if(b)var Fn=W?b(ct,at,Ae,u,a,V):b(at,ct,Ae,a,u,V);if(!(Fn===t?at===ct||P(at,ct,d,b,V):Fn)){nt=!1;break}Ye||(Ye=Ae=="constructor")}if(nt&&!Ye){var wn=a.constructor,Un=u.constructor;wn!=Un&&"constructor"in a&&"constructor"in u&&!(typeof wn=="function"&&wn instanceof wn&&typeof Un=="function"&&Un instanceof Un)&&(nt=!1)}return V.delete(a),V.delete(u),nt}function Ai(a){return so(Yu(a,t,lf),a+"")}function $a(a){return ou(a,nn,no)}function xa(a){return ou(a,In,qu)}var eo=Ps?function(a){return Ps.get(a)}:wo;function Bs(a){for(var u=a.name+"",d=Zl[u],b=kt.call(Zl,u)?d.length:0;b--;){var P=d[b],V=P.func;if(V==null||V==a)return P.name}return u}function er(a){var u=kt.call(D,"placeholder")?D:a;return u.placeholder}function Ke(){var a=D.iteratee||bo;return a=a===bo?cu:a,arguments.length?a(arguments[0],arguments[1]):a}function Hs(a,u){var d=a.__data__;return Bm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function to(a){for(var u=nn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,ju(P)]}return u}function Nl(a,u){var d=z_(a,u);return fu(d)?d:t}function Rm(a){var u=kt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var b=!0}catch{}var P=ms.call(a);return b&&(u?a[Sl]=d:delete a[Sl]),P}var no=La?function(a){return a==null?[]:(a=At(a),Qi(La(a),function(u){return Qo.call(a,u)}))}:So,qu=La?function(a){for(var u=[];a;)Zi(u,no(a)),a=ws(a);return u}:So,hn=bn;(Aa&&hn(new Aa(new ArrayBuffer(1)))!=en||Lr&&hn(new Lr)!=vt||Ea&&hn(Ea.resolve())!=Wn||Ql&&hn(new Ql)!=ut||Ar&&hn(new Ar)!=Jt)&&(hn=function(a){var u=bn(a),d=u==Wt?a.constructor:t,b=d?Il(d):"";if(b)switch(b){case gp:return en;case _p:return vt;case pp:return Wn;case mp:return ut;case bp:return Jt}return u});function Dm(a,u,d){for(var b=-1,P=d.length;++b<P;){var V=d[b],W=V.size;switch(V.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=dn(u,a+W);break;case"takeRight":a=$t(a,u-W);break}}return{start:a,end:u}}function Vm(a){var u=a.match(Vl);return u?u[1].split(Ml):[]}function Gu(a,u,d){u=tl(u,a);for(var b=-1,P=u.length,V=!1;++b<P;){var W=_i(u[b]);if(!(V=a!=null&&d(a,W)))break;a=a[W]}return V||++b!=P?V:(P=a==null?0:a.length,!!P&&Js(P)&&Ei(W,P)&&($e(a)||Tl(a)))}function Mm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&kt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function Ku(a){return typeof a.constructor=="function"&&!Br(a)?Xl(ws(a)):{}}function Om(a,u,d){var b=a.constructor;switch(u){case Yt:return Qa(a);case je:case Ze:return new b(+a);case en:return vm(a,d);case ci:case Ci:case cn:case ki:case yi:case ie:case Le:case st:case yt:return Iu(a,d);case vt:return new b;case Zt:case ei:return new b(a);case Cn:return wm(a);case ut:return new b;case fi:return Sm(a)}}function Fm(a,u){var d=u.length;if(!d)return a;var b=d-1;return u[b]=(d>1?"& ":"")+u[b],u=u.join(d>2?", ":" "),a.replace(Bi,`{
33
+ */sa.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,v=4,m=1,w=2,k=1,y=2,N=4,T=8,R=16,D=32,I=64,U=128,B=256,L=512,K=30,G="...",x=800,ee=16,Q=1,Y=2,j=3,J=1/0,we=9007199254740991,ie=17976931348623157e292,oe=0/0,Ce=4294967295,ue=Ce-1,Ie=Ce>>>1,Fe=[["ary",U],["bind",k],["bindKey",y],["curry",T],["curryRight",R],["flip",L],["partial",D],["partialRight",I],["rearg",B]],ne="[object Arguments]",te="[object Array]",be="[object AsyncFunction]",je="[object Boolean]",Qe="[object Date]",me="[object DOMException]",Ge="[object Error]",ct="[object Function]",_n="[object GeneratorFunction]",vt="[object Map]",Ht="[object Number]",vi="[object Null]",Ot="[object Object]",Fi="[object Promise]",fl="[object Proxy]",wt="[object RegExp]",Zt="[object Set]",Zn="[object String]",Xn="[object Symbol]",pn="[object Undefined]",Xt="[object WeakMap]",cl="[object WeakSet]",Gt="[object ArrayBuffer]",tn="[object DataView]",wi="[object Float32Array]",Si="[object Float64Array]",cn="[object Int8Array]",Ci="[object Int16Array]",se="[object Int32Array]",Ae="[object Uint8Array]",st="[object Uint8ClampedArray]",yt="[object Uint16Array]",mt="[object Uint32Array]",sn=/\b__p \+= '';/g,Tn=/\b(__p \+=) '' \+/g,$n=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xn=/&(?:amp|lt|gt|quot|#39);/g,dl=/[&<>"']/g,Ui=RegExp(xn.source),dr=RegExp(dl.source),hr=/<%-([\s\S]+?)%>/g,gr=/<%([\s\S]+?)%>/g,Dl=/<%=([\s\S]+?)%>/g,_r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pr=/^\w*$/,mr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hl=/[\\^$.*+?()[\]{}|]/g,gl=RegExp(hl.source),ui=/^\s+/,_l=/\s/,Bi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,Ol=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,br=/[()=,{}\[\]\/\s]/,Cn=/\\(\\)?/g,pl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hi=/\w*$/,Fl=/^[-+]0x[0-9a-f]+$/i,vr=/^0b[01]+$/i,Wi=/^\[object .+?Constructor\]$/,ml=/^0o[0-7]+$/i,bl=/^(?:0|[1-9]\d*)$/,vl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ki=/($^)/,Ul=/['\n\r\u2028\u2029\\]/g,zi="\\ud800-\\udfff",ut="\\u0300-\\u036f",$="\\ufe20-\\ufe2f",Lt="\\u20d0-\\u20ff",mn=ut+$+Lt,ei="\\u2700-\\u27bf",yi="a-z\\xdf-\\xf6\\xf8-\\xff",Qt="\\xac\\xb1\\xd7\\xf7",Bl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$r="\\u2000-\\u206f",ca=" \\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",qi="A-Z\\xc0-\\xd6\\xd8-\\xde",xr="\\ufe0e\\ufe0f",es=Qt+Bl+$r+ca,wr="['’]",da="["+zi+"]",Hl="["+es+"]",Wl="["+mn+"]",ts="\\d+",ha="["+ei+"]",ns="["+yi+"]",is="[^"+zi+es+ts+ei+yi+qi+"]",zl="\\ud83c[\\udffb-\\udfff]",ga="(?:"+Wl+"|"+zl+")",Sr="[^"+zi+"]",Cr="(?:\\ud83c[\\udde6-\\uddff]){2}",kr="[\\ud800-\\udbff][\\udc00-\\udfff]",Gi="["+qi+"]",ls="\\u200d",rs="(?:"+ns+"|"+is+")",_a="(?:"+Gi+"|"+is+")",ss="(?:"+wr+"(?:d|ll|m|re|s|t|ve))?",as="(?:"+wr+"(?:D|LL|M|RE|S|T|VE))?",os=ga+"?",us="["+xr+"]?",pa="(?:"+ls+"(?:"+[Sr,Cr,kr].join("|")+")"+us+os+")*",ma="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ba="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",F=us+os+pa,ce="(?:"+[ha,Cr,kr].join("|")+")"+F,Re="(?:"+[Sr+Wl+"?",Wl,Cr,kr,da].join("|")+")",ze=RegExp(wr,"g"),Ve=RegExp(Wl,"g"),Se=RegExp(zl+"(?="+zl+")|"+Re+F,"g"),De=RegExp([Gi+"?"+ns+"+"+ss+"(?="+[Hl,Gi,"$"].join("|")+")",_a+"+"+as+"(?="+[Hl,Gi+rs,"$"].join("|")+")",Gi+"?"+rs+"+"+ss,Gi+"+"+as,ba,ma,ts,ce].join("|"),"g"),_t=RegExp("["+ls+zi+mn+xr+"]"),Ft=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,yr=["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"],Ki=-1,Ct={};Ct[wi]=Ct[Si]=Ct[cn]=Ct[Ci]=Ct[se]=Ct[Ae]=Ct[st]=Ct[yt]=Ct[mt]=!0,Ct[ne]=Ct[te]=Ct[Gt]=Ct[je]=Ct[tn]=Ct[Qe]=Ct[Ge]=Ct[ct]=Ct[vt]=Ct[Ht]=Ct[Ot]=Ct[wt]=Ct[Zt]=Ct[Zn]=Ct[Xt]=!1;var ht={};ht[ne]=ht[te]=ht[Gt]=ht[tn]=ht[je]=ht[Qe]=ht[wi]=ht[Si]=ht[cn]=ht[Ci]=ht[se]=ht[vt]=ht[Ht]=ht[Ot]=ht[wt]=ht[Zt]=ht[Zn]=ht[Xn]=ht[Ae]=ht[st]=ht[yt]=ht[mt]=!0,ht[Ge]=ht[ct]=ht[Xt]=!1;var Pr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},qe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Pt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,Ln=parseInt,Bn=typeof qr=="object"&&qr&&qr.Object===Object&&qr,wl=typeof self=="object"&&self&&self.Object===Object&&self,Kt=Bn||wl||Function("return this")(),ji=e&&!e.nodeType&&e,Ji=ji&&!0&&i&&!i.nodeType&&i,ql=Ji&&Ji.exports===ji,Nr=ql&&Bn.process,an=function(){try{var Z=Ji&&Ji.require&&Ji.require("util").types;return Z||Nr&&Nr.binding&&Nr.binding("util")}catch{}}(),Yi=an&&an.isArrayBuffer,on=an&&an.isDate,An=an&&an.isMap,fs=an&&an.isRegExp,Vo=an&&an.isSet,Mo=an&&an.isTypedArray;function En(Z,he,fe){switch(fe.length){case 0:return Z.call(he);case 1:return Z.call(he,fe[0]);case 2:return Z.call(he,fe[0],fe[1]);case 3:return Z.call(he,fe[0],fe[1],fe[2])}return Z.apply(he,fe)}function L_(Z,he,fe,Me){for(var Xe=-1,bt=Z==null?0:Z.length;++Xe<bt;){var $t=Z[Xe];he(Me,$t,fe($t),Z)}return Me}function Hn(Z,he){for(var fe=-1,Me=Z==null?0:Z.length;++fe<Me&&he(Z[fe],fe,Z)!==!1;);return Z}function A_(Z,he){for(var fe=Z==null?0:Z.length;fe--&&he(Z[fe],fe,Z)!==!1;);return Z}function Oo(Z,he){for(var fe=-1,Me=Z==null?0:Z.length;++fe<Me;)if(!he(Z[fe],fe,Z))return!1;return!0}function Qi(Z,he){for(var fe=-1,Me=Z==null?0:Z.length,Xe=0,bt=[];++fe<Me;){var $t=Z[fe];he($t,fe,Z)&&(bt[Xe++]=$t)}return bt}function cs(Z,he){var fe=Z==null?0:Z.length;return!!fe&&Gl(Z,he,0)>-1}function va(Z,he,fe){for(var Me=-1,Xe=Z==null?0:Z.length;++Me<Xe;)if(fe(he,Z[Me]))return!0;return!1}function Ut(Z,he){for(var fe=-1,Me=Z==null?0:Z.length,Xe=Array(Me);++fe<Me;)Xe[fe]=he(Z[fe],fe,Z);return Xe}function Zi(Z,he){for(var fe=-1,Me=he.length,Xe=Z.length;++fe<Me;)Z[Xe+fe]=he[fe];return Z}function wa(Z,he,fe,Me){var Xe=-1,bt=Z==null?0:Z.length;for(Me&&bt&&(fe=Z[++Xe]);++Xe<bt;)fe=he(fe,Z[Xe],Xe,Z);return fe}function E_(Z,he,fe,Me){var Xe=Z==null?0:Z.length;for(Me&&Xe&&(fe=Z[--Xe]);Xe--;)fe=he(fe,Z[Xe],Xe,Z);return fe}function Sa(Z,he){for(var fe=-1,Me=Z==null?0:Z.length;++fe<Me;)if(he(Z[fe],fe,Z))return!0;return!1}var R_=Ca("length");function D_(Z){return Z.split("")}function V_(Z){return Z.match(Ol)||[]}function Fo(Z,he,fe){var Me;return fe(Z,function(Xe,bt,$t){if(he(Xe,bt,$t))return Me=bt,!1}),Me}function ds(Z,he,fe,Me){for(var Xe=Z.length,bt=fe+(Me?1:-1);Me?bt--:++bt<Xe;)if(he(Z[bt],bt,Z))return bt;return-1}function Gl(Z,he,fe){return he===he?j_(Z,he,fe):ds(Z,Uo,fe)}function M_(Z,he,fe,Me){for(var Xe=fe-1,bt=Z.length;++Xe<bt;)if(Me(Z[Xe],he))return Xe;return-1}function Uo(Z){return Z!==Z}function Bo(Z,he){var fe=Z==null?0:Z.length;return fe?ya(Z,he)/fe:oe}function Ca(Z){return function(he){return he==null?t:he[Z]}}function ka(Z){return function(he){return Z==null?t:Z[he]}}function Ho(Z,he,fe,Me,Xe){return Xe(Z,function(bt,$t,At){fe=Me?(Me=!1,bt):he(fe,bt,$t,At)}),fe}function O_(Z,he){var fe=Z.length;for(Z.sort(he);fe--;)Z[fe]=Z[fe].value;return Z}function ya(Z,he){for(var fe,Me=-1,Xe=Z.length;++Me<Xe;){var bt=he(Z[Me]);bt!==t&&(fe=fe===t?bt:fe+bt)}return fe}function Pa(Z,he){for(var fe=-1,Me=Array(Z);++fe<Z;)Me[fe]=he(fe);return Me}function F_(Z,he){return Ut(he,function(fe){return[fe,Z[fe]]})}function Wo(Z){return Z&&Z.slice(0,Ko(Z)+1).replace(ui,"")}function Rn(Z){return function(he){return Z(he)}}function Na(Z,he){return Ut(he,function(fe){return Z[fe]})}function Ir(Z,he){return Z.has(he)}function zo(Z,he){for(var fe=-1,Me=Z.length;++fe<Me&&Gl(he,Z[fe],0)>-1;);return fe}function qo(Z,he){for(var fe=Z.length;fe--&&Gl(he,Z[fe],0)>-1;);return fe}function U_(Z,he){for(var fe=Z.length,Me=0;fe--;)Z[fe]===he&&++Me;return Me}var B_=ka(Pr),H_=ka(qe);function W_(Z){return"\\"+Dt[Z]}function z_(Z,he){return Z==null?t:Z[he]}function Kl(Z){return _t.test(Z)}function q_(Z){return Ft.test(Z)}function G_(Z){for(var he,fe=[];!(he=Z.next()).done;)fe.push(he.value);return fe}function Ia(Z){var he=-1,fe=Array(Z.size);return Z.forEach(function(Me,Xe){fe[++he]=[Xe,Me]}),fe}function Go(Z,he){return function(fe){return Z(he(fe))}}function Xi(Z,he){for(var fe=-1,Me=Z.length,Xe=0,bt=[];++fe<Me;){var $t=Z[fe];($t===he||$t===h)&&(Z[fe]=h,bt[Xe++]=fe)}return bt}function hs(Z){var he=-1,fe=Array(Z.size);return Z.forEach(function(Me){fe[++he]=Me}),fe}function K_(Z){var he=-1,fe=Array(Z.size);return Z.forEach(function(Me){fe[++he]=[Me,Me]}),fe}function j_(Z,he,fe){for(var Me=fe-1,Xe=Z.length;++Me<Xe;)if(Z[Me]===he)return Me;return-1}function J_(Z,he,fe){for(var Me=fe+1;Me--;)if(Z[Me]===he)return Me;return Me}function jl(Z){return Kl(Z)?Q_(Z):R_(Z)}function ti(Z){return Kl(Z)?Z_(Z):D_(Z)}function Ko(Z){for(var he=Z.length;he--&&_l.test(Z.charAt(he)););return he}var Y_=ka(Pt);function Q_(Z){for(var he=Se.lastIndex=0;Se.test(Z);)++he;return he}function Z_(Z){return Z.match(Se)||[]}function X_(Z){return Z.match(De)||[]}var $_=function Z(he){he=he==null?Kt:Jl.defaults(Kt.Object(),he,Jl.pick(Kt,yr));var fe=he.Array,Me=he.Date,Xe=he.Error,bt=he.Function,$t=he.Math,At=he.Object,Ta=he.RegExp,x_=he.String,Wn=he.TypeError,gs=fe.prototype,ep=bt.prototype,Yl=At.prototype,_s=he["__core-js_shared__"],ps=ep.toString,kt=Yl.hasOwnProperty,tp=0,jo=function(){var a=/[^.]+$/.exec(_s&&_s.keys&&_s.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ms=Yl.toString,np=ps.call(At),ip=Kt._,lp=Ta("^"+ps.call(kt).replace(hl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bs=ql?he.Buffer:t,$i=he.Symbol,vs=he.Uint8Array,Jo=bs?bs.allocUnsafe:t,ws=Go(At.getPrototypeOf,At),Yo=At.create,Qo=Yl.propertyIsEnumerable,Ss=gs.splice,Zo=$i?$i.isConcatSpreadable:t,Tr=$i?$i.iterator:t,Sl=$i?$i.toStringTag:t,Cs=function(){try{var a=Nl(At,"defineProperty");return a({},"",{}),a}catch{}}(),rp=he.clearTimeout!==Kt.clearTimeout&&he.clearTimeout,sp=Me&&Me.now!==Kt.Date.now&&Me.now,ap=he.setTimeout!==Kt.setTimeout&&he.setTimeout,ks=$t.ceil,ys=$t.floor,La=At.getOwnPropertySymbols,op=bs?bs.isBuffer:t,Xo=he.isFinite,up=gs.join,fp=Go(At.keys,At),xt=$t.max,dn=$t.min,cp=Me.now,dp=he.parseInt,$o=$t.random,hp=gs.reverse,Aa=Nl(he,"DataView"),Lr=Nl(he,"Map"),Ea=Nl(he,"Promise"),Ql=Nl(he,"Set"),Ar=Nl(he,"WeakMap"),Er=Nl(At,"create"),Ps=Ar&&new Ar,Zl={},gp=Il(Aa),_p=Il(Lr),pp=Il(Ea),mp=Il(Ql),bp=Il(Ar),Ns=$i?$i.prototype:t,Rr=Ns?Ns.valueOf:t,xo=Ns?Ns.toString:t;function V(a){if(qt(a)&&!$e(a)&&!(a instanceof ot)){if(a instanceof zn)return a;if(kt.call(a,"__wrapped__"))return ef(a)}return new zn(a)}var Xl=function(){function a(){}return function(u){if(!Wt(u))return{};if(Yo)return Yo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Is(){}function zn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}V.templateSettings={escape:hr,evaluate:gr,interpolate:Dl,variable:"",imports:{_:V}},V.prototype=Is.prototype,V.prototype.constructor=V,zn.prototype=Xl(Is.prototype),zn.prototype.constructor=zn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function vp(){var a=new ot(this.__wrapped__);return a.__actions__=kn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=kn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=kn(this.__views__),a}function wp(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Sp(){var a=this.__wrapped__.value(),u=this.__dir__,d=$e(a),b=u<0,P=d?a.length:0,M=Dm(0,P,this.__views__),H=M.start,q=M.end,X=q-H,ge=b?q:H-1,_e=this.__iteratees__,ve=_e.length,Ee=0,Ue=dn(X,this.__takeCount__);if(!d||!b&&P==X&&Ue==X)return ku(a,this.__actions__);var Je=[];e:for(;X--&&Ee<Ue;){ge+=u;for(var nt=-1,Ye=a[ge];++nt<ve;){var at=_e[nt],ft=at.iteratee,Mn=at.type,wn=ft(Ye);if(Mn==Y)Ye=wn;else if(!wn){if(Mn==Q)continue e;break e}}Je[Ee++]=Ye}return Je}ot.prototype=Xl(Is.prototype),ot.prototype.constructor=ot;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Cp(){this.__data__=Er?Er(null):{},this.size=0}function kp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function yp(a){var u=this.__data__;if(Er){var d=u[a];return d===c?t:d}return kt.call(u,a)?u[a]:t}function Pp(a){var u=this.__data__;return Er?u[a]!==t:kt.call(u,a)}function Np(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Er&&u===t?c:u,this}Cl.prototype.clear=Cp,Cl.prototype.delete=kp,Cl.prototype.get=yp,Cl.prototype.has=Pp,Cl.prototype.set=Np;function Pi(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Ip(){this.__data__=[],this.size=0}function Tp(a){var u=this.__data__,d=Ts(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ss.call(u,d,1),--this.size,!0}function Lp(a){var u=this.__data__,d=Ts(u,a);return d<0?t:u[d][1]}function Ap(a){return Ts(this.__data__,a)>-1}function Ep(a,u){var d=this.__data__,b=Ts(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Pi.prototype.clear=Ip,Pi.prototype.delete=Tp,Pi.prototype.get=Lp,Pi.prototype.has=Ap,Pi.prototype.set=Ep;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Rp(){this.size=0,this.__data__={hash:new Cl,map:new(Lr||Pi),string:new Cl}}function Dp(a){var u=Hs(this,a).delete(a);return this.size-=u?1:0,u}function Vp(a){return Hs(this,a).get(a)}function Mp(a){return Hs(this,a).has(a)}function Op(a,u){var d=Hs(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}Ni.prototype.clear=Rp,Ni.prototype.delete=Dp,Ni.prototype.get=Vp,Ni.prototype.has=Mp,Ni.prototype.set=Op;function kl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ni;++u<d;)this.add(a[u])}function Fp(a){return this.__data__.set(a,c),this}function Up(a){return this.__data__.has(a)}kl.prototype.add=kl.prototype.push=Fp,kl.prototype.has=Up;function ni(a){var u=this.__data__=new Pi(a);this.size=u.size}function Bp(){this.__data__=new Pi,this.size=0}function Hp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Wp(a){return this.__data__.get(a)}function zp(a){return this.__data__.has(a)}function qp(a,u){var d=this.__data__;if(d instanceof Pi){var b=d.__data__;if(!Lr||b.length<l-1)return b.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ni(b)}return d.set(a,u),this.size=d.size,this}ni.prototype.clear=Bp,ni.prototype.delete=Hp,ni.prototype.get=Wp,ni.prototype.has=zp,ni.prototype.set=qp;function eu(a,u){var d=$e(a),b=!d&&Tl(a),P=!d&&!b&&il(a),M=!d&&!b&&!P&&tr(a),H=d||b||P||M,q=H?Pa(a.length,x_):[],X=q.length;for(var ge in a)(u||kt.call(a,ge))&&!(H&&(ge=="length"||P&&(ge=="offset"||ge=="parent")||M&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ai(ge,X)))&&q.push(ge);return q}function tu(a){var u=a.length;return u?a[za(0,u-1)]:t}function Gp(a,u){return Ws(kn(a),yl(u,0,a.length))}function Kp(a){return Ws(kn(a))}function Ra(a,u,d){(d!==t&&!ii(a[u],d)||d===t&&!(u in a))&&Ii(a,u,d)}function Dr(a,u,d){var b=a[u];(!(kt.call(a,u)&&ii(b,d))||d===t&&!(u in a))&&Ii(a,u,d)}function Ts(a,u){for(var d=a.length;d--;)if(ii(a[d][0],u))return d;return-1}function jp(a,u,d,b){return xi(a,function(P,M,H){u(b,P,d(P),H)}),b}function nu(a,u){return a&&ci(u,ln(u),a)}function Jp(a,u){return a&&ci(u,Pn(u),a)}function Ii(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Da(a,u){for(var d=-1,b=u.length,P=fe(b),M=a==null;++d<b;)P[d]=M?t:go(a,u[d]);return P}function yl(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,b,P,M){var H,q=u&_,X=u&p,ge=u&v;if(d&&(H=P?d(a,b,P,M):d(a)),H!==t)return H;if(!Wt(a))return a;var _e=$e(a);if(_e){if(H=Mm(a),!q)return kn(a,H)}else{var ve=hn(a),Ee=ve==ct||ve==_n;if(il(a))return Nu(a,q);if(ve==Ot||ve==ne||Ee&&!P){if(H=X||Ee?{}:Ku(a),!q)return X?ym(a,Jp(H,a)):km(a,nu(H,a))}else{if(!ht[ve])return P?a:{};H=Om(a,ve,q)}}M||(M=new ni);var Ue=M.get(a);if(Ue)return Ue;M.set(a,H),Sf(a)?a.forEach(function(Ye){H.add(qn(Ye,u,d,Ye,a,M))}):vf(a)&&a.forEach(function(Ye,at){H.set(at,qn(Ye,u,d,at,a,M))});var Je=ge?X?xa:$a:X?Pn:ln,nt=_e?t:Je(a);return Hn(nt||a,function(Ye,at){nt&&(at=Ye,Ye=a[at]),Dr(H,at,qn(Ye,u,d,at,a,M))}),H}function Yp(a){var u=ln(a);return function(d){return iu(d,a,u)}}function iu(a,u,d){var b=d.length;if(a==null)return!b;for(a=At(a);b--;){var P=d[b],M=u[P],H=a[P];if(H===t&&!(P in a)||!M(H))return!1}return!0}function lu(a,u,d){if(typeof a!="function")throw new Wn(s);return Hr(function(){a.apply(t,d)},u)}function Vr(a,u,d,b){var P=-1,M=cs,H=!0,q=a.length,X=[],ge=u.length;if(!q)return X;d&&(u=Ut(u,Rn(d))),b?(M=va,H=!1):u.length>=l&&(M=Ir,H=!1,u=new kl(u));e:for(;++P<q;){var _e=a[P],ve=d==null?_e:d(_e);if(_e=b||_e!==0?_e:0,H&&ve===ve){for(var Ee=ge;Ee--;)if(u[Ee]===ve)continue e;X.push(_e)}else M(u,ve,b)||X.push(_e)}return X}var xi=Eu(fi),ru=Eu(Ma,!0);function Qp(a,u){var d=!0;return xi(a,function(b,P,M){return d=!!u(b,P,M),d}),d}function Ls(a,u,d){for(var b=-1,P=a.length;++b<P;){var M=a[b],H=u(M);if(H!=null&&(q===t?H===H&&!Vn(H):d(H,q)))var q=H,X=M}return X}function Zp(a,u,d,b){var P=a.length;for(d=et(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:et(b),b<0&&(b+=P),b=d>b?0:kf(b);d<b;)a[d++]=u;return a}function su(a,u){var d=[];return xi(a,function(b,P,M){u(b,P,M)&&d.push(b)}),d}function un(a,u,d,b,P){var M=-1,H=a.length;for(d||(d=Um),P||(P=[]);++M<H;){var q=a[M];u>0&&d(q)?u>1?un(q,u-1,d,b,P):Zi(P,q):b||(P[P.length]=q)}return P}var Va=Ru(),au=Ru(!0);function fi(a,u){return a&&Va(a,u,ln)}function Ma(a,u){return a&&au(a,u,ln)}function As(a,u){return Qi(u,function(d){return Ei(a[d])})}function Pl(a,u){u=tl(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[di(u[d++])];return d&&d==b?a:t}function ou(a,u,d){var b=u(a);return $e(a)?b:Zi(b,d(a))}function bn(a){return a==null?a===t?pn:vi:Sl&&Sl in At(a)?Rm(a):Km(a)}function Oa(a,u){return a>u}function Xp(a,u){return a!=null&&kt.call(a,u)}function $p(a,u){return a!=null&&u in At(a)}function xp(a,u,d){return a>=dn(u,d)&&a<xt(u,d)}function Fa(a,u,d){for(var b=d?va:cs,P=a[0].length,M=a.length,H=M,q=fe(M),X=1/0,ge=[];H--;){var _e=a[H];H&&u&&(_e=Ut(_e,Rn(u))),X=dn(_e.length,X),q[H]=!d&&(u||P>=120&&_e.length>=120)?new kl(H&&_e):t}_e=a[0];var ve=-1,Ee=q[0];e:for(;++ve<P&&ge.length<X;){var Ue=_e[ve],Je=u?u(Ue):Ue;if(Ue=d||Ue!==0?Ue:0,!(Ee?Ir(Ee,Je):b(ge,Je,d))){for(H=M;--H;){var nt=q[H];if(!(nt?Ir(nt,Je):b(a[H],Je,d)))continue e}Ee&&Ee.push(Je),ge.push(Ue)}}return ge}function em(a,u,d,b){return fi(a,function(P,M,H){u(b,d(P),M,H)}),b}function Mr(a,u,d){u=tl(u,a),a=Qu(a,u);var b=a==null?a:a[di(Kn(u))];return b==null?t:En(b,a,d)}function uu(a){return qt(a)&&bn(a)==ne}function tm(a){return qt(a)&&bn(a)==Gt}function nm(a){return qt(a)&&bn(a)==Qe}function Or(a,u,d,b,P){return a===u?!0:a==null||u==null||!qt(a)&&!qt(u)?a!==a&&u!==u:im(a,u,d,b,Or,P)}function im(a,u,d,b,P,M){var H=$e(a),q=$e(u),X=H?te:hn(a),ge=q?te:hn(u);X=X==ne?Ot:X,ge=ge==ne?Ot:ge;var _e=X==Ot,ve=ge==Ot,Ee=X==ge;if(Ee&&il(a)){if(!il(u))return!1;H=!0,_e=!1}if(Ee&&!_e)return M||(M=new ni),H||tr(a)?zu(a,u,d,b,P,M):Am(a,u,X,d,b,P,M);if(!(d&m)){var Ue=_e&&kt.call(a,"__wrapped__"),Je=ve&&kt.call(u,"__wrapped__");if(Ue||Je){var nt=Ue?a.value():a,Ye=Je?u.value():u;return M||(M=new ni),P(nt,Ye,d,b,M)}}return Ee?(M||(M=new ni),Em(a,u,d,b,P,M)):!1}function lm(a){return qt(a)&&hn(a)==vt}function Ua(a,u,d,b){var P=d.length,M=P,H=!b;if(a==null)return!M;for(a=At(a);P--;){var q=d[P];if(H&&q[2]?q[1]!==a[q[0]]:!(q[0]in a))return!1}for(;++P<M;){q=d[P];var X=q[0],ge=a[X],_e=q[1];if(H&&q[2]){if(ge===t&&!(X in a))return!1}else{var ve=new ni;if(b)var Ee=b(ge,_e,X,a,u,ve);if(!(Ee===t?Or(_e,ge,m|w,b,ve):Ee))return!1}}return!0}function fu(a){if(!Wt(a)||Hm(a))return!1;var u=Ei(a)?lp:Wi;return u.test(Il(a))}function rm(a){return qt(a)&&bn(a)==wt}function sm(a){return qt(a)&&hn(a)==Zt}function am(a){return qt(a)&&Js(a.length)&&!!Ct[bn(a)]}function cu(a){return typeof a=="function"?a:a==null?Nn:typeof a=="object"?$e(a)?gu(a[0],a[1]):hu(a):Vf(a)}function Ba(a){if(!Br(a))return fp(a);var u=[];for(var d in At(a))kt.call(a,d)&&d!="constructor"&&u.push(d);return u}function om(a){if(!Wt(a))return Gm(a);var u=Br(a),d=[];for(var b in a)b=="constructor"&&(u||!kt.call(a,b))||d.push(b);return d}function Ha(a,u){return a<u}function du(a,u){var d=-1,b=yn(a)?fe(a.length):[];return xi(a,function(P,M,H){b[++d]=u(P,M,H)}),b}function hu(a){var u=to(a);return u.length==1&&u[0][2]?Ju(u[0][0],u[0][1]):function(d){return d===a||Ua(d,a,u)}}function gu(a,u){return io(a)&&ju(u)?Ju(di(a),u):function(d){var b=go(d,a);return b===t&&b===u?_o(d,a):Or(u,b,m|w)}}function Es(a,u,d,b,P){a!==u&&Va(u,function(M,H){if(P||(P=new ni),Wt(M))um(a,u,H,d,Es,b,P);else{var q=b?b(ro(a,H),M,H+"",a,u,P):t;q===t&&(q=M),Ra(a,H,q)}},Pn)}function um(a,u,d,b,P,M,H){var q=ro(a,d),X=ro(u,d),ge=H.get(X);if(ge){Ra(a,d,ge);return}var _e=M?M(q,X,d+"",a,u,H):t,ve=_e===t;if(ve){var Ee=$e(X),Ue=!Ee&&il(X),Je=!Ee&&!Ue&&tr(X);_e=X,Ee||Ue||Je?$e(q)?_e=q:jt(q)?_e=kn(q):Ue?(ve=!1,_e=Nu(X,!0)):Je?(ve=!1,_e=Iu(X,!0)):_e=[]:Wr(X)||Tl(X)?(_e=q,Tl(q)?_e=yf(q):(!Wt(q)||Ei(q))&&(_e=Ku(X))):ve=!1}ve&&(H.set(X,_e),P(_e,X,b,M,H),H.delete(X)),Ra(a,d,_e)}function _u(a,u){var d=a.length;if(d)return u+=u<0?d:0,Ai(u,d)?a[u]:t}function pu(a,u,d){u.length?u=Ut(u,function(M){return $e(M)?function(H){return Pl(H,M.length===1?M[0]:M)}:M}):u=[Nn];var b=-1;u=Ut(u,Rn(Ke()));var P=du(a,function(M,H,q){var X=Ut(u,function(ge){return ge(M)});return{criteria:X,index:++b,value:M}});return O_(P,function(M,H){return Cm(M,H,d)})}function fm(a,u){return mu(a,u,function(d,b){return _o(a,b)})}function mu(a,u,d){for(var b=-1,P=u.length,M={};++b<P;){var H=u[b],q=Pl(a,H);d(q,H)&&Fr(M,tl(H,a),q)}return M}function cm(a){return function(u){return Pl(u,a)}}function Wa(a,u,d,b){var P=b?M_:Gl,M=-1,H=u.length,q=a;for(a===u&&(u=kn(u)),d&&(q=Ut(a,Rn(d)));++M<H;)for(var X=0,ge=u[M],_e=d?d(ge):ge;(X=P(q,_e,X,b))>-1;)q!==a&&Ss.call(q,X,1),Ss.call(a,X,1);return a}function bu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==M){var M=P;Ai(P)?Ss.call(a,P,1):Ka(a,P)}}return a}function za(a,u){return a+ys($o()*(u-a+1))}function dm(a,u,d,b){for(var P=-1,M=xt(ks((u-a)/(d||1)),0),H=fe(M);M--;)H[b?M:++P]=a,a+=d;return H}function qa(a,u){var d="";if(!a||u<1||u>we)return d;do u%2&&(d+=a),u=ys(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return so(Yu(a,u,Nn),a+"")}function hm(a){return tu(nr(a))}function gm(a,u){var d=nr(a);return Ws(d,yl(u,0,d.length))}function Fr(a,u,d,b){if(!Wt(a))return a;u=tl(u,a);for(var P=-1,M=u.length,H=M-1,q=a;q!=null&&++P<M;){var X=di(u[P]),ge=d;if(X==="__proto__"||X==="constructor"||X==="prototype")return a;if(P!=H){var _e=q[X];ge=b?b(_e,X,q):t,ge===t&&(ge=Wt(_e)?_e:Ai(u[P+1])?[]:{})}Dr(q,X,ge),q=q[X]}return a}var vu=Ps?function(a,u){return Ps.set(a,u),a}:Nn,_m=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:mo(u),writable:!0})}:Nn;function pm(a){return Ws(nr(a))}function Gn(a,u,d){var b=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var M=fe(P);++b<P;)M[b]=a[b+u];return M}function mm(a,u){var d;return xi(a,function(b,P,M){return d=u(b,P,M),!d}),!!d}function Rs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Ie){for(;b<P;){var M=b+P>>>1,H=a[M];H!==null&&!Vn(H)&&(d?H<=u:H<u)?b=M+1:P=M}return P}return Ga(a,u,Nn,d)}function Ga(a,u,d,b){var P=0,M=a==null?0:a.length;if(M===0)return 0;u=d(u);for(var H=u!==u,q=u===null,X=Vn(u),ge=u===t;P<M;){var _e=ys((P+M)/2),ve=d(a[_e]),Ee=ve!==t,Ue=ve===null,Je=ve===ve,nt=Vn(ve);if(H)var Ye=b||Je;else ge?Ye=Je&&(b||Ee):q?Ye=Je&&Ee&&(b||!Ue):X?Ye=Je&&Ee&&!Ue&&(b||!nt):Ue||nt?Ye=!1:Ye=b?ve<=u:ve<u;Ye?P=_e+1:M=_e}return dn(M,ue)}function wu(a,u){for(var d=-1,b=a.length,P=0,M=[];++d<b;){var H=a[d],q=u?u(H):H;if(!d||!ii(q,X)){var X=q;M[P++]=H===0?0:H}}return M}function Su(a){return typeof a=="number"?a:Vn(a)?oe:+a}function Dn(a){if(typeof a=="string")return a;if($e(a))return Ut(a,Dn)+"";if(Vn(a))return xo?xo.call(a):"";var u=a+"";return u=="0"&&1/a==-J?"-0":u}function el(a,u,d){var b=-1,P=cs,M=a.length,H=!0,q=[],X=q;if(d)H=!1,P=va;else if(M>=l){var ge=u?null:Tm(a);if(ge)return hs(ge);H=!1,P=Ir,X=new kl}else X=u?[]:q;e:for(;++b<M;){var _e=a[b],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,H&&ve===ve){for(var Ee=X.length;Ee--;)if(X[Ee]===ve)continue e;u&&X.push(ve),q.push(_e)}else P(X,ve,d)||(X!==q&&X.push(ve),q.push(_e))}return q}function Ka(a,u){return u=tl(u,a),a=Qu(a,u),a==null||delete a[di(Kn(u))]}function Cu(a,u,d,b){return Fr(a,u,d(Pl(a,u)),b)}function Ds(a,u,d,b){for(var P=a.length,M=b?P:-1;(b?M--:++M<P)&&u(a[M],M,a););return d?Gn(a,b?0:M,b?M+1:P):Gn(a,b?M+1:0,b?P:M)}function ku(a,u){var d=a;return d instanceof ot&&(d=d.value()),wa(u,function(b,P){return P.func.apply(P.thisArg,Zi([b],P.args))},d)}function ja(a,u,d){var b=a.length;if(b<2)return b?el(a[0]):[];for(var P=-1,M=fe(b);++P<b;)for(var H=a[P],q=-1;++q<b;)q!=P&&(M[P]=Vr(M[P]||H,a[q],u,d));return el(un(M,1),u,d)}function yu(a,u,d){for(var b=-1,P=a.length,M=u.length,H={};++b<P;){var q=b<M?u[b]:t;d(H,a[b],q)}return H}function Ja(a){return jt(a)?a:[]}function Ya(a){return typeof a=="function"?a:Nn}function tl(a,u){return $e(a)?a:io(a,u)?[a]:xu(St(a))}var bm=lt;function nl(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Gn(a,u,d)}var Pu=rp||function(a){return Kt.clearTimeout(a)};function Nu(a,u){if(u)return a.slice();var d=a.length,b=Jo?Jo(d):new a.constructor(d);return a.copy(b),b}function Qa(a){var u=new a.constructor(a.byteLength);return new vs(u).set(new vs(a)),u}function vm(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function wm(a){var u=new a.constructor(a.source,Hi.exec(a));return u.lastIndex=a.lastIndex,u}function Sm(a){return Rr?At(Rr.call(a)):{}}function Iu(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Tu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,M=Vn(a),H=u!==t,q=u===null,X=u===u,ge=Vn(u);if(!q&&!ge&&!M&&a>u||M&&H&&X&&!q&&!ge||b&&H&&X||!d&&X||!P)return 1;if(!b&&!M&&!ge&&a<u||ge&&d&&P&&!b&&!M||q&&d&&P||!H&&P||!X)return-1}return 0}function Cm(a,u,d){for(var b=-1,P=a.criteria,M=u.criteria,H=P.length,q=d.length;++b<H;){var X=Tu(P[b],M[b]);if(X){if(b>=q)return X;var ge=d[b];return X*(ge=="desc"?-1:1)}}return a.index-u.index}function Lu(a,u,d,b){for(var P=-1,M=a.length,H=d.length,q=-1,X=u.length,ge=xt(M-H,0),_e=fe(X+ge),ve=!b;++q<X;)_e[q]=u[q];for(;++P<H;)(ve||P<M)&&(_e[d[P]]=a[P]);for(;ge--;)_e[q++]=a[P++];return _e}function Au(a,u,d,b){for(var P=-1,M=a.length,H=-1,q=d.length,X=-1,ge=u.length,_e=xt(M-q,0),ve=fe(_e+ge),Ee=!b;++P<_e;)ve[P]=a[P];for(var Ue=P;++X<ge;)ve[Ue+X]=u[X];for(;++H<q;)(Ee||P<M)&&(ve[Ue+d[H]]=a[P++]);return ve}function kn(a,u){var d=-1,b=a.length;for(u||(u=fe(b));++d<b;)u[d]=a[d];return u}function ci(a,u,d,b){var P=!d;d||(d={});for(var M=-1,H=u.length;++M<H;){var q=u[M],X=b?b(d[q],a[q],q,d,a):t;X===t&&(X=a[q]),P?Ii(d,q,X):Dr(d,q,X)}return d}function km(a,u){return ci(a,no(a),u)}function ym(a,u){return ci(a,qu(a),u)}function Vs(a,u){return function(d,b){var P=$e(d)?L_:jp,M=u?u():{};return P(d,a,Ke(b,2),M)}}function $l(a){return lt(function(u,d){var b=-1,P=d.length,M=P>1?d[P-1]:t,H=P>2?d[2]:t;for(M=a.length>3&&typeof M=="function"?(P--,M):t,H&&vn(d[0],d[1],H)&&(M=P<3?t:M,P=1),u=At(u);++b<P;){var q=d[b];q&&a(u,q,b,M)}return u})}function Eu(a,u){return function(d,b){if(d==null)return d;if(!yn(d))return a(d,b);for(var P=d.length,M=u?P:-1,H=At(d);(u?M--:++M<P)&&b(H[M],M,H)!==!1;);return d}}function Ru(a){return function(u,d,b){for(var P=-1,M=At(u),H=b(u),q=H.length;q--;){var X=H[a?q:++P];if(d(M[X],X,M)===!1)break}return u}}function Pm(a,u,d){var b=u&k,P=Ur(a);function M(){var H=this&&this!==Kt&&this instanceof M?P:a;return H.apply(b?d:this,arguments)}return M}function Du(a){return function(u){u=St(u);var d=Kl(u)?ti(u):t,b=d?d[0]:u.charAt(0),P=d?nl(d,1).join(""):u.slice(1);return b[a]()+P}}function xl(a){return function(u){return wa(Rf(Ef(u).replace(ze,"")),a,"")}}function Ur(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),b=a.apply(d,u);return Wt(b)?b:d}}function Nm(a,u,d){var b=Ur(a);function P(){for(var M=arguments.length,H=fe(M),q=M,X=er(P);q--;)H[q]=arguments[q];var ge=M<3&&H[0]!==X&&H[M-1]!==X?[]:Xi(H,X);if(M-=ge.length,M<d)return Uu(a,u,Ms,P.placeholder,t,H,ge,t,t,d-M);var _e=this&&this!==Kt&&this instanceof P?b:a;return En(_e,this,H)}return P}function Vu(a){return function(u,d,b){var P=At(u);if(!yn(u)){var M=Ke(d,3);u=ln(u),d=function(q){return M(P[q],q,P)}}var H=a(u,d,b);return H>-1?P[M?u[H]:H]:t}}function Mu(a){return Li(function(u){var d=u.length,b=d,P=zn.prototype.thru;for(a&&u.reverse();b--;){var M=u[b];if(typeof M!="function")throw new Wn(s);if(P&&!H&&Bs(M)=="wrapper")var H=new zn([],!0)}for(b=H?b:d;++b<d;){M=u[b];var q=Bs(M),X=q=="wrapper"?eo(M):t;X&&lo(X[0])&&X[1]==(U|T|D|B)&&!X[4].length&&X[9]==1?H=H[Bs(X[0])].apply(H,X[3]):H=M.length==1&&lo(M)?H[q]():H.thru(M)}return function(){var ge=arguments,_e=ge[0];if(H&&ge.length==1&&$e(_e))return H.plant(_e).value();for(var ve=0,Ee=d?u[ve].apply(this,ge):_e;++ve<d;)Ee=u[ve].call(this,Ee);return Ee}})}function Ms(a,u,d,b,P,M,H,q,X,ge){var _e=u&U,ve=u&k,Ee=u&y,Ue=u&(T|R),Je=u&L,nt=Ee?t:Ur(a);function Ye(){for(var at=arguments.length,ft=fe(at),Mn=at;Mn--;)ft[Mn]=arguments[Mn];if(Ue)var wn=er(Ye),On=U_(ft,wn);if(b&&(ft=Lu(ft,b,P,Ue)),M&&(ft=Au(ft,M,H,Ue)),at-=On,Ue&&at<ge){var Jt=Xi(ft,wn);return Uu(a,u,Ms,Ye.placeholder,d,ft,Jt,q,X,ge-at)}var li=ve?d:this,Di=Ee?li[a]:a;return at=ft.length,q?ft=jm(ft,q):Je&&at>1&&ft.reverse(),_e&&X<at&&(ft.length=X),this&&this!==Kt&&this instanceof Ye&&(Di=nt||Ur(Di)),Di.apply(li,ft)}return Ye}function Ou(a,u){return function(d,b){return em(d,a,u(b),{})}}function Os(a,u){return function(d,b){var P;if(d===t&&b===t)return u;if(d!==t&&(P=d),b!==t){if(P===t)return b;typeof d=="string"||typeof b=="string"?(d=Dn(d),b=Dn(b)):(d=Su(d),b=Su(b)),P=a(d,b)}return P}}function Za(a){return Li(function(u){return u=Ut(u,Rn(Ke())),lt(function(d){var b=this;return a(u,function(P){return En(P,b,d)})})})}function Fs(a,u){u=u===t?" ":Dn(u);var d=u.length;if(d<2)return d?qa(u,a):u;var b=qa(u,ks(a/jl(u)));return Kl(u)?nl(ti(b),0,a).join(""):b.slice(0,a)}function Im(a,u,d,b){var P=u&k,M=Ur(a);function H(){for(var q=-1,X=arguments.length,ge=-1,_e=b.length,ve=fe(_e+X),Ee=this&&this!==Kt&&this instanceof H?M:a;++ge<_e;)ve[ge]=b[ge];for(;X--;)ve[ge++]=arguments[++q];return En(Ee,P?d:this,ve)}return H}function Fu(a){return function(u,d,b){return b&&typeof b!="number"&&vn(u,d,b)&&(d=b=t),u=Ri(u),d===t?(d=u,u=0):d=Ri(d),b=b===t?u<d?1:-1:Ri(b),dm(u,d,b,a)}}function Us(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=jn(u),d=jn(d)),a(u,d)}}function Uu(a,u,d,b,P,M,H,q,X,ge){var _e=u&T,ve=_e?H:t,Ee=_e?t:H,Ue=_e?M:t,Je=_e?t:M;u|=_e?D:I,u&=~(_e?I:D),u&N||(u&=~(k|y));var nt=[a,u,P,Ue,ve,Je,Ee,q,X,ge],Ye=d.apply(t,nt);return lo(a)&&Zu(Ye,nt),Ye.placeholder=b,Xu(Ye,a,u)}function Xa(a){var u=$t[a];return function(d,b){if(d=jn(d),b=b==null?0:dn(et(b),292),b&&Xo(d)){var P=(St(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+b));return P=(St(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Tm=Ql&&1/hs(new Ql([,-0]))[1]==J?function(a){return new Ql(a)}:wo;function Bu(a){return function(u){var d=hn(u);return d==vt?Ia(u):d==Zt?K_(u):F_(u,a(u))}}function Ti(a,u,d,b,P,M,H,q){var X=u&y;if(!X&&typeof a!="function")throw new Wn(s);var ge=b?b.length:0;if(ge||(u&=~(D|I),b=P=t),H=H===t?H:xt(et(H),0),q=q===t?q:et(q),ge-=P?P.length:0,u&I){var _e=b,ve=P;b=P=t}var Ee=X?t:eo(a),Ue=[a,u,d,b,P,_e,ve,M,H,q];if(Ee&&qm(Ue,Ee),a=Ue[0],u=Ue[1],d=Ue[2],b=Ue[3],P=Ue[4],q=Ue[9]=Ue[9]===t?X?0:a.length:xt(Ue[9]-ge,0),!q&&u&(T|R)&&(u&=~(T|R)),!u||u==k)var Je=Pm(a,u,d);else u==T||u==R?Je=Nm(a,u,q):(u==D||u==(k|D))&&!P.length?Je=Im(a,u,d,b):Je=Ms.apply(t,Ue);var nt=Ee?vu:Zu;return Xu(nt(Je,Ue),a,u)}function Hu(a,u,d,b){return a===t||ii(a,Yl[d])&&!kt.call(b,d)?u:a}function Wu(a,u,d,b,P,M){return Wt(a)&&Wt(u)&&(M.set(u,a),Es(a,u,t,Wu,M),M.delete(u)),a}function Lm(a){return Wr(a)?t:a}function zu(a,u,d,b,P,M){var H=d&m,q=a.length,X=u.length;if(q!=X&&!(H&&X>q))return!1;var ge=M.get(a),_e=M.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Ee=!0,Ue=d&w?new kl:t;for(M.set(a,u),M.set(u,a);++ve<q;){var Je=a[ve],nt=u[ve];if(b)var Ye=H?b(nt,Je,ve,u,a,M):b(Je,nt,ve,a,u,M);if(Ye!==t){if(Ye)continue;Ee=!1;break}if(Ue){if(!Sa(u,function(at,ft){if(!Ir(Ue,ft)&&(Je===at||P(Je,at,d,b,M)))return Ue.push(ft)})){Ee=!1;break}}else if(!(Je===nt||P(Je,nt,d,b,M))){Ee=!1;break}}return M.delete(a),M.delete(u),Ee}function Am(a,u,d,b,P,M,H){switch(d){case tn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Gt:return!(a.byteLength!=u.byteLength||!M(new vs(a),new vs(u)));case je:case Qe:case Ht:return ii(+a,+u);case Ge:return a.name==u.name&&a.message==u.message;case wt:case Zn:return a==u+"";case vt:var q=Ia;case Zt:var X=b&m;if(q||(q=hs),a.size!=u.size&&!X)return!1;var ge=H.get(a);if(ge)return ge==u;b|=w,H.set(a,u);var _e=zu(q(a),q(u),b,P,M,H);return H.delete(a),_e;case Xn:if(Rr)return Rr.call(a)==Rr.call(u)}return!1}function Em(a,u,d,b,P,M){var H=d&m,q=$a(a),X=q.length,ge=$a(u),_e=ge.length;if(X!=_e&&!H)return!1;for(var ve=X;ve--;){var Ee=q[ve];if(!(H?Ee in u:kt.call(u,Ee)))return!1}var Ue=M.get(a),Je=M.get(u);if(Ue&&Je)return Ue==u&&Je==a;var nt=!0;M.set(a,u),M.set(u,a);for(var Ye=H;++ve<X;){Ee=q[ve];var at=a[Ee],ft=u[Ee];if(b)var Mn=H?b(ft,at,Ee,u,a,M):b(at,ft,Ee,a,u,M);if(!(Mn===t?at===ft||P(at,ft,d,b,M):Mn)){nt=!1;break}Ye||(Ye=Ee=="constructor")}if(nt&&!Ye){var wn=a.constructor,On=u.constructor;wn!=On&&"constructor"in a&&"constructor"in u&&!(typeof wn=="function"&&wn instanceof wn&&typeof On=="function"&&On instanceof On)&&(nt=!1)}return M.delete(a),M.delete(u),nt}function Li(a){return so(Yu(a,t,lf),a+"")}function $a(a){return ou(a,ln,no)}function xa(a){return ou(a,Pn,qu)}var eo=Ps?function(a){return Ps.get(a)}:wo;function Bs(a){for(var u=a.name+"",d=Zl[u],b=kt.call(Zl,u)?d.length:0;b--;){var P=d[b],M=P.func;if(M==null||M==a)return P.name}return u}function er(a){var u=kt.call(V,"placeholder")?V:a;return u.placeholder}function Ke(){var a=V.iteratee||bo;return a=a===bo?cu:a,arguments.length?a(arguments[0],arguments[1]):a}function Hs(a,u){var d=a.__data__;return Bm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function to(a){for(var u=ln(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,ju(P)]}return u}function Nl(a,u){var d=z_(a,u);return fu(d)?d:t}function Rm(a){var u=kt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var b=!0}catch{}var P=ms.call(a);return b&&(u?a[Sl]=d:delete a[Sl]),P}var no=La?function(a){return a==null?[]:(a=At(a),Qi(La(a),function(u){return Qo.call(a,u)}))}:So,qu=La?function(a){for(var u=[];a;)Zi(u,no(a)),a=ws(a);return u}:So,hn=bn;(Aa&&hn(new Aa(new ArrayBuffer(1)))!=tn||Lr&&hn(new Lr)!=vt||Ea&&hn(Ea.resolve())!=Fi||Ql&&hn(new Ql)!=Zt||Ar&&hn(new Ar)!=Xt)&&(hn=function(a){var u=bn(a),d=u==Ot?a.constructor:t,b=d?Il(d):"";if(b)switch(b){case gp:return tn;case _p:return vt;case pp:return Fi;case mp:return Zt;case bp:return Xt}return u});function Dm(a,u,d){for(var b=-1,P=d.length;++b<P;){var M=d[b],H=M.size;switch(M.type){case"drop":a+=H;break;case"dropRight":u-=H;break;case"take":u=dn(u,a+H);break;case"takeRight":a=xt(a,u-H);break}}return{start:a,end:u}}function Vm(a){var u=a.match(Vl);return u?u[1].split(Ml):[]}function Gu(a,u,d){u=tl(u,a);for(var b=-1,P=u.length,M=!1;++b<P;){var H=di(u[b]);if(!(M=a!=null&&d(a,H)))break;a=a[H]}return M||++b!=P?M:(P=a==null?0:a.length,!!P&&Js(P)&&Ai(H,P)&&($e(a)||Tl(a)))}function Mm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&kt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function Ku(a){return typeof a.constructor=="function"&&!Br(a)?Xl(ws(a)):{}}function Om(a,u,d){var b=a.constructor;switch(u){case Gt:return Qa(a);case je:case Qe:return new b(+a);case tn:return vm(a,d);case wi:case Si:case cn:case Ci:case se:case Ae:case st:case yt:case mt:return Iu(a,d);case vt:return new b;case Ht:case Zn:return new b(a);case wt:return wm(a);case Zt:return new b;case Xn:return Sm(a)}}function Fm(a,u){var d=u.length;if(!d)return a;var b=d-1;return u[b]=(d>1?"& ":"")+u[b],u=u.join(d>2?", ":" "),a.replace(Bi,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function Um(a){return $e(a)||Tl(a)||!!(Zo&&a&&a[Zo])}function Ei(a,u){var d=typeof a;return u=u??be,!!u&&(d=="number"||d!="symbol"&&ml.test(a))&&a>-1&&a%1==0&&a<u}function vn(a,u,d){if(!Bt(d))return!1;var b=typeof u;return(b=="number"?Nn(d)&&Ei(u,d.length):b=="string"&&u in d)?li(d[u],a):!1}function io(a,u){if($e(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||On(a)?!0:pr.test(a)||!_r.test(a)||u!=null&&a in At(u)}function Bm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function lo(a){var u=Bs(a),d=D[u];if(typeof d!="function"||!(u in ot.prototype))return!1;if(a===d)return!0;var b=eo(d);return!!b&&a===b[0]}function Hm(a){return!!jo&&jo in a}var Wm=_s?Ri:Co;function Br(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Yl;return a===d}function ju(a){return a===a&&!Bt(a)}function Ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in At(d))}}function zm(a){var u=Ks(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function qm(a,u){var d=a[1],b=u[1],P=d|b,V=P<(k|y|O),W=b==O&&d==I||b==O&&d==H&&a[7].length<=u[8]||b==(O|H)&&u[7].length<=u[8]&&d==I;if(!(V||W))return a;b&k&&(a[2]=u[2],P|=d&k?0:N);var K=u[3];if(K){var $=a[3];a[3]=$?Lu($,K,u[4]):K,a[4]=$?Xi(a[3],h):u[4]}return K=u[5],K&&($=a[5],a[5]=$?Au($,K,u[6]):K,a[6]=$?Xi(a[5],h):u[6]),K=u[7],K&&(a[7]=K),b&O&&(a[8]=a[8]==null?u[8]:dn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function Gm(a){var u=[];if(a!=null)for(var d in At(a))u.push(d);return u}function Km(a){return ms.call(a)}function Yu(a,u,d){return u=$t(u===t?a.length-1:u,0),function(){for(var b=arguments,P=-1,V=$t(b.length-u,0),W=ue(V);++P<V;)W[P]=b[u+P];P=-1;for(var K=ue(u+1);++P<u;)K[P]=b[P];return K[u]=d(W),Dn(a,this,K)}}function Qu(a,u){return u.length<2?a:Pl(a,Yn(u,0,-1))}function jm(a,u){for(var d=a.length,b=dn(u.length,d),P=Pn(a);b--;){var V=u[b];a[b]=Ei(V,d)?P[V]:t}return a}function ro(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Zu=$u(vu),Hr=ap||function(a,u){return qt.setTimeout(a,u)},so=$u(_m);function Xu(a,u,d){var b=u+"";return so(a,Fm(b,Jm(Vm(b),d)))}function $u(a){var u=0,d=0;return function(){var b=cp(),P=te-(b-d);if(d=b,P>0){if(++u>=ee)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Ws(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var V=za(d,P),W=a[V];a[V]=a[d],a[d]=W}return a.length=u,a}var xu=zm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(mr,function(d,b,P,V){u.push(P?V.replace(yn,"$1"):b||d)}),u});function _i(a){if(typeof a=="string"||On(a))return a;var u=a+"";return u=="0"&&1/a==-Y?"-0":u}function Il(a){if(a!=null){try{return ps.call(a)}catch{}try{return a+""}catch{}}return""}function Jm(a,u){return Gn(Re,function(d){var b="_."+d[0];u&d[1]&&!cs(a,b)&&a.push(b)}),a.sort()}function ef(a){if(a instanceof ot)return a.clone();var u=new jn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function Ym(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=$t(et(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,V=0,W=ue(ks(b/u));P<b;)W[V++]=Yn(a,P,P+=u);return W}function Qm(a){for(var u=-1,d=a==null?0:a.length,b=0,P=[];++u<d;){var V=a[u];V&&(P[b++]=V)}return P}function Zm(){var a=arguments.length;if(!a)return[];for(var u=ue(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Zi($e(d)?Pn(d):[d],un(u,1))}var Xm=lt(function(a,u){return Gt(a)?Vr(a,un(u,1,Gt,!0)):[]}),$m=lt(function(a,u){var d=Qn(u);return Gt(d)&&(d=t),Gt(a)?Vr(a,un(u,1,Gt,!0),Ke(d,2)):[]}),xm=lt(function(a,u){var d=Qn(u);return Gt(d)&&(d=t),Gt(a)?Vr(a,un(u,1,Gt,!0),t,d):[]});function e1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),Yn(a,u<0?0:u,b)):[]}function t1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Yn(a,0,u<0?0:u)):[]}function n1(a,u){return a&&a.length?Ds(a,Ke(u,3),!0,!0):[]}function i1(a,u){return a&&a.length?Ds(a,Ke(u,3),!0):[]}function l1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&vn(a,u,d)&&(d=0,b=P),Zp(a,u,d,b)):[]}function tf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=$t(b+P,0)),ds(a,Ke(u,3),P)}function nf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=et(d),P=d<0?$t(b+P,0):dn(P,b-1)),ds(a,Ke(u,3),P,!0)}function lf(a){var u=a==null?0:a.length;return u?un(a,1):[]}function r1(a){var u=a==null?0:a.length;return u?un(a,Y):[]}function s1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:et(u),un(a,u)):[]}function a1(a){for(var u=-1,d=a==null?0:a.length,b={};++u<d;){var P=a[u];b[P[0]]=P[1]}return b}function rf(a){return a&&a.length?a[0]:t}function o1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=$t(b+P,0)),Gl(a,u,P)}function u1(a){var u=a==null?0:a.length;return u?Yn(a,0,-1):[]}var f1=lt(function(a){var u=Ft(a,Ja);return u.length&&u[0]===a[0]?Fa(u):[]}),c1=lt(function(a){var u=Qn(a),d=Ft(a,Ja);return u===Qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Fa(d,Ke(u,2)):[]}),d1=lt(function(a){var u=Qn(a),d=Ft(a,Ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Fa(d,t,u):[]});function h1(a,u){return a==null?"":up.call(a,u)}function Qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function g1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=et(d),P=P<0?$t(b+P,0):dn(P,b-1)),u===u?J_(a,u,P):ds(a,Uo,P,!0)}function _1(a,u){return a&&a.length?_u(a,et(u)):t}var p1=lt(sf);function sf(a,u){return a&&a.length&&u&&u.length?Wa(a,u):a}function m1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,Ke(d,2)):a}function b1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,t,d):a}var v1=Ai(function(a,u){var d=a==null?0:a.length,b=Da(a,u);return bu(a,Ft(u,function(P){return Ei(P,d)?+P:P}).sort(Tu)),b});function w1(a,u){var d=[];if(!(a&&a.length))return d;var b=-1,P=[],V=a.length;for(u=Ke(u,3);++b<V;){var W=a[b];u(W,b,a)&&(d.push(W),P.push(b))}return bu(a,P),d}function ao(a){return a==null?a:hp.call(a)}function S1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&vn(a,u,d)?(u=0,d=b):(u=u==null?0:et(u),d=d===t?b:et(d)),Yn(a,u,d)):[]}function C1(a,u){return Rs(a,u)}function k1(a,u,d){return Ga(a,u,Ke(d,2))}function y1(a,u){var d=a==null?0:a.length;if(d){var b=Rs(a,u);if(b<d&&li(a[b],u))return b}return-1}function P1(a,u){return Rs(a,u,!0)}function N1(a,u,d){return Ga(a,u,Ke(d,2),!0)}function I1(a,u){var d=a==null?0:a.length;if(d){var b=Rs(a,u,!0)-1;if(li(a[b],u))return b}return-1}function T1(a){return a&&a.length?wu(a):[]}function L1(a,u){return a&&a.length?wu(a,Ke(u,2)):[]}function A1(a){var u=a==null?0:a.length;return u?Yn(a,1,u):[]}function E1(a,u,d){return a&&a.length?(u=d||u===t?1:et(u),Yn(a,0,u<0?0:u)):[]}function R1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Yn(a,u<0?0:u,b)):[]}function D1(a,u){return a&&a.length?Ds(a,Ke(u,3),!1,!0):[]}function V1(a,u){return a&&a.length?Ds(a,Ke(u,3)):[]}var M1=lt(function(a){return el(un(a,1,Gt,!0))}),O1=lt(function(a){var u=Qn(a);return Gt(u)&&(u=t),el(un(a,1,Gt,!0),Ke(u,2))}),F1=lt(function(a){var u=Qn(a);return u=typeof u=="function"?u:t,el(un(a,1,Gt,!0),t,u)});function U1(a){return a&&a.length?el(a):[]}function B1(a,u){return a&&a.length?el(a,Ke(u,2)):[]}function H1(a,u){return u=typeof u=="function"?u:t,a&&a.length?el(a,t,u):[]}function oo(a){if(!(a&&a.length))return[];var u=0;return a=Qi(a,function(d){if(Gt(d))return u=$t(d.length,u),!0}),Pa(u,function(d){return Ft(a,Ca(d))})}function af(a,u){if(!(a&&a.length))return[];var d=oo(a);return u==null?d:Ft(d,function(b){return Dn(u,t,b)})}var W1=lt(function(a,u){return Gt(a)?Vr(a,u):[]}),z1=lt(function(a){return ja(Qi(a,Gt))}),q1=lt(function(a){var u=Qn(a);return Gt(u)&&(u=t),ja(Qi(a,Gt),Ke(u,2))}),G1=lt(function(a){var u=Qn(a);return u=typeof u=="function"?u:t,ja(Qi(a,Gt),t,u)}),K1=lt(oo);function j1(a,u){return yu(a||[],u||[],Dr)}function J1(a,u){return yu(a||[],u||[],Fr)}var Y1=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,af(a,d)});function of(a){var u=D(a);return u.__chain__=!0,u}function Q1(a,u){return u(a),a}function zs(a,u){return u(a)}var Z1=Ai(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(V){return Da(V,a)};return u>1||this.__actions__.length||!(b instanceof ot)||!Ei(d)?this.thru(P):(b=b.slice(d,+d+(u?1:0)),b.__actions__.push({func:zs,args:[P],thisArg:t}),new jn(b,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function X1(){return of(this)}function $1(){return new jn(this.value(),this.__chain__)}function x1(){this.__values__===t&&(this.__values__=Cf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function eb(){return this}function tb(a){for(var u,d=this;d instanceof Is;){var b=ef(d);b.__index__=0,b.__values__=t,u?P.__wrapped__=b:u=b;var P=b;d=d.__wrapped__}return P.__wrapped__=a,u}function nb(){var a=this.__wrapped__;if(a instanceof ot){var u=a;return this.__actions__.length&&(u=new ot(this)),u=u.reverse(),u.__actions__.push({func:zs,args:[ao],thisArg:t}),new jn(u,this.__chain__)}return this.thru(ao)}function ib(){return ku(this.__wrapped__,this.__actions__)}var lb=Vs(function(a,u,d){kt.call(a,d)?++a[d]:Ti(a,d,1)});function rb(a,u,d){var b=$e(a)?Oo:Qp;return d&&vn(a,u,d)&&(u=t),b(a,Ke(u,3))}function sb(a,u){var d=$e(a)?Qi:su;return d(a,Ke(u,3))}var ab=Vu(tf),ob=Vu(nf);function ub(a,u){return un(qs(a,u),1)}function fb(a,u){return un(qs(a,u),Y)}function cb(a,u,d){return d=d===t?1:et(d),un(qs(a,u),d)}function uf(a,u){var d=$e(a)?Gn:xi;return d(a,Ke(u,3))}function ff(a,u){var d=$e(a)?A_:ru;return d(a,Ke(u,3))}var db=Vs(function(a,u,d){kt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function hb(a,u,d,b){a=Nn(a)?a:nr(a),d=d&&!b?et(d):0;var P=a.length;return d<0&&(d=$t(P+d,0)),Ys(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&Gl(a,u,d)>-1}var gb=lt(function(a,u,d){var b=-1,P=typeof u=="function",V=Nn(a)?ue(a.length):[];return xi(a,function(W){V[++b]=P?Dn(u,W,d):Mr(W,u,d)}),V}),_b=Vs(function(a,u,d){Ti(a,d,u)});function qs(a,u){var d=$e(a)?Ft:du;return d(a,Ke(u,3))}function pb(a,u,d,b){return a==null?[]:($e(u)||(u=u==null?[]:[u]),d=b?t:d,$e(d)||(d=d==null?[]:[d]),pu(a,u,d))}var mb=Vs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function bb(a,u,d){var b=$e(a)?wa:Ho,P=arguments.length<3;return b(a,Ke(u,4),d,P,xi)}function vb(a,u,d){var b=$e(a)?E_:Ho,P=arguments.length<3;return b(a,Ke(u,4),d,P,ru)}function wb(a,u){var d=$e(a)?Qi:su;return d(a,js(Ke(u,3)))}function Sb(a){var u=$e(a)?tu:hm;return u(a)}function Cb(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=et(u);var b=$e(a)?Gp:gm;return b(a,u)}function kb(a){var u=$e(a)?Kp:pm;return u(a)}function yb(a){if(a==null)return 0;if(Nn(a))return Ys(a)?jl(a):a.length;var u=hn(a);return u==vt||u==ut?a.size:Ba(a).length}function Pb(a,u,d){var b=$e(a)?Sa:mm;return d&&vn(a,u,d)&&(u=t),b(a,Ke(u,3))}var Nb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&vn(a,u[0],u[1])?u=[]:d>2&&vn(u[0],u[1],u[2])&&(u=[u[0]]),pu(a,un(u,1),[])}),Gs=sp||function(){return qt.Date.now()};function Ib(a,u){if(typeof u!="function")throw new Kn(s);return a=et(a),function(){if(--a<1)return u.apply(this,arguments)}}function cf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,O,t,t,t,t,u)}function df(a,u){var d;if(typeof u!="function")throw new Kn(s);return a=et(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var uo=lt(function(a,u,d){var b=k;if(d.length){var P=Xi(d,er(uo));b|=R}return Li(a,b,u,d,P)}),hf=lt(function(a,u,d){var b=k|y;if(d.length){var P=Xi(d,er(hf));b|=R}return Li(u,b,a,d,P)});function gf(a,u,d){u=d?t:u;var b=Li(a,I,t,t,t,t,t,u);return b.placeholder=gf.placeholder,b}function _f(a,u,d){u=d?t:u;var b=Li(a,A,t,t,t,t,t,u);return b.placeholder=_f.placeholder,b}function pf(a,u,d){var b,P,V,W,K,$,he=0,ge=!1,ve=!1,Ae=!0;if(typeof a!="function")throw new Kn(s);u=Zn(u)||0,Bt(d)&&(ge=!!d.leading,ve="maxWait"in d,V=ve?$t(Zn(d.maxWait)||0,u):V,Ae="trailing"in d?!!d.trailing:Ae);function Ue(Kt){var ri=b,Vi=P;return b=P=t,he=Kt,W=a.apply(Vi,ri),W}function Je(Kt){return he=Kt,K=Hr(at,u),ge?Ue(Kt):W}function nt(Kt){var ri=Kt-$,Vi=Kt-he,Mf=u-ri;return ve?dn(Mf,V-Vi):Mf}function Ye(Kt){var ri=Kt-$,Vi=Kt-he;return $===t||ri>=u||ri<0||ve&&Vi>=V}function at(){var Kt=Gs();if(Ye(Kt))return ct(Kt);K=Hr(at,nt(Kt))}function ct(Kt){return K=t,Ae&&b?Ue(Kt):(b=P=t,W)}function Fn(){K!==t&&Pu(K),he=0,b=$=P=K=t}function wn(){return K===t?W:ct(Gs())}function Un(){var Kt=Gs(),ri=Ye(Kt);if(b=arguments,P=this,$=Kt,ri){if(K===t)return Je($);if(ve)return Pu(K),K=Hr(at,u),Ue($)}return K===t&&(K=Hr(at,u)),W}return Un.cancel=Fn,Un.flush=wn,Un}var Tb=lt(function(a,u){return lu(a,1,u)}),Lb=lt(function(a,u,d){return lu(a,Zn(u)||0,d)});function Ab(a){return Li(a,F)}function Ks(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Kn(s);var d=function(){var b=arguments,P=u?u.apply(this,b):b[0],V=d.cache;if(V.has(P))return V.get(P);var W=a.apply(this,b);return d.cache=V.set(P,W)||V,W};return d.cache=new(Ks.Cache||Ii),d}Ks.Cache=Ii;function js(a){if(typeof a!="function")throw new Kn(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 Eb(a){return df(2,a)}var Rb=bm(function(a,u){u=u.length==1&&$e(u[0])?Ft(u[0],Vn(Ke())):Ft(un(u,1),Vn(Ke()));var d=u.length;return lt(function(b){for(var P=-1,V=dn(b.length,d);++P<V;)b[P]=u[P].call(this,b[P]);return Dn(a,this,b)})}),fo=lt(function(a,u){var d=Xi(u,er(fo));return Li(a,R,t,u,d)}),mf=lt(function(a,u){var d=Xi(u,er(mf));return Li(a,E,t,u,d)}),Db=Ai(function(a,u){return Li(a,H,t,t,t,u)});function Vb(a,u){if(typeof a!="function")throw new Kn(s);return u=u===t?u:et(u),lt(a,u)}function Mb(a,u){if(typeof a!="function")throw new Kn(s);return u=u==null?0:$t(et(u),0),lt(function(d){var b=d[u],P=nl(d,0,u);return b&&Zi(P,b),Dn(a,this,P)})}function Ob(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Kn(s);return Bt(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),pf(a,u,{leading:b,maxWait:u,trailing:P})}function Fb(a){return cf(a,1)}function Ub(a,u){return fo(Ya(u),a)}function Bb(){if(!arguments.length)return[];var a=arguments[0];return $e(a)?a:[a]}function Hb(a){return Jn(a,w)}function Wb(a,u){return u=typeof u=="function"?u:t,Jn(a,w,u)}function zb(a){return Jn(a,_|w)}function qb(a,u){return u=typeof u=="function"?u:t,Jn(a,_|w,u)}function Gb(a,u){return u==null||iu(a,u,nn(u))}function li(a,u){return a===u||a!==a&&u!==u}var Kb=Us(Oa),jb=Us(function(a,u){return a>=u}),Tl=uu(function(){return arguments}())?uu:function(a){return zt(a)&&kt.call(a,"callee")&&!Qo.call(a,"callee")},$e=ue.isArray,Jb=Yi?Vn(Yi):tm;function Nn(a){return a!=null&&Js(a.length)&&!Ri(a)}function Gt(a){return zt(a)&&Nn(a)}function Yb(a){return a===!0||a===!1||zt(a)&&bn(a)==je}var il=op||Co,Qb=on?Vn(on):nm;function Zb(a){return zt(a)&&a.nodeType===1&&!Wr(a)}function Xb(a){if(a==null)return!0;if(Nn(a)&&($e(a)||typeof a=="string"||typeof a.splice=="function"||il(a)||tr(a)||Tl(a)))return!a.length;var u=hn(a);if(u==vt||u==ut)return!a.size;if(Br(a))return!Ba(a).length;for(var d in a)if(kt.call(a,d))return!1;return!0}function $b(a,u){return Or(a,u)}function xb(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?Or(a,u,t,d):!!b}function co(a){if(!zt(a))return!1;var u=bn(a);return u==qe||u==pe||typeof a.message=="string"&&typeof a.name=="string"&&!Wr(a)}function ev(a){return typeof a=="number"&&Xo(a)}function Ri(a){if(!Bt(a))return!1;var u=bn(a);return u==mt||u==rn||u==me||u==fl}function bf(a){return typeof a=="number"&&a==et(a)}function Js(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=be}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var vf=Rn?Vn(Rn):lm;function tv(a,u){return a===u||Ua(a,u,to(u))}function nv(a,u,d){return d=typeof d=="function"?d:t,Ua(a,u,to(u),d)}function iv(a){return wf(a)&&a!=+a}function lv(a){if(Wm(a))throw new Xe(r);return fu(a)}function rv(a){return a===null}function sv(a){return a==null}function wf(a){return typeof a=="number"||zt(a)&&bn(a)==Zt}function Wr(a){if(!zt(a)||bn(a)!=Wt)return!1;var u=ws(a);if(u===null)return!0;var d=kt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ps.call(d)==np}var ho=fs?Vn(fs):rm;function av(a){return bf(a)&&a>=-be&&a<=be}var Sf=Vo?Vn(Vo):sm;function Ys(a){return typeof a=="string"||!$e(a)&&zt(a)&&bn(a)==ei}function On(a){return typeof a=="symbol"||zt(a)&&bn(a)==fi}var tr=Mo?Vn(Mo):am;function ov(a){return a===t}function uv(a){return zt(a)&&hn(a)==Jt}function fv(a){return zt(a)&&bn(a)==cl}var cv=Us(Ha),dv=Us(function(a,u){return a<=u});function Cf(a){if(!a)return[];if(Nn(a))return Ys(a)?ni(a):Pn(a);if(Tr&&a[Tr])return G_(a[Tr]());var u=hn(a),d=u==vt?Ia:u==ut?hs:nr;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=Zn(a),a===Y||a===-Y){var u=a<0?-1:1;return u*re}return a===a?a:0}function et(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?yl(et(a),0,Ce):0}function Zn(a){if(typeof a=="number")return a;if(On(a))return oe;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=Wo(a);var d=vr.test(a);return d||pl.test(a)?En(a.slice(2),d?2:8):Fl.test(a)?oe:+a}function yf(a){return gi(a,In(a))}function hv(a){return a?yl(et(a),-be,be):a===0?a:0}function wt(a){return a==null?"":Mn(a)}var gv=$l(function(a,u){if(Br(u)||Nn(u)){gi(u,nn(u),a);return}for(var d in u)kt.call(u,d)&&Dr(a,d,u[d])}),Pf=$l(function(a,u){gi(u,In(u),a)}),Qs=$l(function(a,u,d,b){gi(u,In(u),a,b)}),_v=$l(function(a,u,d,b){gi(u,nn(u),a,b)}),pv=Ai(Da);function mv(a,u){var d=Xl(a);return u==null?d:nu(d,u)}var bv=lt(function(a,u){a=At(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&vn(u[0],u[1],P)&&(b=1);++d<b;)for(var V=u[d],W=In(V),K=-1,$=W.length;++K<$;){var he=W[K],ge=a[he];(ge===t||li(ge,Yl[he])&&!kt.call(a,he))&&(a[he]=V[he])}return a}),vv=lt(function(a){return a.push(t,Wu),Dn(Nf,t,a)});function wv(a,u){return Fo(a,Ke(u,3),hi)}function Sv(a,u){return Fo(a,Ke(u,3),Ma)}function Cv(a,u){return a==null?a:Va(a,Ke(u,3),In)}function kv(a,u){return a==null?a:au(a,Ke(u,3),In)}function yv(a,u){return a&&hi(a,Ke(u,3))}function Pv(a,u){return a&&Ma(a,Ke(u,3))}function Nv(a){return a==null?[]:As(a,nn(a))}function Iv(a){return a==null?[]:As(a,In(a))}function go(a,u,d){var b=a==null?t:Pl(a,u);return b===t?d:b}function Tv(a,u){return a!=null&&Gu(a,u,Xp)}function _o(a,u){return a!=null&&Gu(a,u,$p)}var Lv=Ou(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ms.call(u)),a[u]=d},mo(Tn)),Av=Ou(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ms.call(u)),kt.call(a,u)?a[u].push(d):a[u]=[d]},Ke),Ev=lt(Mr);function nn(a){return Nn(a)?eu(a):Ba(a)}function In(a){return Nn(a)?eu(a,!0):om(a)}function Rv(a,u){var d={};return u=Ke(u,3),hi(a,function(b,P,V){Ti(d,u(b,P,V),b)}),d}function Dv(a,u){var d={};return u=Ke(u,3),hi(a,function(b,P,V){Ti(d,P,u(b,P,V))}),d}var Vv=$l(function(a,u,d){Es(a,u,d)}),Nf=$l(function(a,u,d,b){Es(a,u,d,b)}),Mv=Ai(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ft(u,function(V){return V=tl(V,a),b||(b=V.length>1),V}),gi(a,xa(a),d),b&&(d=Jn(d,_|p|w,Lm));for(var P=u.length;P--;)Ka(d,u[P]);return d});function Ov(a,u){return If(a,js(Ke(u)))}var Fv=Ai(function(a,u){return a==null?{}:fm(a,u)});function If(a,u){if(a==null)return{};var d=Ft(xa(a),function(b){return[b]});return u=Ke(u),mu(a,d,function(b,P){return u(b,P[0])})}function Uv(a,u,d){u=tl(u,a);var b=-1,P=u.length;for(P||(P=1,a=t);++b<P;){var V=a==null?t:a[_i(u[b])];V===t&&(b=P,V=d),a=Ri(V)?V.call(a):V}return a}function Bv(a,u,d){return a==null?a:Fr(a,u,d)}function Hv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Fr(a,u,d,b)}var Tf=Bu(nn),Lf=Bu(In);function Wv(a,u,d){var b=$e(a),P=b||il(a)||tr(a);if(u=Ke(u,4),d==null){var V=a&&a.constructor;P?d=b?new V:[]:Bt(a)?d=Ri(V)?Xl(ws(a)):{}:d={}}return(P?Gn:hi)(a,function(W,K,$){return u(d,W,K,$)}),d}function zv(a,u){return a==null?!0:Ka(a,u)}function qv(a,u,d){return a==null?a:Cu(a,u,Ya(d))}function Gv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Cu(a,u,Ya(d),b)}function nr(a){return a==null?[]:Na(a,nn(a))}function Kv(a){return a==null?[]:Na(a,In(a))}function jv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Zn(d),d=d===d?d:0),u!==t&&(u=Zn(u),u=u===u?u:0),yl(Zn(a),u,d)}function Jv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=Zn(a),xp(a,u,d)}function Yv(a,u,d){if(d&&typeof d!="boolean"&&vn(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 b=a;a=u,u=b}if(d||a%1||u%1){var P=$o();return dn(a+P*(u-a+tn("1e-"+((P+"").length-1))),u)}return za(a,u)}var Qv=xl(function(a,u,d){return u=u.toLowerCase(),a+(d?Af(u):u)});function Af(a){return po(wt(a).toLowerCase())}function Ef(a){return a=wt(a),a&&a.replace(bl,B_).replace(Me,"")}function Zv(a,u,d){a=wt(a),u=Mn(u);var b=a.length;d=d===t?b:yl(et(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function Xv(a){return a=wt(a),a&&dr.test(a)?a.replace(zn,H_):a}function $v(a){return a=wt(a),a&&hl.test(a)?a.replace(dl,"\\$&"):a}var xv=xl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),e0=xl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),t0=Du("toLowerCase");function n0(a,u,d){a=wt(a),u=et(u);var b=u?jl(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return Fs(ys(P),d)+a+Fs(ks(P),d)}function i0(a,u,d){a=wt(a),u=et(u);var b=u?jl(a):0;return u&&b<u?a+Fs(u-b,d):a}function l0(a,u,d){a=wt(a),u=et(u);var b=u?jl(a):0;return u&&b<u?Fs(u-b,d)+a:a}function r0(a,u,d){return d||u==null?u=0:u&&(u=+u),dp(wt(a).replace(di,""),u||0)}function s0(a,u,d){return(d?vn(a,u,d):u===t)?u=1:u=et(u),qa(wt(a),u)}function a0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var o0=xl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function u0(a,u,d){return d&&typeof d!="number"&&vn(a,u,d)&&(u=d=t),d=d===t?Ce:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!ho(u))&&(u=Mn(u),!u&&Kl(a))?nl(ni(a),0,d):a.split(u,d)):[]}var f0=xl(function(a,u,d){return a+(d?" ":"")+po(u)});function c0(a,u,d){return a=wt(a),d=d==null?0:yl(et(d),0,a.length),u=Mn(u),a.slice(d,d+u.length)==u}function d0(a,u,d){var b=D.templateSettings;d&&vn(a,u,d)&&(u=t),a=wt(a),u=Qs({},u,b,Hu);var P=Qs({},u.imports,b.imports,Hu),V=nn(P),W=Na(P,V),K,$,he=0,ge=u.interpolate||Pi,ve="__p += '",Ae=Ta((u.escape||Pi).source+"|"+ge.source+"|"+(ge===Dl?_l:Pi).source+"|"+(u.evaluate||Pi).source+"|$","g"),Ue="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ki+"]")+`
36
- `;a.replace(Ae,function(Ye,at,ct,Fn,wn,Un){return ct||(ct=Fn),ve+=a.slice(he,Un).replace(Ul,W_),at&&(K=!0,ve+=`' +
35
+ `)}function Um(a){return $e(a)||Tl(a)||!!(Zo&&a&&a[Zo])}function Ai(a,u){var d=typeof a;return u=u??we,!!u&&(d=="number"||d!="symbol"&&bl.test(a))&&a>-1&&a%1==0&&a<u}function vn(a,u,d){if(!Wt(d))return!1;var b=typeof u;return(b=="number"?yn(d)&&Ai(u,d.length):b=="string"&&u in d)?ii(d[u],a):!1}function io(a,u){if($e(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Vn(a)?!0:pr.test(a)||!_r.test(a)||u!=null&&a in At(u)}function Bm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function lo(a){var u=Bs(a),d=V[u];if(typeof d!="function"||!(u in ot.prototype))return!1;if(a===d)return!0;var b=eo(d);return!!b&&a===b[0]}function Hm(a){return!!jo&&jo in a}var Wm=_s?Ei:Co;function Br(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Yl;return a===d}function ju(a){return a===a&&!Wt(a)}function Ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in At(d))}}function zm(a){var u=Ks(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function qm(a,u){var d=a[1],b=u[1],P=d|b,M=P<(k|y|U),H=b==U&&d==T||b==U&&d==B&&a[7].length<=u[8]||b==(U|B)&&u[7].length<=u[8]&&d==T;if(!(M||H))return a;b&k&&(a[2]=u[2],P|=d&k?0:N);var q=u[3];if(q){var X=a[3];a[3]=X?Lu(X,q,u[4]):q,a[4]=X?Xi(a[3],h):u[4]}return q=u[5],q&&(X=a[5],a[5]=X?Au(X,q,u[6]):q,a[6]=X?Xi(a[5],h):u[6]),q=u[7],q&&(a[7]=q),b&U&&(a[8]=a[8]==null?u[8]:dn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function Gm(a){var u=[];if(a!=null)for(var d in At(a))u.push(d);return u}function Km(a){return ms.call(a)}function Yu(a,u,d){return u=xt(u===t?a.length-1:u,0),function(){for(var b=arguments,P=-1,M=xt(b.length-u,0),H=fe(M);++P<M;)H[P]=b[u+P];P=-1;for(var q=fe(u+1);++P<u;)q[P]=b[P];return q[u]=d(H),En(a,this,q)}}function Qu(a,u){return u.length<2?a:Pl(a,Gn(u,0,-1))}function jm(a,u){for(var d=a.length,b=dn(u.length,d),P=kn(a);b--;){var M=u[b];a[b]=Ai(M,d)?P[M]:t}return a}function ro(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Zu=$u(vu),Hr=ap||function(a,u){return Kt.setTimeout(a,u)},so=$u(_m);function Xu(a,u,d){var b=u+"";return so(a,Fm(b,Jm(Vm(b),d)))}function $u(a){var u=0,d=0;return function(){var b=cp(),P=ee-(b-d);if(d=b,P>0){if(++u>=x)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Ws(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var M=za(d,P),H=a[M];a[M]=a[d],a[d]=H}return a.length=u,a}var xu=zm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(mr,function(d,b,P,M){u.push(P?M.replace(Cn,"$1"):b||d)}),u});function di(a){if(typeof a=="string"||Vn(a))return a;var u=a+"";return u=="0"&&1/a==-J?"-0":u}function Il(a){if(a!=null){try{return ps.call(a)}catch{}try{return a+""}catch{}}return""}function Jm(a,u){return Hn(Fe,function(d){var b="_."+d[0];u&d[1]&&!cs(a,b)&&a.push(b)}),a.sort()}function ef(a){if(a instanceof ot)return a.clone();var u=new zn(a.__wrapped__,a.__chain__);return u.__actions__=kn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function Ym(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=xt(et(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,M=0,H=fe(ks(b/u));P<b;)H[M++]=Gn(a,P,P+=u);return H}function Qm(a){for(var u=-1,d=a==null?0:a.length,b=0,P=[];++u<d;){var M=a[u];M&&(P[b++]=M)}return P}function Zm(){var a=arguments.length;if(!a)return[];for(var u=fe(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Zi($e(d)?kn(d):[d],un(u,1))}var Xm=lt(function(a,u){return jt(a)?Vr(a,un(u,1,jt,!0)):[]}),$m=lt(function(a,u){var d=Kn(u);return jt(d)&&(d=t),jt(a)?Vr(a,un(u,1,jt,!0),Ke(d,2)):[]}),xm=lt(function(a,u){var d=Kn(u);return jt(d)&&(d=t),jt(a)?Vr(a,un(u,1,jt,!0),t,d):[]});function e1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),Gn(a,u<0?0:u,b)):[]}function t1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,0,u<0?0:u)):[]}function n1(a,u){return a&&a.length?Ds(a,Ke(u,3),!0,!0):[]}function i1(a,u){return a&&a.length?Ds(a,Ke(u,3),!0):[]}function l1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&vn(a,u,d)&&(d=0,b=P),Zp(a,u,d,b)):[]}function tf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=xt(b+P,0)),ds(a,Ke(u,3),P)}function nf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=et(d),P=d<0?xt(b+P,0):dn(P,b-1)),ds(a,Ke(u,3),P,!0)}function lf(a){var u=a==null?0:a.length;return u?un(a,1):[]}function r1(a){var u=a==null?0:a.length;return u?un(a,J):[]}function s1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:et(u),un(a,u)):[]}function a1(a){for(var u=-1,d=a==null?0:a.length,b={};++u<d;){var P=a[u];b[P[0]]=P[1]}return b}function rf(a){return a&&a.length?a[0]:t}function o1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=xt(b+P,0)),Gl(a,u,P)}function u1(a){var u=a==null?0:a.length;return u?Gn(a,0,-1):[]}var f1=lt(function(a){var u=Ut(a,Ja);return u.length&&u[0]===a[0]?Fa(u):[]}),c1=lt(function(a){var u=Kn(a),d=Ut(a,Ja);return u===Kn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Fa(d,Ke(u,2)):[]}),d1=lt(function(a){var u=Kn(a),d=Ut(a,Ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Fa(d,t,u):[]});function h1(a,u){return a==null?"":up.call(a,u)}function Kn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function g1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=et(d),P=P<0?xt(b+P,0):dn(P,b-1)),u===u?J_(a,u,P):ds(a,Uo,P,!0)}function _1(a,u){return a&&a.length?_u(a,et(u)):t}var p1=lt(sf);function sf(a,u){return a&&a.length&&u&&u.length?Wa(a,u):a}function m1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,Ke(d,2)):a}function b1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,t,d):a}var v1=Li(function(a,u){var d=a==null?0:a.length,b=Da(a,u);return bu(a,Ut(u,function(P){return Ai(P,d)?+P:P}).sort(Tu)),b});function w1(a,u){var d=[];if(!(a&&a.length))return d;var b=-1,P=[],M=a.length;for(u=Ke(u,3);++b<M;){var H=a[b];u(H,b,a)&&(d.push(H),P.push(b))}return bu(a,P),d}function ao(a){return a==null?a:hp.call(a)}function S1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&vn(a,u,d)?(u=0,d=b):(u=u==null?0:et(u),d=d===t?b:et(d)),Gn(a,u,d)):[]}function C1(a,u){return Rs(a,u)}function k1(a,u,d){return Ga(a,u,Ke(d,2))}function y1(a,u){var d=a==null?0:a.length;if(d){var b=Rs(a,u);if(b<d&&ii(a[b],u))return b}return-1}function P1(a,u){return Rs(a,u,!0)}function N1(a,u,d){return Ga(a,u,Ke(d,2),!0)}function I1(a,u){var d=a==null?0:a.length;if(d){var b=Rs(a,u,!0)-1;if(ii(a[b],u))return b}return-1}function T1(a){return a&&a.length?wu(a):[]}function L1(a,u){return a&&a.length?wu(a,Ke(u,2)):[]}function A1(a){var u=a==null?0:a.length;return u?Gn(a,1,u):[]}function E1(a,u,d){return a&&a.length?(u=d||u===t?1:et(u),Gn(a,0,u<0?0:u)):[]}function R1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,u<0?0:u,b)):[]}function D1(a,u){return a&&a.length?Ds(a,Ke(u,3),!1,!0):[]}function V1(a,u){return a&&a.length?Ds(a,Ke(u,3)):[]}var M1=lt(function(a){return el(un(a,1,jt,!0))}),O1=lt(function(a){var u=Kn(a);return jt(u)&&(u=t),el(un(a,1,jt,!0),Ke(u,2))}),F1=lt(function(a){var u=Kn(a);return u=typeof u=="function"?u:t,el(un(a,1,jt,!0),t,u)});function U1(a){return a&&a.length?el(a):[]}function B1(a,u){return a&&a.length?el(a,Ke(u,2)):[]}function H1(a,u){return u=typeof u=="function"?u:t,a&&a.length?el(a,t,u):[]}function oo(a){if(!(a&&a.length))return[];var u=0;return a=Qi(a,function(d){if(jt(d))return u=xt(d.length,u),!0}),Pa(u,function(d){return Ut(a,Ca(d))})}function af(a,u){if(!(a&&a.length))return[];var d=oo(a);return u==null?d:Ut(d,function(b){return En(u,t,b)})}var W1=lt(function(a,u){return jt(a)?Vr(a,u):[]}),z1=lt(function(a){return ja(Qi(a,jt))}),q1=lt(function(a){var u=Kn(a);return jt(u)&&(u=t),ja(Qi(a,jt),Ke(u,2))}),G1=lt(function(a){var u=Kn(a);return u=typeof u=="function"?u:t,ja(Qi(a,jt),t,u)}),K1=lt(oo);function j1(a,u){return yu(a||[],u||[],Dr)}function J1(a,u){return yu(a||[],u||[],Fr)}var Y1=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,af(a,d)});function of(a){var u=V(a);return u.__chain__=!0,u}function Q1(a,u){return u(a),a}function zs(a,u){return u(a)}var Z1=Li(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(M){return Da(M,a)};return u>1||this.__actions__.length||!(b instanceof ot)||!Ai(d)?this.thru(P):(b=b.slice(d,+d+(u?1:0)),b.__actions__.push({func:zs,args:[P],thisArg:t}),new zn(b,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function X1(){return of(this)}function $1(){return new zn(this.value(),this.__chain__)}function x1(){this.__values__===t&&(this.__values__=Cf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function eb(){return this}function tb(a){for(var u,d=this;d instanceof Is;){var b=ef(d);b.__index__=0,b.__values__=t,u?P.__wrapped__=b:u=b;var P=b;d=d.__wrapped__}return P.__wrapped__=a,u}function nb(){var a=this.__wrapped__;if(a instanceof ot){var u=a;return this.__actions__.length&&(u=new ot(this)),u=u.reverse(),u.__actions__.push({func:zs,args:[ao],thisArg:t}),new zn(u,this.__chain__)}return this.thru(ao)}function ib(){return ku(this.__wrapped__,this.__actions__)}var lb=Vs(function(a,u,d){kt.call(a,d)?++a[d]:Ii(a,d,1)});function rb(a,u,d){var b=$e(a)?Oo:Qp;return d&&vn(a,u,d)&&(u=t),b(a,Ke(u,3))}function sb(a,u){var d=$e(a)?Qi:su;return d(a,Ke(u,3))}var ab=Vu(tf),ob=Vu(nf);function ub(a,u){return un(qs(a,u),1)}function fb(a,u){return un(qs(a,u),J)}function cb(a,u,d){return d=d===t?1:et(d),un(qs(a,u),d)}function uf(a,u){var d=$e(a)?Hn:xi;return d(a,Ke(u,3))}function ff(a,u){var d=$e(a)?A_:ru;return d(a,Ke(u,3))}var db=Vs(function(a,u,d){kt.call(a,d)?a[d].push(u):Ii(a,d,[u])});function hb(a,u,d,b){a=yn(a)?a:nr(a),d=d&&!b?et(d):0;var P=a.length;return d<0&&(d=xt(P+d,0)),Ys(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&Gl(a,u,d)>-1}var gb=lt(function(a,u,d){var b=-1,P=typeof u=="function",M=yn(a)?fe(a.length):[];return xi(a,function(H){M[++b]=P?En(u,H,d):Mr(H,u,d)}),M}),_b=Vs(function(a,u,d){Ii(a,d,u)});function qs(a,u){var d=$e(a)?Ut:du;return d(a,Ke(u,3))}function pb(a,u,d,b){return a==null?[]:($e(u)||(u=u==null?[]:[u]),d=b?t:d,$e(d)||(d=d==null?[]:[d]),pu(a,u,d))}var mb=Vs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function bb(a,u,d){var b=$e(a)?wa:Ho,P=arguments.length<3;return b(a,Ke(u,4),d,P,xi)}function vb(a,u,d){var b=$e(a)?E_:Ho,P=arguments.length<3;return b(a,Ke(u,4),d,P,ru)}function wb(a,u){var d=$e(a)?Qi:su;return d(a,js(Ke(u,3)))}function Sb(a){var u=$e(a)?tu:hm;return u(a)}function Cb(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=et(u);var b=$e(a)?Gp:gm;return b(a,u)}function kb(a){var u=$e(a)?Kp:pm;return u(a)}function yb(a){if(a==null)return 0;if(yn(a))return Ys(a)?jl(a):a.length;var u=hn(a);return u==vt||u==Zt?a.size:Ba(a).length}function Pb(a,u,d){var b=$e(a)?Sa:mm;return d&&vn(a,u,d)&&(u=t),b(a,Ke(u,3))}var Nb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&vn(a,u[0],u[1])?u=[]:d>2&&vn(u[0],u[1],u[2])&&(u=[u[0]]),pu(a,un(u,1),[])}),Gs=sp||function(){return Kt.Date.now()};function Ib(a,u){if(typeof u!="function")throw new Wn(s);return a=et(a),function(){if(--a<1)return u.apply(this,arguments)}}function cf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ti(a,U,t,t,t,t,u)}function df(a,u){var d;if(typeof u!="function")throw new Wn(s);return a=et(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var uo=lt(function(a,u,d){var b=k;if(d.length){var P=Xi(d,er(uo));b|=D}return Ti(a,b,u,d,P)}),hf=lt(function(a,u,d){var b=k|y;if(d.length){var P=Xi(d,er(hf));b|=D}return Ti(u,b,a,d,P)});function gf(a,u,d){u=d?t:u;var b=Ti(a,T,t,t,t,t,t,u);return b.placeholder=gf.placeholder,b}function _f(a,u,d){u=d?t:u;var b=Ti(a,R,t,t,t,t,t,u);return b.placeholder=_f.placeholder,b}function pf(a,u,d){var b,P,M,H,q,X,ge=0,_e=!1,ve=!1,Ee=!0;if(typeof a!="function")throw new Wn(s);u=jn(u)||0,Wt(d)&&(_e=!!d.leading,ve="maxWait"in d,M=ve?xt(jn(d.maxWait)||0,u):M,Ee="trailing"in d?!!d.trailing:Ee);function Ue(Jt){var li=b,Di=P;return b=P=t,ge=Jt,H=a.apply(Di,li),H}function Je(Jt){return ge=Jt,q=Hr(at,u),_e?Ue(Jt):H}function nt(Jt){var li=Jt-X,Di=Jt-ge,Mf=u-li;return ve?dn(Mf,M-Di):Mf}function Ye(Jt){var li=Jt-X,Di=Jt-ge;return X===t||li>=u||li<0||ve&&Di>=M}function at(){var Jt=Gs();if(Ye(Jt))return ft(Jt);q=Hr(at,nt(Jt))}function ft(Jt){return q=t,Ee&&b?Ue(Jt):(b=P=t,H)}function Mn(){q!==t&&Pu(q),ge=0,b=X=P=q=t}function wn(){return q===t?H:ft(Gs())}function On(){var Jt=Gs(),li=Ye(Jt);if(b=arguments,P=this,X=Jt,li){if(q===t)return Je(X);if(ve)return Pu(q),q=Hr(at,u),Ue(X)}return q===t&&(q=Hr(at,u)),H}return On.cancel=Mn,On.flush=wn,On}var Tb=lt(function(a,u){return lu(a,1,u)}),Lb=lt(function(a,u,d){return lu(a,jn(u)||0,d)});function Ab(a){return Ti(a,L)}function Ks(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Wn(s);var d=function(){var b=arguments,P=u?u.apply(this,b):b[0],M=d.cache;if(M.has(P))return M.get(P);var H=a.apply(this,b);return d.cache=M.set(P,H)||M,H};return d.cache=new(Ks.Cache||Ni),d}Ks.Cache=Ni;function js(a){if(typeof a!="function")throw new Wn(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 Eb(a){return df(2,a)}var Rb=bm(function(a,u){u=u.length==1&&$e(u[0])?Ut(u[0],Rn(Ke())):Ut(un(u,1),Rn(Ke()));var d=u.length;return lt(function(b){for(var P=-1,M=dn(b.length,d);++P<M;)b[P]=u[P].call(this,b[P]);return En(a,this,b)})}),fo=lt(function(a,u){var d=Xi(u,er(fo));return Ti(a,D,t,u,d)}),mf=lt(function(a,u){var d=Xi(u,er(mf));return Ti(a,I,t,u,d)}),Db=Li(function(a,u){return Ti(a,B,t,t,t,u)});function Vb(a,u){if(typeof a!="function")throw new Wn(s);return u=u===t?u:et(u),lt(a,u)}function Mb(a,u){if(typeof a!="function")throw new Wn(s);return u=u==null?0:xt(et(u),0),lt(function(d){var b=d[u],P=nl(d,0,u);return b&&Zi(P,b),En(a,this,P)})}function Ob(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Wn(s);return Wt(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),pf(a,u,{leading:b,maxWait:u,trailing:P})}function Fb(a){return cf(a,1)}function Ub(a,u){return fo(Ya(u),a)}function Bb(){if(!arguments.length)return[];var a=arguments[0];return $e(a)?a:[a]}function Hb(a){return qn(a,v)}function Wb(a,u){return u=typeof u=="function"?u:t,qn(a,v,u)}function zb(a){return qn(a,_|v)}function qb(a,u){return u=typeof u=="function"?u:t,qn(a,_|v,u)}function Gb(a,u){return u==null||iu(a,u,ln(u))}function ii(a,u){return a===u||a!==a&&u!==u}var Kb=Us(Oa),jb=Us(function(a,u){return a>=u}),Tl=uu(function(){return arguments}())?uu:function(a){return qt(a)&&kt.call(a,"callee")&&!Qo.call(a,"callee")},$e=fe.isArray,Jb=Yi?Rn(Yi):tm;function yn(a){return a!=null&&Js(a.length)&&!Ei(a)}function jt(a){return qt(a)&&yn(a)}function Yb(a){return a===!0||a===!1||qt(a)&&bn(a)==je}var il=op||Co,Qb=on?Rn(on):nm;function Zb(a){return qt(a)&&a.nodeType===1&&!Wr(a)}function Xb(a){if(a==null)return!0;if(yn(a)&&($e(a)||typeof a=="string"||typeof a.splice=="function"||il(a)||tr(a)||Tl(a)))return!a.length;var u=hn(a);if(u==vt||u==Zt)return!a.size;if(Br(a))return!Ba(a).length;for(var d in a)if(kt.call(a,d))return!1;return!0}function $b(a,u){return Or(a,u)}function xb(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?Or(a,u,t,d):!!b}function co(a){if(!qt(a))return!1;var u=bn(a);return u==Ge||u==me||typeof a.message=="string"&&typeof a.name=="string"&&!Wr(a)}function ev(a){return typeof a=="number"&&Xo(a)}function Ei(a){if(!Wt(a))return!1;var u=bn(a);return u==ct||u==_n||u==be||u==fl}function bf(a){return typeof a=="number"&&a==et(a)}function Js(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=we}function Wt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function qt(a){return a!=null&&typeof a=="object"}var vf=An?Rn(An):lm;function tv(a,u){return a===u||Ua(a,u,to(u))}function nv(a,u,d){return d=typeof d=="function"?d:t,Ua(a,u,to(u),d)}function iv(a){return wf(a)&&a!=+a}function lv(a){if(Wm(a))throw new Xe(r);return fu(a)}function rv(a){return a===null}function sv(a){return a==null}function wf(a){return typeof a=="number"||qt(a)&&bn(a)==Ht}function Wr(a){if(!qt(a)||bn(a)!=Ot)return!1;var u=ws(a);if(u===null)return!0;var d=kt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ps.call(d)==np}var ho=fs?Rn(fs):rm;function av(a){return bf(a)&&a>=-we&&a<=we}var Sf=Vo?Rn(Vo):sm;function Ys(a){return typeof a=="string"||!$e(a)&&qt(a)&&bn(a)==Zn}function Vn(a){return typeof a=="symbol"||qt(a)&&bn(a)==Xn}var tr=Mo?Rn(Mo):am;function ov(a){return a===t}function uv(a){return qt(a)&&hn(a)==Xt}function fv(a){return qt(a)&&bn(a)==cl}var cv=Us(Ha),dv=Us(function(a,u){return a<=u});function Cf(a){if(!a)return[];if(yn(a))return Ys(a)?ti(a):kn(a);if(Tr&&a[Tr])return G_(a[Tr]());var u=hn(a),d=u==vt?Ia:u==Zt?hs:nr;return d(a)}function Ri(a){if(!a)return a===0?a:0;if(a=jn(a),a===J||a===-J){var u=a<0?-1:1;return u*ie}return a===a?a:0}function et(a){var u=Ri(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?yl(et(a),0,Ce):0}function jn(a){if(typeof a=="number")return a;if(Vn(a))return oe;if(Wt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Wt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Wo(a);var d=vr.test(a);return d||ml.test(a)?Ln(a.slice(2),d?2:8):Fl.test(a)?oe:+a}function yf(a){return ci(a,Pn(a))}function hv(a){return a?yl(et(a),-we,we):a===0?a:0}function St(a){return a==null?"":Dn(a)}var gv=$l(function(a,u){if(Br(u)||yn(u)){ci(u,ln(u),a);return}for(var d in u)kt.call(u,d)&&Dr(a,d,u[d])}),Pf=$l(function(a,u){ci(u,Pn(u),a)}),Qs=$l(function(a,u,d,b){ci(u,Pn(u),a,b)}),_v=$l(function(a,u,d,b){ci(u,ln(u),a,b)}),pv=Li(Da);function mv(a,u){var d=Xl(a);return u==null?d:nu(d,u)}var bv=lt(function(a,u){a=At(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&vn(u[0],u[1],P)&&(b=1);++d<b;)for(var M=u[d],H=Pn(M),q=-1,X=H.length;++q<X;){var ge=H[q],_e=a[ge];(_e===t||ii(_e,Yl[ge])&&!kt.call(a,ge))&&(a[ge]=M[ge])}return a}),vv=lt(function(a){return a.push(t,Wu),En(Nf,t,a)});function wv(a,u){return Fo(a,Ke(u,3),fi)}function Sv(a,u){return Fo(a,Ke(u,3),Ma)}function Cv(a,u){return a==null?a:Va(a,Ke(u,3),Pn)}function kv(a,u){return a==null?a:au(a,Ke(u,3),Pn)}function yv(a,u){return a&&fi(a,Ke(u,3))}function Pv(a,u){return a&&Ma(a,Ke(u,3))}function Nv(a){return a==null?[]:As(a,ln(a))}function Iv(a){return a==null?[]:As(a,Pn(a))}function go(a,u,d){var b=a==null?t:Pl(a,u);return b===t?d:b}function Tv(a,u){return a!=null&&Gu(a,u,Xp)}function _o(a,u){return a!=null&&Gu(a,u,$p)}var Lv=Ou(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ms.call(u)),a[u]=d},mo(Nn)),Av=Ou(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ms.call(u)),kt.call(a,u)?a[u].push(d):a[u]=[d]},Ke),Ev=lt(Mr);function ln(a){return yn(a)?eu(a):Ba(a)}function Pn(a){return yn(a)?eu(a,!0):om(a)}function Rv(a,u){var d={};return u=Ke(u,3),fi(a,function(b,P,M){Ii(d,u(b,P,M),b)}),d}function Dv(a,u){var d={};return u=Ke(u,3),fi(a,function(b,P,M){Ii(d,P,u(b,P,M))}),d}var Vv=$l(function(a,u,d){Es(a,u,d)}),Nf=$l(function(a,u,d,b){Es(a,u,d,b)}),Mv=Li(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ut(u,function(M){return M=tl(M,a),b||(b=M.length>1),M}),ci(a,xa(a),d),b&&(d=qn(d,_|p|v,Lm));for(var P=u.length;P--;)Ka(d,u[P]);return d});function Ov(a,u){return If(a,js(Ke(u)))}var Fv=Li(function(a,u){return a==null?{}:fm(a,u)});function If(a,u){if(a==null)return{};var d=Ut(xa(a),function(b){return[b]});return u=Ke(u),mu(a,d,function(b,P){return u(b,P[0])})}function Uv(a,u,d){u=tl(u,a);var b=-1,P=u.length;for(P||(P=1,a=t);++b<P;){var M=a==null?t:a[di(u[b])];M===t&&(b=P,M=d),a=Ei(M)?M.call(a):M}return a}function Bv(a,u,d){return a==null?a:Fr(a,u,d)}function Hv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Fr(a,u,d,b)}var Tf=Bu(ln),Lf=Bu(Pn);function Wv(a,u,d){var b=$e(a),P=b||il(a)||tr(a);if(u=Ke(u,4),d==null){var M=a&&a.constructor;P?d=b?new M:[]:Wt(a)?d=Ei(M)?Xl(ws(a)):{}:d={}}return(P?Hn:fi)(a,function(H,q,X){return u(d,H,q,X)}),d}function zv(a,u){return a==null?!0:Ka(a,u)}function qv(a,u,d){return a==null?a:Cu(a,u,Ya(d))}function Gv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Cu(a,u,Ya(d),b)}function nr(a){return a==null?[]:Na(a,ln(a))}function Kv(a){return a==null?[]:Na(a,Pn(a))}function jv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=jn(d),d=d===d?d:0),u!==t&&(u=jn(u),u=u===u?u:0),yl(jn(a),u,d)}function Jv(a,u,d){return u=Ri(u),d===t?(d=u,u=0):d=Ri(d),a=jn(a),xp(a,u,d)}function Yv(a,u,d){if(d&&typeof d!="boolean"&&vn(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=Ri(a),u===t?(u=a,a=0):u=Ri(u)),a>u){var b=a;a=u,u=b}if(d||a%1||u%1){var P=$o();return dn(a+P*(u-a+nn("1e-"+((P+"").length-1))),u)}return za(a,u)}var Qv=xl(function(a,u,d){return u=u.toLowerCase(),a+(d?Af(u):u)});function Af(a){return po(St(a).toLowerCase())}function Ef(a){return a=St(a),a&&a.replace(vl,B_).replace(Ve,"")}function Zv(a,u,d){a=St(a),u=Dn(u);var b=a.length;d=d===t?b:yl(et(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function Xv(a){return a=St(a),a&&dr.test(a)?a.replace(dl,H_):a}function $v(a){return a=St(a),a&&gl.test(a)?a.replace(hl,"\\$&"):a}var xv=xl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),e0=xl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),t0=Du("toLowerCase");function n0(a,u,d){a=St(a),u=et(u);var b=u?jl(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return Fs(ys(P),d)+a+Fs(ks(P),d)}function i0(a,u,d){a=St(a),u=et(u);var b=u?jl(a):0;return u&&b<u?a+Fs(u-b,d):a}function l0(a,u,d){a=St(a),u=et(u);var b=u?jl(a):0;return u&&b<u?Fs(u-b,d)+a:a}function r0(a,u,d){return d||u==null?u=0:u&&(u=+u),dp(St(a).replace(ui,""),u||0)}function s0(a,u,d){return(d?vn(a,u,d):u===t)?u=1:u=et(u),qa(St(a),u)}function a0(){var a=arguments,u=St(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var o0=xl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function u0(a,u,d){return d&&typeof d!="number"&&vn(a,u,d)&&(u=d=t),d=d===t?Ce:d>>>0,d?(a=St(a),a&&(typeof u=="string"||u!=null&&!ho(u))&&(u=Dn(u),!u&&Kl(a))?nl(ti(a),0,d):a.split(u,d)):[]}var f0=xl(function(a,u,d){return a+(d?" ":"")+po(u)});function c0(a,u,d){return a=St(a),d=d==null?0:yl(et(d),0,a.length),u=Dn(u),a.slice(d,d+u.length)==u}function d0(a,u,d){var b=V.templateSettings;d&&vn(a,u,d)&&(u=t),a=St(a),u=Qs({},u,b,Hu);var P=Qs({},u.imports,b.imports,Hu),M=ln(P),H=Na(P,M),q,X,ge=0,_e=u.interpolate||ki,ve="__p += '",Ee=Ta((u.escape||ki).source+"|"+_e.source+"|"+(_e===Dl?pl:ki).source+"|"+(u.evaluate||ki).source+"|$","g"),Ue="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ki+"]")+`
36
+ `;a.replace(Ee,function(Ye,at,ft,Mn,wn,On){return ft||(ft=Mn),ve+=a.slice(ge,On).replace(Ul,W_),at&&(q=!0,ve+=`' +
37
37
  __e(`+at+`) +
38
- '`),wn&&($=!0,ve+=`';
38
+ '`),wn&&(X=!0,ve+=`';
39
39
  `+wn+`;
40
- __p += '`),ct&&(ve+=`' +
41
- ((__t = (`+ct+`)) == null ? '' : __t) +
42
- '`),he=Un+Ye.length,Ye}),ve+=`';
40
+ __p += '`),ft&&(ve+=`' +
41
+ ((__t = (`+ft+`)) == null ? '' : __t) +
42
+ '`),ge=On+Ye.length,Ye}),ve+=`';
43
43
  `;var Je=kt.call(u,"variable")&&u.variable;if(!Je)ve=`with (obj) {
44
44
  `+ve+`
45
45
  }
46
- `;else if(br.test(Je))throw new Xe(o);ve=($?ve.replace(St,""):ve).replace(sn,"$1").replace(kn,"$1;"),ve="function("+(Je||"obj")+`) {
46
+ `;else if(br.test(Je))throw new Xe(o);ve=(X?ve.replace(sn,""):ve).replace(Tn,"$1").replace($n,"$1;"),ve="function("+(Je||"obj")+`) {
47
47
  `+(Je?"":`obj || (obj = {});
48
- `)+"var __t, __p = ''"+(K?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
48
+ `)+"var __t, __p = ''"+(q?", __e = _.escape":"")+(X?`, __j = Array.prototype.join;
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+ve+`return __p
52
- }`;var nt=Df(function(){return bt(V,Ue+"return "+ve).apply(t,W)});if(nt.source=ve,co(nt))throw nt;return nt}function h0(a){return wt(a).toLowerCase()}function g0(a){return wt(a).toUpperCase()}function _0(a,u,d){if(a=wt(a),a&&(d||u===t))return Wo(a);if(!a||!(u=Mn(u)))return a;var b=ni(a),P=ni(u),V=zo(b,P),W=qo(b,P)+1;return nl(b,V,W).join("")}function p0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Ko(a)+1);if(!a||!(u=Mn(u)))return a;var b=ni(a),P=qo(b,ni(u))+1;return nl(b,0,P).join("")}function m0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(di,"");if(!a||!(u=Mn(u)))return a;var b=ni(a),P=zo(b,ni(u));return nl(b,P).join("")}function b0(a,u){var d=B,b=G;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?Mn(u.omission):b}a=wt(a);var V=a.length;if(Kl(a)){var W=ni(a);V=W.length}if(d>=V)return a;var K=d-jl(b);if(K<1)return b;var $=W?nl(W,0,K).join(""):a.slice(0,K);if(P===t)return $+b;if(W&&(K+=$.length-K),ho(P)){if(a.slice(K).search(P)){var he,ge=$;for(P.global||(P=Ta(P.source,wt(Hi.exec(P))+"g")),P.lastIndex=0;he=P.exec(ge);)var ve=he.index;$=$.slice(0,ve===t?K:ve)}}else if(a.indexOf(Mn(P),K)!=K){var Ae=$.lastIndexOf(P);Ae>-1&&($=$.slice(0,Ae))}return $+b}function v0(a){return a=wt(a),a&&Ui.test(a)?a.replace(ti,Y_):a}var w0=xl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Du("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?q_(a)?X_(a):V_(a):a.match(u)||[]}var Df=lt(function(a,u){try{return Dn(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),S0=Ai(function(a,u){return Gn(u,function(d){d=_i(d),Ti(a,d,uo(a[d],a))}),a});function C0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ft(a,function(b){if(typeof b[1]!="function")throw new Kn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var V=a[P];if(Dn(V[0],this,b))return Dn(V[1],this,b)}})}function k0(a){return Yp(Jn(a,_))}function mo(a){return function(){return a}}function y0(a,u){return a==null||a!==a?u:a}var P0=Mu(),N0=Mu(!0);function Tn(a){return a}function bo(a){return cu(typeof a=="function"?a:Jn(a,_))}function I0(a){return hu(Jn(a,_))}function T0(a,u){return gu(a,Jn(u,_))}var L0=lt(function(a,u){return function(d){return Mr(d,a,u)}}),A0=lt(function(a,u){return function(d){return Mr(a,d,u)}});function vo(a,u,d){var b=nn(u),P=As(u,b);d==null&&!(Bt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=As(u,nn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,W=Ri(a);return Gn(P,function(K){var $=u[K];a[K]=$,W&&(a.prototype[K]=function(){var he=this.__chain__;if(V||he){var ge=a(this.__wrapped__),ve=ge.__actions__=Pn(this.__actions__);return ve.push({func:$,args:arguments,thisArg:a}),ge.__chain__=he,ge}return $.apply(a,Zi([this.value()],arguments))})}),a}function E0(){return qt._===this&&(qt._=ip),this}function wo(){}function R0(a){return a=et(a),lt(function(u){return _u(u,a)})}var D0=Za(Ft),V0=Za(Oo),M0=Za(Sa);function Vf(a){return io(a)?Ca(_i(a)):cm(a)}function O0(a){return function(u){return a==null?t:Pl(a,u)}}var F0=Fu(),U0=Fu(!0);function So(){return[]}function Co(){return!1}function B0(){return{}}function H0(){return""}function W0(){return!0}function z0(a,u){if(a=et(a),a<1||a>be)return[];var d=Ce,b=dn(a,Ce);u=Ke(u),a-=Ce;for(var P=Pa(b,u);++d<a;)u(d);return P}function q0(a){return $e(a)?Ft(a,_i):On(a)?[a]:Pn(xu(wt(a)))}function G0(a){var u=++tp;return wt(a)+u}var K0=Os(function(a,u){return a+u},0),j0=Xa("ceil"),J0=Os(function(a,u){return a/u},1),Y0=Xa("floor");function Q0(a){return a&&a.length?Ls(a,Tn,Oa):t}function Z0(a,u){return a&&a.length?Ls(a,Ke(u,2),Oa):t}function X0(a){return Bo(a,Tn)}function $0(a,u){return Bo(a,Ke(u,2))}function x0(a){return a&&a.length?Ls(a,Tn,Ha):t}function ew(a,u){return a&&a.length?Ls(a,Ke(u,2),Ha):t}var tw=Os(function(a,u){return a*u},1),nw=Xa("round"),iw=Os(function(a,u){return a-u},0);function lw(a){return a&&a.length?ya(a,Tn):0}function rw(a,u){return a&&a.length?ya(a,Ke(u,2)):0}return D.after=Ib,D.ary=cf,D.assign=gv,D.assignIn=Pf,D.assignInWith=Qs,D.assignWith=_v,D.at=pv,D.before=df,D.bind=uo,D.bindAll=S0,D.bindKey=hf,D.castArray=Bb,D.chain=of,D.chunk=Ym,D.compact=Qm,D.concat=Zm,D.cond=C0,D.conforms=k0,D.constant=mo,D.countBy=lb,D.create=mv,D.curry=gf,D.curryRight=_f,D.debounce=pf,D.defaults=bv,D.defaultsDeep=vv,D.defer=Tb,D.delay=Lb,D.difference=Xm,D.differenceBy=$m,D.differenceWith=xm,D.drop=e1,D.dropRight=t1,D.dropRightWhile=n1,D.dropWhile=i1,D.fill=l1,D.filter=sb,D.flatMap=ub,D.flatMapDeep=fb,D.flatMapDepth=cb,D.flatten=lf,D.flattenDeep=r1,D.flattenDepth=s1,D.flip=Ab,D.flow=P0,D.flowRight=N0,D.fromPairs=a1,D.functions=Nv,D.functionsIn=Iv,D.groupBy=db,D.initial=u1,D.intersection=f1,D.intersectionBy=c1,D.intersectionWith=d1,D.invert=Lv,D.invertBy=Av,D.invokeMap=gb,D.iteratee=bo,D.keyBy=_b,D.keys=nn,D.keysIn=In,D.map=qs,D.mapKeys=Rv,D.mapValues=Dv,D.matches=I0,D.matchesProperty=T0,D.memoize=Ks,D.merge=Vv,D.mergeWith=Nf,D.method=L0,D.methodOf=A0,D.mixin=vo,D.negate=js,D.nthArg=R0,D.omit=Mv,D.omitBy=Ov,D.once=Eb,D.orderBy=pb,D.over=D0,D.overArgs=Rb,D.overEvery=V0,D.overSome=M0,D.partial=fo,D.partialRight=mf,D.partition=mb,D.pick=Fv,D.pickBy=If,D.property=Vf,D.propertyOf=O0,D.pull=p1,D.pullAll=sf,D.pullAllBy=m1,D.pullAllWith=b1,D.pullAt=v1,D.range=F0,D.rangeRight=U0,D.rearg=Db,D.reject=wb,D.remove=w1,D.rest=Vb,D.reverse=ao,D.sampleSize=Cb,D.set=Bv,D.setWith=Hv,D.shuffle=kb,D.slice=S1,D.sortBy=Nb,D.sortedUniq=T1,D.sortedUniqBy=L1,D.split=u0,D.spread=Mb,D.tail=A1,D.take=E1,D.takeRight=R1,D.takeRightWhile=D1,D.takeWhile=V1,D.tap=Q1,D.throttle=Ob,D.thru=zs,D.toArray=Cf,D.toPairs=Tf,D.toPairsIn=Lf,D.toPath=q0,D.toPlainObject=yf,D.transform=Wv,D.unary=Fb,D.union=M1,D.unionBy=O1,D.unionWith=F1,D.uniq=U1,D.uniqBy=B1,D.uniqWith=H1,D.unset=zv,D.unzip=oo,D.unzipWith=af,D.update=qv,D.updateWith=Gv,D.values=nr,D.valuesIn=Kv,D.without=W1,D.words=Rf,D.wrap=Ub,D.xor=z1,D.xorBy=q1,D.xorWith=G1,D.zip=K1,D.zipObject=j1,D.zipObjectDeep=J1,D.zipWith=Y1,D.entries=Tf,D.entriesIn=Lf,D.extend=Pf,D.extendWith=Qs,vo(D,D),D.add=K0,D.attempt=Df,D.camelCase=Qv,D.capitalize=Af,D.ceil=j0,D.clamp=jv,D.clone=Hb,D.cloneDeep=zb,D.cloneDeepWith=qb,D.cloneWith=Wb,D.conformsTo=Gb,D.deburr=Ef,D.defaultTo=y0,D.divide=J0,D.endsWith=Zv,D.eq=li,D.escape=Xv,D.escapeRegExp=$v,D.every=rb,D.find=ab,D.findIndex=tf,D.findKey=wv,D.findLast=ob,D.findLastIndex=nf,D.findLastKey=Sv,D.floor=Y0,D.forEach=uf,D.forEachRight=ff,D.forIn=Cv,D.forInRight=kv,D.forOwn=yv,D.forOwnRight=Pv,D.get=go,D.gt=Kb,D.gte=jb,D.has=Tv,D.hasIn=_o,D.head=rf,D.identity=Tn,D.includes=hb,D.indexOf=o1,D.inRange=Jv,D.invoke=Ev,D.isArguments=Tl,D.isArray=$e,D.isArrayBuffer=Jb,D.isArrayLike=Nn,D.isArrayLikeObject=Gt,D.isBoolean=Yb,D.isBuffer=il,D.isDate=Qb,D.isElement=Zb,D.isEmpty=Xb,D.isEqual=$b,D.isEqualWith=xb,D.isError=co,D.isFinite=ev,D.isFunction=Ri,D.isInteger=bf,D.isLength=Js,D.isMap=vf,D.isMatch=tv,D.isMatchWith=nv,D.isNaN=iv,D.isNative=lv,D.isNil=sv,D.isNull=rv,D.isNumber=wf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=Wr,D.isRegExp=ho,D.isSafeInteger=av,D.isSet=Sf,D.isString=Ys,D.isSymbol=On,D.isTypedArray=tr,D.isUndefined=ov,D.isWeakMap=uv,D.isWeakSet=fv,D.join=h1,D.kebabCase=xv,D.last=Qn,D.lastIndexOf=g1,D.lowerCase=e0,D.lowerFirst=t0,D.lt=cv,D.lte=dv,D.max=Q0,D.maxBy=Z0,D.mean=X0,D.meanBy=$0,D.min=x0,D.minBy=ew,D.stubArray=So,D.stubFalse=Co,D.stubObject=B0,D.stubString=H0,D.stubTrue=W0,D.multiply=tw,D.nth=_1,D.noConflict=E0,D.noop=wo,D.now=Gs,D.pad=n0,D.padEnd=i0,D.padStart=l0,D.parseInt=r0,D.random=Yv,D.reduce=bb,D.reduceRight=vb,D.repeat=s0,D.replace=a0,D.result=Uv,D.round=nw,D.runInContext=Q,D.sample=Sb,D.size=yb,D.snakeCase=o0,D.some=Pb,D.sortedIndex=C1,D.sortedIndexBy=k1,D.sortedIndexOf=y1,D.sortedLastIndex=P1,D.sortedLastIndexBy=N1,D.sortedLastIndexOf=I1,D.startCase=f0,D.startsWith=c0,D.subtract=iw,D.sum=lw,D.sumBy=rw,D.template=d0,D.times=z0,D.toFinite=Di,D.toInteger=et,D.toLength=kf,D.toLower=h0,D.toNumber=Zn,D.toSafeInteger=hv,D.toString=wt,D.toUpper=g0,D.trim=_0,D.trimEnd=p0,D.trimStart=m0,D.truncate=b0,D.unescape=v0,D.uniqueId=G0,D.upperCase=w0,D.upperFirst=po,D.each=uf,D.eachRight=ff,D.first=rf,vo(D,function(){var a={};return hi(D,function(u,d){kt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,Gn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),Gn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:$t(et(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=dn(d,b.__takeCount__):b.__views__.push({size:dn(d,Ce),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Gn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==Z||d==j;ot.prototype[a]=function(P){var V=this.clone();return V.__iteratees__.push({iteratee:Ke(P,3),type:d}),V.__filtered__=V.__filtered__||b,V}}),Gn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Gn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ot.prototype[a]=function(){return this.__filtered__?new ot(this):this[d](1)}}),ot.prototype.compact=function(){return this.filter(Tn)},ot.prototype.find=function(a){return this.filter(a).head()},ot.prototype.findLast=function(a){return this.reverse().find(a)},ot.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new ot(this):this.map(function(d){return Mr(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(js(Ke(a)))},ot.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(Ce)},hi(ot.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=D[b?"take"+(u=="last"?"Right":""):u],V=b||/^find/.test(u);P&&(D.prototype[u]=function(){var W=this.__wrapped__,K=b?[1]:arguments,$=W instanceof ot,he=K[0],ge=$||$e(W),ve=function(at){var ct=P.apply(D,Zi([at],K));return b&&Ae?ct[0]:ct};ge&&d&&typeof he=="function"&&he.length!=1&&($=ge=!1);var Ae=this.__chain__,Ue=!!this.__actions__.length,Je=V&&!Ae,nt=$&&!Ue;if(!V&&ge){W=nt?W:new ot(this);var Ye=a.apply(W,K);return Ye.__actions__.push({func:zs,args:[ve],thisArg:t}),new jn(Ye,Ae)}return Je&&nt?a.apply(this,K):(Ye=this.thru(ve),Je?b?Ye.value()[0]:Ye.value():Ye)})}),Gn(["pop","push","shift","sort","splice","unshift"],function(a){var u=gs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var V=this.value();return u.apply($e(V)?V:[],P)}return this[d](function(W){return u.apply($e(W)?W:[],P)})}}),hi(ot.prototype,function(a,u){var d=D[u];if(d){var b=d.name+"";kt.call(Zl,b)||(Zl[b]=[]),Zl[b].push({name:u,func:d})}}),Zl[Ms(t,y).name]=[{name:"wrapper",func:t}],ot.prototype.clone=vp,ot.prototype.reverse=wp,ot.prototype.value=Sp,D.prototype.at=Z1,D.prototype.chain=X1,D.prototype.commit=$1,D.prototype.next=x1,D.prototype.plant=tb,D.prototype.reverse=nb,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=ib,D.prototype.first=D.prototype.head,Tr&&(D.prototype[Tr]=eb),D},Jl=$_();Ji?((Ji.exports=Jl)._=Jl,ji._=Jl):qt._=Jl}).call(qr)})(sa,sa.exports);var jr=sa.exports;class xw{getNodePath(e,t){return e?_e.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=se.getConfigValue("routing.useHashRouting"),g=se.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?_e.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=se.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const w={detail:{preventContextUpdate:s,withoutSync:!r}},m=new CustomEvent("popstate",w);window.dispatchEvent(m)}getWindowPath(){return se.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=_e.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=_e.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=_e.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return se.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=se.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&_e.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(se.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(){se.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(se.getConfigValueAsync("navigation.nodes"),"/"),_=await _e.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 _e.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(se.getConfigValueAsync("navigation.nodes"),"/"),h=await _e.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){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Vt.extractDataFromPath(o),p=h.viewUrl||"";if(await this.handleViewUrlMisconfigured(h,p,c,g,t)||await this.handlePageNotFound(h,p,_,o,t,g,l))return;const w=se.getConfigBooleanValue("settings.hideNavigation"),m=_e.parseParams(g.split("?")[1]),v=_e.getNodeParams(m),k=Se.findViewGroup(h),y=decodeURIComponent(g.split("?")[1]||""),N=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let I=!1,A=N;for(;A;){if(A.tabNav===!0){I=!0;break}else if(A.tabNav===!1){I=!1;break}else if(le.isObject(A.tabNav)){if(A.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in A.tabNav&&A.children)if(A.tabNav.hideTabNavAutomatically===!0&&A.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}A=Se.getParentNode(A,_.navigationPath)}let R=N,E=h.hideSideNav;if(E===void 0)for(;R;){if(R.tabNav&&R.hideSideNav===!0){E=!0;break}if(R.hideSideNav===!1){E=!1;break}R=Se.getParentNode(R,_.navigationPath)}const O=_e.substituteDynamicParamsInObject(Object.assign({},_.context,N.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:w,viewUrl:p,nodeParams:v,viewGroup:k,urlParamsRaw:y,currentNode:N,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:h.isolateView||!1,tabNav:I};t.set(Object.assign({},H,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(I?F.classList.add("iframeContainerTabNav"):F.classList.contains("iframeContainerTabNav")&&F.classList.remove("iframeContainerTabNav")),h.compound)si.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)si.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponent(t,h);else{const G=document.querySelector(".wcContainer");if(G&&(G.configChangedRequest=!1),F&&(F.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await si.navigateIframe(l,t,n);else{const ee=t.get(),te=await t.prepareInternalData(l);Te.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ee.context),nodeParams:JSON.stringify(ee.nodeParams),pathParams:JSON.stringify(ee.pathParams),searchParams:JSON.stringify(_e.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(te),withoutSync:!0})}}const B=document.querySelector(".lui-tab-header");B&&B.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(c.currentNode,N)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=_e.getModalPathFromPath();if(e){const t=_e.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);p_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(_e.isDynamicNode(c)){if(!r||o!==_e.getDynamicNodeValue(c,e.pathParams)){Bn.deleteNodesRecursively(c);break}}else r=!1}}else Bn.deleteCache()}handleRouteClick(e,t){const n=_e.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=Te.getIframeContainer(),s=si.getActiveIframe(r);s&&s.vg&&si.canCache(s.vg)?(si.switchActiveIframe(Te.getIframeContainer(),void 0,!1),setTimeout(()=>{si.switchActiveIframe(Te.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=_e.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Te.getIframeContainer(),r):this.navigateTo(o);return}_e.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={...jw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=_e.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=_e.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ar.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&&ar.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&&jr.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=>Se.checkVisibleForFeatureToggles(s))),ar.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=_e.getHashQueryParamSeparator();const r=_e.getQueryParams(),s=_e.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${_e.encodeParams(r)}`}else o.search=`?${_e.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=_e.getHashQueryParamSeparator();const l=_e.getQueryParams(),r=_e.getModalViewParamName(),s=l[r],o=new URL(location.href),c=se.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,w]=o.hash.split("?");h=p,_=_e.getURLWithoutModalData(w,r),_&&(h+="?"+_)}else h=o.pathname,_=_e.getURLWithoutModalData(o.search,r),_&&(h+="?"+_e.getURLWithoutModalData(o.search,r));if(g=_e.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}${_e.encodeParams(l)}`}else o.search=`?${_e.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let w=p.hash.split("?")[0];p.hash=w,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=_e.getQueryParams(),n=_e.getModalViewParamName();let l=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=_e.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 xe=new xw;class e2{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=_e.substituteViewUrl(e,t));const l=Te.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(se.getConfigValueAsync("navigation.nodes"),t),r=_e.parseParams(n.split("?")[1]),s=_e.getNodeParams(r),o=_e.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){ar.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}),Te.getIframeContainer().style.marginBottom="",rt.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`,Te.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="",Te.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Te.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new e2;class t2{luigiAfterInit(){se.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const n2=new t2;class i2{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=se.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 i2;class l2{constructor(){return this._userInfoStore=or({}),this._loggedInStore=or(!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=se.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=se.getConfigValue(`auth.${e}`),n=sl.parseUrlAuthErrors()||{};if(await sl.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),se.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(se.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await bi.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(ll(this._userInfoStore))),le.isFunction(se.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await bi.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=sl.getStoredAuthData(),t=async l=>{await bi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=se.getConfigValue(`auth.${se.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(se.getConfigValue("auth.events.onAuthConfigError")))await bi.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 ln=new l2;class r2{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 Jr=new r2;class s2{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 bi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const sl=new s2;class a2{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),w=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(w,_),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 fr=new a2;class o2{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!!(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=jr.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),jr.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=!!se.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=se._remotePromises;return l||(l={counter:0,promises:[]},se._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 se._remotePromises?se._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new o2;class u2{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");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return yw.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){Te.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=se.getConfigValue("settings.customSandboxRules"),c=se.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Jr.hasDecorators()?Jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,w)=>{c[w]=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 _=se.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=[...Te.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 Te.specialIframeTypes.filter(n=>Te.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:To.getCurrentTheme()}}}const Te=new u2;class f2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=se.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(bi.isAuthorizationEnabled()){const r=sl.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=se.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=se.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,w=_.order||0;return p-w})};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 w=r[h];w||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),w=[],r[h]=w),w.metaInfo||(w.metaInfo=_),le.isObject(p)&&w.metaInfo._fromString&&(delete w.metaInfo._fromString,w.metaInfo={...w.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?w.metaInfo.titleExpandButton=p.titleExpandButton:w.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?w.metaInfo.titleCollapseButton=p.titleCollapseButton:w.metaInfo.titleCollapseButton=l.titleCollapseButton),!w.metaInfo.categoryUid&&h&&w.metaInfo.collapsible&&(w.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||w.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=se.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(w=>{!n&&w===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const w=h.category.label||h.category;if(s[w]){if(s[w].icon||(s[w].icon=h.category.icon,s[w].altText=h.category.altText),p&&!s[w].badgeCounter)s[w].badgeCounter={label:"",count:()=>_};else if(p){const m=s[w].badgeCounter.count()+_;s[w].badgeCounter.count=()=>m}}else s[w]={isCat:!0,label:w,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[w]);s[w].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:se.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||"/";xe.navigateTo(t)}}getBurgerTooltipConfig(){const e=se.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:jr.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=>{jr.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=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return se.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Te.getLocation(e.viewUrl)===Te.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}}const Se=new f2;class c2{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}getContentViewParamPrefix(){let e=se.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=se.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return se.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=_e.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?_e.parseParams(_e.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return _e.getLocation().search?_e.parseParams(_e.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(se.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=se.getConfigValue("routing.useHashRouting");Ln.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?xe.getHashPath():xe.getModifiedPathname();e(l)}}),Ln.addEventListener("popstate",n=>{const l=t?xe.getHashPath(location.href):xe.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:_e.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:xe.buildFromRelativePath(e);return l+s}const r=_e.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=_e.getRouteLink(e,t,se.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(se.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=_e.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];rl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,rl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[fr.sanitizeParam(n[0])]=fr.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=se.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=se.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 rl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=rl.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&&rl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=se.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 _e=new c2;class d2{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 fn=new d2;class h2{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 Ln=new h2;class g2{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}};Te.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Te.sendMessageToIframe(s,r))}}const _2=new g2;class p2{constructor(){}processUserSettingGroups(){const e=[],t=se.getConfigValue("userSettings.userSettingGroups"),n=se.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=Te.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 rr=new p2;class m2{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 Wf=new m2;function zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function qf(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=C("div"),t=C("p"),l=q(),r=C("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=q(),f(t,"class","fd-message-strip__text svelte-q4rpsc"),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-q4rpsc"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),S(e,t),t.innerHTML=n,S(e,l),S(e,r),S(e,s),c||(g=ae(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-q4rpsc")&&f(e,"class",o)},d(_){_&&T(e),c=!1,g()}}}function b2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qf(zf(i,t,l));return{c(){e=C("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-q4rpsc"),f(e,"aria-hidden","false")},m(l,r){L(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=zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=qf(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&&T(e),dt(n,l),i[5](null)}}}function v2(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=gt("getUnsavedChangesModalPromise"),c=gt("handleNavigation");Hn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(w=>{const{text:m,links:v,closeAfter:k}=w.settings,y=fr.processTextAndLinks(m,v,w.settings.id);if(setTimeout(()=>{y.links.forEach(N=>{g(N,w.settings.id)})}),w.settings.afterInit){const N=s;w.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:w.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...w.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),jt(()=>{});function g(p,w){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=k=>{if(p.url){const y=!p.url.startsWith("/");k.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:y}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:w,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){tt[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 w2 extends Rt{constructor(e){super(),Et(this,e,v2,b2,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,wi=13,vi=27,Yr=32,S2=36,C2=35;function Gf(i){let e,t;return{c(){e=C("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Kf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function k2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",w,m,v,k,y,N,I=i[0].buttonDismiss+"",A,R,E,O,H,F=i[0].type&&Gf(i),B=i[0].buttonConfirm!==!1&&Kf(i);return{c(){e=C("div"),t=C("section"),n=C("header"),l=C("div"),r=C("div"),F&&F.c(),s=q(),o=C("h2"),g=Ne(c),h=q(),_=C("div"),w=q(),m=C("footer"),v=C("div"),B&&B.c(),k=q(),y=C("div"),N=C("button"),A=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-lzffuc"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",R="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(G,ee){L(G,e,ee),S(e,t),S(t,n),S(n,l),S(l,r),F&&F.m(r,null),S(r,s),S(r,o),S(o,g),S(t,h),S(t,_),_.innerHTML=p,S(t,w),S(t,m),S(m,v),B&&B.m(v,null),S(v,k),S(v,y),S(y,N),S(N,A),O||(H=[ae(window,"keydown",i[1]),ae(N,"click",i[5])],O=!0)},p(G,[ee]){G[0].type?F?F.p(G,ee):(F=Gf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),ee&1&&c!==(c=G[0].header+"")&&Ie(g,c),ee&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,ee):(B=Kf(G),B.c(),B.m(v,k)):B&&(B.d(1),B=null),ee&1&&I!==(I=G[0].buttonDismiss+"")&&Ie(A,I),ee&1&&R!==(R="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",R),ee&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Fe,o:Fe,d(G){G&&T(e),F&&F.d(),B&&B.d(),O=!1,Qe(H)}}}function y2(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"};Qr(()=>{Te.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:fr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Te.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 Se.renderIconClassName(h)}function o(h){h.keyCode===vi&&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 P2 extends Rt{constructor(e){super(),Et(this,e,y2,k2,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function N2(i){let e,t,n;const l=i[5].default,r=t_(l,i,i[4],null);return{c(){e=C("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(s,o){L(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&l_(r,l,s,s[4],n?i_(l,s[4],o,null):r_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){z(r,s),n=!1},d(s){s&&T(e),r&&r.d(s)}}}function I2(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 m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=m+g.data.heightCssClass):t(0,s=m+"height-auto"):t(0,s="")},w=m=>{if(!h)return!0;const k=[...Te.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(k&&h===k.type)};return jt(()=>{se.getConfigValue("settings.backdropDisabled")||(p(),Ln.addEventListener("message",v=>{const k=Te.getValidMessageSource(v);k&&_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=w(v)),r("stateChanged",{backdropActive:!0}),Te.disableA11yOfInactiveIframe(k)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Te.enableA11yOfInactiveIframe()))}))}),Hn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,s=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,h=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[s,h,o,_,l,n]}class Xr extends Rt{constructor(e){super(),Et(this,e,I2,N2,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function jf(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m;t=new Xr({props:{disable:i[2]}});let v=i[0].title&&Jf(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),r=C("div"),v&&v.c(),s=q(),o=C("div"),c=C("div"),g=C("button"),h=C("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[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(k,y){L(k,e,y),Be(t,e,null),S(e,n),S(e,l),S(l,r),v&&v.m(r,null),S(e,s),S(e,o),S(o,c),S(c,g),S(g,h),p=!0,w||(m=ae(g,"click",i[11]),w=!0)},p(k,y){const N={};y&4&&(N.disable=k[2]),t.$set(N),k[0].title?v?v.p(k,y):(v=Jf(k),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&_!==(_=k[0].closebtn_data_testid&&k[5]?k[0].closebtn_data_testid:"lui-modal-index-"+k[1]))&&f(g,"data-testid",_)},i(k){p||(M(t.$$.fragment,k),p=!0)},o(k){z(t.$$.fragment,k),p=!1},d(k){k&&T(e),He(t),v&&v.d(),w=!1,m()}}}function Jf(i){let e,t=i[0].title+"",n;return{c(){e=C("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Yf(i){let e;const t=i[10].default,n=t_(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&l_(n,t,l,l[9],e?i_(t,l[9],r,null):r_(l[9]),null)},i(l){e||(M(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function Qf(i){let e;return{c(){e=C("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 nt=Df(function(){return bt(M,Ue+"return "+ve).apply(t,H)});if(nt.source=ve,co(nt))throw nt;return nt}function h0(a){return St(a).toLowerCase()}function g0(a){return St(a).toUpperCase()}function _0(a,u,d){if(a=St(a),a&&(d||u===t))return Wo(a);if(!a||!(u=Dn(u)))return a;var b=ti(a),P=ti(u),M=zo(b,P),H=qo(b,P)+1;return nl(b,M,H).join("")}function p0(a,u,d){if(a=St(a),a&&(d||u===t))return a.slice(0,Ko(a)+1);if(!a||!(u=Dn(u)))return a;var b=ti(a),P=qo(b,ti(u))+1;return nl(b,0,P).join("")}function m0(a,u,d){if(a=St(a),a&&(d||u===t))return a.replace(ui,"");if(!a||!(u=Dn(u)))return a;var b=ti(a),P=zo(b,ti(u));return nl(b,P).join("")}function b0(a,u){var d=K,b=G;if(Wt(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?Dn(u.omission):b}a=St(a);var M=a.length;if(Kl(a)){var H=ti(a);M=H.length}if(d>=M)return a;var q=d-jl(b);if(q<1)return b;var X=H?nl(H,0,q).join(""):a.slice(0,q);if(P===t)return X+b;if(H&&(q+=X.length-q),ho(P)){if(a.slice(q).search(P)){var ge,_e=X;for(P.global||(P=Ta(P.source,St(Hi.exec(P))+"g")),P.lastIndex=0;ge=P.exec(_e);)var ve=ge.index;X=X.slice(0,ve===t?q:ve)}}else if(a.indexOf(Dn(P),q)!=q){var Ee=X.lastIndexOf(P);Ee>-1&&(X=X.slice(0,Ee))}return X+b}function v0(a){return a=St(a),a&&Ui.test(a)?a.replace(xn,Y_):a}var w0=xl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Du("toUpperCase");function Rf(a,u,d){return a=St(a),u=d?t:u,u===t?q_(a)?X_(a):V_(a):a.match(u)||[]}var Df=lt(function(a,u){try{return En(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),S0=Li(function(a,u){return Hn(u,function(d){d=di(d),Ii(a,d,uo(a[d],a))}),a});function C0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ut(a,function(b){if(typeof b[1]!="function")throw new Wn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(En(M[0],this,b))return En(M[1],this,b)}})}function k0(a){return Yp(qn(a,_))}function mo(a){return function(){return a}}function y0(a,u){return a==null||a!==a?u:a}var P0=Mu(),N0=Mu(!0);function Nn(a){return a}function bo(a){return cu(typeof a=="function"?a:qn(a,_))}function I0(a){return hu(qn(a,_))}function T0(a,u){return gu(a,qn(u,_))}var L0=lt(function(a,u){return function(d){return Mr(d,a,u)}}),A0=lt(function(a,u){return function(d){return Mr(a,d,u)}});function vo(a,u,d){var b=ln(u),P=As(u,b);d==null&&!(Wt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=As(u,ln(u)));var M=!(Wt(d)&&"chain"in d)||!!d.chain,H=Ei(a);return Hn(P,function(q){var X=u[q];a[q]=X,H&&(a.prototype[q]=function(){var ge=this.__chain__;if(M||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=kn(this.__actions__);return ve.push({func:X,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return X.apply(a,Zi([this.value()],arguments))})}),a}function E0(){return Kt._===this&&(Kt._=ip),this}function wo(){}function R0(a){return a=et(a),lt(function(u){return _u(u,a)})}var D0=Za(Ut),V0=Za(Oo),M0=Za(Sa);function Vf(a){return io(a)?Ca(di(a)):cm(a)}function O0(a){return function(u){return a==null?t:Pl(a,u)}}var F0=Fu(),U0=Fu(!0);function So(){return[]}function Co(){return!1}function B0(){return{}}function H0(){return""}function W0(){return!0}function z0(a,u){if(a=et(a),a<1||a>we)return[];var d=Ce,b=dn(a,Ce);u=Ke(u),a-=Ce;for(var P=Pa(b,u);++d<a;)u(d);return P}function q0(a){return $e(a)?Ut(a,di):Vn(a)?[a]:kn(xu(St(a)))}function G0(a){var u=++tp;return St(a)+u}var K0=Os(function(a,u){return a+u},0),j0=Xa("ceil"),J0=Os(function(a,u){return a/u},1),Y0=Xa("floor");function Q0(a){return a&&a.length?Ls(a,Nn,Oa):t}function Z0(a,u){return a&&a.length?Ls(a,Ke(u,2),Oa):t}function X0(a){return Bo(a,Nn)}function $0(a,u){return Bo(a,Ke(u,2))}function x0(a){return a&&a.length?Ls(a,Nn,Ha):t}function ew(a,u){return a&&a.length?Ls(a,Ke(u,2),Ha):t}var tw=Os(function(a,u){return a*u},1),nw=Xa("round"),iw=Os(function(a,u){return a-u},0);function lw(a){return a&&a.length?ya(a,Nn):0}function rw(a,u){return a&&a.length?ya(a,Ke(u,2)):0}return V.after=Ib,V.ary=cf,V.assign=gv,V.assignIn=Pf,V.assignInWith=Qs,V.assignWith=_v,V.at=pv,V.before=df,V.bind=uo,V.bindAll=S0,V.bindKey=hf,V.castArray=Bb,V.chain=of,V.chunk=Ym,V.compact=Qm,V.concat=Zm,V.cond=C0,V.conforms=k0,V.constant=mo,V.countBy=lb,V.create=mv,V.curry=gf,V.curryRight=_f,V.debounce=pf,V.defaults=bv,V.defaultsDeep=vv,V.defer=Tb,V.delay=Lb,V.difference=Xm,V.differenceBy=$m,V.differenceWith=xm,V.drop=e1,V.dropRight=t1,V.dropRightWhile=n1,V.dropWhile=i1,V.fill=l1,V.filter=sb,V.flatMap=ub,V.flatMapDeep=fb,V.flatMapDepth=cb,V.flatten=lf,V.flattenDeep=r1,V.flattenDepth=s1,V.flip=Ab,V.flow=P0,V.flowRight=N0,V.fromPairs=a1,V.functions=Nv,V.functionsIn=Iv,V.groupBy=db,V.initial=u1,V.intersection=f1,V.intersectionBy=c1,V.intersectionWith=d1,V.invert=Lv,V.invertBy=Av,V.invokeMap=gb,V.iteratee=bo,V.keyBy=_b,V.keys=ln,V.keysIn=Pn,V.map=qs,V.mapKeys=Rv,V.mapValues=Dv,V.matches=I0,V.matchesProperty=T0,V.memoize=Ks,V.merge=Vv,V.mergeWith=Nf,V.method=L0,V.methodOf=A0,V.mixin=vo,V.negate=js,V.nthArg=R0,V.omit=Mv,V.omitBy=Ov,V.once=Eb,V.orderBy=pb,V.over=D0,V.overArgs=Rb,V.overEvery=V0,V.overSome=M0,V.partial=fo,V.partialRight=mf,V.partition=mb,V.pick=Fv,V.pickBy=If,V.property=Vf,V.propertyOf=O0,V.pull=p1,V.pullAll=sf,V.pullAllBy=m1,V.pullAllWith=b1,V.pullAt=v1,V.range=F0,V.rangeRight=U0,V.rearg=Db,V.reject=wb,V.remove=w1,V.rest=Vb,V.reverse=ao,V.sampleSize=Cb,V.set=Bv,V.setWith=Hv,V.shuffle=kb,V.slice=S1,V.sortBy=Nb,V.sortedUniq=T1,V.sortedUniqBy=L1,V.split=u0,V.spread=Mb,V.tail=A1,V.take=E1,V.takeRight=R1,V.takeRightWhile=D1,V.takeWhile=V1,V.tap=Q1,V.throttle=Ob,V.thru=zs,V.toArray=Cf,V.toPairs=Tf,V.toPairsIn=Lf,V.toPath=q0,V.toPlainObject=yf,V.transform=Wv,V.unary=Fb,V.union=M1,V.unionBy=O1,V.unionWith=F1,V.uniq=U1,V.uniqBy=B1,V.uniqWith=H1,V.unset=zv,V.unzip=oo,V.unzipWith=af,V.update=qv,V.updateWith=Gv,V.values=nr,V.valuesIn=Kv,V.without=W1,V.words=Rf,V.wrap=Ub,V.xor=z1,V.xorBy=q1,V.xorWith=G1,V.zip=K1,V.zipObject=j1,V.zipObjectDeep=J1,V.zipWith=Y1,V.entries=Tf,V.entriesIn=Lf,V.extend=Pf,V.extendWith=Qs,vo(V,V),V.add=K0,V.attempt=Df,V.camelCase=Qv,V.capitalize=Af,V.ceil=j0,V.clamp=jv,V.clone=Hb,V.cloneDeep=zb,V.cloneDeepWith=qb,V.cloneWith=Wb,V.conformsTo=Gb,V.deburr=Ef,V.defaultTo=y0,V.divide=J0,V.endsWith=Zv,V.eq=ii,V.escape=Xv,V.escapeRegExp=$v,V.every=rb,V.find=ab,V.findIndex=tf,V.findKey=wv,V.findLast=ob,V.findLastIndex=nf,V.findLastKey=Sv,V.floor=Y0,V.forEach=uf,V.forEachRight=ff,V.forIn=Cv,V.forInRight=kv,V.forOwn=yv,V.forOwnRight=Pv,V.get=go,V.gt=Kb,V.gte=jb,V.has=Tv,V.hasIn=_o,V.head=rf,V.identity=Nn,V.includes=hb,V.indexOf=o1,V.inRange=Jv,V.invoke=Ev,V.isArguments=Tl,V.isArray=$e,V.isArrayBuffer=Jb,V.isArrayLike=yn,V.isArrayLikeObject=jt,V.isBoolean=Yb,V.isBuffer=il,V.isDate=Qb,V.isElement=Zb,V.isEmpty=Xb,V.isEqual=$b,V.isEqualWith=xb,V.isError=co,V.isFinite=ev,V.isFunction=Ei,V.isInteger=bf,V.isLength=Js,V.isMap=vf,V.isMatch=tv,V.isMatchWith=nv,V.isNaN=iv,V.isNative=lv,V.isNil=sv,V.isNull=rv,V.isNumber=wf,V.isObject=Wt,V.isObjectLike=qt,V.isPlainObject=Wr,V.isRegExp=ho,V.isSafeInteger=av,V.isSet=Sf,V.isString=Ys,V.isSymbol=Vn,V.isTypedArray=tr,V.isUndefined=ov,V.isWeakMap=uv,V.isWeakSet=fv,V.join=h1,V.kebabCase=xv,V.last=Kn,V.lastIndexOf=g1,V.lowerCase=e0,V.lowerFirst=t0,V.lt=cv,V.lte=dv,V.max=Q0,V.maxBy=Z0,V.mean=X0,V.meanBy=$0,V.min=x0,V.minBy=ew,V.stubArray=So,V.stubFalse=Co,V.stubObject=B0,V.stubString=H0,V.stubTrue=W0,V.multiply=tw,V.nth=_1,V.noConflict=E0,V.noop=wo,V.now=Gs,V.pad=n0,V.padEnd=i0,V.padStart=l0,V.parseInt=r0,V.random=Yv,V.reduce=bb,V.reduceRight=vb,V.repeat=s0,V.replace=a0,V.result=Uv,V.round=nw,V.runInContext=Z,V.sample=Sb,V.size=yb,V.snakeCase=o0,V.some=Pb,V.sortedIndex=C1,V.sortedIndexBy=k1,V.sortedIndexOf=y1,V.sortedLastIndex=P1,V.sortedLastIndexBy=N1,V.sortedLastIndexOf=I1,V.startCase=f0,V.startsWith=c0,V.subtract=iw,V.sum=lw,V.sumBy=rw,V.template=d0,V.times=z0,V.toFinite=Ri,V.toInteger=et,V.toLength=kf,V.toLower=h0,V.toNumber=jn,V.toSafeInteger=hv,V.toString=St,V.toUpper=g0,V.trim=_0,V.trimEnd=p0,V.trimStart=m0,V.truncate=b0,V.unescape=v0,V.uniqueId=G0,V.upperCase=w0,V.upperFirst=po,V.each=uf,V.eachRight=ff,V.first=rf,vo(V,function(){var a={};return fi(V,function(u,d){kt.call(V.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),V.VERSION=n,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){V[a].placeholder=V}),Hn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:xt(et(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=dn(d,b.__takeCount__):b.__views__.push({size:dn(d,Ce),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Hn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==Q||d==j;ot.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:Ke(P,3),type:d}),M.__filtered__=M.__filtered__||b,M}}),Hn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Hn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ot.prototype[a]=function(){return this.__filtered__?new ot(this):this[d](1)}}),ot.prototype.compact=function(){return this.filter(Nn)},ot.prototype.find=function(a){return this.filter(a).head()},ot.prototype.findLast=function(a){return this.reverse().find(a)},ot.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new ot(this):this.map(function(d){return Mr(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(js(Ke(a)))},ot.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(Ce)},fi(ot.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=V[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);P&&(V.prototype[u]=function(){var H=this.__wrapped__,q=b?[1]:arguments,X=H instanceof ot,ge=q[0],_e=X||$e(H),ve=function(at){var ft=P.apply(V,Zi([at],q));return b&&Ee?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(X=_e=!1);var Ee=this.__chain__,Ue=!!this.__actions__.length,Je=M&&!Ee,nt=X&&!Ue;if(!M&&_e){H=nt?H:new ot(this);var Ye=a.apply(H,q);return Ye.__actions__.push({func:zs,args:[ve],thisArg:t}),new zn(Ye,Ee)}return Je&&nt?a.apply(this,q):(Ye=this.thru(ve),Je?b?Ye.value()[0]:Ye.value():Ye)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(a){var u=gs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);V.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply($e(M)?M:[],P)}return this[d](function(H){return u.apply($e(H)?H:[],P)})}}),fi(ot.prototype,function(a,u){var d=V[u];if(d){var b=d.name+"";kt.call(Zl,b)||(Zl[b]=[]),Zl[b].push({name:u,func:d})}}),Zl[Ms(t,y).name]=[{name:"wrapper",func:t}],ot.prototype.clone=vp,ot.prototype.reverse=wp,ot.prototype.value=Sp,V.prototype.at=Z1,V.prototype.chain=X1,V.prototype.commit=$1,V.prototype.next=x1,V.prototype.plant=tb,V.prototype.reverse=nb,V.prototype.toJSON=V.prototype.valueOf=V.prototype.value=ib,V.prototype.first=V.prototype.head,Tr&&(V.prototype[Tr]=eb),V},Jl=$_();Ji?((Ji.exports=Jl)._=Jl,ji._=Jl):Kt._=Jl}).call(qr)})(sa,sa.exports);var jr=sa.exports;class xw{getNodePath(e,t){return e?pe.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?pe.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 v={detail:{preventContextUpdate:s,withoutSync:!r}},m=new CustomEvent("popstate",v);window.dispatchEvent(m)}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=pe.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=pe.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=pe.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"&&pe.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 pe.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 pe.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 pe.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){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Vt.extractDataFromPath(o),p=h.viewUrl||"";if(await this.handleViewUrlMisconfigured(h,p,c,g,t)||await this.handlePageNotFound(h,p,_,o,t,g,l))return;const v=re.getConfigBooleanValue("settings.hideNavigation"),m=pe.parseParams(g.split("?")[1]),w=pe.getNodeParams(m),k=de.findViewGroup(h),y=decodeURIComponent(g.split("?")[1]||""),N=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let T=!1,R=N;for(;R;){if(R.tabNav===!0){T=!0;break}else if(R.tabNav===!1){T=!1;break}else if(le.isObject(R.tabNav)){if(R.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in R.tabNav&&R.children)if(R.tabNav.hideTabNavAutomatically===!0&&R.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}R=de.getParentNode(R,_.navigationPath)}let D=N,I=h.hideSideNav;if(I===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){I=!0;break}if(D.hideSideNav===!1){I=!1;break}D=de.getParentNode(D,_.navigationPath)}const U=pe.substituteDynamicParamsInObject(Object.assign({},_.context,N.context),_.pathParams);_.navigationPath._context=U;const B={hideNav:v,viewUrl:p,nodeParams:w,viewGroup:k,urlParamsRaw:y,currentNode:N,navigationPath:_.navigationPath,context:U,pathParams:_.pathParams,hideSideNav:I||!1,isolateView:h.isolateView||!1,tabNav:T};t.set(Object.assign({},B,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let L=document.getElementsByClassName("iframeContainer")[0];if(L&&(T?L.classList.add("iframeContainerTabNav"):L.classList.contains("iframeContainerTabNav")&&L.classList.remove("iframeContainerTabNav")),h.compound)ri.switchActiveIframe(n,void 0,!1),L&&L.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)ri.switchActiveIframe(n,void 0,!1),L&&L.classList.add("lui-webComponent"),this.navigateWebComponent(t,h);else{const G=document.querySelector(".wcContainer");if(G&&(G.configChangedRequest=!1),L&&(L.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await ri.navigateIframe(l,t,n);else{const x=t.get(),ee=await t.prepareInternalData(l);Le.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(x.context),nodeParams:JSON.stringify(x.nodeParams),pathParams:JSON.stringify(x.pathParams),searchParams:JSON.stringify(pe.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ee),withoutSync:!0})}}const K=document.querySelector(".lui-tab-header");K&&K.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(c.currentNode,N)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=pe.getModalPathFromPath();if(e){const t=pe.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);p_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(pe.isDynamicNode(c)){if(!r||o!==pe.getDynamicNodeValue(c,e.pathParams)){Fn.deleteNodesRecursively(c);break}}else r=!1}}else Fn.deleteCache()}handleRouteClick(e,t){const n=pe.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=ri.getActiveIframe(r);s&&s.vg&&ri.canCache(s.vg)?(ri.switchActiveIframe(Le.getIframeContainer(),void 0,!1),setTimeout(()=>{ri.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=pe.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Le.getIframeContainer(),r):this.navigateTo(o);return}pe.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={...jw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=pe.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=pe.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ar.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&&ar.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&&jr.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=>de.checkVisibleForFeatureToggles(s))),ar.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=pe.getHashQueryParamSeparator();const r=pe.getQueryParams(),s=pe.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}${pe.encodeParams(r)}`}else o.search=`?${pe.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=pe.getHashQueryParamSeparator();const l=pe.getQueryParams(),r=pe.getModalViewParamName(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,v]=o.hash.split("?");h=p,_=pe.getURLWithoutModalData(v,r),_&&(h+="?"+_)}else h=o.pathname,_=pe.getURLWithoutModalData(o.search,r),_&&(h+="?"+pe.getURLWithoutModalData(o.search,r));if(g=pe.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}${pe.encodeParams(l)}`}else o.search=`?${pe.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let v=p.hash.split("?")[0];p.hash=v,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=pe.getQueryParams(),n=pe.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=pe.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 xe=new xw;class eS{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=pe.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=pe.parseParams(n.split("?")[1]),s=pe.getNodeParams(r),o=pe.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){ar.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="",rt.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 rt=new eS;class tS{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const nS=new tS;class iS{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 si=new iS;class lS{constructor(){return this._userInfoStore=or({}),this._loggedInStore=or(!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=sl.parseUrlAuthErrors()||{};if(await sl.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=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await _i.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(ll(this._userInfoStore))),le.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await _i.handleAuthEvent("onAuthSuccessful",e,t),si.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=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await _i.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.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 _i.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 rn=new lS;class rS{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 Jr=new rS;class sS{getStoredAuthData(){return si.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 _i.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const sl=new sS;class aS{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),v=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(v,_),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 fr=new aS;class oS{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!!(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=jr.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),jr.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 oi.isCustomLuigiContainer()?oi.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(oi.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=!!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 oS;class uS{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");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return yw.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=Jr.hasDecorators()?Jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,v)=>{c[v]=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:To.getCurrentTheme()}}}const Le=new uS;class fS{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(_i.isAuthorizationEnabled()){const r=sl.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,v=_.order||0;return p-v})};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 v=r[h];v||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),v=[],r[h]=v),v.metaInfo||(v.metaInfo=_),le.isObject(p)&&v.metaInfo._fromString&&(delete v.metaInfo._fromString,v.metaInfo={...v.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?v.metaInfo.titleExpandButton=p.titleExpandButton:v.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?v.metaInfo.titleCollapseButton=p.titleCollapseButton:v.metaInfo.titleCollapseButton=l.titleCollapseButton),!v.metaInfo.categoryUid&&h&&v.metaInfo.collapsible&&(v.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||v.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=e[0].topNav===!1?[]:await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(v=>{!n&&v===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const v=h.category.label||h.category;if(s[v]){if(s[v].icon||(s[v].icon=h.category.icon,s[v].altText=h.category.altText),p&&!s[v].badgeCounter)s[v].badgeCounter={label:"",count:()=>_};else if(p){const m=s[v].badgeCounter.count()+_;s[v].badgeCounter.count=()=>m}}else s[v]={isCat:!0,label:v,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[v]);s[v].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||"/";xe.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:jr.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=>{jr.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=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Le.getLocation(e.viewUrl)===Le.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:de.prepareForTests(e.pathSegment,e.label)}}const de=new fS;class cS{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}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=pe.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?pe.parseParams(pe.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return pe.getLocation().search?pe.parseParams(pe.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");In.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?xe.getHashPath():xe.getModifiedPathname();e(l)}}),In.addEventListener("popstate",n=>{const l=t?xe.getHashPath(location.href):xe.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:pe.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:xe.buildFromRelativePath(e);return l+s}const r=pe.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=pe.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=pe.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];rl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,rl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[fr.sanitizeParam(n[0])]=fr.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 rl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=rl.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&&rl.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 pe=new cS;class dS{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 fn=new dS;class hS{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 In=new hS;class gS{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 _S=new gS;class pS{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 rr=new pS;class mS{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 Wf=new mS;function zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function qf(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=C("div"),t=C("p"),l=z(),r=C("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=z(),f(t,"class","fd-message-strip__text svelte-q4rpsc"),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-q4rpsc"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){E(_,e,p),S(e,t),t.innerHTML=n,S(e,l),S(e,r),S(e,s),c||(g=ae(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-q4rpsc")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function bS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qf(zf(i,t,l));return{c(){e=C("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-q4rpsc"),f(e,"aria-hidden","false")},m(l,r){E(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=zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=qf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Oe,o:Oe,d(l){l&&A(e),dt(n,l),i[5](null)}}}function vS(i,e,t){const n=zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=gt("getUnsavedChangesModalPromise"),c=gt("handleNavigation");Un(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(v=>{const{text:m,links:w,closeAfter:k}=v.settings,y=fr.processTextAndLinks(m,w,v.settings.id);if(setTimeout(()=>{y.links.forEach(N=>{g(N,v.settings.id)})}),v.settings.afterInit){const N=s;v.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:v.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...v.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Yt(()=>{});function g(p,v){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const w=k=>{if(p.url){const y=!p.url.startsWith("/");k.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:y}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:v,dismissKey:p.dismissKey})};m.addEventListener("click",w),m.dismissListener=w}catch(m){console.error("Error on Alert::addClickListener",m)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){tt[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 wS extends Rt{constructor(e){super(),Et(this,e,vS,bS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Mi=40,mi=13,pi=27,Yr=32,SS=36,CS=35;function Gf(i){let e,t;return{c(){e=C("i"),f(e,"class",t=Yn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=Yn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Kf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=C("div"),t=C("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){E(o,e,c),S(e,t),S(t,l),r||(s=ae(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&A(e),r=!1,s()}}}function kS(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",v,m,w,k,y,N,T=i[0].buttonDismiss+"",R,D,I,U,B,L=i[0].type&&Gf(i),K=i[0].buttonConfirm!==!1&&Kf(i);return{c(){e=C("div"),t=C("section"),n=C("header"),l=C("div"),r=C("div"),L&&L.c(),s=z(),o=C("h2"),g=Ne(c),h=z(),_=C("div"),v=z(),m=C("footer"),w=C("div"),K&&K.c(),k=z(),y=C("div"),N=C("button"),R=Ne(T),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-lzffuc"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",D="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(w,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",I="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(G,x){E(G,e,x),S(e,t),S(t,n),S(n,l),S(l,r),L&&L.m(r,null),S(r,s),S(r,o),S(o,g),S(t,h),S(t,_),_.innerHTML=p,S(t,v),S(t,m),S(m,w),K&&K.m(w,null),S(w,k),S(w,y),S(y,N),S(N,R),U||(B=[ae(window,"keydown",i[1]),ae(N,"click",i[5])],U=!0)},p(G,[x]){G[0].type?L?L.p(G,x):(L=Gf(G),L.c(),L.m(r,s)):L&&(L.d(1),L=null),x&1&&c!==(c=G[0].header+"")&&Te(g,c),x&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?K?K.p(G,x):(K=Kf(G),K.c(),K.m(w,k)):K&&(K.d(1),K=null),x&1&&T!==(T=G[0].buttonDismiss+"")&&Te(R,T),x&1&&D!==(D="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",D),x&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",I)},i:Oe,o:Oe,d(G){G&&A(e),L&&L.d(),K&&K.d(),U=!1,Ze(B)}}}function yS(i,e,t){const n=zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{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:fr.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 de.renderIconClassName(h)}function o(h){h.keyCode===pi&&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 PS extends Rt{constructor(e){super(),Et(this,e,yS,kS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function NS(i){let e,t,n;const l=i[5].default,r=t_(l,i,i[4],null);return{c(){e=C("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&l_(r,l,s,s[4],n?i_(l,s[4],o,null):r_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(s){n||(O(r,s),n=!0)},o(s){W(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function IS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=zt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=m+g.data.heightCssClass):t(0,s=m+"height-auto"):t(0,s="")},v=m=>{if(!h)return!0;const k=[...Le.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(k&&h===k.type)};return Yt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),In.addEventListener("message",w=>{const k=Le.getValidMessageSource(w);k&&_!==!0&&(w.data.msg==="luigi.add-backdrop"&&(t(2,o=v(w)),r("stateChanged",{backdropActive:!0}),Le.disableA11yOfInactiveIframe(k)),w.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Le.enableA11yOfInactiveIframe()))}))}),Un(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,s=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,h=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[s,h,o,_,l,n]}class Xr extends Rt{constructor(e){super(),Et(this,e,IS,NS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function jf(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m;t=new Xr({props:{disable:i[2]}});let w=i[0].title&&Jf(i);return{c(){e=C("div"),We(t.$$.fragment),n=z(),l=C("div"),r=C("div"),w&&w.c(),s=z(),o=C("div"),c=C("div"),g=C("button"),h=C("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[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(k,y){E(k,e,y),Be(t,e,null),S(e,n),S(e,l),S(l,r),w&&w.m(r,null),S(e,s),S(e,o),S(o,c),S(c,g),S(g,h),p=!0,v||(m=ae(g,"click",i[11]),v=!0)},p(k,y){const N={};y&4&&(N.disable=k[2]),t.$set(N),k[0].title?w?w.p(k,y):(w=Jf(k),w.c(),w.m(r,null)):w&&(w.d(1),w=null),(!p||y&35&&_!==(_=k[0].closebtn_data_testid&&k[5]?k[0].closebtn_data_testid:"lui-modal-index-"+k[1]))&&f(g,"data-testid",_)},i(k){p||(O(t.$$.fragment,k),p=!0)},o(k){W(t.$$.fragment,k),p=!1},d(k){k&&A(e),He(t),w&&w.d(),v=!1,m()}}}function Jf(i){let e,t=i[0].title+"",n;return{c(){e=C("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&A(e)}}}function Yf(i){let e;const t=i[10].default,n=t_(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&l_(n,t,l,l[9],e?i_(t,l[9],r,null):r_(l[9]),null)},i(l){e||(O(n,l),e=!0)},o(l){W(n,l),e=!1},d(l){n&&n.d(l)}}}function Qf(i){let e;return{c(){e=C("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-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function T2(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v=(i[5]||i[4]&&i[0].header)&&jf(i),k=i[4]&&Yf(i),y=i[3]&&Qf();return{c(){e=C("div"),t=C("div"),v&&v.c(),n=q(),l=C("div"),k&&k.c(),r=q(),s=C("div"),g=q(),y&&y.c(),f(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(s,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",w=i[5]?"z-index:1001":"")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),k&&k.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),m=!0},p(N,[I]){N[5]||N[4]&&N[0].header?v?(v.p(N,I),I&49&&M(v,1)):(v=jf(N),v.c(),M(v,1),v.m(t,n)):v&&(ye(),z(v,1,1,()=>{v=null}),Pe()),N[4]?k?(k.p(N,I),I&16&&M(k,1)):(k=Yf(N),k.c(),M(k,1),k.m(l,r)):k&&(ye(),z(k,1,1,()=>{k=null}),Pe()),(!m||I&16&&o!==(o="iframeModalCtn "+(N[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(s,"class",o),(!m||I&18&&c!==(c=N[4]?void 0:N[1]))&&f(s,"modal-container-index",c),N[3]?y||(y=Qf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&h!==(h="fd-dialog__content "+(N[4]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-1rzu3xo"))&&f(t,"class",h),(!m||I&32&&_!==(_=N[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||I&49&&p!==(p=$n(N[5]||N[4]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||I&32&&w!==(w=N[5]?"z-index:1001":""))&&f(e,"style",w)},i(N){m||(M(v),M(k),m=!0)},o(N){z(v),z(k),m=!1},d(N){N&&T(e),v&&v.d(),k&&k.d(),y&&y.d()}}}function L2(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,w,m=!1,v=!1,k=!1,y=!1,N=!1,I=!0,A,R=gt("store");const E=J=>Se.getNodeLabel(J),O=async J=>{const j=J&&J.length?le.getPathWithoutHash(J):"",Y=_e.parseParams(j.split("?")[1]);w=_e.getNodeParams(Y);const be=await Vt.extractDataFromPath(J);_=be.nodeObject,t(4,N=r.isDrawer||typeof _.drawer=="object"),A=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),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=E(_),r),t(0,r._liveLabel=!0,r)),p=be.pathData,t(7,s=!0)},H=async J=>{if(!(m||v))if(s)if(_.webcomponent)t(3,k=!1),N?await G():await F(),ar.renderWebComponent(_.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:w}}),v=!0;else{const j=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:w});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:w}}),m=!0}else await O(J)},F=async()=>{let J,j;const Y=document.querySelector(".lui-modal-index-"+c),{size:be,width:re,height:oe}=r,Ce=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(Y.classList.remove("lui-modal-fullscreen"),re&&re.match(Ce)&&oe&&oe.match(Ce))J=oe,j=re;else switch(be){case"fullscreen":J="100vh",j="100vw",Y.classList.add("lui-modal-fullscreen");break;case"m":J="80%",j="60%";break;case"s":J="80%",j="40%";break;default:J="80%",j="80%"}Y.setAttribute("style",`width:${j};height:${J};`)},B=async(J,j)=>{N?await G():await F(),J&&(J=_e.substituteViewUrl(J,j));const Y=await Te.createIframe(J,void 0,_,"modal",j);return document.querySelector(A).appendChild(Y),Y};async function G(J){let j="";const Y=document.getElementsByClassName("drawer"),be=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?Y[0].setAttribute("style",j):(be[0].setAttribute("style",j),Y[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const ee=async J=>{J.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),J.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),J.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&te()),J.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),J.data.msg==="luigi.navigation.updateModalSettings"&&((J.data.updatedModalSettings.title||J.data.updatedModalSettings.title==="")&&t(0,r.title=J.data.updatedModalSettings.title,r),(J.data.updatedModalSettings.size||J.data.updatedModalSettings.width||J.data.updatedModalSettings.height)&&(t(0,r.size=J.data.updatedModalSettings.size,r),t(0,r.height=J.data.updatedModalSettings.height,r),t(0,r.width=J.data.updatedModalSettings.width,r),await F()),se.getConfigBooleanValue("routing.showModalPathInUrl")&&xe.updateModalDataInUrl(_e.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},J.data.addHistoryEntry))};jt(()=>{fn.doOnStoreChange(R,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Ln.addEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var J;!y&&!_.webcomponent&&((J=_.loadingIndicator)==null?void 0:J.enabled)!==!1&&t(3,k=!0)},250)}),Qr(()=>{Ln.removeEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function te(){let J;I?J=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):J=document.querySelector(".drawer .spinnerContainer"),J&&J.classList.contains("fade-out")&&(J.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Z=()=>h("close",{activeDrawer:!1});return i.$$set=J=>{"settings"in J&&t(0,r=J.settings),"isDataPrepared"in J&&t(7,s=J.isDataPrepared),"nodepath"in J&&t(8,o=J.nodepath),"modalIndex"in J&&t(1,c=J.modalIndex),"disableBackdrop"in J&&t(2,g=J.disableBackdrop),"$$scope"in J&&t(9,l=J.$$scope)},[r,c,g,k,N,I,h,s,o,l,n,Z]}class b_ extends Rt{constructor(e){super(),Et(this,e,L2,T2,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function Zf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function Xf(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function $f(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function ec(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=uc(Zf(i,n,r));return{c(){e=C("div"),t=C("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){L(r,e,s),S(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=Zf(r,n,o);l[o]?l[o].p(c,s):(l[o]=uc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&T(e),dt(l,r)}}}function tc(i){let e;function t(r,s){return r[28].isEditable||r[28].isEditable===void 0?E2:A2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(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&&T(e)}}}function A2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,s){L(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ie(n,t),s[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function E2(i){let e,t,n,l,r;function s(){i[17].call(e,i[27])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[27]]),l||(r=ae(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Uf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,h,_,p,w,m,v=Array.isArray(i[28].options),k,y;function N(...R){return i[18](i[27],i[30],i[28],...R)}function I(){return i[19](i[28])}let A=v&&ic(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),s=C("span"),c=Ne(o),h=q(),_=C("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',w=q(),m=C("div"),A&&A.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[30]),f(s,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-h4g9o7"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,c),S(r,h),S(r,_),S(t,w),S(t,m),A&&A.m(m,null),k||(y=[ae(r,"keydown",N),ae(n,"click",Ut(I))],k=!0)},p(R,E){i=R,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ie(c,o),E[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(s,"disabled",g),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?A?A.p(i,E):(A=ic(i),A.c(),A.m(m,null)):A&&(A.d(1),A=null)},d(R){R&&T(e),A&&A.d(),k=!1,Qe(y)}}}function ic(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let s;for(s=0;s<t.length;s+=1){const o=$f(l,t,s);n[s]?n[s].p(o,r):(n[s]=lc(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&&T(e),dt(n,l)}}}function lc(i){let e,t,n=i[12](i[31])+"",l,r,s,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=C("li"),t=C("span"),l=Ne(n),r=q(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",s=i[4]===i[33]),f(e,"tabindex","0"),mi(e,"is-selected",i[4]===i[33]),mi(e,"is-focus",i[4]===i[33])},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),o||(c=[ae(e,"click",g),ae(e,"keydown",i[21])],o=!0)},p(h,_){i=h,_[0]&2&&n!==(n=i[12](i[31])+"")&&Ie(l,n),_[0]&16&&s!==(s=i[4]===i[33])&&f(e,"aria-selected",s),_[0]&16&&mi(e,"is-selected",i[4]===i[33]),_[0]&16&&mi(e,"is-focus",i[4]===i[33])},d(h){h&&T(e),o=!1,Qe(c)}}}function rc(i){let e,t,n,l=i[28].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=sc(Xf(i,l,s));return{c(){e=C("div"),t=C("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-h4g9o7"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){L(s,e,o),S(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[28].options;let c;for(c=0;c<l.length;c+=1){const g=Xf(s,l,c);r[c]?r[c].p(g,o):(r[c]=sc(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[27]+" svelte-h4g9o7")&&f(t,"class",n)},d(s){s&&T(e),dt(r,s)}}}function sc(i){let e,t=i[12](i[31])+"",n,l,r,s,o,c,g,h;function _(){return i[22](i[27],i[31])}return{c(){e=C("button"),n=Ne(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,w){L(p,e,w),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!0)},p(p,w){i=p,w[0]&2&&t!==(t=i[12](i[31])+"")&&Ie(n,t),w[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),w[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",s),w[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),w[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),g=!1,h()}}}function ac(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[23].call(n,i[27])}return{c(){e=C("label"),t=C("span"),n=C("input"),s=q(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,w){L(p,e,w),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[27]],S(t,s),S(t,o),g||(h=ae(n,"change",_),g=!0)},p(p,w){i=p,w[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),w[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),w[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),w[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,h()}}}function oc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(s,o){L(s,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ae(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(s){s&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[28].label)+"",r,s,o,c,g,h,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,w,m,v=i[28].type==="string"&&tc(i),k=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&nc(i),y=_&&rc(i),N=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&ac(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&oc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ne(l),s=Ne(":"),o=q(),c=C("div"),v&&v.c(),g=q(),k&&k.c(),h=q(),y&&y.c(),p=q(),N&&N.c(),w=q(),I&&I.c(),m=q(),f(n,"class","fd-form-label svelte-h4g9o7"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-h4g9o7"),f(c,"class","fd-col fd-col--8 svelte-h4g9o7"),f(e,"class","fd-row svelte-h4g9o7")},m(A,R){L(A,e,R),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,c),v&&v.m(c,null),S(c,g),k&&k.m(c,null),S(c,h),y&&y.m(c,null),S(c,p),N&&N.m(c,null),S(c,w),I&&I.m(c,null),S(e,m)},p(A,R){R[0]&34&&l!==(l=A[5](A[28].label)+"")&&Ie(r,l),A[28].type==="string"?v?v.p(A,R):(v=tc(A),v.c(),v.m(c,g)):v&&(v.d(1),v=null),A[28].type==="enum"&&(A[28].style===void 0||A[28].style==="list")?k?k.p(A,R):(k=nc(A),k.c(),k.m(c,h)):k&&(k.d(1),k=null),R[0]&2&&(_=A[28].type==="enum"&&A[28].style==="button"&&Array.isArray(A[28].options)),_?y?y.p(A,R):(y=rc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[28].type==="boolean"&&(!A[28].style||A[28].style==="switch")?N?N.p(A,R):(N=ac(A),N.c(),N.m(c,w)):N&&(N.d(1),N=null),A[28].type==="boolean"&&A[28].style==="checkbox"?I?I.p(A,R):(I=oc(A),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(A){A&&T(e),v&&v.d(),k&&k.d(),y&&y.d(),N&&N.d(),I&&I.d()}}}function R2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-h4g9o7")},m(r,s){L(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(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&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function D2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const s=Ht();let o=gt("getTranslation");Si(i,o,Z=>t(5,n=Z));let c,{isComboOpen:g}=e;function h(){s("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{m(J,!1)})}function w(Z,J){let j=ta(Z.target,".fd-popover__control",20),Y=j.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(p(),m(j,!Y))}function m(Z,J){const j=Z.querySelector(".lui-activate-dropdown"),Y=Z.parentNode.querySelector(".fd-popover__body"),be=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",J),Y.setAttribute("aria-hidden",!J),be.setAttribute("aria-expanded",J),j.setAttribute("aria-expanded",J),t(14,g=J)}function v(Z,J,j){t(4,c=j),t(0,r[l[0]][Z]=J.value||J,r)}function k(Z,J){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const Y=j.getAttribute("id"),be=`lui-us-enum_button_${Z}_option`;Y===be?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=J.value||J,r)}function y(Z,J){let j;if(Array.isArray(J)){for(let Y=0;Y<J.length;Y++)if(le.isObject(J[Y])){if(J[Y].value&&J[Y].value===Z){j=J[Y].label,t(4,c=Y);break}}else{j=Z,t(4,c=J.indexOf(Z));break}return n(j)}}function N(Z){return n(le.isObject(Z)?Z.label:Z)}function I(Z,J,j){return le.isObject(j)?`${Z}_${J}_${j.value}`:`${Z}_${J}_${j}`}function A(Z,J,j,Y){let be=ta(Z.target,".lui-anchor-node",20);const re=document.getElementById(`fd-form-input-dropdown-${j}`).children;let oe=-1;if([...re].forEach((Ce,De)=>{Ce.classList.contains("is-focus")&&(oe=De)}),g){if(Z.keyCode===El&&Z.altKey&&(be.click(),be.focus()),Z.keyCode===Oi&&!Z.altKey){if(oe===-1){oe=0,re.item(oe).classList.add("is-focus");return}oe<Y.options.length-1&&(re.item(oe).classList.remove("is-focus"),oe+=1,re.item(oe).classList.add("is-focus"))}if(Z.keyCode===El&&!Z.altKey){if(oe===-1){oe=oe.length-1,re.item(oe).classList.add("is-focus");return}oe>0&&oe<Y.options.length&&(re.item(oe).classList.remove("is-focus"),oe-=1,re.item(oe).classList.add("is-focus"))}(Z.keyCode===wi||Z.keyCode===Yr)&&v(J,Y.options[oe],oe)}else be.focus(),Z.keyCode===Oi&&Z.altKey&&be.click(),Z.keyCode===Oi&&!Z.altKey&&oe<Y.options.length-1&&v(J,Y.options[oe+1],oe+1),Z.keyCode===El&&!Z.altKey&&oe>0&&oe<Y.options.length&&v(J,Y.options[oe-1],oe-1)}function R(Z){if(g){let J=ta(Z.target,".fd-popover",20);J.blur(),(Z.keyCode===Yr||Z.keyCode===wi)&&(Z.target.click(),p(),setTimeout(()=>{J.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const O=(Z,J,j,Y)=>A(Y,Z,J,j),H=Z=>w(event,Z.isEditable),F=(Z,J,j)=>v(Z,J,j),B=Z=>R(Z),G=(Z,J)=>k(Z,J);function ee(Z){r[l[0]][Z]=this.checked,t(0,r)}function te(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,g=Z.isComboOpen)},[r,l,A,R,c,n,o,p,w,v,k,y,N,I,g,h,_,E,O,H,F,B,G,ee,te]}class V2 extends Rt{constructor(e){super(),Et(this,e,D2,R2,Tt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=ul;function cc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function dc(i,e,t){const n=i.slice();return n[37]=e[t],n}function hc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?O2:M2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=q(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),L(o,t,c),L(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&&T(t),o&&T(n)}}}function M2(i){let e,t,n,l,r,s=i[37][1].initials&&gc(i);return{c(){e=C("span"),l=q(),s&&s.c(),r=ke(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),oi(e,"background-image","url('"+i[37][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),s&&s.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&oi(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?s?s.p(o,c):(s=gc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&T(e),o&&T(l),s&&s.d(o),o&&T(r)}}}function O2(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ne(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(s,o){L(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[37][1].initials?s[37][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=$n(s[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=s[37][1].altText?s[37][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&T(e)}}}function _c(i){let e,t,n,l,r,s=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,w,m,v=i[37][1].icon&&hc(i);function k(){return i[21](i[37])}function y(...N){return i[22](i[36],...N)}return{c(){e=C("li"),t=C("a"),v&&v.c(),n=q(),l=C("div"),r=C("div"),o=Ne(s),c=q(),g=C("div"),_=Ne(h),p=q(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,c),S(l,g),S(g,_),S(e,p),w||(m=[ae(e,"click",Mt(k)),ae(e,"keydown",y)],w=!0)},p(N,I){i=N,i[37][1].icon?v?v.p(i,I):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&s!==(s=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ie(o,s),I[0]&1026&&h!==(h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ie(_,h)},d(N){N&&T(e),v&&v.d(),w=!1,Qe(m)}}}function pc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=_c(dc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(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=dc(l,t,s);n[s]?n[s].p(o,r):(n[s]=_c(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){dt(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[23](c)}function s(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new V2({props:o}),tt.push(()=>It(e,"closeDropDown",r,i[9])),tt.push(()=>It(e,"isComboOpen",s,i[8])),e.$on("updateSettingsObject",i[15]),{c(){We(e.$$.fragment)},m(c,g){Be(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],Nt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],Nt(()=>n=!1)),e.$set(h)},i(c){l||(M(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){He(e,c)}}}function F2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,w,m,v,k,y,N=i[10](i[7])+"",I,A,R,E,O,H,F,B,G,ee,te,Z=i[10](i[5])+"",J,j,Y,be,re=i[10](i[6])+"",oe,Ce,De,ce,Re=Object.entries(i[1]),ne=[];for(let me=0;me<Re.length;me+=1)ne[me]=pc(cc(i,Re,me));let x=i[11]&&mc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("div"),o=C("h2"),g=Ne(c),h=q(),_=C("div"),p=C("ul");for(let me=0;me<ne.length;me+=1)ne[me].c();w=q(),m=C("div"),v=C("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=q(),y=C("h2"),I=Ne(N),A=q(),R=C("div"),E=C("div"),x&&x.c(),O=q(),H=C("div"),F=q(),B=C("footer"),G=C("div"),ee=C("div"),te=C("button"),J=Ne(Z),j=q(),Y=C("div"),be=C("button"),oe=Ne(re),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(R,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(te,"data-testid","lui-us-saveBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(ee,"class","fd-bar__element"),f(be,"data-testid","lui-us-dismissBtn"),f(be,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(Y,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),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-d5kn3x"),f(e,"tabindex","0")},m(me,je){L(me,e,je),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let Ze=0;Ze<ne.length;Ze+=1)ne[Ze].m(p,null);S(n,w),S(n,m),S(m,v),S(m,k),S(m,y),S(y,I),S(n,A),S(n,R),S(R,E),x&&x.m(E,null),S(R,O),S(R,H),S(t,F),S(t,B),S(B,G),S(G,ee),S(ee,te),S(te,J),S(G,j),S(G,Y),S(Y,be),S(be,oe),Ce=!0,De||(ce=[ae(fc,"resize",i[20]),ae(fc,"keydown",i[3]),ae(v,"click",i[17]),ae(te,"click",i[25]),ae(be,"click",i[26])],De=!0)},p(me,je){if((!Ce||je[0]&1040)&&c!==(c=me[10](me[4])+"")&&Ie(g,c),je[0]&803846){Re=Object.entries(me[1]);let Ze;for(Ze=0;Ze<Re.length;Ze+=1){const pe=cc(me,Re,Ze);ne[Ze]?ne[Ze].p(pe,je):(ne[Ze]=pc(pe),ne[Ze].c(),ne[Ze].m(p,null))}for(;Ze<ne.length;Ze+=1)ne[Ze].d(1);ne.length=Re.length}(!Ce||je[0]&1152)&&N!==(N=me[10](me[7])+"")&&Ie(I,N),me[11]?x?(x.p(me,je),je[0]&2048&&M(x,1)):(x=mc(me),x.c(),M(x,1),x.m(E,null)):x&&(ye(),z(x,1,1,()=>{x=null}),Pe()),(!Ce||je[0]&1056)&&Z!==(Z=me[10](me[5])+"")&&Ie(J,Z),(!Ce||je[0]&1088)&&re!==(re=me[10](me[6])+"")&&Ie(oe,re)},i(me){Ce||(M(x),Ce=!0)},o(me){z(x),Ce=!1},d(me){me&&T(e),dt(ne,me),x&&x.d(),De=!1,Qe(ce)}}}function bc(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 U2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function B2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function v_(i,e,t){if(i&&t>0)return i.matches(e)?i:v_(i.parentNode,e,t-1)}function vc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function H2(i,e,t){let n,{userSettingGroups:l}=e;const r=Ht();let s,{storedUserSettings:o={}}=e,c={},g=gt("getTranslation");Si(i,g,oe=>t(10,n=oe));let h=al.userSettingsDialog.dialogHeader,_=al.userSettingsDialog.saveBtn,p=al.userSettingsDialog.dismissBtn,w={},m,v,k,y;Qr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const oe=se.getConfigValue("userSettings.userSettingsDialog"),Ce=oe||se.getConfigValue("settings.userSettings.userSettingsDialog");Ce&&(t(4,h=Ce.dialogHeader?Ce.dialogHeader:h),t(5,_=Ce.saveBtn?Ce.saveBtn:_),t(6,p=Ce.dismissBtn?Ce.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Ln.addEventListener("message",De=>{const ce=Te.getValidMessageSource(De);if(!ce||De.data.msg!=="custom")return;ce._ready=!0;const Re=la.convertCustomMessageInternalToUser(De.data),ne="luigi.updateUserSettings";if(Re.id===ne){const x=rr.findActiveCustomUserSettingsIframe(De.source);if(x){let me=x.getAttribute("userSettingsGroup");t(0,o[me]=Re.data,o)}}Re.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&O()}),se.readUserSettings().then(De=>{c=JSON.parse(JSON.stringify(De)),De===null?t(0,o=bc(JSON.parse(JSON.stringify(l)),{})):t(0,o=bc(JSON.parse(JSON.stringify(l)),De)),I([m,l[0][m]])}).catch(De=>{De&&De.message&&console.error(De.message),De&&De.closeDialog&&r("close")}),Te.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let Ce in oe.settings){let De=oe.settings[Ce];De.type==="enum"?Array.isArray(De.options)||console.error(`There is no options array for '${Ce}' defined in the Luigi userSettings config.`):De.type===void 0&&console.error(`There is no data type defined for '${Ce}' in the Luigi userSettings config.`)}}function I(oe,Ce){t(11,s=oe);let De=oe[0],ce=oe[1];if(N(ce),Ce?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ne=>{ne.classList.remove("is-selected")}),v_(Ce.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),ce.viewUrl){if(rr.hideUserSettingsIframe(),w.hasOwnProperty(De))rr.getUserSettingsIframesInDom().forEach(Re=>{Re.userSettingsGroup===De&&(Re.style.display="block")});else{const Re=Jr.hasDecorators()?Jr.applyDecorators(ce.viewUrl):ce.viewUrl;let ne=rr.createIframe(Re,De);w[De]=ne}U2()}else B2()}const A=oe=>{t(0,o=oe.detail.userSettings)};function R(){se.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function H(oe){return Se.renderIconClassName(oe)}function F(oe){return Se.isOpenUIiconName(oe.icon)}let B;const G=()=>{const oe=window.innerWidth>=xt.desktopMinWidth&&B<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&B>=xt.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"),oe&&(document.querySelector(".confirm-button").style.display="block"),!B){let De=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?De.style.display="none":De.style.display="block"}B=window.innerWidth};function ee(oe,Ce){let De=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===wi||oe.keyCode===Yr)&&De[Ce].click(),oe.keyCode===C2&&De[Object.keys(l).length-1].focus(),oe.keyCode===S2&&De[0].focus()}function te(oe){oe.keyCode===vi&&k?y():oe.keyCode===vi&&!k&&r("close")}const Z=oe=>I(oe,event),J=(oe,Ce)=>ee(Ce,[oe]);function j(oe){y=oe,t(9,y)}function Y(oe){k=oe,t(8,k)}const be=()=>R(),re=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,ee,te,h,_,p,v,k,y,n,s,r,g,I,A,R,O,H,F,G,Z,J,j,Y,be,re]}class W2 extends Rt{constructor(e){super(),Et(this,e,H2,F2,Tt,{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:z2}=ul;function q2(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-4tlfph")},m(t,n){L(t,e,n)},p:Fe,d(t){t&&T(e)}}}function G2(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=C("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-4tlfph"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-4tlfph"),f(l,"class","fd-splitView__title svelte-4tlfph")},m(g,h){L(g,e,h),S(e,t),L(g,n,h),L(g,l,h),S(l,s),o||(c=ae(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ie(s,r)},d(g){g&&T(e),g&&T(n),g&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,s,o,c;return{c(){e=C("div"),t=q(),n=C("div"),l=C("div"),r=q(),s=C("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-4tlfph"),f(n,"id","splitViewDragger")},m(g,h){L(g,e,h),L(g,t,h),L(g,n,h),S(n,l),S(n,r),S(n,s),o||(c=[ae(s,"click",Ut(Mt(i[3]))),ae(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&T(e),g&&T(t),g&&T(n),o=!1,Qe(c)}}}function K2(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 _(v,k){return v[0]?G2:q2}let p=_(i),w=p(i),m=!i[0]&&wc(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),w.c(),s=q(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-4tlfph"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,k){L(v,e,k),Be(t,e,null),S(e,n),S(e,l),w.m(l,null),L(v,s,k),m&&m.m(v,k),L(v,o,k),c=!0,g||(h=ae(z2,"resize",i[5]),g=!0)},p(v,[k]){const y={};k&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&w?w.p(v,k):(w.d(1),w=p(v),w&&(w.c(),w.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,k):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(M(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&T(e),He(t),w.d(),v&&T(s),m&&m.d(v),v&&T(o),g=!1,h()}}}function j2(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,w,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:N}=e,I=!1,A=gt("getUnsavedChangesModalPromise");const R=()=>({get:()=>({collapsed:v,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:w}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(Y=>{Y==="splitViewSettings"?t(1,k=j.splitViewSettings):Y==="lastNode"?r=j.lastNode:Y==="pathData"?s=j.pathData:Y==="nodeParams"?o=j.nodeParams:Y==="collapsed"?t(0,v=j.collapsed):Y==="isDataPrepared"?t(8,y=j.isDataPrepared):Y==="currentNode"?c=j.currentNode:Y==="splitViewIframe"?h=j.splitViewIframe:Y==="splitViewIframeData"?_=j.splitViewIframeData:Y==="splitViewWC"?p=j.splitViewWC:Y==="splitViewWCData"&&(w=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:A}),E=async()=>{y?v||rt.createAndSetView(R()):await rt.prepareSplitViewData(R(),m)},O=()=>{l.split=rt.getContainer(),l.iframe=Te.getIframeContainer(),l.draggable=rt.getDragger()},H=()=>{const j=rt.getDraggerBackdrop();j&&(j.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(j){if(Te.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&rt.close(R()),j.data.msg==="luigi.navigation.splitview.collapse"&&B(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const Y=parseInt(j.data.data);if(rt.calculateAndSetSplitViewValues(Y,rt.internalValues),v)return;H(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{ee(),g=F.bind(this),Ln.addEventListener("message",g)}),fa(()=>{E(),I!==y&&!v&&(I=y,H())}),Qr(()=>{window.removeEventListener("message",g)});function B(){rt.collapse(R())}async function G(){await rt.expand(R()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function ee(){const j=le.getShellbarHeight();rt.internalValues.innerHeight=le.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-j,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=j+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),v||H()}function te(j){let Y=j.y,be={};const re=function(Re){const ne=Y-Re.y,x=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(x)||ne===0)return;const me=x-ne,je=rt.internalValues.innerHeight-me,Ze=rt.enforceTresholds(me,je);me<Ze.top||je<Ze.bottom||(be=Ze,Y=Re.y,l.draggable.style.top=`${be.top}px`)},oe=function(){if(Ce(),!be.top||!be.bottom||be.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=be.top,rt.splitViewValues=be,H(),rt.sendMessageToClients("resize.ok",be.percent)},Ce=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",re)},De=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",re)};O(),Ce(),De(),rt.getDraggerBackdrop().style.display="block"}const Z=j=>{let Y=rt.getDraggerButton();Y&&(Y.style.display=j?"block":"none"),Y=rt.getCollapsedDraggerButton(),Y&&(Y.style.display=j?"block":"none")},J=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,k=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,N=j.disableBackdrop)},[v,k,N,B,G,ee,te,J,y,m]}class J2 extends Rt{constructor(e){super(),Et(this,e,j2,K2,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 Sc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Z2,then:Q2,catch:Y2,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&na(t,n)||s_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Y2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function Q2(i){let e,t=i[1]>0&&Cc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Cc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-nd17co"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){L(r,e,s),S(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ie(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Z2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function X2(i){let e,t=i[0]&&i[0].badgeCounter&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=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&&T(e)}}}function $2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class xn extends Rt{constructor(e){super(),Et(this,e,$2,X2,Tt,{node:0})}}function kc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function x2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&kc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=kc(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&&T(e)}}}function eS(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 Fi extends Rt{constructor(e){super(),Et(this,e,eS,x2,Tt,{node:0})}}const{window:$s}=ul;function yc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=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,e,t){const n=i.slice();return n[71]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Lc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ac(i),p=i[12].showUpLink&&Ec(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),_&&_.c(),r=q(),s=C("span"),c=Ne(o),g=q(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(l,"class","fd-nested-list__link svelte-otu8sz"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-otu8sz"),f(t,"class","fd-nested-list svelte-otu8sz"),f(e,"class","lui-nav-title svelte-otu8sz")},m(w,m){L(w,e,m),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,c),S(l,g),p&&p.m(l,null)},p(w,m){w[12].icon?_?_.p(w,m):(_=Ac(w),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=w[24](w[12].label)+"")&&Ie(c,o),w[12].showUpLink?p?p.p(w,m):(p=Ec(w),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&h!==(h=w[32](w[12],w[24](w[12].label)))&&f(l,"title",h)},d(w){w&&T(e),_&&_.d(),p&&p.d()}}}function Ac(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?nS:tS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function tS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&4096&&!it(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&&T(e)}}}function nS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ec(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-otu8sz"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){L(r,e,s),n||(l=ae(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&&T(e),n=!1,l()}}}function Rc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=nd(yc(i,r,c));const o=c=>z(s[c],1,1,()=>{s[c]=null});return{c(){e=C("div"),t=C("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-otu8sz"),f(e,"class","lui-fd-side-nav-wrapper svelte-otu8sz")},m(c,g){L(c,e,g),S(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 _=yc(c,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=nd(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-otu8sz"))&&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)z(s[g]);l=!1},d(c){c&&T(e),dt(s,c)}}}function iS(i){let e,t,n,l;const r=[sS,rS],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=ke()},m(c,g){s[e].m(c,g),L(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),z(s[h],1,1,()=>{s[h]=null}),Pe(),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){z(t),l=!1},d(c){s[e].d(c),c&&T(n)}}}function lS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=td(Tc(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(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=Tc(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=td(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},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)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function rS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Dc(i),_=i[68],p=[];for(let m=0;m<_.length;m+=1)p[m]=Bc(Pc(i,_,m));const w=m=>z(p[m],1,1,()=>{p[m]=null});return{c(){e=C("li"),h&&h.c(),t=q(),l=Ne(n),o=q();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-otu8sz"),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(m,v){L(m,e,v),h&&h.m(e,null),S(e,t),S(e,l),L(m,o,v);for(let k=0;k<p.length;k+=1)p[k].m(m,v);L(m,c,v),g=!0},p(m,v){if(m[10]&&m[68].metaInfo.icon?h?h.p(m,v):(h=Dc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||v[0]&16785408)&&n!==(n=m[24](m[67])+"")&&Ie(l,n),(!g||v[0]&16785408&&r!==(r=m[32](m[68],m[24](m[67]))))&&f(e,"title",r),(!g||v[0]&8192&&s!==(s=m[31](m[68].metaInfo,m[67])))&&f(e,"data-testid",s),v[0]&2088804544|v[1]&66){_=m[68];let k;for(k=0;k<_.length;k+=1){const y=Pc(m,_,k);p[k]?(p[k].p(y,v),M(p[k],1)):(p[k]=Bc(y),p[k].c(),M(p[k],1),p[k].m(c.parentNode,c))}for(ye(),k=_.length;k<p.length;k+=1)w(k);Pe()}},i(m){if(!g){for(let v=0;v<_.length;v+=1)M(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)z(p[v]);g=!1},d(m){m&&T(e),h&&h.d(),m&&T(o),dt(p,m),m&&T(c)}}}function sS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,w,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te;function Z(ne,x){return x[0]&8192&&(l=null),l==null&&(l=!!ne[28](ne[68].metaInfo.icon)),l?gS:hS}let J=Z(i,[-1,-1,-1]),j=J(i);function Y(){return i[46](i[68])}function be(){return i[47](i[68])}function re(...ne){return i[48](i[68],...ne)}let oe=i[68],Ce=[];for(let ne=0;ne<oe.length;ne+=1)Ce[ne]=Gc(Ic(i,oe,ne));const De=ne=>z(Ce[ne],1,1,()=>{Ce[ne]=null});let ce=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Kc(i);function Re(){return i[53](i[68])}return{c(){e=C("li"),t=C("div"),n=C("a"),j.c(),r=q(),s=C("span"),c=Ne(o),m=q(),v=C("button"),k=C("i"),R=q(),E=C("ul");for(let ne=0;ne<Ce.length;ne+=1)Ce[ne].c();H=q(),ce&&ce.c(),F=q(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-otu8sz"),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",w=Sn(i[68],i[9])),f(k,"class",y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-otu8sz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",N=Sn(i[68],i[9])),f(v,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-otu8sz"),f(t,"tabindex",A=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-otu8sz"),f(E,"aria-hidden",O=!Sn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),mi(e,"lui-item-expanded",Sn(i[68],i[9]))},m(ne,x){L(ne,e,x),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,c),S(t,m),S(t,v),S(v,k),S(e,R),S(e,E);for(let me=0;me<Ce.length;me+=1)Ce[me].m(E,null);S(e,H),ce&&ce.m(e,null),S(e,F),G=!0,ee||(te=[ae(n,"click",Mt(Y)),ae(v,"click",Mt(be)),ae(t,"keypress",re),ae(e,"click",Ut(Re))],ee=!0)},p(ne,x){if(i=ne,J===(J=Z(i,x))&&j?j.p(i,x):(j.d(1),j=J(i),j&&(j.c(),j.m(n,r))),(!G||x[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ie(c,o),(!G||x[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!G||x[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-otu8sz"))&&f(n,"class",h),(!G||x[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||x[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||x[0]&8704&&w!==(w=Sn(i[68],i[9])))&&f(n,"aria-expanded",w),(!G||x[0]&8704&&y!==(y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!G||x[0]&8704&&N!==(N=Sn(i[68],i[9])))&&f(v,"aria-expanded",N),(!G||x[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(v,"title",I),(!G||x[0]&64&&A!==(A=i[6]?"0":"-1"))&&f(t,"tabindex",A),x[0]&1686151296|x[1]&66){oe=i[68];let me;for(me=0;me<oe.length;me+=1){const je=Ic(i,oe,me);Ce[me]?(Ce[me].p(je,x),M(Ce[me],1)):(Ce[me]=Gc(je),Ce[me].c(),M(Ce[me],1),Ce[me].m(E,null))}for(ye(),me=oe.length;me<Ce.length;me+=1)De(me);Pe()}(!G||x[0]&8704&&O!==(O=!Sn(i[68],i[9])))&&f(E,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?ce?(ce.p(i,x),x[0]&8448&&M(ce,1)):(ce=Kc(i),ce.c(),M(ce,1),ce.m(e,F)):ce&&(ye(),z(ce,1,1,()=>{ce=null}),Pe()),(!G||x[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",B),(!G||x[0]&8704)&&mi(e,"lui-item-expanded",Sn(i[68],i[9]))},i(ne){if(!G){for(let x=0;x<oe.length;x+=1)M(Ce[x]);M(ce),G=!0}},o(ne){Ce=Ce.filter(Boolean);for(let x=0;x<Ce.length;x+=1)z(Ce[x]);z(ce),G=!1},d(ne){ne&&T(e),j.d(),dt(Ce,ne),ce&&ce.d(),ee=!1,Qe(te)}}}function Dc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?oS:aS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function aS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(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-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&T(e)}}}function oS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Vc(i){let e,t,n=i[71].label&&Mc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Mc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Mc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I;function A(ee,te){return ee[71].icon?fS:uS}let R=A(i),E=R(i),O=i[71].statusBadge&&Oc(i),H=i[71].externalLink&&i[71].externalLink.url&&Fc(),F=i[71].badgeCounter&&Uc(i);function B(...ee){return i[54](i[71],...ee)}function G(...ee){return i[55](i[71],...ee)}return{c(){e=C("li"),t=C("a"),E.c(),n=q(),l=C("span"),s=Ne(r),o=q(),O&&O.c(),g=q(),H&&H.c(),h=q(),F&&F.c(),v=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),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-otu8sz"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(ee,te){L(ee,e,te),S(e,t),E.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),O&&O.m(l,null),S(t,g),H&&H.m(t,null),S(t,h),F&&F.m(t,null),S(e,v),y=!0,N||(I=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],N=!0)},p(ee,te){i=ee,R===(R=A(i))&&E?E.p(i,te):(E.d(1),E=R(i),E&&(E.c(),E.m(t,n))),(!y||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r),i[71].statusBadge?O?(O.p(i,te),te[0]&8192&&M(O,1)):(O=Oc(i),O.c(),M(O,1),O.m(l,null)):O&&(ye(),z(O,1,1,()=>{O=null}),Pe()),(!y||te[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?H||(H=Fc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=Uc(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!y||te[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||te[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||te[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||te[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||te[0]&8192&&k!==(k=i[32](i[71],i[26](i[71]))))&&f(e,"title",k)},i(ee){y||(M(O),M(F),y=!0)},o(ee){z(O),z(F),y=!1},d(ee){ee&&T(e),E.d(),O&&O.d(),H&&H.d(),F&&F.d(),N=!1,Qe(I)}}}function uS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=q(),l=C("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),S(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":"")&&Ie(s,r)},d(o){o&&T(e),o&&T(n),o&&T(l)}}}function fS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?dS:cS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function cS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&T(e)}}}function dS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-otu8sz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Oc(i){let e,t;return e=new Fi({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Fc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Uc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Bc(i){let e,t,n=!i[71].hideFromNav&&Vc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Vc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function hS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(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-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&T(e)}}}function gS(i){let e,t;return{c(){e=C("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-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Hc(i){let e,t,n=i[71].label&&Wc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Wc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Wc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&zc(),R=i[71].badgeCounter&&qc(i);function E(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"role",w=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=zc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function zc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Gc(i){let e,t,n=!i[71].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Hc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Kc(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]=Zc(Nc(i,g,p));const _=p=>z(h[p],1,1,()=>{h[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ne(l),s=q(),o=C("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-otu8sz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-otu8sz"),f(t,"class","lui-flyout-sublist__wrapper svelte-otu8sz"),f(e,"class","lui-flyout-sublist svelte-otu8sz")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o);for(let m=0;m<h.length;m+=1)h[m].m(o,null);c=!0},p(p,w){if((!c||w[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ie(r,l),w[0]&1686151296|w[1]&66){g=p[68];let m;for(m=0;m<g.length;m+=1){const v=Nc(p,g,m);h[m]?(h[m].p(v,w),M(h[m],1)):(h[m]=Zc(v),h[m].c(),M(h[m],1),h[m].m(o,null))}for(ye(),m=g.length;m<h.length;m+=1)_(m);Pe()}},i(p){if(!c){for(let w=0;w<g.length;w+=1)M(h[w]);c=!0}},o(p){h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)z(h[w]);c=!1},d(p){p&&T(e),dt(h,p)}}}function jc(i){let e,t,n=i[71].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Jc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Jc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&Yc(),R=i[71].badgeCounter&&Qc(i);function E(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=Yc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function Yc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Zc(i){let e,t,n=!i[71].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=jc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xc(i){let e,t,n=i[71].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=$c(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $c(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(ee,te){return ee[71].icon?pS:_S}let E=R(i),O=E(i);c=new Fi({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&xc(),F=i[71].badgeCounter&&ed(i);function B(...ee){return i[44](i[71],...ee)}function G(...ee){return i[45](i[71],...ee)}return{c(){e=C("li"),t=C("a"),O.c(),n=q(),l=C("span"),s=Ne(r),o=q(),We(c.$$.fragment),h=q(),H&&H.c(),_=q(),F&&F.c(),y=q(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",p=i[30](i[71])),f(t,"title",w=i[32](i[71],i[26](i[71]))),f(t,"class",m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",k=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(ee,te){L(ee,e,te),S(e,t),O.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),Be(c,l,null),S(t,h),H&&H.m(t,null),S(t,_),F&&F.m(t,null),S(e,y),N=!0,I||(A=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(ee,te){i=ee,E===(E=R(i))&&O?O.p(i,te):(O.d(1),O=E(i),O&&(O.c(),O.m(t,n))),(!N||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r);const Z={};te[0]&8192&&(Z.node=i[71]),c.$set(Z),(!N||te[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=ed(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!N||te[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||te[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&f(t,"title",w),(!N||te[0]&8320&&m!==(m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",m),(!N||te[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!N||te[0]&8192&&k!==(k=i[29](i[71])))&&f(t,"data-testid",k)},i(ee){N||(M(c.$$.fragment,ee),M(F),N=!0)},o(ee){z(c.$$.fragment,ee),z(F),N=!1},d(ee){ee&&T(e),O.d(),He(c),H&&H.d(),F&&F.d(),I=!1,Qe(A)}}}function _S(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function pS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?bS:mS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function mS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&T(e)}}}function bS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ed(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function td(i){let e,t,n=!i[71].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Xc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function nd(i){let e,t,n,l,r,s;const o=[lS,iS],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(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),L(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe()),~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){z(l),s=!1},d(h){~n&&c[n].d(h),h&&T(r)}}}function id(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ld(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ne(l),s=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-otu8sz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-otu8sz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-otu8sz")},m(c,g){L(c,e,g),S(e,t),S(t,n),S(n,r),S(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ie(r,l),c[3]?o?o.p(c,g):(o=ld(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function ld(i){let e;function t(r,s){return r[4]=="button"?wS:vS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(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&&T(e)}}}function vS(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){L(r,e,s),n||(l=[ae(e,"click",i[57]),ae(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-otu8sz")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function wS(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),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-otu8sz")},m(s,o){L(s,e,o),S(e,t),l||(r=ae(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-otu8sz")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&T(e),l=!1,r()}}}function SS(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Lc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Rc(i),w=(i[2]||i[3])&&id(i);return{c(){e=C("div"),_&&_.c(),t=q(),n=C("nav"),l=C("div"),p&&p.c(),r=q(),w&&w.c(),f(l,"class","fd-side-nav__main-navigation svelte-otu8sz"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"),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-otu8sz")},m(m,v){L(m,e,v),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),w&&w.m(n,null),c=!0,g||(h=[ae($s,"resize",i[17]),ae($s,"click",i[21]),ae($s,"blur",i[21]),ae($s,"keydown",i[33]),ae(n,"keyup",i[18])],g=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Lc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&M(p,1)):(p=Rc(m),p.c(),M(p,1),p.m(l,null)):p&&(ye(),z(p,1,1,()=>{p=null}),Pe()),m[2]||m[3]?w?w.p(m,v):(w=id(m),w.c(),w.m(n,null)):w&&(w.d(1),w=null),(!c||v[0]&4160&&s!==(s="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"))&&f(n,"class",s),(!c||v[0]&14&&o!==(o="fd-app__sidebar "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-otu8sz"))&&f(e,"class",o)},i(m){c||(M(p),c=!0)},o(m){z(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),w&&w.d(),g=!1,Qe(h)}}}function Sn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const CS=i=>!i.hideFromNav&&i.label;function kS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:k,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:O}),set:async ie=>{ie&&(Object.getOwnPropertyNames(ie).forEach(async Le=>{if(Le==="pathData")t(5,p=ie.pathData);else if(Le==="context")H=ie.context;else if(Le==="children")t(0,s=ie.children);else if(Le==="selectedNode")t(7,k=ie.selectedNode);else if(Le==="hasCategoriesWithIcon")t(10,I=ie.hasCategoriesWithIcon);else if(Le==="navParent"){t(12,E=void 0);let st=ie.navParent;if(t(41,O=st),st&&st.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,St=st;if(yt==="inherit"){for(St=st.parent;St&&St.navHeader==="inherit";)St=St.parent;yt=St?St.navHeader:void 0}if(yt instanceof Function){t(12,E={});let sn=yt(Se.stripNode(st),Se.stripNode(St),H);sn instanceof Promise?sn.then(kn=>{t(12,E=kn)}):t(12,E=sn)}else if(yt==="auto")t(12,E={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,E={...yt,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,E=yt);const sn=_e.mapPathToNode(xe.getCurrentPath(),St);Vt.extractDataFromPath(sn).then(kn=>{const ti=_e.substituteDynamicParamsInObject(Object.assign({},kn.pathData.context,St.context),kn.pathData.pathParams);Se.fetchNodeTitleData(St,ti).then(zn=>{t(12,E={...yt,...zn})}).catch(zn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...yt,label:st.label,icon:st.icon})})})}else t(12,E=await De(yt,St))}}}),t(40,A=Se.getSideNavAccordionMode(k)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:w}=e,{virtualGroupPrefix:m=Se.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:R}=e,{navHeader:E}=e,{navParentNode:O}=e,H,F,B,G=gt("store"),ee=gt("getTranslation");Si(i,ee,ie=>t(24,n=ie));let te=!1;const Z=ie=>Se.getNodeLabel(ie),J=async()=>{const ie=l.get(),Le=await Vt.getLeftNavData({...ie},ie);Le&&(l.set(Le),F=p,window.LEFTNAVDATA=Le.children)};jt(()=>{t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=se.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,te=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),fn.doOnStoreChange(G,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),fn.doOnStoreChange(G,()=>{J()},["navigation.viewgroupdata"]);let ie=pi.initial();t(6,v=ie.isSemiCollapsed),t(39,g=ie.semiCollapsible),pi.onValueChanged(Le=>{t(6,v=Le.isSemiCollapsed)}),Ln.addEventListener("message",Le=>{Le.data.msg==="luigi.navigation.update-badge-counters"&&J()})}),Hn(()=>{(!F||F!=p)&&J(),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function Y(ie){return Se.renderIconClassName(ie)}function be(ie){return Se.isOpenUIiconName(ie)}function re(ie){return ie.testId?ie.testId:Se.prepareForTests(ie.pathSegment,ie.label)}function oe(ie){return _e.getNodeHref(ie,w)}function Ce(ie,Le){return ie&&ie.testId?ie.testId:Se.prepareForTests(Le||ie.label)}async function De(ie,Le){const st=_e.mapPathToNode(xe.getCurrentPath(),Le),St=(await Vt.extractDataFromPath(st)).pathData.pathParams;return _e.substituteDynamicParamsInObject(ie,St)}function ce(ie,Le){return Se.generateTooltipText(ie,Le)}function Re(ie){r("handleClick",{node:ie})}function ne(ie,Le){if(pi.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(ie.metaInfo&&ie.metaInfo.label?st=ie.metaInfo.label:st=ie.category&&ie.category.label||ie.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=st),x(Le)}}function x(ie){const Le=ie.closest(".fd-nested-list__item"),st=Le.offsetTop,yt=ui.getShellbar().offsetHeight;let St;ui.isCustomLuigiContainer()?St=ui.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const sn=Le.getElementsByClassName("lui-flyout-sublist")[0],kn=ie.closest(".lui-fd-side-nav-wrapper").scrollTop,ti=st+yt-kn,zn=St-st-Le.offsetHeight+kn-yt;ti+sn.offsetHeight>=St?(sn.style.bottom=zn+"px",sn.className+=" has-bottom-position"):sn.style.top=ti-yt+"px"})}function me(){if(g){let ie=pi.onResize(y);t(6,v=ie.isSemiCollapsed),t(8,y=ie.selectedCategory)}}function je(ie){if(ie.code==="ArrowRight"){const st=Te.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function Ze(ie){let Le=O?O.parent:void 0;for(;Le;){if(Le.pathSegment&&Le.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Le});return}Le=Le.parent}console.warn('Could not resolve "up"-node, redirecting to root'),p_.navigate("/")}function pe(ie,Le){pi.getCollapsed()||t(9,N=Se.storeExpandedState(ie.metaInfo.categoryUid,Le,A))}function qe(){t(8,y=pi.closePopupMenu(y))}function mt(ie){ie&&ie.code==="Escape"&&qe()}function rn(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Wt()}function vt(ie){const Le=ie.code;(Le==="Enter"||Le==="Space")&&rn()}function Zt(ie,Le){(ie.code==="Enter"||ie==="Space")&&ne(Le,ie.currentTarget)}function An(ie,Le){ie.keyCode===wi&&Se.handleNavAnchorClickedWithoutMetaKey(ie)&&Re(Le)}function Wt(){if(!Se.getBurgerTooltipConfig())return;const[ie,Le]=Se.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");ie&&Le&&st&&t(11,R=document.body.classList.contains("semiCollapsed")?ie:Le)}function Wn(ie,Le){return Sn(ie,Le)?ie.metaInfo.titleCollapseButton?n(ie.metaInfo.titleCollapseButton):void 0:ie.metaInfo.titleExpandButton?n(ie.metaInfo.titleExpandButton):void 0}const fl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Cn=(ie,Le)=>An(Le,ie),ut=ie=>pe(ie,!Sn(ie,N)),ei=ie=>pe(ie,!Sn(ie,N)),fi=(ie,Le)=>Zt(Le,ie),_n=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Jt=(ie,Le)=>An(Le,ie),cl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Yt=(ie,Le)=>An(Le,ie),en=ie=>ne(ie,event.currentTarget),ci=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Ci=(ie,Le)=>An(Le,ie),cn=ie=>rn(),ki=ie=>rn(),yi=ie=>vt(ie);return i.$$set=ie=>{"children"in ie&&t(0,s=ie.children),"hideNavComponent"in ie&&t(1,o=ie.hideNavComponent),"footerText"in ie&&t(2,c=ie.footerText),"semiCollapsible"in ie&&t(39,g=ie.semiCollapsible),"semiCollapsibleButton"in ie&&t(3,h=ie.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ie&&t(4,_=ie.semiCollapsibleButtonStyle),"pathData"in ie&&t(5,p=ie.pathData),"pathParams"in ie&&t(42,w=ie.pathParams),"virtualGroupPrefix"in ie&&t(14,m=ie.virtualGroupPrefix),"isSemiCollapsed"in ie&&t(6,v=ie.isSemiCollapsed),"selectedNode"in ie&&t(7,k=ie.selectedNode),"selectedCategory"in ie&&t(8,y=ie.selectedCategory),"expandedCategories"in ie&&t(9,N=ie.expandedCategories),"hasCategoriesWithIcon"in ie&&t(10,I=ie.hasCategoriesWithIcon),"sideNavAccordionMode"in ie&&t(40,A=ie.sideNavAccordionMode),"burgerTooltip"in ie&&t(11,R=ie.burgerTooltip),"navHeader"in ie&&t(12,E=ie.navHeader),"navParentNode"in ie&&t(41,O=ie.navParentNode),"sortedChildrenEntries"in ie&&t(13,j=ie.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ie=Object.entries(s);ie.sort((Le,st)=>Le[1].metaInfo.order-st[1].metaInfo.order),t(13,j=ie)}},[s,o,c,h,_,p,v,k,y,N,I,R,E,j,m,Re,ne,me,je,Ze,pe,qe,B,te,n,ee,Z,Y,be,re,oe,Ce,ce,mt,rn,vt,Zt,An,Wn,g,A,O,w,x,fl,Cn,ut,ei,fi,_n,Jt,cl,Yt,en,ci,Ci,cn,ki,yi]}class yS extends Rt{constructor(e){super(),Et(this,e,kS,SS,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 PS=i=>{fn.doOnStoreChange(i.store,()=>{const e=se.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}),se.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),w_(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!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"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),w_=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||!NS(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=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function rd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function sd(i,e,t){const n=i.slice();return n[43]=e[t],n}function IS(i){let e,t,n,l,r=i[1]&&ad(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ad(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-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function TS(i){let e,t,n,l,r=i[1]&&od(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=od(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-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function ad(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function od(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[26](null)}}}function ud(i){let e,t;function n(o,c){return o[3]?LS:AS}let l=n(i),r=l(i),s=i[10]&&vd(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=vd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}function LS(i){let e,t,n,l,r,s,o,c,g,h;function _(k,y){return k[12]?RS:ES}let p=_(i),w=p(i),m=i[4]&&i[5]&&_d(i),v=i[7]&&i[7].length>0&&pd(i);return{c(){e=C("div"),t=C("div"),w.c(),n=q(),l=C("div"),r=C("nav"),s=C("ul"),m&&m.c(),o=q(),v&&v.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(k,y){L(k,e,y),S(e,t),w.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),m&&m.m(s,null),S(s,o),v&&v.m(s,null),i[36](s),g||(h=ae(t,"click",Ut(US)),g=!0)},p(k,y){p===(p=_(k))&&w?w.p(k,y):(w.d(1),w=p(k),w&&(w.c(),w.m(t,null))),k[4]&&k[5]?m?m.p(k,y):(m=_d(k),m.c(),m.m(s,o)):m&&(m.d(1),m=null),k[7]&&k[7].length>0?v?v.p(k,y):(v=pd(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&T(e),w.d(),m&&m.d(),v&&v.d(),i[36](null),g=!1,h()}}}function AS(i){let e;function t(r,s){return r[12]?OS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(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&&T(e)}}}function ES(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[7]&&i[7].length===1&&fd(i),r=i[7]&&i[7].length>1&&cd(i),s=i[7].length>1&&!i[5]&&gd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),s&&s.m(o,c),L(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=fd(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=cd(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=gd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&T(e),r&&r.d(o),o&&T(t),s&&s.d(o),o&&T(n)}}}function fd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("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-bbvnsa")},m(s,o){L(s,e,o),S(e,t),S(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&T(e)}}}function cd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=hd(sd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(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=sd(l,t,s);n[s]?n[s].p(o,r):(n[s]=hd(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){dt(n,l),l&&T(e)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),o=q(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,w){L(p,e,w),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Mt(i[32])),h=!0)},p(p,w){w[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(l,n),w[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),w[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&T(e),h=!1,_()}}}function hd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&dd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(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=dd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function gd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function _d(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=C("li"),t=C("a"),n=C("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){L(g,e,h),S(e,t),S(t,n),S(n,r),o||(c=ae(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ie(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&T(e),o=!1,c()}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(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=rd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(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){dt(n,l),l&&T(e)}}}function DS(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=C("li"),t=C("a"),n=C("span"),r=Ne(l),c=q(),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,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,c),g||(h=ae(t,"click",_),g=!0)},p(p,w){i=p,w[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(r,l),w[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),w[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&T(e),g=!1,h()}}}function VS(i){let e,t=i[16]&&md(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=md(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function md(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new cr(!1),l=q(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){L(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&T(e)}}}function bd(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 VS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return DS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),L(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&&T(n)}}}function MS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function OS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function vd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function FS(i){let e,t;function n(o,c){return o[12]?TS:IS}let l=n(i),r=l(i),s=i[2]&&ud(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=ud(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}const US=()=>{};function BS(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:w}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,A,R,E=gt("getUnsavedChangesModalPromise"),O=gt("getTranslation");Si(i,O,pe=>t(17,n=pe));let H=gt("store");const F={closeDropDown:()=>{J("appSwitcherPopover")}},B=()=>({get:()=>({pathData:N,pathParams:v,appSwitcherItems:w,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach(qe=>{qe==="pathData"?t(24,N=pe.pathData):qe==="appSwitcherItems"?t(7,w=pe.appSwitcherItems):qe==="itemRenderer"?t(8,m=pe.itemRenderer):qe==="pathParams"?t(9,v=pe.pathParams):qe==="selectedItem"?t(5,_=pe.selectedItem):qe==="title"?t(2,o=pe.title):qe==="defaultSubTitle"?t(23,y=pe.defaultSubTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="defaultTitle"?t(6,p=pe.defaultTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):qe==="hasApps"?t(3,c=pe.hasApps):qe==="hasLogo"&&t(1,s=pe.hasLogo)})},store:H});jt(()=>{PS(B())}),Hn(()=>{(!R||R!=N)&&(w_(B()),R=N)});function G(pe,qe,mt){return setTimeout(()=>{qe&&m(pe,qe.children[mt],F)}),""}function ee(pe){E().then(()=>{xe.navigateTo(_e.applyPathParams(pe,v))},()=>{})}function te(){E().then(()=>{xe.navigateTo("/")},()=>{})}function Z(pe){l("handleClick",{node:pe}),J("appSwitcherPopover")}function J(pe){l("toggleDropdownState",{name:pe})}function j(pe){return pe.testId?pe.testId:Se.prepareForTests(pe.title||pe)}function Y(pe,qe){if(pe.link){const mt=_e.applyPathParams(pe.link,qe);if(mt.indexOf(":")!==0&&mt.indexOf("/:")===-1)return!0}return!1}function be(pe){return _e.getNodeHref(pe)}function re(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const oe=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")};function Ce(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const De=()=>ee("/"),ce=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")},Re=()=>ee("/"),ne=()=>J("appSwitcherPopover"),x=()=>J("appSwitcherPopover"),me=()=>J("appSwitcherPopover"),je=(pe,qe)=>{Se.handleNavAnchorClickedWithoutMetaKey(qe)&&ee(pe.link)};function Ze(pe){tt[pe?"unshift":"push"](()=>{A=pe,t(16,A)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,s=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,g=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,h=pe.showMainAppEntry),"selectedItem"in pe&&t(5,_=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,w=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,m=pe.itemRenderer),"pathParams"in pe&&t(9,v=pe.pathParams),"subTitle"in pe&&t(10,k=pe.subTitle),"defaultSubTitle"in pe&&t(23,y=pe.defaultSubTitle),"pathData"in pe&&t(24,N=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,I=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,w,m,v,k,g,I,ee,te,J,A,n,O,G,j,Y,be,y,N,Z,re,oe,Ce,De,ce,Re,ne,x,me,je,Ze]}class HS extends Rt{constructor(e){super(),Et(this,e,BS,FS,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 wd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Sd(i){let e,t,n,l,r,s,o=i[0]&&Cd(i),c=(i[10]||i[11])&&Ld(i);return{c(){e=C("div"),o&&o.c(),t=q(),n=C("div"),l=C("div"),r=C("div"),s=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),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){L(g,e,h),o&&o.m(e,null),L(g,t,h),L(g,n,h),S(n,l),S(l,r),S(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Cd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Ld(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&T(e),o&&o.d(),g&&T(t),g&&T(n),c&&c.d()}}}function Cd(i){let e,t,n,l,r,s,o;function c(k,y){return k[7].picture?zS:WS}let g=c(i),h=g(i),_=i[7].name&&kd(i),p=i[7].description&&yd(i),w=i[9].items,m=[];for(let k=0;k<w.length;k+=1)m[k]=Nd(wd(i,w,k));let v=i[12]&&Id(i);return{c(){e=C("div"),h.c(),t=q(),n=C("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),s=C("ul");for(let k=0;k<m.length;k+=1)m[k].c();o=q(),v&&v.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")},m(k,y){L(k,e,y),h.m(e,null),L(k,t,y),L(k,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),L(k,r,y),L(k,s,y);for(let N=0;N<m.length;N+=1)m[N].m(s,null);S(s,o),v&&v.m(s,null)},p(k,y){if(g===(g=c(k))&&h?h.p(k,y):(h.d(1),h=g(k),h&&(h.c(),h.m(e,null))),k[7].name?_?_.p(k,y):(_=kd(k),_.c(),_.m(n,l)):_&&(_.d(1),_=null),k[7].description?p?p.p(k,y):(p=yd(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){w=k[9].items;let N;for(N=0;N<w.length;N+=1){const I=wd(k,w,N);m[N]?m[N].p(I,y):(m[N]=Nd(I),m[N].c(),m[N].m(s,o))}for(;N<m.length;N+=1)m[N].d(1);m.length=w.length}k[12]?v?v.p(k,y):(v=Id(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null)},d(k){k&&T(e),h.d(),k&&T(t),k&&T(n),_&&_.d(),p&&p.d(),k&&T(r),k&&T(s),dt(m,k),v&&v.d()}}}function WS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("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){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&T(e)}}}function zS(i){let e;return{c(){e=C("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){L(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function kd(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ie(n,t)},d(l){l&&T(e)}}}function yd(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function qS(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&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&&T(e)}}}function GS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function Nd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Pd(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Pd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Id(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Td(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){L(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(c=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Td(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ie(s,r)},d(h){h&&T(e),g&&g.d(),o=!1,Qe(c)}}}function Td(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?jS:KS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function KS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function jS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ld(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ad(i),l=i[10]&&!i[8]&&Ed(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ad(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ed(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Ad(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=C("div"),t=C("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){L(c,e,g),S(e,t),S(t,l),s||(o=ae(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ie(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),s=!1,o()}}}function Ed(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=q(),n=C("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){L(s,e,o),L(s,t,o),L(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&T(e),s&&T(t),s&&T(n),l=!1,Qe(r)}}}function JS(i){let e,t=!i[1]&&Sd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function YS(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings"),De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(Ce){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De),t(12,p=!!Ce)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class QS extends Rt{constructor(e){super(),Et(this,e,YS,JS,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 Rd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Dd(i){let e,t,n,l,r,s=i[0]&&Vd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Od(Rd(i,o,_));let g=i[12]&&Fd(i),h=(i[10]||i[11])&&Bd(i);return{c(){e=C("nav"),t=C("ul"),s&&s.c(),n=q();for(let _=0;_<c.length;_+=1)c[_].c();l=q(),g&&g.c(),r=q(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let w=0;w<c.length;w+=1)c[w].m(t,null);S(t,l),g&&g.m(t,null),S(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Vd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let w;for(w=0;w<o.length;w+=1){const m=Rd(_,o,w);c[w]?c[w].p(m,p):(c[w]=Od(m),c[w].c(),c[w].m(t,l))}for(;w<c.length;w+=1)c[w].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Fd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&T(e),s&&s.d(),dt(c,_),g&&g.d(),h&&h.d()}}}function Vd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function ZS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function XS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Md(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("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(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Md(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Fd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Ud(i);return{c(){e=C("li"),t=C("a"),h&&h.c(),n=q(),l=C("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){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Ud(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,Qe(g)}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function $S(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function xS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Hd(i),l=i[10]&&!i[8]&&zd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Hd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=zd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Wd(i);return{c(){e=C("li"),t=C("button"),h&&h.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=ae(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Wd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,g()}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?tC:eC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function eC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function tC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function zd(i){let e,t,n;return{c(){e=C("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&T(e),t=!1,n()}}}function nC(i){let e,t=!i[1]&&Dd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Dd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function iC(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings");t(12,p=!!Ce);const De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class S_ extends Rt{constructor(e){super(),Et(this,e,iC,nC,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 qd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Gd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jd(qd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(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=qd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Jd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},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)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Kd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),w,m,v,k,y,N;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?rC:lC}let A=I(i,-1),R=A(i);r=new xn({props:{node:i[12]}});let E=p&&jd(i);function O(){return i[10](i[12])}return{c(){e=C("li"),t=C("div"),R.c(),l=q(),We(r.$$.fragment),s=q(),o=C("div"),c=C("div"),h=Ne(g),_=q(),E&&E.c(),w=q(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(H,F){L(H,e,F),S(e,t),R.m(t,null),S(t,l),Be(r,t,null),S(e,s),S(e,o),S(o,c),S(c,h),S(o,_),E&&E.m(o,null),S(e,w),k=!0,y||(N=ae(e,"click",O),y=!0)},p(H,F){i=H,A===(A=I(i,F))&&R?R.p(i,F):(R.d(1),R=A(i),R&&(R.c(),R.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!k||F&18)&&g!==(g=i[4](i[12])+"")&&Ie(h,g),F&34&&(p=i[5](i[12])),p?E?E.p(i,F):(E=jd(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!k||F&66&&m!==(m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!k||F&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(H){k||(M(r.$$.fragment,H),k=!0)},o(H){z(r.$$.fragment,H),k=!1},d(H){H&&T(e),R.d(),He(r),E&&E.d(),y=!1,N()}}}function lC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!it(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&&T(e)}}}function rC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-t09cq9")},m(n,l){L(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-t09cq9")&&f(e,"class",t)},d(n){n&&T(e)}}}function jd(i){let e,t=i[5](i[12])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Jd(i){let e,t,n=i[12].label&&Kd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=Kd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A=i[1]&&Gd(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),o=Ne(i[0]),c=q(),g=C("div"),h=C("div"),_=C("ul"),A&&A.c(),p=q(),w=C("footer"),m=C("div"),v=C("div"),k=C("button"),k.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-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(w,"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(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,c),S(t,g),S(g,h),S(h,_),A&&A.m(_,null),S(t,p),S(t,w),S(w,m),S(m,v),S(v,k),y=!0,N||(I=[ae(k,"click",i[9]),ae(e,"click",Ut(aC))],N=!0)},p(R,[E]){(!y||E&1)&&Ie(o,R[0]),R[1]?A?(A.p(R,E),E&2&&M(A,1)):(A=Gd(R),A.c(),M(A,1),A.m(_,null)):A&&(ye(),z(A,1,1,()=>{A=null}),Pe())},i(R){y||(M(A),y=!0)},o(R){z(A),y=!1},d(R){R&&T(e),A&&A.d(),N=!1,Qe(I)}}}const aC=()=>{};function oC(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 _(v){return Se.renderIconClassName(v)}function p(v){n("listClick",v)}function w(v){Ll.call(this,i,v)}const m=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,s=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,g=v.getNodeSubtitle),"noSubTitle"in v&&t(6,h=v.noSubTitle)},[l,r,s,o,c,g,h,p,_,w,m]}class C_ extends Rt{constructor(e){super(),Et(this,e,oC,sC,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:uC}=ul;function Yd(i,e,t){const n=i.slice();return n[7]=e[t],n}function Qd(i){let e,t,n,l=i[0]&&Zd(i);return{c(){e=C("nav"),t=C("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){L(r,e,s),S(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=Zd(r),l.c(),M(l,1),l.m(t,null)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){z(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Zd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=$d(Yd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o&15885){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=$d(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},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)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[11](i[7])+"",h,_,p,w,m,v,k;function y(R,E){return E&1&&(l=null),l==null&&(l=!!(R[7].icon&&R[9](R[7]))),l?cC:fC}let N=y(i,-1),I=N(i);s=new xn({props:{node:i[7]}});function A(){return i[15](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),I.c(),r=q(),We(s.$$.fragment),o=q(),c=C("span"),h=Ne(g),p=q(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[13](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",w=i[12](i[7]))},m(R,E){L(R,e,E),S(e,t),S(t,n),I.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,p),m=!0,v||(k=[ae(t,"click",i[14]),ae(e,"click",A)],v=!0)},p(R,E){i=R,N===(N=y(i,E))&&I?I.p(i,E):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const O={};E&1&&(O.node=i[7]),s.$set(O),(!m||E&1)&&g!==(g=i[11](i[7])+"")&&Ie(h,g),(!m||E&5&&_!==(_=i[2]?i[13](i[7]):void 0))&&f(t,"href",_),(!m||E&1&&w!==(w=i[12](i[7])))&&f(e,"data-testid",w)},i(R){m||(M(s.$$.fragment,R),m=!0)},o(R){z(s.$$.fragment,R),m=!1},d(R){R&&T(e),I.d(),He(s),v=!1,Qe(k)}}}function fC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1811tf3"),it(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function $d(i){let e,t,n=i[7].label&&Xd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Xd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function xd(i){let e,t;return e=new C_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function dC(i){let e,t,n,l,r,s=!i[1]&&Qd(i),o=i[1]&&xd(i);return{c(){s&&s.c(),e=q(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),L(c,e,g),o&&o.m(c,g),L(c,t,g),n=!0,l||(r=ae(uC,"resize",aa),l=!0)},p(c,[g]){c[1]?s&&(ye(),z(s,1,1,()=>{s=null}),Pe()):s?(s.p(c,g),g&2&&M(s,1)):(s=Qd(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&&(ye(),z(o,1,1,()=>{o=null}),Pe())},i(c){n||(M(s),M(o),n=!0)},o(c){z(s),z(o),n=!1},d(c){s&&s.d(c),c&&T(e),o&&o.d(c),c&&T(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function hC(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=gt("getUnsavedChangesModalPromise"),g=gt("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});jt(async()=>{aa()}),Hn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function w(O){c().then(()=>{if(O.openNodeInModal){const H=_e.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else xe.handleRouteClick(O,p())},()=>{}),v()}function m(O){w(O.detail)}function v(){n("close")}function k(O){return Se.isOpenUIiconName(O.icon)}function y(O){return Se.renderIconClassName(O)}function N(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function A(O){return _e.getNodeHref(O,o)}const R=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>w(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(7,s=O.node),"addNavHrefForAnchor"in O&&t(2,h=O.addNavHrefForAnchor)},[r,l,h,w,m,v,aa,s,_,k,y,N,I,A,R,E]}class k_ extends Rt{constructor(e){super(),Et(this,e,hC,dC,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return aa}}const gn={_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(xe.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!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=gn._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),!!gn.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=gn.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 gn.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=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await gn.generateSwitcherNav(e,t)}};function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i,e,t){const n=i.slice();return n[21]=e[t],n}function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ih(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh(nh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let 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=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=rh(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&&T(e),dt(n,l)}}}function lh(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=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=q(),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,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Mt(wC)),ae(e,"click",_)],g=!0)},p(p,w){i=p,w&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),w&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),w&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,Qe(h)}}}function rh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&lh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(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=lh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function sh(i){let e;return{c(){e=C("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-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function TS(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w=(i[5]||i[4]&&i[0].header)&&jf(i),k=i[4]&&Yf(i),y=i[3]&&Qf();return{c(){e=C("div"),t=C("div"),w&&w.c(),n=z(),l=C("div"),k&&k.c(),r=z(),s=C("div"),g=z(),y&&y.c(),f(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(s,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Yn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",v=i[5]?"z-index:1001":"")},m(N,T){E(N,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),k&&k.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),m=!0},p(N,[T]){N[5]||N[4]&&N[0].header?w?(w.p(N,T),T&49&&O(w,1)):(w=jf(N),w.c(),O(w,1),w.m(t,n)):w&&(ye(),W(w,1,1,()=>{w=null}),Pe()),N[4]?k?(k.p(N,T),T&16&&O(k,1)):(k=Yf(N),k.c(),O(k,1),k.m(l,r)):k&&(ye(),W(k,1,1,()=>{k=null}),Pe()),(!m||T&16&&o!==(o="iframeModalCtn "+(N[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(s,"class",o),(!m||T&18&&c!==(c=N[4]?void 0:N[1]))&&f(s,"modal-container-index",c),N[3]?y||(y=Qf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||T&19&&h!==(h="fd-dialog__content "+(N[4]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-1rzu3xo"))&&f(t,"class",h),(!m||T&32&&_!==(_=N[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||T&49&&p!==(p=Yn(N[5]||N[4]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||T&32&&v!==(v=N[5]?"z-index:1001":""))&&f(e,"style",v)},i(N){m||(O(w),O(k),m=!0)},o(N){W(w),W(k),m=!1},d(N){N&&A(e),w&&w.d(),k&&k.d(),y&&y.d()}}}function LS(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=zt();let _,p,v,m=!1,w=!1,k=!1,y=!1,N=!1,T=!0,R,D=gt("store");const I=Y=>de.getNodeLabel(Y),U=async Y=>{const j=Y&&Y.length?le.getPathWithoutHash(Y):"",J=pe.parseParams(j.split("?")[1]);v=pe.getNodeParams(J);const we=await Vt.extractDataFromPath(Y);_=we.nodeObject,t(4,N=r.isDrawer||typeof _.drawer=="object"),R=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(_),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=I(_),r),t(0,r._liveLabel=!0,r)),p=we.pathData,t(7,s=!0)},B=async Y=>{if(!(m||w))if(s)if(_.webcomponent)t(3,k=!1),N?await G():await L(),ar.renderWebComponent(_.viewUrl,document.querySelector(R),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(R),modalWCData:{...p,nodeParams:v}}),w=!0;else{const j=await K(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:v});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:v}}),m=!0}else await U(Y)},L=async()=>{let Y,j;const J=document.querySelector(".lui-modal-index-"+c),{size:we,width:ie,height:oe}=r,Ce=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(J.classList.remove("lui-modal-fullscreen"),ie&&ie.match(Ce)&&oe&&oe.match(Ce))Y=oe,j=ie;else switch(we){case"fullscreen":Y="100vh",j="100vw",J.classList.add("lui-modal-fullscreen");break;case"m":Y="80%",j="60%";break;case"s":Y="80%",j="40%";break;default:Y="80%",j="80%"}J.setAttribute("style",`width:${j};height:${Y};`)},K=async(Y,j)=>{N?await G():await L(),Y&&(Y=pe.substituteViewUrl(Y,j));const J=await Le.createIframe(Y,void 0,_,"modal",j);return document.querySelector(R).appendChild(J),J};async function G(Y){let j="";const J=document.getElementsByClassName("drawer"),we=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?J[0].setAttribute("style",j):(we[0].setAttribute("style",j),J[0].setAttribute("style","width:100%"))}fa(()=>{B(o)});const x=async Y=>{Y.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),Y.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),Y.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&ee()),Y.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),Y.data.msg==="luigi.navigation.updateModalSettings"&&((Y.data.updatedModalSettings.title||Y.data.updatedModalSettings.title==="")&&t(0,r.title=Y.data.updatedModalSettings.title,r),(Y.data.updatedModalSettings.size||Y.data.updatedModalSettings.width||Y.data.updatedModalSettings.height)&&(t(0,r.size=Y.data.updatedModalSettings.size,r),t(0,r.height=Y.data.updatedModalSettings.height,r),t(0,r.width=Y.data.updatedModalSettings.width,r),await L()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&xe.updateModalDataInUrl(pe.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},Y.data.addHistoryEntry))};Yt(()=>{fn.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=I(_),r)},["navigation.viewgroupdata"]),In.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var Y;!y&&!_.webcomponent&&((Y=_.loadingIndicator)==null?void 0:Y.enabled)!==!1&&t(3,k=!0)},250)}),Qr(()=>{In.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ee(){let Y;T?Y=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):Y=document.querySelector(".drawer .spinnerContainer"),Y&&Y.classList.contains("fade-out")&&(Y.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Q=()=>h("close",{activeDrawer:!1});return i.$$set=Y=>{"settings"in Y&&t(0,r=Y.settings),"isDataPrepared"in Y&&t(7,s=Y.isDataPrepared),"nodepath"in Y&&t(8,o=Y.nodepath),"modalIndex"in Y&&t(1,c=Y.modalIndex),"disableBackdrop"in Y&&t(2,g=Y.disableBackdrop),"$$scope"in Y&&t(9,l=Y.$$scope)},[r,c,g,k,N,T,h,s,o,l,n,Q]}class b_ extends Rt{constructor(e){super(),Et(this,e,LS,TS,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function Zf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function Xf(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function $f(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function ec(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=uc(Zf(i,n,r));return{c(){e=C("div"),t=C("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){E(r,e,s),S(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=Zf(r,n,o);l[o]?l[o].p(c,s):(l[o]=uc(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&&A(e),dt(l,r)}}}function tc(i){let e;function t(r,s){return r[28].isEditable||r[28].isEditable===void 0?ES:AS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(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&&A(e)}}}function AS(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,s){E(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function ES(i){let e,t,n,l,r;function s(){i[17].call(e,i[27])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){E(o,e,c),Uf(e,i[0][i[1][0]][i[27]]),l||(r=ae(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Uf(e,i[0][i[1][0]][i[27]])},d(o){o&&A(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,h,_,p,v,m,w=Array.isArray(i[28].options),k,y;function N(...D){return i[18](i[27],i[30],i[28],...D)}function T(){return i[19](i[28])}let R=w&&ic(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),s=C("span"),c=Ne(o),h=z(),_=C("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',v=z(),m=C("div"),R&&R.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[30]),f(s,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-h4g9o7"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,I){E(D,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,c),S(r,h),S(r,_),S(t,v),S(t,m),R&&R.m(m,null),k||(y=[ae(r,"keydown",N),ae(n,"click",Bt(T))],k=!0)},p(D,I){i=D,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Te(c,o),I[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(s,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),I[0]&2&&(w=Array.isArray(i[28].options)),w?R?R.p(i,I):(R=ic(i),R.c(),R.m(m,null)):R&&(R.d(1),R=null)},d(D){D&&A(e),R&&R.d(),k=!1,Ze(y)}}}function ic(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){E(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[28].options;let s;for(s=0;s<t.length;s+=1){const o=$f(l,t,s);n[s]?n[s].p(o,r):(n[s]=lc(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&&A(e),dt(n,l)}}}function lc(i){let e,t,n=i[12](i[31])+"",l,r,s,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=C("li"),t=C("span"),l=Ne(n),r=z(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",s=i[4]===i[33]),f(e,"tabindex","0"),gi(e,"is-selected",i[4]===i[33]),gi(e,"is-focus",i[4]===i[33])},m(h,_){E(h,e,_),S(e,t),S(t,l),S(e,r),o||(c=[ae(e,"click",g),ae(e,"keydown",i[21])],o=!0)},p(h,_){i=h,_[0]&2&&n!==(n=i[12](i[31])+"")&&Te(l,n),_[0]&16&&s!==(s=i[4]===i[33])&&f(e,"aria-selected",s),_[0]&16&&gi(e,"is-selected",i[4]===i[33]),_[0]&16&&gi(e,"is-focus",i[4]===i[33])},d(h){h&&A(e),o=!1,Ze(c)}}}function rc(i){let e,t,n,l=i[28].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=sc(Xf(i,l,s));return{c(){e=C("div"),t=C("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-h4g9o7"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){E(s,e,o),S(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[28].options;let c;for(c=0;c<l.length;c+=1){const g=Xf(s,l,c);r[c]?r[c].p(g,o):(r[c]=sc(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[27]+" svelte-h4g9o7")&&f(t,"class",n)},d(s){s&&A(e),dt(r,s)}}}function sc(i){let e,t=i[12](i[31])+"",n,l,r,s,o,c,g,h;function _(){return i[22](i[27],i[31])}return{c(){e=C("button"),n=Ne(t),l=z(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,v){E(p,e,v),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!0)},p(p,v){i=p,v[0]&2&&t!==(t=i[12](i[31])+"")&&Te(n,t),v[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),v[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",s),v[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),v[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function ac(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[23].call(n,i[27])}return{c(){e=C("label"),t=C("span"),n=C("input"),s=z(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,v){E(p,e,v),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[27]],S(t,s),S(t,o),g||(h=ae(n,"change",_),g=!0)},p(p,v){i=p,v[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),v[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),v[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),v[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function oc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ae(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(s){s&&A(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[28].label)+"",r,s,o,c,g,h,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,v,m,w=i[28].type==="string"&&tc(i),k=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&nc(i),y=_&&rc(i),N=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&ac(i),T=i[28].type==="boolean"&&i[28].style==="checkbox"&&oc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ne(l),s=Ne(":"),o=z(),c=C("div"),w&&w.c(),g=z(),k&&k.c(),h=z(),y&&y.c(),p=z(),N&&N.c(),v=z(),T&&T.c(),m=z(),f(n,"class","fd-form-label svelte-h4g9o7"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-h4g9o7"),f(c,"class","fd-col fd-col--8 svelte-h4g9o7"),f(e,"class","fd-row svelte-h4g9o7")},m(R,D){E(R,e,D),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,c),w&&w.m(c,null),S(c,g),k&&k.m(c,null),S(c,h),y&&y.m(c,null),S(c,p),N&&N.m(c,null),S(c,v),T&&T.m(c,null),S(e,m)},p(R,D){D[0]&34&&l!==(l=R[5](R[28].label)+"")&&Te(r,l),R[28].type==="string"?w?w.p(R,D):(w=tc(R),w.c(),w.m(c,g)):w&&(w.d(1),w=null),R[28].type==="enum"&&(R[28].style===void 0||R[28].style==="list")?k?k.p(R,D):(k=nc(R),k.c(),k.m(c,h)):k&&(k.d(1),k=null),D[0]&2&&(_=R[28].type==="enum"&&R[28].style==="button"&&Array.isArray(R[28].options)),_?y?y.p(R,D):(y=rc(R),y.c(),y.m(c,p)):y&&(y.d(1),y=null),R[28].type==="boolean"&&(!R[28].style||R[28].style==="switch")?N?N.p(R,D):(N=ac(R),N.c(),N.m(c,v)):N&&(N.d(1),N=null),R[28].type==="boolean"&&R[28].style==="checkbox"?T?T.p(R,D):(T=oc(R),T.c(),T.m(c,null)):T&&(T.d(1),T=null)},d(R){R&&A(e),w&&w.d(),k&&k.d(),y&&y.d(),N&&N.d(),T&&T.d()}}}function RS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-h4g9o7")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(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:Oe,o:Oe,d(r){r&&A(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 DS(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const s=zt();let o=gt("getTranslation");bi(i,o,Q=>t(5,n=Q));let c,{isComboOpen:g}=e;function h(){s("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(Y=>{m(Y,!1)})}function v(Q,Y){let j=ta(Q.target,".fd-popover__control",20),J=j.getAttribute("aria-expanded")==="true";(Y||Y===void 0)&&(p(),m(j,!J))}function m(Q,Y){const j=Q.querySelector(".lui-activate-dropdown"),J=Q.parentNode.querySelector(".fd-popover__body"),we=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",Y),J.setAttribute("aria-hidden",!Y),we.setAttribute("aria-expanded",Y),j.setAttribute("aria-expanded",Y),t(14,g=Y)}function w(Q,Y,j){t(4,c=j),t(0,r[l[0]][Q]=Y.value||Y,r)}function k(Q,Y){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(j=>{const J=j.getAttribute("id"),we=`lui-us-enum_button_${Q}_option`;J===we?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Q]=Y.value||Y,r)}function y(Q,Y){let j;if(Array.isArray(Y)){for(let J=0;J<Y.length;J++)if(le.isObject(Y[J])){if(Y[J].value&&Y[J].value===Q){j=Y[J].label,t(4,c=J);break}}else{j=Q,t(4,c=Y.indexOf(Q));break}return n(j)}}function N(Q){return n(le.isObject(Q)?Q.label:Q)}function T(Q,Y,j){return le.isObject(j)?`${Q}_${Y}_${j.value}`:`${Q}_${Y}_${j}`}function R(Q,Y,j,J){let we=ta(Q.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${j}`).children;let oe=-1;if([...ie].forEach((Ce,ue)=>{Ce.classList.contains("is-focus")&&(oe=ue)}),g){if(Q.keyCode===El&&Q.altKey&&(we.click(),we.focus()),Q.keyCode===Mi&&!Q.altKey){if(oe===-1){oe=0,ie.item(oe).classList.add("is-focus");return}oe<J.options.length-1&&(ie.item(oe).classList.remove("is-focus"),oe+=1,ie.item(oe).classList.add("is-focus"))}if(Q.keyCode===El&&!Q.altKey){if(oe===-1){oe=oe.length-1,ie.item(oe).classList.add("is-focus");return}oe>0&&oe<J.options.length&&(ie.item(oe).classList.remove("is-focus"),oe-=1,ie.item(oe).classList.add("is-focus"))}(Q.keyCode===mi||Q.keyCode===Yr)&&w(Y,J.options[oe],oe)}else we.focus(),Q.keyCode===Mi&&Q.altKey&&we.click(),Q.keyCode===Mi&&!Q.altKey&&oe<J.options.length-1&&w(Y,J.options[oe+1],oe+1),Q.keyCode===El&&!Q.altKey&&oe>0&&oe<J.options.length&&w(Y,J.options[oe-1],oe-1)}function D(Q){if(g){let Y=ta(Q.target,".fd-popover",20);Y.blur(),(Q.keyCode===Yr||Q.keyCode===mi)&&(Q.target.click(),p(),setTimeout(()=>{Y.focus()},0))}}y();function I(Q){r[l[0]][Q]=this.value,t(0,r)}const U=(Q,Y,j,J)=>R(J,Q,Y,j),B=Q=>v(event,Q.isEditable),L=(Q,Y,j)=>w(Q,Y,j),K=Q=>D(Q),G=(Q,Y)=>k(Q,Y);function x(Q){r[l[0]][Q]=this.checked,t(0,r)}function ee(Q){r[l[0]][Q]=this.checked,t(0,r)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"storedUserSettingData"in Q&&t(0,r=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,g=Q.isComboOpen)},[r,l,R,D,c,n,o,p,v,w,k,y,N,T,g,h,_,I,U,B,L,K,G,x,ee]}class VS extends Rt{constructor(e){super(),Et(this,e,DS,RS,Tt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=ul;function cc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function dc(i,e,t){const n=i.slice();return n[37]=e[t],n}function hc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?OS:MS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=z(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),E(o,t,c),E(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&&A(t),o&&A(n)}}}function MS(i){let e,t,n,l,r,s=i[37][1].initials&&gc(i);return{c(){e=C("span"),l=z(),s&&s.c(),r=ke(),f(e,"class",t=Yn(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),ai(e,"background-image","url('"+i[37][1].icon+"')"),ai(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),s&&s.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=Yn(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ai(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?s?s.p(o,c):(s=gc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&A(e),o&&A(l),s&&s.d(o),o&&A(r)}}}function OS(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=Yn(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=Yn(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&A(e)}}}function gc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ne(t),f(e,"class",l=Yn(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(s,o){E(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[37][1].initials?s[37][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=Yn(s[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=s[37][1].altText?s[37][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function _c(i){let e,t,n,l,r,s=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,v,m,w=i[37][1].icon&&hc(i);function k(){return i[21](i[37])}function y(...N){return i[22](i[36],...N)}return{c(){e=C("li"),t=C("a"),w&&w.c(),n=z(),l=C("div"),r=C("div"),o=Ne(s),c=z(),g=C("div"),_=Ne(h),p=z(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,T){E(N,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,c),S(l,g),S(g,_),S(e,p),v||(m=[ae(e,"click",Mt(k)),ae(e,"keydown",y)],v=!0)},p(N,T){i=N,i[37][1].icon?w?w.p(i,T):(w=hc(i),w.c(),w.m(t,n)):w&&(w.d(1),w=null),T[0]&1026&&s!==(s=i[10](i[37][1].label?i[37][1].label:"")+"")&&Te(o,s),T[0]&1026&&h!==(h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Te(_,h)},d(N){N&&A(e),w&&w.d(),v=!1,Ze(m)}}}function pc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=_c(dc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=dc(l,t,s);n[s]?n[s].p(o,r):(n[s]=_c(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){dt(n,l),l&&A(e)}}}function mc(i){let e,t,n,l;function r(c){i[23](c)}function s(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new VS({props:o}),tt.push(()=>It(e,"closeDropDown",r,i[9])),tt.push(()=>It(e,"isComboOpen",s,i[8])),e.$on("updateSettingsObject",i[15]),{c(){We(e.$$.fragment)},m(c,g){Be(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],Nt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],Nt(()=>n=!1)),e.$set(h)},i(c){l||(O(e.$$.fragment,c),l=!0)},o(c){W(e.$$.fragment,c),l=!1},d(c){He(e,c)}}}function FS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,v,m,w,k,y,N=i[10](i[7])+"",T,R,D,I,U,B,L,K,G,x,ee,Q=i[10](i[5])+"",Y,j,J,we,ie=i[10](i[6])+"",oe,Ce,ue,Ie,Fe=Object.entries(i[1]),ne=[];for(let be=0;be<Fe.length;be+=1)ne[be]=pc(cc(i,Fe,be));let te=i[11]&&mc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("div"),o=C("h2"),g=Ne(c),h=z(),_=C("div"),p=C("ul");for(let be=0;be<ne.length;be+=1)ne[be].c();v=z(),m=C("div"),w=C("button"),w.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=z(),y=C("h2"),T=Ne(N),R=z(),D=C("div"),I=C("div"),te&&te.c(),U=z(),B=C("div"),L=z(),K=C("footer"),G=C("div"),x=C("div"),ee=C("button"),Y=Ne(Q),j=z(),J=C("div"),we=C("button"),oe=Ne(ie),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(w,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(I,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(B,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(D,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(ee,"data-testid","lui-us-saveBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(x,"class","fd-bar__element"),f(we,"data-testid","lui-us-dismissBtn"),f(we,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(J,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(K,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),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-d5kn3x"),f(e,"tabindex","0")},m(be,je){E(be,e,je),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let Qe=0;Qe<ne.length;Qe+=1)ne[Qe].m(p,null);S(n,v),S(n,m),S(m,w),S(m,k),S(m,y),S(y,T),S(n,R),S(n,D),S(D,I),te&&te.m(I,null),S(D,U),S(D,B),S(t,L),S(t,K),S(K,G),S(G,x),S(x,ee),S(ee,Y),S(G,j),S(G,J),S(J,we),S(we,oe),Ce=!0,ue||(Ie=[ae(fc,"resize",i[20]),ae(fc,"keydown",i[3]),ae(w,"click",i[17]),ae(ee,"click",i[25]),ae(we,"click",i[26])],ue=!0)},p(be,je){if((!Ce||je[0]&1040)&&c!==(c=be[10](be[4])+"")&&Te(g,c),je[0]&803846){Fe=Object.entries(be[1]);let Qe;for(Qe=0;Qe<Fe.length;Qe+=1){const me=cc(be,Fe,Qe);ne[Qe]?ne[Qe].p(me,je):(ne[Qe]=pc(me),ne[Qe].c(),ne[Qe].m(p,null))}for(;Qe<ne.length;Qe+=1)ne[Qe].d(1);ne.length=Fe.length}(!Ce||je[0]&1152)&&N!==(N=be[10](be[7])+"")&&Te(T,N),be[11]?te?(te.p(be,je),je[0]&2048&&O(te,1)):(te=mc(be),te.c(),O(te,1),te.m(I,null)):te&&(ye(),W(te,1,1,()=>{te=null}),Pe()),(!Ce||je[0]&1056)&&Q!==(Q=be[10](be[5])+"")&&Te(Y,Q),(!Ce||je[0]&1088)&&ie!==(ie=be[10](be[6])+"")&&Te(oe,ie)},i(be){Ce||(O(te),Ce=!0)},o(be){W(te),Ce=!1},d(be){be&&A(e),dt(ne,be),te&&te.d(),ue=!1,Ze(Ie)}}}function bc(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 US(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function BS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function v_(i,e,t){if(i&&t>0)return i.matches(e)?i:v_(i.parentNode,e,t-1)}function vc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function HS(i,e,t){let n,{userSettingGroups:l}=e;const r=zt();let s,{storedUserSettings:o={}}=e,c={},g=gt("getTranslation");bi(i,g,oe=>t(10,n=oe));let h=al.userSettingsDialog.dialogHeader,_=al.userSettingsDialog.saveBtn,p=al.userSettingsDialog.dismissBtn,v={},m,w,k,y;Qr(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const oe=re.getConfigValue("userSettings.userSettingsDialog"),Ce=oe||re.getConfigValue("settings.userSettings.userSettingsDialog");Ce&&(t(4,h=Ce.dialogHeader?Ce.dialogHeader:h),t(5,_=Ce.saveBtn?Ce.saveBtn:_),t(6,p=Ce.dismissBtn?Ce.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,In.addEventListener("message",ue=>{const Ie=Le.getValidMessageSource(ue);if(!Ie||ue.data.msg!=="custom")return;Ie._ready=!0;const Fe=la.convertCustomMessageInternalToUser(ue.data),ne="luigi.updateUserSettings";if(Fe.id===ne){const te=rr.findActiveCustomUserSettingsIframe(ue.source);if(te){let be=te.getAttribute("userSettingsGroup");t(0,o[be]=Fe.data,o)}}Fe.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&U()}),re.readUserSettings().then(ue=>{c=JSON.parse(JSON.stringify(ue)),ue===null?t(0,o=bc(JSON.parse(JSON.stringify(l)),{})):t(0,o=bc(JSON.parse(JSON.stringify(l)),ue)),T([m,l[0][m]])}).catch(ue=>{ue&&ue.message&&console.error(ue.message),ue&&ue.closeDialog&&r("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(oe){if(t(7,w=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let Ce in oe.settings){let ue=oe.settings[Ce];ue.type==="enum"?Array.isArray(ue.options)||console.error(`There is no options array for '${Ce}' defined in the Luigi userSettings config.`):ue.type===void 0&&console.error(`There is no data type defined for '${Ce}' in the Luigi userSettings config.`)}}function T(oe,Ce){t(11,s=oe);let ue=oe[0],Ie=oe[1];if(N(Ie),Ce?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ne=>{ne.classList.remove("is-selected")}),v_(Ce.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<en.desktopMinWidth&&I()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&vc()),Ie.viewUrl){if(rr.hideUserSettingsIframe(),v.hasOwnProperty(ue))rr.getUserSettingsIframesInDom().forEach(Fe=>{Fe.userSettingsGroup===ue&&(Fe.style.display="block")});else{const Fe=Jr.hasDecorators()?Jr.applyDecorators(Ie.viewUrl):Ie.viewUrl;let ne=rr.createIframe(Fe,ue);v[ue]=ne}US()}else BS()}const R=oe=>{t(0,o=oe.detail.userSettings)};function D(){re.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function I(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&vc()}function B(oe){return de.renderIconClassName(oe)}function L(oe){return de.isOpenUIiconName(oe.icon)}let K;const G=()=>{const oe=window.innerWidth>=en.desktopMinWidth&&K<en.desktopMinWidth;if(window.innerWidth<en.desktopMinWidth&&K>=en.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"),oe&&(document.querySelector(".confirm-button").style.display="block"),!K){let ue=document.querySelector(".confirm-button");window.innerWidth<en.desktopMinWidth?ue.style.display="none":ue.style.display="block"}K=window.innerWidth};function x(oe,Ce){let ue=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===mi||oe.keyCode===Yr)&&ue[Ce].click(),oe.keyCode===CS&&ue[Object.keys(l).length-1].focus(),oe.keyCode===SS&&ue[0].focus()}function ee(oe){oe.keyCode===pi&&k?y():oe.keyCode===pi&&!k&&r("close")}const Q=oe=>T(oe,event),Y=(oe,Ce)=>x(Ce,[oe]);function j(oe){y=oe,t(9,y)}function J(oe){k=oe,t(8,k)}const we=()=>D(),ie=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,x,ee,h,_,p,w,k,y,n,s,r,g,T,R,D,U,B,L,G,Q,Y,j,J,we,ie]}class WS extends Rt{constructor(e){super(),Et(this,e,HS,FS,Tt,{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:zS}=ul;function qS(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-4tlfph")},m(t,n){E(t,e,n)},p:Oe,d(t){t&&A(e)}}}function GS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=z(),l=C("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-4tlfph"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-4tlfph"),f(l,"class","fd-splitView__title svelte-4tlfph")},m(g,h){E(g,e,h),S(e,t),E(g,n,h),E(g,l,h),S(l,s),o||(c=ae(t,"click",Bt(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,s,o,c;return{c(){e=C("div"),t=z(),n=C("div"),l=C("div"),r=z(),s=C("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-4tlfph"),f(n,"id","splitViewDragger")},m(g,h){E(g,e,h),E(g,t,h),E(g,n,h),S(n,l),S(n,r),S(n,s),o||(c=[ae(s,"click",Bt(Mt(i[3]))),ae(n,"mousedown",Bt(i[6]))],o=!0)},p:Oe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Ze(c)}}}function KS(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 _(w,k){return w[0]?GS:qS}let p=_(i),v=p(i),m=!i[0]&&wc(i);return{c(){e=C("div"),We(t.$$.fragment),n=z(),l=C("div"),v.c(),s=z(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-4tlfph"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(w,k){E(w,e,k),Be(t,e,null),S(e,n),S(e,l),v.m(l,null),E(w,s,k),m&&m.m(w,k),E(w,o,k),c=!0,g||(h=ae(zS,"resize",i[5]),g=!0)},p(w,[k]){const y={};k&4&&(y.disable=w[2]),t.$set(y),p===(p=_(w))&&v?v.p(w,k):(v.d(1),v=p(w),v&&(v.c(),v.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(w[0]?"lui-collapsed":"")))&&f(e,"class",r),w[0]?m&&(m.d(1),m=null):m?m.p(w,k):(m=wc(w),m.c(),m.m(o.parentNode,o))},i(w){c||(O(t.$$.fragment,w),c=!0)},o(w){W(t.$$.fragment,w),c=!1},d(w){w&&A(e),He(t),v.d(),w&&A(s),m&&m.d(w),w&&A(o),g=!1,h()}}}function jS(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,v,{nodepath:m}=e,{collapsed:w}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:N}=e,T=!1,R=gt("getUnsavedChangesModalPromise");const D=()=>({get:()=>({collapsed:w,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:v}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(J=>{J==="splitViewSettings"?t(1,k=j.splitViewSettings):J==="lastNode"?r=j.lastNode:J==="pathData"?s=j.pathData:J==="nodeParams"?o=j.nodeParams:J==="collapsed"?t(0,w=j.collapsed):J==="isDataPrepared"?t(8,y=j.isDataPrepared):J==="currentNode"?c=j.currentNode:J==="splitViewIframe"?h=j.splitViewIframe:J==="splitViewIframeData"?_=j.splitViewIframeData:J==="splitViewWC"?p=j.splitViewWC:J==="splitViewWCData"&&(v=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:R}),I=async()=>{y?w||rt.createAndSetView(D()):await rt.prepareSplitViewData(D(),m)},U=()=>{l.split=rt.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=rt.getDragger()},B=()=>{const j=rt.getDraggerBackdrop();j&&(j.style.display="none"),U(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function L(j){if(Le.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&rt.close(D()),j.data.msg==="luigi.navigation.splitview.collapse"&&K(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const J=parseInt(j.data.data);if(rt.calculateAndSetSplitViewValues(J,rt.internalValues),w)return;B(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}Yt(()=>{x(),g=L.bind(this),In.addEventListener("message",g)}),fa(()=>{I(),T!==y&&!w&&(T=y,B())}),Qr(()=>{window.removeEventListener("message",g)});function K(){rt.collapse(D())}async function G(){await rt.expand(D()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const j=le.getShellbarHeight();rt.internalValues.innerHeight=le.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-j,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=j+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),w||B()}function ee(j){let J=j.y,we={};const ie=function(Fe){const ne=J-Fe.y,te=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(te)||ne===0)return;const be=te-ne,je=rt.internalValues.innerHeight-be,Qe=rt.enforceTresholds(be,je);be<Qe.top||je<Qe.bottom||(we=Qe,J=Fe.y,l.draggable.style.top=`${we.top}px`)},oe=function(){if(Ce(),!we.top||!we.bottom||we.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=we.top,rt.splitViewValues=we,B(),rt.sendMessageToClients("resize.ok",we.percent)},Ce=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",ie)},ue=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",ie)};U(),Ce(),ue(),rt.getDraggerBackdrop().style.display="block"}const Q=j=>{let J=rt.getDraggerButton();J&&(J.style.display=j?"block":"none"),J=rt.getCollapsedDraggerButton(),J&&(J.style.display=j?"block":"none")},Y=j=>{Q(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,w=j.collapsed),"splitViewSettings"in j&&t(1,k=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,N=j.disableBackdrop)},[w,k,N,K,G,x,ee,Y,y,m]}class JS extends Rt{constructor(e){super(),Et(this,e,jS,KS,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 Sc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:ZS,then:QS,catch:YS,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){E(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)||s_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function YS(i){return{c:Oe,m:Oe,p:Oe,d:Oe}}function QS(i){let e,t=i[1]>0&&Cc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Cc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-nd17co"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){E(r,e,s),S(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&&A(e)}}}function ZS(i){return{c:Oe,m:Oe,p:Oe,d:Oe}}function XS(i){let e,t=i[0]&&i[0].badgeCounter&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Oe,o:Oe,d(n){t&&t.d(n),n&&A(e)}}}function $S(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Qn extends Rt{constructor(e){super(),Et(this,e,$S,XS,Tt,{node:0})}}function kc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,s){E(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&A(e)}}}function xS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&kc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Oe,o:Oe,d(n){t&&t.d(n),n&&A(e)}}}function e2(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 Oi extends Rt{constructor(e){super(),Et(this,e,e2,xS,Tt,{node:0})}}const{window:$s}=ul;function yc(i,e,t){const n=i.slice();return n[66]=e[t][0],n[67]=e[t][1],n[69]=t,n}function Pc(i,e,t){const n=i.slice();return n[70]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[70]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[70]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[70]=e[t],n}function Lc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ac(i),p=i[12].showUpLink&&Ec(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),_&&_.c(),r=z(),s=C("span"),c=Ne(o),g=z(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(l,"class","fd-nested-list__link svelte-otu8sz"),f(l,"title",h=i[31](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-otu8sz"),f(t,"class","fd-nested-list svelte-otu8sz"),f(e,"class","lui-nav-title svelte-otu8sz")},m(v,m){E(v,e,m),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,c),S(l,g),p&&p.m(l,null)},p(v,m){v[12].icon?_?_.p(v,m):(_=Ac(v),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=v[24](v[12].label)+"")&&Te(c,o),v[12].showUpLink?p?p.p(v,m):(p=Ec(v),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&h!==(h=v[31](v[12],v[24](v[12].label)))&&f(l,"title",h)},d(v){v&&A(e),_&&_.d(),p&&p.d()}}}function Ac(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function t2(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&4096&&!it(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&&A(e)}}}function n2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){E(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-otu8sz")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ec(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-otu8sz"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=ae(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&&A(e),n=!1,l()}}}function Rc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=nd(yc(i,r,c));const o=c=>W(s[c],1,1,()=>{s[c]=null});return{c(){e=C("div"),t=C("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-otu8sz"),f(e,"class","lui-fd-side-nav-wrapper svelte-otu8sz")},m(c,g){E(c,e,g),S(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]&113){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=yc(c,r,h);s[h]?(s[h].p(_,g),O(s[h],1)):(s[h]=nd(_),s[h].c(),O(s[h],1),s[h].m(t,null))}for(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-otu8sz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)O(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)W(s[g]);l=!1},d(c){c&&A(e),dt(s,c)}}}function i2(i){let e,t,n,l;const r=[s2,r2],s=[];function o(c,g){return c[67].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),W(s[h],1,1,()=>{s[h]=null}),Pe(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),O(t,1),t.m(n.parentNode,n))},i(c){l||(O(t),l=!0)},o(c){W(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function l2(i){let e,t,n=i[67],l=[];for(let s=0;s<n.length;s+=1)l[s]=td(Tc(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&1015062720|o[1]&33){n=s[67];let c;for(c=0;c<n.length;c+=1){const g=Tc(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=td(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function r2(i){let e,t,n=i[24](i[66])+"",l,r,s,o,c,g,h=i[10]&&i[67].metaInfo.icon&&Dc(i),_=i[67],p=[];for(let m=0;m<_.length;m+=1)p[m]=Bc(Pc(i,_,m));const v=m=>W(p[m],1,1,()=>{p[m]=null});return{c(){e=C("li"),h&&h.c(),t=z(),l=Ne(n),o=z();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-otu8sz"),f(e,"title",r=i[31](i[67],i[24](i[66]))),f(e,"data-testid",s=i[30](i[67].metaInfo,i[66])),f(e,"id","category_list_level1_"+i[69])},m(m,w){E(m,e,w),h&&h.m(e,null),S(e,t),S(e,l),E(m,o,w);for(let k=0;k<p.length;k+=1)p[k].m(m,w);E(m,c,w),g=!0},p(m,w){if(m[10]&&m[67].metaInfo.icon?h?h.p(m,w):(h=Dc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||w[0]&16785408)&&n!==(n=m[24](m[66])+"")&&Te(l,n),(!g||w[0]&16785408&&r!==(r=m[31](m[67],m[24](m[66]))))&&f(e,"title",r),(!g||w[0]&8192&&s!==(s=m[30](m[67].metaInfo,m[66])))&&f(e,"data-testid",s),w[0]&1015062720|w[1]&33){_=m[67];let k;for(k=0;k<_.length;k+=1){const y=Pc(m,_,k);p[k]?(p[k].p(y,w),O(p[k],1)):(p[k]=Bc(y),p[k].c(),O(p[k],1),p[k].m(c.parentNode,c))}for(ye(),k=_.length;k<p.length;k+=1)v(k);Pe()}},i(m){if(!g){for(let w=0;w<_.length;w+=1)O(p[w]);g=!0}},o(m){p=p.filter(Boolean);for(let w=0;w<p.length;w+=1)W(p[w]);g=!1},d(m){m&&A(e),h&&h.d(),m&&A(o),dt(p,m),m&&A(c)}}}function s2(i){let e,t,n,l,r,s,o=i[24](i[66])+"",c,g,h,_,p,v,m,w,k,y,N,T,R,D,I,U,B,L,K,G,x,ee;function Q(ne,te){return te[0]&8192&&(l=null),l==null&&(l=!!ne[28](ne[67].metaInfo.icon)),l?g2:h2}let Y=Q(i,[-1,-1,-1]),j=Y(i);function J(){return i[45](i[67])}function we(){return i[46](i[67])}function ie(...ne){return i[47](i[67],...ne)}let oe=i[67],Ce=[];for(let ne=0;ne<oe.length;ne+=1)Ce[ne]=Gc(Ic(i,oe,ne));const ue=ne=>W(Ce[ne],1,1,()=>{Ce[ne]=null});let Ie=i[67].metaInfo&&i[67].metaInfo.label===i[8]&&Kc(i);function Fe(){return i[52](i[67])}return{c(){e=C("li"),t=C("div"),n=C("a"),j.c(),r=z(),s=C("span"),c=Ne(o),m=z(),w=C("button"),k=C("i"),D=z(),I=C("ul");for(let ne=0;ne<Ce.length;ne+=1)Ce[ne].c();B=z(),Ie&&Ie.c(),L=z(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(n,"title",g=i[31](i[67],i[24](i[66]))),f(n,"class",h="fd-nested-list__link "+(Sn(i[67],i[9])?"is-expanded":"")+" svelte-otu8sz"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[69]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",v=Sn(i[67],i[9])),f(k,"class",y=Sn(i[67],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(w,"class","fd-button fd-nested-list__button svelte-otu8sz"),f(w,"href","#"),f(w,"tabindex","0"),f(w,"aria-label","Expand categories"),f(w,"aria-haspopup","true"),f(w,"aria-expanded",N=Sn(i[67],i[9])),f(w,"title",T=i[37](i[67],i[9])),f(t,"class","fd-nested-list__content has-child svelte-otu8sz"),f(t,"tabindex",R=i[6]?"0":"-1"),f(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-otu8sz"),f(I,"aria-hidden",U=!Sn(i[67],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",K=i[30](i[67].metaInfo,i[66])),gi(e,"lui-item-expanded",Sn(i[67],i[9]))},m(ne,te){E(ne,e,te),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,c),S(t,m),S(t,w),S(w,k),S(e,D),S(e,I);for(let be=0;be<Ce.length;be+=1)Ce[be].m(I,null);S(e,B),Ie&&Ie.m(e,null),S(e,L),G=!0,x||(ee=[ae(n,"click",Mt(J)),ae(w,"click",Mt(we)),ae(t,"keypress",ie),ae(e,"click",Bt(Fe))],x=!0)},p(ne,te){if(i=ne,Y===(Y=Q(i,te))&&j?j.p(i,te):(j.d(1),j=Y(i),j&&(j.c(),j.m(n,r))),(!G||te[0]&16785408)&&o!==(o=i[24](i[66])+"")&&Te(c,o),(!G||te[0]&16785408&&g!==(g=i[31](i[67],i[24](i[66]))))&&f(n,"title",g),(!G||te[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[67],i[9])?"is-expanded":"")+" svelte-otu8sz"))&&f(n,"class",h),(!G||te[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||te[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||te[0]&8704&&v!==(v=Sn(i[67],i[9])))&&f(n,"aria-expanded",v),(!G||te[0]&8704&&y!==(y=Sn(i[67],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!G||te[0]&8704&&N!==(N=Sn(i[67],i[9])))&&f(w,"aria-expanded",N),(!G||te[0]&8704&&T!==(T=i[37](i[67],i[9])))&&f(w,"title",T),(!G||te[0]&64&&R!==(R=i[6]?"0":"-1"))&&f(t,"tabindex",R),te[0]&612409472|te[1]&33){oe=i[67];let be;for(be=0;be<oe.length;be+=1){const je=Ic(i,oe,be);Ce[be]?(Ce[be].p(je,te),O(Ce[be],1)):(Ce[be]=Gc(je),Ce[be].c(),O(Ce[be],1),Ce[be].m(I,null))}for(ye(),be=oe.length;be<Ce.length;be+=1)ue(be);Pe()}(!G||te[0]&8704&&U!==(U=!Sn(i[67],i[9])))&&f(I,"aria-hidden",U),i[67].metaInfo&&i[67].metaInfo.label===i[8]?Ie?(Ie.p(i,te),te[0]&8448&&O(Ie,1)):(Ie=Kc(i),Ie.c(),O(Ie,1),Ie.m(e,L)):Ie&&(ye(),W(Ie,1,1,()=>{Ie=null}),Pe()),(!G||te[0]&8192&&K!==(K=i[30](i[67].metaInfo,i[66])))&&f(e,"data-testid",K),(!G||te[0]&8704)&&gi(e,"lui-item-expanded",Sn(i[67],i[9]))},i(ne){if(!G){for(let te=0;te<oe.length;te+=1)O(Ce[te]);O(Ie),G=!0}},o(ne){Ce=Ce.filter(Boolean);for(let te=0;te<Ce.length;te+=1)W(Ce[te]);W(Ie),G=!1},d(ne){ne&&A(e),j.d(),dt(Ce,ne),Ie&&Ie.d(),x=!1,Ze(ee)}}}function Dc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[67].metaInfo.icon)),e?o2:a2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function a2(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[67].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[67].metaInfo.altText?i[67].metaInfo.altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[67].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[67].metaInfo.altText?r[67].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function o2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[67].metaInfo.icon?i[27](i[67].metaInfo.icon):"")+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[67].metaInfo.icon?n[27](n[67].metaInfo.icon):"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vc(i){let e,t,n=i[70].label&&Mc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].label?n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Mc(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Mc(i){let e,t,n,l,r=i[26](i[70])+"",s,o,c,g,h,_,p,v,m,w,k,y,N,T;function R(x,ee){return x[70].icon?f2:u2}let D=R(i),I=D(i),U=i[70].statusBadge&&Oc(i),B=i[70].externalLink&&i[70].externalLink.url&&Fc(),L=i[70].badgeCounter&&Uc(i);function K(...x){return i[53](i[70],...x)}function G(...x){return i[54](i[70],...x)}return{c(){e=C("li"),t=C("a"),I.c(),n=z(),l=C("span"),s=Ne(r),o=z(),U&&U.c(),g=z(),B&&B.c(),h=z(),L&&L.c(),w=z(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[29](i[70])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",m=de.getTestId(i[70])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[31](i[70],i[26](i[70]))),f(e,"aria-labelledby","category_list_level1_"+i[69])},m(x,ee){E(x,e,ee),S(e,t),I.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),U&&U.m(l,null),S(t,g),B&&B.m(t,null),S(t,h),L&&L.m(t,null),S(e,w),y=!0,N||(T=[ae(t,"click",K),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],N=!0)},p(x,ee){i=x,D===(D=R(i))&&I?I.p(i,ee):(I.d(1),I=D(i),I&&(I.c(),I.m(t,n))),(!y||ee[0]&8192)&&r!==(r=i[26](i[70])+"")&&Te(s,r),i[70].statusBadge?U?(U.p(i,ee),ee[0]&8192&&O(U,1)):(U=Oc(i),U.c(),O(U,1),U.m(l,null)):U&&(ye(),W(U,1,1,()=>{U=null}),Pe()),(!y||ee[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",c),i[70].externalLink&&i[70].externalLink.url?B||(B=Fc(),B.c(),B.m(t,h)):B&&(B.d(1),B=null),i[70].badgeCounter?L?(L.p(i,ee),ee[0]&8192&&O(L,1)):(L=Uc(i),L.c(),O(L,1),L.m(t,null)):L&&(ye(),W(L,1,1,()=>{L=null}),Pe()),(!y||ee[0]&8192&&_!==(_=i[29](i[70])))&&f(t,"href",_),(!y||ee[0]&8320&&p!==(p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||ee[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!y||ee[0]&8192&&m!==(m=de.getTestId(i[70])))&&f(t,"data-testid",m),(!y||ee[0]&8192&&k!==(k=i[31](i[70],i[26](i[70]))))&&f(e,"title",k)},i(x){y||(O(U),O(L),y=!0)},o(x){W(U),W(L),y=!1},d(x){x&&A(e),I.d(),U&&U.d(),B&&B.d(),L&&L.d(),N=!1,Ze(T)}}}function u2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=z(),l=C("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),S(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&&A(e),o&&A(n),o&&A(l)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[70].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function c2(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[70].icon)||f(t,"src",n),f(t,"alt",l=i[70].altText?i[70].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[70].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[70].altText?r[70].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function d2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[70].icon)+" svelte-otu8sz")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[70].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&A(e)}}}function Oc(i){let e,t;return e=new Oi({props:{node:i[70]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[70]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Fc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Uc(i){let e,t;return e=new Qn({props:{node:i[70]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[70]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Bc(i){let e,t,n=!i[70].hideFromNav&&Vc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Vc(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function h2(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[67].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[67].metaInfo.altText?i[67].metaInfo.altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[67].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[67].metaInfo.altText?r[67].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function g2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[67].metaInfo.icon)+" "+(i[6]&&!i[67].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[67].metaInfo.icon)+" "+(n[6]&&!n[67].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hc(i){let e,t,n=i[70].label&&Wc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].label?n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Wc(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Wc(i){let e,t,n,l=i[26](i[70])+"",r,s,o,c,g,h,_,p,v,m,w,k,y,N,T;o=new Oi({props:{node:i[70]}});let R=i[70].externalLink&&i[70].externalLink.url&&zc(),D=i[70].badgeCounter&&qc(i);function I(...B){return i[48](i[70],...B)}function U(...B){return i[49](i[70],...B)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),g=z(),R&&R.c(),h=z(),D&&D.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[29](i[70])),f(t,"class",p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"role",v=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=de.getTestId(i[70])),f(t,"title",w=i[31](i[70],i[26](i[70]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[69])},m(B,L){E(B,e,L),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),R&&R.m(t,null),S(t,h),D&&D.m(t,null),S(e,k),y=!0,N||(T=[ae(t,"click",I),ae(t,"keyup",function(){Rl(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],N=!0)},p(B,L){i=B,(!y||L[0]&8192)&&l!==(l=i[26](i[70])+"")&&Te(r,l);const K={};L[0]&8192&&(K.node=i[70]),o.$set(K),(!y||L[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[70].externalLink&&i[70].externalLink.url?R||(R=zc(),R.c(),R.m(t,h)):R&&(R.d(1),R=null),i[70].badgeCounter?D?(D.p(i,L),L[0]&8192&&O(D,1)):(D=qc(i),D.c(),O(D,1),D.m(t,null)):D&&(ye(),W(D,1,1,()=>{D=null}),Pe()),(!y||L[0]&8192&&_!==(_=i[29](i[70])))&&f(t,"href",_),(!y||L[0]&8320&&p!==(p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||L[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!y||L[0]&8192&&m!==(m=de.getTestId(i[70])))&&f(t,"data-testid",m),(!y||L[0]&8192&&w!==(w=i[31](i[70],i[26](i[70]))))&&f(t,"title",w)},i(B){y||(O(o.$$.fragment,B),O(D),y=!0)},o(B){W(o.$$.fragment,B),W(D),y=!1},d(B){B&&A(e),He(o),R&&R.d(),D&&D.d(),N=!1,Ze(T)}}}function zc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function qc(i){let e,t;return e=new Qn({props:{node:i[70]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[70]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Gc(i){let e,t,n=!i[70].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Hc(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kc(i){let e,t,n,l=i[24](i[66])+"",r,s,o,c,g=i[67],h=[];for(let p=0;p<g.length;p+=1)h[p]=Zc(Nc(i,g,p));const _=p=>W(h[p],1,1,()=>{h[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ne(l),s=z(),o=C("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-otu8sz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-otu8sz"),f(t,"class","lui-flyout-sublist__wrapper svelte-otu8sz"),f(e,"class","lui-flyout-sublist svelte-otu8sz")},m(p,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o);for(let m=0;m<h.length;m+=1)h[m].m(o,null);c=!0},p(p,v){if((!c||v[0]&16785408)&&l!==(l=p[24](p[66])+"")&&Te(r,l),v[0]&612409472|v[1]&33){g=p[67];let m;for(m=0;m<g.length;m+=1){const w=Nc(p,g,m);h[m]?(h[m].p(w,v),O(h[m],1)):(h[m]=Zc(w),h[m].c(),O(h[m],1),h[m].m(o,null))}for(ye(),m=g.length;m<h.length;m+=1)_(m);Pe()}},i(p){if(!c){for(let v=0;v<g.length;v+=1)O(h[v]);c=!0}},o(p){h=h.filter(Boolean);for(let v=0;v<h.length;v+=1)W(h[v]);c=!1},d(p){p&&A(e),dt(h,p)}}}function jc(i){let e,t,n=i[70].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].label?n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Jc(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Jc(i){let e,t,n,l=i[26](i[70])+"",r,s,o,c,g,h,_,p,v,m,w,k,y,N,T;o=new Oi({props:{node:i[70]}});let R=i[70].externalLink&&i[70].externalLink.url&&Yc(),D=i[70].badgeCounter&&Qc(i);function I(...B){return i[50](i[70],...B)}function U(...B){return i[51](i[70],...B)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),g=z(),R&&R.c(),h=z(),D&&D.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[29](i[70])),f(t,"class",p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",m=de.getTestId(i[70])),f(t,"title",w=i[31](i[70],i[26](i[70]))),f(e,"class","fd-nested-list__item")},m(B,L){E(B,e,L),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),R&&R.m(t,null),S(t,h),D&&D.m(t,null),S(e,k),y=!0,N||(T=[ae(t,"click",I),ae(t,"keyup",function(){Rl(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],N=!0)},p(B,L){i=B,(!y||L[0]&8192)&&l!==(l=i[26](i[70])+"")&&Te(r,l);const K={};L[0]&8192&&(K.node=i[70]),o.$set(K),(!y||L[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[70].externalLink&&i[70].externalLink.url?R||(R=Yc(),R.c(),R.m(t,h)):R&&(R.d(1),R=null),i[70].badgeCounter?D?(D.p(i,L),L[0]&8192&&O(D,1)):(D=Qc(i),D.c(),O(D,1),D.m(t,null)):D&&(ye(),W(D,1,1,()=>{D=null}),Pe()),(!y||L[0]&8192&&_!==(_=i[29](i[70])))&&f(t,"href",_),(!y||L[0]&8320&&p!==(p="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||L[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!y||L[0]&8192&&m!==(m=de.getTestId(i[70])))&&f(t,"data-testid",m),(!y||L[0]&8192&&w!==(w=i[31](i[70],i[26](i[70]))))&&f(t,"title",w)},i(B){y||(O(o.$$.fragment,B),O(D),y=!0)},o(B){W(o.$$.fragment,B),W(D),y=!1},d(B){B&&A(e),He(o),R&&R.d(),D&&D.d(),N=!1,Ze(T)}}}function Yc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Qc(i){let e,t;return e=new Qn({props:{node:i[70]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[70]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Zc(i){let e,t,n=!i[70].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=jc(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(i){let e,t,n=i[70].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].label?n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=$c(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function $c(i){let e,t,n,l,r=i[26](i[70])+"",s,o,c,g,h,_,p,v,m,w,k,y,N,T,R;function D(x,ee){return x[70].icon?p2:_2}let I=D(i),U=I(i);c=new Oi({props:{node:i[70]}});let B=i[70].externalLink&&i[70].externalLink.url&&xc(),L=i[70].badgeCounter&&ed(i);function K(...x){return i[43](i[70],...x)}function G(...x){return i[44](i[70],...x)}return{c(){e=C("li"),t=C("a"),U.c(),n=z(),l=C("span"),s=Ne(r),o=z(),We(c.$$.fragment),h=z(),B&&B.c(),_=z(),L&&L.c(),y=z(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",p=i[29](i[70])),f(t,"title",v=i[31](i[70],i[26](i[70]))),f(t,"class",m="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",k=de.getTestId(i[70])),f(e,"class","fd-nested-list__item")},m(x,ee){E(x,e,ee),S(e,t),U.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),Be(c,l,null),S(t,h),B&&B.m(t,null),S(t,_),L&&L.m(t,null),S(e,y),N=!0,T||(R=[ae(t,"click",K),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],T=!0)},p(x,ee){i=x,I===(I=D(i))&&U?U.p(i,ee):(U.d(1),U=I(i),U&&(U.c(),U.m(t,n))),(!N||ee[0]&8192)&&r!==(r=i[26](i[70])+"")&&Te(s,r);const Q={};ee[0]&8192&&(Q.node=i[70]),c.$set(Q),(!N||ee[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[70].statusBadge&&i[70].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",g),i[70].externalLink&&i[70].externalLink.url?B||(B=xc(),B.c(),B.m(t,_)):B&&(B.d(1),B=null),i[70].badgeCounter?L?(L.p(i,ee),ee[0]&8192&&O(L,1)):(L=ed(i),L.c(),O(L,1),L.m(t,null)):L&&(ye(),W(L,1,1,()=>{L=null}),Pe()),(!N||ee[0]&8192&&p!==(p=i[29](i[70])))&&f(t,"href",p),(!N||ee[0]&8192&&v!==(v=i[31](i[70],i[26](i[70]))))&&f(t,"title",v),(!N||ee[0]&8320&&m!==(m="fd-nested-list__link "+(i[70]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",m),(!N||ee[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!N||ee[0]&8192&&k!==(k=de.getTestId(i[70])))&&f(t,"data-testid",k)},i(x){N||(O(c.$$.fragment,x),O(L),N=!0)},o(x){W(c.$$.fragment,x),W(L),N=!1},d(x){x&&A(e),U.d(),He(c),B&&B.d(),L&&L.d(),T=!1,Ze(R)}}}function _2(i){let e,t;return{c(){e=C("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){E(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&&A(e)}}}function p2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[70].icon)),e?b2:m2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function m2(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[70].icon)||f(t,"src",n),f(t,"alt",l=i[70].altText?i[70].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[70].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[70].altText?r[70].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function b2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[70].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[70].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&A(e)}}}function xc(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function ed(i){let e,t;return e=new Qn({props:{node:i[70]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[70]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function td(i){let e,t,n=!i[70].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[70].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&O(n,1)):(n=Xc(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n,l,r,s;const o=[l2,i2],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[66]==="undefined"||h[66].startsWith(h[14]))),e?0:(t==null&&(t=h[67].filter(C2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),W(c[p],1,1,()=>{c[p]=null}),Pe()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),O(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(O(l),s=!0)},o(h){W(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function id(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ld(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ne(l),s=z(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-otu8sz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-otu8sz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-otu8sz")},m(c,g){E(c,e,g),S(e,t),S(t,n),S(n,r),S(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=ld(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function ld(i){let e;function t(r,s){return r[4]=="button"?w2:v2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(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&&A(e)}}}function v2(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[ae(e,"click",i[56]),ae(e,"keydown",i[57])],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-otu8sz")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ze(l)}}}function w2(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),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-otu8sz")},m(s,o){E(s,e,o),S(e,t),l||(r=ae(e,"click",i[55]),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-otu8sz")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function S2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Lc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Rc(i),v=(i[2]||i[3])&&id(i);return{c(){e=C("div"),_&&_.c(),t=z(),n=C("nav"),l=C("div"),p&&p.c(),r=z(),v&&v.c(),f(l,"class","fd-side-nav__main-navigation svelte-otu8sz"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"),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-otu8sz")},m(m,w){E(m,e,w),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),v&&v.m(n,null),c=!0,g||(h=[ae($s,"resize",i[17]),ae($s,"click",i[21]),ae($s,"blur",i[21]),ae($s,"keydown",i[32]),ae(n,"keyup",i[18])],g=!0)},p(m,w){m[12]?_?_.p(m,w):(_=Lc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,w),w[0]&33&&O(p,1)):(p=Rc(m),p.c(),O(p,1),p.m(l,null)):p&&(ye(),W(p,1,1,()=>{p=null}),Pe()),m[2]||m[3]?v?v.p(m,w):(v=id(m),v.c(),v.m(n,null)):v&&(v.d(1),v=null),(!c||w[0]&4160&&s!==(s="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"))&&f(n,"class",s),(!c||w[0]&14&&o!==(o="fd-app__sidebar "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-otu8sz"))&&f(e,"class",o)},i(m){c||(O(p),c=!0)},o(m){W(p),c=!1},d(m){m&&A(e),_&&_.d(),p&&p.d(),v&&v.d(),g=!1,Ze(h)}}}function Sn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const C2=i=>!i.hideFromNav&&i.label;function k2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:w,selectedNode:k,sideNavAccordionMode:R,selectedCategory:y,expandedCategories:N,hasCategoriesWithIcon:T,navParentNode:U}),set:async se=>{se&&(Object.getOwnPropertyNames(se).forEach(async Ae=>{if(Ae==="pathData")t(5,p=se.pathData);else if(Ae==="context")B=se.context;else if(Ae==="children")t(0,s=se.children);else if(Ae==="selectedNode")t(7,k=se.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,T=se.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,I=void 0);let st=se.navParent;if(t(40,U=st),st&&st.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,mt=st;if(yt==="inherit"){for(mt=st.parent;mt&&mt.navHeader==="inherit";)mt=mt.parent;yt=mt?mt.navHeader:void 0}if(yt instanceof Function){t(12,I={});let sn=yt(de.stripNode(st),de.stripNode(mt),B);sn instanceof Promise?sn.then(Tn=>{t(12,I=Tn)}):t(12,I=sn)}else if(yt==="auto")t(12,I={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&mt.titleResolver){mt.titleResolver.prerenderFallback?t(12,I={...yt,label:mt.titleResolver.fallbackTitle||"",icon:mt.titleResolver.fallbackIcon}):t(12,I=yt);const sn=pe.mapPathToNode(xe.getCurrentPath(),mt);Vt.extractDataFromPath(sn).then(Tn=>{const $n=pe.substituteDynamicParamsInObject(Object.assign({},Tn.pathData.context,mt.context),Tn.pathData.pathParams);de.fetchNodeTitleData(mt,$n).then(xn=>{t(12,I={...yt,...xn})}).catch(xn=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...yt,label:st.label,icon:st.icon})})})}else t(12,I=await Ce(yt,mt))}}}),t(39,R=de.getSideNavAccordionMode(k)))}},r=zt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:v}=e,{virtualGroupPrefix:m=de.virtualGroupPrefix}=e,{isSemiCollapsed:w}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:R}=e,{burgerTooltip:D}=e,{navHeader:I}=e,{navParentNode:U}=e,B,L,K,G=gt("store"),x=gt("getTranslation");bi(i,x,se=>t(24,n=se));let ee=!1;const Q=se=>de.getNodeLabel(se),Y=async()=>{const se=l.get(),Ae=await Vt.getLeftNavData({...se},se);Ae&&(l.set(Ae),L=p,window.LEFTNAVDATA=Ae.children)};Yt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ee=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,K=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=de.loadExpandedCategories()),fn.doOnStoreChange(G,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),fn.doOnStoreChange(G,()=>{Y()},["navigation.viewgroupdata"]);let se=hi.initial();t(6,w=se.isSemiCollapsed),t(38,g=se.semiCollapsible),hi.onValueChanged(Ae=>{t(6,w=Ae.isSemiCollapsed)}),In.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&Y()})}),Un(()=>{(!L||L!=p)&&Y(),t(22,K=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=de.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function J(se){return de.renderIconClassName(se)}function we(se){return de.isOpenUIiconName(se)}function ie(se){return pe.getNodeHref(se,v)}function oe(se,Ae){return se&&se.testId?se.testId:de.prepareForTests(Ae||se.label)}async function Ce(se,Ae){const st=pe.mapPathToNode(xe.getCurrentPath(),Ae),mt=(await Vt.extractDataFromPath(st)).pathData.pathParams;return pe.substituteDynamicParamsInObject(se,mt)}function ue(se,Ae){return de.generateTooltipText(se,Ae)}function Ie(se){r("handleClick",{node:se})}function Fe(se,Ae){if(hi.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(se.metaInfo&&se.metaInfo.label?st=se.metaInfo.label:st=se.category&&se.category.label||se.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===y){t(8,y=hi.closePopupMenu(y));return}t(8,y=st),ne(Ae)}}function ne(se){const Ae=se.closest(".fd-nested-list__item"),st=Ae.offsetTop,yt=oi.getShellbar().offsetHeight;let mt;oi.isCustomLuigiContainer()?mt=oi.getCustomLuigiContainer().clientHeight:mt=window.innerHeight,setTimeout(()=>{const sn=Ae.getElementsByClassName("lui-flyout-sublist")[0],Tn=se.closest(".lui-fd-side-nav-wrapper").scrollTop,$n=st+yt-Tn,xn=mt-st-Ae.offsetHeight+Tn-yt;$n+sn.offsetHeight>=mt?(sn.style.bottom=xn+"px",sn.className+=" has-bottom-position"):sn.style.top=$n-yt+"px"})}function te(){if(g){let se=hi.onResize(y);t(6,w=se.isSemiCollapsed),t(8,y=se.selectedCategory)}}function be(se){if(se.code==="ArrowRight"){const st=Le.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function je(se){let Ae=U?U.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'),p_.navigate("/")}function Qe(se,Ae){hi.getCollapsed()||t(9,N=de.storeExpandedState(se.metaInfo.categoryUid,Ae,R))}function me(){t(8,y=hi.closePopupMenu(y))}function Ge(se){se&&se.code==="Escape"&&me()}function ct(){t(6,w=hi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),vi()}function _n(se){const Ae=se.code;(Ae==="Enter"||Ae==="Space")&&ct()}function vt(se,Ae){(se.code==="Enter"||se==="Space")&&Fe(Ae,se.currentTarget)}function Ht(se,Ae){se.keyCode===mi&&de.handleNavAnchorClickedWithoutMetaKey(se)&&Ie(Ae)}function vi(){if(!de.getBurgerTooltipConfig())return;const[se,Ae]=de.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");se&&Ae&&st&&t(11,D=document.body.classList.contains("semiCollapsed")?se:Ae)}function Ot(se,Ae){return Sn(se,Ae)?se.metaInfo.titleCollapseButton?n(se.metaInfo.titleCollapseButton):void 0:se.metaInfo.titleExpandButton?n(se.metaInfo.titleExpandButton):void 0}const Fi=(se,Ae)=>{de.handleNavAnchorClickedWithoutMetaKey(Ae)&&Ie(se)},fl=(se,Ae)=>Ht(Ae,se),wt=se=>Qe(se,!Sn(se,N)),Zt=se=>Qe(se,!Sn(se,N)),Zn=(se,Ae)=>vt(Ae,se),Xn=(se,Ae)=>{de.handleNavAnchorClickedWithoutMetaKey(Ae)&&Ie(se)},pn=(se,Ae)=>Ht(Ae,se),Xt=(se,Ae)=>{de.handleNavAnchorClickedWithoutMetaKey(Ae)&&Ie(se)},cl=(se,Ae)=>Ht(Ae,se),Gt=se=>Fe(se,event.currentTarget),tn=(se,Ae)=>{de.handleNavAnchorClickedWithoutMetaKey(Ae)&&Ie(se)},wi=(se,Ae)=>Ht(Ae,se),Si=se=>ct(),cn=se=>ct(),Ci=se=>_n(se);return i.$$set=se=>{"children"in se&&t(0,s=se.children),"hideNavComponent"in se&&t(1,o=se.hideNavComponent),"footerText"in se&&t(2,c=se.footerText),"semiCollapsible"in se&&t(38,g=se.semiCollapsible),"semiCollapsibleButton"in se&&t(3,h=se.semiCollapsibleButton),"semiCollapsibleButtonStyle"in se&&t(4,_=se.semiCollapsibleButtonStyle),"pathData"in se&&t(5,p=se.pathData),"pathParams"in se&&t(41,v=se.pathParams),"virtualGroupPrefix"in se&&t(14,m=se.virtualGroupPrefix),"isSemiCollapsed"in se&&t(6,w=se.isSemiCollapsed),"selectedNode"in se&&t(7,k=se.selectedNode),"selectedCategory"in se&&t(8,y=se.selectedCategory),"expandedCategories"in se&&t(9,N=se.expandedCategories),"hasCategoriesWithIcon"in se&&t(10,T=se.hasCategoriesWithIcon),"sideNavAccordionMode"in se&&t(39,R=se.sideNavAccordionMode),"burgerTooltip"in se&&t(11,D=se.burgerTooltip),"navHeader"in se&&t(12,I=se.navHeader),"navParentNode"in se&&t(40,U=se.navParentNode),"sortedChildrenEntries"in se&&t(13,j=se.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const se=Object.entries(s);se.sort((Ae,st)=>Ae[1].metaInfo.order-st[1].metaInfo.order),t(13,j=se)}},[s,o,c,h,_,p,w,k,y,N,T,D,I,j,m,Ie,Fe,te,be,je,Qe,me,K,ee,n,x,Q,J,we,ie,oe,ue,Ge,ct,_n,vt,Ht,Ot,g,R,U,v,ne,Fi,fl,wt,Zt,Zn,Xn,pn,Xt,cl,Gt,tn,wi,Si,cn,Ci]}class y2 extends Rt{constructor(e){super(),Et(this,e,k2,S2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:38,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:41,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:39,burgerTooltip:11,navHeader:12,navParentNode:40,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:42,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[42]}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 P2=i=>{fn.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||""})),w_(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!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"])},N2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),w_=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||!N2(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=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function rd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function sd(i,e,t){const n=i.slice();return n[43]=e[t],n}function I2(i){let e,t,n,l,r=i[1]&&ad(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ad(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-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function T2(i){let e,t,n,l,r=i[1]&&od(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=od(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-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function ad(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function od(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function ud(i){let e,t;function n(o,c){return o[3]?L2:A2}let l=n(i),r=l(i),s=i[10]&&vd(i);return{c(){r.c(),e=z(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=vd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}function L2(i){let e,t,n,l,r,s,o,c,g,h;function _(k,y){return k[12]?R2:E2}let p=_(i),v=p(i),m=i[4]&&i[5]&&_d(i),w=i[7]&&i[7].length>0&&pd(i);return{c(){e=C("div"),t=C("div"),v.c(),n=z(),l=C("div"),r=C("nav"),s=C("ul"),m&&m.c(),o=z(),w&&w.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(k,y){E(k,e,y),S(e,t),v.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),m&&m.m(s,null),S(s,o),w&&w.m(s,null),i[36](s),g||(h=ae(t,"click",Bt(U2)),g=!0)},p(k,y){p===(p=_(k))&&v?v.p(k,y):(v.d(1),v=p(k),v&&(v.c(),v.m(t,null))),k[4]&&k[5]?m?m.p(k,y):(m=_d(k),m.c(),m.m(s,o)):m&&(m.d(1),m=null),k[7]&&k[7].length>0?w?w.p(k,y):(w=pd(k),w.c(),w.m(s,null)):w&&(w.d(1),w=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&A(e),v.d(),m&&m.d(),w&&w.d(),i[36](null),g=!1,h()}}}function A2(i){let e;function t(r,s){return r[12]?O2:M2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(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&&A(e)}}}function E2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ne(n),r=z(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,_){E(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Bt(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&&A(e),c=!1,g()}}}function R2(i){let e,t,n,l=i[7]&&i[7].length===1&&fd(i),r=i[7]&&i[7].length>1&&cd(i),s=i[7].length>1&&!i[5]&&gd(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=z(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),s&&s.m(o,c),E(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=fd(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=cd(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=gd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&A(e),r&&r.d(o),o&&A(t),s&&s.d(o),o&&A(n)}}}function fd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("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-bbvnsa")},m(s,o){E(s,e,o),S(e,t),S(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&&A(e)}}}function cd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=hd(sd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=sd(l,t,s);n[s]?n[s].p(o,r):(n[s]=hd(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){dt(n,l),l&&A(e)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=z(),s=C("i"),o=z(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,v){E(p,e,v),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Mt(i[32])),h=!0)},p(p,v){v[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),v[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),v[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function hd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&dd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(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=dd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function gd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=z(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),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,_){E(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(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&&A(e),c=!1,g()}}}function _d(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=C("li"),t=C("a"),n=C("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){E(g,e,h),S(e,t),S(t,n),S(n,r),o||(c=ae(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&&A(e),o=!1,c()}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=rd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(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){dt(n,l),l&&A(e)}}}function D2(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=C("li"),t=C("a"),n=C("span"),r=Ne(l),c=z(),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,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(e,c),g||(h=ae(t,"click",_),g=!0)},p(p,v){i=p,v[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),v[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),v[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function V2(i){let e,t=i[16]&&md(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=md(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function md(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new cr(!1),l=z(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){E(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function bd(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 V2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return D2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),E(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&&A(n)}}}function M2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&A(e),r=!1,s()}}}function O2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){E(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&A(e),r=!1,s()}}}function vd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&A(e)}}}function F2(i){let e,t;function n(o,c){return o[12]?T2:I2}let l=n(i),r=l(i),s=i[2]&&ud(i);return{c(){r.c(),e=z(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=ud(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Oe,o:Oe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const U2=()=>{};function B2(i,e,t){let n;const l=zt();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:v}=e,{itemRenderer:m}=e,{pathParams:w}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:N}=e,{addNavHrefForAnchor:T}=e,R,D,I=gt("getUnsavedChangesModalPromise"),U=gt("getTranslation");bi(i,U,me=>t(17,n=me));let B=gt("store");const L={closeDropDown:()=>{Y("appSwitcherPopover")}},K=()=>({get:()=>({pathData:N,pathParams:w,appSwitcherItems:v,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:me=>{me&&Object.getOwnPropertyNames(me).forEach(Ge=>{Ge==="pathData"?t(24,N=me.pathData):Ge==="appSwitcherItems"?t(7,v=me.appSwitcherItems):Ge==="itemRenderer"?t(8,m=me.itemRenderer):Ge==="pathParams"?t(9,w=me.pathParams):Ge==="selectedItem"?t(5,_=me.selectedItem):Ge==="title"?t(2,o=me.title):Ge==="defaultSubTitle"?t(23,y=me.defaultSubTitle):Ge==="subTitle"?t(10,k=me.subTitle):Ge==="defaultTitle"?t(6,p=me.defaultTitle):Ge==="subTitle"?t(10,k=me.subTitle):Ge==="showMainAppEntry"?t(4,h=me.showMainAppEntry):Ge==="hasApps"?t(3,c=me.hasApps):Ge==="hasLogo"&&t(1,s=me.hasLogo)})},store:B});Yt(()=>{P2(K())}),Un(()=>{(!D||D!=N)&&(w_(K()),D=N)});function G(me,Ge,ct){return setTimeout(()=>{Ge&&m(me,Ge.children[ct],L)}),""}function x(me){I().then(()=>{xe.navigateTo(pe.applyPathParams(me,w))},()=>{})}function ee(){I().then(()=>{xe.navigateTo("/")},()=>{})}function Q(me){l("handleClick",{node:me}),Y("appSwitcherPopover")}function Y(me){l("toggleDropdownState",{name:me})}function j(me){return me.testId?me.testId:de.prepareForTests(me.title||me)}function J(me,Ge){if(me.link){const ct=pe.applyPathParams(me.link,Ge);if(ct.indexOf(":")!==0&&ct.indexOf("/:")===-1)return!0}return!1}function we(me){return pe.getNodeHref(me)}function ie(me){tt[me?"unshift":"push"](()=>{r=me,t(0,r)})}const oe=me=>{de.handleNavAnchorClickedWithoutMetaKey(me)&&x("/")};function Ce(me){tt[me?"unshift":"push"](()=>{r=me,t(0,r)})}const ue=()=>x("/"),Ie=me=>{de.handleNavAnchorClickedWithoutMetaKey(me)&&x("/")},Fe=()=>x("/"),ne=()=>Y("appSwitcherPopover"),te=()=>Y("appSwitcherPopover"),be=()=>Y("appSwitcherPopover"),je=(me,Ge)=>{de.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(me.link)};function Qe(me){tt[me?"unshift":"push"](()=>{R=me,t(16,R)})}return i.$$set=me=>{"logo"in me&&t(0,r=me.logo),"hasLogo"in me&&t(1,s=me.hasLogo),"title"in me&&t(2,o=me.title),"hasApps"in me&&t(3,c=me.hasApps),"dropDownStates"in me&&t(11,g=me.dropDownStates),"showMainAppEntry"in me&&t(4,h=me.showMainAppEntry),"selectedItem"in me&&t(5,_=me.selectedItem),"defaultTitle"in me&&t(6,p=me.defaultTitle),"appSwitcherItems"in me&&t(7,v=me.appSwitcherItems),"itemRenderer"in me&&t(8,m=me.itemRenderer),"pathParams"in me&&t(9,w=me.pathParams),"subTitle"in me&&t(10,k=me.subTitle),"defaultSubTitle"in me&&t(23,y=me.defaultSubTitle),"pathData"in me&&t(24,N=me.pathData),"addNavHrefForAnchor"in me&&t(12,T=me.addNavHrefForAnchor)},[r,s,o,c,h,_,p,v,m,w,k,g,T,x,ee,Y,R,n,U,G,j,J,we,y,N,Q,ie,oe,Ce,ue,Ie,Fe,ne,te,be,je,Qe]}class H2 extends Rt{constructor(e){super(),Et(this,e,B2,F2,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 wd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Sd(i){let e,t,n,l,r,s,o=i[0]&&Cd(i),c=(i[10]||i[11])&&Ld(i);return{c(){e=C("div"),o&&o.c(),t=z(),n=C("div"),l=C("div"),r=C("div"),s=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),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){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(g,n,h),S(n,l),S(l,r),S(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Cd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Ld(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&A(e),o&&o.d(),g&&A(t),g&&A(n),c&&c.d()}}}function Cd(i){let e,t,n,l,r,s,o;function c(k,y){return k[7].picture?z2:W2}let g=c(i),h=g(i),_=i[7].name&&kd(i),p=i[7].description&&yd(i),v=i[9].items,m=[];for(let k=0;k<v.length;k+=1)m[k]=Nd(wd(i,v,k));let w=i[12]&&Id(i);return{c(){e=C("div"),h.c(),t=z(),n=C("div"),_&&_.c(),l=z(),p&&p.c(),r=z(),s=C("ul");for(let k=0;k<m.length;k+=1)m[k].c();o=z(),w&&w.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")},m(k,y){E(k,e,y),h.m(e,null),E(k,t,y),E(k,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),E(k,r,y),E(k,s,y);for(let N=0;N<m.length;N+=1)m[N].m(s,null);S(s,o),w&&w.m(s,null)},p(k,y){if(g===(g=c(k))&&h?h.p(k,y):(h.d(1),h=g(k),h&&(h.c(),h.m(e,null))),k[7].name?_?_.p(k,y):(_=kd(k),_.c(),_.m(n,l)):_&&(_.d(1),_=null),k[7].description?p?p.p(k,y):(p=yd(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){v=k[9].items;let N;for(N=0;N<v.length;N+=1){const T=wd(k,v,N);m[N]?m[N].p(T,y):(m[N]=Nd(T),m[N].c(),m[N].m(s,o))}for(;N<m.length;N+=1)m[N].d(1);m.length=v.length}k[12]?w?w.p(k,y):(w=Id(k),w.c(),w.m(s,null)):w&&(w.d(1),w=null)},d(k){k&&A(e),h.d(),k&&A(t),k&&A(n),_&&_.d(),p&&p.d(),k&&A(r),k&&A(s),dt(m,k),w&&w.d()}}}function W2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("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){E(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&A(e)}}}function z2(i){let e;return{c(){e=C("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"),ai(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&ai(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function kd(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&A(e)}}}function yd(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&A(e)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?G2:q2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function q2(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),ai(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&ai(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&&A(e)}}}function G2(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&A(e)}}}function Nd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Pd(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=z(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(v,m){E(v,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(v,m){i=v,i[34].icon?_?_.p(i,m):(_=Pd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(v){v&&A(e),_&&_.d(),g=!1,Ze(h)}}}function Id(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Td(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=z(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){E(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(c=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Td(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&&A(e),g&&g.d(),o=!1,Ze(c)}}}function Td(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?j2:K2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function K2(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function j2(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ld(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ad(i),l=i[10]&&!i[8]&&Ed(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ad(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ed(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Ad(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=C("div"),t=C("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){E(c,e,g),S(e,t),S(t,l),s||(o=ae(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&&A(e),s=!1,o()}}}function Ed(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=z(),n=C("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){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Oe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Ze(r)}}}function J2(i){let e,t=!i[1]&&Sd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e))},i:Oe,o:Oe,d(n){t&&t.d(n),n&&A(e)}}}function Y2(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,v,m,w=gt("store"),k=gt("getTranslation");bi(i,k,ie=>t(13,n=ie));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");Yt(async()=>{_i.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),L()),B(),rn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),rn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){rn.startAuthorization()}function R(ie){return de.renderIconClassName(ie)}function D(ie){return de.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:de.prepareForTests(ie.label)}function U(ie){return pe.getNodeHref(ie)}function B(){v||(fn.doOnStoreChange(w,async()=>{const ie=await re.getConfigValueAsync("navigation.profile.logout"),oe=await re.getConfigValueAsync("userSettings"),Ce=oe||await re.getConfigValueAsync("settings.userSettings"),ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Ce){const Ie=Ce.userSettingsProfileMenuEntry;ue.settings={...al.userSettingsProfileMenuEntry,...Ie}}ue.logout={...al.logout,...ie},t(11,_=!!ie),m=!1,rn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,rn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=ue),t(12,p=!!Ce)},["navigation.profile"]),v=!0)}async function L(){const ie=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(rn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function K(ie){y().then(()=>{if(ie.openNodeInModal){const oe=pe.buildRoute(ie,`${ie.link}`);N(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else xe.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?ee():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){Zr.openUserSettings(),l("toggleDropdownState")}function ee(){rn.logout()}function Q({keyCode:ie}){(ie===mi||ie===Yr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:Y}=e;const j=ie=>{de.handleNavAnchorClickedWithoutMetaKey(ie)},J=ie=>K(ie),we=ie=>Q(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,s=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,Y=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Y=!!(o&&(o.name||o.email)))},[Y,r,s,K,G,x,Q,o,c,g,h,_,p,n,k,T,R,D,I,U,B,L,ee,j,J,we]}class Q2 extends Rt{constructor(e){super(),Et(this,e,Y2,J2,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 Rd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Dd(i){let e,t,n,l,r,s=i[0]&&Vd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Od(Rd(i,o,_));let g=i[12]&&Fd(i),h=(i[10]||i[11])&&Bd(i);return{c(){e=C("nav"),t=C("ul"),s&&s.c(),n=z();for(let _=0;_<c.length;_+=1)c[_].c();l=z(),g&&g.c(),r=z(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){E(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let v=0;v<c.length;v+=1)c[v].m(t,null);S(t,l),g&&g.m(t,null),S(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Vd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let v;for(v=0;v<o.length;v+=1){const m=Rd(_,o,v);c[v]?c[v].p(m,p):(c[v]=Od(m),c[v].c(),c[v].m(t,l))}for(;v<c.length;v+=1)c[v].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Fd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),dt(c,_),g&&g.d(),h&&h.d()}}}function Vd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){E(r,e,s),S(e,t),S(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&&A(e)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?X2:Z2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function Z2(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function X2(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Od(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Md(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=z(),l=C("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(v,m){E(v,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(v,m){i=v,i[34].icon?_?_.p(i,m):(_=Md(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(v){v&&A(e),_&&_.d(),g=!1,Ze(h)}}}function Fd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Ud(i);return{c(){e=C("li"),t=C("a"),h&&h.c(),n=z(),l=C("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){E(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Ud(_),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(_){_&&A(e),h&&h.d(),c=!1,Ze(g)}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?x2:$2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function $2(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function x2(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Bd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Hd(i),l=i[10]&&!i[8]&&zd(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Hd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=zd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Wd(i);return{c(){e=C("li"),t=C("button"),h&&h.c(),n=z(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){E(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=ae(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Wd(_),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(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?tC:eC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function eC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function zd(i){let e,t,n;return{c(){e=C("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){E(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Oe,d(l){l&&A(e),t=!1,n()}}}function nC(i){let e,t=!i[1]&&Dd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Dd(n),t.c(),t.m(e.parentNode,e))},i:Oe,o:Oe,d(n){t&&t.d(n),n&&A(e)}}}function iC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,v,m,w=gt("store"),k=gt("getTranslation");bi(i,k,ie=>t(13,n=ie));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");Yt(async()=>{_i.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),L()),B(),rn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),rn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){rn.startAuthorization()}function R(ie){return de.renderIconClassName(ie)}function D(ie){return de.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:de.prepareForTests(ie.label)}function U(ie){return pe.getNodeHref(ie)}function B(){v||(fn.doOnStoreChange(w,async()=>{const ie=await re.getConfigValueAsync("navigation.profile.logout"),oe=await re.getConfigValueAsync("userSettings"),Ce=oe||await re.getConfigValueAsync("settings.userSettings");t(12,p=!!Ce);const ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=Ce.userSettingsProfileMenuEntry;ue.settings={...al.userSettingsProfileMenuEntry,...Ie}}ue.logout={...al.logout,...ie},t(11,_=!!ie),m=!1,rn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,rn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=ue)},["navigation.profile"]),v=!0)}async function L(){const ie=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(rn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function K(ie){y().then(()=>{if(ie.openNodeInModal){const oe=pe.buildRoute(ie,`${ie.link}`);N(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else xe.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?ee():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){Zr.openUserSettings(),l("toggleDropdownState")}function ee(){rn.logout()}function Q({keyCode:ie}){(ie===mi||ie===Yr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:Y}=e;const j=ie=>{de.handleNavAnchorClickedWithoutMetaKey(ie)},J=ie=>K(ie),we=ie=>Q(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,s=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,Y=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Y=!!(o&&(o.name||o.email)))},[Y,r,s,K,G,x,Q,o,c,g,h,_,p,n,k,T,R,D,I,U,B,L,ee,j,J,we]}class S_ extends Rt{constructor(e){super(),Et(this,e,iC,nC,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 qd(i,e,t){const n=i.slice();return n[11]=e[t],n}function Gd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jd(qd(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&254){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=qd(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=Jd(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function Kd(i){let e,t,n,l,r,s,o,c,g=i[3](i[11])+"",h,_,p=i[4](i[11]),v,m,w,k,y,N;function T(B,L){return L&6&&(n=null),n==null&&(n=!!B[2](B[11])),n?rC:lC}let R=T(i,-1),D=R(i);r=new Qn({props:{node:i[11]}});let I=p&&jd(i);function U(){return i[9](i[11])}return{c(){e=C("li"),t=C("div"),D.c(),l=z(),We(r.$$.fragment),s=z(),o=C("div"),c=C("div"),h=Ne(g),_=z(),I&&I.c(),v=z(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",w=de.getTestId(i[11]))},m(B,L){E(B,e,L),S(e,t),D.m(t,null),S(t,l),Be(r,t,null),S(e,s),S(e,o),S(o,c),S(c,h),S(o,_),I&&I.m(o,null),S(e,v),k=!0,y||(N=ae(e,"click",U),y=!0)},p(B,L){i=B,R===(R=T(i,L))&&D?D.p(i,L):(D.d(1),D=R(i),D&&(D.c(),D.m(t,l)));const K={};L&2&&(K.node=i[11]),r.$set(K),(!k||L&10)&&g!==(g=i[3](i[11])+"")&&Te(h,g),L&18&&(p=i[4](i[11])),p?I?I.p(i,L):(I=jd(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!k||L&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!k||L&2&&w!==(w=de.getTestId(i[11])))&&f(e,"data-testid",w)},i(B){k||(O(r.$$.fragment,B),k=!0)},o(B){W(r.$$.fragment,B),k=!1},d(B){B&&A(e),D.d(),He(r),I&&I.d(),y=!1,N()}}}function lC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){E(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function rC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){E(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&A(e)}}}function jd(i){let e,t=i[4](i[11])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Te(n,t)},d(l){l&&A(e)}}}function Jd(i){let e,t,n=i[11].label&&Kd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&O(n,1)):(n=Kd(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y,N,T,R=i[1]&&Gd(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),o=Ne(i[0]),c=z(),g=C("div"),h=C("div"),_=C("ul"),R&&R.c(),p=z(),v=C("footer"),m=C("div"),w=C("div"),k=C("button"),k.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-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(w,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(v,"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(D,I){E(D,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,c),S(t,g),S(g,h),S(h,_),R&&R.m(_,null),S(t,p),S(t,v),S(v,m),S(m,w),S(w,k),y=!0,N||(T=[ae(k,"click",i[8]),ae(e,"click",Bt(aC))],N=!0)},p(D,[I]){(!y||I&1)&&Te(o,D[0]),D[1]?R?(R.p(D,I),I&2&&O(R,1)):(R=Gd(D),R.c(),O(R,1),R.m(_,null)):R&&(ye(),W(R,1,1,()=>{R=null}),Pe())},i(D){y||(O(R),y=!0)},o(D){W(R),y=!1},d(D){D&&A(e),R&&R.d(),N=!1,Ze(T)}}}const aC=()=>{};function oC(i,e,t){const n=zt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:s}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function h(m){return de.renderIconClassName(m)}function _(m){n("listClick",m)}function p(m){Ll.call(this,i,m)}const v=m=>_(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,s=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,r,s,o,c,g,_,h,p,v]}class C_ extends Rt{constructor(e){super(),Et(this,e,oC,sC,Tt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:uC}=ul;function Yd(i,e,t){const n=i.slice();return n[7]=e[t],n}function Qd(i){let e,t,n,l=i[0]&&Zd(i);return{c(){e=C("nav"),t=C("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){E(r,e,s),S(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&O(l,1)):(l=Zd(r),l.c(),O(l,1),l.m(t,null)):l&&(ye(),W(l,1,1,()=>{l=null}),Pe())},i(r){n||(O(l),n=!0)},o(r){W(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Zd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=$d(Yd(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&7693){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=$d(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[11](i[7])+"",h,_,p,v,m,w,k;function y(D,I){return I&1&&(l=null),l==null&&(l=!!(D[7].icon&&D[9](D[7]))),l?cC:fC}let N=y(i,-1),T=N(i);s=new Qn({props:{node:i[7]}});function R(){return i[14](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),T.c(),r=z(),We(s.$$.fragment),o=z(),c=C("span"),h=Ne(g),p=z(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",v=de.getTestId(i[7]))},m(D,I){E(D,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,p),m=!0,w||(k=[ae(t,"click",i[13]),ae(e,"click",R)],w=!0)},p(D,I){i=D,N===(N=y(i,I))&&T?T.p(i,I):(T.d(1),T=N(i),T&&(T.c(),T.m(n,r)));const U={};I&1&&(U.node=i[7]),s.$set(U),(!m||I&1)&&g!==(g=i[11](i[7])+"")&&Te(h,g),(!m||I&5&&_!==(_=i[2]?i[12](i[7]):void 0))&&f(t,"href",_),(!m||I&1&&v!==(v=de.getTestId(i[7])))&&f(e,"data-testid",v)},i(D){m||(O(s.$$.fragment,D),m=!0)},o(D){W(s.$$.fragment,D),m=!1},d(D){D&&A(e),T.d(),He(s),w=!1,Ze(k)}}}function fC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1811tf3"),it(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function cC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function $d(i){let e,t,n=i[7].label&&Xd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&O(n,1)):(n=Xd(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function xd(i){let e,t;return e=new C_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function dC(i){let e,t,n,l,r,s=!i[1]&&Qd(i),o=i[1]&&xd(i);return{c(){s&&s.c(),e=z(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),E(c,e,g),o&&o.m(c,g),E(c,t,g),n=!0,l||(r=ae(uC,"resize",aa),l=!0)},p(c,[g]){c[1]?s&&(ye(),W(s,1,1,()=>{s=null}),Pe()):s?(s.p(c,g),g&2&&O(s,1)):(s=Qd(c),s.c(),O(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&O(o,1)):(o=xd(c),o.c(),O(o,1),o.m(t.parentNode,t)):o&&(ye(),W(o,1,1,()=>{o=null}),Pe())},i(c){n||(O(s),O(o),n=!0)},o(c){W(s),W(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function hC(i,e,t){const n=zt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=gt("getUnsavedChangesModalPromise"),g=gt("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:I=>{}});Yt(async()=>{aa()}),Un(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function v(I){c().then(()=>{if(I.openNodeInModal){const U=pe.buildRoute(I,`/${I.pathSegment}`);g(U,I.openNodeInModal===!0?{}:I.openNodeInModal)}else xe.handleRouteClick(I,p())},()=>{}),w()}function m(I){v(I.detail)}function w(){n("close")}function k(I){return de.isOpenUIiconName(I.icon)}function y(I){return de.renderIconClassName(I)}function N(I){return pt.getTranslation(I.label)}function T(I){return pe.getNodeHref(I,o)}const R=I=>{de.handleNavAnchorClickedWithoutMetaKey(I)},D=I=>v(I);return i.$$set=I=>{"isMobile"in I&&t(1,l=I.isMobile),"children"in I&&t(0,r=I.children),"node"in I&&t(7,s=I.node),"addNavHrefForAnchor"in I&&t(2,h=I.addNavHrefForAnchor)},[r,l,h,v,m,w,aa,s,_,k,y,N,T,R,D]}class k_ extends Rt{constructor(e){super(),Et(this,e,hC,dC,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return aa}}const gn={_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(xe.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!!(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=gn._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),!!gn.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=gn.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 gn.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 gn.generateSwitcherNav(e,t)}};function eh(i,e,t){const n=i.slice();return n[20]=e[t],n}function th(i,e,t){const n=i.slice();return n[20]=e[t],n}function nh(i,e,t){const n=i.slice();return n[20]=e[t],n}function ih(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh(nh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&10497){t=l[0];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]=rh(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&&A(e),dt(n,l)}}}function lh(i){let e,t,n,l=i[13](i[20].label)+"",r,s,o,c,g,h;function _(){return i[14](i[20])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=de.getTestId(i[20]))},m(p,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Mt(wC)),ae(e,"click",_)],g=!0)},p(p,v){i=p,v&8193&&l!==(l=i[13](i[20].label)+"")&&Te(r,l),v&257&&s!==(s=i[8](i[20]))&&f(t,"href",s),v&1&&c!==(c=de.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function rh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&lh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=lh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function sh(i){let e;return{c(){e=C("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){L(t,e,n)},d(t){t&&T(e)}}}function ah(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(th(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=th(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(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){dt(n,l),l&&T(e)}}}function gC(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function _C(i){let e,t,n,l,r;function s(h,_){return h[2]?mC:pC}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=C("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){L(h,e,_),c.m(e,null),L(h,n,_),l||(r=ae(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&&T(e),c.d(),h&&T(n),l=!1,r()}}}function pC(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("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,_){L(h,e,_),S(e,t),S(t,l),c||(g=ae(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ie(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&&T(e),c=!1,g()}}}function mC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function bC(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function oh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:bC,then:_C,catch:gC,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&na(t,n)||s_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(eh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let 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]=ch(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&&T(e),dt(n,l)}}}function fh(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=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=q(),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,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",i[18]),ae(e,"click",_)],g=!0)},p(p,w){i=p,w&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),w&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),w&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,Qe(h)}}}function ch(i){let e,t=i[21].position==="bottom"&&fh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=fh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function vC(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&ih(i),c=i[3]&&i[3].length===0&&i[11]&&sh(),g=i[3]&&i[3].length&&ah(i),h=i[0]&&i[0].length&&uh(i);return{c(){e=C("nav"),o&&o.c(),t=q(),n=C("ul"),c&&c.c(),l=q(),g&&g.c(),r=q(),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-3pems2")},m(_,p){L(_,e,p),o&&o.m(e,null),S(e,t),S(e,n),c&&c.m(n,null),S(n,l),g&&g.m(n,null),S(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=ih(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=sh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=ah(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=uh(_),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-3pems2")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&T(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const wC=()=>{};function SC(i,e,t){let n,l=Fe,r=()=>(l(),l=Ao(k,B=>t(14,n=B)),k);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:w}=e,{getRouteLink:m}=e,{getTestId:v}=e,{getTranslation:k}=e;r();let{isContextSwitcherDropdownShown:y}=e;const N=Ht();function I(B){N("onActionClick",{node:B})}function A(B,G){N("goToOption",{option:B,selectedOption:G})}const R=B=>I(B),E=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>A(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>I(B);return i.$$set=B=>{"actions"in B&&t(0,s=B.actions),"config"in B&&t(1,o=B.config),"customOptionsRenderer"in B&&t(2,c=B.customOptionsRenderer),"options"in B&&t(3,g=B.options),"selectedLabel"in B&&t(4,h=B.selectedLabel),"selectedOption"in B&&t(5,_=B.selectedOption),"isMobile"in B&&t(6,p=B.isMobile),"getNodeName"in B&&t(7,w=B.getNodeName),"getRouteLink"in B&&t(8,m=B.getRouteLink),"getTestId"in B&&t(9,v=B.getTestId),"getTranslation"in B&&r(t(10,k=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,y=B.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,w,m,v,k,y,I,A,n,R,E,O,H,F]}class y_ extends Rt{constructor(e){super(),Et(this,e,SC,vC,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 dh(i){let e,t,n,l=!i[9]&&hh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&gh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[9]?l&&(ye(),z(l,1,1,()=>{l=null}),Pe()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=hh(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=gh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function hh(i){let e,t,n,l,r,s,o,c,g,h;function _(m,v){return m[10]&&m[2]!==m[5].defaultLabel?kC:CC}let p=_(i),w=p(i);return s=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),w.c(),l=q(),r=C("div"),We(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),S(e,t),S(t,n),w.m(n,null),S(t,l),S(t,r),Be(s,r,null),c=!0,g||(h=ae(n,"click",Ut(DC)),g=!0)},p(m,v){p===(p=_(m))&&w?w.p(m,v):(w.d(1),w=p(m),w&&(w.c(),w.m(n,null)));const k={};v[0]&1&&(k.actions=m[0]),v[0]&32&&(k.config=m[5]),v[0]&64&&(k.customOptionsRenderer=m[6]),v[0]&2&&(k.options=m[1]),v[0]&16&&(k.selectedLabel=m[4]),v[0]&4&&(k.selectedOption=m[2]),v[0]&512&&(k.isMobile=m[9]),v[0]&16384&&(k.isContextSwitcherDropdownShown=m[14]),s.$set(k),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(M(s.$$.fragment,m),c=!0)},o(m){z(s.$$.fragment,m),c=!1},d(m){m&&T(e),w.d(),He(s),g=!1,h()}}}function CC(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?PC:yC}let c=o(i),g=c(i);return{c(){e=C("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-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){L(h,e,_),g.m(e,null),r||(s=ae(e,"click",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]&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&&T(e),g.d(),r=!1,s()}}}function kC(i){let e,t,n,l,r,s,o;function c(_,p){return _[2]&&_[7]?LC:TC}let g=c(i),h=g(i);return{c(){e=C("a"),h.c(),f(e,"href",t=i[2]?i[20](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){L(_,e,p),h.m(e,null),s||(o=ae(e,"click",Mt(i[29])),s=!0)},p(_,p){g===(g=c(_))&&h?h.p(_,p):(h.d(1),h=g(_),h&&(h.c(),h.m(e,null))),p[0]&4&&t!==(t=_[2]?_[20](_[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&T(e),h.d(),s=!1,o()}}}function yC(i){let e,t;function n(s,o){return s[4]?NC:IC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),L(s,e,o),L(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&&T(e),s&&T(t)}}}function PC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function NC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function IC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function TC(i){let e,t;function n(s,o){return s[4]?AC:EC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),L(s,e,o),L(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&&T(e),s&&T(t)}}}function LC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function AC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function EC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I=!i[4]&&_h(i),A=i[4]&&ph(i);return h=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[11]),h.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),I&&I.c(),o=q(),A&&A.c(),c=q(),g=C("div"),We(h.$$.fragment),_=q(),p=C("footer"),w=C("div"),m=C("div"),v=C("button"),v.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(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(w,"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(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),I&&I.m(s,null),S(s,o),A&&A.m(s,null),S(t,c),S(t,g),Be(h,g,null),S(t,_),S(t,p),S(p,w),S(w,m),S(m,v),k=!0,y||(N=[ae(v,"click",i[13]),ae(e,"click",Ut(VC))],y=!0)},p(R,E){R[4]?I&&(I.d(1),I=null):I?I.p(R,E):(I=_h(R),I.c(),I.m(s,o)),R[4]?A?A.p(R,E):(A=ph(R),A.c(),A.m(s,null)):A&&(A.d(1),A=null);const O={};E[0]&1&&(O.actions=R[0]),E[0]&32&&(O.config=R[5]),E[0]&64&&(O.customOptionsRenderer=R[6]),E[0]&2&&(O.options=R[1]),E[0]&16&&(O.selectedLabel=R[4]),E[0]&4&&(O.selectedOption=R[2]),E[0]&512&&(O.isMobile=R[9]),E[0]&16384&&(O.isContextSwitcherDropdownShown=R[14]),h.$set(O)},i(R){k||(M(h.$$.fragment,R),k=!0)},o(R){z(h.$$.fragment,R),k=!1},d(R){R&&T(e),I&&I.d(),A&&A.d(),He(h),y=!1,Qe(N)}}}function _h(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function ph(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function RC(i){let e,t,n=i[3]&&dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=dh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}const DC=()=>{},VC=()=>{};function MC(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:w}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:k}=e,{customSelectedOptionRenderer:y}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:A}=e,R,E=gt("getUnsavedChangesModalPromise"),O=gt("store"),H=gt("getTranslation");Si(i,H,ce=>t(16,l=ce));let F=!1,{addNavHrefForAnchor:B}=e,G;jt(async()=>{fn.doOnStoreChange(O,async()=>{const ce=se.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,k=le.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,y=le.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(28,p=ce.alwaysShowDropdown!==!1),t(0,h=await se.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=xe.getCurrentPath();t(21,m=ce.fallbackLabelResolver),gn.resetFallbackLabelCache(),ce.lazyloadOptions||await J(),gn.isContextSwitcherDetailsView(Re,ce.parentNodePath)&&await j(Re)}},["navigation.contextSwitcher"]),_e.addRouteChangeListener(ce=>j(ce)),Ln.addEventListener("message",ce=>{Te.getValidMessageSource(ce)&&ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),J())}),t(22,A=g.defaultLabel)}),Hn(()=>{F!==I&&(F=I,J()),t(14,G=o.contextSwitcherPopover||!1)});function ee(ce,Re,ne){return ce?Promise.resolve(ce):gn.getFallbackLabel(Re,ne)}function te(ce){return ce.testId?ce.testId:Se.prepareForTests(ce.pathSegment,ce.label)}function Z(ce){return _e.getNodeHref(ce,v)}async function J(){t(1,_=await gn.fetchOptions(_));const ce=g||{},Re=ce.parentNodePath,ne=ce.fallbackLabelResolver,x=xe.getCurrentPath();t(2,w=await gn.getSelectedOption(x,_,Re)),t(4,c=await gn.getSelectedLabel(x,_,Re,ne)),await gn.getSelectedNode(x,_,Re),R=ce.preserveSubPathOnSwitch}async function j(ce){const Re=g||{},ne=Re.parentNodePath,x=Re.fallbackLabelResolver;t(2,w=await gn.getSelectedOption(ce,_,ne)),t(4,c=await gn.getSelectedLabel(ce,_,ne,x)),await gn.getSelectedNode(ce,_,ne)}async function Y(ce){let Re=ce.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{be(Re.link)}),N&&r("toggleDropdownState"))}function be(ce){E().then(()=>{xe.navigateTo(ce)},()=>{})}function re(ce){let Re=ce.detail.option,ne=ce.detail.selectedOption;E().then(()=>{R&&ne?xe.navigateTo(gn.getNodePathFromCurrentPath(Re,ne)):xe.navigateTo(Re.link),N&&r("toggleDropdownState")},()=>{})}function oe(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&J()}const Ce=()=>{n&&oe()},De=()=>{n&&oe()};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,w=ce.selectedOption),"fallbackLabelResolver"in ce&&t(21,m=ce.fallbackLabelResolver),"pathParams"in ce&&t(23,v=ce.pathParams),"customOptionsRenderer"in ce&&t(6,k=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,y=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(24,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(22,A=ce.defaultLabel),"addNavHrefForAnchor"in ce&&t(10,B=ce.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||h&&h.length>0||_&&_.length>1||!w)},[h,_,w,s,c,g,k,y,o,N,B,Y,re,oe,G,n,l,H,ee,te,Z,m,A,v,I,J,j,be,p,Ce,De]}class P_ extends Rt{constructor(e){super(),Et(this,e,MC,RC,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:OC}=ul;function mh(i,e,t){const n=i.slice();return n[22]=e[t],n}function bh(i){let e,t,n,l=!i[2]&&vh(i),r=i[2]&&i[3].productSwitcherPopover&&yh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=vh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=yh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function vh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y;function N(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?UC:FC}let I=N(i,-1),A=I(i),R=i[0],E=[];for(let O=0;O<R.length;O+=1)E[O]=kh(mh(i,R,O));return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),A.c(),h=q(),_=C("div"),p=C("div"),w=C("ul");for(let O=0;O<E.length;O+=1)E[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(w,"class","fd-product-switch__list"),f(p,"class",m=$n(i[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!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,H){L(O,e,H),S(e,t),S(t,n),S(n,l),S(l,r),A.m(r,null),S(n,h),S(n,_),S(_,p),S(p,w);for(let F=0;F<E.length;F+=1)E[F].m(w,null);k||(y=[ae(r,"click",Ut(i[7])),ae(l,"click",Ut(jC))],k=!0)},p(O,H){if(I===(I=N(O,H))&&A?A.p(O,H):(A.d(1),A=I(O),A&&(A.c(),A.m(r,null))),H&8&&o!==(o=O[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),H&2&&c!==(c=O[1].label)&&f(r,"title",c),H&2&&g!==(g=O[14](O[1]))&&f(r,"data-testid",g),H&64561){R=O[0];let F;for(F=0;F<R.length;F+=1){const B=mh(O,R,F);E[F]?E[F].p(B,H):(E[F]=kh(B),E[F].c(),E[F].m(w,null))}for(;F<E.length;F+=1)E[F].d(1);E.length=R.length}H&512&&m!==(m=$n(O[9])+" svelte-156h3yc")&&f(p,"class",m),H&8&&v!==(v=!O[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(O){O&&T(e),A.d(),dt(E,O),k=!1,Qe(y)}}}function FC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function UC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function wh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?HC:BC}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=C("li"),g.c(),t=q(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){L(_,e,p),g.m(e,null),S(e,t),r||(s=ae(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(_){_&&T(e),g.d(),r=!1,s()}}}function BC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?zC:WC}let _=h(i,-1),p=_(i),w=g&&Sh(i);return{c(){e=C("div"),p.c(),n=q(),l=C("div"),r=C("div"),o=Ne(s),c=q(),w&&w.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),S(l,r),S(r,o),S(l,c),w&&w.m(l,null)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&s!==(s=m[12](m[22])+"")&&Ie(o,s),v&1&&(g=m[13](m[22])),g?w?w.p(m,v):(w=Sh(m),w.c(),w.m(l,null)):w&&(w.d(1),w=null)},d(m){m&&T(e),p.d(),m&&T(n),m&&T(l),w&&w.d()}}}function HC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,w;function m(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?GC:qC}let v=m(i,-1),k=v(i),y=h&&Ch(i);return{c(){e=C("a"),t=C("div"),k.c(),l=q(),r=C("div"),s=C("div"),c=Ne(o),g=q(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),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(N,I){L(N,e,I),S(e,t),k.m(t,null),S(e,l),S(e,r),S(r,s),S(s,c),S(r,g),y&&y.m(r,null),p||(w=ae(e,"click",i[16]),p=!0)},p(N,I){v===(v=m(N,I))&&k?k.p(N,I):(k.d(1),k=v(N),k&&(k.c(),k.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ie(c,o),I&1&&(h=N[13](N[22])),h?y?y.p(N,I):(y=Ch(N),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&T(e),k.d(),y&&y.d(),p=!1,w()}}}function WC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function zC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function qC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function GC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ch(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function kh(i){let e,t=i[22].label&&wh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=wh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function yh(i){let e,t;return e=new C_({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(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function KC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&bh(i);return{c(){s&&s.c(),t=ke()},m(o,c){s&&s.m(o,c),L(o,t,c),n=!0,l||(r=ae(OC,"resize",oa),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=bh(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(ye(),z(s,1,1,()=>{s=null}),Pe())},i(o){n||(M(s),n=!0)},o(o){z(s),n=!1},d(o){s&&s.d(o),o&&T(t),l=!1,r()}}}function oa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const jC=()=>{};function JC(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=gt("store"),g=gt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;jt(async()=>{fn.doOnStoreChange(c,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await se.getConfigValueAsync("navigation.productSwitcher.items")),I()),oa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{xe.navigateToLink(H)},()=>{}),m()}function w(H){p(H.detail)}function m(){n("toggleDropdownState")}function v(H){return Se.renderIconClassName(H)}function k(H){return Se.isOpenUIiconName(H.icon)}function y(H){return pt.getTranslation(H.label)}function N(H){return pt.getTranslation(H.subTitle)}function I(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function A(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function R(H){return _e.getNodeHref(H)}const E=H=>{Se.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>p(H);return i.$$set=H=>{"productSwitcherItems"in H&&t(0,l=H.productSwitcherItems),"isMobile"in H&&t(2,r=H.isMobile),"config"in H&&t(1,s=H.config),"dropDownStates"in H&&t(3,o=H.dropDownStates),"addNavHrefForAnchor"in H&&t(4,_=H.addNavHrefForAnchor)},[l,s,r,o,_,p,w,m,oa,h,v,k,y,N,A,R,E,O]}class N_ extends Rt{constructor(e){super(),Et(this,e,JC,KC,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 oa}}function Ph(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function YC(i){let e,t,n;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){L(l,e,r),i[18](e),e.focus(),t||(n=ae(e,"keyup",i[17]),t=!0)},p:Fe,d(l){l&&T(e),i[18](null),t=!1,n()}}}function QC(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){L(t,e,n),e.focus()},p:Fe,d(t){t&&T(e)}}}function ZC(i){let e;return{c(){e=C("div")},m(t,n){L(t,e,n),i[22](e)},p:Fe,d(t){t&&T(e),i[22](null)}}}function XC(i){let e,t,n,l=i[5]&&Nh(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu svelte-ethf4i"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-ethf4i"),f(e,"aria-hidden",n=!i[0])},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Nh(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&&T(e),l&&l.d()}}}function Nh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ih(Ph(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ph(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&&T(e),dt(n,l),i[21](null)}}}function $C(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function xC(i){let e,t,n,l=i[30].label+"",r,s,o,c=i[30].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=q(),o=C("div"),g=Ne(c),f(n,"class","fd-product-switch__title svelte-ethf4i"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-ethf4i")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(tk)),h=!0)},p(p,w){w[0]&32&&l!==(l=p[30].label+"")&&Ie(r,l),w[0]&32&&c!==(c=p[30].description+"")&&Ie(g,c)},d(p){p&&T(e),h=!1,_()}}}function Ih(i){let e,t,n,l;function r(h,_){return h[9]?$C:xC}let s=r(i),o=s(i);function c(...h){return i[19](i[30],...h)}function g(...h){return i[20](i[30],...h)}return{c(){e=C("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-ethf4i"),f(e,"tabindex","0")},m(h,_){L(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(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&&T(e),o.d(),n=!1,Qe(l)}}}function ek(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v;function k(E,O){return E[7]&&E[7].disableInputHandlers?QC:YC}let y=k(i),N=y(i);function I(E,O){return E[8]?ZC:XC}let A=I(i),R=A(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),N.c(),r=q(),R.c(),c=q(),g=C("div"),h=C("div"),_=C("button"),p=C("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-ethf4i"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-ethf4i"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i"),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",w=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(E,O){L(E,e,O),S(e,t),S(t,n),S(n,l),N.m(l,null),S(n,r),R.m(n,null),L(E,c,O),L(E,g,O),S(g,h),S(h,_),S(_,p),m||(v=[ae(window,"click",i[11]),ae(window,"blur",i[11]),ae(n,"click",Ut(nk)),ae(_,"click",i[6]),ae(h,"click",Ut(ik))],m=!0)},p(E,O){y===(y=k(E))&&N?N.p(E,O):(N.d(1),N=y(E),N&&(N.c(),N.m(l,null))),A===(A=I(E))&&R?R.p(E,O):(R.d(1),R=A(E),R&&(R.c(),R.m(n,null))),O[0]&16&&s!==(s=!E[4])&&f(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(E[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i")&&f(e,"class",o),O[0]&16&&w!==(w=!E[4])&&f(_,"aria-expanded",w)},i:Fe,o:Fe,d(E){E&&T(e),N.d(),R.d(),E&&T(c),E&&T(g),m=!1,Qe(v)}}}const tk=()=>{},nk=()=>{},ik=()=>{};function lk(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=Ht(),_={fireItemSelected:Y=>{p.searchProvider.onSearchResultItemSelected(Y)}};let p={},w,m;jt(async()=>{t(7,p=g);let Y=s;const be=k(p.searchProvider);be&&(Y.placeholder=be),v()}),Hn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,w=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function k(Y){if(!Y||!Y.inputPlaceholder)return;const be=pt.getCurrentLocale();if(le.isFunction(Y.inputPlaceholder))return Y.inputPlaceholder();if(typeof Y.inputPlaceholder=="string"){const re=pt.getTranslation(Y.inputPlaceholder);return re&&re.trim().length>0?re:Y.inputPlaceholder}if(typeof Y.inputPlaceholder=="object")return Y.inputPlaceholder[be]}function y(Y,be,re){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(Y,be.children[re],_)}),""}function N(){h("closeSearchResult")}function I({keyCode:Y}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&Y===wi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&Y===vi?p.searchProvider.onEscape():Y===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(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function A(Y){let be=c.children;if(be)for(let re=0;re<be.length;re++){let{childNodes:oe,nextSibling:Ce,previousSibling:De}=be[re],ce;if(oe[0].getAttribute("aria-selected")==="true"){Y===Oi&&(ce=Ce!==null?Ce:be[0]),Y===El&&(ce=De!==null?De:be[be.length-1]),oe[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function R(){let Y=c.children;if(Y)for(let be=0;be<Y.length;be++){let re=Y[be];re.childNodes[0].getAttribute("aria-selected")==="true"&&re.childNodes[0].setAttribute("aria-selected","false")}}function E(Y){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(Y):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===vi&&p.searchProvider.onEscape()}function O(Y,{keyCode:be}){be===wi&&p.searchProvider.onSearchResultItemSelected(Y),be===El||be===Oi?A(be):le.isFunction(p.searchProvider.onEscape)&&be===vi&&(R(),setTimeout(()=>{s.focus()}),p.searchProvider.onEscape())}function H(Y){let be=Y.pathObject;be.externalLink?xe.navigateToLink(be):h("handleSearchNavigation",{node:be})}function F(){s&&s.focus()}function B(){if(n?t(0,r=!1):setTimeout(()=>{F()}),h("toggleSearch",{isSearchFieldVisible:n,inputElem:s,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const Y=n===void 0?!0:!n;p.searchProvider.toggleSearch(s,Y)}}const G=Y=>I(Y);function ee(Y){tt[Y?"unshift":"push"](()=>{s=Y,t(1,s)})}const te=(Y,be)=>E(Y),Z=(Y,be)=>O(Y,be);function J(Y){tt[Y?"unshift":"push"](()=>{c=Y,t(3,c)})}function j(Y){tt[Y?"unshift":"push"](()=>{o=Y,t(2,o)})}return i.$$set=Y=>{"isSearchFieldVisible"in Y&&t(4,n=Y.isSearchFieldVisible),"searchResult"in Y&&t(5,l=Y.searchResult),"displaySearchResult"in Y&&t(0,r=Y.displaySearchResult),"inputElem"in Y&&t(1,s=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(2,o=Y.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in Y&&t(3,c=Y.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in Y&&t(15,g=Y.globalSearchConfig)},[r,s,o,c,n,l,B,p,w,m,y,N,I,E,O,g,H,G,ee,te,Z,J,j]}class rk extends Rt{constructor(e){super(),Et(this,e,lk,ek,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function Th(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function sk(i){let e,t,n,l,r,s,o,c=i[11]&&Lh(i);return{c(){e=C("input"),t=q(),n=C("span"),c&&c.c(),l=q(),r=C("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-y7ufaq"),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-y7ufaq"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-y7ufaq")},m(g,h){L(g,e,h),i[25](e),L(g,t,h),L(g,n,h),c&&c.m(n,null),S(n,l),S(n,r),s||(o=[ae(e,"keyup",i[24]),ae(e,"input",i[26]),ae(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Lh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&T(e),i[25](null),g&&T(t),g&&T(n),c&&c.d(),s=!1,Qe(o)}}}function ak(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-y7ufaq"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){L(t,e,n)},p:Fe,d(t){t&&T(e)}}}function Lh(i){let e,t,n;return{c(){e=C("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-y7ufaq"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-y7ufaq")},m(l,r){L(l,e,r),t||(n=ae(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&T(e),t=!1,n()}}}function ok(i){let e;return{c(){e=C("div")},m(t,n){L(t,e,n),i[30](e)},p:Fe,d(t){t&&T(e),i[30](null)}}}function uk(i){let e,t,n,l=i[4]&&Ah(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-y7ufaq"),f(e,"aria-hidden",n=!i[0])},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Ah(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&&T(e),l&&l.d()}}}function Ah(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eh(Th(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[29](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Th(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eh(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&&T(e),dt(n,l),i[29](null)}}}function fk(i){let e,t=i[14](i[39],i[3],i[41])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function ck(i){let e,t,n,l=i[39].label+"",r,s,o,c=i[39].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=q(),o=C("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,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(hk)),h=!0)},p(p,w){w[0]&16&&l!==(l=p[39].label+"")&&Ie(r,l),w[0]&16&&c!==(c=p[39].description+"")&&Ie(g,c)},d(p){p&&T(e),h=!1,_()}}}function Eh(i){let e,t,n,l;function r(h,_){return h[10]?fk:ck}let s=r(i),o=s(i);function c(...h){return i[27](i[39],...h)}function g(...h){return i[28](i[39],...h)}return{c(){e=C("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-y7ufaq"),f(e,"tabindex","0")},m(h,_){L(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(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&&T(e),o.d(),n=!1,Qe(l)}}}function Rh(i){let e,t,n,l,r,s,o;return{c(){e=C("div"),t=C("div"),n=C("button"),l=C("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-y7ufaq")},m(c,g){L(c,e,g),S(e,t),S(t,n),S(n,l),s||(o=[ae(n,"click",i[6]),ae(t,"click",Ut(_k))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),s=!1,Qe(o)}}}function Dh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-y7ufaq"),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-y7ufaq")},m(g,h){L(g,e,h),S(e,t),S(t,l),o||(c=ae(t,"click",Ut(i[31])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ie(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-y7ufaq")&&f(e,"class",s)},d(g){g&&T(e),o=!1,c()}}}function dk(i){let e,t,n,l,r,s,o,c,g,h,_,p;function w(R,E){return R[8]&&R[8].disableInputHandlers?ak:sk}let m=w(i),v=m(i);function k(R,E){return R[9]?ok:uk}let y=k(i),N=y(i),I=!i[5]&&Rh(i),A=i[5]&&Dh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),v.c(),r=q(),N.c(),c=q(),I&&I.c(),g=q(),A&&A.c(),h=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-y7ufaq"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-y7ufaq"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-y7ufaq"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),v.m(l,null),S(n,r),N.m(n,null),L(R,c,E),I&&I.m(R,E),L(R,g,E),A&&A.m(R,E),L(R,h,E),_||(p=[ae(window,"click",i[15]),ae(window,"blur",i[15]),ae(n,"click",Ut(gk))],_=!0)},p(R,E){m===(m=w(R))&&v?v.p(R,E):(v.d(1),v=m(R),v&&(v.c(),v.m(l,null))),y===(y=k(R))&&N?N.p(R,E):(N.d(1),N=y(R),N&&(N.c(),N.m(n,null))),E[0]&32&&s!==(s=!R[5])&&f(n,"aria-hidden",s),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(R[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")&&f(e,"class",o),R[5]?I&&(I.d(1),I=null):I?I.p(R,E):(I=Rh(R),I.c(),I.m(g.parentNode,g)),R[5]?A?A.p(R,E):(A=Dh(R),A.c(),A.m(h.parentNode,h)):A&&(A.d(1),A=null)},i:Fe,o:Fe,d(R){R&&T(e),v.d(),N.d(),R&&T(c),I&&I.d(R),R&&T(g),A&&A.d(R),R&&T(h),_=!1,Qe(p)}}}const hk=()=>{},gk=()=>{},_k=()=>{};function pk(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=Ht(),_={fireItemSelected:x=>{m.searchProvider.onSearchResultItemSelected(x)}};let p=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:w}=e,m={},v,k,y=!1,N=gt("getTranslation");Si(i,N,x=>t(12,n=x)),jt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let x=s;const me=A(m.searchProvider);me&&(x.placeholder=me),I(),Wf.handleVisibilityGlobalSearch();const je=document.querySelector(".lui-global-search");je&&new ResizeObserver(pe=>{Wf.handleVisibilityGlobalSearch()}).observe(je)}),Hn(()=>{t(8,m=g),I(),F()});function I(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,k=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function A(x){if(!x||!x.inputPlaceholder)return;const me=pt.getCurrentLocale();if(le.isFunction(x.inputPlaceholder))return x.inputPlaceholder();if(typeof x.inputPlaceholder=="string"){const je=pt.getTranslation(x.inputPlaceholder);return je&&je.trim().length>0?je:x.inputPlaceholder}if(typeof x.inputPlaceholder=="object")return x.inputPlaceholder[me]}function R(x,me,je){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(x,me.children[je],_)}),""}function E(){h("closeSearchResult")}function O({keyCode:x}){m?le.isFunction(m.searchProvider.onEnter)&&x===wi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&x===vi?m.searchProvider.onEscape():x===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(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function H(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function F(){s&&s.value?t(11,y=!0):t(11,y=!1)}function B(){t(1,s.value="",s),E(),t(11,y=!1)}function G(x){let me=c.children;if(me)for(let je=0;je<me.length;je++){let{childNodes:Ze,nextSibling:pe,previousSibling:qe}=me[je],mt;if(Ze[0].getAttribute("aria-selected")==="true"){x===Oi&&(mt=pe!==null?pe:me[0]),x===El&&(mt=qe!==null?qe:me[me.length-1]),Ze[0].setAttribute("aria-selected","false"),mt.childNodes[0].setAttribute("aria-selected","true"),mt.focus();break}}}function ee(){let x=c.children;if(x)for(let me=0;me<x.length;me++){let je=x[me];je.childNodes[0].getAttribute("aria-selected")==="true"&&je.childNodes[0].setAttribute("aria-selected","false")}}function te(x){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(x):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===vi&&m.searchProvider.onEscape()}function Z(x,{keyCode:me}){me===wi&&m.searchProvider.onSearchResultItemSelected(x),me===El||me===Oi?G(me):le.isFunction(m.searchProvider.onEscape)&&me===vi&&(ee(),setTimeout(()=>{s.focus()}),m.searchProvider.onEscape())}function J(x){let me=x.pathObject;me.externalLink?xe.navigateToLink(me):h("handleSearchNavigation",{node:me})}function j(){s&&s.focus()}function Y(){if(w?t(0,r=!1):setTimeout(()=>{j()}),h("toggleSearch",{isSearchFieldVisible:w,inputElem:s,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const x=w===void 0?!0:!w;m.searchProvider.toggleSearch(s,x)}}const be=x=>O(x);function re(x){tt[x?"unshift":"push"](()=>{s=x,t(1,s)})}const oe=()=>F(),Ce=(x,me)=>te(x),De=(x,me)=>Z(x,me);function ce(x){tt[x?"unshift":"push"](()=>{c=x,t(3,c)})}function Re(x){tt[x?"unshift":"push"](()=>{o=x,t(2,o)})}const ne=()=>Y();return i.$$set=x=>{"searchResult"in x&&t(4,l=x.searchResult),"displaySearchResult"in x&&t(0,r=x.displaySearchResult),"inputElem"in x&&t(1,s=x.inputElem),"luigiCustomSearchRenderer__slot"in x&&t(2,o=x.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in x&&t(3,c=x.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in x&&t(22,g=x.globalSearchConfig),"isSearchFieldVisible"in x&&t(5,w=x.isSearchFieldVisible)},[r,s,o,c,l,w,Y,p,m,v,k,y,n,N,R,E,O,H,F,B,te,Z,g,J,be,re,oe,Ce,De,ce,Re,ne]}class mk extends Rt{constructor(e){super(),Et(this,e,pk,dk,Tt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:22,isSearchFieldVisible:5,onActionClick:23,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[23]}get toggleSearch(){return this.$$.ctx[6]}}function Vh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?vk:bk}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function bk(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function vk(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Mh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Fi({props:{node:i[0]}}),{c(){e=C("span"),n=Ne(t),l=q(),We(r.$$.fragment)},m(o,c){L(o,e,c),S(e,n),S(e,l),Be(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ie(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){z(r.$$.fragment,o),s=!1},d(o){o&&T(e),He(r)}}}function wk(i){let e,t,n,l=i[0].icon&&Vh(i),r=(!i[0].icon||i[0].showLabel)&&Mh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Vh(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=Mh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function Sk(i,e,t){let{node:n}=e;function l(o){return Se.isOpenUIiconName(o.icon)}function r(o){return Se.renderIconClassName(o)}function s(o){return Se.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Do extends Rt{constructor(e){super(),Et(this,e,Sk,wk,Tt,{node:0})}}const{Boolean:I_,window:Oh}=ul;function Fh(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function Uh(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function Ck(i){let e,t;return e=new S_({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function kk(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Bh(i);function v(E){i[57](E)}let k={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(k.dropDownStates=i[6]),l=new HS({props:k}),tt.push(()=>It(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&Hh(i),N=(!i[0]||i[1])&&Wh(i),I=(i[18]||i[7]&&i[29].length>0)&&qh(i),A=(i[0]||i[16])&&rg(i),R=i[12]&&sg(i);return{c(){e=C("div"),t=C("div"),m&&m.c(),n=q(),We(l.$$.fragment),s=q(),y&&y.c(),o=q(),c=C("div"),N&&N.c(),g=q(),I&&I.c(),h=q(),A&&A.c(),_=q(),R&&R.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1x7zmlo"),f(e,"tabindex","0")},m(E,O){L(E,e,O),S(e,t),m&&m.m(t,null),S(t,n),Be(l,t,null),S(e,s),y&&y.m(e,null),S(e,o),S(e,c),N&&N.m(c,null),S(c,g),I&&I.m(c,null),S(c,h),A&&A.m(c,null),S(c,_),R&&R.m(c,null),w=!0},p(E,O){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,O):(m=Bh(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const H={};O[0]&536870912&&(H.pathData=E[29]),O[0]&1073741824&&(H.pathParams=E[30]),O[0]&134217728&&(H.addNavHrefForAnchor=E[27]),!r&&O[0]&64&&(r=!0,H.dropDownStates=E[6],Nt(()=>r=!1)),l.$set(H),E[18]&&E[19]?y?(y.p(E,O),O[0]&786432&&M(y,1)):(y=Hh(E),y.c(),M(y,1),y.m(e,o)):y&&(ye(),z(y,1,1,()=>{y=null}),Pe()),!E[0]||E[1]?N?(N.p(E,O),O[0]&3&&M(N,1)):(N=Wh(E),N.c(),M(N,1),N.m(c,g)):N&&(ye(),z(N,1,1,()=>{N=null}),Pe()),E[18]||E[7]&&E[29].length>0?I?(I.p(E,O),O[0]&537133184&&M(I,1)):(I=qh(E),I.c(),M(I,1),I.m(c,h)):I&&(ye(),z(I,1,1,()=>{I=null}),Pe()),E[0]||E[16]?A?(A.p(E,O),O[0]&65537&&M(A,1)):(A=rg(E),A.c(),M(A,1),A.m(c,_)):A&&(ye(),z(A,1,1,()=>{A=null}),Pe()),E[12]?R?(R.p(E,O),O[0]&4096&&M(R,1)):(R=sg(E),R.c(),M(R,1),R.m(c,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!w||O[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-1x7zmlo"))&&f(e,"class",p)},i(E){w||(M(l.$$.fragment,E),M(y),M(N),M(I),M(A),M(R),w=!0)},o(E){z(l.$$.fragment,E),z(y),z(N),z(I),z(A),z(R),w=!1},d(E){E&&T(e),m&&m.d(),He(l),y&&y.d(),N&&N.d(),I&&I.d(),A&&A.d(),R&&R.d()}}}function Bh(i){let e,t,n,l;return{c(){e=C("button"),t=C("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1x7zmlo"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,s){L(r,e,s),S(e,t),n||(l=ae(e,"click",i[52]),n=!0)},p(r,s){s[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Hh(i){let e,t,n,l,r,s,o,c;function g(v){i[58](v)}function h(v){i[59](v)}function _(v){i[60](v)}function p(v){i[61](v)}function w(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new mk({props:m}),tt.push(()=>It(t,"isSearchFieldVisible",g,i[20])),tt.push(()=>It(t,"searchResult",h,i[24])),tt.push(()=>It(t,"displaySearchResult",_,i[23])),tt.push(()=>It(t,"inputElem",p,i[21])),tt.push(()=>It(t,"luigiCustomSearchRenderer__slot",w,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=C("div"),We(t.$$.fragment),f(e,"class","lui-global-search")},m(v,k){L(v,e,k),Be(t,e,null),c=!0},p(v,k){const y={};k[0]&262144&&(y.globalSearchConfig=v[18]),!n&&k[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Nt(()=>n=!1)),!l&&k[0]&16777216&&(l=!0,y.searchResult=v[24],Nt(()=>l=!1)),!r&&k[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Nt(()=>r=!1)),!s&&k[0]&2097152&&(s=!0,y.inputElem=v[21],Nt(()=>s=!1)),!o&&k[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],Nt(()=>o=!1)),t.$set(y)},i(v){c||(M(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&T(e),He(t)}}}function Wh(i){let e,t,n,l,r=i[18]&&!i[19]&&zh(i);function s(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new P_({props:o}),tt.push(()=>It(t,"dropDownStates",s,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=q(),We(t.$$.fragment)},m(c,g){r&&r.m(c,g),L(c,e,g),Be(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&M(r,1)):(r=zh(c),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe());const h={};g[0]&134217728&&(h.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],Nt(()=>n=!1)),t.$set(h)},i(c){l||(M(r),M(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&T(e),He(t,c)}}}function zh(i){let e,t,n,l,r,s,o;function c(m){i[66](m)}function g(m){i[67](m)}function h(m){i[68](m)}function _(m){i[69](m)}function p(m){i[70](m)}let w={globalSearchConfig:i[18]};return i[20]!==void 0&&(w.isSearchFieldVisible=i[20]),i[24]!==void 0&&(w.searchResult=i[24]),i[23]!==void 0&&(w.displaySearchResult=i[23]),i[21]!==void 0&&(w.inputElem=i[21]),i[22]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[22]),e=new rk({props:w}),tt.push(()=>It(e,"isSearchFieldVisible",c,i[20])),tt.push(()=>It(e,"searchResult",g,i[24])),tt.push(()=>It(e,"displaySearchResult",h,i[23])),tt.push(()=>It(e,"inputElem",_,i[21])),tt.push(()=>It(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){We(e.$$.fragment)},m(m,v){Be(e,m,v),o=!0},p(m,v){const k={};v[0]&262144&&(k.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,k.isSearchFieldVisible=m[20],Nt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,k.searchResult=m[24],Nt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,k.displaySearchResult=m[23],Nt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,k.inputElem=m[21],Nt(()=>r=!1)),!s&&v[0]&4194304&&(s=!0,k.luigiCustomSearchRenderer__slot=m[22],Nt(()=>s=!1)),e.$set(k)},i(m){o||(M(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){He(e,m)}}}function qh(i){let e,t,n,l=i[7]&&i[29].length>0&&Gh(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Yh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[7]&&s[29].length>0?l?(l.p(s,o),o[0]&536871040&&M(l,1)):(l=Gh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe()),s[9]-s[10]>0||s[12]||s[45]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&16384&&M(r,1)):(r=Yh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function Gh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jh(Uh(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&1207960032|o[1]&1966160){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Uh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Jh(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Kh(i){let e,t,n,l;const r=[Pk,yk],s=[];function o(c,g){return c[107].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),L(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),z(s[h],1,1,()=>{s[h]=null}),Pe(),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){z(t),l=!1},d(c){s[e].d(c),c&&T(n)}}}function yk(i){let e,t,n,l,r;const s=[Ik,Nk],o=[];function c(g,h){return g[27]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=C("div"),n.c(),l=q(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){L(g,e,h),o[t].m(e,null),S(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe(),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){z(n),r=!1},d(g){g&&T(e),o[t].d()}}}function Pk(i){let e=i[107].visibleChildren.filter(ag).length>0,t,n,l=e&&jh(i);return{c(){l&&l.c(),t=ke()},m(r,s){l&&l.m(r,s),L(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[107].visibleChildren.filter(ag).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=jh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&T(t)}}}function Nk(i){let e,t,n,l,r,s,o,c,g,h,_;function p(v){i[80](v,i[107],i[110],i[109])}let w={};i[107]!==void 0&&(w.node=i[107]),t=new Do({props:w}),tt.push(()=>It(t,"node",p,i[107])),r=new xn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=C("button"),We(t.$$.fragment),l=q(),We(r.$$.fragment),f(e,"title",s=i[51](i[107],i[48](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[49](i[107]))},m(v,k){L(v,e,k),Be(t,e,null),S(e,l),Be(r,e,null),g=!0,h||(_=ae(e,"click",m),h=!0)},p(v,k){i=v;const y={};!n&&k[0]&128&&(n=!0,y.node=i[107],Nt(()=>n=!1)),t.$set(y);const N={};k[0]&128&&(N.node=i[107]),r.$set(N),(!g||k[0]&128&&s!==(s=i[51](i[107],i[48](i[107]))))&&f(e,"title",s),(!g||k[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||k[0]&128&&c!==(c=i[49](i[107])))&&f(e,"data-testid",c)},i(v){g||(M(t.$$.fragment,v),M(r.$$.fragment,v),g=!0)},o(v){z(t.$$.fragment,v),z(r.$$.fragment,v),g=!1},d(v){v&&T(e),He(t),He(r),h=!1,_()}}}function Ik(i){let e,t,n,l,r,s,o,c,g,h,_,p;function w(k){i[78](k,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new Do({props:m}),tt.push(()=>It(t,"node",w,i[107])),r=new xn({props:{node:i[107]}});function v(...k){return i[79](i[107],...k)}return{c(){e=C("a"),We(t.$$.fragment),l=q(),We(r.$$.fragment),f(e,"href",s=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(e,"title",c=i[51](i[107],i[48](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[49](i[107]))},m(k,y){L(k,e,y),Be(t,e,null),S(e,l),Be(r,e,null),h=!0,_||(p=ae(e,"click",v),_=!0)},p(k,y){i=k;const N={};!n&&y[0]&128&&(n=!0,N.node=i[107],Nt(()=>n=!1)),t.$set(N);const I={};y[0]&128&&(I.node=i[107]),r.$set(I),(!h||y[0]&128&&s!==(s=i[50](i[107])))&&f(e,"href",s),(!h||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||y[0]&128&&c!==(c=i[51](i[107],i[48](i[107]))))&&f(e,"title",c),(!h||y[0]&128&&g!==(g=i[49](i[107])))&&f(e,"data-testid",g)},i(k){h||(M(t.$$.fragment,k),M(r.$$.fragment,k),h=!0)},o(k){z(t.$$.fragment,k),z(r.$$.fragment,k),h=!1},d(k){k&&T(e),He(t),He(r),_=!1,p()}}}function jh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(H){i[76](H,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Do({props:E}),tt.push(()=>It(r,"node",R,i[107])),c=new xn({props:{node:i[107]}});function O(){return i[77](i[109])}return v=new k_({props:{node:i[107],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("button"),We(r.$$.fragment),o=q(),We(c.$$.fragment),w=q(),m=C("div"),We(v.$$.fragment),y=q(),f(l,"title",g=i[51](i[107],i[48](i[107]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[49](i[107])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",k=!i[6][`dropDownPopover-${i[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,l),Be(r,l,null),S(l,o),Be(c,l,null),S(t,w),S(t,m),Be(v,m,null),S(e,y),N=!0,I||(A=[ae(l,"click",O),ae(n,"click",Ut(zk))],I=!0)},p(H,F){i=H;const B={};!s&&F[0]&128&&(s=!0,B.node=i[107],Nt(()=>s=!1)),r.$set(B);const G={};F[0]&128&&(G.node=i[107]),c.$set(G),(!N||F[0]&128&&g!==(g=i[51](i[107],i[48](i[107]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[49](i[107])))&&f(l,"data-testid",p);const ee={};F[0]&128&&(ee.node=i[107]),F[0]&1073741824&&(ee.pathParams=i[30]),F[0]&134217728&&(ee.addNavHrefForAnchor=i[27]),v.$set(ee),(!N||F[0]&64&&k!==(k=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",k)},i(H){N||(M(r.$$.fragment,H),M(c.$$.fragment,H),M(v.$$.fragment,H),N=!0)},o(H){z(r.$$.fragment,H),z(c.$$.fragment,H),z(v.$$.fragment,H),N=!1},d(H){H&&T(e),He(r),He(c),He(v),I=!1,Qe(A)}}}function Jh(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Kh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Kh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Yh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A,R,E,O,H;g=new xn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Qh(i),B=i[45]&&(!i[0]||i[1])&&Zh(i),G=i[7]&&Xh(i),ee=i[12]&&tg(i),te=i[12]&&ng(i),Z=i[14]&&ig(i),J=(!i[0]||i[1])&&lg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("button"),o=C("i"),c=q(),We(g.$$.fragment),_=q(),p=C("div"),w=C("nav"),m=C("ul"),F&&F.c(),v=q(),B&&B.c(),k=q(),G&&G.c(),y=q(),ee&&ee.c(),I=q(),te&&te.c(),A=q(),Z&&Z.c(),R=q(),J&&J.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(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(w,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1x7zmlo"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,Y){L(j,e,Y),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(s,c),Be(g,s,null),S(n,_),S(n,p),S(p,w),S(w,m),F&&F.m(m,null),S(m,v),B&&B.m(m,null),S(m,k),G&&G.m(m,null),S(m,y),ee&&ee.m(m,null),S(n,I),te&&te.m(n,null),S(n,A),Z&&Z.m(n,null),S(n,R),J&&J.m(n,null),E=!0,O||(H=[ae(s,"click",i[82]),ae(l,"click",Ut(qk))],O=!0)},p(j,Y){const be={};Y[0]&2048&&(be.node=j[11]),g.$set(be),(!E||Y[0]&64&&h!==(h=j[6].overflowPopover||!1))&&f(s,"aria-expanded",h),j[18]&&!j[19]?F?F.p(j,Y):(F=Qh(j),F.c(),F.m(m,v)):F&&(F.d(1),F=null),j[45]&&(!j[0]||j[1])?B?B.p(j,Y):(B=Zh(j),B.c(),B.m(m,k)):B&&(B.d(1),B=null),j[7]?G?(G.p(j,Y),Y[0]&128&&M(G,1)):(G=Xh(j),G.c(),M(G,1),G.m(m,y)):G&&(ye(),z(G,1,1,()=>{G=null}),Pe()),j[12]?ee?ee.p(j,Y):(ee=tg(j),ee.c(),ee.m(m,null)):ee&&(ee.d(1),ee=null),(!E||Y[0]&64&&N!==(N=!j[6].overflowPopover))&&f(p,"aria-hidden",N),j[12]?te?(te.p(j,Y),Y[0]&4096&&M(te,1)):(te=ng(j),te.c(),M(te,1),te.m(n,A)):te&&(ye(),z(te,1,1,()=>{te=null}),Pe()),j[14]?Z?(Z.p(j,Y),Y[0]&16384&&M(Z,1)):(Z=ig(j),Z.c(),M(Z,1),Z.m(n,R)):Z&&(ye(),z(Z,1,1,()=>{Z=null}),Pe()),!j[0]||j[1]?J?(J.p(j,Y),Y[0]&3&&M(J,1)):(J=lg(j),J.c(),M(J,1),J.m(n,null)):J&&(ye(),z(J,1,1,()=>{J=null}),Pe())},i(j){E||(M(g.$$.fragment,j),M(G),M(te),M(Z),M(J),E=!0)},o(j){z(g.$$.fragment,j),z(G),z(te),z(Z),z(J),E=!1},d(j){j&&T(e),He(g),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),te&&te.d(),Z&&Z.d(),J&&J.d(),O=!1,Qe(H)}}}function Qh(i){let e,t,n,l;return{c(){e=C("li"),t=C("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1x7zmlo"></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){L(r,e,s),S(e,t),n||(l=ae(t,"click",Ut(i[83])),n=!0)},p:Fe,d(r){r&&T(e),n=!1,l()}}}function Zh(i){let e,t,n,l,r,s,o=(i[43]?i[43]:i[44])+"",c,g,h;return{c(){e=C("li"),t=C("a"),n=C("i"),r=q(),s=C("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),S(e,t),S(t,n),S(t,r),S(t,s),S(s,c),g||(h=ae(t,"click",Ut(i[32])),g=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo")&&f(n,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Ie(c,o)},d(_){_&&T(e),g=!1,h()}}}function Xh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=eg(Fh(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&2064404){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Fh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=eg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function $h(i){let e,t,n,l,r;const s=[Lk,Tk],o=[];function c(g,h){return h[0]&128&&(e=null),g[107].isCat?(e==null&&(e=g[107].visibleChildren.filter(Wk).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=ke()},m(g,h){~t&&o[t].m(g,h),L(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe()),~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){z(n),r=!1},d(g){~t&&o[t].d(g),g&&T(l)}}}function Tk(i){let e,t,n,l,r,s,o,c,g=i[48](i[107])+"",h,_,p,w,m,v,k;function y(R,E){return E[0]&128&&(l=null),l==null&&(l=!!R[47](R[107])),l?Ek:Ak}let N=y(i,[-1,-1,-1,-1]),I=N(i);s=new xn({props:{node:i[107]}});function A(){return i[85](i[107])}return{c(){e=C("li"),t=C("a"),n=C("span"),I.c(),r=q(),We(s.$$.fragment),o=q(),c=C("span"),h=Ne(g),w=q(),f(n,"class","fd-top-nav__icon svelte-1x7zmlo"),f(c,"class","fd-list__title"),f(t,"href",_=i[50](i[107])),f(t,"title",p=i[51](i[107],i[48](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(R,E){L(R,e,E),S(e,t),S(t,n),I.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,w),m=!0,v||(k=ae(t,"click",Mt(A)),v=!0)},p(R,E){i=R,N===(N=y(i,E))&&I?I.p(i,E):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const O={};E[0]&128&&(O.node=i[107]),s.$set(O),(!m||E[0]&128)&&g!==(g=i[48](i[107])+"")&&Ie(h,g),(!m||E[0]&128&&_!==(_=i[50](i[107])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[51](i[107],i[48](i[107]))))&&f(t,"title",p)},i(R){m||(M(s.$$.fragment,R),m=!0)},o(R){z(s.$$.fragment,R),m=!1},d(R){R&&T(e),I.d(),He(s),v=!1,k()}}}function Lk(i){let e,t,n,l=!i[47](i[107]),r,s,o,c,g,h=i[48](i[107])+"",_,p,w,m,v,k,y,N,I=l&&xh(i);s=new xn({props:{node:i[107]}});function A(){return i[84](i[107])}return{c(){e=C("li"),t=C("a"),n=C("span"),I&&I.c(),r=q(),We(s.$$.fragment),c=q(),g=C("span"),_=Ne(h),v=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo"),f(g,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",w="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=i[49](i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(R,E){L(R,e,E),S(e,t),S(t,n),I&&I.m(n,null),S(n,r),Be(s,n,null),S(t,c),S(t,g),S(g,_),S(e,v),k=!0,y||(N=ae(t,"click",Mt(A)),y=!0)},p(R,E){i=R,E[0]&128&&(l=!i[47](i[107])),l?I?I.p(i,E):(I=xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};E[0]&128&&(O.node=i[107]),s.$set(O),(!k||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo"))&&f(n,"class",o),(!k||E[0]&128)&&h!==(h=i[48](i[107])+"")&&Ie(_,h),(!k||E[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!k||E[0]&384&&w!==(w="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",w),(!k||E[0]&128&&m!==(m=i[49](i[107])+"-mobile"))&&f(t,"data-testid",m)},i(R){k||(M(s.$$.fragment,R),k=!0)},o(R){z(s.$$.fragment,R),k=!1},d(R){R&&T(e),I&&I.d(),He(s),y=!1,N()}}}function Ak(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Ek(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[47](n[107])?n[46](n[107].icon):"")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&T(e)}}}function xh(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function eg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&$h(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=$h(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function tg(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(w,m){return m[0]&8192&&(n=null),n==null&&(n=!!(w[47](w[13])||!w[13].icon)),n?Dk:Rk}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=C("li"),t=C("a"),p.c(),l=q(),r=C("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(w,m){L(w,e,m),S(e,t),p.m(t,null),S(t,l),S(t,r),S(r,o),c||(g=ae(t,"click",Ut(i[31])),c=!0)},p(w,m){_===(_=h(w,m))&&p?p.p(w,m):(p.d(1),p=_(w),p&&(p.c(),p.m(t,l))),m[0]&8192&&s!==(s=w[13].label+"")&&Ie(o,s)},d(w){w&&T(e),p.d(),c=!1,g()}}}function Rk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1x7zmlo"),f(e,"class","fd-top-nav__icon sap-icon svelte-1x7zmlo")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&T(e)}}}function Dk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-1x7zmlo")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&T(e)}}}function ng(i){let e,t,n;function l(s){i[86](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[87]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function ig(i){let e,t;return e=new k_({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function lg(i){let e,t,n,l,r;function s(h){i[88](h)}function o(h){i[89](h)}function c(h){i[90](h)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new P_({props:g}),tt.push(()=>It(e,"dropDownStates",s,i[6])),tt.push(()=>It(e,"selectedLabel",o,i[43])),tt.push(()=>It(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[91]),{c(){We(e.$$.fragment)},m(h,_){Be(e,h,_),r=!0},p(h,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=h[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],Nt(()=>t=!1)),!n&&_[1]&4096&&(n=!0,p.selectedLabel=h[43],Nt(()=>n=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=h[44],Nt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){z(e.$$.fragment,h),r=!1},d(h){He(e,h)}}}function rg(i){let e,t,n,l,r;const s=[Mk,Vk],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=C("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){L(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):(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe(),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){z(l),r=!1},d(g){g&&T(e),o[n].d()}}}function Vk(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v;function k(I,A){return I[17].picture?Fk:Ok}let y=k(i),N=y(i);return _=new S_({props:{addNavHrefForAnchor:i[27]}}),_.$on("toggleDropdownState",i[96]),_.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),N.c(),g=q(),h=C("div"),We(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1x7zmlo"),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-1x7zmlo")},m(I,A){L(I,e,A),S(e,t),S(t,n),S(n,l),S(l,r),N.m(r,null),S(t,g),S(t,h),Be(_,h,null),w=!0,m||(v=[ae(r,"click",i[95]),ae(n,"click",Ut(Kk))],m=!0)},p(I,A){y===(y=k(I))&&N?N.p(I,A):(N.d(1),N=y(I),N&&(N.c(),N.m(r,null))),(!w||A[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!w||A[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!w||A[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const R={};A[0]&134217728&&(R.addNavHrefForAnchor=I[27]),_.$set(R),(!w||A[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){w||(M(_.$$.fragment,I),w=!0)},o(I){z(_.$$.fragment,I),w=!1},d(I){I&&T(e),N.d(),He(_),m=!1,Qe(v)}}}function Mk(i){let e,t,n,l,r,s,o,c,g;function h(w,m){return w[17].picture?Bk:Uk}let _=h(i),p=_(i);return r=new QS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),p.c(),n=q(),l=C("div"),We(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-1x7zmlo")},m(w,m){L(w,e,m),S(e,t),p.m(t,null),S(e,n),S(e,l),Be(r,l,null),o=!0,c||(g=ae(t,"click",Ut(Gk)),c=!0)},p(w,m){_===(_=h(w))&&p?p.p(w,m):(p.d(1),p=_(w),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=w[27]),r.$set(v),(!o||m[0]&64&&s!==(s=!w[6].profilePopover))&&f(l,"aria-hidden",s)},i(w){o||(M(r.$$.fragment,w),o=!0)},o(w){z(r.$$.fragment,w),o=!1},d(w){w&&T(e),p.d(),He(r),c=!1,g()}}}function Ok(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function Fk(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1x7zmlo"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Uk(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=C("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),S(e,n),r||(s=ae(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ie(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,s()}}}function Bk(i){let e,t,n,l;return{c(){e=C("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),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){L(r,e,s),n||(l=ae(e,"click",i[92]),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&&T(e),n=!1,l()}}}function sg(i){let e,t,n;function l(s){i[97](s)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[98]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=s[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function Hk(i){let e,t,n,l,r,s;const o=[kk,Ck],c=[];function g(h,_){return h[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){c[e].m(h,_),L(h,n,_),l=!0,r||(s=[ae(Oh,"click",i[40]),ae(Oh,"blur",i[40])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe(),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){z(t),l=!1},d(h){c[e].d(h),h&&T(n),r=!1,Qe(s)}}}const Wk=i=>!i.hideFromNav&&i.label,ag=i=>!i.hideFromNav&&i.label,zk=()=>{},qk=()=>{},Gk=()=>{},Kk=()=>{};function jk(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:w}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:k}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:A}=e,{productSwitcherConfig:R}=e,{openMobileDropDown:E}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{globalSearchConfig:B}=e,{isGlobalSearchCentered:G}=e,{isSearchFieldVisible:ee}=e,{inputElem:te}=e,{luigiCustomSearchRenderer__slot:Z}=e,{displaySearchResult:J}=e,{searchResult:j}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:be}=e,re=gt("store"),oe=!1,Ce,De,ce=se.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Re=se.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ne=async()=>{if(_&&0<_.length){const X=await Se.generateTopNavNodes(_);t(7,v=X.children),t(8,k=X.selectedNode),t(9,y=X.visibleNodeCount),t(11,I=X.totalBadgeNode),t(10,N=X.globalNavNodeCount),window.TOPNAVDATA=X.children,p=_}},x=()=>{t(1,s=sl.isLoggedIn())};jt(()=>{fn.doOnStoreChange(re,()=>{t(0,l=bi.isAuthorizationEnabled()),t(16,H=se.getConfigValue("navigation.profile")),t(53,r=!se.getConfigValue("auth.disableAutoLogin")),t(12,A=se.getConfigValue("navigation.productSwitcher")),t(2,o=se.getConfigBooleanValue("settings.hideNavigation")),t(3,c=se.getConfigValue("settings.responsiveNavigation")),t(4,g=se.getConfigValue("settings.profileType")),t(26,be=se.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,R=Se.getProductSwitcherConfig()),t(18,B=se.getConfigValue("globalSearch")),t(19,G=B&&B.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=se.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Re=se.getConfigBooleanValue("navigation.addNavHrefs")),t(45,ce=se.getConfigValue("navigation.contextSwitcher"))},["navigation"]),fn.doOnStoreChange(re,()=>{ne()},["navigation.viewgroupdata"]),Ln.addEventListener("message",X=>{X.data.msg==="luigi.navigation.update-badge-counters"&&ne()})}),Hn(()=>{(!p||p!=_)&&ne(),x()});let{showTopNav:me}=e;function je(X){return Se.renderIconClassName(X)}function Ze(X){return Se.isOpenUIiconName(X.icon)}const pe=X=>Se.getNodeLabel(X);function qe(X){return X.testId?X.testId:Se.prepareForTests(X.pathSegment,X.label)}function mt(X){return _e.getNodeHref(X,w)}function rn(X,Lt){return Se.generateTooltipText(X,Lt)}function vt(){ut("productSwitcherPopover")}function Zt(){t(42,oe=!oe),ut("contextSwitcherPopover")}function An(X){t(14,E=!0),t(15,O=X)}function Wt(){t(14,E=!1)}function Wn(X){n("handleClick",{node:X})}function fl(X){n("handleSearchNavigation",{node:X})}function Cn(X){Wn(X.detail.node)}function ut(X){const Lt=m||{},pn=!Lt[X];Jt(),Wt(),Lt[X]=pn,t(6,m=Lt)}function ei(X){ut(X.detail.name)}function fi(){te&&te.focus()}function _n(){ee||setTimeout(()=>{fi()}),n("toggleSearch",{isSearchFieldVisible:ee,inputElem:te,luigiCustomSearchRenderer__slot:Z})}function Jt(){const X=m||{},Lt=Object.keys(X);Lt&&Lt.length>0&&Lt.forEach(pn=>{X[pn]=!1,t(6,m=X)})}function cl(){c==="simple"||c==="simpleMobileOnly"?en():ci(),Yt()}function Yt(){if(!Se.getBurgerTooltipConfig())return;const[X,Lt]=Se.getBurgerTooltipConfig();X&&Lt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,Y=document.body.classList.contains("lui-leftNavToggle")?X:Lt),document.body.classList.contains("lui-semiCollapsible")&&t(25,Y=document.body.classList.contains("semiCollapsed")?X:Lt))}function en(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){pi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Ci(X){const Lt=X.detail;t(17,F=Lt||{})}function cn(X){m=X,t(6,m)}function ki(X){ee=X,t(20,ee)}function yi(X){j=X,t(24,j)}function ie(X){J=X,t(23,J)}function Le(X){te=X,t(21,te)}function st(X){Z=X,t(22,Z)}function yt(X){Ll.call(this,i,X)}function St(X){Ll.call(this,i,X)}function sn(X){Ll.call(this,i,X)}function kn(X){ee=X,t(20,ee)}function ti(X){j=X,t(24,j)}function zn(X){J=X,t(23,J)}function Ui(X){te=X,t(21,te)}function dr(X){Z=X,t(22,Z)}function hr(X){Ll.call(this,i,X)}function gr(X){Ll.call(this,i,X)}function Dl(X){Ll.call(this,i,X)}function _r(X){m=X,t(6,m)}const pr=()=>ut("contextSwitcherPopover");function mr(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const dl=X=>ut(`dropDownPopover-${X}`);function hl(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const di=(X,Lt)=>{Se.handleNavAnchorClickedWithoutMetaKey(Lt)&&Wn(X)};function gl(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const Bi=X=>Wn(X),Vl=()=>ut("overflowPopover"),Ml=()=>{_n(),ut("overflowPopover")},Ol=X=>Wn(X),br=X=>An(X);function yn(X){m=X,t(6,m)}const _l=()=>ut("productSwitcherPopover");function Hi(X){m=X,t(6,m)}function Fl(X){Ce=X,t(43,Ce)}function vr(X){De=X,t(44,De)}const Wi=()=>ut("contextSwitcherPopover"),pl=()=>ut("profilePopover"),ml=()=>ut("profilePopover"),bl=()=>ut("profilePopover"),Pi=()=>ut("profilePopover"),Ul=()=>ut("profilePopover");function zi(X){m=X,t(6,m)}const ft=()=>ut("productSwitcherPopover"),vl=()=>ut("profilePopover");return i.$$set=X=>{"authorizationEnabled"in X&&t(0,l=X.authorizationEnabled),"autologinEnabled"in X&&t(53,r=X.autologinEnabled),"isLoggedIn"in X&&t(1,s=X.isLoggedIn),"hideNavComponent"in X&&t(2,o=X.hideNavComponent),"responsiveNavSetting"in X&&t(3,c=X.responsiveNavSetting),"profileTypeSettings"in X&&t(4,g=X.profileTypeSettings),"showGlobalNav"in X&&t(5,h=X.showGlobalNav),"pathData"in X&&t(29,_=X.pathData),"pathParams"in X&&t(30,w=X.pathParams),"dropDownStates"in X&&t(6,m=X.dropDownStates),"children"in X&&t(7,v=X.children),"selectedNode"in X&&t(8,k=X.selectedNode),"visibleNodeCount"in X&&t(9,y=X.visibleNodeCount),"globalNavNodeCount"in X&&t(10,N=X.globalNavNodeCount),"totalBadgeNode"in X&&t(11,I=X.totalBadgeNode),"isProductSwitcherAvailable"in X&&t(12,A=X.isProductSwitcherAvailable),"productSwitcherConfig"in X&&t(13,R=X.productSwitcherConfig),"openMobileDropDown"in X&&t(14,E=X.openMobileDropDown),"nodeForMobile"in X&&t(15,O=X.nodeForMobile),"profileItemsAvailable"in X&&t(16,H=X.profileItemsAvailable),"userInfo"in X&&t(17,F=X.userInfo),"globalSearchConfig"in X&&t(18,B=X.globalSearchConfig),"isGlobalSearchCentered"in X&&t(19,G=X.isGlobalSearchCentered),"isSearchFieldVisible"in X&&t(20,ee=X.isSearchFieldVisible),"inputElem"in X&&t(21,te=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(22,Z=X.luigiCustomSearchRenderer__slot),"displaySearchResult"in X&&t(23,J=X.displaySearchResult),"searchResult"in X&&t(24,j=X.searchResult),"burgerTooltip"in X&&t(25,Y=X.burgerTooltip),"responsiveShellbarPadding"in X&&t(26,be=X.responsiveShellbarPadding),"addNavHrefForAnchor"in X&&t(27,Re=X.addNavHrefForAnchor),"showTopNav"in X&&t(28,me=X.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,me=l&&(!r||s)||!l)},[l,s,o,c,g,h,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te,Z,J,j,Y,be,Re,me,_,w,vt,Zt,An,Wt,Wn,Cn,ut,ei,_n,Jt,Ci,oe,Ce,De,ce,je,Ze,pe,qe,mt,rn,cl,r,fl,en,ci,cn,ki,yi,ie,Le,st,yt,St,sn,kn,ti,zn,Ui,dr,hr,gr,Dl,_r,pr,mr,dl,hl,di,gl,Bi,Vl,Ml,Ol,br,yn,_l,Hi,Fl,vr,Wi,pl,ml,bl,Pi,Ul,zi,ft,vl]}class Jk extends Rt{constructor(e){super(),Et(this,e,jk,Hk,Tt,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:54,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:55,semicollapsedNav:56,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[41]}}function og(i){let e;return{c(){e=C("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Yk(i){let e,t=i[0]&&og();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=og(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function Qk(i,e,t){let{node:n}=e;async function l(){var o,c;const r=_e.mapPathToNode(xe.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");ar.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 Zk extends Rt{constructor(e){super(),Et(this,e,Qk,Yk,Tt,{node:0})}}const{window:yo}=ul;function ug(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function fg(i,e,t){const n=i.slice();return n[43]=e[t],n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function hg(i,e,t){const n=i.slice();return n[43]=e[t],n}function gg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function _g(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&pg(i),I=Object.entries(i[0]),A=[];for(let F=0;F<I.length;F+=1)A[F]=kg(dg(i,I,F));const R=F=>z(A[F],1,1,()=>{A[F]=null});let E=Object.entries(i[0]),O=[];for(let F=0;F<E.length;F+=1)O[F]=Ig(ug(i,E,F));const H=F=>z(O[F],1,1,()=>{O[F]=null});return{c(){e=C("div"),N&&N.c(),t=q(),n=C("nav"),l=C("div"),r=C("div");for(let F=0;F<A.length;F+=1)A[F].c();s=q(),o=C("div"),c=C("span"),g=C("div"),h=C("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-ujogtf">More</span>
58
- <span class="sap-icon--dropdown luigi-icon--dropdown svelte-ujogtf"></span>`,_=q(),p=C("div"),w=C("ul");for(let F=0;F<O.length;F+=1)O[F].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-ujogtf"),f(l,"class","tabsContainerWrapper svelte-ujogtf"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-ujogtf"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(w,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-ujogtf"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-ujogtf"),f(p,"aria-hidden",m=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-ujogtf"),f(o,"class","luigi-tabsMoreButton svelte-ujogtf"),f(n,"class","fd-tabs fd-tabs--l svelte-ujogtf"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-ujogtf"),f(e,"id","tabsContainer")},m(F,B){L(F,e,B),N&&N.m(e,null),S(e,t),S(e,n),S(n,l),S(l,r);for(let G=0;G<A.length;G+=1)A[G].m(r,null);S(n,s),S(n,o),S(o,c),S(c,g),S(g,h),S(g,_),S(g,p),S(p,w);for(let G=0;G<O.length;G+=1)O[G].m(w,null);v=!0,k||(y=[ae(h,"click",Mt(i[10])),ae(c,"click",ly),ae(n,"toggleDropdownState",i[26])],k=!0)},p(F,B){if(F[11].parent&&F[11].parent.tabNav&&F[11].parent.tabNav.showAsTabHeader?N?(N.p(F,B),B[0]&2048&&M(N,1)):(N=pg(F),N.c(),M(N,1),N.m(e,t)):N&&(ye(),z(N,1,1,()=>{N=null}),Pe()),B[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const ee=dg(F,I,G);A[G]?(A[G].p(ee,B),M(A[G],1)):(A[G]=kg(ee),A[G].c(),M(A[G],1),A[G].m(r,null))}for(ye(),G=I.length;G<A.length;G+=1)R(G);Pe()}if(B[0]&53485){E=Object.entries(F[0]);let G;for(G=0;G<E.length;G+=1){const ee=ug(F,E,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=Ig(ee),O[G].c(),M(O[G],1),O[G].m(w,null))}for(ye(),G=E.length;G<O.length;G+=1)H(G);Pe()}(!v||B[0]&16&&m!==(m=!F[4]))&&f(p,"aria-hidden",m)},i(F){if(!v){M(N);for(let B=0;B<I.length;B+=1)M(A[B]);for(let B=0;B<E.length;B+=1)M(O[B]);v=!0}},o(F){z(N),A=A.filter(Boolean);for(let B=0;B<A.length;B+=1)z(A[B]);O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)z(O[B]);v=!1},d(F){F&&T(e),N&&N.d(),dt(A,F),dt(O,F),k=!1,Qe(y)}}}function pg(i){let e,t;return e=new Zk({props:{node:i[11].parent}}),{c(){We(e.$$.fragment)},m(n,l){Be(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){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Xk(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(){return i[20](i[39])}let E=i[40],O=[];for(let F=0;F<E.length;F+=1)O[F]=vg(hg(i,E,F));const H=F=>z(O[F],1,1,()=>{O[F]=null});return{c(){e=C("span"),t=C("div"),n=C("div"),l=C("a"),r=C("span"),o=Ne(s),c=q(),g=C("span"),_=q(),p=C("div"),w=C("nav"),m=C("ul");for(let F=0;F<O.length;F+=1)O[F].c();k=q(),f(r,"class","label fd-tabs__tag svelte-ujogtf"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-ujogtf"),f(l,"class","fd-tabs__link has-child svelte-ujogtf"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=sr(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(w,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-ujogtf"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-ujogtf"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=sr(i[39],i[2]))},m(F,B){L(F,e,B),S(e,t),S(t,n),S(n,l),S(l,r),S(r,o),S(l,c),S(l,g),S(t,_),S(t,p),S(p,w),S(w,m);for(let G=0;G<O.length;G+=1)O[G].m(m,null);S(e,k),N=!0,I||(A=[ae(l,"click",Mt(R)),ae(e,"click",iy)],I=!0)},p(F,B){if(i=F,(!N||B[0]&4097)&&s!==(s=i[12](i[39])+"")&&Ie(o,s),(!N||B[0]&5&&h!==(h=sr(i[39],i[2])))&&f(l,"aria-selected",h),B[0]&49221){E=i[40];let G;for(G=0;G<E.length;G+=1){const ee=hg(i,E,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=vg(ee),O[G].c(),M(O[G],1),O[G].m(m,null))}for(ye(),G=E.length;G<O.length;G+=1)H(G);Pe()}(!N||B[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!N||B[0]&5&&y!==(y=sr(i[39],i[2])))&&f(e,"isselected",y)},i(F){if(!N){for(let B=0;B<E.length;B+=1)M(O[B]);N=!0}},o(F){O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)z(O[B]);N=!1},d(F){F&&T(e),dt(O,F),I=!1,Qe(A)}}}function $k(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=Cg(gg(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(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=gg(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Cg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},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)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function mg(i){let e,t,n=i[43].label&&bg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=bg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function bg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,w;o=new Fi({props:{node:i[43]}});function m(){return i[21](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),h=q(),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(v,k){L(v,e,k),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,h),_=!0,p||(w=ae(t,"click",Mt(m)),p=!0)},p(v,k){i=v,(!_||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!_||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){_||(M(o.$$.fragment,v),_=!0)},o(v){z(o.$$.fragment,v),_=!1},d(v){v&&T(e),He(o),p=!1,w()}}}function vg(i){let e,t,n=!i[43].hideFromNav&&mg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=mg(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function wg(i){let e,t,n=i[43].label&&Sg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=Sg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Sg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,w,m,v;o=new Fi({props:{node:i[43]}});function k(){return i[19](i[43])}return{c(){e=C("span"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),h=q(),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-ujogtf"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,N){L(y,e,N),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,h),w=!0,m||(v=ae(t,"click",Mt(k)),m=!0)},p(y,N){i=y,(!w||N[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const I={};N[0]&1&&(I.node=i[43]),o.$set(I),(!w||N[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!w||N[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g),(!w||N[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-ujogtf"))&&f(e,"class",_),(!w||N[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){w||(M(o.$$.fragment,y),w=!0)},o(y){z(o.$$.fragment,y),w=!1},d(y){y&&T(e),He(o),m=!1,v()}}}function Cg(i){let e,t,n=!i[43].hideFromNav&&wg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=wg(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function kg(i){let e,t,n,l,r,s;const o=[$k,Xk],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(ny).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),L(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe()),~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){z(l),s=!1},d(h){~n&&c[n].d(h),h&&T(r)}}}function xk(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let O=i[40],H=[];for(let B=0;B<O.length;B+=1)H[B]=Pg(fg(i,O,B));const F=B=>z(H[B],1,1,()=>{H[B]=null});return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),s=Ne(r),g=q(),h=C("button"),_=C("i"),m=q(),v=C("ul");for(let B=0;B<H.length;B+=1)H[B].c();y=q(),f(l,"class","fd-nested-list__title svelte-ujogtf"),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=sr(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",w=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-ujogtf"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",k=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(B,G){L(B,e,G),S(e,t),S(t,n),S(n,l),S(l,s),S(t,g),S(t,h),S(h,_),S(e,m),S(e,v);for(let ee=0;ee<H.length;ee+=1)H[ee].m(v,null);S(e,y),N=!0,I||(A=[ae(n,"click",Mt(R)),ae(h,"click",Mt(E))],I=!0)},p(B,G){if(i=B,(!N||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(s,r),(!N||G[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!N||G[0]&5&&c!==(c=sr(i[39],i[2])))&&f(n,"aria-selected",c),(!N||G[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!N||G[0]&9&&w!==(w=i[3][i[39]+i[42]]))&&f(h,"aria-expanded",w),G[0]&49221){O=i[40];let ee;for(ee=0;ee<O.length;ee+=1){const te=fg(i,O,ee);H[ee]?(H[ee].p(te,G),M(H[ee],1)):(H[ee]=Pg(te),H[ee].c(),M(H[ee],1),H[ee].m(v,null))}for(ye(),ee=O.length;ee<H.length;ee+=1)F(ee);Pe()}(!N||G[0]&9&&k!==(k=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",k)},i(B){if(!N){for(let G=0;G<O.length;G+=1)M(H[G]);N=!0}},o(B){H=H.filter(Boolean);for(let G=0;G<H.length;G+=1)z(H[G]);N=!1},d(B){B&&T(e),dt(H,B),I=!1,Qe(A)}}}function ey(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=Ng(cg(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(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=cg(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Ng(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},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)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,w;o=new Fi({props:{node:i[43]}});function m(){return i[25](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),h=q(),f(n,"class","fd-nested-list__title svelte-ujogtf"),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(v,k){L(v,e,k),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,h),_=!0,p||(w=ae(t,"click",Mt(m)),p=!0)},p(v,k){i=v,(!_||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!_||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){_||(M(o.$$.fragment,v),_=!0)},o(v){z(o.$$.fragment,v),_=!1},d(v){v&&T(e),He(o),p=!1,w()}}}function Pg(i){let e,t,n=i[43].label&&yg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=yg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Ng(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,w;o=new Fi({props:{node:i[43]}});function m(){return i[22](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),h=q(),f(n,"class","fd-nested-list__title svelte-ujogtf"),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(v,k){L(v,e,k),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,h),_=!0,p||(w=ae(t,"click",Mt(m)),p=!0)},p(v,k){i=v,(!_||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!_||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){_||(M(o.$$.fragment,v),_=!0)},o(v){z(o.$$.fragment,v),_=!1},d(v){v&&T(e),He(o),p=!1,w()}}}function Ig(i){let e,t,n,l,r;const s=[ey,xk],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=ke()},m(g,h){o[t].m(g,h),L(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?o[t].p(g,h):(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe(),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){z(n),r=!1},d(g){o[t].d(g),g&&T(l)}}}function ty(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&_g(i);return{c(){r&&r.c(),e=ke()},m(s,o){r&&r.m(s,o),L(s,e,o),t=!0,n||(l=[ae(yo,"click",i[8]),ae(yo,"blur",i[8]),ae(yo,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>0&&(s[1][0].topNav===!1||s[1].length>1)?r?(r.p(s,o),o[0]&3&&M(r,1)):(r=_g(s),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){t||(M(r),t=!0)},o(s){z(r),t=!1},d(s){r&&r.d(s),s&&T(e),n=!1,Qe(l)}}}function sr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ny=i=>!i.hideFromNav&&i.label,iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=Se.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:w=!1}=e,{resizeTabNavToggle:m}=e,v,k=gt("getTranslation");Si(i,k,ne=>t(12,n=ne));let y=gt("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:w}),set:ne=>{ne&&Object.getOwnPropertyNames(ne).forEach(x=>{x==="pathData"?t(1,r=ne.pathData):x==="context"?context=ne.context:x==="children"?t(0,l=ne.children):x==="selectedNode"?t(11,h=ne.selectedNode):x==="selectedNodeForTabNav"&&t(2,_=ne.selectedNodeForTabNav)})}},A=Ht();function R(ne){return Se.getNodeLabel(ne)}const E=async()=>{const ne=I.get(),x=await Vt.getTabNavData({...ne},ne);x&&(I.set({...x}),o=r,window.LEFTNAVDATA=x.groupedChildren,setTimeout(O))},O=()=>{H();let ne=document.getElementsByClassName("luigi-tabsContainer")[0],x=document.getElementsByClassName("luigi-tabsMoreButton")[0],me=document.getElementsByClassName("luigi__more")[0],je,Ze=0,pe=!1,qe,mt;me&&me.setAttribute("aria-selected","false"),ne&&(je=ne.offsetWidth,[...ne.children].forEach(vt=>{qe=vt.currentStyle||window.getComputedStyle(vt),mt=parseFloat(qe.marginLeft)+parseFloat(qe.marginRight),Ze+=vt.offsetWidth+mt;let Zt=vt.getAttribute("uid");Ze>=je?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&me.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Zt+'"]').classList.remove("hide_element"),pe=!0):document.querySelector('li[uid="'+Zt+'"]').classList.add("hide_element")}),pe?x.classList.remove("hide_element"):x.classList.add("hide_element"))},H=()=>{let ne=document.getElementsByClassName("luigi-tabsContainer")[0];ne!==void 0&&[...ne.children].forEach(me=>{me.classList.remove("hide_element")})},F=()=>{N=new ResizeObserver(ne=>{for(const x of ne)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",x.contentRect.height+"px")}),setTimeout(()=>{const ne=document.querySelector("#tabsContainer.lui-tabs");ne&&N.observe(ne)})},B=()=>{N&&N.disconnect()};jt(()=>{t(16,c=se.getConfigBooleanValue("settings.hideNavigation")),F(),fn.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Qr(()=>{B(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Hn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),fa(()=>{B(),N?setTimeout(()=>{const ne=document.querySelector("#tabsContainer.lui-tabs");ne&&N.observe(ne)}):F()});function G(ne){return _e.getNodeHref(ne,s)}function ee(ne){Z(),A("handleClick",{node:ne})}function te(ne){let x={};p[ne]||(x[ne]=!0),t(3,p=x)}function Z(){t(3,p={}),t(4,w=!1)}function J(){H(),O()}function j(){t(4,w=!w)}const Y=ne=>ee(ne),be=ne=>te(ne),re=ne=>ee(ne),oe=ne=>ee(ne),Ce=(ne,x)=>te(ne+x),De=(ne,x)=>te(ne+x),ce=ne=>ee(ne),Re=ne=>te(ne.name);return i.$$set=ne=>{"children"in ne&&t(0,l=ne.children),"pathData"in ne&&t(1,r=ne.pathData),"pathParams"in ne&&t(17,s=ne.pathParams),"hideNavComponent"in ne&&t(16,c=ne.hideNavComponent),"virtualGroupPrefix"in ne&&t(5,g=ne.virtualGroupPrefix),"selectedNodeForTabNav"in ne&&t(2,_=ne.selectedNodeForTabNav),"dropDownStates"in ne&&t(3,p=ne.dropDownStates),"isMoreBtnExpanded"in ne&&t(4,w=ne.isMoreBtnExpanded),"resizeTabNavToggle"in ne&&t(18,m=ne.resizeTabNavToggle)},[l,r,_,p,w,g,ee,te,Z,J,j,h,n,k,R,G,c,s,m,Y,be,re,oe,Ce,De,ce,Re]}class sy extends Rt{constructor(e){super(),Et(this,e,ry,ty,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 Tg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Lg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ag(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Eg(i),o=i[0]&&i[3].length>0&&Mg(i);return{c(){e=C("div"),t=C("nav"),n=C("div"),s&&s.c(),l=q(),r=C("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fujm32"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fujm32"),f(e,"class","lui-globalnav svelte-fujm32")},m(c,g){L(c,e,g),S(e,t),S(t,n),s&&s.m(n,null),S(t,l),S(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Eg(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=Mg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),s&&s.d(),o&&o.d()}}}function Eg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vg(Lg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fujm32")},m(l,r){L(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=Lg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vg(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&&T(e),dt(n,l)}}}function Rg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,w,m,v,k,y=i[24].icon&&Dg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=q(),r=C("div"),o=Ne(s),c=q(),g=C("div"),p=q(),f(r,"class","lui-text svelte-fujm32"),f(g,"class","lui-indicator svelte-fujm32"),f(n,"class","lui-fd-nested-list__content svelte-fujm32"),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-fujm32"),f(e,"class",w="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-fujm32"),f(e,"data-testid",m=i[12](i[24]))},m(I,A){L(I,e,A),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,c),S(n,g),S(e,p),v||(k=ae(t,"click",N),v=!0)},p(I,A){i=I,i[24].icon?y?y.p(i,A):(y=Dg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),A&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),A&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),A&3&&w!==(w="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-fujm32")&&f(e,"class",w),A&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,k()}}}function Dg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?oy:ay}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function ay(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fujm32"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(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&&T(e)}}}function oy(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-fujm32")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-fujm32")&&f(e,"class",t)},d(n){n&&T(e)}}}function Vg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Rg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Rg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Mg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ug(Tg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fujm32")},m(l,r){L(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=Tg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ug(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&&T(e),dt(n,l)}}}function Og(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,w,m,v,k,y=i[24].icon&&Fg(i);function N(){return i[19](i[24])}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=q(),r=C("div"),o=Ne(s),c=q(),g=C("div"),p=q(),f(r,"class","lui-text svelte-fujm32"),f(g,"class","lui-indicator svelte-fujm32"),f(n,"class","lui-fd-nested-list__content svelte-fujm32"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-fujm32"),f(e,"class",w="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-fujm32"),f(e,"data-testid",m=i[12](i[24]))},m(I,A){L(I,e,A),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,c),S(n,g),S(e,p),v||(k=ae(n,"click",Mt(N)),v=!0)},p(I,A){i=I,i[24].icon?y?y.p(i,A):(y=Fg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),A&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),A&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),A&3&&w!==(w="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-fujm32")&&f(e,"class",w),A&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,k()}}}function Fg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(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&&T(t)}}}function uy(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fujm32"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(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&&T(e)}}}function fy(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-fujm32")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-fujm32")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ug(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Og(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Og(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function cy(i){let e,t,n,l=i[2]&&Ag(i);return{c(){l&&l.c(),e=ke()},m(r,s){l&&l.m(r,s),L(r,e,s),t||(n=[ae(window,"click",ua),ae(window,"blur",ua)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ag(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&&T(e),t=!1,Qe(n)}}}function ua(){}function dy(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=gt("store"),_=gt("getTranslation");Si(i,_,B=>t(7,n=B));let{showGlobalNav:p}=e,{hideNavComponent:w}=e,{responsiveNavSetting:m}=e,v=se.getConfigBooleanValue("navigation.addNavHrefs");const k=async()=>{if(r&&0<r.length){const B=await Se.generateTopNavNodes(r);t(0,c=B.children),t(1,g=B.selectedNode),s=r}};jt(()=>{fn.doOnStoreChange(h,()=>{t(14,w=se.getConfigBooleanValue("settings.hideNavigation")),t(15,m=se.getConfigValue("settings.responsiveNavigation")),t(2,p=se.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Hn(()=>{(!s||s!=r)&&k(),t(6,v=se.getConfigBooleanValue("navigation.addNavHrefs"))});function y(B){return Se.renderIconClassName(B)}function N(B){return Se.isOpenUIiconName(B.icon)}function I(B){return pt.getTranslation(B.label)}function A(B){return B.testId?B.testId:Se.prepareForTests(B.pathSegment,B.label)}function R(B){return _e.getNodeHref(B,o)}function E(B){l("handleClick",{node:B})}function O(B){E(B.detail.node)}const H=(B,G)=>{Se.handleNavAnchorClickedWithoutMetaKey(G)&&E(B)},F=B=>E(B);return i.$$set=B=>{"pathData"in B&&t(3,r=B.pathData),"pathParams"in B&&t(16,o=B.pathParams),"children"in B&&t(0,c=B.children),"selectedNode"in B&&t(1,g=B.selectedNode),"showGlobalNav"in B&&t(2,p=B.showGlobalNav),"hideNavComponent"in B&&t(14,w=B.hideNavComponent),"responsiveNavSetting"in B&&t(15,m=B.responsiveNavSetting)},[c,g,p,r,E,ua,v,n,_,y,N,I,A,R,w,m,o,O,H,F]}class hy extends Rt{constructor(e){super(),Et(this,e,dy,cy,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 ua}}function gy(i){let e;return{c(){e=C("div"),f(e,"class","lui-breadcrumb-container svelte-1am2yjm")},m(t,n){L(t,e,n),i[4](e)},p:Fe,i:Fe,o:Fe,d(t){t&&T(e),i[4](null)}}}function _y(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,c=gt("store"),{showBreadcrumb:g}=e;se.getConfigBooleanValue("navigation.addNavHrefs");const h=async()=>{l&&0<l.length&&(r=l)},_=v=>{v.last||w(v.node)};jt(()=>{fn.doOnStoreChange(c,()=>{},["navigation"])}),Hn(async()=>{if(l&&(!r||r!=l)){if(h(),l.length===0)return;const v=se.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(k=>{k.showBreadcrumbs===!1?t(1,g=!1):k.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(se.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let k=[];const y=v.omitRoot?2:1,N=xe.getCurrentPath();for(let I=y;I<l.length;I++){const A=l[I],R=_e.mapPathToNode(N,A);if(s[R])k.push(s[R]);else if(A.label||A.pathSegment||A.titleResolver)if(document.body.classList.add("lui-breadcrumb"),A.titleResolver)k.push({label:A.titleResolver.prerenderFallback&&A.titleResolver.fallbackTitle?pt.getTranslation(A.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:A,route:R,pending:!0});else{const E=await p(A);E&&k.push({label:E,node:A,route:R})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,k,_),k=[];for(let I=y;I<l.length;I++){const A=l[I],R=_e.mapPathToNode(N,A);if(A.titleResolver){const O=await Vt.extractDataFromPath(R),H=_e.substituteDynamicParamsInObject(Object.assign({},O.pathData.context,A.context),O.pathData.pathParams);try{const F=await Se.fetchNodeTitleData(A,H);k.push({label:F.label,node:A,route:R});continue}catch{}}const E=await p(A);E&&k.push({label:E,node:A,route:R})}N===xe.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),k.length>1?(k[k.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,k,_)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},k.map(I=>{s[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return pt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const k=_e.mapPathToNode(xe.getCurrentPath(),v),y=await Vt.extractDataFromPath(k);return _e.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function w(v){n("handleClick",{node:v})}function m(v){tt[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,w,m]}class py extends Rt{constructor(e){super(),Et(this,e,_y,gy,Tt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Lo="not_checked";Ln.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Lo="disabled"):i.data==="luigi.tpcEnabled"&&(Lo="enabled")},!1);function my(){return Lo}const{Boolean:by,window:Bg}=ul;function Hg(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Wg(i){let e,t;return e=new w2({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[35]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function zg(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 b_({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&134217728&&(c.settings=i[147].mfModal.settings),o[0]&134217728&&(c.nodepath=i[147].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(s){t||(M(e.$$.fragment,s),t=!0)},o(s){z(e.$$.fragment,s),t=!1},d(s){He(e,s)}}}function qg(i){let e,t,n=i[147].mfModal.displayed&&zg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[147].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&M(n,1)):(n=zg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Gg(i){let e,t;return e=new b_({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[vy]},$$scope:{ctx:i}}}),e.$on("close",i[43]),e.$on("drawerState",i[42]),e.$on("iframeCreated",i[40]),e.$on("wcCreated",i[41]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[4]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function vy(i){let e,t;return e=new Xr({props:{area:"drawer",disable:i[12]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Kg(i){let e,t;return e=new P2({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function jg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new W2({props:r}),tt.push(()=>It(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};o[0]&131072&&(c.userSettingGroups=s[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=s[5],Nt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function Jg(i){let e,t;return e=new J2({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[31]),e.$on("statusChanged",i[32]),e.$on("wcCreated",i[33]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function wy(i){let e,t,n,l,r,s,o,c,g;t=new Xr({props:{area:"main",disable:i[12]}});let h=i[11].displayed&&Jg(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),r=q(),h&&h.c(),s=ke(),f(l,"class","wcContainer svelte-ujrqb3"),f(e,"class","fd-page iframeContainer svelte-ujrqb3"),f(e,"tabindex","0"),mi(e,"lui-split-view",i[11].displayed),mi(e,"lui-collapsed",i[11].collapsed)},m(_,p){L(_,e,p),Be(t,e,null),S(e,n),S(e,l),L(_,r,p),h&&h.m(_,p),L(_,s,p),o=!0,c||(g=cw(i[44].call(null,e)),c=!0)},p(_,p){const w={};p[0]&4096&&(w.disable=_[12]),t.$set(w),(!o||p[0]&2048)&&mi(e,"lui-split-view",_[11].displayed),(!o||p[0]&2048)&&mi(e,"lui-collapsed",_[11].collapsed),_[11].displayed?h?(h.p(_,p),p[0]&2048&&M(h,1)):(h=Jg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(ye(),z(h,1,1,()=>{h=null}),Pe())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){z(t.$$.fragment,_),z(h),o=!1},d(_){_&&T(e),He(t),_&&T(r),h&&h.d(_),_&&T(s),c=!1,g()}}}function Yg(i){let e;return{c(){e=C("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-ujrqb3" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-ujrqb3"></div>
56
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function ah(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(th(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&4542){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=th(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(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){dt(n,l),l&&A(e)}}}function gC(i){return{c:Oe,m:Oe,p:Oe,d:Oe}}function _C(i){let e,t,n,l,r;function s(h,_){return h[2]?mC:pC}let o=s(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=C("li"),c.c(),n=z(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=de.getTestId(i[20]))},m(h,_){E(h,e,_),c.m(e,null),E(h,n,_),l||(r=ae(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))),_&8&&t!==(t=de.getTestId(i[20]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function pC(i){let e,t,n=i[25]+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",s="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(h,_){E(h,e,_),S(e,t),S(t,l),c||(g=ae(e,"click",i[15]),c=!0)},p(h,_){_&138&&n!==(n=h[25]+"")&&Te(l,n),_&264&&r!==(r=h[8](h[20]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[25]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[25])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function mC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function bC(i){return{c:Oe,m:Oe,p:Oe,d:Oe}}function oh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:bC,then:_C,catch:gC,value:25};return na(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&na(t,n)||s_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(eh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&10497){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]=ch(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&&A(e),dt(n,l)}}}function fh(i){let e,t,n,l=i[13](i[20].label)+"",r,s,o,c,g,h;function _(){return i[18](i[20])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=de.getTestId(i[20]))},m(p,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",i[17]),ae(e,"click",_)],g=!0)},p(p,v){i=p,v&8193&&l!==(l=i[13](i[20].label)+"")&&Te(r,l),v&257&&s!==(s=i[8](i[20]))&&f(t,"href",s),v&1&&c!==(c=de.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function ch(i){let e,t=i[20].position==="bottom"&&fh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=fh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function vC(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&ih(i),c=i[3]&&i[3].length===0&&i[10]&&sh(),g=i[3]&&i[3].length&&ah(i),h=i[0]&&i[0].length&&uh(i);return{c(){e=C("nav"),o&&o.c(),t=z(),n=C("ul"),c&&c.c(),l=z(),g&&g.c(),r=z(),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-3pems2")},m(_,p){E(_,e,p),o&&o.m(e,null),S(e,t),S(e,n),c&&c.m(n,null),S(n,l),g&&g.m(n,null),S(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=ih(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[10]?c||(c=sh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=ah(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=uh(_),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-3pems2")&&f(e,"class",s)},i:Oe,o:Oe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const wC=()=>{};function SC(i,e,t){let n,l=Oe,r=()=>(l(),l=Ao(w,L=>t(13,n=L)),w);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:v}=e,{getRouteLink:m}=e,{getTranslation:w}=e;r();let{isContextSwitcherDropdownShown:k}=e;const y=zt();function N(L){y("onActionClick",{node:L})}function T(L,K){y("goToOption",{option:L,selectedOption:K})}const R=L=>N(L),D=L=>{de.handleNavAnchorClickedWithoutMetaKey(L)},I=L=>T(L,_),U=L=>{de.handleNavAnchorClickedWithoutMetaKey(L)},B=L=>N(L);return i.$$set=L=>{"actions"in L&&t(0,s=L.actions),"config"in L&&t(1,o=L.config),"customOptionsRenderer"in L&&t(2,c=L.customOptionsRenderer),"options"in L&&t(3,g=L.options),"selectedLabel"in L&&t(4,h=L.selectedLabel),"selectedOption"in L&&t(5,_=L.selectedOption),"isMobile"in L&&t(6,p=L.isMobile),"getNodeName"in L&&t(7,v=L.getNodeName),"getRouteLink"in L&&t(8,m=L.getRouteLink),"getTranslation"in L&&r(t(9,w=L.getTranslation)),"isContextSwitcherDropdownShown"in L&&t(10,k=L.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,v,m,w,k,N,T,n,R,D,I,U,B]}class y_ extends Rt{constructor(e){super(),Et(this,e,SC,vC,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function dh(i){let e,t,n,l=!i[9]&&hh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&gh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[9]?l&&(ye(),W(l,1,1,()=>{l=null}),Pe()):l?(l.p(s,o),o[0]&512&&O(l,1)):(l=hh(s),l.c(),O(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&O(r,1)):(r=gh(s),r.c(),O(r,1),r.m(t.parentNode,t)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){n||(O(l),O(r),n=!0)},o(s){W(l),W(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function hh(i){let e,t,n,l,r,s,o,c,g,h;function _(m,w){return m[10]&&m[2]!==m[5].defaultLabel?kC:CC}let p=_(i),v=p(i);return s=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),v.c(),l=z(),r=C("div"),We(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,w){E(m,e,w),S(e,t),S(t,n),v.m(n,null),S(t,l),S(t,r),Be(s,r,null),c=!0,g||(h=ae(n,"click",Bt(DC)),g=!0)},p(m,w){p===(p=_(m))&&v?v.p(m,w):(v.d(1),v=p(m),v&&(v.c(),v.m(n,null)));const k={};w[0]&1&&(k.actions=m[0]),w[0]&32&&(k.config=m[5]),w[0]&64&&(k.customOptionsRenderer=m[6]),w[0]&2&&(k.options=m[1]),w[0]&16&&(k.selectedLabel=m[4]),w[0]&4&&(k.selectedOption=m[2]),w[0]&512&&(k.isMobile=m[9]),w[0]&16384&&(k.isContextSwitcherDropdownShown=m[14]),s.$set(k),(!c||w[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(O(s.$$.fragment,m),c=!0)},o(m){W(s.$$.fragment,m),c=!1},d(m){m&&A(e),v.d(),He(s),g=!1,h()}}}function CC(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?PC:yC}let c=o(i),g=c(i);return{c(){e=C("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-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=ae(e,"click",i[29]),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&&A(e),g.d(),r=!1,s()}}}function kC(i){let e,t,n,l,r,s,o;function c(_,p){return _[2]&&_[7]?LC:TC}let g=c(i),h=g(i);return{c(){e=C("a"),h.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){E(_,e,p),h.m(e,null),s||(o=ae(e,"click",Mt(i[28])),s=!0)},p(_,p){g===(g=c(_))&&h?h.p(_,p):(h.d(1),h=g(_),h&&(h.c(),h.m(e,null))),p[0]&4&&t!==(t=_[2]?_[19](_[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&A(e),h.d(),s=!1,o()}}}function yC(i){let e,t;function n(s,o){return s[4]?NC:IC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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&&A(e),s&&A(t)}}}function PC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function NC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&A(e)}}}function IC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&A(t)}}}function TC(i){let e,t;function n(s,o){return s[4]?AC:EC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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&&A(e),s&&A(t)}}}function LC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function AC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&A(e)}}}function EC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&A(t)}}}function gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y,N,T=!i[4]&&_h(i),R=i[4]&&ph(i);return h=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[11]),h.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),T&&T.c(),o=z(),R&&R.c(),c=z(),g=C("div"),We(h.$$.fragment),_=z(),p=C("footer"),v=C("div"),m=C("div"),w=C("button"),w.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(w,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(w,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(v,"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(D,I){E(D,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),T&&T.m(s,null),S(s,o),R&&R.m(s,null),S(t,c),S(t,g),Be(h,g,null),S(t,_),S(t,p),S(p,v),S(v,m),S(m,w),k=!0,y||(N=[ae(w,"click",i[13]),ae(e,"click",Bt(VC))],y=!0)},p(D,I){D[4]?T&&(T.d(1),T=null):T?T.p(D,I):(T=_h(D),T.c(),T.m(s,o)),D[4]?R?R.p(D,I):(R=ph(D),R.c(),R.m(s,null)):R&&(R.d(1),R=null);const U={};I[0]&1&&(U.actions=D[0]),I[0]&32&&(U.config=D[5]),I[0]&64&&(U.customOptionsRenderer=D[6]),I[0]&2&&(U.options=D[1]),I[0]&16&&(U.selectedLabel=D[4]),I[0]&4&&(U.selectedOption=D[2]),I[0]&512&&(U.isMobile=D[9]),I[0]&16384&&(U.isContextSwitcherDropdownShown=D[14]),h.$set(U)},i(D){k||(O(h.$$.fragment,D),k=!0)},o(D){W(h.$$.fragment,D),k=!1},d(D){D&&A(e),T&&T.d(),R&&R.d(),He(h),y=!1,Ze(N)}}}function _h(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&A(t)}}}function ph(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&A(e)}}}function RC(i){let e,t,n=i[3]&&dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&O(n,1)):(n=dh(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const DC=()=>{},VC=()=>{};function MC(i,e,t){let n,l;const r=zt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:v}=e,{fallbackLabelResolver:m=null}=e,{pathParams:w}=e,{customOptionsRenderer:k}=e,{customSelectedOptionRenderer:y}=e,{isMobile:N}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:R}=e,D,I=gt("getUnsavedChangesModalPromise"),U=gt("store"),B=gt("getTranslation");bi(i,B,ue=>t(16,l=ue));let L=!1,{addNavHrefForAnchor:K}=e,G;Yt(async()=>{fn.doOnStoreChange(U,async()=>{const ue=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ue),!!s&&(t(6,k=le.isFunction(ue.customOptionsRenderer)?ue.customOptionsRenderer:void 0),t(7,y=le.isFunction(ue.customSelectedOptionRenderer)?ue.customSelectedOptionRenderer:void 0),t(5,g=ue),t(1,_=void 0),ue)){t(27,p=ue.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ie=xe.getCurrentPath();t(20,m=ue.fallbackLabelResolver),gn.resetFallbackLabelCache(),ue.lazyloadOptions||await Q(),gn.isContextSwitcherDetailsView(Ie,ue.parentNodePath)&&await Y(Ie)}},["navigation.contextSwitcher"]),pe.addRouteChangeListener(ue=>Y(ue)),In.addEventListener("message",ue=>{Le.getValidMessageSource(ue)&&ue.data&&ue.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),Q())}),t(21,R=g.defaultLabel)}),Un(()=>{L!==T&&(L=T,Q()),t(14,G=o.contextSwitcherPopover||!1)});function x(ue,Ie,Fe){return ue?Promise.resolve(ue):gn.getFallbackLabel(Ie,Fe)}function ee(ue){return pe.getNodeHref(ue,w)}async function Q(){t(1,_=await gn.fetchOptions(_));const ue=g||{},Ie=ue.parentNodePath,Fe=ue.fallbackLabelResolver,ne=xe.getCurrentPath();t(2,v=await gn.getSelectedOption(ne,_,Ie)),t(4,c=await gn.getSelectedLabel(ne,_,Ie,Fe)),await gn.getSelectedNode(ne,_,Ie),D=ue.preserveSubPathOnSwitch}async function Y(ue){const Ie=g||{},Fe=Ie.parentNodePath,ne=Ie.fallbackLabelResolver;t(2,v=await gn.getSelectedOption(ue,_,Fe)),t(4,c=await gn.getSelectedLabel(ue,_,Fe,ne)),await gn.getSelectedNode(ue,_,Fe)}async function j(ue){let Ie=ue.detail.node;Ie.clickHandler&&!await Ie.clickHandler(Ie)||(setTimeout(()=>{J(Ie.link)}),N&&r("toggleDropdownState"))}function J(ue){I().then(()=>{xe.navigateTo(ue)},()=>{})}function we(ue){let Ie=ue.detail.option,Fe=ue.detail.selectedOption;I().then(()=>{D&&Fe?xe.navigateTo(gn.getNodePathFromCurrentPath(Ie,Fe)):xe.navigateTo(Ie.link),N&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Q()}const oe=()=>{n&&ie()},Ce=()=>{n&&ie()};return i.$$set=ue=>{"contextSwitcherEnabled"in ue&&t(3,s=ue.contextSwitcherEnabled),"dropDownStates"in ue&&t(8,o=ue.dropDownStates),"selectedLabel"in ue&&t(4,c=ue.selectedLabel),"config"in ue&&t(5,g=ue.config),"actions"in ue&&t(0,h=ue.actions),"options"in ue&&t(1,_=ue.options),"selectedOption"in ue&&t(2,v=ue.selectedOption),"fallbackLabelResolver"in ue&&t(20,m=ue.fallbackLabelResolver),"pathParams"in ue&&t(22,w=ue.pathParams),"customOptionsRenderer"in ue&&t(6,k=ue.customOptionsRenderer),"customSelectedOptionRenderer"in ue&&t(7,y=ue.customSelectedOptionRenderer),"isMobile"in ue&&t(9,N=ue.isMobile),"contextSwitcherToggle"in ue&&t(23,T=ue.contextSwitcherToggle),"defaultLabel"in ue&&t(21,R=ue.defaultLabel),"addNavHrefForAnchor"in ue&&t(10,K=ue.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||h&&h.length>0||_&&_.length>1||!v)},[h,_,v,s,c,g,k,y,o,N,K,j,we,ie,G,n,l,B,x,ee,m,R,w,T,Q,Y,J,p,oe,Ce]}class P_ extends Rt{constructor(e){super(),Et(this,e,MC,RC,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:OC}=ul;function mh(i,e,t){const n=i.slice();return n[22]=e[t],n}function bh(i){let e,t,n,l=!i[2]&&vh(i),r=i[2]&&i[3].productSwitcherPopover&&yh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=vh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&O(r,1)):(r=yh(s),r.c(),O(r,1),r.m(t.parentNode,t)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){n||(O(r),n=!0)},o(s){W(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function vh(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y;function N(U,B){return B&2&&(s=null),s==null&&(s=!!U[11](U[1])),s?UC:FC}let T=N(i,-1),R=T(i),D=i[0],I=[];for(let U=0;U<D.length;U+=1)I[U]=kh(mh(i,D,U));return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),R.c(),h=z(),_=C("div"),p=C("div"),v=C("ul");for(let U=0;U<I.length;U+=1)I[U].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(v,"class","fd-product-switch__list"),f(p,"class",m=Yn(i[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",w=!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(U,B){E(U,e,B),S(e,t),S(t,n),S(n,l),S(l,r),R.m(r,null),S(n,h),S(n,_),S(_,p),S(p,v);for(let L=0;L<I.length;L+=1)I[L].m(v,null);k||(y=[ae(r,"click",Bt(i[7])),ae(l,"click",Bt(jC))],k=!0)},p(U,B){if(T===(T=N(U,B))&&R?R.p(U,B):(R.d(1),R=T(U),R&&(R.c(),R.m(r,null))),B&8&&o!==(o=U[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),B&2&&c!==(c=U[1].label)&&f(r,"title",c),B&2&&g!==(g=U[14](U[1]))&&f(r,"data-testid",g),B&64561){D=U[0];let L;for(L=0;L<D.length;L+=1){const K=mh(U,D,L);I[L]?I[L].p(K,B):(I[L]=kh(K),I[L].c(),I[L].m(v,null))}for(;L<I.length;L+=1)I[L].d(1);I.length=D.length}B&512&&m!==(m=Yn(U[9])+" svelte-156h3yc")&&f(p,"class",m),B&8&&w!==(w=!U[3].productSwitcherPopover)&&f(_,"aria-hidden",w)},d(U){U&&A(e),R.d(),dt(I,U),k=!1,Ze(y)}}}function FC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function UC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function wh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?HC:BC}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=C("li"),g.c(),t=z(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){E(_,e,p),g.m(e,null),S(e,t),r||(s=ae(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(_){_&&A(e),g.d(),r=!1,s()}}}function BC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(m,w){return w&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?zC:WC}let _=h(i,-1),p=_(i),v=g&&Sh(i);return{c(){e=C("div"),p.c(),n=z(),l=C("div"),r=C("div"),o=Ne(s),c=z(),v&&v.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,w){E(m,e,w),p.m(e,null),E(m,n,w),E(m,l,w),S(l,r),S(r,o),S(l,c),v&&v.m(l,null)},p(m,w){_===(_=h(m,w))&&p?p.p(m,w):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),w&1&&s!==(s=m[12](m[22])+"")&&Te(o,s),w&1&&(g=m[13](m[22])),g?v?v.p(m,w):(v=Sh(m),v.c(),v.m(l,null)):v&&(v.d(1),v=null)},d(m){m&&A(e),p.d(),m&&A(n),m&&A(l),v&&v.d()}}}function HC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,v;function m(N,T){return T&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?GC:qC}let w=m(i,-1),k=w(i),y=h&&Ch(i);return{c(){e=C("a"),t=C("div"),k.c(),l=z(),r=C("div"),s=C("div"),c=Ne(o),g=z(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),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(N,T){E(N,e,T),S(e,t),k.m(t,null),S(e,l),S(e,r),S(r,s),S(s,c),S(r,g),y&&y.m(r,null),p||(v=ae(e,"click",i[16]),p=!0)},p(N,T){w===(w=m(N,T))&&k?k.p(N,T):(k.d(1),k=w(N),k&&(k.c(),k.m(t,null))),T&1&&o!==(o=N[12](N[22])+"")&&Te(c,o),T&1&&(h=N[13](N[22])),h?y?y.p(N,T):(y=Ch(N),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),k.d(),y&&y.d(),p=!1,v()}}}function WC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function zC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){E(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-156h3yc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Sh(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&A(e)}}}function qC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function GC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){E(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-156h3yc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&A(e)}}}function kh(i){let e,t=i[22].label&&wh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=wh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function yh(i){let e,t;return e=new C_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){We(e.$$.fragment)},m(n,l){Be(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||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function KC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&bh(i);return{c(){s&&s.c(),t=ke()},m(o,c){s&&s.m(o,c),E(o,t,c),n=!0,l||(r=ae(OC,"resize",oa),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&&O(s,1)):(s=bh(o),s.c(),O(s,1),s.m(t.parentNode,t)):s&&(ye(),W(s,1,1,()=>{s=null}),Pe())},i(o){n||(O(s),n=!0)},o(o){W(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function oa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const jC=()=>{};function JC(i,e,t){const n=zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=gt("store"),g=gt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Yt(async()=>{fn.doOnStoreChange(c,async()=>{t(1,s=de.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),T()),oa()},["navigation.productSwitcher"])});function p(B){g().then(()=>{xe.navigateToLink(B)},()=>{}),m()}function v(B){p(B.detail)}function m(){n("toggleDropdownState")}function w(B){return de.renderIconClassName(B)}function k(B){return de.isOpenUIiconName(B.icon)}function y(B){return pt.getTranslation(B.label)}function N(B){return pt.getTranslation(B.subTitle)}function T(){de.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function R(B){return B.testId?B.testId:de.prepareForTests(B.label)}function D(B){return pe.getNodeHref(B)}const I=B=>{de.handleNavAnchorClickedWithoutMetaKey(B)},U=B=>p(B);return i.$$set=B=>{"productSwitcherItems"in B&&t(0,l=B.productSwitcherItems),"isMobile"in B&&t(2,r=B.isMobile),"config"in B&&t(1,s=B.config),"dropDownStates"in B&&t(3,o=B.dropDownStates),"addNavHrefForAnchor"in B&&t(4,_=B.addNavHrefForAnchor)},[l,s,r,o,_,p,v,m,oa,h,w,k,y,N,R,D,I,U]}class N_ extends Rt{constructor(e){super(),Et(this,e,JC,KC,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 oa}}function Ph(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function YC(i){let e,t,n;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){E(l,e,r),i[18](e),e.focus(),t||(n=ae(e,"keyup",i[17]),t=!0)},p:Oe,d(l){l&&A(e),i[18](null),t=!1,n()}}}function QC(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){E(t,e,n),e.focus()},p:Oe,d(t){t&&A(e)}}}function ZC(i){let e;return{c(){e=C("div")},m(t,n){E(t,e,n),i[22](e)},p:Oe,d(t){t&&A(e),i[22](null)}}}function XC(i){let e,t,n,l=i[5]&&Nh(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu svelte-ethf4i"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-ethf4i"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Nh(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&&A(e),l&&l.d()}}}function Nh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ih(Ph(i,t,l));return{c(){e=C("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){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ph(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&&A(e),dt(n,l),i[21](null)}}}function $C(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function xC(i){let e,t,n,l=i[30].label+"",r,s,o,c=i[30].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=z(),o=C("div"),g=Ne(c),f(n,"class","fd-product-switch__title svelte-ethf4i"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-ethf4i")},m(p,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(tk)),h=!0)},p(p,v){v[0]&32&&l!==(l=p[30].label+"")&&Te(r,l),v[0]&32&&c!==(c=p[30].description+"")&&Te(g,c)},d(p){p&&A(e),h=!1,_()}}}function Ih(i){let e,t,n,l;function r(h,_){return h[9]?$C:xC}let s=r(i),o=s(i);function c(...h){return i[19](i[30],...h)}function g(...h){return i[20](i[30],...h)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-ethf4i"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(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&&A(e),o.d(),n=!1,Ze(l)}}}function ek(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w;function k(I,U){return I[7]&&I[7].disableInputHandlers?QC:YC}let y=k(i),N=y(i);function T(I,U){return I[8]?ZC:XC}let R=T(i),D=R(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),N.c(),r=z(),D.c(),c=z(),g=C("div"),h=C("div"),_=C("button"),p=C("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-ethf4i"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-ethf4i"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i"),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",v=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(I,U){E(I,e,U),S(e,t),S(t,n),S(n,l),N.m(l,null),S(n,r),D.m(n,null),E(I,c,U),E(I,g,U),S(g,h),S(h,_),S(_,p),m||(w=[ae(window,"click",i[11]),ae(window,"blur",i[11]),ae(n,"click",Bt(nk)),ae(_,"click",i[6]),ae(h,"click",Bt(ik))],m=!0)},p(I,U){y===(y=k(I))&&N?N.p(I,U):(N.d(1),N=y(I),N&&(N.c(),N.m(l,null))),R===(R=T(I))&&D?D.p(I,U):(D.d(1),D=R(I),D&&(D.c(),D.m(n,null))),U[0]&16&&s!==(s=!I[4])&&f(n,"aria-hidden",s),U[0]&16&&o!==(o="fd-shellbar__action "+(I[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i")&&f(e,"class",o),U[0]&16&&v!==(v=!I[4])&&f(_,"aria-expanded",v)},i:Oe,o:Oe,d(I){I&&A(e),N.d(),D.d(),I&&A(c),I&&A(g),m=!1,Ze(w)}}}const tk=()=>{},nk=()=>{},ik=()=>{};function lk(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=zt(),_={fireItemSelected:J=>{p.searchProvider.onSearchResultItemSelected(J)}};let p={},v,m;Yt(async()=>{t(7,p=g);let J=s;const we=k(p.searchProvider);we&&(J.placeholder=we),w()}),Un(()=>{t(7,p=g),w()});function w(){p.searchProvider&&(t(8,v=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function k(J){if(!J||!J.inputPlaceholder)return;const we=pt.getCurrentLocale();if(le.isFunction(J.inputPlaceholder))return J.inputPlaceholder();if(typeof J.inputPlaceholder=="string"){const ie=pt.getTranslation(J.inputPlaceholder);return ie&&ie.trim().length>0?ie:J.inputPlaceholder}if(typeof J.inputPlaceholder=="object")return J.inputPlaceholder[we]}function y(J,we,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(J,we.children[ie],_)}),""}function N(){h("closeSearchResult")}function T({keyCode:J}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&J===mi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&J===pi?p.searchProvider.onEscape():J===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function R(J){let we=c.children;if(we)for(let ie=0;ie<we.length;ie++){let{childNodes:oe,nextSibling:Ce,previousSibling:ue}=we[ie],Ie;if(oe[0].getAttribute("aria-selected")==="true"){J===Mi&&(Ie=Ce!==null?Ce:we[0]),J===El&&(Ie=ue!==null?ue:we[we.length-1]),oe[0].setAttribute("aria-selected","false"),Ie.childNodes[0].setAttribute("aria-selected","true"),Ie.focus();break}}}function D(){let J=c.children;if(J)for(let we=0;we<J.length;we++){let ie=J[we];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function I(J){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(J):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===pi&&p.searchProvider.onEscape()}function U(J,{keyCode:we}){we===mi&&p.searchProvider.onSearchResultItemSelected(J),we===El||we===Mi?R(we):le.isFunction(p.searchProvider.onEscape)&&we===pi&&(D(),setTimeout(()=>{s.focus()}),p.searchProvider.onEscape())}function B(J){let we=J.pathObject;we.externalLink?xe.navigateToLink(we):h("handleSearchNavigation",{node:we})}function L(){s&&s.focus()}function K(){if(n?t(0,r=!1):setTimeout(()=>{L()}),h("toggleSearch",{isSearchFieldVisible:n,inputElem:s,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const J=n===void 0?!0:!n;p.searchProvider.toggleSearch(s,J)}}const G=J=>T(J);function x(J){tt[J?"unshift":"push"](()=>{s=J,t(1,s)})}const ee=(J,we)=>I(J),Q=(J,we)=>U(J,we);function Y(J){tt[J?"unshift":"push"](()=>{c=J,t(3,c)})}function j(J){tt[J?"unshift":"push"](()=>{o=J,t(2,o)})}return i.$$set=J=>{"isSearchFieldVisible"in J&&t(4,n=J.isSearchFieldVisible),"searchResult"in J&&t(5,l=J.searchResult),"displaySearchResult"in J&&t(0,r=J.displaySearchResult),"inputElem"in J&&t(1,s=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(2,o=J.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in J&&t(3,c=J.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in J&&t(15,g=J.globalSearchConfig)},[r,s,o,c,n,l,K,p,v,m,y,N,T,I,U,g,B,G,x,ee,Q,Y,j]}class rk extends Rt{constructor(e){super(),Et(this,e,lk,ek,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function Th(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function sk(i){let e,t,n,l,r,s,o,c=i[11]&&Lh(i);return{c(){e=C("input"),t=z(),n=C("span"),c&&c.c(),l=z(),r=C("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-y7ufaq"),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-y7ufaq"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-y7ufaq")},m(g,h){E(g,e,h),i[25](e),E(g,t,h),E(g,n,h),c&&c.m(n,null),S(n,l),S(n,r),s||(o=[ae(e,"keyup",i[24]),ae(e,"input",i[26]),ae(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Lh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[25](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Ze(o)}}}function ak(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-y7ufaq"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Oe,d(t){t&&A(e)}}}function Lh(i){let e,t,n;return{c(){e=C("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-y7ufaq"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-y7ufaq")},m(l,r){E(l,e,r),t||(n=ae(e,"click",i[19]),t=!0)},p:Oe,d(l){l&&A(e),t=!1,n()}}}function ok(i){let e;return{c(){e=C("div")},m(t,n){E(t,e,n),i[30](e)},p:Oe,d(t){t&&A(e),i[30](null)}}}function uk(i){let e,t,n,l=i[4]&&Ah(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-y7ufaq"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Ah(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&&A(e),l&&l.d()}}}function Ah(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eh(Th(i,t,l));return{c(){e=C("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){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[29](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Th(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eh(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&&A(e),dt(n,l),i[29](null)}}}function fk(i){let e,t=i[14](i[39],i[3],i[41])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function ck(i){let e,t,n,l=i[39].label+"",r,s,o,c=i[39].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=z(),o=C("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,v){E(p,e,v),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(hk)),h=!0)},p(p,v){v[0]&16&&l!==(l=p[39].label+"")&&Te(r,l),v[0]&16&&c!==(c=p[39].description+"")&&Te(g,c)},d(p){p&&A(e),h=!1,_()}}}function Eh(i){let e,t,n,l;function r(h,_){return h[10]?fk:ck}let s=r(i),o=s(i);function c(...h){return i[27](i[39],...h)}function g(...h){return i[28](i[39],...h)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-y7ufaq"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(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&&A(e),o.d(),n=!1,Ze(l)}}}function Rh(i){let e,t,n,l,r,s,o;return{c(){e=C("div"),t=C("div"),n=C("button"),l=C("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-y7ufaq")},m(c,g){E(c,e,g),S(e,t),S(t,n),S(n,l),s||(o=[ae(n,"click",i[6]),ae(t,"click",Bt(_k))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Ze(o)}}}function Dh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-y7ufaq"),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-y7ufaq")},m(g,h){E(g,e,h),S(e,t),S(t,l),o||(c=ae(t,"click",Bt(i[31])),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-y7ufaq")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function dk(i){let e,t,n,l,r,s,o,c,g,h,_,p;function v(D,I){return D[8]&&D[8].disableInputHandlers?ak:sk}let m=v(i),w=m(i);function k(D,I){return D[9]?ok:uk}let y=k(i),N=y(i),T=!i[5]&&Rh(i),R=i[5]&&Dh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),w.c(),r=z(),N.c(),c=z(),T&&T.c(),g=z(),R&&R.c(),h=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-y7ufaq"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-y7ufaq"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-y7ufaq"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")},m(D,I){E(D,e,I),S(e,t),S(t,n),S(n,l),w.m(l,null),S(n,r),N.m(n,null),E(D,c,I),T&&T.m(D,I),E(D,g,I),R&&R.m(D,I),E(D,h,I),_||(p=[ae(window,"click",i[15]),ae(window,"blur",i[15]),ae(n,"click",Bt(gk))],_=!0)},p(D,I){m===(m=v(D))&&w?w.p(D,I):(w.d(1),w=m(D),w&&(w.c(),w.m(l,null))),y===(y=k(D))&&N?N.p(D,I):(N.d(1),N=y(D),N&&(N.c(),N.m(n,null))),I[0]&32&&s!==(s=!D[5])&&f(n,"aria-hidden",s),I[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(D[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")&&f(e,"class",o),D[5]?T&&(T.d(1),T=null):T?T.p(D,I):(T=Rh(D),T.c(),T.m(g.parentNode,g)),D[5]?R?R.p(D,I):(R=Dh(D),R.c(),R.m(h.parentNode,h)):R&&(R.d(1),R=null)},i:Oe,o:Oe,d(D){D&&A(e),w.d(),N.d(),D&&A(c),T&&T.d(D),D&&A(g),R&&R.d(D),D&&A(h),_=!1,Ze(p)}}}const hk=()=>{},gk=()=>{},_k=()=>{};function pk(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=zt(),_={fireItemSelected:te=>{m.searchProvider.onSearchResultItemSelected(te)}};let p=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,m={},w,k,y=!1,N=gt("getTranslation");bi(i,N,te=>t(12,n=te)),Yt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let te=s;const be=R(m.searchProvider);be&&(te.placeholder=be),T(),Wf.handleVisibilityGlobalSearch();const je=document.querySelector(".lui-global-search");je&&new ResizeObserver(me=>{Wf.handleVisibilityGlobalSearch()}).observe(je)}),Un(()=>{t(8,m=g),T(),L()});function T(){t(9,w=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,k=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function R(te){if(!te||!te.inputPlaceholder)return;const be=pt.getCurrentLocale();if(le.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const je=pt.getTranslation(te.inputPlaceholder);return je&&je.trim().length>0?je:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[be]}function D(te,be,je){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(te,be.children[je],_)}),""}function I(){h("closeSearchResult")}function U({keyCode:te}){m?le.isFunction(m.searchProvider.onEnter)&&te===mi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&te===pi?m.searchProvider.onEscape():te===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function B(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function L(){s&&s.value?t(11,y=!0):t(11,y=!1)}function K(){t(1,s.value="",s),I(),t(11,y=!1)}function G(te){let be=c.children;if(be)for(let je=0;je<be.length;je++){let{childNodes:Qe,nextSibling:me,previousSibling:Ge}=be[je],ct;if(Qe[0].getAttribute("aria-selected")==="true"){te===Mi&&(ct=me!==null?me:be[0]),te===El&&(ct=Ge!==null?Ge:be[be.length-1]),Qe[0].setAttribute("aria-selected","false"),ct.childNodes[0].setAttribute("aria-selected","true"),ct.focus();break}}}function x(){let te=c.children;if(te)for(let be=0;be<te.length;be++){let je=te[be];je.childNodes[0].getAttribute("aria-selected")==="true"&&je.childNodes[0].setAttribute("aria-selected","false")}}function ee(te){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(te):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===pi&&m.searchProvider.onEscape()}function Q(te,{keyCode:be}){be===mi&&m.searchProvider.onSearchResultItemSelected(te),be===El||be===Mi?G(be):le.isFunction(m.searchProvider.onEscape)&&be===pi&&(x(),setTimeout(()=>{s.focus()}),m.searchProvider.onEscape())}function Y(te){let be=te.pathObject;be.externalLink?xe.navigateToLink(be):h("handleSearchNavigation",{node:be})}function j(){s&&s.focus()}function J(){if(v?t(0,r=!1):setTimeout(()=>{j()}),h("toggleSearch",{isSearchFieldVisible:v,inputElem:s,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const te=v===void 0?!0:!v;m.searchProvider.toggleSearch(s,te)}}const we=te=>U(te);function ie(te){tt[te?"unshift":"push"](()=>{s=te,t(1,s)})}const oe=()=>L(),Ce=(te,be)=>ee(te),ue=(te,be)=>Q(te,be);function Ie(te){tt[te?"unshift":"push"](()=>{c=te,t(3,c)})}function Fe(te){tt[te?"unshift":"push"](()=>{o=te,t(2,o)})}const ne=()=>J();return i.$$set=te=>{"searchResult"in te&&t(4,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"inputElem"in te&&t(1,s=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,o=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,c=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(22,g=te.globalSearchConfig),"isSearchFieldVisible"in te&&t(5,v=te.isSearchFieldVisible)},[r,s,o,c,l,v,J,p,m,w,k,y,n,N,D,I,U,B,L,K,ee,Q,g,Y,we,ie,oe,Ce,ue,Ie,Fe,ne]}class mk extends Rt{constructor(e){super(),Et(this,e,pk,dk,Tt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:22,isSearchFieldVisible:5,onActionClick:23,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[23]}get toggleSearch(){return this.$$.ctx[6]}}function Vh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?vk:bk}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function bk(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function vk(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){E(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&&A(e)}}}function Mh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Oi({props:{node:i[0]}}),{c(){e=C("span"),n=Ne(t),l=z(),We(r.$$.fragment)},m(o,c){E(o,e,c),S(e,n),S(e,l),Be(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||(O(r.$$.fragment,o),s=!0)},o(o){W(r.$$.fragment,o),s=!1},d(o){o&&A(e),He(r)}}}function wk(i){let e,t,n,l=i[0].icon&&Vh(i),r=(!i[0].icon||i[0].showLabel)&&Mh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Vh(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&&O(r,1)):(r=Mh(s),r.c(),O(r,1),r.m(t.parentNode,t)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){n||(O(r),n=!0)},o(s){W(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Sk(i,e,t){let{node:n}=e;function l(o){return de.isOpenUIiconName(o.icon)}function r(o){return de.renderIconClassName(o)}function s(o){return de.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Do extends Rt{constructor(e){super(),Et(this,e,Sk,wk,Tt,{node:0})}}const{Boolean:I_,window:Oh}=ul;function Fh(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function Uh(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function Ck(i){let e,t;return e=new S_({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function kk(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Bh(i);function w(I){i[56](I)}let k={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(k.dropDownStates=i[6]),l=new H2({props:k}),tt.push(()=>It(l,"dropDownStates",w,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&Hh(i),N=(!i[0]||i[1])&&Wh(i),T=(i[18]||i[7]&&i[29].length>0)&&qh(i),R=(i[0]||i[16])&&rg(i),D=i[12]&&sg(i);return{c(){e=C("div"),t=C("div"),m&&m.c(),n=z(),We(l.$$.fragment),s=z(),y&&y.c(),o=z(),c=C("div"),N&&N.c(),g=z(),T&&T.c(),h=z(),R&&R.c(),_=z(),D&&D.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1x7zmlo"),f(e,"tabindex","0")},m(I,U){E(I,e,U),S(e,t),m&&m.m(t,null),S(t,n),Be(l,t,null),S(e,s),y&&y.m(e,null),S(e,o),S(e,c),N&&N.m(c,null),S(c,g),T&&T.m(c,null),S(c,h),R&&R.m(c,null),S(c,_),D&&D.m(c,null),v=!0},p(I,U){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?m?m.p(I,U):(m=Bh(I),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const B={};U[0]&536870912&&(B.pathData=I[29]),U[0]&1073741824&&(B.pathParams=I[30]),U[0]&134217728&&(B.addNavHrefForAnchor=I[27]),!r&&U[0]&64&&(r=!0,B.dropDownStates=I[6],Nt(()=>r=!1)),l.$set(B),I[18]&&I[19]?y?(y.p(I,U),U[0]&786432&&O(y,1)):(y=Hh(I),y.c(),O(y,1),y.m(e,o)):y&&(ye(),W(y,1,1,()=>{y=null}),Pe()),!I[0]||I[1]?N?(N.p(I,U),U[0]&3&&O(N,1)):(N=Wh(I),N.c(),O(N,1),N.m(c,g)):N&&(ye(),W(N,1,1,()=>{N=null}),Pe()),I[18]||I[7]&&I[29].length>0?T?(T.p(I,U),U[0]&537133184&&O(T,1)):(T=qh(I),T.c(),O(T,1),T.m(c,h)):T&&(ye(),W(T,1,1,()=>{T=null}),Pe()),I[0]||I[16]?R?(R.p(I,U),U[0]&65537&&O(R,1)):(R=rg(I),R.c(),O(R,1),R.m(c,_)):R&&(ye(),W(R,1,1,()=>{R=null}),Pe()),I[12]?D?(D.p(I,U),U[0]&4096&&O(D,1)):(D=sg(I),D.c(),O(D,1),D.m(c,null)):D&&(ye(),W(D,1,1,()=>{D=null}),Pe()),(!v||U[0]&67108868&&p!==(p="fd-shellbar "+(I[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-1x7zmlo"))&&f(e,"class",p)},i(I){v||(O(l.$$.fragment,I),O(y),O(N),O(T),O(R),O(D),v=!0)},o(I){W(l.$$.fragment,I),W(y),W(N),W(T),W(R),W(D),v=!1},d(I){I&&A(e),m&&m.d(),He(l),y&&y.d(),N&&N.d(),T&&T.d(),R&&R.d(),D&&D.d()}}}function Bh(i){let e,t,n,l;return{c(){e=C("button"),t=C("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1x7zmlo"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,s){E(r,e,s),S(e,t),n||(l=ae(e,"click",i[51]),n=!0)},p(r,s){s[0]&33554432&&f(e,"title",r[25])},d(r){r&&A(e),n=!1,l()}}}function Hh(i){let e,t,n,l,r,s,o,c;function g(w){i[57](w)}function h(w){i[58](w)}function _(w){i[59](w)}function p(w){i[60](w)}function v(w){i[61](w)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new mk({props:m}),tt.push(()=>It(t,"isSearchFieldVisible",g,i[20])),tt.push(()=>It(t,"searchResult",h,i[24])),tt.push(()=>It(t,"displaySearchResult",_,i[23])),tt.push(()=>It(t,"inputElem",p,i[21])),tt.push(()=>It(t,"luigiCustomSearchRenderer__slot",v,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=C("div"),We(t.$$.fragment),f(e,"class","lui-global-search")},m(w,k){E(w,e,k),Be(t,e,null),c=!0},p(w,k){const y={};k[0]&262144&&(y.globalSearchConfig=w[18]),!n&&k[0]&1048576&&(n=!0,y.isSearchFieldVisible=w[20],Nt(()=>n=!1)),!l&&k[0]&16777216&&(l=!0,y.searchResult=w[24],Nt(()=>l=!1)),!r&&k[0]&8388608&&(r=!0,y.displaySearchResult=w[23],Nt(()=>r=!1)),!s&&k[0]&2097152&&(s=!0,y.inputElem=w[21],Nt(()=>s=!1)),!o&&k[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=w[22],Nt(()=>o=!1)),t.$set(y)},i(w){c||(O(t.$$.fragment,w),c=!0)},o(w){W(t.$$.fragment,w),c=!1},d(w){w&&A(e),He(t)}}}function Wh(i){let e,t,n,l,r=i[18]&&!i[19]&&zh(i);function s(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new P_({props:o}),tt.push(()=>It(t,"dropDownStates",s,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=z(),We(t.$$.fragment)},m(c,g){r&&r.m(c,g),E(c,e,g),Be(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&O(r,1)):(r=zh(c),r.c(),O(r,1),r.m(e.parentNode,e)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe());const h={};g[0]&134217728&&(h.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],Nt(()=>n=!1)),t.$set(h)},i(c){l||(O(r),O(t.$$.fragment,c),l=!0)},o(c){W(r),W(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),He(t,c)}}}function zh(i){let e,t,n,l,r,s,o;function c(m){i[65](m)}function g(m){i[66](m)}function h(m){i[67](m)}function _(m){i[68](m)}function p(m){i[69](m)}let v={globalSearchConfig:i[18]};return i[20]!==void 0&&(v.isSearchFieldVisible=i[20]),i[24]!==void 0&&(v.searchResult=i[24]),i[23]!==void 0&&(v.displaySearchResult=i[23]),i[21]!==void 0&&(v.inputElem=i[21]),i[22]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[22]),e=new rk({props:v}),tt.push(()=>It(e,"isSearchFieldVisible",c,i[20])),tt.push(()=>It(e,"searchResult",g,i[24])),tt.push(()=>It(e,"displaySearchResult",h,i[23])),tt.push(()=>It(e,"inputElem",_,i[21])),tt.push(()=>It(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){We(e.$$.fragment)},m(m,w){Be(e,m,w),o=!0},p(m,w){const k={};w[0]&262144&&(k.globalSearchConfig=m[18]),!t&&w[0]&1048576&&(t=!0,k.isSearchFieldVisible=m[20],Nt(()=>t=!1)),!n&&w[0]&16777216&&(n=!0,k.searchResult=m[24],Nt(()=>n=!1)),!l&&w[0]&8388608&&(l=!0,k.displaySearchResult=m[23],Nt(()=>l=!1)),!r&&w[0]&2097152&&(r=!0,k.inputElem=m[21],Nt(()=>r=!1)),!s&&w[0]&4194304&&(s=!0,k.luigiCustomSearchRenderer__slot=m[22],Nt(()=>s=!1)),e.$set(k)},i(m){o||(O(e.$$.fragment,m),o=!0)},o(m){W(e.$$.fragment,m),o=!1},d(m){He(e,m)}}}function qh(i){let e,t,n,l=i[7]&&i[29].length>0&&Gh(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Yh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[7]&&s[29].length>0?l?(l.p(s,o),o[0]&536871040&&O(l,1)):(l=Gh(s),l.c(),O(l,1),l.m(e.parentNode,e)):l&&(ye(),W(l,1,1,()=>{l=null}),Pe()),s[9]-s[10]>0||s[12]||s[45]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&16384&&O(r,1)):(r=Yh(s),r.c(),O(r,1),r.m(t.parentNode,t)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){n||(O(l),O(r),n=!0)},o(s){W(l),W(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Gh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jh(Uh(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&1207960032|o[1]&917584){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Uh(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=Jh(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function Kh(i){let e,t,n,l;const r=[Pk,yk],s=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),W(s[h],1,1,()=>{s[h]=null}),Pe(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),O(t,1),t.m(n.parentNode,n))},i(c){l||(O(t),l=!0)},o(c){W(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function yk(i){let e,t,n,l,r;const s=[Ik,Nk],o=[];function c(g,h){return g[27]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=C("div"),n.c(),l=z(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){E(g,e,h),o[t].m(e,null),S(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(ye(),W(o[_],1,1,()=>{o[_]=null}),Pe(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),O(n,1),n.m(e,l))},i(g){r||(O(n),r=!0)},o(g){W(n),r=!1},d(g){g&&A(e),o[t].d()}}}function Pk(i){let e=i[106].visibleChildren.filter(ag).length>0,t,n,l=e&&jh(i);return{c(){l&&l.c(),t=ke()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[106].visibleChildren.filter(ag).length>0),e?l?(l.p(r,s),s[0]&128&&O(l,1)):(l=jh(r),l.c(),O(l,1),l.m(t.parentNode,t)):l&&(ye(),W(l,1,1,()=>{l=null}),Pe())},i(r){n||(O(l),n=!0)},o(r){W(l),n=!1},d(r){l&&l.d(r),r&&A(t)}}}function Nk(i){let e,t,n,l,r,s,o,c,g,h,_;function p(w){i[79](w,i[106],i[109],i[108])}let v={};i[106]!==void 0&&(v.node=i[106]),t=new Do({props:v}),tt.push(()=>It(t,"node",p,i[106])),r=new Qn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=C("button"),We(t.$$.fragment),l=z(),We(r.$$.fragment),f(e,"title",s=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=de.getTestId(i[106]))},m(w,k){E(w,e,k),Be(t,e,null),S(e,l),Be(r,e,null),g=!0,h||(_=ae(e,"click",m),h=!0)},p(w,k){i=w;const y={};!n&&k[0]&128&&(n=!0,y.node=i[106],Nt(()=>n=!1)),t.$set(y);const N={};k[0]&128&&(N.node=i[106]),r.$set(N),(!g||k[0]&128&&s!==(s=i[50](i[106],i[48](i[106]))))&&f(e,"title",s),(!g||k[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||k[0]&128&&c!==(c=de.getTestId(i[106])))&&f(e,"data-testid",c)},i(w){g||(O(t.$$.fragment,w),O(r.$$.fragment,w),g=!0)},o(w){W(t.$$.fragment,w),W(r.$$.fragment,w),g=!1},d(w){w&&A(e),He(t),He(r),h=!1,_()}}}function Ik(i){let e,t,n,l,r,s,o,c,g,h,_,p;function v(k){i[77](k,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new Do({props:m}),tt.push(()=>It(t,"node",v,i[106])),r=new Qn({props:{node:i[106]}});function w(...k){return i[78](i[106],...k)}return{c(){e=C("a"),We(t.$$.fragment),l=z(),We(r.$$.fragment),f(e,"href",s=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=de.getTestId(i[106]))},m(k,y){E(k,e,y),Be(t,e,null),S(e,l),Be(r,e,null),h=!0,_||(p=ae(e,"click",w),_=!0)},p(k,y){i=k;const N={};!n&&y[0]&128&&(n=!0,N.node=i[106],Nt(()=>n=!1)),t.$set(N);const T={};y[0]&128&&(T.node=i[106]),r.$set(T),(!h||y[0]&128&&s!==(s=i[49](i[106])))&&f(e,"href",s),(!h||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!h||y[0]&128&&g!==(g=de.getTestId(i[106])))&&f(e,"data-testid",g)},i(k){h||(O(t.$$.fragment,k),O(r.$$.fragment,k),h=!0)},o(k){W(t.$$.fragment,k),W(r.$$.fragment,k),h=!1},d(k){k&&A(e),He(t),He(r),_=!1,p()}}}function jh(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y,N,T,R;function D(B){i[75](B,i[106],i[109],i[108])}let I={};i[106]!==void 0&&(I.node=i[106]),r=new Do({props:I}),tt.push(()=>It(r,"node",D,i[106])),c=new Qn({props:{node:i[106]}});function U(){return i[76](i[108])}return w=new k_({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("button"),We(r.$$.fragment),o=z(),We(c.$$.fragment),v=z(),m=C("div"),We(w.$$.fragment),y=z(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=de.getTestId(i[106])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",k=!i[6][`dropDownPopover-${i[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(B,L){E(B,e,L),S(e,t),S(t,n),S(n,l),Be(r,l,null),S(l,o),Be(c,l,null),S(t,v),S(t,m),Be(w,m,null),S(e,y),N=!0,T||(R=[ae(l,"click",U),ae(n,"click",Bt(zk))],T=!0)},p(B,L){i=B;const K={};!s&&L[0]&128&&(s=!0,K.node=i[106],Nt(()=>s=!1)),r.$set(K);const G={};L[0]&128&&(G.node=i[106]),c.$set(G),(!N||L[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!N||L[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||L[0]&64&&_!==(_=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",_),(!N||L[0]&128&&p!==(p=de.getTestId(i[106])))&&f(l,"data-testid",p);const x={};L[0]&128&&(x.node=i[106]),L[0]&1073741824&&(x.pathParams=i[30]),L[0]&134217728&&(x.addNavHrefForAnchor=i[27]),w.$set(x),(!N||L[0]&64&&k!==(k=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",k)},i(B){N||(O(r.$$.fragment,B),O(c.$$.fragment,B),O(w.$$.fragment,B),N=!0)},o(B){W(r.$$.fragment,B),W(c.$$.fragment,B),W(w.$$.fragment,B),N=!1},d(B){B&&A(e),He(r),He(c),He(w),T=!1,Ze(R)}}}function Jh(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Kh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&O(n,1)):(n=Kh(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Yh(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y,N,T,R,D,I,U,B;g=new Qn({props:{node:i[11],special:"true"}});let L=i[18]&&!i[19]&&Qh(i),K=i[45]&&(!i[0]||i[1])&&Zh(i),G=i[7]&&Xh(i),x=i[12]&&tg(i),ee=i[12]&&ng(i),Q=i[14]&&ig(i),Y=(!i[0]||i[1])&&lg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("button"),o=C("i"),c=z(),We(g.$$.fragment),_=z(),p=C("div"),v=C("nav"),m=C("ul"),L&&L.c(),w=z(),K&&K.c(),k=z(),G&&G.c(),y=z(),x&&x.c(),T=z(),ee&&ee.c(),R=z(),Q&&Q.c(),D=z(),Y&&Y.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(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(v,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1x7zmlo"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,J){E(j,e,J),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(s,c),Be(g,s,null),S(n,_),S(n,p),S(p,v),S(v,m),L&&L.m(m,null),S(m,w),K&&K.m(m,null),S(m,k),G&&G.m(m,null),S(m,y),x&&x.m(m,null),S(n,T),ee&&ee.m(n,null),S(n,R),Q&&Q.m(n,null),S(n,D),Y&&Y.m(n,null),I=!0,U||(B=[ae(s,"click",i[81]),ae(l,"click",Bt(qk))],U=!0)},p(j,J){const we={};J[0]&2048&&(we.node=j[11]),g.$set(we),(!I||J[0]&64&&h!==(h=j[6].overflowPopover||!1))&&f(s,"aria-expanded",h),j[18]&&!j[19]?L?L.p(j,J):(L=Qh(j),L.c(),L.m(m,w)):L&&(L.d(1),L=null),j[45]&&(!j[0]||j[1])?K?K.p(j,J):(K=Zh(j),K.c(),K.m(m,k)):K&&(K.d(1),K=null),j[7]?G?(G.p(j,J),J[0]&128&&O(G,1)):(G=Xh(j),G.c(),O(G,1),G.m(m,y)):G&&(ye(),W(G,1,1,()=>{G=null}),Pe()),j[12]?x?x.p(j,J):(x=tg(j),x.c(),x.m(m,null)):x&&(x.d(1),x=null),(!I||J[0]&64&&N!==(N=!j[6].overflowPopover))&&f(p,"aria-hidden",N),j[12]?ee?(ee.p(j,J),J[0]&4096&&O(ee,1)):(ee=ng(j),ee.c(),O(ee,1),ee.m(n,R)):ee&&(ye(),W(ee,1,1,()=>{ee=null}),Pe()),j[14]?Q?(Q.p(j,J),J[0]&16384&&O(Q,1)):(Q=ig(j),Q.c(),O(Q,1),Q.m(n,D)):Q&&(ye(),W(Q,1,1,()=>{Q=null}),Pe()),!j[0]||j[1]?Y?(Y.p(j,J),J[0]&3&&O(Y,1)):(Y=lg(j),Y.c(),O(Y,1),Y.m(n,null)):Y&&(ye(),W(Y,1,1,()=>{Y=null}),Pe())},i(j){I||(O(g.$$.fragment,j),O(G),O(ee),O(Q),O(Y),I=!0)},o(j){W(g.$$.fragment,j),W(G),W(ee),W(Q),W(Y),I=!1},d(j){j&&A(e),He(g),L&&L.d(),K&&K.d(),G&&G.d(),x&&x.d(),ee&&ee.d(),Q&&Q.d(),Y&&Y.d(),U=!1,Ze(B)}}}function Qh(i){let e,t,n,l;return{c(){e=C("li"),t=C("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1x7zmlo"></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){E(r,e,s),S(e,t),n||(l=ae(t,"click",Bt(i[82])),n=!0)},p:Oe,d(r){r&&A(e),n=!1,l()}}}function Zh(i){let e,t,n,l,r,s,o=(i[43]?i[43]:i[44])+"",c,g,h;return{c(){e=C("li"),t=C("a"),n=C("i"),r=z(),s=C("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){E(_,e,p),S(e,t),S(t,n),S(t,r),S(t,s),S(s,c),g||(h=ae(t,"click",Bt(i[32])),g=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo")&&f(n,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Te(c,o)},d(_){_&&A(e),g=!1,h()}}}function Xh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=eg(Fh(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&1015828){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Fh(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=eg(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function $h(i){let e,t,n,l,r;const s=[Lk,Tk],o=[];function c(g,h){return h[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(Wk).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=ke()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(ye(),W(o[_],1,1,()=>{o[_]=null}),Pe()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),O(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(O(n),r=!0)},o(g){W(n),r=!1},d(g){~t&&o[t].d(g),g&&A(l)}}}function Tk(i){let e,t,n,l,r,s,o,c,g=i[48](i[106])+"",h,_,p,v,m,w,k;function y(D,I){return I[0]&128&&(l=null),l==null&&(l=!!D[47](D[106])),l?Ek:Ak}let N=y(i,[-1,-1,-1,-1]),T=N(i);s=new Qn({props:{node:i[106]}});function R(){return i[84](i[106])}return{c(){e=C("li"),t=C("a"),n=C("span"),T.c(),r=z(),We(s.$$.fragment),o=z(),c=C("span"),h=Ne(g),v=z(),f(n,"class","fd-top-nav__icon svelte-1x7zmlo"),f(c,"class","fd-list__title"),f(t,"href",_=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(D,I){E(D,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,v),m=!0,w||(k=ae(t,"click",Mt(R)),w=!0)},p(D,I){i=D,N===(N=y(i,I))&&T?T.p(i,I):(T.d(1),T=N(i),T&&(T.c(),T.m(n,r)));const U={};I[0]&128&&(U.node=i[106]),s.$set(U),(!m||I[0]&128)&&g!==(g=i[48](i[106])+"")&&Te(h,g),(!m||I[0]&128&&_!==(_=i[49](i[106])))&&f(t,"href",_),(!m||I[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(D){m||(O(s.$$.fragment,D),m=!0)},o(D){W(s.$$.fragment,D),m=!1},d(D){D&&A(e),T.d(),He(s),w=!1,k()}}}function Lk(i){let e,t,n,l=!i[47](i[106]),r,s,o,c,g,h=i[48](i[106])+"",_,p,v,m,w,k,y,N,T=l&&xh(i);s=new Qn({props:{node:i[106]}});function R(){return i[83](i[106])}return{c(){e=C("li"),t=C("a"),n=C("span"),T&&T.c(),r=z(),We(s.$$.fragment),c=z(),g=C("span"),_=Ne(h),w=z(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-1x7zmlo"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",v="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=de.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(D,I){E(D,e,I),S(e,t),S(t,n),T&&T.m(n,null),S(n,r),Be(s,n,null),S(t,c),S(t,g),S(g,_),S(e,w),k=!0,y||(N=ae(t,"click",Mt(R)),y=!0)},p(D,I){i=D,I[0]&128&&(l=!i[47](i[106])),l?T?T.p(i,I):(T=xh(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const U={};I[0]&128&&(U.node=i[106]),s.$set(U),(!k||I[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-1x7zmlo"))&&f(n,"class",o),(!k||I[0]&128)&&h!==(h=i[48](i[106])+"")&&Te(_,h),(!k||I[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!k||I[0]&384&&v!==(v="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",v),(!k||I[0]&128&&m!==(m=de.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(D){k||(O(s.$$.fragment,D),k=!0)},o(D){W(s.$$.fragment,D),k=!1},d(D){D&&A(e),T&&T.d(),He(s),y=!1,N()}}}function Ak(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Ek(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-1x7zmlo")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&A(e)}}}function xh(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function eg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&$h(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&O(n,1)):(n=$h(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function tg(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(v,m){return m[0]&8192&&(n=null),n==null&&(n=!!(v[47](v[13])||!v[13].icon)),n?Dk:Rk}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=C("li"),t=C("a"),p.c(),l=z(),r=C("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(v,m){E(v,e,m),S(e,t),p.m(t,null),S(t,l),S(t,r),S(r,o),c||(g=ae(t,"click",Bt(i[31])),c=!0)},p(v,m){_===(_=h(v,m))&&p?p.p(v,m):(p.d(1),p=_(v),p&&(p.c(),p.m(t,l))),m[0]&8192&&s!==(s=v[13].label+"")&&Te(o,s)},d(v){v&&A(e),p.d(),c=!1,g()}}}function Rk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1x7zmlo"),f(e,"class","fd-top-nav__icon sap-icon svelte-1x7zmlo")},m(r,s){E(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(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&&A(e)}}}function Dk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-1x7zmlo")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&A(e)}}}function ng(i){let e,t,n;function l(s){i[85](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(O(e.$$.fragment,s),n=!0)},o(s){W(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function ig(i){let e,t;return e=new k_({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function lg(i){let e,t,n,l,r;function s(h){i[87](h)}function o(h){i[88](h)}function c(h){i[89](h)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new P_({props:g}),tt.push(()=>It(e,"dropDownStates",s,i[6])),tt.push(()=>It(e,"selectedLabel",o,i[43])),tt.push(()=>It(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){We(e.$$.fragment)},m(h,_){Be(e,h,_),r=!0},p(h,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=h[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],Nt(()=>t=!1)),!n&&_[1]&4096&&(n=!0,p.selectedLabel=h[43],Nt(()=>n=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=h[44],Nt(()=>l=!1)),e.$set(p)},i(h){r||(O(e.$$.fragment,h),r=!0)},o(h){W(e.$$.fragment,h),r=!1},d(h){He(e,h)}}}function rg(i){let e,t,n,l,r;const s=[Mk,Vk],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=C("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){E(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):(ye(),W(o[_],1,1,()=>{o[_]=null}),Pe(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),O(l,1),l.m(e,null))},i(g){r||(O(l),r=!0)},o(g){W(l),r=!1},d(g){g&&A(e),o[n].d()}}}function Vk(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w;function k(T,R){return T[17].picture?Fk:Ok}let y=k(i),N=y(i);return _=new S_({props:{addNavHrefForAnchor:i[27]}}),_.$on("toggleDropdownState",i[95]),_.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),N.c(),g=z(),h=C("div"),We(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1x7zmlo"),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-1x7zmlo")},m(T,R){E(T,e,R),S(e,t),S(t,n),S(n,l),S(l,r),N.m(r,null),S(t,g),S(t,h),Be(_,h,null),v=!0,m||(w=[ae(r,"click",i[94]),ae(n,"click",Bt(Kk))],m=!0)},p(T,R){y===(y=k(T))&&N?N.p(T,R):(N.d(1),N=y(T),N&&(N.c(),N.m(r,null))),(!v||R[0]&64&&s!==(s=T[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!v||R[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&f(r,"title",o),(!v||R[0]&131072&&c!==(c=T[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const D={};R[0]&134217728&&(D.addNavHrefForAnchor=T[27]),_.$set(D),(!v||R[0]&64&&p!==(p=!T[6].profilePopover))&&f(h,"aria-hidden",p)},i(T){v||(O(_.$$.fragment,T),v=!0)},o(T){W(_.$$.fragment,T),v=!1},d(T){T&&A(e),N.d(),He(_),m=!1,Ze(w)}}}function Mk(i){let e,t,n,l,r,s,o,c,g;function h(v,m){return v[17].picture?Bk:Uk}let _=h(i),p=_(i);return r=new Q2({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),p.c(),n=z(),l=C("div"),We(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-1x7zmlo")},m(v,m){E(v,e,m),S(e,t),p.m(t,null),S(e,n),S(e,l),Be(r,l,null),o=!0,c||(g=ae(t,"click",Bt(Gk)),c=!0)},p(v,m){_===(_=h(v))&&p?p.p(v,m):(p.d(1),p=_(v),p&&(p.c(),p.m(t,null)));const w={};m[0]&134217728&&(w.addNavHrefForAnchor=v[27]),r.$set(w),(!o||m[0]&64&&s!==(s=!v[6].profilePopover))&&f(l,"aria-hidden",s)},i(v){o||(O(r.$$.fragment,v),o=!0)},o(v){W(r.$$.fragment,v),o=!1},d(v){v&&A(e),p.d(),He(r),c=!1,g()}}}function Ok(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){E(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&&A(e)}}}function Fk(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1x7zmlo"),ai(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&ai(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function Uk(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=C("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),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){E(o,e,c),S(e,n),r||(s=ae(e,"click",i[92]),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&&A(e),r=!1,s()}}}function Bk(i){let e,t,n,l;return{c(){e=C("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),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"),ai(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=ae(e,"click",i[91]),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&&ai(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function sg(i){let e,t,n;function l(s){i[96](s)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=s[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(O(e.$$.fragment,s),n=!0)},o(s){W(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function Hk(i){let e,t,n,l,r,s;const o=[kk,Ck],c=[];function g(h,_){return h[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){c[e].m(h,_),E(h,n,_),l=!0,r||(s=[ae(Oh,"click",i[40]),ae(Oh,"blur",i[40])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(ye(),W(c[p],1,1,()=>{c[p]=null}),Pe(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),O(t,1),t.m(n.parentNode,n))},i(h){l||(O(t),l=!0)},o(h){W(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Ze(s)}}}const Wk=i=>!i.hideFromNav&&i.label,ag=i=>!i.hideFromNav&&i.label,zk=()=>{},qk=()=>{},Gk=()=>{},Kk=()=>{};function jk(i,e,t){const n=zt();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:v}=e,{dropDownStates:m={}}=e,{children:w}=e,{selectedNode:k}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:R}=e,{productSwitcherConfig:D}=e,{openMobileDropDown:I}=e,{nodeForMobile:U}=e,{profileItemsAvailable:B}=e,{userInfo:L={}}=e,{globalSearchConfig:K}=e,{isGlobalSearchCentered:G}=e,{isSearchFieldVisible:x}=e,{inputElem:ee}=e,{luigiCustomSearchRenderer__slot:Q}=e,{displaySearchResult:Y}=e,{searchResult:j}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:we}=e,ie=gt("store"),oe=!1,Ce,ue,Ie=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Fe=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ne=async()=>{if(_&&0<_.length){const $=await de.generateTopNavNodes(_);t(7,w=$.children),t(8,k=$.selectedNode),t(9,y=$.visibleNodeCount),t(11,T=$.totalBadgeNode),t(10,N=$.globalNavNodeCount),window.TOPNAVDATA=$.children,p=_}},te=()=>{t(1,s=sl.isLoggedIn())};Yt(()=>{fn.doOnStoreChange(ie,()=>{t(0,l=_i.isAuthorizationEnabled()),t(16,B=re.getConfigValue("navigation.profile")),t(52,r=!re.getConfigValue("auth.disableAutoLogin")),t(12,R=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(26,we=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,D=de.getProductSwitcherConfig()),t(18,K=re.getConfigValue("globalSearch")),t(19,G=K&&K.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Fe=re.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ie=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),fn.doOnStoreChange(ie,()=>{ne()},["navigation.viewgroupdata"]),In.addEventListener("message",$=>{$.data.msg==="luigi.navigation.update-badge-counters"&&ne()})}),Un(()=>{(!p||p!=_)&&ne(),te()});let{showTopNav:be}=e;function je($){return de.renderIconClassName($)}function Qe($){return de.isOpenUIiconName($.icon)}const me=$=>de.getNodeLabel($);function Ge($){return pe.getNodeHref($,v)}function ct($,Lt){return de.generateTooltipText($,Lt)}function _n(){wt("productSwitcherPopover")}function vt(){t(42,oe=!oe),wt("contextSwitcherPopover")}function Ht($){t(14,I=!0),t(15,U=$)}function vi(){t(14,I=!1)}function Ot($){n("handleClick",{node:$})}function Fi($){n("handleSearchNavigation",{node:$})}function fl($){Ot($.detail.node)}function wt($){const Lt=m||{},mn=!Lt[$];pn(),vi(),Lt[$]=mn,t(6,m=Lt)}function Zt($){wt($.detail.name)}function Zn(){ee&&ee.focus()}function Xn(){x||setTimeout(()=>{Zn()}),n("toggleSearch",{isSearchFieldVisible:x,inputElem:ee,luigiCustomSearchRenderer__slot:Q})}function pn(){const $=m||{},Lt=Object.keys($);Lt&&Lt.length>0&&Lt.forEach(mn=>{$[mn]=!1,t(6,m=$)})}function Xt(){c==="simple"||c==="simpleMobileOnly"?Gt():tn(),cl()}function cl(){if(!de.getBurgerTooltipConfig())return;const[$,Lt]=de.getBurgerTooltipConfig();$&&Lt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,J=document.body.classList.contains("lui-leftNavToggle")?$:Lt),document.body.classList.contains("lui-semiCollapsible")&&t(25,J=document.body.classList.contains("semiCollapsed")?$:Lt))}function Gt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function tn(){hi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function wi($){const Lt=$.detail;t(17,L=Lt||{})}function Si($){m=$,t(6,m)}function cn($){x=$,t(20,x)}function Ci($){j=$,t(24,j)}function se($){Y=$,t(23,Y)}function Ae($){ee=$,t(21,ee)}function st($){Q=$,t(22,Q)}function yt($){Ll.call(this,i,$)}function mt($){Ll.call(this,i,$)}function sn($){Ll.call(this,i,$)}function Tn($){x=$,t(20,x)}function $n($){j=$,t(24,j)}function xn($){Y=$,t(23,Y)}function dl($){ee=$,t(21,ee)}function Ui($){Q=$,t(22,Q)}function dr($){Ll.call(this,i,$)}function hr($){Ll.call(this,i,$)}function gr($){Ll.call(this,i,$)}function Dl($){m=$,t(6,m)}const _r=()=>wt("contextSwitcherPopover");function pr($,Lt,mn,ei){mn[ei]=$,t(7,w)}const mr=$=>wt(`dropDownPopover-${$}`);function hl($,Lt,mn,ei){mn[ei]=$,t(7,w)}const gl=($,Lt)=>{de.handleNavAnchorClickedWithoutMetaKey(Lt)&&Ot($)};function ui($,Lt,mn,ei){mn[ei]=$,t(7,w)}const _l=$=>Ot($),Bi=()=>wt("overflowPopover"),Vl=()=>{Xn(),wt("overflowPopover")},Ml=$=>Ot($),Ol=$=>Ht($);function br($){m=$,t(6,m)}const Cn=()=>wt("productSwitcherPopover");function pl($){m=$,t(6,m)}function Hi($){Ce=$,t(43,Ce)}function Fl($){ue=$,t(44,ue)}const vr=()=>wt("contextSwitcherPopover"),Wi=()=>wt("profilePopover"),ml=()=>wt("profilePopover"),bl=()=>wt("profilePopover"),vl=()=>wt("profilePopover"),ki=()=>wt("profilePopover");function Ul($){m=$,t(6,m)}const zi=()=>wt("productSwitcherPopover"),ut=()=>wt("profilePopover");return i.$$set=$=>{"authorizationEnabled"in $&&t(0,l=$.authorizationEnabled),"autologinEnabled"in $&&t(52,r=$.autologinEnabled),"isLoggedIn"in $&&t(1,s=$.isLoggedIn),"hideNavComponent"in $&&t(2,o=$.hideNavComponent),"responsiveNavSetting"in $&&t(3,c=$.responsiveNavSetting),"profileTypeSettings"in $&&t(4,g=$.profileTypeSettings),"showGlobalNav"in $&&t(5,h=$.showGlobalNav),"pathData"in $&&t(29,_=$.pathData),"pathParams"in $&&t(30,v=$.pathParams),"dropDownStates"in $&&t(6,m=$.dropDownStates),"children"in $&&t(7,w=$.children),"selectedNode"in $&&t(8,k=$.selectedNode),"visibleNodeCount"in $&&t(9,y=$.visibleNodeCount),"globalNavNodeCount"in $&&t(10,N=$.globalNavNodeCount),"totalBadgeNode"in $&&t(11,T=$.totalBadgeNode),"isProductSwitcherAvailable"in $&&t(12,R=$.isProductSwitcherAvailable),"productSwitcherConfig"in $&&t(13,D=$.productSwitcherConfig),"openMobileDropDown"in $&&t(14,I=$.openMobileDropDown),"nodeForMobile"in $&&t(15,U=$.nodeForMobile),"profileItemsAvailable"in $&&t(16,B=$.profileItemsAvailable),"userInfo"in $&&t(17,L=$.userInfo),"globalSearchConfig"in $&&t(18,K=$.globalSearchConfig),"isGlobalSearchCentered"in $&&t(19,G=$.isGlobalSearchCentered),"isSearchFieldVisible"in $&&t(20,x=$.isSearchFieldVisible),"inputElem"in $&&t(21,ee=$.inputElem),"luigiCustomSearchRenderer__slot"in $&&t(22,Q=$.luigiCustomSearchRenderer__slot),"displaySearchResult"in $&&t(23,Y=$.displaySearchResult),"searchResult"in $&&t(24,j=$.searchResult),"burgerTooltip"in $&&t(25,J=$.burgerTooltip),"responsiveShellbarPadding"in $&&t(26,we=$.responsiveShellbarPadding),"addNavHrefForAnchor"in $&&t(27,Fe=$.addNavHrefForAnchor),"showTopNav"in $&&t(28,be=$.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,be=l&&(!r||s)||!l)},[l,s,o,c,g,h,m,w,k,y,N,T,R,D,I,U,B,L,K,G,x,ee,Q,Y,j,J,we,Fe,be,_,v,_n,vt,Ht,vi,Ot,fl,wt,Zt,Xn,pn,wi,oe,Ce,ue,Ie,je,Qe,me,Ge,ct,Xt,r,Fi,Gt,tn,Si,cn,Ci,se,Ae,st,yt,mt,sn,Tn,$n,xn,dl,Ui,dr,hr,gr,Dl,_r,pr,mr,hl,gl,ui,_l,Bi,Vl,Ml,Ol,br,Cn,pl,Hi,Fl,vr,Wi,ml,bl,vl,ki,Ul,zi,ut]}class Jk extends Rt{constructor(e){super(),Et(this,e,jk,Hk,Tt,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function og(i){let e;return{c(){e=C("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Yk(i){let e,t=i[0]&&og();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=og(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Oe,o:Oe,d(n){t&&t.d(n),n&&A(e)}}}function Qk(i,e,t){let{node:n}=e;async function l(){var o,c;const r=pe.mapPathToNode(xe.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 Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");ar.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 Zk extends Rt{constructor(e){super(),Et(this,e,Qk,Yk,Tt,{node:0})}}const{window:yo}=ul;function ug(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function fg(i,e,t){const n=i.slice();return n[43]=e[t],n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function hg(i,e,t){const n=i.slice();return n[43]=e[t],n}function gg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function _g(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&pg(i),T=Object.entries(i[0]),R=[];for(let L=0;L<T.length;L+=1)R[L]=kg(dg(i,T,L));const D=L=>W(R[L],1,1,()=>{R[L]=null});let I=Object.entries(i[0]),U=[];for(let L=0;L<I.length;L+=1)U[L]=Ig(ug(i,I,L));const B=L=>W(U[L],1,1,()=>{U[L]=null});return{c(){e=C("div"),N&&N.c(),t=z(),n=C("nav"),l=C("div"),r=C("div");for(let L=0;L<R.length;L+=1)R[L].c();s=z(),o=C("div"),c=C("span"),g=C("div"),h=C("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-ujogtf">More</span>
58
+ <span class="sap-icon--dropdown luigi-icon--dropdown svelte-ujogtf"></span>`,_=z(),p=C("div"),v=C("ul");for(let L=0;L<U.length;L+=1)U[L].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-ujogtf"),f(l,"class","tabsContainerWrapper svelte-ujogtf"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-ujogtf"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(v,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-ujogtf"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-ujogtf"),f(p,"aria-hidden",m=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-ujogtf"),f(o,"class","luigi-tabsMoreButton svelte-ujogtf"),f(n,"class","fd-tabs fd-tabs--l svelte-ujogtf"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-ujogtf"),f(e,"id","tabsContainer")},m(L,K){E(L,e,K),N&&N.m(e,null),S(e,t),S(e,n),S(n,l),S(l,r);for(let G=0;G<R.length;G+=1)R[G].m(r,null);S(n,s),S(n,o),S(o,c),S(c,g),S(g,h),S(g,_),S(g,p),S(p,v);for(let G=0;G<U.length;G+=1)U[G].m(v,null);w=!0,k||(y=[ae(h,"click",Mt(i[10])),ae(c,"click",ly),ae(n,"toggleDropdownState",i[26])],k=!0)},p(L,K){if(L[11].parent&&L[11].parent.tabNav&&L[11].parent.tabNav.showAsTabHeader?N?(N.p(L,K),K[0]&2048&&O(N,1)):(N=pg(L),N.c(),O(N,1),N.m(e,t)):N&&(ye(),W(N,1,1,()=>{N=null}),Pe()),K[0]&53485){T=Object.entries(L[0]);let G;for(G=0;G<T.length;G+=1){const x=dg(L,T,G);R[G]?(R[G].p(x,K),O(R[G],1)):(R[G]=kg(x),R[G].c(),O(R[G],1),R[G].m(r,null))}for(ye(),G=T.length;G<R.length;G+=1)D(G);Pe()}if(K[0]&53485){I=Object.entries(L[0]);let G;for(G=0;G<I.length;G+=1){const x=ug(L,I,G);U[G]?(U[G].p(x,K),O(U[G],1)):(U[G]=Ig(x),U[G].c(),O(U[G],1),U[G].m(v,null))}for(ye(),G=I.length;G<U.length;G+=1)B(G);Pe()}(!w||K[0]&16&&m!==(m=!L[4]))&&f(p,"aria-hidden",m)},i(L){if(!w){O(N);for(let K=0;K<T.length;K+=1)O(R[K]);for(let K=0;K<I.length;K+=1)O(U[K]);w=!0}},o(L){W(N),R=R.filter(Boolean);for(let K=0;K<R.length;K+=1)W(R[K]);U=U.filter(Boolean);for(let K=0;K<U.length;K+=1)W(U[K]);w=!1},d(L){L&&A(e),N&&N.d(),dt(R,L),dt(U,L),k=!1,Ze(y)}}}function pg(i){let e,t;return e=new Zk({props:{node:i[11].parent}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Xk(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,v,m,w,k,y,N,T,R;function D(){return i[20](i[39])}let I=i[40],U=[];for(let L=0;L<I.length;L+=1)U[L]=vg(hg(i,I,L));const B=L=>W(U[L],1,1,()=>{U[L]=null});return{c(){e=C("span"),t=C("div"),n=C("div"),l=C("a"),r=C("span"),o=Ne(s),c=z(),g=C("span"),_=z(),p=C("div"),v=C("nav"),m=C("ul");for(let L=0;L<U.length;L+=1)U[L].c();k=z(),f(r,"class","label fd-tabs__tag svelte-ujogtf"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-ujogtf"),f(l,"class","fd-tabs__link has-child svelte-ujogtf"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=sr(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(v,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-ujogtf"),f(p,"aria-hidden",w=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-ujogtf"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=sr(i[39],i[2]))},m(L,K){E(L,e,K),S(e,t),S(t,n),S(n,l),S(l,r),S(r,o),S(l,c),S(l,g),S(t,_),S(t,p),S(p,v),S(v,m);for(let G=0;G<U.length;G+=1)U[G].m(m,null);S(e,k),N=!0,T||(R=[ae(l,"click",Mt(D)),ae(e,"click",iy)],T=!0)},p(L,K){if(i=L,(!N||K[0]&4097)&&s!==(s=i[12](i[39])+"")&&Te(o,s),(!N||K[0]&5&&h!==(h=sr(i[39],i[2])))&&f(l,"aria-selected",h),K[0]&49221){I=i[40];let G;for(G=0;G<I.length;G+=1){const x=hg(i,I,G);U[G]?(U[G].p(x,K),O(U[G],1)):(U[G]=vg(x),U[G].c(),O(U[G],1),U[G].m(m,null))}for(ye(),G=I.length;G<U.length;G+=1)B(G);Pe()}(!N||K[0]&9&&w!==(w=!i[3][i[39]]))&&f(p,"aria-hidden",w),(!N||K[0]&5&&y!==(y=sr(i[39],i[2])))&&f(e,"isselected",y)},i(L){if(!N){for(let K=0;K<I.length;K+=1)O(U[K]);N=!0}},o(L){U=U.filter(Boolean);for(let K=0;K<U.length;K+=1)W(U[K]);N=!1},d(L){L&&A(e),dt(U,L),T=!1,Ze(R)}}}function $k(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=Cg(gg(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=gg(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=Cg(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function mg(i){let e,t,n=i[43].label&&bg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&O(n,1)):(n=bg(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function bg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,v,m;o=new Oi({props:{node:i[43]}});function w(){return i[21](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),_=z(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"data-testid",g=de.getTestId(i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-menu__item")},m(k,y){E(k,e,y),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,_),p=!0,v||(m=ae(t,"click",Mt(w)),v=!0)},p(k,y){i=k,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const N={};y[0]&1&&(N.node=i[43]),o.$set(N),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=de.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(k){p||(O(o.$$.fragment,k),p=!0)},o(k){W(o.$$.fragment,k),p=!1},d(k){k&&A(e),He(o),v=!1,m()}}}function vg(i){let e,t,n=!i[43].hideFromNav&&mg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&1&&O(n,1)):(n=mg(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function wg(i){let e,t,n=i[43].label&&Sg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&O(n,1)):(n=Sg(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Sg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,v,m,w,k;o=new Oi({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=C("span"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),_=z(),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,"data-testid",g=de.getTestId(i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class",p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-ujogtf"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",v=i[43]===i[2])},m(N,T){E(N,e,T),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,_),m=!0,w||(k=ae(t,"click",Mt(y)),w=!0)},p(N,T){i=N,(!m||T[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const R={};T[0]&1&&(R.node=i[43]),o.$set(R),(!m||T[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!m||T[0]&1&&g!==(g=de.getTestId(i[43])))&&f(t,"data-testid",g),(!m||T[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h),(!m||T[0]&5&&p!==(p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-ujogtf"))&&f(e,"class",p),(!m||T[0]&5&&v!==(v=i[43]===i[2]))&&f(e,"isselected",v)},i(N){m||(O(o.$$.fragment,N),m=!0)},o(N){W(o.$$.fragment,N),m=!1},d(N){N&&A(e),He(o),w=!1,k()}}}function Cg(i){let e,t,n=!i[43].hideFromNav&&wg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),W(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&1&&O(n,1)):(n=wg(l),n.c(),O(n,1),n.m(e.parentNode,e))},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function kg(i){let e,t,n,l,r,s;const o=[$k,Xk],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(ny).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),W(c[p],1,1,()=>{c[p]=null}),Pe()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),O(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(O(l),s=!0)},o(h){W(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function xk(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,v,m,w,k,y,N,T,R;function D(){return i[23](i[39],i[42])}function I(){return i[24](i[39],i[42])}let U=i[40],B=[];for(let K=0;K<U.length;K+=1)B[K]=Pg(fg(i,U,K));const L=K=>W(B[K],1,1,()=>{B[K]=null});return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),s=Ne(r),g=z(),h=C("button"),_=C("i"),m=z(),w=C("ul");for(let K=0;K<B.length;K+=1)B[K].c();y=z(),f(l,"class","fd-nested-list__title svelte-ujogtf"),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=sr(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",v=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-ujogtf"),f(t,"tabindex","0"),f(w,"class","fd-nested-list level-2"),f(w,"aria-hidden",k=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(K,G){E(K,e,G),S(e,t),S(t,n),S(n,l),S(l,s),S(t,g),S(t,h),S(h,_),S(e,m),S(e,w);for(let x=0;x<B.length;x+=1)B[x].m(w,null);S(e,y),N=!0,T||(R=[ae(n,"click",Mt(D)),ae(h,"click",Mt(I))],T=!0)},p(K,G){if(i=K,(!N||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(s,r),(!N||G[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!N||G[0]&5&&c!==(c=sr(i[39],i[2])))&&f(n,"aria-selected",c),(!N||G[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!N||G[0]&9&&v!==(v=i[3][i[39]+i[42]]))&&f(h,"aria-expanded",v),G[0]&49221){U=i[40];let x;for(x=0;x<U.length;x+=1){const ee=fg(i,U,x);B[x]?(B[x].p(ee,G),O(B[x],1)):(B[x]=Pg(ee),B[x].c(),O(B[x],1),B[x].m(w,null))}for(ye(),x=U.length;x<B.length;x+=1)L(x);Pe()}(!N||G[0]&9&&k!==(k=!i[3][i[39]+i[42]]))&&f(w,"aria-hidden",k)},i(K){if(!N){for(let G=0;G<U.length;G+=1)O(B[G]);N=!0}},o(K){B=B.filter(Boolean);for(let G=0;G<B.length;G+=1)W(B[G]);N=!1},d(K){K&&A(e),dt(B,K),T=!1,Ze(R)}}}function ey(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=Ng(cg(i,n,s));const r=s=>W(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=cg(s,n,c);l[c]?(l[c].p(g,o),O(l[c],1)):(l[c]=Ng(g),l[c].c(),O(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)O(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)W(l[o]);t=!1},d(s){dt(l,s),s&&A(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,v,m;o=new Oi({props:{node:i[43]}});function w(){return i[25](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),_=z(),f(n,"class","fd-nested-list__title svelte-ujogtf"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"data-testid",g=de.getTestId(i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(k,y){E(k,e,y),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,_),p=!0,v||(m=ae(t,"click",Mt(w)),v=!0)},p(k,y){i=k,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const N={};y[0]&1&&(N.node=i[43]),o.$set(N),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=de.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(k){p||(O(o.$$.fragment,k),p=!0)},o(k){W(o.$$.fragment,k),p=!1},d(k){k&&A(e),He(o),v=!1,m()}}}function Pg(i){let e,t,n=i[43].label&&yg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&O(n,1)):(n=yg(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Ng(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p,v,m;o=new Oi({props:{node:i[43]}});function w(){return i[22](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=z(),We(o.$$.fragment),_=z(),f(n,"class","fd-nested-list__title svelte-ujogtf"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=de.getTestId(i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(k,y){E(k,e,y),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(e,_),p=!0,v||(m=ae(t,"click",Mt(w)),v=!0)},p(k,y){i=k,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const N={};y[0]&1&&(N.node=i[43]),o.$set(N),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=de.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(k){p||(O(o.$$.fragment,k),p=!0)},o(k){W(o.$$.fragment,k),p=!1},d(k){k&&A(e),He(o),v=!1,m()}}}function Ig(i){let e,t,n,l,r;const s=[ey,xk],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=ke()},m(g,h){o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?o[t].p(g,h):(ye(),W(o[_],1,1,()=>{o[_]=null}),Pe(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),O(n,1),n.m(l.parentNode,l))},i(g){r||(O(n),r=!0)},o(g){W(n),r=!1},d(g){o[t].d(g),g&&A(l)}}}function ty(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&_g(i);return{c(){r&&r.c(),e=ke()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[ae(yo,"click",i[8]),ae(yo,"blur",i[8]),ae(yo,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>0&&(s[1][0].topNav===!1||s[1].length>1)?r?(r.p(s,o),o[0]&3&&O(r,1)):(r=_g(s),r.c(),O(r,1),r.m(e.parentNode,e)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){t||(O(r),t=!0)},o(s){W(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Ze(l)}}}function sr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ny=i=>!i.hideFromNav&&i.label,iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=de.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:v=!1}=e,{resizeTabNavToggle:m}=e,w,k=gt("getTranslation");bi(i,k,ne=>t(12,n=ne));let y=gt("store"),N;const T={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:v}),set:ne=>{ne&&Object.getOwnPropertyNames(ne).forEach(te=>{te==="pathData"?t(1,r=ne.pathData):te==="context"?context=ne.context:te==="children"?t(0,l=ne.children):te==="selectedNode"?t(11,h=ne.selectedNode):te==="selectedNodeForTabNav"&&t(2,_=ne.selectedNodeForTabNav)})}},R=zt();function D(ne){return de.getNodeLabel(ne)}const I=async()=>{const ne=T.get(),te=await Vt.getTabNavData({...ne},ne);te&&(T.set({...te}),o=r,window.LEFTNAVDATA=te.groupedChildren,setTimeout(U))},U=()=>{B();let ne=document.getElementsByClassName("luigi-tabsContainer")[0],te=document.getElementsByClassName("luigi-tabsMoreButton")[0],be=document.getElementsByClassName("luigi__more")[0],je,Qe=0,me=!1,Ge,ct;be&&be.setAttribute("aria-selected","false"),ne&&(je=ne.offsetWidth,[...ne.children].forEach(vt=>{Ge=vt.currentStyle||window.getComputedStyle(vt),ct=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),Qe+=vt.offsetWidth+ct;let Ht=vt.getAttribute("uid");Qe>=je?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&be.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Ht+'"]').classList.remove("hide_element"),me=!0):document.querySelector('li[uid="'+Ht+'"]').classList.add("hide_element")}),me?te.classList.remove("hide_element"):te.classList.add("hide_element"))},B=()=>{let ne=document.getElementsByClassName("luigi-tabsContainer")[0];ne!==void 0&&[...ne.children].forEach(be=>{be.classList.remove("hide_element")})},L=()=>{N=new ResizeObserver(ne=>{for(const te of ne)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",te.contentRect.height+"px")}),setTimeout(()=>{const ne=document.querySelector("#tabsContainer.lui-tabs");ne&&N.observe(ne)})},K=()=>{N&&N.disconnect()};Yt(()=>{t(16,c=re.getConfigBooleanValue("settings.hideNavigation")),L(),fn.doOnStoreChange(y,()=>{I()},["navigation.viewgroupdata"])}),Qr(()=>{K(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Un(()=>{(!o||o!=r)&&I(),(w===void 0||w!==m)&&(w=m,I())}),fa(()=>{K(),N?setTimeout(()=>{const ne=document.querySelector("#tabsContainer.lui-tabs");ne&&N.observe(ne)}):L()});function G(ne){return pe.getNodeHref(ne,s)}function x(ne){Q(),R("handleClick",{node:ne})}function ee(ne){let te={};p[ne]||(te[ne]=!0),t(3,p=te)}function Q(){t(3,p={}),t(4,v=!1)}function Y(){B(),U()}function j(){t(4,v=!v)}const J=ne=>x(ne),we=ne=>ee(ne),ie=ne=>x(ne),oe=ne=>x(ne),Ce=(ne,te)=>ee(ne+te),ue=(ne,te)=>ee(ne+te),Ie=ne=>x(ne),Fe=ne=>ee(ne.name);return i.$$set=ne=>{"children"in ne&&t(0,l=ne.children),"pathData"in ne&&t(1,r=ne.pathData),"pathParams"in ne&&t(17,s=ne.pathParams),"hideNavComponent"in ne&&t(16,c=ne.hideNavComponent),"virtualGroupPrefix"in ne&&t(5,g=ne.virtualGroupPrefix),"selectedNodeForTabNav"in ne&&t(2,_=ne.selectedNodeForTabNav),"dropDownStates"in ne&&t(3,p=ne.dropDownStates),"isMoreBtnExpanded"in ne&&t(4,v=ne.isMoreBtnExpanded),"resizeTabNavToggle"in ne&&t(18,m=ne.resizeTabNavToggle)},[l,r,_,p,v,g,x,ee,Q,Y,j,h,n,k,D,G,c,s,m,J,we,ie,oe,Ce,ue,Ie,Fe]}class sy extends Rt{constructor(e){super(),Et(this,e,ry,ty,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 Tg(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function Lg(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function Ag(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Eg(i),o=i[0]&&i[3].length>0&&Mg(i);return{c(){e=C("div"),t=C("nav"),n=C("div"),s&&s.c(),l=z(),r=C("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fujm32"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fujm32"),f(e,"class","lui-globalnav svelte-fujm32")},m(c,g){E(c,e,g),S(e,t),S(t,n),s&&s.m(n,null),S(t,l),S(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Eg(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=Mg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),s&&s.d(),o&&o.d()}}}function Eg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vg(Lg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fujm32")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&7891){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Lg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vg(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&&A(e),dt(n,l)}}}function Rg(i){let e,t,n,l,r,s=i[11](i[23])+"",o,c,g,h,_,p,v,m,w,k,y=i[23].icon&&Dg(i);function N(...T){return i[17](i[23],...T)}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ne(s),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-fujm32"),f(g,"class","lui-indicator svelte-fujm32"),f(n,"class","lui-fd-nested-list__content svelte-fujm32"),f(t,"href",h=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fujm32"),f(e,"class",v="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fujm32"),f(e,"data-testid",m=de.getTestId(i[23]))},m(T,R){E(T,e,R),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,c),S(n,g),S(e,p),w||(k=ae(t,"click",N),w=!0)},p(T,R){i=T,i[23].icon?y?y.p(i,R):(y=Dg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),R&1&&s!==(s=i[11](i[23])+"")&&Te(o,s),R&65&&h!==(h=i[6]?i[12](i[23]):void 0)&&f(t,"href",h),R&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),R&3&&v!==(v="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fujm32")&&f(e,"class",v),R&1&&m!==(m=de.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&A(e),y&&y.d(),w=!1,k()}}}function Dg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[23])),e?oy:ay}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function ay(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fujm32"),it(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function oy(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fujm32")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fujm32")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vg(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&Rg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=Rg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Mg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ug(Tg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fujm32")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&7891){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Tg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ug(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&&A(e),dt(n,l)}}}function Og(i){let e,t,n,l,r,s=i[11](i[23])+"",o,c,g,h,_,p,v,m,w,k,y=i[23].icon&&Fg(i);function N(){return i[18](i[23])}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ne(s),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-fujm32"),f(g,"class","lui-indicator svelte-fujm32"),f(n,"class","lui-fd-nested-list__content svelte-fujm32"),f(t,"href",h=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"class","svelte-fujm32"),f(e,"class",v="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fujm32"),f(e,"data-testid",m=de.getTestId(i[23]))},m(T,R){E(T,e,R),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,c),S(n,g),S(e,p),w||(k=ae(n,"click",Mt(N)),w=!0)},p(T,R){i=T,i[23].icon?y?y.p(i,R):(y=Fg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),R&1&&s!==(s=i[11](i[23])+"")&&Te(o,s),R&65&&h!==(h=i[6]?i[12](i[23]):void 0)&&f(t,"href",h),R&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),R&3&&v!==(v="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fujm32")&&f(e,"class",v),R&1&&m!==(m=de.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&A(e),y&&y.d(),w=!1,k()}}}function Fg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[23])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(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&&A(t)}}}function uy(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fujm32"),it(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function fy(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fujm32")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fujm32")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ug(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&Og(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=Og(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function cy(i){let e,t,n,l=i[2]&&Ag(i);return{c(){l&&l.c(),e=ke()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[ae(window,"click",ua),ae(window,"blur",ua)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ag(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Oe,o:Oe,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function ua(){}function dy(i,e,t){let n;const l=zt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=gt("store"),_=gt("getTranslation");bi(i,_,L=>t(7,n=L));let{showGlobalNav:p}=e,{hideNavComponent:v}=e,{responsiveNavSetting:m}=e,w=re.getConfigBooleanValue("navigation.addNavHrefs");const k=async()=>{if(r&&0<r.length){const L=await de.generateTopNavNodes(r);t(0,c=L.children),t(1,g=L.selectedNode),s=r}};Yt(()=>{fn.doOnStoreChange(h,()=>{t(13,v=re.getConfigBooleanValue("settings.hideNavigation")),t(14,m=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"])}),Un(()=>{(!s||s!=r)&&k(),t(6,w=re.getConfigBooleanValue("navigation.addNavHrefs"))});function y(L){return de.renderIconClassName(L)}function N(L){return de.isOpenUIiconName(L.icon)}function T(L){return pt.getTranslation(L.label)}function R(L){return pe.getNodeHref(L,o)}function D(L){l("handleClick",{node:L})}function I(L){D(L.detail.node)}const U=(L,K)=>{de.handleNavAnchorClickedWithoutMetaKey(K)&&D(L)},B=L=>D(L);return i.$$set=L=>{"pathData"in L&&t(3,r=L.pathData),"pathParams"in L&&t(15,o=L.pathParams),"children"in L&&t(0,c=L.children),"selectedNode"in L&&t(1,g=L.selectedNode),"showGlobalNav"in L&&t(2,p=L.showGlobalNav),"hideNavComponent"in L&&t(13,v=L.hideNavComponent),"responsiveNavSetting"in L&&t(14,m=L.responsiveNavSetting)},[c,g,p,r,D,ua,w,n,_,y,N,T,R,v,m,o,I,U,B]}class hy extends Rt{constructor(e){super(),Et(this,e,dy,cy,Tt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ua}}function gy(i){let e;return{c(){e=C("div"),f(e,"class","lui-breadcrumb-container svelte-1am2yjm")},m(t,n){E(t,e,n),i[4](e)},p:Oe,i:Oe,o:Oe,d(t){t&&A(e),i[4](null)}}}function _y(i,e,t){const n=zt();let{pathData:l}=e,r,s={},o,c=gt("store"),{showBreadcrumb:g}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const h=async()=>{l&&0<l.length&&(r=l)},_=w=>{w.last||v(w.node)};Yt(()=>{fn.doOnStoreChange(c,()=>{},["navigation"])}),Un(async()=>{if(l&&(!r||r!=l)){if(h(),l.length===0)return;const w=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!w),g&&l.forEach(k=>{k.showBreadcrumbs===!1?t(1,g=!1):k.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),w.renderer){let k=[];const y=w.omitRoot?2:1,N=xe.getCurrentPath();for(let T=y;T<l.length;T++){const R=l[T],D=pe.mapPathToNode(N,R);if(s[D])k.push(s[D]);else if(R.label||R.pathSegment||R.titleResolver)if(document.body.classList.add("lui-breadcrumb"),R.titleResolver)k.push({label:R.titleResolver.prerenderFallback&&R.titleResolver.fallbackTitle?pt.getTranslation(R.titleResolver.fallbackTitle):w.pendingItemLabel||"",node:R,route:D,pending:!0});else{const I=await p(R);I&&k.push({label:I,node:R,route:D})}}w.clearBeforeRender&&t(0,o.innerHTML="",o),w.renderer(o,k,_),k=[];for(let T=y;T<l.length;T++){const R=l[T],D=pe.mapPathToNode(N,R);if(R.titleResolver){const U=await Vt.extractDataFromPath(D),B=pe.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,R.context),U.pathData.pathParams);try{const L=await de.fetchNodeTitleData(R,B);k.push({label:L.label,node:R,route:D});continue}catch{}}const I=await p(R);I&&k.push({label:I,node:R,route:D})}N===xe.getCurrentPath()&&(w.clearBeforeRender&&t(0,o.innerHTML="",o),k.length>1?(k[k.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),w.renderer(o,k,_)):w.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},k.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 p(w){if(w.label&&!w._virtualTree)return pt.getTranslation(w.label)||w.label;if(w.pathSegment&&w.pathSegment.indexOf(":")===0){const k=pe.mapPathToNode(xe.getCurrentPath(),w),y=await Vt.extractDataFromPath(k);return pe.getDynamicNodeValue(w,y.pathData.pathParams)}return w.pathSegment?w.pathSegment:""}function v(w){n("handleClick",{node:w})}function m(w){tt[w?"unshift":"push"](()=>{o=w,t(0,o)})}return i.$$set=w=>{"pathData"in w&&t(2,l=w.pathData),"showBreadcrumb"in w&&t(1,g=w.showBreadcrumb)},[o,g,l,v,m]}class py extends Rt{constructor(e){super(),Et(this,e,_y,gy,Tt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Lo="not_checked";In.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Lo="disabled"):i.data==="luigi.tpcEnabled"&&(Lo="enabled")},!1);function my(){return Lo}const{Boolean:by,window:Bg}=ul;function Hg(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Wg(i){let e,t;return e=new wS({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[35]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function zg(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 b_({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&134217728&&(c.settings=i[147].mfModal.settings),o[0]&134217728&&(c.nodepath=i[147].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(s){t||(O(e.$$.fragment,s),t=!0)},o(s){W(e.$$.fragment,s),t=!1},d(s){He(e,s)}}}function qg(i){let e,t,n=i[147].mfModal.displayed&&zg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[147].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&O(n,1)):(n=zg(l),n.c(),O(n,1),n.m(e.parentNode,e)):n&&(ye(),W(n,1,1,()=>{n=null}),Pe())},i(l){t||(O(n),t=!0)},o(l){W(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Gg(i){let e,t;return e=new b_({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[vy]},$$scope:{ctx:i}}}),e.$on("close",i[43]),e.$on("drawerState",i[42]),e.$on("iframeCreated",i[40]),e.$on("wcCreated",i[41]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[4]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function vy(i){let e,t;return e=new Xr({props:{area:"drawer",disable:i[12]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Kg(i){let e,t;return e=new PS({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function jg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new WS({props:r}),tt.push(()=>It(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};o[0]&131072&&(c.userSettingGroups=s[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=s[5],Nt(()=>t=!1)),e.$set(c)},i(s){n||(O(e.$$.fragment,s),n=!0)},o(s){W(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function Jg(i){let e,t;return e=new JS({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[31]),e.$on("statusChanged",i[32]),e.$on("wcCreated",i[33]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function wy(i){let e,t,n,l,r,s,o,c,g;t=new Xr({props:{area:"main",disable:i[12]}});let h=i[11].displayed&&Jg(i);return{c(){e=C("div"),We(t.$$.fragment),n=z(),l=C("div"),r=z(),h&&h.c(),s=ke(),f(l,"class","wcContainer svelte-ujrqb3"),f(e,"class","fd-page iframeContainer svelte-ujrqb3"),f(e,"tabindex","0"),gi(e,"lui-split-view",i[11].displayed),gi(e,"lui-collapsed",i[11].collapsed)},m(_,p){E(_,e,p),Be(t,e,null),S(e,n),S(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,c||(g=cw(i[44].call(null,e)),c=!0)},p(_,p){const v={};p[0]&4096&&(v.disable=_[12]),t.$set(v),(!o||p[0]&2048)&&gi(e,"lui-split-view",_[11].displayed),(!o||p[0]&2048)&&gi(e,"lui-collapsed",_[11].collapsed),_[11].displayed?h?(h.p(_,p),p[0]&2048&&O(h,1)):(h=Jg(_),h.c(),O(h,1),h.m(s.parentNode,s)):h&&(ye(),W(h,1,1,()=>{h=null}),Pe())},i(_){o||(O(t.$$.fragment,_),O(h),o=!0)},o(_){W(t.$$.fragment,_),W(h),o=!1},d(_){_&&A(e),He(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function Yg(i){let e;return{c(){e=C("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-ujrqb3" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-ujrqb3"></div>
59
59
  <div class="fd-busy-indicator__circle svelte-ujrqb3"></div>
60
- <div class="fd-busy-indicator__circle svelte-ujrqb3"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-ujrqb3"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Qg(i){let e,t,n,l,r,s,o;function c(m){i[74](m)}function g(m){i[75](m)}function h(m){i[76](m)}function _(m){i[77](m)}function p(m){i[78](m)}let w={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(w.isSearchFieldVisible=i[0]),i[3]!==void 0&&(w.displaySearchResult=i[3]),i[4]!==void 0&&(w.searchResult=i[4]),i[1]!==void 0&&(w.inputElem=i[1]),i[2]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[2]),e=new Jk({props:w}),tt.push(()=>It(e,"isSearchFieldVisible",c,i[0])),tt.push(()=>It(e,"displaySearchResult",g,i[3])),tt.push(()=>It(e,"searchResult",h,i[4])),tt.push(()=>It(e,"inputElem",_,i[1])),tt.push(()=>It(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[29]),e.$on("resizeTabNav",i[30]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){We(e.$$.fragment)},m(m,v){Be(e,m,v),o=!0},p(m,v){const k={};v[0]&16384&&(k.pathData=m[14]),v[0]&8192&&(k.pathParams=m[13]),v[0]&262144&&(k.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,k.isSearchFieldVisible=m[0],Nt(()=>t=!1)),!n&&v[0]&8&&(n=!0,k.displaySearchResult=m[3],Nt(()=>n=!1)),!l&&v[0]&16&&(l=!0,k.searchResult=m[4],Nt(()=>l=!1)),!r&&v[0]&2&&(r=!0,k.inputElem=m[1],Nt(()=>r=!1)),!s&&v[0]&4&&(s=!0,k.luigiCustomSearchRenderer__slot=m[2],Nt(()=>s=!1)),e.$set(k)},i(m){o||(M(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){He(e,m)}}}function Zg(i){let e,t,n,l;e=new hy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[29]);let r=i[19]&&Xg(i);return{c(){We(e.$$.fragment),t=q(),r&&r.c(),n=ke()},m(s,o){Be(e,s,o),L(s,t,o),r&&r.m(s,o),L(s,n,o),l=!0},p(s,o){const c={};o[0]&16384&&(c.pathData=s[14]),o[0]&8192&&(c.pathParams=s[13]),e.$set(c),s[19]?r?(r.p(s,o),o[0]&524288&&M(r,1)):(r=Xg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){z(e.$$.fragment,s),z(r),l=!1},d(s){He(e,s),s&&T(t),r&&r.d(s),s&&T(n)}}}function Xg(i){let e,t;return e=new py({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[29]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function $g(i){let e,t;return e=new yS({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[29]),e.$on("resizeTabNav",i[30]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function xg(i){let e,t;return e=new sy({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[29]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Sy(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y=i[25]&&i[25].length&&Wg(i),N=i[27],I=[];for(let te=0;te<N.length;te+=1)I[te]=qg(Hg(i,N,te));const A=te=>z(I[te],1,1,()=>{I[te]=null});let R=i[28].displayed&&i[28].settings.isDrawer&&Gg(i),E=i[26].displayed&&Kg(i),O=i[17].displayed&&jg(i);o=new Xr({props:{disable:i[12],$$slots:{default:[wy]},$$scope:{ctx:i}}});let H=i[10]&&Yg(),F=!i[24]&&Qg(i),B=!i[20]&&Zg(i),G=!(i[20]||i[21])&&$g(i),ee=i[15]&&!i[20]&&xg(i);return{c(){e=C("div"),y&&y.c(),t=q();for(let te=0;te<I.length;te+=1)I[te].c();n=q(),R&&R.c(),l=q(),E&&E.c(),r=q(),O&&O.c(),s=q(),We(o.$$.fragment),c=q(),H&&H.c(),g=q(),F&&F.c(),h=q(),B&&B.c(),_=q(),G&&G.c(),p=q(),ee&&ee.c(),f(e,"id","app"),f(e,"class",w=(i[20]?"no-nav":"")+" "+(i[21]?"no-side-nav":"")+" "+(i[24]?"no-top-nav":"")+" "+(i[22]?"no-animation":"")+" svelte-ujrqb3"),f(e,"configversion",i[23])},m(te,Z){L(te,e,Z),y&&y.m(e,null),S(e,t);for(let J=0;J<I.length;J+=1)I[J].m(e,null);S(e,n),R&&R.m(e,null),S(e,l),E&&E.m(e,null),S(e,r),O&&O.m(e,null),S(e,s),Be(o,e,null),S(e,c),H&&H.m(e,null),S(e,g),F&&F.m(e,null),S(e,h),B&&B.m(e,null),S(e,_),G&&G.m(e,null),S(e,p),ee&&ee.m(e,null),m=!0,v||(k=[ae(Bg,"resize",i[34]),ae(Bg,"keydown",i[45])],v=!0)},p(te,Z){if(te[25]&&te[25].length?y?(y.p(te,Z),Z[0]&33554432&&M(y,1)):(y=Wg(te),y.c(),M(y,1),y.m(e,t)):y&&(ye(),z(y,1,1,()=>{y=null}),Pe()),Z[0]&134221824|Z[1]&448){N=te[27];let j;for(j=0;j<N.length;j+=1){const Y=Hg(te,N,j);I[j]?(I[j].p(Y,Z),M(I[j],1)):(I[j]=qg(Y),I[j].c(),M(I[j],1),I[j].m(e,n))}for(ye(),j=N.length;j<I.length;j+=1)A(j);Pe()}te[28].displayed&&te[28].settings.isDrawer?R?(R.p(te,Z),Z[0]&268435456&&M(R,1)):(R=Gg(te),R.c(),M(R,1),R.m(e,l)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),te[26].displayed?E?(E.p(te,Z),Z[0]&67108864&&M(E,1)):(E=Kg(te),E.c(),M(E,1),E.m(e,r)):E&&(ye(),z(E,1,1,()=>{E=null}),Pe()),te[17].displayed?O?(O.p(te,Z),Z[0]&131072&&M(O,1)):(O=jg(te),O.c(),M(O,1),O.m(e,s)):O&&(ye(),z(O,1,1,()=>{O=null}),Pe());const J={};Z[0]&4096&&(J.disable=te[12]),Z[0]&6144|Z[4]&67108864&&(J.$$scope={dirty:Z,ctx:te}),o.$set(J),te[10]?H||(H=Yg(),H.c(),H.m(e,g)):H&&(H.d(1),H=null),te[24]?F&&(ye(),z(F,1,1,()=>{F=null}),Pe()):F?(F.p(te,Z),Z[0]&16777216&&M(F,1)):(F=Qg(te),F.c(),M(F,1),F.m(e,h)),te[20]?B&&(ye(),z(B,1,1,()=>{B=null}),Pe()):B?(B.p(te,Z),Z[0]&1048576&&M(B,1)):(B=Zg(te),B.c(),M(B,1),B.m(e,_)),te[20]||te[21]?G&&(ye(),z(G,1,1,()=>{G=null}),Pe()):G?(G.p(te,Z),Z[0]&3145728&&M(G,1)):(G=$g(te),G.c(),M(G,1),G.m(e,p)),te[15]&&!te[20]?ee?(ee.p(te,Z),Z[0]&1081344&&M(ee,1)):(ee=xg(te),ee.c(),M(ee,1),ee.m(e,null)):ee&&(ye(),z(ee,1,1,()=>{ee=null}),Pe()),(!m||Z[0]&24117248&&w!==(w=(te[20]?"no-nav":"")+" "+(te[21]?"no-side-nav":"")+" "+(te[24]?"no-top-nav":"")+" "+(te[22]?"no-animation":"")+" svelte-ujrqb3"))&&f(e,"class",w),(!m||Z[0]&8388608)&&f(e,"configversion",te[23])},i(te){if(!m){M(y);for(let Z=0;Z<N.length;Z+=1)M(I[Z]);M(R),M(E),M(O),M(o.$$.fragment,te),M(F),M(B),M(G),M(ee),m=!0}},o(te){z(y),I=I.filter(by);for(let Z=0;Z<I.length;Z+=1)z(I[Z]);z(R),z(E),z(O),z(o.$$.fragment,te),z(F),z(B),z(G),z(ee),m=!1},d(te){te&&T(e),y&&y.d(),dt(I,te),R&&R.d(),E&&E.d(),O&&O.d(),He(o),H&&H.d(),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),v=!1,Qe(k)}}}function Cy(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,w,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te,Z=!0,J=!1,j,Y,be,re=[],oe={isDirty:!1,persistUrl:null},Ce,De,ce=!1,Re,ne,x={},me,je,Ze,{isSearchFieldVisible:pe}=e,{inputElem:qe}=e,{luigiCustomSearchRenderer__slot:mt}=e,{displaySearchResult:rn}=e,{searchResult:vt}=e,{storedUserSettings:Zt}=e;const An=async U=>{const fe=U.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,ze=await se.readUserSettings(),Me=Ee&&typeof ze=="object"&&ze!==null,we=Te.applyCoreStateData({isNavigateBack:J,viewStackSize:re.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Me?ze[Ee]:null,anchor:rl.getAnchor(),cssVariables:await To.getCSSVariables()});return Te.specialIframeTypes.map(Ve=>Ve.iframeConfigKey).forEach(Ve=>{we[Ve]=U[Ve]||!1}),we},Wt=async(U,fe={})=>{if(!U.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},U.context||A,fe)),nodeParams:JSON.stringify(Object.assign({},U.nodeParams||R)),pathParams:JSON.stringify(Object.assign({},U.pathParams||E)),searchParams:JSON.stringify(Object.assign({},_e.prepareSearchParamsForClient(U.iframe.luigi.currentNode))),internal:JSON.stringify(await An(U)),authData:sl.getStoredAuthData()};U.iframe.luigi._lastUpdatedMessage=Ee,Te.sendMessageToIframe(U.iframe,Ee)},Wn=U=>{const fe={msg:"luigi.auth.tokenIssued",authData:U};Te.broadcastMessageToAllIframes(fe)},fl=(U,fe)=>{if(U.params.preserveView||U.params.viewgroup){const Ee=en(U.params),ze=xe.getNodePath(H,O);re.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(ze,fe.iframe.luigi.pathParams,":",!1):ze,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:A}),fe.iframe.pv="pv"}},Cn=(U,fe,Ee,ze)=>{let Me=en(U.params,Ee,ze);const{preventHistoryEntry:we,preserveQueryParams:Ve,preventContextUpdate:_t}=U.params,Ot={keepBrowserHistory:!we,navSync:Z,preventContextUpdate:_t};return Me=le.addLeadingSlash(Me),Me=Ve?_e.composeSearchParamsToRoute(Me):Me,fl(U,fe),xe.navigateTo(Me,Ot)},ut=U=>U.split("?")[0],ei=(U,fe)=>{if(U.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,ze=[...U].pop();return[ut(ze.path),ut(ze.nextPath)].includes(ut(Ee))},fi=U=>{oe&&oe.dirtySet&&(U?oe.dirtySet.delete(U):oe.dirtySet.clear())},_n=U=>new Promise((fe,Ee)=>{Pi(U)?Ul().then(()=>{fi(),fe()},()=>{Ee()}):fe()}),Jt=()=>({get:()=>({unsavedChanges:oe,hideNav:hl,viewUrl:F,nodeParams:R,viewGroup:B,urlParamsRaw:O,currentNode:H,navigationPath:Y,context:A,pathParams:E,hideSideNav:di,isolateView:G,pageErrorHandler:ee,previousNodeValues:te,mfSplitView:o,splitViewValues:c,splitViewIframe:k,splitViewWC:N,showLoadingIndicator:s,tabNav:De,isNavigateBack:J,goBackContext:j,isNavigationSyncEnabled:Z}),set:U=>{U&&(t(22,gl=!1),Object.getOwnPropertyNames(U).forEach(fe=>{fe==="hideNav"?t(20,hl=U.hideNav):fe==="viewUrl"?F=U.viewUrl:fe==="nodeParams"?R=U.nodeParams:fe==="viewGroup"?B=U.viewGroup:fe==="urlParamsRaw"?O=U.urlParamsRaw:fe==="currentNode"?H=U.currentNode:fe==="navigationPath"?t(14,Y=U.navigationPath):fe==="context"?A=U.context:fe==="pathParams"?t(13,E=U.pathParams):fe==="hideSideNav"?(di!=U.hideSideNav&&(t(22,gl=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(21,di=U.hideSideNav)):fe==="isolateView"?G=U.isolateView:fe==="pageErrorHandler"?ee=U.pageErrorHandler:fe==="previousNodeValues"?te=U.previousNodeValues:fe==="mfSplitView"?t(11,o=U.mfSplitView):fe==="splitViewValues"?c=U.splitViewValues:fe==="splitViewIframe"?k=U.splitViewIframe:fe=="splitViewWC"?N=U.splitViewWC:fe==="showLoadingIndicator"?U.showLoadingIndicator===!0?Ze=setTimeout(()=>{t(10,s=!0)},250):(t(10,s=!1),clearTimeout(Ze)):fe==="tabNav"?t(15,De=U.tabNav):fe==="isNavigateBack"?J=U.isNavigateBack:fe==="goBackContext"?j=U.goBackContext:fe==="isNavigationSyncEnabled"&&(Z=U.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Pi,getUnsavedChangesModalPromise:_n,showUnsavedChangesModal:Ul,showAlert:Hi,prepareInternalData:An,dispatch:n}),cl=(U,fe)=>{fn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Bn.deleteCache();const ze=xe.getCurrentPath();xe.handleRouteChange(ze,Jt(),U,fe)},["navigation.nodes"]),_e.addRouteChangeListener((Ee,ze)=>{const{withoutSync:Me,preventContextUpdate:we}=ze||{};ei(re,Ee)||(re=[],si.removeInactiveIframes(U));for(let _t=ft.length;_t--;)mn(_t);Zr.removeBackdrop(),Ui(),xe.handleRouteChange(Ee,Jt(),U,fe,Me,we)})},Yt=(U,fe)=>le.replaceVars(xe.getNodePath(U),fe,":",!1),en=(U,fe,Ee)=>{const ze=fe||H,Me=Ee||E;let we=Y;if(fe){let _t=fe.parent;for(we=[fe];_t;)we.push(_t),_t=_t.parent;we=[...we].reverse()}let Ve=U.link;if(U.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}Ve=xe.concatenatePath(Yt(_t,Me),U.link)}else if(U.fromParent)Ve=xe.concatenatePath(Yt(ze.parent,Me),U.link);else if(U.fromClosestContext){const _t=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Ve=xe.concatenatePath(Yt(_t,Me),U.link)}else if(U.fromContext){const _t=U.fromContext,Ot=[...we].reverse().find(yr=>_t===yr.navigationContext);Ve=xe.concatenatePath(Yt(Ot,Me),U.link)}else U.intent?Ve=_e.getIntentPath(U.link):U.relative&&(Ve=xe.concatenatePath(Yt(ze,Me),U.link));return U.nodeParams&&Object.keys(U.nodeParams).length>0&&(Ve+=Ve.includes("?")?"&":"?",Object.entries(U.nodeParams).forEach((_t,Ot)=>{Ve+=encodeURIComponent(_e.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ot<Object.keys(U.nodeParams).length-1?"&":"")})),Ve},ci=U=>{const fe=U.detail.node;_n().then(()=>{if(Ol(),fe.openNodeInModal){const Ee=_e.buildRoute(fe,`/${fe.pathSegment}`);X(Ee,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Ee=_e.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,$r(Ee,fe.drawer)}else Jt().set({isNavigationSyncEnabled:!0}),xe.handleRouteClick(fe,Jt())},()=>{})},Ci=()=>{t(16,ce=!ce)};zr("handleNavigation",Cn);const cn=U=>U?!0:(console.warn("No search provider defined."),!1),ki=()=>{cn(ne)&&t(0,pe=!1)},yi=()=>{cn(ne)&&qe&&(t(0,pe=!0),qe.focus())},ie=()=>{cn(ne)&&qe&&(t(1,qe.value="",qe),kn())},Le=()=>{t(0,pe=!pe),zw.clearSearchField()},st=()=>{if(cn(ne)&&qe)return qe.value},yt=U=>{cn(ne)&&qe&&(t(1,qe.value=U,qe),le.isFunction(ne.onInput)?ne.onInput():console.error("onInput is not a function. Please check the global search configuration."))},St=U=>{cn(ne)&&qe&&t(1,qe.placeholder=U,qe)},sn=U=>{if(cn(ne))if(U&&U.length>0)if(le.isFunction(ne.customSearchResultRenderer)){let fe={fireItemSelected:Ee=>{ne.onSearchResultItemSelected(Ee)}};ne.customSearchResultRenderer(U,mt,fe)}else t(3,rn=!0),t(4,vt=U);else console.warn("Search result array is empty.")},kn=()=>{if(cn(ne)&&(t(3,rn=!1),t(4,vt=[]),mt))for(;mt.lastElementChild;)mt.removeChild(mt.lastElementChild)},ti=U=>{let fe=U.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Cn(Ee)},zn=(U,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=rt.getDefaultData().mfSplitView),rt.open(Jt(),U,fe)},Ui=()=>{rt.close(Jt())},dr=()=>{rt.collapse(Jt()),t(11,o.collapsed=!0,o)},hr=()=>{rt.expand(Jt()),t(11,o.collapsed=!1,o)},gr=()=>o.displayed?o.collapsed:!1,Dl=()=>o.displayed?!o.collapsed:!1,_r=()=>o.displayed,pr=U=>{k=U.detail.splitViewIframe,y=U.detail.splitViewIframeData,t(11,o.collapsed=U.detail.collapsed,o)},mr=U=>{U.detail.displayed!==void 0&&t(11,o.displayed=U.detail.displayed,o),U.detail.collapsed!==void 0&&t(11,o.collapsed=U.detail.collapsed,o)},dl=U=>{N=U.detail.splitViewWC,U.detail.splitViewWCData,t(11,o.collapsed=U.detail.collapsed,o)};let hl,di,gl,Bi,Vl,Ml;const Ol=()=>{document.body.classList.remove("lui-leftNavToggle")},br=()=>{qi();const U=window.innerWidth>=xt.desktopMinWidth&&Bi<xt.desktopMinWidth,fe=window.innerWidth<xt.desktopMinWidth&&Bi>=xt.desktopMinWidth;(U||fe)&&Ol(),Bi=window.innerWidth};let yn=[];const _l=(U,fe)=>{if(!(!U||!(U.length>0)))return U.filter(Ee=>Ee.settings.id===fe)[0]},Hi=(U,fe=!1)=>{const Ee=se.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Me=Ee(U,fe);if(Me!==!1)return Me}const ze=yn;return U.id||(U.id=le.getRandomId()),U.id&&ze&&_l(ze,U.id)?(console.error(`The alert with id '${U.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(U.closeAfter&&setTimeout(()=>{_l(yn,U.id)&&Fl(U.id)},U.closeAfter),new Promise((Me,we)=>{t(25,yn=[...ze||[],{displayed:!0,settings:U,openFromClient:fe,promise:{resolve:Me}}])}))},Fl=(U,fe)=>{const Ee=_l(yn,U);if(!Ee){console.error("An unexisting alert has been dismissed.",yn,U);return}if(t(25,yn=yn.filter(ze=>ze.settings.id!==U)),Ee.openFromClient){const ze=si.getActiveIframe(be),Me={msg:"luigi.ux.alert.hide",id:U,dismissKey:fe};Te.sendMessageToIframe(ze,Me)}else Ee.promise&&Ee.promise.resolve(fe||U)},vr=U=>{Fl(U.detail.id,U.detail.dismissKey)};let Wi;const pl=()=>{t(26,Wi={displayed:!1,content:{},openFromClient:!1,promise:null})};pl();const ml=(U,fe=!1,Ee)=>new Promise((ze,Me)=>{t(26,Wi={displayed:!0,settings:U,openFromClient:fe,promise:{resolve:ze,reject:Me},targetIframe:Ee})}),bl=U=>{const{promise:fe,openFromClient:Ee,targetIframe:ze}=Wi;if(pl(),U?fe.resolve():fe.reject(),Ee&&ze){const Me={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:U}};Te.sendMessageToIframe(ze,Me)}},Pi=U=>{if(oe.dirtySet){if(U)return oe.dirtySet.has(U);if(oe.dirtySet.size>0)return!0}return!1},Ul=()=>ml({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),zi=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;zr("getUnsavedChangesModalPromise",_n);let ft=[];const vl=U=>{if(typeof U>"u"){t(27,ft=[]);return}t(27,ft=ft.filter((fe,Ee)=>U!==Ee))};vl();const X=async(U,fe)=>{if(await Se.shouldPreventNavigationForPath(U))return;const Ee={mfModal:{displayed:!0,nodepath:U,settings:fe}};t(27,ft=[...ft,Ee]),se.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&xe.appendModalDataToUrl(U,fe)},Lt=(U,fe)=>{t(27,ft[fe].modalIframe=U.detail.modalIframe,ft),t(27,ft[fe].modalIframeData=U.detail.modalIframeData,ft)},pn=(U,fe)=>{t(27,ft[fe].modalWC=U.detail.modalWC,ft),t(27,ft[fe].modalWCData=U.detail.modalWCData,ft)},mn=(U,fe,Ee)=>{const ze=(Ve,_t)=>{se.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&xe.removeModalDataFromUrl(_t),vl(Ve)},Me=ft[U],we=le.getRemotePromise(Me.mfModal.settings.onClosePromiseId);Me&&Me.modalIframe?_n(Me.modalIframe.contentWindow).then(()=>{ze(U,fe),we&&we.doResolve(Ee)},()=>{}):Me&&Me.modalWC&&(ze(U,fe),we&&we.doResolve(Ee))};zr("openViewInModal",X);let Qt={};const Bl=()=>{t(28,Qt.displayed=!1,Qt),t(28,Qt.nodepath=void 0,Qt),t(28,Qt.settings={},Qt),t(12,_=!1)};Bl();const $r=async(U,fe)=>{await Se.shouldPreventNavigationForPath(U)||(t(28,Qt.displayed=!0,Qt),t(28,Qt.nodepath=U,Qt),t(28,Qt.settings=fe,Qt),Qt.settings&&Qt.settings.backdrop&&t(12,_=!0))},ca=()=>window.innerWidth>=xt.desktopMinWidth&&Qt.displayed&&Qt.settings&&!Qt.settings.overlap,qi=(U=!1)=>{if(!ca())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(U)Ee.forEach(ze=>{ze==null||ze.style.removeProperty("width")});else{const{width:ze}=getComputedStyle(fe);Ee.forEach(Me=>{xr(Me,ze)})}},xr=(U,fe)=>{U&&!U.style.getPropertyValue("width").includes("calc(")&&U.style.setProperty("width",`calc(${U.clientWidth}px - ${fe})`)},es=U=>{p=U.detail.modalIframe,w=U.detail.modalIframeData,qi()},wr=U=>{m=U.detail.modalWC,U.detail.modalWCData,qi()},da=U=>{h=U.detail.activeDrawer},Hl=U=>{if(U&&U.detail&&U.detail.activeDrawer!==void 0&&(h=U.detail.activeDrawer),!h||U&&U.detail&&U.detail.type!=="modal")try{p?_n(p.contentWindow).then(()=>{Bl()},()=>{}):m&&_n().then(()=>{Bl()},()=>{}),qi(!0)}catch(fe){console.log(fe)}},Wl=()=>{const U=rr.processUserSettingGroups();Array.isArray(U)&&U.length>0?(t(17,x.userSettingGroups=[...U],x),t(17,x.displayed=!0,x)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ts=()=>{t(17,x.displayed=!1,x)},ha=async U=>{if(await Se.shouldPreventNavigationForPath(U))return;se.getConfigValue("routing.useHashRouting")&&(U="#"+U),window.open(U,"_blank","noopener,noreferrer")},ns=U=>{let fe=Y;if(H){let Me=H.parent;for(fe=[H];Me;)fe.push(Me),Me=Me.parent;fe=[...fe].reverse()}let Ee=U.link,ze=Yt(H,E);if(U.fromVirtualTreeRoot){const Me=[...fe].reverse().find(Ve=>Ve.virtualTree);if(!Me){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Yt(Me,E);Ee=ze.split(we).join("")}else if(U.fromParent){const Me=Yt(H.parent,E);Ee=ze.split(Me).join("")}else if(U.fromClosestContext){const Me=[...fe].reverse().find(Ve=>Ve.navigationContext&&Ve.navigationContext.length>0),we=Yt(Me,E);Ee=ze.split(we).join("")}else if(U.fromContext){const Me=U.fromContext,we=[...fe].reverse().find(_t=>Me===_t.navigationContext),Ve=Yt(we,E);Ee=ze.split(Ve).join("")}else Ee=ze;return Ee};function is(U){sessionStorage.removeItem("historyState"),lr.shouldPreload=!0,lr.preload(!0),lr.shouldPreload=!1;const fe=se.getConfigValue("navigation.defaults.isolateView"),Ee=se.getConfigValue("navigation.defaults.pageErrorHandler"),ze=se.getConfigValue("navigation.defaults.runTimeErrorHandler"),Me={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const Ve={msg:"luigi.current-locale-changed",currentLocale:we};Te.broadcastMessageToAllIframes(Ve)}),Ln.addEventListener("popstate",async we=>{const Ve=yn;if(!Ve||!(Ve.length>0))return;const _t=Ve.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(25,yn=_t)}),Ln.addEventListener("message",async we=>{const Ve=Te.getValidMessageSource(we),_t=ft[ft.length-1],Ot=_t&&_t.modalIframe,yr=_t&&_t.modalIframeData,Ki={modalIframe:Ot,modalIframeData:yr,drawerIframe:p,drawerIframeData:w,drawer:v,modal:g,splitViewIframe:k,splitViewIframeData:y,splitView:I};if(!Ve)return;Ve._ready=!0;const Ct=Te.getSpecialIframeMessageSource(we,Ki),ht=Ct&&Ct.length>0,Pr=se.getConfigValue("communication.skipEventsWhenInactive");if(Pr&&Pr.length>0&&!ht&&Ve.contentWindow!==window&&!le.isElementVisible(Ve)&&Pr.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Ge=se.getConfigValue("communication.customMessagesListeners")||{},Pt=la.convertCustomMessageInternalToUser(we.data),Dt=Ge[Pt.id],tn="luigi.updateUserSettings";if(x&&Pt.id===tn){Dt&&console.warn(`The key "${tn}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const En=ui.getMicrofrontends().find(qn=>Te.isMessageSource(we,qn.container));Dt(Pt,En,le.removeInternalProperties(Ve.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Pt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(Ve.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(Ve.luigi.viewUrl=Ve.luigi.nextViewUrl,Ve.luigi.nextViewUrl="",Ve.luigi.clientPermissions=Ve.luigi.nextClientPermissions,delete Ve.luigi.nextClientPermissions,Me.navigateOk=!0,lr.preload()),we.data.msg==="luigi.get-context"){if(Ve.luigi.clientVersion=we.data.clientVersion,Ve.luigi.initOk=!1,ht)Ct.forEach(async Ge=>{let Pt=Ki[Ge.dataKey].context;const Dt={...Me,iframe:Ki[Ge.iframeKey],context:Pt,pathParams:Ki[Ge.dataKey].pathParams,nodeParams:Ki[Ge.dataKey].nodeParams,searchParams:_e.prepareSearchParamsForClient(Ki[Ge.iframeKey].luigi.currentNode),modal:Ge.iframeKey.startsWith("modal"),drawer:Ge.iframeKey.startsWith("drawer"),splitView:Ge.iframeKey.startsWith("splitView")};await Wt(Dt,{})});else if(Me.iframe&&Te.isMessageSource(we,Me.iframe))await Wt(Me,{}),(!H||!H.loadingIndicator||H.loadingIndicator.hideAutomatically!==!1)&&ga(),lr.preload();else if(Ve.luigi.preloading)await Wt({iframe:Ve,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ge=rr.findActiveCustomUserSettingsIframe(we.source);if(Ge){let Pt=Ge.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:Zt[Pt]},iframe:Ge};await Wt(Dt)}}lr.viewGroupLoaded(Ve)}if(we.data.msg==="luigi.show-loading-indicator"&&t(10,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ze),t(10,s=!1)),we.data.msg==="luigi.navigation.open"){J=!1;const Ge=window.location.href,Pt=ht?Ve.luigi.currentNode:void 0,Dt=ht?Ve.luigi.pathParams:void 0,tn=we.data.params,{intent:En,newTab:qn,modal:wl,splitView:qt,drawer:ji,withoutSync:Ji}=tn;let ql=qn||wl||qt||ji;const Nr=()=>{const Rn=le.getRemotePromise(we.data.remotePromiseId);Rn&&Rn.doResolve()},an=()=>{const Rn=le.getRemotePromise(we.data.remotePromiseId);Rn&&Rn.doReject()},Yi=Rn=>{!Rn||Ge!==window.location.href?Nr():an()};we.source!==window&&!En&&tn.link&&(tn.link=tn.link.split("?")[0]);let on=en(we.data.params,Pt,Dt);if(ql=ql||En&&on.external,!ql)_n().then(()=>{Z=!we.data.params.withoutSync,Cn(we.data,Me,Pt,Dt).then(()=>{Yi(!0)}).catch(()=>{an()}),ft.forEach((Rn,fs)=>{mn(fs)}),Ui(),Hl(),Z=!0}).catch(()=>{an()});else{if(En&&on.external){xe.navigateToExternalLink({url:on.url,sameWindow:!on.openInNewTab});return}if(on=le.addLeadingSlash(on),qn){await ha(on),Yi();return}const Rn=await Sr(on);if(on=await _e.handlePageNotFoundAndRetrieveRedirectPath(Jt(),on,Rn),!on){an();return}be=U,wl!==void 0?(!wl.keepPrevious&&vl(),await X(on,wl===!0?{}:wl),Yi()):qt!==void 0?(await zn(on,qt),Yi()):ji!==void 0&&(Bl(),ji.isDrawer=!0,await $r(on,ji),Yi())}}if(we.data.msg==="luigi.navigation.back"){const Ge=ft[ft.length-1],Pt=ft.length>1&&ft[ft.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Te.isMessageSource(we,Ge&&Ge.modalIframe)){mn(ft.length-1,!0,Dt);let tn=Me;if(Pt&&Pt.modalIframeData&&Pt.modalIframe){const En=Pt,qn=En.modalIframeData;tn={pathParams:qn.pathParams,context:qn.context,iframe:En.modalIframe}}tn.iframe&&await Wt(tn,{goBackContext:Dt})}else Te.isMessageSource(we,k)?(Ui(),Me.iframe&&await Wt(Me,{goBackContext:Dt})):Te.isMessageSource(we,p)?(h&&(h=!h),Hl(),Me.iframe&&await Wt(Me,{goBackContext:Dt})):re&&re.length>0?_n().then(()=>{si.setActiveIframeToPrevious(U);const tn=re.pop();Me.iframe=si.getActiveIframe(U),J=!0,re=re,j=Dt,Cn({params:{link:tn.path}},Me)},()=>{}):(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 Ge=we.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:ns(Ge),correlationId:Ge.id}};Te.sendMessageToIframe(Ve,Dt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Wn(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!se.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(ht){const Ge=le.addLeadingSlash(en(we.data.params,Ve.luigi.currentNode,Ve.luigi.pathParams));xe.updateModalDataInUrl(Ge,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 Ge=Ve.luigi.currentNode,Pt=Ve.luigi.pathParams,Dt=we.data.data,tn=en(Dt,Ge,Pt),En=tn?await Vt.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),tn):!1,qn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:En?En.isExistingRoute:!1}};Te.sendMessageToIframe(Ve,qn)}if(we.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const Ge=new Set;Ge.add(we.source),oe={dirtySet:Ge}}oe.persistUrl=window.location.href,we.data.dirty?oe.dirtySet.add(we.source):oe.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Ge=we.data.data.settings;be=U,pl(),ml(Ge,!0,Ve).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Ge}=we.data.data;if(!Ge.text&&!le.isFunction(se.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}be=U,Hi(Ge,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(Ve.luigi.clientPermissions&&Ve.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ge}=we.data.data;Ge&&pt.setCurrentLocale(Ge)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Re&&!Re.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&zl(),we.data.msg==="storage"&&_2.process(Ve.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Ge=Ve.luigi.currentNode;Ge&&Ge.runTimeErrorHandler&&le.isFunction(Ge.runTimeErrorHandler.errorFn)?Ge.runTimeErrorHandler.errorFn(we.data.errorObj,Ge):ze&&le.isFunction(ze.errorFn)&&ze.errorFn(we.data.errorObj,Ge)}if(we.data.msg==="luigi.addSearchParams")if(Ve.luigi.currentNode.clientPermissions&&Ve.luigi.currentNode.clientPermissions.urlParameters){const{data:Ge,keepBrowserHistory:Pt}=we.data;_e.addSearchParamsFromClient(Ve.luigi.currentNode,Ge,Pt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(ht)return;const{data:Ge,keepBrowserHistory:Pt}=we.data;rl.addNodeParams(Ge,Pt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Ge}=we.data;rl.setAnchor(Ge)}if(we.data.msg==="luigi.setVGData"){const Ge=we.data,Pt=Se.findViewGroup(Ve.luigi.currentNode);if(Pt){const Dt=Se.getViewGroupSettings(Pt);Dt._liveCustomData=Ge.data,se.configChanged("navigation.viewgroupdata")}}}),cl(U,Me)}zr("store",l),zr("getTranslation",r);const zl=U=>{Re&&Re.thirdPartyCookieErrorHandling&&le.isFunction(Re.thirdPartyCookieErrorHandling)&&Re.thirdPartyCookieErrorHandling()};function ga(){const U=document.querySelector(".spinnerContainer.appSpinner");U&&U.classList.contains("fade-out")?(U.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ze),t(10,s=!1)},250)):clearTimeout(Ze)}const Sr=async U=>{const fe={link:U,relative:U[0]!=="/",intent:_e.hasIntent(U)},Ee=en(fe),ze=Ee?await Vt.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Ee):!1;return ze?ze.isExistingRoute:!1},Cr=()=>ft.length>0||re.length!==0;jt(()=>{if(To._init(),ne=se.getConfigValue("globalSearch.searchProvider"),Ce=se.getConfigValue("settings.responsiveNavigation"),Bi=window.innerWidth,Ce==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();U&&fe&&t(18,me=document.body.classList.contains("lui-leftNavToggle")?U:fe)}}else if(Ce==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();if(U&&fe){const Ee=JSON.parse(localStorage.getItem(Se.COL_NAV_KEY));t(18,me=Ee?U:fe)}}document.body.classList.add("lui-semiCollapsible")}Re=se.getConfigValue("settings.thirdPartyCookieCheck"),Re&&Re.thirdPartyCookieScriptLocation&&setTimeout(()=>{let U=document.createElement("iframe");U.width="0px",U.height="0px",U.src=Re.thirdPartyCookieScriptLocation,document.body.appendChild(U),U.onload=function(){setTimeout(()=>{my()==="disabled"&&zl()}),document.body.removeChild(U)}})}),fa(()=>{qi()}),Hn(()=>{t(19,je=se.getConfigValue("navigation.breadcrumbs")),ne=se.getConfigValue("globalSearch.searchProvider"),t(23,Vl=se.getConfigValue("tag")),t(24,Ml=se.getConfigValue("settings.header.disabled"))});const kr=U=>{U.keyCode===vi&&ft&&ft.length>0&&mn(ft.length-1)},Gi=U=>mn(U,!0),ls=(U,fe)=>Lt(fe,U),rs=(U,fe)=>pn(fe,U),_a=()=>bl(!0),ss=()=>bl(!1);function as(U){Zt=U,t(5,Zt)}function os(U){pe=U,t(0,pe)}function us(U){rn=U,t(3,rn)}function pa(U){vt=U,t(4,vt)}function ma(U){qe=U,t(1,qe)}function ba(U){mt=U,t(2,mt)}return i.$$set=U=>{"store"in U&&t(46,l=U.store),"getTranslation"in U&&t(47,r=U.getTranslation),"isSearchFieldVisible"in U&&t(0,pe=U.isSearchFieldVisible),"inputElem"in U&&t(1,qe=U.inputElem),"luigiCustomSearchRenderer__slot"in U&&t(2,mt=U.luigiCustomSearchRenderer__slot),"displaySearchResult"in U&&t(3,rn=U.displaySearchResult),"searchResult"in U&&t(4,vt=U.searchResult),"storedUserSettings"in U&&t(5,Zt=U.storedUserSettings)},[pe,qe,mt,rn,vt,Zt,Le,kn,ti,ts,s,o,_,E,Y,De,ce,x,me,je,hl,di,gl,Vl,Ml,yn,Wi,ft,Qt,ci,Ci,pr,mr,dl,br,vr,bl,Lt,pn,mn,es,wr,da,Hl,is,kr,l,r,ki,yi,ie,st,yt,St,sn,zn,Ui,dr,hr,gr,Dl,_r,Hi,ml,zi,Wl,Sr,Cr,Gi,ls,rs,_a,ss,as,os,us,pa,ma,ba]}class ky extends Rt{constructor(e){super(),Et(this,e,Cy,Sy,Tt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:6,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:7,handleSearchNavigation:8,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:9,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[6]}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[7]}get handleSearchNavigation(){return this.$$.ctx[8]}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[9]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const yy=()=>{const{subscribe:i,update:e,reset:t}=or({}),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)})}}},T_=yy(),Py=Mw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=T_;const Ny=()=>new Promise(i=>{pt._init(),ln.init().then(()=>{setTimeout(()=>{let e;ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new ky({target:ui.getLuigiContainer(),props:{store:T_,getTranslation:Py}}),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()})})});se.setConfigCallbacks(Ny);
60
+ <div class="fd-busy-indicator__circle svelte-ujrqb3"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-ujrqb3"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Qg(i){let e,t,n,l,r,s,o;function c(m){i[74](m)}function g(m){i[75](m)}function h(m){i[76](m)}function _(m){i[77](m)}function p(m){i[78](m)}let v={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.searchResult=i[4]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new Jk({props:v}),tt.push(()=>It(e,"isSearchFieldVisible",c,i[0])),tt.push(()=>It(e,"displaySearchResult",g,i[3])),tt.push(()=>It(e,"searchResult",h,i[4])),tt.push(()=>It(e,"inputElem",_,i[1])),tt.push(()=>It(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[29]),e.$on("resizeTabNav",i[30]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){We(e.$$.fragment)},m(m,w){Be(e,m,w),o=!0},p(m,w){const k={};w[0]&16384&&(k.pathData=m[14]),w[0]&8192&&(k.pathParams=m[13]),w[0]&262144&&(k.burgerTooltip=m[18]),!t&&w[0]&1&&(t=!0,k.isSearchFieldVisible=m[0],Nt(()=>t=!1)),!n&&w[0]&8&&(n=!0,k.displaySearchResult=m[3],Nt(()=>n=!1)),!l&&w[0]&16&&(l=!0,k.searchResult=m[4],Nt(()=>l=!1)),!r&&w[0]&2&&(r=!0,k.inputElem=m[1],Nt(()=>r=!1)),!s&&w[0]&4&&(s=!0,k.luigiCustomSearchRenderer__slot=m[2],Nt(()=>s=!1)),e.$set(k)},i(m){o||(O(e.$$.fragment,m),o=!0)},o(m){W(e.$$.fragment,m),o=!1},d(m){He(e,m)}}}function Zg(i){let e,t,n,l;e=new hy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[29]);let r=i[19]&&Xg(i);return{c(){We(e.$$.fragment),t=z(),r&&r.c(),n=ke()},m(s,o){Be(e,s,o),E(s,t,o),r&&r.m(s,o),E(s,n,o),l=!0},p(s,o){const c={};o[0]&16384&&(c.pathData=s[14]),o[0]&8192&&(c.pathParams=s[13]),e.$set(c),s[19]?r?(r.p(s,o),o[0]&524288&&O(r,1)):(r=Xg(s),r.c(),O(r,1),r.m(n.parentNode,n)):r&&(ye(),W(r,1,1,()=>{r=null}),Pe())},i(s){l||(O(e.$$.fragment,s),O(r),l=!0)},o(s){W(e.$$.fragment,s),W(r),l=!1},d(s){He(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function Xg(i){let e,t;return e=new py({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[29]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function $g(i){let e,t;return e=new y2({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[29]),e.$on("resizeTabNav",i[30]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function xg(i){let e,t;return e=new sy({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[29]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){W(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Sy(i){let e,t,n,l,r,s,o,c,g,h,_,p,v,m,w,k,y=i[25]&&i[25].length&&Wg(i),N=i[27],T=[];for(let ee=0;ee<N.length;ee+=1)T[ee]=qg(Hg(i,N,ee));const R=ee=>W(T[ee],1,1,()=>{T[ee]=null});let D=i[28].displayed&&i[28].settings.isDrawer&&Gg(i),I=i[26].displayed&&Kg(i),U=i[17].displayed&&jg(i);o=new Xr({props:{disable:i[12],$$slots:{default:[wy]},$$scope:{ctx:i}}});let B=i[10]&&Yg(),L=!i[24]&&Qg(i),K=!i[20]&&Zg(i),G=!(i[20]||i[21])&&$g(i),x=i[15]&&!i[20]&&xg(i);return{c(){e=C("div"),y&&y.c(),t=z();for(let ee=0;ee<T.length;ee+=1)T[ee].c();n=z(),D&&D.c(),l=z(),I&&I.c(),r=z(),U&&U.c(),s=z(),We(o.$$.fragment),c=z(),B&&B.c(),g=z(),L&&L.c(),h=z(),K&&K.c(),_=z(),G&&G.c(),p=z(),x&&x.c(),f(e,"id","app"),f(e,"class",v=(i[20]?"no-nav":"")+" "+(i[21]?"no-side-nav":"")+" "+(i[24]?"no-top-nav":"")+" "+(i[22]?"no-animation":"")+" svelte-ujrqb3"),f(e,"configversion",i[23])},m(ee,Q){E(ee,e,Q),y&&y.m(e,null),S(e,t);for(let Y=0;Y<T.length;Y+=1)T[Y].m(e,null);S(e,n),D&&D.m(e,null),S(e,l),I&&I.m(e,null),S(e,r),U&&U.m(e,null),S(e,s),Be(o,e,null),S(e,c),B&&B.m(e,null),S(e,g),L&&L.m(e,null),S(e,h),K&&K.m(e,null),S(e,_),G&&G.m(e,null),S(e,p),x&&x.m(e,null),m=!0,w||(k=[ae(Bg,"resize",i[34]),ae(Bg,"keydown",i[45])],w=!0)},p(ee,Q){if(ee[25]&&ee[25].length?y?(y.p(ee,Q),Q[0]&33554432&&O(y,1)):(y=Wg(ee),y.c(),O(y,1),y.m(e,t)):y&&(ye(),W(y,1,1,()=>{y=null}),Pe()),Q[0]&134221824|Q[1]&448){N=ee[27];let j;for(j=0;j<N.length;j+=1){const J=Hg(ee,N,j);T[j]?(T[j].p(J,Q),O(T[j],1)):(T[j]=qg(J),T[j].c(),O(T[j],1),T[j].m(e,n))}for(ye(),j=N.length;j<T.length;j+=1)R(j);Pe()}ee[28].displayed&&ee[28].settings.isDrawer?D?(D.p(ee,Q),Q[0]&268435456&&O(D,1)):(D=Gg(ee),D.c(),O(D,1),D.m(e,l)):D&&(ye(),W(D,1,1,()=>{D=null}),Pe()),ee[26].displayed?I?(I.p(ee,Q),Q[0]&67108864&&O(I,1)):(I=Kg(ee),I.c(),O(I,1),I.m(e,r)):I&&(ye(),W(I,1,1,()=>{I=null}),Pe()),ee[17].displayed?U?(U.p(ee,Q),Q[0]&131072&&O(U,1)):(U=jg(ee),U.c(),O(U,1),U.m(e,s)):U&&(ye(),W(U,1,1,()=>{U=null}),Pe());const Y={};Q[0]&4096&&(Y.disable=ee[12]),Q[0]&6144|Q[4]&67108864&&(Y.$$scope={dirty:Q,ctx:ee}),o.$set(Y),ee[10]?B||(B=Yg(),B.c(),B.m(e,g)):B&&(B.d(1),B=null),ee[24]?L&&(ye(),W(L,1,1,()=>{L=null}),Pe()):L?(L.p(ee,Q),Q[0]&16777216&&O(L,1)):(L=Qg(ee),L.c(),O(L,1),L.m(e,h)),ee[20]?K&&(ye(),W(K,1,1,()=>{K=null}),Pe()):K?(K.p(ee,Q),Q[0]&1048576&&O(K,1)):(K=Zg(ee),K.c(),O(K,1),K.m(e,_)),ee[20]||ee[21]?G&&(ye(),W(G,1,1,()=>{G=null}),Pe()):G?(G.p(ee,Q),Q[0]&3145728&&O(G,1)):(G=$g(ee),G.c(),O(G,1),G.m(e,p)),ee[15]&&!ee[20]?x?(x.p(ee,Q),Q[0]&1081344&&O(x,1)):(x=xg(ee),x.c(),O(x,1),x.m(e,null)):x&&(ye(),W(x,1,1,()=>{x=null}),Pe()),(!m||Q[0]&24117248&&v!==(v=(ee[20]?"no-nav":"")+" "+(ee[21]?"no-side-nav":"")+" "+(ee[24]?"no-top-nav":"")+" "+(ee[22]?"no-animation":"")+" svelte-ujrqb3"))&&f(e,"class",v),(!m||Q[0]&8388608)&&f(e,"configversion",ee[23])},i(ee){if(!m){O(y);for(let Q=0;Q<N.length;Q+=1)O(T[Q]);O(D),O(I),O(U),O(o.$$.fragment,ee),O(L),O(K),O(G),O(x),m=!0}},o(ee){W(y),T=T.filter(by);for(let Q=0;Q<T.length;Q+=1)W(T[Q]);W(D),W(I),W(U),W(o.$$.fragment,ee),W(L),W(K),W(G),W(x),m=!1},d(ee){ee&&A(e),y&&y.d(),dt(T,ee),D&&D.d(),I&&I.d(),U&&U.d(),He(o),B&&B.d(),L&&L.d(),K&&K.d(),G&&G.d(),x&&x.d(),w=!1,Ze(k)}}}function Cy(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,v,m,w,k,y,N,T,R,D,I,U,B,L,K,G,x,ee,Q=!0,Y=!1,j,J,we,ie=[],oe={isDirty:!1,persistUrl:null},Ce,ue,Ie=!1,Fe,ne,te={},be,je,Qe,{isSearchFieldVisible:me}=e,{inputElem:Ge}=e,{luigiCustomSearchRenderer__slot:ct}=e,{displaySearchResult:_n}=e,{searchResult:vt}=e,{storedUserSettings:Ht}=e;const vi=async F=>{const ce=F.iframe.luigi,Re=ce.currentNode&&ce.currentNode.userSettingsGroup,ze=await re.readUserSettings(),Ve=Re&&typeof ze=="object"&&ze!==null,Se=Le.applyCoreStateData({isNavigateBack:Y,viewStackSize:ie.length,clientPermissions:ce.nextViewUrl?ce.nextClientPermissions:ce.clientPermissions,userSettings:Ve?ze[Re]:null,anchor:rl.getAnchor(),cssVariables:await To.getCSSVariables()});return Le.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{Se[De]=F[De]||!1}),Se},Ot=async(F,ce={})=>{if(!F.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},F.context||R,ce)),nodeParams:JSON.stringify(Object.assign({},F.nodeParams||D)),pathParams:JSON.stringify(Object.assign({},F.pathParams||I)),searchParams:JSON.stringify(Object.assign({},pe.prepareSearchParamsForClient(F.iframe.luigi.currentNode))),internal:JSON.stringify(await vi(F)),authData:sl.getStoredAuthData()};F.iframe.luigi._lastUpdatedMessage=Re,Le.sendMessageToIframe(F.iframe,Re)},Fi=F=>{const ce={msg:"luigi.auth.tokenIssued",authData:F};Le.broadcastMessageToAllIframes(ce)},fl=(F,ce)=>{if(F.params.preserveView||F.params.viewgroup){const Re=tn(F.params),ze=xe.getNodePath(B,U);ie.push({path:ce.iframe.luigi&&ce.iframe.luigi.pathParams?le.replaceVars(ze,ce.iframe.luigi.pathParams,":",!1):ze,nextPath:Re.startsWith("/")?Re:"/"+Re,context:R}),ce.iframe.pv="pv"}},wt=(F,ce,Re,ze)=>{let Ve=tn(F.params,Re,ze);const{preventHistoryEntry:Se,preserveQueryParams:De,preventContextUpdate:_t}=F.params,Ft={keepBrowserHistory:!Se,navSync:Q,preventContextUpdate:_t};return Ve=le.addLeadingSlash(Ve),Ve=De?pe.composeSearchParamsToRoute(Ve):Ve,fl(F,ce),xe.navigateTo(Ve,Ft)},Zt=F=>F.split("?")[0],Zn=(F,ce)=>{if(F.length===0)return!1;const Re=ce.startsWith("/")?ce:`/${ce}`,ze=[...F].pop();return[Zt(ze.path),Zt(ze.nextPath)].includes(Zt(Re))},Xn=F=>{oe&&oe.dirtySet&&(F?oe.dirtySet.delete(F):oe.dirtySet.clear())},pn=F=>new Promise((ce,Re)=>{ki(F)?Ul().then(()=>{Xn(),ce()},()=>{Re()}):ce()}),Xt=()=>({get:()=>({unsavedChanges:oe,hideNav:gl,viewUrl:L,nodeParams:D,viewGroup:K,urlParamsRaw:U,currentNode:B,navigationPath:J,context:R,pathParams:I,hideSideNav:ui,isolateView:G,pageErrorHandler:x,previousNodeValues:ee,mfSplitView:o,splitViewValues:c,splitViewIframe:k,splitViewWC:N,showLoadingIndicator:s,tabNav:ue,isNavigateBack:Y,goBackContext:j,isNavigationSyncEnabled:Q}),set:F=>{F&&(t(22,_l=!1),Object.getOwnPropertyNames(F).forEach(ce=>{ce==="hideNav"?t(20,gl=F.hideNav):ce==="viewUrl"?L=F.viewUrl:ce==="nodeParams"?D=F.nodeParams:ce==="viewGroup"?K=F.viewGroup:ce==="urlParamsRaw"?U=F.urlParamsRaw:ce==="currentNode"?B=F.currentNode:ce==="navigationPath"?t(14,J=F.navigationPath):ce==="context"?R=F.context:ce==="pathParams"?t(13,I=F.pathParams):ce==="hideSideNav"?(ui!=F.hideSideNav&&(t(22,_l=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(21,ui=F.hideSideNav)):ce==="isolateView"?G=F.isolateView:ce==="pageErrorHandler"?x=F.pageErrorHandler:ce==="previousNodeValues"?ee=F.previousNodeValues:ce==="mfSplitView"?t(11,o=F.mfSplitView):ce==="splitViewValues"?c=F.splitViewValues:ce==="splitViewIframe"?k=F.splitViewIframe:ce=="splitViewWC"?N=F.splitViewWC:ce==="showLoadingIndicator"?F.showLoadingIndicator===!0?Qe=setTimeout(()=>{t(10,s=!0)},250):(t(10,s=!1),clearTimeout(Qe)):ce==="tabNav"?t(15,ue=F.tabNav):ce==="isNavigateBack"?Y=F.isNavigateBack:ce==="goBackContext"?j=F.goBackContext:ce==="isNavigationSyncEnabled"&&(Q=F.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:ki,getUnsavedChangesModalPromise:pn,showUnsavedChangesModal:Ul,showAlert:Hi,prepareInternalData:vi,dispatch:n}),cl=(F,ce)=>{fn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Fn.deleteCache();const ze=xe.getCurrentPath();xe.handleRouteChange(ze,Xt(),F,ce)},["navigation.nodes"]),pe.addRouteChangeListener((Re,ze)=>{const{withoutSync:Ve,preventContextUpdate:Se}=ze||{};Zn(ie,Re)||(ie=[],ri.removeInactiveIframes(F));for(let _t=ut.length;_t--;)yi(_t);Zr.removeBackdrop(),Ui(),xe.handleRouteChange(Re,Xt(),F,ce,Ve,Se)})},Gt=(F,ce)=>le.replaceVars(xe.getNodePath(F),ce,":",!1),tn=(F,ce,Re)=>{const ze=ce||B,Ve=Re||I;let Se=J;if(ce){let _t=ce.parent;for(Se=[ce];_t;)Se.push(_t),_t=_t.parent;Se=[...Se].reverse()}let De=F.link;if(F.fromVirtualTreeRoot){const _t=[...Se].reverse().find(Ft=>Ft.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=xe.concatenatePath(Gt(_t,Ve),F.link)}else if(F.fromParent)De=xe.concatenatePath(Gt(ze.parent,Ve),F.link);else if(F.fromClosestContext){const _t=[...Se].reverse().find(Ft=>Ft.navigationContext&&Ft.navigationContext.length>0);De=xe.concatenatePath(Gt(_t,Ve),F.link)}else if(F.fromContext){const _t=F.fromContext,Ft=[...Se].reverse().find(yr=>_t===yr.navigationContext);De=xe.concatenatePath(Gt(Ft,Ve),F.link)}else F.intent?De=pe.getIntentPath(F.link):F.relative&&(De=xe.concatenatePath(Gt(ze,Ve),F.link));return F.nodeParams&&Object.keys(F.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(F.nodeParams).forEach((_t,Ft)=>{De+=encodeURIComponent(pe.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ft<Object.keys(F.nodeParams).length-1?"&":"")})),De},wi=F=>{const ce=F.detail.node;pn().then(()=>{if(Ol(),ce.openNodeInModal){const Re=pe.buildRoute(ce,`/${ce.pathSegment}`);Lt(Re,ce.openNodeInModal===!0?{}:ce.openNodeInModal)}else if(ce.drawer){const Re=pe.buildRoute(ce,`/${ce.pathSegment}`);ce.drawer.isDrawer=!0,$r(Re,ce.drawer)}else Xt().set({isNavigationSyncEnabled:!0}),xe.handleRouteClick(ce,Xt())},()=>{})},Si=()=>{t(16,Ie=!Ie)};zr("handleNavigation",wt);const cn=F=>F?!0:(console.warn("No search provider defined."),!1),Ci=()=>{cn(ne)&&t(0,me=!1)},se=()=>{cn(ne)&&Ge&&(t(0,me=!0),Ge.focus())},Ae=()=>{cn(ne)&&Ge&&(t(1,Ge.value="",Ge),$n())},st=()=>{t(0,me=!me),zw.clearSearchField()},yt=()=>{if(cn(ne)&&Ge)return Ge.value},mt=F=>{cn(ne)&&Ge&&(t(1,Ge.value=F,Ge),le.isFunction(ne.onInput)?ne.onInput():console.error("onInput is not a function. Please check the global search configuration."))},sn=F=>{cn(ne)&&Ge&&t(1,Ge.placeholder=F,Ge)},Tn=F=>{if(cn(ne))if(F&&F.length>0)if(le.isFunction(ne.customSearchResultRenderer)){let ce={fireItemSelected:Re=>{ne.onSearchResultItemSelected(Re)}};ne.customSearchResultRenderer(F,ct,ce)}else t(3,_n=!0),t(4,vt=F);else console.warn("Search result array is empty.")},$n=()=>{if(cn(ne)&&(t(3,_n=!1),t(4,vt=[]),ct))for(;ct.lastElementChild;)ct.removeChild(ct.lastElementChild)},xn=F=>{let ce=F.detail.node,Re={params:{link:ce.link,nodeParams:ce.params}};wt(Re)},dl=(F,ce)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=rt.getDefaultData().mfSplitView),rt.open(Xt(),F,ce)},Ui=()=>{rt.close(Xt())},dr=()=>{rt.collapse(Xt()),t(11,o.collapsed=!0,o)},hr=()=>{rt.expand(Xt()),t(11,o.collapsed=!1,o)},gr=()=>o.displayed?o.collapsed:!1,Dl=()=>o.displayed?!o.collapsed:!1,_r=()=>o.displayed,pr=F=>{k=F.detail.splitViewIframe,y=F.detail.splitViewIframeData,t(11,o.collapsed=F.detail.collapsed,o)},mr=F=>{F.detail.displayed!==void 0&&t(11,o.displayed=F.detail.displayed,o),F.detail.collapsed!==void 0&&t(11,o.collapsed=F.detail.collapsed,o)},hl=F=>{N=F.detail.splitViewWC,F.detail.splitViewWCData,t(11,o.collapsed=F.detail.collapsed,o)};let gl,ui,_l,Bi,Vl,Ml;const Ol=()=>{document.body.classList.remove("lui-leftNavToggle")},br=()=>{qi();const F=window.innerWidth>=en.desktopMinWidth&&Bi<en.desktopMinWidth,ce=window.innerWidth<en.desktopMinWidth&&Bi>=en.desktopMinWidth;(F||ce)&&Ol(),Bi=window.innerWidth};let Cn=[];const pl=(F,ce)=>{if(!(!F||!(F.length>0)))return F.filter(Re=>Re.settings.id===ce)[0]},Hi=(F,ce=!1)=>{const Re=re.getConfigValue("settings.customAlertHandler");if(le.isFunction(Re)){const Ve=Re(F,ce);if(Ve!==!1)return Ve}const ze=Cn;return F.id||(F.id=le.getRandomId()),F.id&&ze&&pl(ze,F.id)?(console.error(`The alert with id '${F.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(F.closeAfter&&setTimeout(()=>{pl(Cn,F.id)&&Fl(F.id)},F.closeAfter),new Promise((Ve,Se)=>{t(25,Cn=[...ze||[],{displayed:!0,settings:F,openFromClient:ce,promise:{resolve:Ve}}])}))},Fl=(F,ce)=>{const Re=pl(Cn,F);if(!Re){console.error("An unexisting alert has been dismissed.",Cn,F);return}if(t(25,Cn=Cn.filter(ze=>ze.settings.id!==F)),Re.openFromClient){const ze=ri.getActiveIframe(we),Ve={msg:"luigi.ux.alert.hide",id:F,dismissKey:ce};Le.sendMessageToIframe(ze,Ve)}else Re.promise&&Re.promise.resolve(ce||F)},vr=F=>{Fl(F.detail.id,F.detail.dismissKey)};let Wi;const ml=()=>{t(26,Wi={displayed:!1,content:{},openFromClient:!1,promise:null})};ml();const bl=(F,ce=!1,Re)=>new Promise((ze,Ve)=>{t(26,Wi={displayed:!0,settings:F,openFromClient:ce,promise:{resolve:ze,reject:Ve},targetIframe:Re})}),vl=F=>{const{promise:ce,openFromClient:Re,targetIframe:ze}=Wi;if(ml(),F?ce.resolve():ce.reject(),Re&&ze){const Ve={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:F}};Le.sendMessageToIframe(ze,Ve)}},ki=F=>{if(oe.dirtySet){if(F)return oe.dirtySet.has(F);if(oe.dirtySet.size>0)return!0}return!1},Ul=()=>bl({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),zi=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;zr("getUnsavedChangesModalPromise",pn);let ut=[];const $=F=>{if(typeof F>"u"){t(27,ut=[]);return}t(27,ut=ut.filter((ce,Re)=>F!==Re))};$();const Lt=async(F,ce)=>{if(await de.shouldPreventNavigationForPath(F))return;const Re={mfModal:{displayed:!0,nodepath:F,settings:ce}};t(27,ut=[...ut,Re]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&ut.length===1&&xe.appendModalDataToUrl(F,ce)},mn=(F,ce)=>{t(27,ut[ce].modalIframe=F.detail.modalIframe,ut),t(27,ut[ce].modalIframeData=F.detail.modalIframeData,ut)},ei=(F,ce)=>{t(27,ut[ce].modalWC=F.detail.modalWC,ut),t(27,ut[ce].modalWCData=F.detail.modalWCData,ut)},yi=(F,ce,Re)=>{const ze=(De,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&ut.length===1&&xe.removeModalDataFromUrl(_t),$(De)},Ve=ut[F],Se=le.getRemotePromise(Ve.mfModal.settings.onClosePromiseId);Ve&&Ve.modalIframe?pn(Ve.modalIframe.contentWindow).then(()=>{ze(F,ce),Se&&Se.doResolve(Re)},()=>{}):Ve&&Ve.modalWC&&(ze(F,ce),Se&&Se.doResolve(Re))};zr("openViewInModal",Lt);let Qt={};const Bl=()=>{t(28,Qt.displayed=!1,Qt),t(28,Qt.nodepath=void 0,Qt),t(28,Qt.settings={},Qt),t(12,_=!1)};Bl();const $r=async(F,ce)=>{await de.shouldPreventNavigationForPath(F)||(t(28,Qt.displayed=!0,Qt),t(28,Qt.nodepath=F,Qt),t(28,Qt.settings=ce,Qt),Qt.settings&&Qt.settings.backdrop&&t(12,_=!0))},ca=()=>window.innerWidth>=en.desktopMinWidth&&Qt.displayed&&Qt.settings&&!Qt.settings.overlap,qi=(F=!1)=>{if(!ca())return;const ce=document.querySelector(".iframeModalCtn._drawer");if(!ce)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(F)Re.forEach(ze=>{ze==null||ze.style.removeProperty("width")});else{const{width:ze}=getComputedStyle(ce);Re.forEach(Ve=>{xr(Ve,ze)})}},xr=(F,ce)=>{F&&!F.style.getPropertyValue("width").includes("calc(")&&F.style.setProperty("width",`calc(${F.clientWidth}px - ${ce})`)},es=F=>{p=F.detail.modalIframe,v=F.detail.modalIframeData,qi()},wr=F=>{m=F.detail.modalWC,F.detail.modalWCData,qi()},da=F=>{h=F.detail.activeDrawer},Hl=F=>{if(F&&F.detail&&F.detail.activeDrawer!==void 0&&(h=F.detail.activeDrawer),!h||F&&F.detail&&F.detail.type!=="modal")try{p?pn(p.contentWindow).then(()=>{Bl()},()=>{}):m&&pn().then(()=>{Bl()},()=>{}),qi(!0)}catch(ce){console.log(ce)}},Wl=()=>{const F=rr.processUserSettingGroups();Array.isArray(F)&&F.length>0?(t(17,te.userSettingGroups=[...F],te),t(17,te.displayed=!0,te)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ts=()=>{t(17,te.displayed=!1,te)},ha=async F=>{if(await de.shouldPreventNavigationForPath(F))return;re.getConfigValue("routing.useHashRouting")&&(F="#"+F),window.open(F,"_blank","noopener,noreferrer")},ns=F=>{let ce=J;if(B){let Ve=B.parent;for(ce=[B];Ve;)ce.push(Ve),Ve=Ve.parent;ce=[...ce].reverse()}let Re=F.link,ze=Gt(B,I);if(F.fromVirtualTreeRoot){const Ve=[...ce].reverse().find(De=>De.virtualTree);if(!Ve){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const Se=Gt(Ve,I);Re=ze.split(Se).join("")}else if(F.fromParent){const Ve=Gt(B.parent,I);Re=ze.split(Ve).join("")}else if(F.fromClosestContext){const Ve=[...ce].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),Se=Gt(Ve,I);Re=ze.split(Se).join("")}else if(F.fromContext){const Ve=F.fromContext,Se=[...ce].reverse().find(_t=>Ve===_t.navigationContext),De=Gt(Se,I);Re=ze.split(De).join("")}else Re=ze;return Re};function is(F){sessionStorage.removeItem("historyState"),lr.shouldPreload=!0,lr.preload(!0),lr.shouldPreload=!1;const ce=re.getConfigValue("navigation.defaults.isolateView"),Re=re.getConfigValue("navigation.defaults.pageErrorHandler"),ze=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ve={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ce,defaultPageErrorHandler:Re};pt.addCurrentLocaleChangeListener(Se=>{const De={msg:"luigi.current-locale-changed",currentLocale:Se};Le.broadcastMessageToAllIframes(De)}),In.addEventListener("popstate",async Se=>{const De=Cn;if(!De||!(De.length>0))return;const _t=De.map(Ft=>{if(Ft&&!Ft.openFromClient&&typeof Ft.settings.ttl=="number"){if(Ft.settings.ttl===0)return null;Ft.settings.ttl--}return Ft}).filter(Ft=>Ft);t(25,Cn=_t)}),In.addEventListener("message",async Se=>{const De=Le.getValidMessageSource(Se),_t=ut[ut.length-1],Ft=_t&&_t.modalIframe,yr=_t&&_t.modalIframeData,Ki={modalIframe:Ft,modalIframeData:yr,drawerIframe:p,drawerIframeData:v,drawer:w,modal:g,splitViewIframe:k,splitViewIframeData:y,splitView:T};if(!De)return;De._ready=!0;const Ct=Le.getSpecialIframeMessageSource(Se,Ki),ht=Ct&&Ct.length>0,Pr=re.getConfigValue("communication.skipEventsWhenInactive");if(Pr&&Pr.length>0&&!ht&&De.contentWindow!==window&&!le.isElementVisible(De)&&Pr.includes(Se.data.msg)){console.debug(`EVENT '${Se.data.msg}' from inactive iframe -> SKIPPED`);return}if(Se.data.msg==="custom"){const qe=re.getConfigValue("communication.customMessagesListeners")||{},Pt=la.convertCustomMessageInternalToUser(Se.data),Dt=qe[Pt.id],nn="luigi.updateUserSettings";if(te&&Pt.id===nn){Dt&&console.warn(`The key "${nn}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const Ln=oi.getMicrofrontends().find(Bn=>Le.isMessageSource(Se,Bn.container));Dt(Pt,Ln,le.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Pt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(Se.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),Se.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Ve.navigateOk=!0,lr.preload()),Se.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=Se.data.clientVersion,De.luigi.initOk=!1,ht)Ct.forEach(async qe=>{let Pt=Ki[qe.dataKey].context;const Dt={...Ve,iframe:Ki[qe.iframeKey],context:Pt,pathParams:Ki[qe.dataKey].pathParams,nodeParams:Ki[qe.dataKey].nodeParams,searchParams:pe.prepareSearchParamsForClient(Ki[qe.iframeKey].luigi.currentNode),modal:qe.iframeKey.startsWith("modal"),drawer:qe.iframeKey.startsWith("drawer"),splitView:qe.iframeKey.startsWith("splitView")};await Ot(Dt,{})});else if(Ve.iframe&&Le.isMessageSource(Se,Ve.iframe))await Ot(Ve,{}),(!B||!B.loadingIndicator||B.loadingIndicator.hideAutomatically!==!1)&&ga(),lr.preload();else if(De.luigi.preloading)await Ot({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let qe=rr.findActiveCustomUserSettingsIframe(Se.source);if(qe){let Pt=qe.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:Ht[Pt]},iframe:qe};await Ot(Dt)}}lr.viewGroupLoaded(De)}if(Se.data.msg==="luigi.show-loading-indicator"&&t(10,s=!0),Se.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Qe),t(10,s=!1)),Se.data.msg==="luigi.navigation.open"){Y=!1;const qe=window.location.href,Pt=ht?De.luigi.currentNode:void 0,Dt=ht?De.luigi.pathParams:void 0,nn=Se.data.params,{intent:Ln,newTab:Bn,modal:wl,splitView:Kt,drawer:ji,withoutSync:Ji}=nn;let ql=Bn||wl||Kt||ji;const Nr=()=>{const An=le.getRemotePromise(Se.data.remotePromiseId);An&&An.doResolve()},an=()=>{const An=le.getRemotePromise(Se.data.remotePromiseId);An&&An.doReject()},Yi=An=>{!An||qe!==window.location.href?Nr():an()};Se.source!==window&&!Ln&&nn.link&&(nn.link=nn.link.split("?")[0]);let on=tn(Se.data.params,Pt,Dt);if(ql=ql||Ln&&on.external,!ql)pn().then(()=>{Q=!Se.data.params.withoutSync,wt(Se.data,Ve,Pt,Dt).then(()=>{Yi(!0)}).catch(()=>{an()}),ut.forEach((An,fs)=>{yi(fs)}),Ui(),Hl(),Q=!0}).catch(()=>{an()});else{if(Ln&&on.external){xe.navigateToExternalLink({url:on.url,sameWindow:!on.openInNewTab});return}if(on=le.addLeadingSlash(on),Bn){await ha(on),Yi();return}const An=await Sr(on);if(on=await pe.handlePageNotFoundAndRetrieveRedirectPath(Xt(),on,An),!on){an();return}we=F,wl!==void 0?(!wl.keepPrevious&&$(),await Lt(on,wl===!0?{}:wl),Yi()):Kt!==void 0?(await dl(on,Kt),Yi()):ji!==void 0&&(Bl(),ji.isDrawer=!0,await $r(on,ji),Yi())}}if(Se.data.msg==="luigi.navigation.back"){const qe=ut[ut.length-1],Pt=ut.length>1&&ut[ut.length-2],Dt=Se.data.goBackContext&&JSON.parse(Se.data.goBackContext);if(Le.isMessageSource(Se,qe&&qe.modalIframe)){yi(ut.length-1,!0,Dt);let nn=Ve;if(Pt&&Pt.modalIframeData&&Pt.modalIframe){const Ln=Pt,Bn=Ln.modalIframeData;nn={pathParams:Bn.pathParams,context:Bn.context,iframe:Ln.modalIframe}}nn.iframe&&await Ot(nn,{goBackContext:Dt})}else Le.isMessageSource(Se,k)?(Ui(),Ve.iframe&&await Ot(Ve,{goBackContext:Dt})):Le.isMessageSource(Se,p)?(h&&(h=!h),Hl(),Ve.iframe&&await Ot(Ve,{goBackContext:Dt})):ie&&ie.length>0?pn().then(()=>{ri.setActiveIframeToPrevious(F);const nn=ie.pop();Ve.iframe=ri.getActiveIframe(F),Y=!0,ie=ie,j=Dt,wt({params:{link:nn.path}},Ve)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(Se.data.msg==="luigi.navigation.currentRoute"){const qe=Se.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:ns(qe),correlationId:qe.id}};Le.sendMessageToIframe(De,Dt)}if(Se.data.msg==="luigi.auth.tokenIssued"&&Fi(Se.data.authData),Se.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(ht){const qe=le.addLeadingSlash(tn(Se.data.params,De.luigi.currentNode,De.luigi.pathParams));xe.updateModalDataInUrl(qe,Se.data.params.modal,Se.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(Se.data.msg==="luigi.navigation.pathExists"){const qe=De.luigi.currentNode,Pt=De.luigi.pathParams,Dt=Se.data.data,nn=tn(Dt,qe,Pt),Ln=nn?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),nn):!1,Bn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Le.sendMessageToIframe(De,Bn)}if(Se.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const qe=new Set;qe.add(Se.source),oe={dirtySet:qe}}oe.persistUrl=window.location.href,Se.data.dirty?oe.dirtySet.add(Se.source):oe.dirtySet.delete(Se.source)}if(Se.data.msg==="luigi.ux.confirmationModal.show"){const qe=Se.data.data.settings;we=F,ml(),bl(qe,!0,De).catch(()=>{})}if(Se.data.msg==="luigi.ux.alert.show"){const{settings:qe}=Se.data.data;if(!qe.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}we=F,Hi(qe,!0).catch(()=>{})}if(Se.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:qe}=Se.data.data;qe&&pt.setCurrentLocale(qe)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Fe&&!Fe.thirdPartyCookieScriptLocation&&Se.data.msg==="luigi.third-party-cookie"&&Se.data.tpc==="disabled"&&zl(),Se.data.msg==="storage"&&_S.process(De.luigi.id,Se.origin,Se.data.data.id,Se.data.data.operation,Se.data.data.params),Se.data.msg==="luigi-runtime-error-handling"){let qe=De.luigi.currentNode;qe&&qe.runTimeErrorHandler&&le.isFunction(qe.runTimeErrorHandler.errorFn)?qe.runTimeErrorHandler.errorFn(Se.data.errorObj,qe):ze&&le.isFunction(ze.errorFn)&&ze.errorFn(Se.data.errorObj,qe)}if(Se.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:qe,keepBrowserHistory:Pt}=Se.data;pe.addSearchParamsFromClient(De.luigi.currentNode,qe,Pt)}else console.warn("No client permissions to add url parameter for this node.");if(Se.data.msg==="luigi.addNodeParams"){if(ht)return;const{data:qe,keepBrowserHistory:Pt}=Se.data;rl.addNodeParams(qe,Pt)}if(Se.data.msg==="luigi.setAnchor"){const{anchor:qe}=Se.data;rl.setAnchor(qe)}if(Se.data.msg==="luigi.setVGData"){const qe=Se.data,Pt=de.findViewGroup(De.luigi.currentNode);if(Pt){const Dt=de.getViewGroupSettings(Pt);Dt._liveCustomData=qe.data,re.configChanged("navigation.viewgroupdata")}}}),cl(F,Ve)}zr("store",l),zr("getTranslation",r);const zl=F=>{Fe&&Fe.thirdPartyCookieErrorHandling&&le.isFunction(Fe.thirdPartyCookieErrorHandling)&&Fe.thirdPartyCookieErrorHandling()};function ga(){const F=document.querySelector(".spinnerContainer.appSpinner");F&&F.classList.contains("fade-out")?(F.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Qe),t(10,s=!1)},250)):clearTimeout(Qe)}const Sr=async F=>{const ce={link:F,relative:F[0]!=="/",intent:pe.hasIntent(F)},Re=tn(ce),ze=Re?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Re):!1;return ze?ze.isExistingRoute:!1},Cr=()=>ut.length>0||ie.length!==0;Yt(()=>{if(To._init(),ne=re.getConfigValue("globalSearch.searchProvider"),Ce=re.getConfigValue("settings.responsiveNavigation"),Bi=window.innerWidth,Ce==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),de.getBurgerTooltipConfig()){const[F,ce]=de.getBurgerTooltipConfig();F&&ce&&t(18,be=document.body.classList.contains("lui-leftNavToggle")?F:ce)}}else if(Ce==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(de.getBurgerTooltipConfig()){const[F,ce]=de.getBurgerTooltipConfig();if(F&&ce){const Re=JSON.parse(localStorage.getItem(de.COL_NAV_KEY));t(18,be=Re?F:ce)}}document.body.classList.add("lui-semiCollapsible")}Fe=re.getConfigValue("settings.thirdPartyCookieCheck"),Fe&&Fe.thirdPartyCookieScriptLocation&&setTimeout(()=>{let F=document.createElement("iframe");F.width="0px",F.height="0px",F.src=Fe.thirdPartyCookieScriptLocation,document.body.appendChild(F),F.onload=function(){setTimeout(()=>{my()==="disabled"&&zl()}),document.body.removeChild(F)}})}),fa(()=>{qi()}),Un(()=>{t(19,je=re.getConfigValue("navigation.breadcrumbs")),ne=re.getConfigValue("globalSearch.searchProvider"),t(23,Vl=re.getConfigValue("tag")),t(24,Ml=re.getConfigValue("settings.header.disabled"))});const kr=F=>{F.keyCode===pi&&ut&&ut.length>0&&yi(ut.length-1)},Gi=F=>yi(F,!0),ls=(F,ce)=>mn(ce,F),rs=(F,ce)=>ei(ce,F),_a=()=>vl(!0),ss=()=>vl(!1);function as(F){Ht=F,t(5,Ht)}function os(F){me=F,t(0,me)}function us(F){_n=F,t(3,_n)}function pa(F){vt=F,t(4,vt)}function ma(F){Ge=F,t(1,Ge)}function ba(F){ct=F,t(2,ct)}return i.$$set=F=>{"store"in F&&t(46,l=F.store),"getTranslation"in F&&t(47,r=F.getTranslation),"isSearchFieldVisible"in F&&t(0,me=F.isSearchFieldVisible),"inputElem"in F&&t(1,Ge=F.inputElem),"luigiCustomSearchRenderer__slot"in F&&t(2,ct=F.luigiCustomSearchRenderer__slot),"displaySearchResult"in F&&t(3,_n=F.displaySearchResult),"searchResult"in F&&t(4,vt=F.searchResult),"storedUserSettings"in F&&t(5,Ht=F.storedUserSettings)},[me,Ge,ct,_n,vt,Ht,st,$n,xn,ts,s,o,_,I,J,ue,Ie,te,be,je,gl,ui,_l,Vl,Ml,Cn,Wi,ut,Qt,wi,Si,pr,mr,hl,br,vr,vl,mn,ei,yi,es,wr,da,Hl,is,kr,l,r,Ci,se,Ae,yt,mt,sn,Tn,dl,Ui,dr,hr,gr,Dl,_r,Hi,bl,zi,Wl,Sr,Cr,Gi,ls,rs,_a,ss,as,os,us,pa,ma,ba]}class ky extends Rt{constructor(e){super(),Et(this,e,Cy,Sy,Tt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:6,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:7,handleSearchNavigation:8,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:9,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[6]}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[7]}get handleSearchNavigation(){return this.$$.ctx[8]}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[9]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const yy=()=>{const{subscribe:i,update:e,reset:t}=or({}),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)})}}},T_=yy(),Py=Mw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=T_;const Ny=()=>new Promise(i=>{pt._init(),rn.init().then(()=>{setTimeout(()=>{let e;oi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new ky({target:oi.getLuigiContainer(),props:{store:T_,getTranslation:Py}}),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(Ny);
61
61
  //# sourceMappingURL=luigi.js.map