@luigi-project/core 2.2.2-dev.20230770032 → 2.2.2-dev.20230780032

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 +12 -12
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,14 +1,14 @@
1
- function Fe(){}const Vo=i=>i;function kw(i,e){for(const t in e)i[t]=e[t];return i}function Cw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function r_(i){return i()}function qf(){return Object.create(null)}function Qe(i){i.forEach(r_)}function Oi(i){return typeof i=="function"}function Nt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ta;function it(i,e){return ta||(ta=document.createElement("a")),ta.href=e,i===ta.href}function yw(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ll(i){let e;return Mo(i,t=>e=t)(),e}function pi(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function s_(i,e,t,n){if(i){const l=a_(i,e,t,n);return i[0](l)}}function a_(i,e,t,n){return i[1]&&n?kw(t.ctx.slice(),i[1](n(e))):t.ctx}function o_(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 u_(i,e,t,n,l,r){if(l){const s=a_(e,t,n,r);i.p(s,l)}}function f_(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 jn(i){return i==null?"":i}function Pw(i){return i&&Oi(i.destroy)?i.destroy:Fe}const c_=typeof window<"u";let d_=c_?()=>window.performance.now():()=>Date.now(),Oo=c_?i=>requestAnimationFrame(i):Fe;const dr=new Set;function h_(i){dr.forEach(e=>{e.c(i)||(dr.delete(e),e.f())}),dr.size!==0&&Oo(h_)}function g_(i){let e;return dr.size===0&&Oo(h_),{promise:new Promise(t=>{dr.add(e={c:i,f:t})}),abort(){dr.delete(e)}}}function w(i,e){i.appendChild(e)}function __(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Nw(i){const e=k("style");return Iw(__(i),e),e.sheet}function Iw(i,e){return w(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function Tw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ce(i){return document.createTextNode(i)}function q(){return Ce(" ")}function Se(){return Ce("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Rt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ft(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 Lw(i){return Array.from(i.childNodes)}function Ne(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Kf(i,e){i.value=e==null?"":e}function ni(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function di(i,e,t){i.classList[t?"add":"remove"](e)}function p_(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{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=Tw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}const sa=new Map;let aa=0;function Aw(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ew(i,e){const t={stylesheet:Nw(e),rules:{}};return sa.set(i,t),t}function m_(i,e,t,n,l,r,s,o=0){const c=16.666/n;let g=`{
1
+ function Fe(){}const Vo=i=>i;function kw(i,e){for(const t in e)i[t]=e[t];return i}function Cw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function r_(i){return i()}function qf(){return Object.create(null)}function Qe(i){i.forEach(r_)}function Oi(i){return typeof i=="function"}function Nt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ta;function it(i,e){return ta||(ta=document.createElement("a")),ta.href=e,i===ta.href}function yw(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ll(i){let e;return Mo(i,t=>e=t)(),e}function pi(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function s_(i,e,t,n){if(i){const l=a_(i,e,t,n);return i[0](l)}}function a_(i,e,t,n){return i[1]&&n?kw(t.ctx.slice(),i[1](n(e))):t.ctx}function o_(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 u_(i,e,t,n,l,r){if(l){const s=a_(e,t,n,r);i.p(s,l)}}function f_(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 jn(i){return i==null?"":i}function Pw(i){return i&&Oi(i.destroy)?i.destroy:Fe}const c_=typeof window<"u";let d_=c_?()=>window.performance.now():()=>Date.now(),Oo=c_?i=>requestAnimationFrame(i):Fe;const dr=new Set;function h_(i){dr.forEach(e=>{e.c(i)||(dr.delete(e),e.f())}),dr.size!==0&&Oo(h_)}function g_(i){let e;return dr.size===0&&Oo(h_),{promise:new Promise(t=>{dr.add(e={c:i,f:t})}),abort(){dr.delete(e)}}}function w(i,e){i.appendChild(e)}function __(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Nw(i){const e=k("style");return Iw(__(i),e),e.sheet}function Iw(i,e){return w(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function Tw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ce(i){return document.createTextNode(i)}function q(){return Ce(" ")}function Se(){return Ce("")}function re(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Rt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ft(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 Lw(i){return Array.from(i.childNodes)}function Ne(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Kf(i,e){i.value=e==null?"":e}function ni(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function di(i,e,t){i.classList[t?"add":"remove"](e)}function p_(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{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=Tw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}const sa=new Map;let aa=0;function Aw(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ew(i,e){const t={stylesheet:Nw(e),rules:{}};return sa.set(i,t),t}function m_(i,e,t,n,l,r,s,o=0){const c=16.666/n;let g=`{
2
2
  `;for(let y=0;y<=1;y+=c){const C=e+(t-e)*r(y);g+=y*100+`%{${s(C,1-C)}}
3
3
  `}const h=g+`100% {${s(t,1-t)}}
4
- }`,_=`__svelte_${Aw(h)}_${o}`,p=__(i),{stylesheet:m,rules:v}=sa.get(p)||Ew(p,i);v[_]||(v[_]=!0,m.insertRule(`@keyframes ${_} ${h}`,m.cssRules.length));const S=i.style.animation||"";return i.style.animation=`${S?`${S}, `:""}${_} ${n}ms linear ${l}ms 1 both`,aa+=1,_}function Lo(i,e){const t=(i.style.animation||"").split(", "),n=t.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),l=t.length-n.length;l&&(i.style.animation=n.join(", "),aa-=l,aa||Rw())}function Rw(){Oo(()=>{aa||(sa.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),sa.clear())})}let Xr;function Vi(i){Xr=i}function ul(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Mn(i){ul().$$.before_update.push(i)}function jt(i){ul().$$.on_mount.push(i)}function ma(i){ul().$$.after_update.push(i)}function xr(i){ul().$$.on_destroy.push(i)}function Bt(){const i=ul();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=p_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return ul().$$.context.set(i,e),e}function dt(i){return ul().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ur=[],$e=[],ia=[],Ao=[],Dw=Promise.resolve();let Eo=!1;function Vw(){Eo||(Eo=!0,Dw.then(Fo))}function Ml(i){ia.push(i)}function _t(i){Ao.push(i)}const Io=new Set;let sr=0;function Fo(){if(sr!==0)return;const i=Xr;do{try{for(;sr<ur.length;){const e=ur[sr];sr++,Vi(e),Mw(e.$$)}}catch(e){throw ur.length=0,sr=0,e}for(Vi(null),ur.length=0,sr=0;$e.length;)$e.pop()();for(let e=0;e<ia.length;e+=1){const t=ia[e];Io.has(t)||(Io.add(t),t())}ia.length=0}while(ur.length);for(;Ao.length;)Ao.pop()();Eo=!1,Io.clear(),Vi(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(Ml)}}let Qr;function b_(){return Qr||(Qr=Promise.resolve(),Qr.then(()=>{Qr=null})),Qr}function oa(i,e,t){i.dispatchEvent(p_(`${e?"intro":"outro"}${t}`))}const la=new Set;let al;function Le(){al={r:0,c:[],p:al}}function Ae(){al.r||Qe(al.c),al=al.p}function F(i,e){i&&i.i&&(la.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(la.has(i))return;la.add(i),al.c.push(()=>{la.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const v_={duration:0};function w_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Lo(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Vo,tick:S=Fe,css:y}=l||v_;y&&(s=m_(i,0,1,m,p,v,y,c++)),S(0,1);const C=d_()+p,N=C+m;o&&o.abort(),r=!0,Ml(()=>oa(i,!0,"start")),o=g_(I=>{if(r){if(I>=N)return S(1,0),oa(i,!0,"end"),g(),r=!1;if(I>=C){const D=v((I-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Lo(i),Oi(l)?(l=l(n),b_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function S_(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=al;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Vo,tick:p=Fe,css:m}=l||v_;m&&(s=m_(i,1,0,h,g,_,m));const v=d_()+g,S=v+h;Ml(()=>oa(i,!1,"start")),g_(y=>{if(r){if(y>=S)return p(0,1),oa(i,!1,"end"),--o.r||Qe(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Oi(l)?b_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Lo(i,s),r=!1)}}}function ua(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&&_&&(Le(),z(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ae())}):e.block.d(1),g.c(),F(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Fo()}if(Cw(i)){const l=ul();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 k_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function pt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ml(()=>{const s=i.$$.on_mount.map(r_).filter(Oi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Qe(s),i.$$.on_mount=[]}),r.forEach(Ml)}function Ge(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 Ow(i,e){i.$$.dirty[0]===-1&&(ur.push(i),Vw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Lt(i,e,t,n,l,r,s,o=[-1]){const c=Xr;Vi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:qf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:qf(),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,...m)=>{const v=m.length?m[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&Ow(i,_)),p}):[],g.update(),h=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=Lw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&F(i.$$.fragment),ze(i,e.target,e.anchor,e.customElement),Fo()}Vi(c)}class At{$destroy(){Ge(this,1),this.$destroy=Fe}$on(e,t){if(!Oi(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&&!yw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Fw{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),te.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=te.getConfigValueFromObject(e,t);return te.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const fa=new Fw;class Uw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ca=new Uw;class Bw{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 Vn=new Bw;class Hw{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()=>{m2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),ii.getLuigiContainer().appendChild(n)}getConfigValue(e){return te.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=te.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return fa.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(te.isFunction(l))try{return await fa.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),Nn.removeAllEventListeners();const e=ii.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&&te.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&&te.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(){Vn.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)}}const da=new Hw;class Ww{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return re.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ti.getStorageKey(),getStorageType:()=>ti.getStorageType(),getAuthData:()=>ti.getAuthData(),setAuthData:e=>ti.setAuthData(e),removeAuthData:()=>ti.removeAuthData(),setNewlyAuthorized:()=>ti.setNewlyAuthorized()}}}const C_=new Ww,$t={desktopMinWidth:600},zw=[{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"}],Gw={cssSelector:"[luigi-app-root]"},qw={cssSelector:"[luigi-app-loading-indicator]"};class Kw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Gw.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 Ie.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ie.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ie.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const y_=new Kw;class Jw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Jn extends Jw{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=te.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(te.isFunction(n)){const l=te.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(te.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 jw{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 P_=new jw,Yw={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"}}},Qw=Yw;class Zw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Qw,this.listeners={}}_init(){on.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(te.isFunction(e)){const t=te.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)}),da.configChanged()}_initCustomImplementation(){this.translationImpl=da.getConfigValue("settings.customTranslationImplementation"),te.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("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const N_=new Zw;class Xw{sendToAll(e){const t=ca.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=ca.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const $w=new Xw,ar=[];function xw(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=Fe){let t;const n=new Set;function l(o){if(Nt(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.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 e2{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const ci=new e2;class t2{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(qw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(te.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(te.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){ci.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Jn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const I_=new t2;class n2{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 T_=new n2;class i2{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){te.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&&$r.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const L_=new i2;class l2{constructor(){this.featureToggleList=gr([])}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 te.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 A_=new l2;class r2{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(!te.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.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 E_=new r2,re=da,hi=C_,ii=y_,R_=P_,ht=N_,es=I_,s2=T_,Ro=L_,Uo=A_,rl=E_;window.Luigi=da;window.Luigi.auth=()=>C_;window.Luigi.elements=()=>y_;window.Luigi.navigation=()=>P_;window.Luigi.i18n=()=>N_;window.Luigi.customMessages=()=>$w;window.Luigi.ux=()=>I_;window.Luigi.globalSearch=()=>T_;window.Luigi.theming=()=>L_;window.Luigi.featureToggles=()=>A_;window.Luigi.routing=()=>E_;class a2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(te.isElementVisible)}setActiveIframeToPrevious(e){const t=Ie.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ie.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!te.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.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:(Ie.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ke.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||te.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=be.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let m,v=!1;if(p.length>0&&(m=p.shift(),m===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){te.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.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({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Pn=new a2;class o2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Pn.getAllViewGroupSettings();if(!l)return;const r=Ie.getIframeContainer(),s=Ie.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=Ie.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 or=new o2;class u2{async getNavigationPath(e,t=""){try{const n=te.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Vn.hasRootNode()&&(l=Vn.getRootNode().node),!l){const g=await e;te.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Vn.setRootNode(l)}const r=n.split("/"),s=await this.buildNode(r,[l],l.children,l.context||{}),o=s.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);s.isExistingRoute=!n||r.length===o.length;const c=n.split("/");return s.matchedPath=c.filter((g,h)=>o[h]&&o[h].startsWith(":")||o[h]===g).join("/"),s}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Vn.hasChildren(e)){let r=Vn.getChildren(e);r&&(n=r.children)}else try{n=await fa.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 Vn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Vn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Vn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),g=be.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=te.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:te.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.
4
+ }`,_=`__svelte_${Aw(h)}_${o}`,p=__(i),{stylesheet:m,rules:v}=sa.get(p)||Ew(p,i);v[_]||(v[_]=!0,m.insertRule(`@keyframes ${_} ${h}`,m.cssRules.length));const S=i.style.animation||"";return i.style.animation=`${S?`${S}, `:""}${_} ${n}ms linear ${l}ms 1 both`,aa+=1,_}function Lo(i,e){const t=(i.style.animation||"").split(", "),n=t.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),l=t.length-n.length;l&&(i.style.animation=n.join(", "),aa-=l,aa||Rw())}function Rw(){Oo(()=>{aa||(sa.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),sa.clear())})}let Xr;function Vi(i){Xr=i}function ul(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Mn(i){ul().$$.before_update.push(i)}function jt(i){ul().$$.on_mount.push(i)}function ma(i){ul().$$.after_update.push(i)}function xr(i){ul().$$.on_destroy.push(i)}function Bt(){const i=ul();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=p_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return ul().$$.context.set(i,e),e}function dt(i){return ul().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ur=[],$e=[],ia=[],Ao=[],Dw=Promise.resolve();let Eo=!1;function Vw(){Eo||(Eo=!0,Dw.then(Fo))}function Ml(i){ia.push(i)}function _t(i){Ao.push(i)}const Io=new Set;let sr=0;function Fo(){if(sr!==0)return;const i=Xr;do{try{for(;sr<ur.length;){const e=ur[sr];sr++,Vi(e),Mw(e.$$)}}catch(e){throw ur.length=0,sr=0,e}for(Vi(null),ur.length=0,sr=0;$e.length;)$e.pop()();for(let e=0;e<ia.length;e+=1){const t=ia[e];Io.has(t)||(Io.add(t),t())}ia.length=0}while(ur.length);for(;Ao.length;)Ao.pop()();Eo=!1,Io.clear(),Vi(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(Ml)}}let Qr;function b_(){return Qr||(Qr=Promise.resolve(),Qr.then(()=>{Qr=null})),Qr}function oa(i,e,t){i.dispatchEvent(p_(`${e?"intro":"outro"}${t}`))}const la=new Set;let al;function Le(){al={r:0,c:[],p:al}}function Ae(){al.r||Qe(al.c),al=al.p}function F(i,e){i&&i.i&&(la.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(la.has(i))return;la.add(i),al.c.push(()=>{la.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const v_={duration:0};function w_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Lo(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Vo,tick:S=Fe,css:y}=l||v_;y&&(s=m_(i,0,1,m,p,v,y,c++)),S(0,1);const C=d_()+p,N=C+m;o&&o.abort(),r=!0,Ml(()=>oa(i,!0,"start")),o=g_(I=>{if(r){if(I>=N)return S(1,0),oa(i,!0,"end"),g(),r=!1;if(I>=C){const D=v((I-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Lo(i),Oi(l)?(l=l(n),b_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function S_(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=al;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Vo,tick:p=Fe,css:m}=l||v_;m&&(s=m_(i,1,0,h,g,_,m));const v=d_()+g,S=v+h;Ml(()=>oa(i,!1,"start")),g_(y=>{if(r){if(y>=S)return p(0,1),oa(i,!1,"end"),--o.r||Qe(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Oi(l)?b_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Lo(i,s),r=!1)}}}function ua(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&&_&&(Le(),z(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ae())}):e.block.d(1),g.c(),F(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Fo()}if(Cw(i)){const l=ul();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 k_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function pt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ml(()=>{const s=i.$$.on_mount.map(r_).filter(Oi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Qe(s),i.$$.on_mount=[]}),r.forEach(Ml)}function Ge(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 Ow(i,e){i.$$.dirty[0]===-1&&(ur.push(i),Vw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Lt(i,e,t,n,l,r,s,o=[-1]){const c=Xr;Vi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:qf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:qf(),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,...m)=>{const v=m.length?m[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&Ow(i,_)),p}):[],g.update(),h=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=Lw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&F(i.$$.fragment),ze(i,e.target,e.anchor,e.customElement),Fo()}Vi(c)}class At{$destroy(){Ge(this,1),this.$destroy=Fe}$on(e,t){if(!Oi(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&&!yw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Fw{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),te.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=te.getConfigValueFromObject(e,t);return te.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const fa=new Fw;class Uw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ca=new Uw;class Bw{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 Vn=new Bw;class Hw{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()=>{m2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),ii.getLuigiContainer().appendChild(n)}getConfigValue(e){return te.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=te.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return fa.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(te.isFunction(l))try{return await fa.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),Nn.removeAllEventListeners();const e=ii.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&&te.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&&te.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(){Vn.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)}}const da=new Hw;class Ww{constructor(){}isAuthorizationEnabled(){return!!le.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await le.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 le.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:()=>ti.getStorageKey(),getStorageType:()=>ti.getStorageType(),getAuthData:()=>ti.getAuthData(),setAuthData:e=>ti.setAuthData(e),removeAuthData:()=>ti.removeAuthData(),setNewlyAuthorized:()=>ti.setNewlyAuthorized()}}}const C_=new Ww,$t={desktopMinWidth:600},zw=[{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"}],Gw={cssSelector:"[luigi-app-root]"},qw={cssSelector:"[luigi-app-loading-indicator]"};class Kw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Gw.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 Ie.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ie.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ie.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const y_=new Kw;class Jw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Jn extends Jw{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=te.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(te.isFunction(n)){const l=te.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(te.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 jw{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 P_=new jw,Yw={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"}}},Qw=Yw;class Zw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Qw,this.listeners={}}_init(){on.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(te.isFunction(e)){const t=te.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)}),da.configChanged()}_initCustomImplementation(){this.translationImpl=da.getConfigValue("settings.customTranslationImplementation"),te.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("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const N_=new Zw;class Xw{sendToAll(e){const t=ca.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=ca.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const $w=new Xw,ar=[];function xw(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=Fe){let t;const n=new Set;function l(o){if(Nt(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.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 e2{initial(){this.responsiveNavSetting=le.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const ci=new e2;class t2{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(qw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(te.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(te.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){ci.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Jn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const I_=new t2;class n2{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 T_=new n2;class i2{constructor(){this.currentTheme}async getAvailableThemes(){return await le.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=le.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!!le.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=le.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){te.isFunction(le.getConfigValue("settings.theming.variables.errorHandling"))?le.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else le.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=le.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&$r.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const L_=new i2;class l2{constructor(){this.featureToggleList=gr([])}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 te.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 A_=new l2;class r2{constructor(){}getSearchParams(){const e={},t=new URL(location);if(le.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(!te.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);le.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),le.configChanged()}addNodeParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);le.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),le.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 le.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(le.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 E_=new r2,le=da,hi=C_,ii=y_,R_=P_,ht=N_,es=I_,s2=T_,Ro=L_,Uo=A_,rl=E_;window.Luigi=da;window.Luigi.auth=()=>C_;window.Luigi.elements=()=>y_;window.Luigi.navigation=()=>P_;window.Luigi.i18n=()=>N_;window.Luigi.customMessages=()=>$w;window.Luigi.ux=()=>I_;window.Luigi.globalSearch=()=>T_;window.Luigi.theming=()=>L_;window.Luigi.featureToggles=()=>A_;window.Luigi.routing=()=>E_;class a2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(te.isElementVisible)}setActiveIframeToPrevious(e){const t=Ie.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ie.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!te.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}getAllViewGroupSettings(){return le.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.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:(Ie.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ke.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||te.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=be.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let m,v=!1;if(p.length>0&&(m=p.shift(),m===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){te.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.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({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Pn=new a2;class o2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(le.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Pn.getAllViewGroupSettings();if(!l)return;const r=Ie.getIframeContainer(),s=Ie.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=Ie.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 or=new o2;class u2{async getNavigationPath(e,t=""){try{const n=te.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Vn.hasRootNode()&&(l=Vn.getRootNode().node),!l){const g=await e;te.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Vn.setRootNode(l)}const r=n.split("/"),s=await this.buildNode(r,[l],l.children,l.context||{}),o=s.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);s.isExistingRoute=!n||r.length===o.length;const c=n.split("/");return s.matchedPath=c.filter((g,h)=>o[h]&&o[h].startsWith(":")||o[h]===g).join("/"),s}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Vn.hasChildren(e)){let r=Vn.getChildren(e);r&&(n=r.children)}else try{n=await fa.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 Vn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Vn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Vn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),g=be.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=te.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:te.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.
5
5
  Children nodes are redundant and ignored when virtualTree is enabled.
6
6
  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.
7
7
  Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
8
8
  Remove the static node from the configuration to resolve this warning.
9
9
  Affected pathSegment:`,e,"Children:",t),t=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
10
10
  Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
11
- Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=re.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(Vn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?ke.groupNodesBy(n,"category",!0):{children:ke.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!be.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){const l=this.getTruncatedChildren(t.pathData);let r=[...l].pop(),s;(r.keepSelectedForChildren||r.tabNav)&&(s=r,l.pop(),r=[...l].pop());const o=await this.getChildren(r,t.context),c=this.getGroupedChildren(o,e);n.navParent=c.parent||r,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const g=c.children;Object.values(g).forEach(_=>{!n.hasCategoriesWithIcon&&_&&_.metaInfo&&_.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=s||r,n.children=g,re.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ke.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&ke.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=0;n<e.length;n++)if(t.push(e[n]),e[n].tabNav){n<e.length-1&&t.push(e[n+1]);break}return t}async getTabNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){let r=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const s=await this.getChildren(r.tabNav?r:r.parent,t.context),o=this.getGroupedChildren(s,e).children;n.selectedNode=r,n.selectedNodeForTabNav=r,n.children=o}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&te.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Vt=new u2,ol={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},f2={externalLink:{sameWindow:!1}};class _r{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 c2 extends _r{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=D_({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 d2 extends _r{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+=`{
11
+ 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=le.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(Vn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?ke.groupNodesBy(n,"category",!0):{children:ke.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!be.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){const l=this.getTruncatedChildren(t.pathData);let r=[...l].pop(),s;(r.keepSelectedForChildren||r.tabNav)&&(s=r,l.pop(),r=[...l].pop());const o=await this.getChildren(r,t.context),c=this.getGroupedChildren(o,e);n.navParent=c.parent||r,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const g=c.children;Object.values(g).forEach(_=>{!n.hasCategoriesWithIcon&&_&&_.metaInfo&&_.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=s||r,n.children=g,le.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ke.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&ke.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=0;n<e.length;n++)if(t.push(e[n]),e[n].tabNav){n<e.length-1&&t.push(e[n+1]);break}return t}async getTabNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){let r=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const s=await this.getChildren(r.tabNav?r:r.parent,t.context),o=this.getGroupedChildren(s,e).children;n.selectedNode=r,n.selectedNodeForTabNav=r,n.children=o}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&te.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Vt=new u2,ol={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},f2={externalLink:{sameWindow:!1}};class _r{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 c2 extends _r{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=D_({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 d2 extends _r{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+=`{
12
12
  .${e} {
13
13
  grid-template-columns: ${l.columns||"auto"};
14
14
  grid-template-rows: ${l.rows||"auto"};
@@ -26,16 +26,16 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
26
26
  }
27
27
  ${n}
28
28
  </style>
29
- `,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 D_=i=>{const e=i.use;if(e){if(e==="grid")return new d2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new c2(i)}else return new _r(i);return new _r(i)},Jf=(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]})};class h2{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s){if(n&&n.contains(t)){const o=document.createElement(e);s&&o.setAttribute("nodeId",s),this.initWC(o,e,n,r,l,s),n.replaceChild(o,t)}}initWC(e,t,n,l,r,s){const o={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:c=>{n.eventBus&&n.eventBus.onPublishEvent(c,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList()};if(e.__postProcess){const c=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(r,o,c.origin+c.pathname)}else e.context=r,e.LuigiClient=o}generateWCId(e){let t="";for(let n=0;n<e.length;n++)t+=e.charCodeAt(n).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=be.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){const s=be.substituteViewUrl(e,{context:n}),o=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(s),c=document.createElement("div");t.appendChild(c),t._luigi_node=l,window.customElements.get(o)?this.attachWC(o,c,t,n,s,r):window.luigiWCFn?window.luigiWCFn(s,o,c,()=>{this.attachWC(o,c,t,n,s,r)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,s,()=>{this.attachWC(o,c,t,n,s,r)}):this.registerWCFromUrl(s,o).then(()=>{this.attachWC(o,c,t,n,s,r)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){let l;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(l=new _r,l.viewUrl=be.substituteViewUrl(e.viewUrl,{context:n}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer&&(l=D_(e.compound.renderer)),l=l||new _r,new Promise(r=>{this.createCompoundContainerAsync(l,n).then(s=>{const o={};s.eventBus={listeners:o,onPublishEvent:(c,g,h)=>{const _=o[g+"."+c.type]||[];_.push(...o["*."+c.type]||[]),_.forEach(p=>{const m=p.wcElement||s.querySelector("[nodeId="+p.wcElementId+"]");m?m.dispatchEvent(new CustomEvent(p.action,{detail:p.converter?p.converter(c.detail):c.detail})):console.debug("Could not find event target",p)})}},e.compound.children.forEach((c,g)=>{const h={...n,...c.context},_=l.createCompoundItemContainer(c.layoutConfig);_.eventBus=s.eventBus,l.attachCompoundItem(s,_);const p=c.id||"gen_"+g;this.renderWebComponent(c.viewUrl,_,h,c,p),Jf(o,c,p)}),t.appendChild(s),Jf(o,e.compound,"_root",s),r(s)})})}}const hr=new h2;var Zr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ol={exports:{}};/**
29
+ `,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 D_=i=>{const e=i.use;if(e){if(e==="grid")return new d2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new c2(i)}else return new _r(i);return new _r(i)},Jf=(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]})};class h2{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s){if(n&&n.contains(t)){const o=document.createElement(e);s&&o.setAttribute("nodeId",s),this.initWC(o,e,n,r,l,s),n.replaceChild(o,t)}}initWC(e,t,n,l,r,s){const o={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:c=>{n.eventBus&&n.eventBus.onPublishEvent(c,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList()};if(e.__postProcess){const c=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(r,o,c.origin+c.pathname)}else e.context=r,e.LuigiClient=o}generateWCId(e){let t="";for(let n=0;n<e.length;n++)t+=e.charCodeAt(n).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=be.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=le.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){const s=be.substituteViewUrl(e,{context:n}),o=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(s),c=document.createElement("div");t.appendChild(c),t._luigi_node=l,window.customElements.get(o)?this.attachWC(o,c,t,n,s,r):window.luigiWCFn?window.luigiWCFn(s,o,c,()=>{this.attachWC(o,c,t,n,s,r)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,s,()=>{this.attachWC(o,c,t,n,s,r)}):this.registerWCFromUrl(s,o).then(()=>{this.attachWC(o,c,t,n,s,r)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){let l;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(l=new _r,l.viewUrl=be.substituteViewUrl(e.viewUrl,{context:n}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer&&(l=D_(e.compound.renderer)),l=l||new _r,new Promise(r=>{this.createCompoundContainerAsync(l,n).then(s=>{const o={};s.eventBus={listeners:o,onPublishEvent:(c,g,h)=>{const _=o[g+"."+c.type]||[];_.push(...o["*."+c.type]||[]),_.forEach(p=>{const m=p.wcElement||s.querySelector("[nodeId="+p.wcElementId+"]");m?m.dispatchEvent(new CustomEvent(p.action,{detail:p.converter?p.converter(c.detail):c.detail})):console.debug("Could not find event target",p)})}},e.compound.children.forEach((c,g)=>{const h={...n,...c.context},_=l.createCompoundItemContainer(c.layoutConfig);_.eventBus=s.eventBus,l.attachCompoundItem(s,_);const p=c.id||"gen_"+g;this.renderWebComponent(c.viewUrl,_,h,c,p),Jf(o,c,p)}),t.appendChild(s),Jf(o,e.compound,"_root",s),r(s)})})}}const hr=new h2;var Zr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ol={exports:{}};/**
30
30
  * @license
31
31
  * Lodash <https://lodash.com/>
32
32
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
33
33
  * Released under MIT license <https://lodash.com/license>
34
34
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
35
35
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
36
- */(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,m=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,T=32,L=64,V=128,O=256,U=512,W=30,oe="...",fe=800,$=16,x=1,Q=2,J=3,he=1/0,ne=9007199254740991,Y=17976931348623157e292,ye=0/0,ie=4294967295,He=ie-1,Pe=ie>>>1,ce=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",U],["partial",T],["partialRight",L],["rearg",O]],X="[object Arguments]",ge="[object Array]",se="[object AsyncFunction]",De="[object Boolean]",Me="[object Date]",me="[object DOMException]",Ze="[object Error]",Dt="[object Function]",Ht="[object GeneratorFunction]",vt="[object Map]",un="[object Number]",On="[object Null]",zt="[object Object]",mi="[object Promise]",Ui="[object Proxy]",xt="[object RegExp]",Yt="[object Set]",Qn="[object String]",Et="[object Symbol]",mn="[object Undefined]",Qt="[object WeakMap]",Bi="[object WeakSet]",Gt="[object ArrayBuffer]",ln="[object DataView]",bi="[object Float32Array]",li="[object Float64Array]",rn="[object Int8Array]",vi="[object Int16Array]",wi="[object Int32Array]",ee="[object Uint8Array]",Ee="[object Uint8ClampedArray]",st="[object Uint16Array]",yt="[object Uint32Array]",wt=/\b__p \+= '';/g,sn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zn=/&(?:amp|lt|gt|quot|#39);/g,Fn=/[&<>"']/g,Hi=RegExp(Zn.source),br=RegExp(Fn.source),vr=/<%-([\s\S]+?)%>/g,wr=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/,Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fl=/[\\^$.*+?()[\]{}|]/g,cl=RegExp(fl.source),ri=/^\s+/,dl=/\s/,Wi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ul=/\{\n\/\* \[wrapped with (.+)\] \*/,Bl=/,? & /,Hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yr=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,hl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,Wl=/^[-+]0x[0-9a-f]+$/i,Pr=/^0b[01]+$/i,Gi=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Si=/($^)/,zl=/['\n\r\u2028\u2029\\]/g,qi="\\ud800-\\udfff",St="\\u0300-\\u036f",ml="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",vl=St+ml+bl,wl="\\u2700-\\u27bf",si="a-z\\xdf-\\xf6\\xf8-\\xff",K="\\xac\\xb1\\xd7\\xf7",Pt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wn="\\u2000-\\u206f",ki=" \\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",Sl="A-Z\\xc0-\\xd6\\xd8-\\xde",is="\\ufe0e\\ufe0f",ls=K+Pt+wn+ki,Nr="['\u2019]",Ir="["+qi+"]",rs="["+ls+"]",Gl="["+vl+"]",ss="\\d+",va="["+wl+"]",as="["+si+"]",Tr="[^"+qi+ls+ss+wl+si+Sl+"]",ql="\\ud83c[\\udffb-\\udfff]",wa="(?:"+Gl+"|"+ql+")",os="[^"+qi+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",Ki="["+Sl+"]",us="\\u200d",fs="(?:"+as+"|"+Tr+")",Sa="(?:"+Ki+"|"+Tr+")",cs="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",ds="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",hs=wa+"?",gs="["+is+"]?",ka="(?:"+us+"(?:"+[os,Lr,Ar].join("|")+")"+gs+hs+")*",B="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ve=gs+hs+ka,Je="(?:"+[va,Lr,Ar].join("|")+")"+Ve,Ue="(?:"+[os+Gl+"?",Gl,Lr,Ar,Ir].join("|")+")",we=RegExp(Nr,"g"),Oe=RegExp(Gl,"g"),ft=RegExp(ql+"(?="+ql+")|"+Ue+Ve,"g"),Mt=RegExp([Ki+"?"+as+"+"+cs+"(?="+[rs,Ki,"$"].join("|")+")",Sa+"+"+ds+"(?="+[rs,Ki+fs,"$"].join("|")+")",Ki+"?"+fs+"+"+cs,Ki+"+"+ds,ue,B,ss,Je].join("|"),"g"),Er=RegExp("["+us+qi+vl+is+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ji=-1,kt={};kt[bi]=kt[li]=kt[rn]=kt[vi]=kt[wi]=kt[ee]=kt[Ee]=kt[st]=kt[yt]=!0,kt[X]=kt[ge]=kt[Gt]=kt[De]=kt[ln]=kt[Me]=kt[Ze]=kt[Dt]=kt[vt]=kt[un]=kt[zt]=kt[xt]=kt[Yt]=kt[Qn]=kt[Qt]=!1;var Te={};Te[X]=Te[ge]=Te[Gt]=Te[ln]=Te[De]=Te[Me]=Te[bi]=Te[li]=Te[rn]=Te[vi]=Te[wi]=Te[vt]=Te[un]=Te[zt]=Te[xt]=Te[Yt]=Te[Qn]=Te[Et]=Te[ee]=Te[Ee]=Te[st]=Te[yt]=!0,Te[Ze]=Te[Dt]=Te[Qt]=!1;var mt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},qt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Un={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ai={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yi=parseFloat,kl=parseInt,Kl=typeof Zr=="object"&&Zr&&Zr.Object===Object&&Zr,Jl=typeof self=="object"&&self&&self.Object===Object&&self,en=Kl||Jl||Function("return this")(),Cl=e&&!e.nodeType&&e,Ci=Cl&&!0&&i&&!i.nodeType&&i,yl=Ci&&Ci.exports===Cl,yi=yl&&Kl.process,It=function(){try{var j=Ci&&Ci.require&&Ci.require("util").types;return j||yi&&yi.binding&&yi.binding("util")}catch{}}(),In=It&&It.isArrayBuffer,_s=It&&It.isDate,Ho=It&&It.isMap,Wo=It&&It.isRegExp,zo=It&&It.isSet,Go=It&&It.isTypedArray;function Tn(j,de,ae){switch(ae.length){case 0:return j.call(de);case 1:return j.call(de,ae[0]);case 2:return j.call(de,ae[0],ae[1]);case 3:return j.call(de,ae[0],ae[1],ae[2])}return j.apply(de,ae)}function K_(j,de,ae,Be){for(var Xe=-1,gt=j==null?0:j.length;++Xe<gt;){var Zt=j[Xe];de(Be,Zt,ae(Zt),j)}return Be}function Bn(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be&&de(j[ae],ae,j)!==!1;);return j}function J_(j,de){for(var ae=j==null?0:j.length;ae--&&de(j[ae],ae,j)!==!1;);return j}function qo(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(!de(j[ae],ae,j))return!1;return!0}function Qi(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=0,gt=[];++ae<Be;){var Zt=j[ae];de(Zt,ae,j)&&(gt[Xe++]=Zt)}return gt}function ps(j,de){var ae=j==null?0:j.length;return!!ae&&jl(j,de,0)>-1}function Ca(j,de,ae){for(var Be=-1,Xe=j==null?0:j.length;++Be<Xe;)if(ae(de,j[Be]))return!0;return!1}function Ot(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=Array(Be);++ae<Be;)Xe[ae]=de(j[ae],ae,j);return Xe}function Zi(j,de){for(var ae=-1,Be=de.length,Xe=j.length;++ae<Be;)j[Xe+ae]=de[ae];return j}function ya(j,de,ae,Be){var Xe=-1,gt=j==null?0:j.length;for(Be&&gt&&(ae=j[++Xe]);++Xe<gt;)ae=de(ae,j[Xe],Xe,j);return ae}function j_(j,de,ae,Be){var Xe=j==null?0:j.length;for(Be&&Xe&&(ae=j[--Xe]);Xe--;)ae=de(ae,j[Xe],Xe,j);return ae}function Pa(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(de(j[ae],ae,j))return!0;return!1}var Y_=Na("length");function Q_(j){return j.split("")}function Z_(j){return j.match(Hl)||[]}function Ko(j,de,ae){var Be;return ae(j,function(Xe,gt,Zt){if(de(Xe,gt,Zt))return Be=gt,!1}),Be}function ms(j,de,ae,Be){for(var Xe=j.length,gt=ae+(Be?1:-1);Be?gt--:++gt<Xe;)if(de(j[gt],gt,j))return gt;return-1}function jl(j,de,ae){return de===de?op(j,de,ae):ms(j,Jo,ae)}function X_(j,de,ae,Be){for(var Xe=ae-1,gt=j.length;++Xe<gt;)if(Be(j[Xe],de))return Xe;return-1}function Jo(j){return j!==j}function jo(j,de){var ae=j==null?0:j.length;return ae?Ta(j,de)/ae:ye}function Na(j){return function(de){return de==null?t:de[j]}}function Ia(j){return function(de){return j==null?t:j[de]}}function Yo(j,de,ae,Be,Xe){return Xe(j,function(gt,Zt,Tt){ae=Be?(Be=!1,gt):de(ae,gt,Zt,Tt)}),ae}function $_(j,de){var ae=j.length;for(j.sort(de);ae--;)j[ae]=j[ae].value;return j}function Ta(j,de){for(var ae,Be=-1,Xe=j.length;++Be<Xe;){var gt=de(j[Be]);gt!==t&&(ae=ae===t?gt:ae+gt)}return ae}function La(j,de){for(var ae=-1,Be=Array(j);++ae<j;)Be[ae]=de(ae);return Be}function x_(j,de){return Ot(de,function(ae){return[ae,j[ae]]})}function Qo(j){return j&&j.slice(0,xo(j)+1).replace(ri,"")}function Ln(j){return function(de){return j(de)}}function Aa(j,de){return Ot(de,function(ae){return j[ae]})}function Dr(j,de){return j.has(de)}function Zo(j,de){for(var ae=-1,Be=j.length;++ae<Be&&jl(de,j[ae],0)>-1;);return ae}function Xo(j,de){for(var ae=j.length;ae--&&jl(de,j[ae],0)>-1;);return ae}function ep(j,de){for(var ae=j.length,Be=0;ae--;)j[ae]===de&&++Be;return Be}var tp=Ia(mt),np=Ia(qt);function ip(j){return"\\"+ai[j]}function lp(j,de){return j==null?t:j[de]}function Yl(j){return Er.test(j)}function rp(j){return Ji.test(j)}function sp(j){for(var de,ae=[];!(de=j.next()).done;)ae.push(de.value);return ae}function Ea(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be,Xe){ae[++de]=[Xe,Be]}),ae}function $o(j,de){return function(ae){return j(de(ae))}}function Xi(j,de){for(var ae=-1,Be=j.length,Xe=0,gt=[];++ae<Be;){var Zt=j[ae];(Zt===de||Zt===h)&&(j[ae]=h,gt[Xe++]=ae)}return gt}function bs(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=Be}),ae}function ap(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=[Be,Be]}),ae}function op(j,de,ae){for(var Be=ae-1,Xe=j.length;++Be<Xe;)if(j[Be]===de)return Be;return-1}function up(j,de,ae){for(var Be=ae+1;Be--;)if(j[Be]===de)return Be;return Be}function Ql(j){return Yl(j)?cp(j):Y_(j)}function Xn(j){return Yl(j)?dp(j):Q_(j)}function xo(j){for(var de=j.length;de--&&dl.test(j.charAt(de)););return de}var fp=Ia(Un);function cp(j){for(var de=ft.lastIndex=0;ft.test(j);)++de;return de}function dp(j){return j.match(ft)||[]}function hp(j){return j.match(Mt)||[]}var gp=function j(de){de=de==null?en:Zl.defaults(en.Object(),de,Zl.pick(en,Rr));var ae=de.Array,Be=de.Date,Xe=de.Error,gt=de.Function,Zt=de.Math,Tt=de.Object,Ra=de.RegExp,_p=de.String,Hn=de.TypeError,vs=ae.prototype,pp=gt.prototype,Xl=Tt.prototype,ws=de["__core-js_shared__"],Ss=pp.toString,Ct=Xl.hasOwnProperty,mp=0,eu=function(){var a=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ks=Xl.toString,bp=Ss.call(Tt),vp=en._,wp=Ra("^"+Ss.call(Ct).replace(fl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cs=yl?de.Buffer:t,$i=de.Symbol,ys=de.Uint8Array,tu=Cs?Cs.allocUnsafe:t,Ps=$o(Tt.getPrototypeOf,Tt),nu=Tt.create,iu=Xl.propertyIsEnumerable,Ns=vs.splice,lu=$i?$i.isConcatSpreadable:t,Vr=$i?$i.iterator:t,Pl=$i?$i.toStringTag:t,Is=function(){try{var a=Al(Tt,"defineProperty");return a({},"",{}),a}catch{}}(),Sp=de.clearTimeout!==en.clearTimeout&&de.clearTimeout,kp=Be&&Be.now!==en.Date.now&&Be.now,Cp=de.setTimeout!==en.setTimeout&&de.setTimeout,Ts=Zt.ceil,Ls=Zt.floor,Da=Tt.getOwnPropertySymbols,yp=Cs?Cs.isBuffer:t,ru=de.isFinite,Pp=vs.join,Np=$o(Tt.keys,Tt),Xt=Zt.max,fn=Zt.min,Ip=Be.now,Tp=de.parseInt,su=Zt.random,Lp=vs.reverse,Va=Al(de,"DataView"),Mr=Al(de,"Map"),Ma=Al(de,"Promise"),$l=Al(de,"Set"),Or=Al(de,"WeakMap"),Fr=Al(Tt,"create"),As=Or&&new Or,xl={},Ap=El(Va),Ep=El(Mr),Rp=El(Ma),Dp=El($l),Vp=El(Or),Es=$i?$i.prototype:t,Ur=Es?Es.valueOf:t,au=Es?Es.toString:t;function R(a){if(Wt(a)&&!xe(a)&&!(a instanceof ot)){if(a instanceof Wn)return a;if(Ct.call(a,"__wrapped__"))return uf(a)}return new Wn(a)}var er=function(){function a(){}return function(u){if(!Ut(u))return{};if(nu)return nu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Rs(){}function Wn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}R.templateSettings={escape:vr,evaluate:wr,interpolate:Fl,variable:"",imports:{_:R}},R.prototype=Rs.prototype,R.prototype.constructor=R,Wn.prototype=er(Rs.prototype),Wn.prototype.constructor=Wn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Mp(){var a=new ot(this.__wrapped__);return a.__actions__=Sn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Sn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Sn(this.__views__),a}function Op(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Fp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,M=Qm(0,P,this.__views__),H=M.start,G=M.end,Z=G-H,_e=b?G:H-1,pe=this.__iteratees__,ve=pe.length,Re=0,We=fn(Z,this.__takeCount__);if(!d||!b&&P==Z&&We==Z)return Eu(a,this.__actions__);var je=[];e:for(;Z--&&Re<We;){_e+=u;for(var nt=-1,Ye=a[_e];++nt<ve;){var at=pe[nt],ut=at.iteratee,Rn=at.type,_n=ut(Ye);if(Rn==Q)Ye=_n;else if(!_n){if(Rn==x)continue e;break e}}je[Re++]=Ye}return je}ot.prototype=er(Rs.prototype),ot.prototype.constructor=ot;function Nl(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 Up(){this.__data__=Fr?Fr(null):{},this.size=0}function Bp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Hp(a){var u=this.__data__;if(Fr){var d=u[a];return d===c?t:d}return Ct.call(u,a)?u[a]:t}function Wp(a){var u=this.__data__;return Fr?u[a]!==t:Ct.call(u,a)}function zp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Fr&&u===t?c:u,this}Nl.prototype.clear=Up,Nl.prototype.delete=Bp,Nl.prototype.get=Hp,Nl.prototype.has=Wp,Nl.prototype.set=zp;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 Gp(){this.__data__=[],this.size=0}function qp(a){var u=this.__data__,d=Ds(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ns.call(u,d,1),--this.size,!0}function Kp(a){var u=this.__data__,d=Ds(u,a);return d<0?t:u[d][1]}function Jp(a){return Ds(this.__data__,a)>-1}function jp(a,u){var d=this.__data__,b=Ds(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Pi.prototype.clear=Gp,Pi.prototype.delete=qp,Pi.prototype.get=Kp,Pi.prototype.has=Jp,Pi.prototype.set=jp;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 Yp(){this.size=0,this.__data__={hash:new Nl,map:new(Mr||Pi),string:new Nl}}function Qp(a){var u=Ks(this,a).delete(a);return this.size-=u?1:0,u}function Zp(a){return Ks(this,a).get(a)}function Xp(a){return Ks(this,a).has(a)}function $p(a,u){var d=Ks(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}Ni.prototype.clear=Yp,Ni.prototype.delete=Qp,Ni.prototype.get=Zp,Ni.prototype.has=Xp,Ni.prototype.set=$p;function Il(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ni;++u<d;)this.add(a[u])}function xp(a){return this.__data__.set(a,c),this}function em(a){return this.__data__.has(a)}Il.prototype.add=Il.prototype.push=xp,Il.prototype.has=em;function $n(a){var u=this.__data__=new Pi(a);this.size=u.size}function tm(){this.__data__=new Pi,this.size=0}function nm(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function im(a){return this.__data__.get(a)}function lm(a){return this.__data__.has(a)}function rm(a,u){var d=this.__data__;if(d instanceof Pi){var b=d.__data__;if(!Mr||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}$n.prototype.clear=tm,$n.prototype.delete=nm,$n.prototype.get=im,$n.prototype.has=lm,$n.prototype.set=rm;function ou(a,u){var d=xe(a),b=!d&&Rl(a),P=!d&&!b&&il(a),M=!d&&!b&&!P&&lr(a),H=d||b||P||M,G=H?La(a.length,_p):[],Z=G.length;for(var _e in a)(u||Ct.call(a,_e))&&!(H&&(_e=="length"||P&&(_e=="offset"||_e=="parent")||M&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ai(_e,Z)))&&G.push(_e);return G}function uu(a){var u=a.length;return u?a[Ja(0,u-1)]:t}function sm(a,u){return Js(Sn(a),Tl(u,0,a.length))}function am(a){return Js(Sn(a))}function Oa(a,u,d){(d!==t&&!xn(a[u],d)||d===t&&!(u in a))&&Ii(a,u,d)}function Br(a,u,d){var b=a[u];(!(Ct.call(a,u)&&xn(b,d))||d===t&&!(u in a))&&Ii(a,u,d)}function Ds(a,u){for(var d=a.length;d--;)if(xn(a[d][0],u))return d;return-1}function om(a,u,d,b){return xi(a,function(P,M,H){u(b,P,d(P),H)}),b}function fu(a,u){return a&&ui(u,tn(u),a)}function um(a,u){return a&&ui(u,Cn(u),a)}function Ii(a,u,d){u=="__proto__"&&Is?Is(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Fa(a,u){for(var d=-1,b=u.length,P=ae(b),M=a==null;++d<b;)P[d]=M?t:bo(a,u[d]);return P}function Tl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function zn(a,u,d,b,P,M){var H,G=u&_,Z=u&p,_e=u&m;if(d&&(H=P?d(a,b,P,M):d(a)),H!==t)return H;if(!Ut(a))return a;var pe=xe(a);if(pe){if(H=Xm(a),!G)return Sn(a,H)}else{var ve=cn(a),Re=ve==Dt||ve==Ht;if(il(a))return Vu(a,G);if(ve==zt||ve==X||Re&&!P){if(H=Z||Re?{}:xu(a),!G)return Z?Hm(a,um(H,a)):Bm(a,fu(H,a))}else{if(!Te[ve])return P?a:{};H=$m(a,ve,G)}}M||(M=new $n);var We=M.get(a);if(We)return We;M.set(a,H),Lf(a)?a.forEach(function(Ye){H.add(zn(Ye,u,d,Ye,a,M))}):If(a)&&a.forEach(function(Ye,at){H.set(at,zn(Ye,u,d,at,a,M))});var je=_e?Z?io:no:Z?Cn:tn,nt=pe?t:je(a);return Bn(nt||a,function(Ye,at){nt&&(at=Ye,Ye=a[at]),Br(H,at,zn(Ye,u,d,at,a,M))}),H}function fm(a){var u=tn(a);return function(d){return cu(d,a,u)}}function cu(a,u,d){var b=d.length;if(a==null)return!b;for(a=Tt(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 du(a,u,d){if(typeof a!="function")throw new Hn(s);return Jr(function(){a.apply(t,d)},u)}function Hr(a,u,d,b){var P=-1,M=ps,H=!0,G=a.length,Z=[],_e=u.length;if(!G)return Z;d&&(u=Ot(u,Ln(d))),b?(M=Ca,H=!1):u.length>=l&&(M=Dr,H=!1,u=new Il(u));e:for(;++P<G;){var pe=a[P],ve=d==null?pe:d(pe);if(pe=b||pe!==0?pe:0,H&&ve===ve){for(var Re=_e;Re--;)if(u[Re]===ve)continue e;Z.push(pe)}else M(u,ve,b)||Z.push(pe)}return Z}var xi=Bu(oi),hu=Bu(Ba,!0);function cm(a,u){var d=!0;return xi(a,function(b,P,M){return d=!!u(b,P,M),d}),d}function Vs(a,u,d){for(var b=-1,P=a.length;++b<P;){var M=a[b],H=u(M);if(H!=null&&(G===t?H===H&&!En(H):d(H,G)))var G=H,Z=M}return Z}function dm(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:Ef(b);d<b;)a[d++]=u;return a}function gu(a,u){var d=[];return xi(a,function(b,P,M){u(b,P,M)&&d.push(b)}),d}function an(a,u,d,b,P){var M=-1,H=a.length;for(d||(d=e1),P||(P=[]);++M<H;){var G=a[M];u>0&&d(G)?u>1?an(G,u-1,d,b,P):Zi(P,G):b||(P[P.length]=G)}return P}var Ua=Hu(),_u=Hu(!0);function oi(a,u){return a&&Ua(a,u,tn)}function Ba(a,u){return a&&_u(a,u,tn)}function Ms(a,u){return Qi(u,function(d){return Ei(a[d])})}function Ll(a,u){u=tl(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[fi(u[d++])];return d&&d==b?a:t}function pu(a,u,d){var b=u(a);return xe(a)?b:Zi(b,d(a))}function hn(a){return a==null?a===t?mn:On:Pl&&Pl in Tt(a)?Ym(a):a1(a)}function Ha(a,u){return a>u}function hm(a,u){return a!=null&&Ct.call(a,u)}function gm(a,u){return a!=null&&u in Tt(a)}function _m(a,u,d){return a>=fn(u,d)&&a<Xt(u,d)}function Wa(a,u,d){for(var b=d?Ca:ps,P=a[0].length,M=a.length,H=M,G=ae(M),Z=1/0,_e=[];H--;){var pe=a[H];H&&u&&(pe=Ot(pe,Ln(u))),Z=fn(pe.length,Z),G[H]=!d&&(u||P>=120&&pe.length>=120)?new Il(H&&pe):t}pe=a[0];var ve=-1,Re=G[0];e:for(;++ve<P&&_e.length<Z;){var We=pe[ve],je=u?u(We):We;if(We=d||We!==0?We:0,!(Re?Dr(Re,je):b(_e,je,d))){for(H=M;--H;){var nt=G[H];if(!(nt?Dr(nt,je):b(a[H],je,d)))continue e}Re&&Re.push(je),_e.push(We)}}return _e}function pm(a,u,d,b){return oi(a,function(P,M,H){u(b,d(P),M,H)}),b}function Wr(a,u,d){u=tl(u,a),a=lf(a,u);var b=a==null?a:a[fi(qn(u))];return b==null?t:Tn(b,a,d)}function mu(a){return Wt(a)&&hn(a)==X}function mm(a){return Wt(a)&&hn(a)==Gt}function bm(a){return Wt(a)&&hn(a)==Me}function zr(a,u,d,b,P){return a===u?!0:a==null||u==null||!Wt(a)&&!Wt(u)?a!==a&&u!==u:vm(a,u,d,b,zr,P)}function vm(a,u,d,b,P,M){var H=xe(a),G=xe(u),Z=H?ge:cn(a),_e=G?ge:cn(u);Z=Z==X?zt:Z,_e=_e==X?zt:_e;var pe=Z==zt,ve=_e==zt,Re=Z==_e;if(Re&&il(a)){if(!il(u))return!1;H=!0,pe=!1}if(Re&&!pe)return M||(M=new $n),H||lr(a)?Zu(a,u,d,b,P,M):Jm(a,u,Z,d,b,P,M);if(!(d&v)){var We=pe&&Ct.call(a,"__wrapped__"),je=ve&&Ct.call(u,"__wrapped__");if(We||je){var nt=We?a.value():a,Ye=je?u.value():u;return M||(M=new $n),P(nt,Ye,d,b,M)}}return Re?(M||(M=new $n),jm(a,u,d,b,P,M)):!1}function wm(a){return Wt(a)&&cn(a)==vt}function za(a,u,d,b){var P=d.length,M=P,H=!b;if(a==null)return!M;for(a=Tt(a);P--;){var G=d[P];if(H&&G[2]?G[1]!==a[G[0]]:!(G[0]in a))return!1}for(;++P<M;){G=d[P];var Z=G[0],_e=a[Z],pe=G[1];if(H&&G[2]){if(_e===t&&!(Z in a))return!1}else{var ve=new $n;if(b)var Re=b(_e,pe,Z,a,u,ve);if(!(Re===t?zr(pe,_e,v|S,b,ve):Re))return!1}}return!0}function bu(a){if(!Ut(a)||n1(a))return!1;var u=Ei(a)?wp:Gi;return u.test(El(a))}function Sm(a){return Wt(a)&&hn(a)==xt}function km(a){return Wt(a)&&cn(a)==Yt}function Cm(a){return Wt(a)&&$s(a.length)&&!!kt[hn(a)]}function vu(a){return typeof a=="function"?a:a==null?yn:typeof a=="object"?xe(a)?ku(a[0],a[1]):Su(a):zf(a)}function Ga(a){if(!Kr(a))return Np(a);var u=[];for(var d in Tt(a))Ct.call(a,d)&&d!="constructor"&&u.push(d);return u}function ym(a){if(!Ut(a))return s1(a);var u=Kr(a),d=[];for(var b in a)b=="constructor"&&(u||!Ct.call(a,b))||d.push(b);return d}function qa(a,u){return a<u}function wu(a,u){var d=-1,b=kn(a)?ae(a.length):[];return xi(a,function(P,M,H){b[++d]=u(P,M,H)}),b}function Su(a){var u=ro(a);return u.length==1&&u[0][2]?tf(u[0][0],u[0][1]):function(d){return d===a||za(d,a,u)}}function ku(a,u){return ao(a)&&ef(u)?tf(fi(a),u):function(d){var b=bo(d,a);return b===t&&b===u?vo(d,a):zr(u,b,v|S)}}function Os(a,u,d,b,P){a!==u&&Ua(u,function(M,H){if(P||(P=new $n),Ut(M))Pm(a,u,H,d,Os,b,P);else{var G=b?b(uo(a,H),M,H+"",a,u,P):t;G===t&&(G=M),Oa(a,H,G)}},Cn)}function Pm(a,u,d,b,P,M,H){var G=uo(a,d),Z=uo(u,d),_e=H.get(Z);if(_e){Oa(a,d,_e);return}var pe=M?M(G,Z,d+"",a,u,H):t,ve=pe===t;if(ve){var Re=xe(Z),We=!Re&&il(Z),je=!Re&&!We&&lr(Z);pe=Z,Re||We||je?xe(G)?pe=G:Kt(G)?pe=Sn(G):We?(ve=!1,pe=Vu(Z,!0)):je?(ve=!1,pe=Mu(Z,!0)):pe=[]:jr(Z)||Rl(Z)?(pe=G,Rl(G)?pe=Rf(G):(!Ut(G)||Ei(G))&&(pe=xu(Z))):ve=!1}ve&&(H.set(Z,pe),P(pe,Z,b,M,H),H.delete(Z)),Oa(a,d,pe)}function Cu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ai(u,d)?a[u]:t}function yu(a,u,d){u.length?u=Ot(u,function(M){return xe(M)?function(H){return Ll(H,M.length===1?M[0]:M)}:M}):u=[yn];var b=-1;u=Ot(u,Ln(Ke()));var P=wu(a,function(M,H,G){var Z=Ot(u,function(_e){return _e(M)});return{criteria:Z,index:++b,value:M}});return $_(P,function(M,H){return Um(M,H,d)})}function Nm(a,u){return Pu(a,u,function(d,b){return vo(a,b)})}function Pu(a,u,d){for(var b=-1,P=u.length,M={};++b<P;){var H=u[b],G=Ll(a,H);d(G,H)&&Gr(M,tl(H,a),G)}return M}function Im(a){return function(u){return Ll(u,a)}}function Ka(a,u,d,b){var P=b?X_:jl,M=-1,H=u.length,G=a;for(a===u&&(u=Sn(u)),d&&(G=Ot(a,Ln(d)));++M<H;)for(var Z=0,_e=u[M],pe=d?d(_e):_e;(Z=P(G,pe,Z,b))>-1;)G!==a&&Ns.call(G,Z,1),Ns.call(a,Z,1);return a}function Nu(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)?Ns.call(a,P,1):Qa(a,P)}}return a}function Ja(a,u){return a+Ls(su()*(u-a+1))}function Tm(a,u,d,b){for(var P=-1,M=Xt(Ts((u-a)/(d||1)),0),H=ae(M);M--;)H[b?M:++P]=a,a+=d;return H}function ja(a,u){var d="";if(!a||u<1||u>ne)return d;do u%2&&(d+=a),u=Ls(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return fo(nf(a,u,yn),a+"")}function Lm(a){return uu(rr(a))}function Am(a,u){var d=rr(a);return Js(d,Tl(u,0,d.length))}function Gr(a,u,d,b){if(!Ut(a))return a;u=tl(u,a);for(var P=-1,M=u.length,H=M-1,G=a;G!=null&&++P<M;){var Z=fi(u[P]),_e=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(P!=H){var pe=G[Z];_e=b?b(pe,Z,G):t,_e===t&&(_e=Ut(pe)?pe:Ai(u[P+1])?[]:{})}Br(G,Z,_e),G=G[Z]}return a}var Iu=As?function(a,u){return As.set(a,u),a}:yn,Em=Is?function(a,u){return Is(a,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:yn;function Rm(a){return Js(rr(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=ae(P);++b<P;)M[b]=a[b+u];return M}function Dm(a,u){var d;return xi(a,function(b,P,M){return d=u(b,P,M),!d}),!!d}function Fs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Pe){for(;b<P;){var M=b+P>>>1,H=a[M];H!==null&&!En(H)&&(d?H<=u:H<u)?b=M+1:P=M}return P}return Ya(a,u,yn,d)}function Ya(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,G=u===null,Z=En(u),_e=u===t;P<M;){var pe=Ls((P+M)/2),ve=d(a[pe]),Re=ve!==t,We=ve===null,je=ve===ve,nt=En(ve);if(H)var Ye=b||je;else _e?Ye=je&&(b||Re):G?Ye=je&&Re&&(b||!We):Z?Ye=je&&Re&&!We&&(b||!nt):We||nt?Ye=!1:Ye=b?ve<=u:ve<u;Ye?P=pe+1:M=pe}return fn(M,He)}function Tu(a,u){for(var d=-1,b=a.length,P=0,M=[];++d<b;){var H=a[d],G=u?u(H):H;if(!d||!xn(G,Z)){var Z=G;M[P++]=H===0?0:H}}return M}function Lu(a){return typeof a=="number"?a:En(a)?ye:+a}function An(a){if(typeof a=="string")return a;if(xe(a))return Ot(a,An)+"";if(En(a))return au?au.call(a):"";var u=a+"";return u=="0"&&1/a==-he?"-0":u}function el(a,u,d){var b=-1,P=ps,M=a.length,H=!0,G=[],Z=G;if(d)H=!1,P=Ca;else if(M>=l){var _e=u?null:qm(a);if(_e)return bs(_e);H=!1,P=Dr,Z=new Il}else Z=u?[]:G;e:for(;++b<M;){var pe=a[b],ve=u?u(pe):pe;if(pe=d||pe!==0?pe:0,H&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),G.push(pe)}else P(Z,ve,d)||(Z!==G&&Z.push(ve),G.push(pe))}return G}function Qa(a,u){return u=tl(u,a),a=lf(a,u),a==null||delete a[fi(qn(u))]}function Au(a,u,d,b){return Gr(a,u,d(Ll(a,u)),b)}function Us(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 Eu(a,u){var d=a;return d instanceof ot&&(d=d.value()),ya(u,function(b,P){return P.func.apply(P.thisArg,Zi([b],P.args))},d)}function Za(a,u,d){var b=a.length;if(b<2)return b?el(a[0]):[];for(var P=-1,M=ae(b);++P<b;)for(var H=a[P],G=-1;++G<b;)G!=P&&(M[P]=Hr(M[P]||H,a[G],u,d));return el(an(M,1),u,d)}function Ru(a,u,d){for(var b=-1,P=a.length,M=u.length,H={};++b<P;){var G=b<M?u[b]:t;d(H,a[b],G)}return H}function Xa(a){return Kt(a)?a:[]}function $a(a){return typeof a=="function"?a:yn}function tl(a,u){return xe(a)?a:ao(a,u)?[a]:of(bt(a))}var Vm=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 Du=Sp||function(a){return en.clearTimeout(a)};function Vu(a,u){if(u)return a.slice();var d=a.length,b=tu?tu(d):new a.constructor(d);return a.copy(b),b}function xa(a){var u=new a.constructor(a.byteLength);return new ys(u).set(new ys(a)),u}function Mm(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Om(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function Fm(a){return Ur?Tt(Ur.call(a)):{}}function Mu(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Ou(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,M=En(a),H=u!==t,G=u===null,Z=u===u,_e=En(u);if(!G&&!_e&&!M&&a>u||M&&H&&Z&&!G&&!_e||b&&H&&Z||!d&&Z||!P)return 1;if(!b&&!M&&!_e&&a<u||_e&&d&&P&&!b&&!M||G&&d&&P||!H&&P||!Z)return-1}return 0}function Um(a,u,d){for(var b=-1,P=a.criteria,M=u.criteria,H=P.length,G=d.length;++b<H;){var Z=Ou(P[b],M[b]);if(Z){if(b>=G)return Z;var _e=d[b];return Z*(_e=="desc"?-1:1)}}return a.index-u.index}function Fu(a,u,d,b){for(var P=-1,M=a.length,H=d.length,G=-1,Z=u.length,_e=Xt(M-H,0),pe=ae(Z+_e),ve=!b;++G<Z;)pe[G]=u[G];for(;++P<H;)(ve||P<M)&&(pe[d[P]]=a[P]);for(;_e--;)pe[G++]=a[P++];return pe}function Uu(a,u,d,b){for(var P=-1,M=a.length,H=-1,G=d.length,Z=-1,_e=u.length,pe=Xt(M-G,0),ve=ae(pe+_e),Re=!b;++P<pe;)ve[P]=a[P];for(var We=P;++Z<_e;)ve[We+Z]=u[Z];for(;++H<G;)(Re||P<M)&&(ve[We+d[H]]=a[P++]);return ve}function Sn(a,u){var d=-1,b=a.length;for(u||(u=ae(b));++d<b;)u[d]=a[d];return u}function ui(a,u,d,b){var P=!d;d||(d={});for(var M=-1,H=u.length;++M<H;){var G=u[M],Z=b?b(d[G],a[G],G,d,a):t;Z===t&&(Z=a[G]),P?Ii(d,G,Z):Br(d,G,Z)}return d}function Bm(a,u){return ui(a,so(a),u)}function Hm(a,u){return ui(a,Xu(a),u)}function Bs(a,u){return function(d,b){var P=xe(d)?K_:om,M=u?u():{};return P(d,a,Ke(b,2),M)}}function tr(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&&gn(d[0],d[1],H)&&(M=P<3?t:M,P=1),u=Tt(u);++b<P;){var G=d[b];G&&a(u,G,b,M)}return u})}function Bu(a,u){return function(d,b){if(d==null)return d;if(!kn(d))return a(d,b);for(var P=d.length,M=u?P:-1,H=Tt(d);(u?M--:++M<P)&&b(H[M],M,H)!==!1;);return d}}function Hu(a){return function(u,d,b){for(var P=-1,M=Tt(u),H=b(u),G=H.length;G--;){var Z=H[a?G:++P];if(d(M[Z],Z,M)===!1)break}return u}}function Wm(a,u,d){var b=u&y,P=qr(a);function M(){var H=this&&this!==en&&this instanceof M?P:a;return H.apply(b?d:this,arguments)}return M}function Wu(a){return function(u){u=bt(u);var d=Yl(u)?Xn(u):t,b=d?d[0]:u.charAt(0),P=d?nl(d,1).join(""):u.slice(1);return b[a]()+P}}function nr(a){return function(u){return ya(Hf(Bf(u).replace(we,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=er(a.prototype),b=a.apply(d,u);return Ut(b)?b:d}}function zm(a,u,d){var b=qr(a);function P(){for(var M=arguments.length,H=ae(M),G=M,Z=ir(P);G--;)H[G]=arguments[G];var _e=M<3&&H[0]!==Z&&H[M-1]!==Z?[]:Xi(H,Z);if(M-=_e.length,M<d)return Ju(a,u,Hs,P.placeholder,t,H,_e,t,t,d-M);var pe=this&&this!==en&&this instanceof P?b:a;return Tn(pe,this,H)}return P}function zu(a){return function(u,d,b){var P=Tt(u);if(!kn(u)){var M=Ke(d,3);u=tn(u),d=function(G){return M(P[G],G,P)}}var H=a(u,d,b);return H>-1?P[M?u[H]:H]:t}}function Gu(a){return Li(function(u){var d=u.length,b=d,P=Wn.prototype.thru;for(a&&u.reverse();b--;){var M=u[b];if(typeof M!="function")throw new Hn(s);if(P&&!H&&qs(M)=="wrapper")var H=new Wn([],!0)}for(b=H?b:d;++b<d;){M=u[b];var G=qs(M),Z=G=="wrapper"?lo(M):t;Z&&oo(Z[0])&&Z[1]==(V|I|T|O)&&!Z[4].length&&Z[9]==1?H=H[qs(Z[0])].apply(H,Z[3]):H=M.length==1&&oo(M)?H[G]():H.thru(M)}return function(){var _e=arguments,pe=_e[0];if(H&&_e.length==1&&xe(pe))return H.plant(pe).value();for(var ve=0,Re=d?u[ve].apply(this,_e):pe;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Hs(a,u,d,b,P,M,H,G,Z,_e){var pe=u&V,ve=u&y,Re=u&C,We=u&(I|D),je=u&U,nt=Re?t:qr(a);function Ye(){for(var at=arguments.length,ut=ae(at),Rn=at;Rn--;)ut[Rn]=arguments[Rn];if(We)var _n=ir(Ye),Dn=ep(ut,_n);if(b&&(ut=Fu(ut,b,P,We)),M&&(ut=Uu(ut,M,H,We)),at-=Dn,We&&at<_e){var Jt=Xi(ut,_n);return Ju(a,u,Hs,Ye.placeholder,d,ut,Jt,G,Z,_e-at)}var ei=ve?d:this,Di=Re?ei[a]:a;return at=ut.length,G?ut=o1(ut,G):je&&at>1&&ut.reverse(),pe&&Z<at&&(ut.length=Z),this&&this!==en&&this instanceof Ye&&(Di=nt||qr(Di)),Di.apply(ei,ut)}return Ye}function qu(a,u){return function(d,b){return pm(d,a,u(b),{})}}function Ws(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=An(d),b=An(b)):(d=Lu(d),b=Lu(b)),P=a(d,b)}return P}}function eo(a){return Li(function(u){return u=Ot(u,Ln(Ke())),lt(function(d){var b=this;return a(u,function(P){return Tn(P,b,d)})})})}function zs(a,u){u=u===t?" ":An(u);var d=u.length;if(d<2)return d?ja(u,a):u;var b=ja(u,Ts(a/Ql(u)));return Yl(u)?nl(Xn(b),0,a).join(""):b.slice(0,a)}function Gm(a,u,d,b){var P=u&y,M=qr(a);function H(){for(var G=-1,Z=arguments.length,_e=-1,pe=b.length,ve=ae(pe+Z),Re=this&&this!==en&&this instanceof H?M:a;++_e<pe;)ve[_e]=b[_e];for(;Z--;)ve[_e++]=arguments[++G];return Tn(Re,P?d:this,ve)}return H}function Ku(a){return function(u,d,b){return b&&typeof b!="number"&&gn(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),Tm(u,d,b,a)}}function Gs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Kn(u),d=Kn(d)),a(u,d)}}function Ju(a,u,d,b,P,M,H,G,Z,_e){var pe=u&I,ve=pe?H:t,Re=pe?t:H,We=pe?M:t,je=pe?t:M;u|=pe?T:L,u&=~(pe?L:T),u&N||(u&=~(y|C));var nt=[a,u,P,We,ve,je,Re,G,Z,_e],Ye=d.apply(t,nt);return oo(a)&&rf(Ye,nt),Ye.placeholder=b,sf(Ye,a,u)}function to(a){var u=Zt[a];return function(d,b){if(d=Kn(d),b=b==null?0:fn(et(b),292),b&&ru(d)){var P=(bt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+b));return P=(bt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var qm=$l&&1/bs(new $l([,-0]))[1]==he?function(a){return new $l(a)}:yo;function ju(a){return function(u){var d=cn(u);return d==vt?Ea(u):d==Yt?ap(u):x_(u,a(u))}}function Ti(a,u,d,b,P,M,H,G){var Z=u&C;if(!Z&&typeof a!="function")throw new Hn(s);var _e=b?b.length:0;if(_e||(u&=~(T|L),b=P=t),H=H===t?H:Xt(et(H),0),G=G===t?G:et(G),_e-=P?P.length:0,u&L){var pe=b,ve=P;b=P=t}var Re=Z?t:lo(a),We=[a,u,d,b,P,pe,ve,M,H,G];if(Re&&r1(We,Re),a=We[0],u=We[1],d=We[2],b=We[3],P=We[4],G=We[9]=We[9]===t?Z?0:a.length:Xt(We[9]-_e,0),!G&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var je=Wm(a,u,d);else u==I||u==D?je=zm(a,u,G):(u==T||u==(y|T))&&!P.length?je=Gm(a,u,d,b):je=Hs.apply(t,We);var nt=Re?Iu:rf;return sf(nt(je,We),a,u)}function Yu(a,u,d,b){return a===t||xn(a,Xl[d])&&!Ct.call(b,d)?u:a}function Qu(a,u,d,b,P,M){return Ut(a)&&Ut(u)&&(M.set(u,a),Os(a,u,t,Qu,M),M.delete(u)),a}function Km(a){return jr(a)?t:a}function Zu(a,u,d,b,P,M){var H=d&v,G=a.length,Z=u.length;if(G!=Z&&!(H&&Z>G))return!1;var _e=M.get(a),pe=M.get(u);if(_e&&pe)return _e==u&&pe==a;var ve=-1,Re=!0,We=d&S?new Il:t;for(M.set(a,u),M.set(u,a);++ve<G;){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;Re=!1;break}if(We){if(!Pa(u,function(at,ut){if(!Dr(We,ut)&&(je===at||P(je,at,d,b,M)))return We.push(ut)})){Re=!1;break}}else if(!(je===nt||P(je,nt,d,b,M))){Re=!1;break}}return M.delete(a),M.delete(u),Re}function Jm(a,u,d,b,P,M,H){switch(d){case ln: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 ys(a),new ys(u)));case De:case Me:case un:return xn(+a,+u);case Ze:return a.name==u.name&&a.message==u.message;case xt:case Qn:return a==u+"";case vt:var G=Ea;case Yt:var Z=b&v;if(G||(G=bs),a.size!=u.size&&!Z)return!1;var _e=H.get(a);if(_e)return _e==u;b|=S,H.set(a,u);var pe=Zu(G(a),G(u),b,P,M,H);return H.delete(a),pe;case Et:if(Ur)return Ur.call(a)==Ur.call(u)}return!1}function jm(a,u,d,b,P,M){var H=d&v,G=no(a),Z=G.length,_e=no(u),pe=_e.length;if(Z!=pe&&!H)return!1;for(var ve=Z;ve--;){var Re=G[ve];if(!(H?Re in u:Ct.call(u,Re)))return!1}var We=M.get(a),je=M.get(u);if(We&&je)return We==u&&je==a;var nt=!0;M.set(a,u),M.set(u,a);for(var Ye=H;++ve<Z;){Re=G[ve];var at=a[Re],ut=u[Re];if(b)var Rn=H?b(ut,at,Re,u,a,M):b(at,ut,Re,a,u,M);if(!(Rn===t?at===ut||P(at,ut,d,b,M):Rn)){nt=!1;break}Ye||(Ye=Re=="constructor")}if(nt&&!Ye){var _n=a.constructor,Dn=u.constructor;_n!=Dn&&"constructor"in a&&"constructor"in u&&!(typeof _n=="function"&&_n instanceof _n&&typeof Dn=="function"&&Dn instanceof Dn)&&(nt=!1)}return M.delete(a),M.delete(u),nt}function Li(a){return fo(nf(a,t,df),a+"")}function no(a){return pu(a,tn,so)}function io(a){return pu(a,Cn,Xu)}var lo=As?function(a){return As.get(a)}:yo;function qs(a){for(var u=a.name+"",d=xl[u],b=Ct.call(xl,u)?d.length:0;b--;){var P=d[b],M=P.func;if(M==null||M==a)return P.name}return u}function ir(a){var u=Ct.call(R,"placeholder")?R:a;return u.placeholder}function Ke(){var a=R.iteratee||ko;return a=a===ko?vu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ks(a,u){var d=a.__data__;return t1(u)?d[typeof u=="string"?"string":"hash"]:d.map}function ro(a){for(var u=tn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,ef(P)]}return u}function Al(a,u){var d=lp(a,u);return bu(d)?d:t}function Ym(a){var u=Ct.call(a,Pl),d=a[Pl];try{a[Pl]=t;var b=!0}catch{}var P=ks.call(a);return b&&(u?a[Pl]=d:delete a[Pl]),P}var so=Da?function(a){return a==null?[]:(a=Tt(a),Qi(Da(a),function(u){return iu.call(a,u)}))}:Po,Xu=Da?function(a){for(var u=[];a;)Zi(u,so(a)),a=Ps(a);return u}:Po,cn=hn;(Va&&cn(new Va(new ArrayBuffer(1)))!=ln||Mr&&cn(new Mr)!=vt||Ma&&cn(Ma.resolve())!=mi||$l&&cn(new $l)!=Yt||Or&&cn(new Or)!=Qt)&&(cn=function(a){var u=hn(a),d=u==zt?a.constructor:t,b=d?El(d):"";if(b)switch(b){case Ap:return ln;case Ep:return vt;case Rp:return mi;case Dp:return Yt;case Vp:return Qt}return u});function Qm(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=fn(u,a+H);break;case"takeRight":a=Xt(a,u-H);break}}return{start:a,end:u}}function Zm(a){var u=a.match(Ul);return u?u[1].split(Bl):[]}function $u(a,u,d){u=tl(u,a);for(var b=-1,P=u.length,M=!1;++b<P;){var H=fi(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&&$s(P)&&Ai(H,P)&&(xe(a)||Rl(a)))}function Xm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Ct.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function xu(a){return typeof a.constructor=="function"&&!Kr(a)?er(Ps(a)):{}}function $m(a,u,d){var b=a.constructor;switch(u){case Gt:return xa(a);case De:case Me:return new b(+a);case ln:return Mm(a,d);case bi:case li:case rn:case vi:case wi:case ee:case Ee:case st:case yt:return Mu(a,d);case vt:return new b;case un:case Qn:return new b(a);case xt:return Om(a);case Yt:return new b;case Et:return Fm(a)}}function xm(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(Wi,`{
36
+ */(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,m=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,T=32,L=64,V=128,O=256,U=512,W=30,oe="...",fe=800,$=16,x=1,Q=2,K=3,he=1/0,ne=9007199254740991,Y=17976931348623157e292,ye=0/0,ie=4294967295,He=ie-1,Pe=ie>>>1,ce=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",U],["partial",T],["partialRight",L],["rearg",O]],X="[object Arguments]",ge="[object Array]",se="[object AsyncFunction]",De="[object Boolean]",Me="[object Date]",me="[object DOMException]",Ze="[object Error]",Dt="[object Function]",Ht="[object GeneratorFunction]",vt="[object Map]",un="[object Number]",On="[object Null]",zt="[object Object]",mi="[object Promise]",Ui="[object Proxy]",xt="[object RegExp]",Yt="[object Set]",Qn="[object String]",Et="[object Symbol]",mn="[object Undefined]",Qt="[object WeakMap]",Bi="[object WeakSet]",Gt="[object ArrayBuffer]",ln="[object DataView]",bi="[object Float32Array]",li="[object Float64Array]",rn="[object Int8Array]",vi="[object Int16Array]",wi="[object Int32Array]",ee="[object Uint8Array]",Ee="[object Uint8ClampedArray]",st="[object Uint16Array]",yt="[object Uint32Array]",wt=/\b__p \+= '';/g,sn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zn=/&(?:amp|lt|gt|quot|#39);/g,Fn=/[&<>"']/g,Hi=RegExp(Zn.source),br=RegExp(Fn.source),vr=/<%-([\s\S]+?)%>/g,wr=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/,Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fl=/[\\^$.*+?()[\]{}|]/g,cl=RegExp(fl.source),ri=/^\s+/,dl=/\s/,Wi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ul=/\{\n\/\* \[wrapped with (.+)\] \*/,Bl=/,? & /,Hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yr=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,hl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,Wl=/^[-+]0x[0-9a-f]+$/i,Pr=/^0b[01]+$/i,Gi=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Si=/($^)/,zl=/['\n\r\u2028\u2029\\]/g,qi="\\ud800-\\udfff",St="\\u0300-\\u036f",ml="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",vl=St+ml+bl,wl="\\u2700-\\u27bf",si="a-z\\xdf-\\xf6\\xf8-\\xff",J="\\xac\\xb1\\xd7\\xf7",Pt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wn="\\u2000-\\u206f",ki=" \\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",Sl="A-Z\\xc0-\\xd6\\xd8-\\xde",is="\\ufe0e\\ufe0f",ls=J+Pt+wn+ki,Nr="['\u2019]",Ir="["+qi+"]",rs="["+ls+"]",Gl="["+vl+"]",ss="\\d+",va="["+wl+"]",as="["+si+"]",Tr="[^"+qi+ls+ss+wl+si+Sl+"]",ql="\\ud83c[\\udffb-\\udfff]",wa="(?:"+Gl+"|"+ql+")",os="[^"+qi+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",Ki="["+Sl+"]",us="\\u200d",fs="(?:"+as+"|"+Tr+")",Sa="(?:"+Ki+"|"+Tr+")",cs="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",ds="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",hs=wa+"?",gs="["+is+"]?",ka="(?:"+us+"(?:"+[os,Lr,Ar].join("|")+")"+gs+hs+")*",B="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ve=gs+hs+ka,Je="(?:"+[va,Lr,Ar].join("|")+")"+Ve,Ue="(?:"+[os+Gl+"?",Gl,Lr,Ar,Ir].join("|")+")",we=RegExp(Nr,"g"),Oe=RegExp(Gl,"g"),ft=RegExp(ql+"(?="+ql+")|"+Ue+Ve,"g"),Mt=RegExp([Ki+"?"+as+"+"+cs+"(?="+[rs,Ki,"$"].join("|")+")",Sa+"+"+ds+"(?="+[rs,Ki+fs,"$"].join("|")+")",Ki+"?"+fs+"+"+cs,Ki+"+"+ds,ue,B,ss,Je].join("|"),"g"),Er=RegExp("["+us+qi+vl+is+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ji=-1,kt={};kt[bi]=kt[li]=kt[rn]=kt[vi]=kt[wi]=kt[ee]=kt[Ee]=kt[st]=kt[yt]=!0,kt[X]=kt[ge]=kt[Gt]=kt[De]=kt[ln]=kt[Me]=kt[Ze]=kt[Dt]=kt[vt]=kt[un]=kt[zt]=kt[xt]=kt[Yt]=kt[Qn]=kt[Qt]=!1;var Te={};Te[X]=Te[ge]=Te[Gt]=Te[ln]=Te[De]=Te[Me]=Te[bi]=Te[li]=Te[rn]=Te[vi]=Te[wi]=Te[vt]=Te[un]=Te[zt]=Te[xt]=Te[Yt]=Te[Qn]=Te[Et]=Te[ee]=Te[Ee]=Te[st]=Te[yt]=!0,Te[Ze]=Te[Dt]=Te[Qt]=!1;var mt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},qt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Un={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ai={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yi=parseFloat,kl=parseInt,Kl=typeof Zr=="object"&&Zr&&Zr.Object===Object&&Zr,Jl=typeof self=="object"&&self&&self.Object===Object&&self,en=Kl||Jl||Function("return this")(),Cl=e&&!e.nodeType&&e,Ci=Cl&&!0&&i&&!i.nodeType&&i,yl=Ci&&Ci.exports===Cl,yi=yl&&Kl.process,It=function(){try{var j=Ci&&Ci.require&&Ci.require("util").types;return j||yi&&yi.binding&&yi.binding("util")}catch{}}(),In=It&&It.isArrayBuffer,_s=It&&It.isDate,Ho=It&&It.isMap,Wo=It&&It.isRegExp,zo=It&&It.isSet,Go=It&&It.isTypedArray;function Tn(j,de,ae){switch(ae.length){case 0:return j.call(de);case 1:return j.call(de,ae[0]);case 2:return j.call(de,ae[0],ae[1]);case 3:return j.call(de,ae[0],ae[1],ae[2])}return j.apply(de,ae)}function K_(j,de,ae,Be){for(var Xe=-1,gt=j==null?0:j.length;++Xe<gt;){var Zt=j[Xe];de(Be,Zt,ae(Zt),j)}return Be}function Bn(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be&&de(j[ae],ae,j)!==!1;);return j}function J_(j,de){for(var ae=j==null?0:j.length;ae--&&de(j[ae],ae,j)!==!1;);return j}function qo(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(!de(j[ae],ae,j))return!1;return!0}function Qi(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=0,gt=[];++ae<Be;){var Zt=j[ae];de(Zt,ae,j)&&(gt[Xe++]=Zt)}return gt}function ps(j,de){var ae=j==null?0:j.length;return!!ae&&jl(j,de,0)>-1}function Ca(j,de,ae){for(var Be=-1,Xe=j==null?0:j.length;++Be<Xe;)if(ae(de,j[Be]))return!0;return!1}function Ot(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=Array(Be);++ae<Be;)Xe[ae]=de(j[ae],ae,j);return Xe}function Zi(j,de){for(var ae=-1,Be=de.length,Xe=j.length;++ae<Be;)j[Xe+ae]=de[ae];return j}function ya(j,de,ae,Be){var Xe=-1,gt=j==null?0:j.length;for(Be&&gt&&(ae=j[++Xe]);++Xe<gt;)ae=de(ae,j[Xe],Xe,j);return ae}function j_(j,de,ae,Be){var Xe=j==null?0:j.length;for(Be&&Xe&&(ae=j[--Xe]);Xe--;)ae=de(ae,j[Xe],Xe,j);return ae}function Pa(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(de(j[ae],ae,j))return!0;return!1}var Y_=Na("length");function Q_(j){return j.split("")}function Z_(j){return j.match(Hl)||[]}function Ko(j,de,ae){var Be;return ae(j,function(Xe,gt,Zt){if(de(Xe,gt,Zt))return Be=gt,!1}),Be}function ms(j,de,ae,Be){for(var Xe=j.length,gt=ae+(Be?1:-1);Be?gt--:++gt<Xe;)if(de(j[gt],gt,j))return gt;return-1}function jl(j,de,ae){return de===de?op(j,de,ae):ms(j,Jo,ae)}function X_(j,de,ae,Be){for(var Xe=ae-1,gt=j.length;++Xe<gt;)if(Be(j[Xe],de))return Xe;return-1}function Jo(j){return j!==j}function jo(j,de){var ae=j==null?0:j.length;return ae?Ta(j,de)/ae:ye}function Na(j){return function(de){return de==null?t:de[j]}}function Ia(j){return function(de){return j==null?t:j[de]}}function Yo(j,de,ae,Be,Xe){return Xe(j,function(gt,Zt,Tt){ae=Be?(Be=!1,gt):de(ae,gt,Zt,Tt)}),ae}function $_(j,de){var ae=j.length;for(j.sort(de);ae--;)j[ae]=j[ae].value;return j}function Ta(j,de){for(var ae,Be=-1,Xe=j.length;++Be<Xe;){var gt=de(j[Be]);gt!==t&&(ae=ae===t?gt:ae+gt)}return ae}function La(j,de){for(var ae=-1,Be=Array(j);++ae<j;)Be[ae]=de(ae);return Be}function x_(j,de){return Ot(de,function(ae){return[ae,j[ae]]})}function Qo(j){return j&&j.slice(0,xo(j)+1).replace(ri,"")}function Ln(j){return function(de){return j(de)}}function Aa(j,de){return Ot(de,function(ae){return j[ae]})}function Dr(j,de){return j.has(de)}function Zo(j,de){for(var ae=-1,Be=j.length;++ae<Be&&jl(de,j[ae],0)>-1;);return ae}function Xo(j,de){for(var ae=j.length;ae--&&jl(de,j[ae],0)>-1;);return ae}function ep(j,de){for(var ae=j.length,Be=0;ae--;)j[ae]===de&&++Be;return Be}var tp=Ia(mt),np=Ia(qt);function ip(j){return"\\"+ai[j]}function lp(j,de){return j==null?t:j[de]}function Yl(j){return Er.test(j)}function rp(j){return Ji.test(j)}function sp(j){for(var de,ae=[];!(de=j.next()).done;)ae.push(de.value);return ae}function Ea(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be,Xe){ae[++de]=[Xe,Be]}),ae}function $o(j,de){return function(ae){return j(de(ae))}}function Xi(j,de){for(var ae=-1,Be=j.length,Xe=0,gt=[];++ae<Be;){var Zt=j[ae];(Zt===de||Zt===h)&&(j[ae]=h,gt[Xe++]=ae)}return gt}function bs(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=Be}),ae}function ap(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=[Be,Be]}),ae}function op(j,de,ae){for(var Be=ae-1,Xe=j.length;++Be<Xe;)if(j[Be]===de)return Be;return-1}function up(j,de,ae){for(var Be=ae+1;Be--;)if(j[Be]===de)return Be;return Be}function Ql(j){return Yl(j)?cp(j):Y_(j)}function Xn(j){return Yl(j)?dp(j):Q_(j)}function xo(j){for(var de=j.length;de--&&dl.test(j.charAt(de)););return de}var fp=Ia(Un);function cp(j){for(var de=ft.lastIndex=0;ft.test(j);)++de;return de}function dp(j){return j.match(ft)||[]}function hp(j){return j.match(Mt)||[]}var gp=function j(de){de=de==null?en:Zl.defaults(en.Object(),de,Zl.pick(en,Rr));var ae=de.Array,Be=de.Date,Xe=de.Error,gt=de.Function,Zt=de.Math,Tt=de.Object,Ra=de.RegExp,_p=de.String,Hn=de.TypeError,vs=ae.prototype,pp=gt.prototype,Xl=Tt.prototype,ws=de["__core-js_shared__"],Ss=pp.toString,Ct=Xl.hasOwnProperty,mp=0,eu=function(){var a=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ks=Xl.toString,bp=Ss.call(Tt),vp=en._,wp=Ra("^"+Ss.call(Ct).replace(fl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cs=yl?de.Buffer:t,$i=de.Symbol,ys=de.Uint8Array,tu=Cs?Cs.allocUnsafe:t,Ps=$o(Tt.getPrototypeOf,Tt),nu=Tt.create,iu=Xl.propertyIsEnumerable,Ns=vs.splice,lu=$i?$i.isConcatSpreadable:t,Vr=$i?$i.iterator:t,Pl=$i?$i.toStringTag:t,Is=function(){try{var a=Al(Tt,"defineProperty");return a({},"",{}),a}catch{}}(),Sp=de.clearTimeout!==en.clearTimeout&&de.clearTimeout,kp=Be&&Be.now!==en.Date.now&&Be.now,Cp=de.setTimeout!==en.setTimeout&&de.setTimeout,Ts=Zt.ceil,Ls=Zt.floor,Da=Tt.getOwnPropertySymbols,yp=Cs?Cs.isBuffer:t,ru=de.isFinite,Pp=vs.join,Np=$o(Tt.keys,Tt),Xt=Zt.max,fn=Zt.min,Ip=Be.now,Tp=de.parseInt,su=Zt.random,Lp=vs.reverse,Va=Al(de,"DataView"),Mr=Al(de,"Map"),Ma=Al(de,"Promise"),$l=Al(de,"Set"),Or=Al(de,"WeakMap"),Fr=Al(Tt,"create"),As=Or&&new Or,xl={},Ap=El(Va),Ep=El(Mr),Rp=El(Ma),Dp=El($l),Vp=El(Or),Es=$i?$i.prototype:t,Ur=Es?Es.valueOf:t,au=Es?Es.toString:t;function R(a){if(Wt(a)&&!xe(a)&&!(a instanceof ot)){if(a instanceof Wn)return a;if(Ct.call(a,"__wrapped__"))return uf(a)}return new Wn(a)}var er=function(){function a(){}return function(u){if(!Ut(u))return{};if(nu)return nu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Rs(){}function Wn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}R.templateSettings={escape:vr,evaluate:wr,interpolate:Fl,variable:"",imports:{_:R}},R.prototype=Rs.prototype,R.prototype.constructor=R,Wn.prototype=er(Rs.prototype),Wn.prototype.constructor=Wn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Mp(){var a=new ot(this.__wrapped__);return a.__actions__=Sn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Sn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Sn(this.__views__),a}function Op(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Fp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,M=Qm(0,P,this.__views__),H=M.start,G=M.end,Z=G-H,_e=b?G:H-1,pe=this.__iteratees__,ve=pe.length,Re=0,We=fn(Z,this.__takeCount__);if(!d||!b&&P==Z&&We==Z)return Eu(a,this.__actions__);var je=[];e:for(;Z--&&Re<We;){_e+=u;for(var nt=-1,Ye=a[_e];++nt<ve;){var at=pe[nt],ut=at.iteratee,Rn=at.type,_n=ut(Ye);if(Rn==Q)Ye=_n;else if(!_n){if(Rn==x)continue e;break e}}je[Re++]=Ye}return je}ot.prototype=er(Rs.prototype),ot.prototype.constructor=ot;function Nl(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 Up(){this.__data__=Fr?Fr(null):{},this.size=0}function Bp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Hp(a){var u=this.__data__;if(Fr){var d=u[a];return d===c?t:d}return Ct.call(u,a)?u[a]:t}function Wp(a){var u=this.__data__;return Fr?u[a]!==t:Ct.call(u,a)}function zp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Fr&&u===t?c:u,this}Nl.prototype.clear=Up,Nl.prototype.delete=Bp,Nl.prototype.get=Hp,Nl.prototype.has=Wp,Nl.prototype.set=zp;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 Gp(){this.__data__=[],this.size=0}function qp(a){var u=this.__data__,d=Ds(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ns.call(u,d,1),--this.size,!0}function Kp(a){var u=this.__data__,d=Ds(u,a);return d<0?t:u[d][1]}function Jp(a){return Ds(this.__data__,a)>-1}function jp(a,u){var d=this.__data__,b=Ds(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Pi.prototype.clear=Gp,Pi.prototype.delete=qp,Pi.prototype.get=Kp,Pi.prototype.has=Jp,Pi.prototype.set=jp;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 Yp(){this.size=0,this.__data__={hash:new Nl,map:new(Mr||Pi),string:new Nl}}function Qp(a){var u=Ks(this,a).delete(a);return this.size-=u?1:0,u}function Zp(a){return Ks(this,a).get(a)}function Xp(a){return Ks(this,a).has(a)}function $p(a,u){var d=Ks(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}Ni.prototype.clear=Yp,Ni.prototype.delete=Qp,Ni.prototype.get=Zp,Ni.prototype.has=Xp,Ni.prototype.set=$p;function Il(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ni;++u<d;)this.add(a[u])}function xp(a){return this.__data__.set(a,c),this}function em(a){return this.__data__.has(a)}Il.prototype.add=Il.prototype.push=xp,Il.prototype.has=em;function $n(a){var u=this.__data__=new Pi(a);this.size=u.size}function tm(){this.__data__=new Pi,this.size=0}function nm(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function im(a){return this.__data__.get(a)}function lm(a){return this.__data__.has(a)}function rm(a,u){var d=this.__data__;if(d instanceof Pi){var b=d.__data__;if(!Mr||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}$n.prototype.clear=tm,$n.prototype.delete=nm,$n.prototype.get=im,$n.prototype.has=lm,$n.prototype.set=rm;function ou(a,u){var d=xe(a),b=!d&&Rl(a),P=!d&&!b&&il(a),M=!d&&!b&&!P&&lr(a),H=d||b||P||M,G=H?La(a.length,_p):[],Z=G.length;for(var _e in a)(u||Ct.call(a,_e))&&!(H&&(_e=="length"||P&&(_e=="offset"||_e=="parent")||M&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ai(_e,Z)))&&G.push(_e);return G}function uu(a){var u=a.length;return u?a[Ja(0,u-1)]:t}function sm(a,u){return Js(Sn(a),Tl(u,0,a.length))}function am(a){return Js(Sn(a))}function Oa(a,u,d){(d!==t&&!xn(a[u],d)||d===t&&!(u in a))&&Ii(a,u,d)}function Br(a,u,d){var b=a[u];(!(Ct.call(a,u)&&xn(b,d))||d===t&&!(u in a))&&Ii(a,u,d)}function Ds(a,u){for(var d=a.length;d--;)if(xn(a[d][0],u))return d;return-1}function om(a,u,d,b){return xi(a,function(P,M,H){u(b,P,d(P),H)}),b}function fu(a,u){return a&&ui(u,tn(u),a)}function um(a,u){return a&&ui(u,Cn(u),a)}function Ii(a,u,d){u=="__proto__"&&Is?Is(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Fa(a,u){for(var d=-1,b=u.length,P=ae(b),M=a==null;++d<b;)P[d]=M?t:bo(a,u[d]);return P}function Tl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function zn(a,u,d,b,P,M){var H,G=u&_,Z=u&p,_e=u&m;if(d&&(H=P?d(a,b,P,M):d(a)),H!==t)return H;if(!Ut(a))return a;var pe=xe(a);if(pe){if(H=Xm(a),!G)return Sn(a,H)}else{var ve=cn(a),Re=ve==Dt||ve==Ht;if(il(a))return Vu(a,G);if(ve==zt||ve==X||Re&&!P){if(H=Z||Re?{}:xu(a),!G)return Z?Hm(a,um(H,a)):Bm(a,fu(H,a))}else{if(!Te[ve])return P?a:{};H=$m(a,ve,G)}}M||(M=new $n);var We=M.get(a);if(We)return We;M.set(a,H),Lf(a)?a.forEach(function(Ye){H.add(zn(Ye,u,d,Ye,a,M))}):If(a)&&a.forEach(function(Ye,at){H.set(at,zn(Ye,u,d,at,a,M))});var je=_e?Z?io:no:Z?Cn:tn,nt=pe?t:je(a);return Bn(nt||a,function(Ye,at){nt&&(at=Ye,Ye=a[at]),Br(H,at,zn(Ye,u,d,at,a,M))}),H}function fm(a){var u=tn(a);return function(d){return cu(d,a,u)}}function cu(a,u,d){var b=d.length;if(a==null)return!b;for(a=Tt(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 du(a,u,d){if(typeof a!="function")throw new Hn(s);return Jr(function(){a.apply(t,d)},u)}function Hr(a,u,d,b){var P=-1,M=ps,H=!0,G=a.length,Z=[],_e=u.length;if(!G)return Z;d&&(u=Ot(u,Ln(d))),b?(M=Ca,H=!1):u.length>=l&&(M=Dr,H=!1,u=new Il(u));e:for(;++P<G;){var pe=a[P],ve=d==null?pe:d(pe);if(pe=b||pe!==0?pe:0,H&&ve===ve){for(var Re=_e;Re--;)if(u[Re]===ve)continue e;Z.push(pe)}else M(u,ve,b)||Z.push(pe)}return Z}var xi=Bu(oi),hu=Bu(Ba,!0);function cm(a,u){var d=!0;return xi(a,function(b,P,M){return d=!!u(b,P,M),d}),d}function Vs(a,u,d){for(var b=-1,P=a.length;++b<P;){var M=a[b],H=u(M);if(H!=null&&(G===t?H===H&&!En(H):d(H,G)))var G=H,Z=M}return Z}function dm(a,u,d,b){var P=a.length;for(d=tt(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:tt(b),b<0&&(b+=P),b=d>b?0:Ef(b);d<b;)a[d++]=u;return a}function gu(a,u){var d=[];return xi(a,function(b,P,M){u(b,P,M)&&d.push(b)}),d}function an(a,u,d,b,P){var M=-1,H=a.length;for(d||(d=e1),P||(P=[]);++M<H;){var G=a[M];u>0&&d(G)?u>1?an(G,u-1,d,b,P):Zi(P,G):b||(P[P.length]=G)}return P}var Ua=Hu(),_u=Hu(!0);function oi(a,u){return a&&Ua(a,u,tn)}function Ba(a,u){return a&&_u(a,u,tn)}function Ms(a,u){return Qi(u,function(d){return Ei(a[d])})}function Ll(a,u){u=tl(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[fi(u[d++])];return d&&d==b?a:t}function pu(a,u,d){var b=u(a);return xe(a)?b:Zi(b,d(a))}function hn(a){return a==null?a===t?mn:On:Pl&&Pl in Tt(a)?Ym(a):a1(a)}function Ha(a,u){return a>u}function hm(a,u){return a!=null&&Ct.call(a,u)}function gm(a,u){return a!=null&&u in Tt(a)}function _m(a,u,d){return a>=fn(u,d)&&a<Xt(u,d)}function Wa(a,u,d){for(var b=d?Ca:ps,P=a[0].length,M=a.length,H=M,G=ae(M),Z=1/0,_e=[];H--;){var pe=a[H];H&&u&&(pe=Ot(pe,Ln(u))),Z=fn(pe.length,Z),G[H]=!d&&(u||P>=120&&pe.length>=120)?new Il(H&&pe):t}pe=a[0];var ve=-1,Re=G[0];e:for(;++ve<P&&_e.length<Z;){var We=pe[ve],je=u?u(We):We;if(We=d||We!==0?We:0,!(Re?Dr(Re,je):b(_e,je,d))){for(H=M;--H;){var nt=G[H];if(!(nt?Dr(nt,je):b(a[H],je,d)))continue e}Re&&Re.push(je),_e.push(We)}}return _e}function pm(a,u,d,b){return oi(a,function(P,M,H){u(b,d(P),M,H)}),b}function Wr(a,u,d){u=tl(u,a),a=lf(a,u);var b=a==null?a:a[fi(qn(u))];return b==null?t:Tn(b,a,d)}function mu(a){return Wt(a)&&hn(a)==X}function mm(a){return Wt(a)&&hn(a)==Gt}function bm(a){return Wt(a)&&hn(a)==Me}function zr(a,u,d,b,P){return a===u?!0:a==null||u==null||!Wt(a)&&!Wt(u)?a!==a&&u!==u:vm(a,u,d,b,zr,P)}function vm(a,u,d,b,P,M){var H=xe(a),G=xe(u),Z=H?ge:cn(a),_e=G?ge:cn(u);Z=Z==X?zt:Z,_e=_e==X?zt:_e;var pe=Z==zt,ve=_e==zt,Re=Z==_e;if(Re&&il(a)){if(!il(u))return!1;H=!0,pe=!1}if(Re&&!pe)return M||(M=new $n),H||lr(a)?Zu(a,u,d,b,P,M):Jm(a,u,Z,d,b,P,M);if(!(d&v)){var We=pe&&Ct.call(a,"__wrapped__"),je=ve&&Ct.call(u,"__wrapped__");if(We||je){var nt=We?a.value():a,Ye=je?u.value():u;return M||(M=new $n),P(nt,Ye,d,b,M)}}return Re?(M||(M=new $n),jm(a,u,d,b,P,M)):!1}function wm(a){return Wt(a)&&cn(a)==vt}function za(a,u,d,b){var P=d.length,M=P,H=!b;if(a==null)return!M;for(a=Tt(a);P--;){var G=d[P];if(H&&G[2]?G[1]!==a[G[0]]:!(G[0]in a))return!1}for(;++P<M;){G=d[P];var Z=G[0],_e=a[Z],pe=G[1];if(H&&G[2]){if(_e===t&&!(Z in a))return!1}else{var ve=new $n;if(b)var Re=b(_e,pe,Z,a,u,ve);if(!(Re===t?zr(pe,_e,v|S,b,ve):Re))return!1}}return!0}function bu(a){if(!Ut(a)||n1(a))return!1;var u=Ei(a)?wp:Gi;return u.test(El(a))}function Sm(a){return Wt(a)&&hn(a)==xt}function km(a){return Wt(a)&&cn(a)==Yt}function Cm(a){return Wt(a)&&$s(a.length)&&!!kt[hn(a)]}function vu(a){return typeof a=="function"?a:a==null?yn:typeof a=="object"?xe(a)?ku(a[0],a[1]):Su(a):zf(a)}function Ga(a){if(!Kr(a))return Np(a);var u=[];for(var d in Tt(a))Ct.call(a,d)&&d!="constructor"&&u.push(d);return u}function ym(a){if(!Ut(a))return s1(a);var u=Kr(a),d=[];for(var b in a)b=="constructor"&&(u||!Ct.call(a,b))||d.push(b);return d}function qa(a,u){return a<u}function wu(a,u){var d=-1,b=kn(a)?ae(a.length):[];return xi(a,function(P,M,H){b[++d]=u(P,M,H)}),b}function Su(a){var u=ro(a);return u.length==1&&u[0][2]?tf(u[0][0],u[0][1]):function(d){return d===a||za(d,a,u)}}function ku(a,u){return ao(a)&&ef(u)?tf(fi(a),u):function(d){var b=bo(d,a);return b===t&&b===u?vo(d,a):zr(u,b,v|S)}}function Os(a,u,d,b,P){a!==u&&Ua(u,function(M,H){if(P||(P=new $n),Ut(M))Pm(a,u,H,d,Os,b,P);else{var G=b?b(uo(a,H),M,H+"",a,u,P):t;G===t&&(G=M),Oa(a,H,G)}},Cn)}function Pm(a,u,d,b,P,M,H){var G=uo(a,d),Z=uo(u,d),_e=H.get(Z);if(_e){Oa(a,d,_e);return}var pe=M?M(G,Z,d+"",a,u,H):t,ve=pe===t;if(ve){var Re=xe(Z),We=!Re&&il(Z),je=!Re&&!We&&lr(Z);pe=Z,Re||We||je?xe(G)?pe=G:Kt(G)?pe=Sn(G):We?(ve=!1,pe=Vu(Z,!0)):je?(ve=!1,pe=Mu(Z,!0)):pe=[]:jr(Z)||Rl(Z)?(pe=G,Rl(G)?pe=Rf(G):(!Ut(G)||Ei(G))&&(pe=xu(Z))):ve=!1}ve&&(H.set(Z,pe),P(pe,Z,b,M,H),H.delete(Z)),Oa(a,d,pe)}function Cu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ai(u,d)?a[u]:t}function yu(a,u,d){u.length?u=Ot(u,function(M){return xe(M)?function(H){return Ll(H,M.length===1?M[0]:M)}:M}):u=[yn];var b=-1;u=Ot(u,Ln(Ke()));var P=wu(a,function(M,H,G){var Z=Ot(u,function(_e){return _e(M)});return{criteria:Z,index:++b,value:M}});return $_(P,function(M,H){return Um(M,H,d)})}function Nm(a,u){return Pu(a,u,function(d,b){return vo(a,b)})}function Pu(a,u,d){for(var b=-1,P=u.length,M={};++b<P;){var H=u[b],G=Ll(a,H);d(G,H)&&Gr(M,tl(H,a),G)}return M}function Im(a){return function(u){return Ll(u,a)}}function Ka(a,u,d,b){var P=b?X_:jl,M=-1,H=u.length,G=a;for(a===u&&(u=Sn(u)),d&&(G=Ot(a,Ln(d)));++M<H;)for(var Z=0,_e=u[M],pe=d?d(_e):_e;(Z=P(G,pe,Z,b))>-1;)G!==a&&Ns.call(G,Z,1),Ns.call(a,Z,1);return a}function Nu(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)?Ns.call(a,P,1):Qa(a,P)}}return a}function Ja(a,u){return a+Ls(su()*(u-a+1))}function Tm(a,u,d,b){for(var P=-1,M=Xt(Ts((u-a)/(d||1)),0),H=ae(M);M--;)H[b?M:++P]=a,a+=d;return H}function ja(a,u){var d="";if(!a||u<1||u>ne)return d;do u%2&&(d+=a),u=Ls(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return fo(nf(a,u,yn),a+"")}function Lm(a){return uu(rr(a))}function Am(a,u){var d=rr(a);return Js(d,Tl(u,0,d.length))}function Gr(a,u,d,b){if(!Ut(a))return a;u=tl(u,a);for(var P=-1,M=u.length,H=M-1,G=a;G!=null&&++P<M;){var Z=fi(u[P]),_e=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(P!=H){var pe=G[Z];_e=b?b(pe,Z,G):t,_e===t&&(_e=Ut(pe)?pe:Ai(u[P+1])?[]:{})}Br(G,Z,_e),G=G[Z]}return a}var Iu=As?function(a,u){return As.set(a,u),a}:yn,Em=Is?function(a,u){return Is(a,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:yn;function Rm(a){return Js(rr(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=ae(P);++b<P;)M[b]=a[b+u];return M}function Dm(a,u){var d;return xi(a,function(b,P,M){return d=u(b,P,M),!d}),!!d}function Fs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Pe){for(;b<P;){var M=b+P>>>1,H=a[M];H!==null&&!En(H)&&(d?H<=u:H<u)?b=M+1:P=M}return P}return Ya(a,u,yn,d)}function Ya(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,G=u===null,Z=En(u),_e=u===t;P<M;){var pe=Ls((P+M)/2),ve=d(a[pe]),Re=ve!==t,We=ve===null,je=ve===ve,nt=En(ve);if(H)var Ye=b||je;else _e?Ye=je&&(b||Re):G?Ye=je&&Re&&(b||!We):Z?Ye=je&&Re&&!We&&(b||!nt):We||nt?Ye=!1:Ye=b?ve<=u:ve<u;Ye?P=pe+1:M=pe}return fn(M,He)}function Tu(a,u){for(var d=-1,b=a.length,P=0,M=[];++d<b;){var H=a[d],G=u?u(H):H;if(!d||!xn(G,Z)){var Z=G;M[P++]=H===0?0:H}}return M}function Lu(a){return typeof a=="number"?a:En(a)?ye:+a}function An(a){if(typeof a=="string")return a;if(xe(a))return Ot(a,An)+"";if(En(a))return au?au.call(a):"";var u=a+"";return u=="0"&&1/a==-he?"-0":u}function el(a,u,d){var b=-1,P=ps,M=a.length,H=!0,G=[],Z=G;if(d)H=!1,P=Ca;else if(M>=l){var _e=u?null:qm(a);if(_e)return bs(_e);H=!1,P=Dr,Z=new Il}else Z=u?[]:G;e:for(;++b<M;){var pe=a[b],ve=u?u(pe):pe;if(pe=d||pe!==0?pe:0,H&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),G.push(pe)}else P(Z,ve,d)||(Z!==G&&Z.push(ve),G.push(pe))}return G}function Qa(a,u){return u=tl(u,a),a=lf(a,u),a==null||delete a[fi(qn(u))]}function Au(a,u,d,b){return Gr(a,u,d(Ll(a,u)),b)}function Us(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 Eu(a,u){var d=a;return d instanceof ot&&(d=d.value()),ya(u,function(b,P){return P.func.apply(P.thisArg,Zi([b],P.args))},d)}function Za(a,u,d){var b=a.length;if(b<2)return b?el(a[0]):[];for(var P=-1,M=ae(b);++P<b;)for(var H=a[P],G=-1;++G<b;)G!=P&&(M[P]=Hr(M[P]||H,a[G],u,d));return el(an(M,1),u,d)}function Ru(a,u,d){for(var b=-1,P=a.length,M=u.length,H={};++b<P;){var G=b<M?u[b]:t;d(H,a[b],G)}return H}function Xa(a){return Kt(a)?a:[]}function $a(a){return typeof a=="function"?a:yn}function tl(a,u){return xe(a)?a:ao(a,u)?[a]:of(bt(a))}var Vm=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 Du=Sp||function(a){return en.clearTimeout(a)};function Vu(a,u){if(u)return a.slice();var d=a.length,b=tu?tu(d):new a.constructor(d);return a.copy(b),b}function xa(a){var u=new a.constructor(a.byteLength);return new ys(u).set(new ys(a)),u}function Mm(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Om(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function Fm(a){return Ur?Tt(Ur.call(a)):{}}function Mu(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Ou(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,M=En(a),H=u!==t,G=u===null,Z=u===u,_e=En(u);if(!G&&!_e&&!M&&a>u||M&&H&&Z&&!G&&!_e||b&&H&&Z||!d&&Z||!P)return 1;if(!b&&!M&&!_e&&a<u||_e&&d&&P&&!b&&!M||G&&d&&P||!H&&P||!Z)return-1}return 0}function Um(a,u,d){for(var b=-1,P=a.criteria,M=u.criteria,H=P.length,G=d.length;++b<H;){var Z=Ou(P[b],M[b]);if(Z){if(b>=G)return Z;var _e=d[b];return Z*(_e=="desc"?-1:1)}}return a.index-u.index}function Fu(a,u,d,b){for(var P=-1,M=a.length,H=d.length,G=-1,Z=u.length,_e=Xt(M-H,0),pe=ae(Z+_e),ve=!b;++G<Z;)pe[G]=u[G];for(;++P<H;)(ve||P<M)&&(pe[d[P]]=a[P]);for(;_e--;)pe[G++]=a[P++];return pe}function Uu(a,u,d,b){for(var P=-1,M=a.length,H=-1,G=d.length,Z=-1,_e=u.length,pe=Xt(M-G,0),ve=ae(pe+_e),Re=!b;++P<pe;)ve[P]=a[P];for(var We=P;++Z<_e;)ve[We+Z]=u[Z];for(;++H<G;)(Re||P<M)&&(ve[We+d[H]]=a[P++]);return ve}function Sn(a,u){var d=-1,b=a.length;for(u||(u=ae(b));++d<b;)u[d]=a[d];return u}function ui(a,u,d,b){var P=!d;d||(d={});for(var M=-1,H=u.length;++M<H;){var G=u[M],Z=b?b(d[G],a[G],G,d,a):t;Z===t&&(Z=a[G]),P?Ii(d,G,Z):Br(d,G,Z)}return d}function Bm(a,u){return ui(a,so(a),u)}function Hm(a,u){return ui(a,Xu(a),u)}function Bs(a,u){return function(d,b){var P=xe(d)?K_:om,M=u?u():{};return P(d,a,Ke(b,2),M)}}function tr(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&&gn(d[0],d[1],H)&&(M=P<3?t:M,P=1),u=Tt(u);++b<P;){var G=d[b];G&&a(u,G,b,M)}return u})}function Bu(a,u){return function(d,b){if(d==null)return d;if(!kn(d))return a(d,b);for(var P=d.length,M=u?P:-1,H=Tt(d);(u?M--:++M<P)&&b(H[M],M,H)!==!1;);return d}}function Hu(a){return function(u,d,b){for(var P=-1,M=Tt(u),H=b(u),G=H.length;G--;){var Z=H[a?G:++P];if(d(M[Z],Z,M)===!1)break}return u}}function Wm(a,u,d){var b=u&y,P=qr(a);function M(){var H=this&&this!==en&&this instanceof M?P:a;return H.apply(b?d:this,arguments)}return M}function Wu(a){return function(u){u=bt(u);var d=Yl(u)?Xn(u):t,b=d?d[0]:u.charAt(0),P=d?nl(d,1).join(""):u.slice(1);return b[a]()+P}}function nr(a){return function(u){return ya(Hf(Bf(u).replace(we,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=er(a.prototype),b=a.apply(d,u);return Ut(b)?b:d}}function zm(a,u,d){var b=qr(a);function P(){for(var M=arguments.length,H=ae(M),G=M,Z=ir(P);G--;)H[G]=arguments[G];var _e=M<3&&H[0]!==Z&&H[M-1]!==Z?[]:Xi(H,Z);if(M-=_e.length,M<d)return Ju(a,u,Hs,P.placeholder,t,H,_e,t,t,d-M);var pe=this&&this!==en&&this instanceof P?b:a;return Tn(pe,this,H)}return P}function zu(a){return function(u,d,b){var P=Tt(u);if(!kn(u)){var M=Ke(d,3);u=tn(u),d=function(G){return M(P[G],G,P)}}var H=a(u,d,b);return H>-1?P[M?u[H]:H]:t}}function Gu(a){return Li(function(u){var d=u.length,b=d,P=Wn.prototype.thru;for(a&&u.reverse();b--;){var M=u[b];if(typeof M!="function")throw new Hn(s);if(P&&!H&&qs(M)=="wrapper")var H=new Wn([],!0)}for(b=H?b:d;++b<d;){M=u[b];var G=qs(M),Z=G=="wrapper"?lo(M):t;Z&&oo(Z[0])&&Z[1]==(V|I|T|O)&&!Z[4].length&&Z[9]==1?H=H[qs(Z[0])].apply(H,Z[3]):H=M.length==1&&oo(M)?H[G]():H.thru(M)}return function(){var _e=arguments,pe=_e[0];if(H&&_e.length==1&&xe(pe))return H.plant(pe).value();for(var ve=0,Re=d?u[ve].apply(this,_e):pe;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Hs(a,u,d,b,P,M,H,G,Z,_e){var pe=u&V,ve=u&y,Re=u&C,We=u&(I|D),je=u&U,nt=Re?t:qr(a);function Ye(){for(var at=arguments.length,ut=ae(at),Rn=at;Rn--;)ut[Rn]=arguments[Rn];if(We)var _n=ir(Ye),Dn=ep(ut,_n);if(b&&(ut=Fu(ut,b,P,We)),M&&(ut=Uu(ut,M,H,We)),at-=Dn,We&&at<_e){var Jt=Xi(ut,_n);return Ju(a,u,Hs,Ye.placeholder,d,ut,Jt,G,Z,_e-at)}var ei=ve?d:this,Di=Re?ei[a]:a;return at=ut.length,G?ut=o1(ut,G):je&&at>1&&ut.reverse(),pe&&Z<at&&(ut.length=Z),this&&this!==en&&this instanceof Ye&&(Di=nt||qr(Di)),Di.apply(ei,ut)}return Ye}function qu(a,u){return function(d,b){return pm(d,a,u(b),{})}}function Ws(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=An(d),b=An(b)):(d=Lu(d),b=Lu(b)),P=a(d,b)}return P}}function eo(a){return Li(function(u){return u=Ot(u,Ln(Ke())),lt(function(d){var b=this;return a(u,function(P){return Tn(P,b,d)})})})}function zs(a,u){u=u===t?" ":An(u);var d=u.length;if(d<2)return d?ja(u,a):u;var b=ja(u,Ts(a/Ql(u)));return Yl(u)?nl(Xn(b),0,a).join(""):b.slice(0,a)}function Gm(a,u,d,b){var P=u&y,M=qr(a);function H(){for(var G=-1,Z=arguments.length,_e=-1,pe=b.length,ve=ae(pe+Z),Re=this&&this!==en&&this instanceof H?M:a;++_e<pe;)ve[_e]=b[_e];for(;Z--;)ve[_e++]=arguments[++G];return Tn(Re,P?d:this,ve)}return H}function Ku(a){return function(u,d,b){return b&&typeof b!="number"&&gn(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),Tm(u,d,b,a)}}function Gs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Kn(u),d=Kn(d)),a(u,d)}}function Ju(a,u,d,b,P,M,H,G,Z,_e){var pe=u&I,ve=pe?H:t,Re=pe?t:H,We=pe?M:t,je=pe?t:M;u|=pe?T:L,u&=~(pe?L:T),u&N||(u&=~(y|C));var nt=[a,u,P,We,ve,je,Re,G,Z,_e],Ye=d.apply(t,nt);return oo(a)&&rf(Ye,nt),Ye.placeholder=b,sf(Ye,a,u)}function to(a){var u=Zt[a];return function(d,b){if(d=Kn(d),b=b==null?0:fn(tt(b),292),b&&ru(d)){var P=(bt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+b));return P=(bt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var qm=$l&&1/bs(new $l([,-0]))[1]==he?function(a){return new $l(a)}:yo;function ju(a){return function(u){var d=cn(u);return d==vt?Ea(u):d==Yt?ap(u):x_(u,a(u))}}function Ti(a,u,d,b,P,M,H,G){var Z=u&C;if(!Z&&typeof a!="function")throw new Hn(s);var _e=b?b.length:0;if(_e||(u&=~(T|L),b=P=t),H=H===t?H:Xt(tt(H),0),G=G===t?G:tt(G),_e-=P?P.length:0,u&L){var pe=b,ve=P;b=P=t}var Re=Z?t:lo(a),We=[a,u,d,b,P,pe,ve,M,H,G];if(Re&&r1(We,Re),a=We[0],u=We[1],d=We[2],b=We[3],P=We[4],G=We[9]=We[9]===t?Z?0:a.length:Xt(We[9]-_e,0),!G&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var je=Wm(a,u,d);else u==I||u==D?je=zm(a,u,G):(u==T||u==(y|T))&&!P.length?je=Gm(a,u,d,b):je=Hs.apply(t,We);var nt=Re?Iu:rf;return sf(nt(je,We),a,u)}function Yu(a,u,d,b){return a===t||xn(a,Xl[d])&&!Ct.call(b,d)?u:a}function Qu(a,u,d,b,P,M){return Ut(a)&&Ut(u)&&(M.set(u,a),Os(a,u,t,Qu,M),M.delete(u)),a}function Km(a){return jr(a)?t:a}function Zu(a,u,d,b,P,M){var H=d&v,G=a.length,Z=u.length;if(G!=Z&&!(H&&Z>G))return!1;var _e=M.get(a),pe=M.get(u);if(_e&&pe)return _e==u&&pe==a;var ve=-1,Re=!0,We=d&S?new Il:t;for(M.set(a,u),M.set(u,a);++ve<G;){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;Re=!1;break}if(We){if(!Pa(u,function(at,ut){if(!Dr(We,ut)&&(je===at||P(je,at,d,b,M)))return We.push(ut)})){Re=!1;break}}else if(!(je===nt||P(je,nt,d,b,M))){Re=!1;break}}return M.delete(a),M.delete(u),Re}function Jm(a,u,d,b,P,M,H){switch(d){case ln: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 ys(a),new ys(u)));case De:case Me:case un:return xn(+a,+u);case Ze:return a.name==u.name&&a.message==u.message;case xt:case Qn:return a==u+"";case vt:var G=Ea;case Yt:var Z=b&v;if(G||(G=bs),a.size!=u.size&&!Z)return!1;var _e=H.get(a);if(_e)return _e==u;b|=S,H.set(a,u);var pe=Zu(G(a),G(u),b,P,M,H);return H.delete(a),pe;case Et:if(Ur)return Ur.call(a)==Ur.call(u)}return!1}function jm(a,u,d,b,P,M){var H=d&v,G=no(a),Z=G.length,_e=no(u),pe=_e.length;if(Z!=pe&&!H)return!1;for(var ve=Z;ve--;){var Re=G[ve];if(!(H?Re in u:Ct.call(u,Re)))return!1}var We=M.get(a),je=M.get(u);if(We&&je)return We==u&&je==a;var nt=!0;M.set(a,u),M.set(u,a);for(var Ye=H;++ve<Z;){Re=G[ve];var at=a[Re],ut=u[Re];if(b)var Rn=H?b(ut,at,Re,u,a,M):b(at,ut,Re,a,u,M);if(!(Rn===t?at===ut||P(at,ut,d,b,M):Rn)){nt=!1;break}Ye||(Ye=Re=="constructor")}if(nt&&!Ye){var _n=a.constructor,Dn=u.constructor;_n!=Dn&&"constructor"in a&&"constructor"in u&&!(typeof _n=="function"&&_n instanceof _n&&typeof Dn=="function"&&Dn instanceof Dn)&&(nt=!1)}return M.delete(a),M.delete(u),nt}function Li(a){return fo(nf(a,t,df),a+"")}function no(a){return pu(a,tn,so)}function io(a){return pu(a,Cn,Xu)}var lo=As?function(a){return As.get(a)}:yo;function qs(a){for(var u=a.name+"",d=xl[u],b=Ct.call(xl,u)?d.length:0;b--;){var P=d[b],M=P.func;if(M==null||M==a)return P.name}return u}function ir(a){var u=Ct.call(R,"placeholder")?R:a;return u.placeholder}function Ke(){var a=R.iteratee||ko;return a=a===ko?vu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ks(a,u){var d=a.__data__;return t1(u)?d[typeof u=="string"?"string":"hash"]:d.map}function ro(a){for(var u=tn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,ef(P)]}return u}function Al(a,u){var d=lp(a,u);return bu(d)?d:t}function Ym(a){var u=Ct.call(a,Pl),d=a[Pl];try{a[Pl]=t;var b=!0}catch{}var P=ks.call(a);return b&&(u?a[Pl]=d:delete a[Pl]),P}var so=Da?function(a){return a==null?[]:(a=Tt(a),Qi(Da(a),function(u){return iu.call(a,u)}))}:Po,Xu=Da?function(a){for(var u=[];a;)Zi(u,so(a)),a=Ps(a);return u}:Po,cn=hn;(Va&&cn(new Va(new ArrayBuffer(1)))!=ln||Mr&&cn(new Mr)!=vt||Ma&&cn(Ma.resolve())!=mi||$l&&cn(new $l)!=Yt||Or&&cn(new Or)!=Qt)&&(cn=function(a){var u=hn(a),d=u==zt?a.constructor:t,b=d?El(d):"";if(b)switch(b){case Ap:return ln;case Ep:return vt;case Rp:return mi;case Dp:return Yt;case Vp:return Qt}return u});function Qm(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=fn(u,a+H);break;case"takeRight":a=Xt(a,u-H);break}}return{start:a,end:u}}function Zm(a){var u=a.match(Ul);return u?u[1].split(Bl):[]}function $u(a,u,d){u=tl(u,a);for(var b=-1,P=u.length,M=!1;++b<P;){var H=fi(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&&$s(P)&&Ai(H,P)&&(xe(a)||Rl(a)))}function Xm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Ct.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function xu(a){return typeof a.constructor=="function"&&!Kr(a)?er(Ps(a)):{}}function $m(a,u,d){var b=a.constructor;switch(u){case Gt:return xa(a);case De:case Me:return new b(+a);case ln:return Mm(a,d);case bi:case li:case rn:case vi:case wi:case ee:case Ee:case st:case yt:return Mu(a,d);case vt:return new b;case un:case Qn:return new b(a);case xt:return Om(a);case Yt:return new b;case Et:return Fm(a)}}function xm(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(Wi,`{
37
37
  /* [wrapped with `+u+`] */
38
- `)}function e1(a){return xe(a)||Rl(a)||!!(lu&&a&&a[lu])}function Ai(a,u){var d=typeof a;return u=u==null?ne:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function gn(a,u,d){if(!Ut(d))return!1;var b=typeof u;return(b=="number"?kn(d)&&Ai(u,d.length):b=="string"&&u in d)?xn(d[u],a):!1}function ao(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||En(a)?!0:kr.test(a)||!Sr.test(a)||u!=null&&a in Tt(u)}function t1(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function oo(a){var u=qs(a),d=R[u];if(typeof d!="function"||!(u in ot.prototype))return!1;if(a===d)return!0;var b=lo(d);return!!b&&a===b[0]}function n1(a){return!!eu&&eu in a}var i1=ws?Ei:No;function Kr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Xl;return a===d}function ef(a){return a===a&&!Ut(a)}function tf(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Tt(d))}}function l1(a){var u=Zs(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function r1(a,u){var d=a[1],b=u[1],P=d|b,M=P<(y|C|V),H=b==V&&d==I||b==V&&d==O&&a[7].length<=u[8]||b==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||H))return a;b&y&&(a[2]=u[2],P|=d&y?0:N);var G=u[3];if(G){var Z=a[3];a[3]=Z?Fu(Z,G,u[4]):G,a[4]=Z?Xi(a[3],h):u[4]}return G=u[5],G&&(Z=a[5],a[5]=Z?Uu(Z,G,u[6]):G,a[6]=Z?Xi(a[5],h):u[6]),G=u[7],G&&(a[7]=G),b&V&&(a[8]=a[8]==null?u[8]:fn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function s1(a){var u=[];if(a!=null)for(var d in Tt(a))u.push(d);return u}function a1(a){return ks.call(a)}function nf(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=ae(M);++P<M;)H[P]=b[u+P];P=-1;for(var G=ae(u+1);++P<u;)G[P]=b[P];return G[u]=d(H),Tn(a,this,G)}}function lf(a,u){return u.length<2?a:Ll(a,Gn(u,0,-1))}function o1(a,u){for(var d=a.length,b=fn(u.length,d),P=Sn(a);b--;){var M=u[b];a[b]=Ai(M,d)?P[M]:t}return a}function uo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var rf=af(Iu),Jr=Cp||function(a,u){return en.setTimeout(a,u)},fo=af(Em);function sf(a,u,d){var b=u+"";return fo(a,xm(b,u1(Zm(b),d)))}function af(a){var u=0,d=0;return function(){var b=Ip(),P=$-(b-d);if(d=b,P>0){if(++u>=fe)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Js(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var M=Ja(d,P),H=a[M];a[M]=a[d],a[d]=H}return a.length=u,a}var of=l1(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(Cr,function(d,b,P,M){u.push(P?M.replace(vn,"$1"):b||d)}),u});function fi(a){if(typeof a=="string"||En(a))return a;var u=a+"";return u=="0"&&1/a==-he?"-0":u}function El(a){if(a!=null){try{return Ss.call(a)}catch{}try{return a+""}catch{}}return""}function u1(a,u){return Bn(ce,function(d){var b="_."+d[0];u&d[1]&&!ps(a,b)&&a.push(b)}),a.sort()}function uf(a){if(a instanceof ot)return a.clone();var u=new Wn(a.__wrapped__,a.__chain__);return u.__actions__=Sn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function f1(a,u,d){(d?gn(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=ae(Ts(b/u));P<b;)H[M++]=Gn(a,P,P+=u);return H}function c1(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 d1(){var a=arguments.length;if(!a)return[];for(var u=ae(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Zi(xe(d)?Sn(d):[d],an(u,1))}var h1=lt(function(a,u){return Kt(a)?Hr(a,an(u,1,Kt,!0)):[]}),g1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,an(u,1,Kt,!0),Ke(d,2)):[]}),_1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,an(u,1,Kt,!0),t,d):[]});function p1(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 m1(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 b1(a,u){return a&&a.length?Us(a,Ke(u,3),!0,!0):[]}function v1(a,u){return a&&a.length?Us(a,Ke(u,3),!0):[]}function w1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&gn(a,u,d)&&(d=0,b=P),dm(a,u,d,b)):[]}function ff(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)),ms(a,Ke(u,3),P)}function cf(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):fn(P,b-1)),ms(a,Ke(u,3),P,!0)}function df(a){var u=a==null?0:a.length;return u?an(a,1):[]}function S1(a){var u=a==null?0:a.length;return u?an(a,he):[]}function k1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:et(u),an(a,u)):[]}function C1(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 hf(a){return a&&a.length?a[0]:t}function y1(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)),jl(a,u,P)}function P1(a){var u=a==null?0:a.length;return u?Gn(a,0,-1):[]}var N1=lt(function(a){var u=Ot(a,Xa);return u.length&&u[0]===a[0]?Wa(u):[]}),I1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u===qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Wa(d,Ke(u,2)):[]}),T1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Wa(d,t,u):[]});function L1(a,u){return a==null?"":Pp.call(a,u)}function qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function A1(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):fn(P,b-1)),u===u?up(a,u,P):ms(a,Jo,P,!0)}function E1(a,u){return a&&a.length?Cu(a,et(u)):t}var R1=lt(gf);function gf(a,u){return a&&a.length&&u&&u.length?Ka(a,u):a}function D1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,Ke(d,2)):a}function V1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,t,d):a}var M1=Li(function(a,u){var d=a==null?0:a.length,b=Fa(a,u);return Nu(a,Ot(u,function(P){return Ai(P,d)?+P:P}).sort(Ou)),b});function O1(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 Nu(a,P),d}function co(a){return a==null?a:Lp.call(a)}function F1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&gn(a,u,d)?(u=0,d=b):(u=u==null?0:et(u),d=d===t?b:et(d)),Gn(a,u,d)):[]}function U1(a,u){return Fs(a,u)}function B1(a,u,d){return Ya(a,u,Ke(d,2))}function H1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u);if(b<d&&xn(a[b],u))return b}return-1}function W1(a,u){return Fs(a,u,!0)}function z1(a,u,d){return Ya(a,u,Ke(d,2),!0)}function G1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u,!0)-1;if(xn(a[b],u))return b}return-1}function q1(a){return a&&a.length?Tu(a):[]}function K1(a,u){return a&&a.length?Tu(a,Ke(u,2)):[]}function J1(a){var u=a==null?0:a.length;return u?Gn(a,1,u):[]}function j1(a,u,d){return a&&a.length?(u=d||u===t?1:et(u),Gn(a,0,u<0?0:u)):[]}function Y1(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 Q1(a,u){return a&&a.length?Us(a,Ke(u,3),!1,!0):[]}function Z1(a,u){return a&&a.length?Us(a,Ke(u,3)):[]}var X1=lt(function(a){return el(an(a,1,Kt,!0))}),$1=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),el(an(a,1,Kt,!0),Ke(u,2))}),x1=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,el(an(a,1,Kt,!0),t,u)});function eb(a){return a&&a.length?el(a):[]}function tb(a,u){return a&&a.length?el(a,Ke(u,2)):[]}function nb(a,u){return u=typeof u=="function"?u:t,a&&a.length?el(a,t,u):[]}function ho(a){if(!(a&&a.length))return[];var u=0;return a=Qi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),La(u,function(d){return Ot(a,Na(d))})}function _f(a,u){if(!(a&&a.length))return[];var d=ho(a);return u==null?d:Ot(d,function(b){return Tn(u,t,b)})}var ib=lt(function(a,u){return Kt(a)?Hr(a,u):[]}),lb=lt(function(a){return Za(Qi(a,Kt))}),rb=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),Za(Qi(a,Kt),Ke(u,2))}),sb=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,Za(Qi(a,Kt),t,u)}),ab=lt(ho);function ob(a,u){return Ru(a||[],u||[],Br)}function ub(a,u){return Ru(a||[],u||[],Gr)}var fb=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,_f(a,d)});function pf(a){var u=R(a);return u.__chain__=!0,u}function cb(a,u){return u(a),a}function js(a,u){return u(a)}var db=Li(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(M){return Fa(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:js,args:[P],thisArg:t}),new Wn(b,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function hb(){return pf(this)}function gb(){return new Wn(this.value(),this.__chain__)}function _b(){this.__values__===t&&(this.__values__=Af(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function pb(){return this}function mb(a){for(var u,d=this;d instanceof Rs;){var b=uf(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 bb(){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:js,args:[co],thisArg:t}),new Wn(u,this.__chain__)}return this.thru(co)}function vb(){return Eu(this.__wrapped__,this.__actions__)}var wb=Bs(function(a,u,d){Ct.call(a,d)?++a[d]:Ii(a,d,1)});function Sb(a,u,d){var b=xe(a)?qo:cm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}function kb(a,u){var d=xe(a)?Qi:gu;return d(a,Ke(u,3))}var Cb=zu(ff),yb=zu(cf);function Pb(a,u){return an(Ys(a,u),1)}function Nb(a,u){return an(Ys(a,u),he)}function Ib(a,u,d){return d=d===t?1:et(d),an(Ys(a,u),d)}function mf(a,u){var d=xe(a)?Bn:xi;return d(a,Ke(u,3))}function bf(a,u){var d=xe(a)?J_:hu;return d(a,Ke(u,3))}var Tb=Bs(function(a,u,d){Ct.call(a,d)?a[d].push(u):Ii(a,d,[u])});function Lb(a,u,d,b){a=kn(a)?a:rr(a),d=d&&!b?et(d):0;var P=a.length;return d<0&&(d=Xt(P+d,0)),xs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&jl(a,u,d)>-1}var Ab=lt(function(a,u,d){var b=-1,P=typeof u=="function",M=kn(a)?ae(a.length):[];return xi(a,function(H){M[++b]=P?Tn(u,H,d):Wr(H,u,d)}),M}),Eb=Bs(function(a,u,d){Ii(a,d,u)});function Ys(a,u){var d=xe(a)?Ot:wu;return d(a,Ke(u,3))}function Rb(a,u,d,b){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=b?t:d,xe(d)||(d=d==null?[]:[d]),yu(a,u,d))}var Db=Bs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function Vb(a,u,d){var b=xe(a)?ya:Yo,P=arguments.length<3;return b(a,Ke(u,4),d,P,xi)}function Mb(a,u,d){var b=xe(a)?j_:Yo,P=arguments.length<3;return b(a,Ke(u,4),d,P,hu)}function Ob(a,u){var d=xe(a)?Qi:gu;return d(a,Xs(Ke(u,3)))}function Fb(a){var u=xe(a)?uu:Lm;return u(a)}function Ub(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=et(u);var b=xe(a)?sm:Am;return b(a,u)}function Bb(a){var u=xe(a)?am:Rm;return u(a)}function Hb(a){if(a==null)return 0;if(kn(a))return xs(a)?Ql(a):a.length;var u=cn(a);return u==vt||u==Yt?a.size:Ga(a).length}function Wb(a,u,d){var b=xe(a)?Pa:Dm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}var zb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&gn(a,u[0],u[1])?u=[]:d>2&&gn(u[0],u[1],u[2])&&(u=[u[0]]),yu(a,an(u,1),[])}),Qs=kp||function(){return en.Date.now()};function Gb(a,u){if(typeof u!="function")throw new Hn(s);return a=et(a),function(){if(--a<1)return u.apply(this,arguments)}}function vf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ti(a,V,t,t,t,t,u)}function wf(a,u){var d;if(typeof u!="function")throw new Hn(s);return a=et(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var go=lt(function(a,u,d){var b=y;if(d.length){var P=Xi(d,ir(go));b|=T}return Ti(a,b,u,d,P)}),Sf=lt(function(a,u,d){var b=y|C;if(d.length){var P=Xi(d,ir(Sf));b|=T}return Ti(u,b,a,d,P)});function kf(a,u,d){u=d?t:u;var b=Ti(a,I,t,t,t,t,t,u);return b.placeholder=kf.placeholder,b}function Cf(a,u,d){u=d?t:u;var b=Ti(a,D,t,t,t,t,t,u);return b.placeholder=Cf.placeholder,b}function yf(a,u,d){var b,P,M,H,G,Z,_e=0,pe=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Hn(s);u=Kn(u)||0,Ut(d)&&(pe=!!d.leading,ve="maxWait"in d,M=ve?Xt(Kn(d.maxWait)||0,u):M,Re="trailing"in d?!!d.trailing:Re);function We(Jt){var ei=b,Di=P;return b=P=t,_e=Jt,H=a.apply(Di,ei),H}function je(Jt){return _e=Jt,G=Jr(at,u),pe?We(Jt):H}function nt(Jt){var ei=Jt-Z,Di=Jt-_e,Gf=u-ei;return ve?fn(Gf,M-Di):Gf}function Ye(Jt){var ei=Jt-Z,Di=Jt-_e;return Z===t||ei>=u||ei<0||ve&&Di>=M}function at(){var Jt=Qs();if(Ye(Jt))return ut(Jt);G=Jr(at,nt(Jt))}function ut(Jt){return G=t,Re&&b?We(Jt):(b=P=t,H)}function Rn(){G!==t&&Du(G),_e=0,b=Z=P=G=t}function _n(){return G===t?H:ut(Qs())}function Dn(){var Jt=Qs(),ei=Ye(Jt);if(b=arguments,P=this,Z=Jt,ei){if(G===t)return je(Z);if(ve)return Du(G),G=Jr(at,u),We(Z)}return G===t&&(G=Jr(at,u)),H}return Dn.cancel=Rn,Dn.flush=_n,Dn}var qb=lt(function(a,u){return du(a,1,u)}),Kb=lt(function(a,u,d){return du(a,Kn(u)||0,d)});function Jb(a){return Ti(a,U)}function Zs(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Hn(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(Zs.Cache||Ni),d}Zs.Cache=Ni;function Xs(a){if(typeof a!="function")throw new Hn(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 jb(a){return wf(2,a)}var Yb=Vm(function(a,u){u=u.length==1&&xe(u[0])?Ot(u[0],Ln(Ke())):Ot(an(u,1),Ln(Ke()));var d=u.length;return lt(function(b){for(var P=-1,M=fn(b.length,d);++P<M;)b[P]=u[P].call(this,b[P]);return Tn(a,this,b)})}),_o=lt(function(a,u){var d=Xi(u,ir(_o));return Ti(a,T,t,u,d)}),Pf=lt(function(a,u){var d=Xi(u,ir(Pf));return Ti(a,L,t,u,d)}),Qb=Li(function(a,u){return Ti(a,O,t,t,t,u)});function Zb(a,u){if(typeof a!="function")throw new Hn(s);return u=u===t?u:et(u),lt(a,u)}function Xb(a,u){if(typeof a!="function")throw new Hn(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),Tn(a,this,P)})}function $b(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Hn(s);return Ut(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),yf(a,u,{leading:b,maxWait:u,trailing:P})}function xb(a){return vf(a,1)}function ev(a,u){return _o($a(u),a)}function tv(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function nv(a){return zn(a,m)}function iv(a,u){return u=typeof u=="function"?u:t,zn(a,m,u)}function lv(a){return zn(a,_|m)}function rv(a,u){return u=typeof u=="function"?u:t,zn(a,_|m,u)}function sv(a,u){return u==null||cu(a,u,tn(u))}function xn(a,u){return a===u||a!==a&&u!==u}var av=Gs(Ha),ov=Gs(function(a,u){return a>=u}),Rl=mu(function(){return arguments}())?mu:function(a){return Wt(a)&&Ct.call(a,"callee")&&!iu.call(a,"callee")},xe=ae.isArray,uv=In?Ln(In):mm;function kn(a){return a!=null&&$s(a.length)&&!Ei(a)}function Kt(a){return Wt(a)&&kn(a)}function fv(a){return a===!0||a===!1||Wt(a)&&hn(a)==De}var il=yp||No,cv=_s?Ln(_s):bm;function dv(a){return Wt(a)&&a.nodeType===1&&!jr(a)}function hv(a){if(a==null)return!0;if(kn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||il(a)||lr(a)||Rl(a)))return!a.length;var u=cn(a);if(u==vt||u==Yt)return!a.size;if(Kr(a))return!Ga(a).length;for(var d in a)if(Ct.call(a,d))return!1;return!0}function gv(a,u){return zr(a,u)}function _v(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?zr(a,u,t,d):!!b}function po(a){if(!Wt(a))return!1;var u=hn(a);return u==Ze||u==me||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function pv(a){return typeof a=="number"&&ru(a)}function Ei(a){if(!Ut(a))return!1;var u=hn(a);return u==Dt||u==Ht||u==se||u==Ui}function Nf(a){return typeof a=="number"&&a==et(a)}function $s(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ne}function Ut(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Wt(a){return a!=null&&typeof a=="object"}var If=Ho?Ln(Ho):wm;function mv(a,u){return a===u||za(a,u,ro(u))}function bv(a,u,d){return d=typeof d=="function"?d:t,za(a,u,ro(u),d)}function vv(a){return Tf(a)&&a!=+a}function wv(a){if(i1(a))throw new Xe(r);return bu(a)}function Sv(a){return a===null}function kv(a){return a==null}function Tf(a){return typeof a=="number"||Wt(a)&&hn(a)==un}function jr(a){if(!Wt(a)||hn(a)!=zt)return!1;var u=Ps(a);if(u===null)return!0;var d=Ct.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&Ss.call(d)==bp}var mo=Wo?Ln(Wo):Sm;function Cv(a){return Nf(a)&&a>=-ne&&a<=ne}var Lf=zo?Ln(zo):km;function xs(a){return typeof a=="string"||!xe(a)&&Wt(a)&&hn(a)==Qn}function En(a){return typeof a=="symbol"||Wt(a)&&hn(a)==Et}var lr=Go?Ln(Go):Cm;function yv(a){return a===t}function Pv(a){return Wt(a)&&cn(a)==Qt}function Nv(a){return Wt(a)&&hn(a)==Bi}var Iv=Gs(qa),Tv=Gs(function(a,u){return a<=u});function Af(a){if(!a)return[];if(kn(a))return xs(a)?Xn(a):Sn(a);if(Vr&&a[Vr])return sp(a[Vr]());var u=cn(a),d=u==vt?Ea:u==Yt?bs:rr;return d(a)}function Ri(a){if(!a)return a===0?a:0;if(a=Kn(a),a===he||a===-he){var u=a<0?-1:1;return u*Y}return a===a?a:0}function et(a){var u=Ri(a),d=u%1;return u===u?d?u-d:u:0}function Ef(a){return a?Tl(et(a),0,ie):0}function Kn(a){if(typeof a=="number")return a;if(En(a))return ye;if(Ut(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ut(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Qo(a);var d=Pr.test(a);return d||gl.test(a)?kl(a.slice(2),d?2:8):Wl.test(a)?ye:+a}function Rf(a){return ui(a,Cn(a))}function Lv(a){return a?Tl(et(a),-ne,ne):a===0?a:0}function bt(a){return a==null?"":An(a)}var Av=tr(function(a,u){if(Kr(u)||kn(u)){ui(u,tn(u),a);return}for(var d in u)Ct.call(u,d)&&Br(a,d,u[d])}),Df=tr(function(a,u){ui(u,Cn(u),a)}),ea=tr(function(a,u,d,b){ui(u,Cn(u),a,b)}),Ev=tr(function(a,u,d,b){ui(u,tn(u),a,b)}),Rv=Li(Fa);function Dv(a,u){var d=er(a);return u==null?d:fu(d,u)}var Vv=lt(function(a,u){a=Tt(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&gn(u[0],u[1],P)&&(b=1);++d<b;)for(var M=u[d],H=Cn(M),G=-1,Z=H.length;++G<Z;){var _e=H[G],pe=a[_e];(pe===t||xn(pe,Xl[_e])&&!Ct.call(a,_e))&&(a[_e]=M[_e])}return a}),Mv=lt(function(a){return a.push(t,Qu),Tn(Vf,t,a)});function Ov(a,u){return Ko(a,Ke(u,3),oi)}function Fv(a,u){return Ko(a,Ke(u,3),Ba)}function Uv(a,u){return a==null?a:Ua(a,Ke(u,3),Cn)}function Bv(a,u){return a==null?a:_u(a,Ke(u,3),Cn)}function Hv(a,u){return a&&oi(a,Ke(u,3))}function Wv(a,u){return a&&Ba(a,Ke(u,3))}function zv(a){return a==null?[]:Ms(a,tn(a))}function Gv(a){return a==null?[]:Ms(a,Cn(a))}function bo(a,u,d){var b=a==null?t:Ll(a,u);return b===t?d:b}function qv(a,u){return a!=null&&$u(a,u,hm)}function vo(a,u){return a!=null&&$u(a,u,gm)}var Kv=qu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),a[u]=d},So(yn)),Jv=qu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),Ct.call(a,u)?a[u].push(d):a[u]=[d]},Ke),jv=lt(Wr);function tn(a){return kn(a)?ou(a):Ga(a)}function Cn(a){return kn(a)?ou(a,!0):ym(a)}function Yv(a,u){var d={};return u=Ke(u,3),oi(a,function(b,P,M){Ii(d,u(b,P,M),b)}),d}function Qv(a,u){var d={};return u=Ke(u,3),oi(a,function(b,P,M){Ii(d,P,u(b,P,M))}),d}var Zv=tr(function(a,u,d){Os(a,u,d)}),Vf=tr(function(a,u,d,b){Os(a,u,d,b)}),Xv=Li(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ot(u,function(M){return M=tl(M,a),b||(b=M.length>1),M}),ui(a,io(a),d),b&&(d=zn(d,_|p|m,Km));for(var P=u.length;P--;)Qa(d,u[P]);return d});function $v(a,u){return Mf(a,Xs(Ke(u)))}var xv=Li(function(a,u){return a==null?{}:Nm(a,u)});function Mf(a,u){if(a==null)return{};var d=Ot(io(a),function(b){return[b]});return u=Ke(u),Pu(a,d,function(b,P){return u(b,P[0])})}function e0(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[fi(u[b])];M===t&&(b=P,M=d),a=Ei(M)?M.call(a):M}return a}function t0(a,u,d){return a==null?a:Gr(a,u,d)}function n0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Gr(a,u,d,b)}var Of=ju(tn),Ff=ju(Cn);function i0(a,u,d){var b=xe(a),P=b||il(a)||lr(a);if(u=Ke(u,4),d==null){var M=a&&a.constructor;P?d=b?new M:[]:Ut(a)?d=Ei(M)?er(Ps(a)):{}:d={}}return(P?Bn:oi)(a,function(H,G,Z){return u(d,H,G,Z)}),d}function l0(a,u){return a==null?!0:Qa(a,u)}function r0(a,u,d){return a==null?a:Au(a,u,$a(d))}function s0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Au(a,u,$a(d),b)}function rr(a){return a==null?[]:Aa(a,tn(a))}function a0(a){return a==null?[]:Aa(a,Cn(a))}function o0(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Kn(d),d=d===d?d:0),u!==t&&(u=Kn(u),u=u===u?u:0),Tl(Kn(a),u,d)}function u0(a,u,d){return u=Ri(u),d===t?(d=u,u=0):d=Ri(d),a=Kn(a),_m(a,u,d)}function f0(a,u,d){if(d&&typeof d!="boolean"&&gn(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=su();return fn(a+P*(u-a+Yi("1e-"+((P+"").length-1))),u)}return Ja(a,u)}var c0=nr(function(a,u,d){return u=u.toLowerCase(),a+(d?Uf(u):u)});function Uf(a){return wo(bt(a).toLowerCase())}function Bf(a){return a=bt(a),a&&a.replace(pl,tp).replace(Oe,"")}function d0(a,u,d){a=bt(a),u=An(u);var b=a.length;d=d===t?b:Tl(et(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function h0(a){return a=bt(a),a&&br.test(a)?a.replace(Fn,np):a}function g0(a){return a=bt(a),a&&cl.test(a)?a.replace(fl,"\\$&"):a}var _0=nr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),p0=nr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),m0=Wu("toLowerCase");function b0(a,u,d){a=bt(a),u=et(u);var b=u?Ql(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return zs(Ls(P),d)+a+zs(Ts(P),d)}function v0(a,u,d){a=bt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?a+zs(u-b,d):a}function w0(a,u,d){a=bt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?zs(u-b,d)+a:a}function S0(a,u,d){return d||u==null?u=0:u&&(u=+u),Tp(bt(a).replace(ri,""),u||0)}function k0(a,u,d){return(d?gn(a,u,d):u===t)?u=1:u=et(u),ja(bt(a),u)}function C0(){var a=arguments,u=bt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var y0=nr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function P0(a,u,d){return d&&typeof d!="number"&&gn(a,u,d)&&(u=d=t),d=d===t?ie:d>>>0,d?(a=bt(a),a&&(typeof u=="string"||u!=null&&!mo(u))&&(u=An(u),!u&&Yl(a))?nl(Xn(a),0,d):a.split(u,d)):[]}var N0=nr(function(a,u,d){return a+(d?" ":"")+wo(u)});function I0(a,u,d){return a=bt(a),d=d==null?0:Tl(et(d),0,a.length),u=An(u),a.slice(d,d+u.length)==u}function T0(a,u,d){var b=R.templateSettings;d&&gn(a,u,d)&&(u=t),a=bt(a),u=ea({},u,b,Yu);var P=ea({},u.imports,b.imports,Yu),M=tn(P),H=Aa(P,M),G,Z,_e=0,pe=u.interpolate||Si,ve="__p += '",Re=Ra((u.escape||Si).source+"|"+pe.source+"|"+(pe===Fl?hl:Si).source+"|"+(u.evaluate||Si).source+"|$","g"),We="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ji+"]")+`
38
+ `)}function e1(a){return xe(a)||Rl(a)||!!(lu&&a&&a[lu])}function Ai(a,u){var d=typeof a;return u=u==null?ne:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function gn(a,u,d){if(!Ut(d))return!1;var b=typeof u;return(b=="number"?kn(d)&&Ai(u,d.length):b=="string"&&u in d)?xn(d[u],a):!1}function ao(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||En(a)?!0:kr.test(a)||!Sr.test(a)||u!=null&&a in Tt(u)}function t1(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function oo(a){var u=qs(a),d=R[u];if(typeof d!="function"||!(u in ot.prototype))return!1;if(a===d)return!0;var b=lo(d);return!!b&&a===b[0]}function n1(a){return!!eu&&eu in a}var i1=ws?Ei:No;function Kr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Xl;return a===d}function ef(a){return a===a&&!Ut(a)}function tf(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Tt(d))}}function l1(a){var u=Zs(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function r1(a,u){var d=a[1],b=u[1],P=d|b,M=P<(y|C|V),H=b==V&&d==I||b==V&&d==O&&a[7].length<=u[8]||b==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||H))return a;b&y&&(a[2]=u[2],P|=d&y?0:N);var G=u[3];if(G){var Z=a[3];a[3]=Z?Fu(Z,G,u[4]):G,a[4]=Z?Xi(a[3],h):u[4]}return G=u[5],G&&(Z=a[5],a[5]=Z?Uu(Z,G,u[6]):G,a[6]=Z?Xi(a[5],h):u[6]),G=u[7],G&&(a[7]=G),b&V&&(a[8]=a[8]==null?u[8]:fn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function s1(a){var u=[];if(a!=null)for(var d in Tt(a))u.push(d);return u}function a1(a){return ks.call(a)}function nf(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=ae(M);++P<M;)H[P]=b[u+P];P=-1;for(var G=ae(u+1);++P<u;)G[P]=b[P];return G[u]=d(H),Tn(a,this,G)}}function lf(a,u){return u.length<2?a:Ll(a,Gn(u,0,-1))}function o1(a,u){for(var d=a.length,b=fn(u.length,d),P=Sn(a);b--;){var M=u[b];a[b]=Ai(M,d)?P[M]:t}return a}function uo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var rf=af(Iu),Jr=Cp||function(a,u){return en.setTimeout(a,u)},fo=af(Em);function sf(a,u,d){var b=u+"";return fo(a,xm(b,u1(Zm(b),d)))}function af(a){var u=0,d=0;return function(){var b=Ip(),P=$-(b-d);if(d=b,P>0){if(++u>=fe)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Js(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var M=Ja(d,P),H=a[M];a[M]=a[d],a[d]=H}return a.length=u,a}var of=l1(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(Cr,function(d,b,P,M){u.push(P?M.replace(vn,"$1"):b||d)}),u});function fi(a){if(typeof a=="string"||En(a))return a;var u=a+"";return u=="0"&&1/a==-he?"-0":u}function El(a){if(a!=null){try{return Ss.call(a)}catch{}try{return a+""}catch{}}return""}function u1(a,u){return Bn(ce,function(d){var b="_."+d[0];u&d[1]&&!ps(a,b)&&a.push(b)}),a.sort()}function uf(a){if(a instanceof ot)return a.clone();var u=new Wn(a.__wrapped__,a.__chain__);return u.__actions__=Sn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function f1(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=Xt(tt(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,M=0,H=ae(Ts(b/u));P<b;)H[M++]=Gn(a,P,P+=u);return H}function c1(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 d1(){var a=arguments.length;if(!a)return[];for(var u=ae(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Zi(xe(d)?Sn(d):[d],an(u,1))}var h1=lt(function(a,u){return Kt(a)?Hr(a,an(u,1,Kt,!0)):[]}),g1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,an(u,1,Kt,!0),Ke(d,2)):[]}),_1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,an(u,1,Kt,!0),t,d):[]});function p1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),Gn(a,u<0?0:u,b)):[]}function m1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),u=b-u,Gn(a,0,u<0?0:u)):[]}function b1(a,u){return a&&a.length?Us(a,Ke(u,3),!0,!0):[]}function v1(a,u){return a&&a.length?Us(a,Ke(u,3),!0):[]}function w1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&gn(a,u,d)&&(d=0,b=P),dm(a,u,d,b)):[]}function ff(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:tt(d);return P<0&&(P=Xt(b+P,0)),ms(a,Ke(u,3),P)}function cf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=tt(d),P=d<0?Xt(b+P,0):fn(P,b-1)),ms(a,Ke(u,3),P,!0)}function df(a){var u=a==null?0:a.length;return u?an(a,1):[]}function S1(a){var u=a==null?0:a.length;return u?an(a,he):[]}function k1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:tt(u),an(a,u)):[]}function C1(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 hf(a){return a&&a.length?a[0]:t}function y1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:tt(d);return P<0&&(P=Xt(b+P,0)),jl(a,u,P)}function P1(a){var u=a==null?0:a.length;return u?Gn(a,0,-1):[]}var N1=lt(function(a){var u=Ot(a,Xa);return u.length&&u[0]===a[0]?Wa(u):[]}),I1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u===qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Wa(d,Ke(u,2)):[]}),T1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Wa(d,t,u):[]});function L1(a,u){return a==null?"":Pp.call(a,u)}function qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function A1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=tt(d),P=P<0?Xt(b+P,0):fn(P,b-1)),u===u?up(a,u,P):ms(a,Jo,P,!0)}function E1(a,u){return a&&a.length?Cu(a,tt(u)):t}var R1=lt(gf);function gf(a,u){return a&&a.length&&u&&u.length?Ka(a,u):a}function D1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,Ke(d,2)):a}function V1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,t,d):a}var M1=Li(function(a,u){var d=a==null?0:a.length,b=Fa(a,u);return Nu(a,Ot(u,function(P){return Ai(P,d)?+P:P}).sort(Ou)),b});function O1(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 Nu(a,P),d}function co(a){return a==null?a:Lp.call(a)}function F1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&gn(a,u,d)?(u=0,d=b):(u=u==null?0:tt(u),d=d===t?b:tt(d)),Gn(a,u,d)):[]}function U1(a,u){return Fs(a,u)}function B1(a,u,d){return Ya(a,u,Ke(d,2))}function H1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u);if(b<d&&xn(a[b],u))return b}return-1}function W1(a,u){return Fs(a,u,!0)}function z1(a,u,d){return Ya(a,u,Ke(d,2),!0)}function G1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u,!0)-1;if(xn(a[b],u))return b}return-1}function q1(a){return a&&a.length?Tu(a):[]}function K1(a,u){return a&&a.length?Tu(a,Ke(u,2)):[]}function J1(a){var u=a==null?0:a.length;return u?Gn(a,1,u):[]}function j1(a,u,d){return a&&a.length?(u=d||u===t?1:tt(u),Gn(a,0,u<0?0:u)):[]}function Y1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),u=b-u,Gn(a,u<0?0:u,b)):[]}function Q1(a,u){return a&&a.length?Us(a,Ke(u,3),!1,!0):[]}function Z1(a,u){return a&&a.length?Us(a,Ke(u,3)):[]}var X1=lt(function(a){return el(an(a,1,Kt,!0))}),$1=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),el(an(a,1,Kt,!0),Ke(u,2))}),x1=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,el(an(a,1,Kt,!0),t,u)});function eb(a){return a&&a.length?el(a):[]}function tb(a,u){return a&&a.length?el(a,Ke(u,2)):[]}function nb(a,u){return u=typeof u=="function"?u:t,a&&a.length?el(a,t,u):[]}function ho(a){if(!(a&&a.length))return[];var u=0;return a=Qi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),La(u,function(d){return Ot(a,Na(d))})}function _f(a,u){if(!(a&&a.length))return[];var d=ho(a);return u==null?d:Ot(d,function(b){return Tn(u,t,b)})}var ib=lt(function(a,u){return Kt(a)?Hr(a,u):[]}),lb=lt(function(a){return Za(Qi(a,Kt))}),rb=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),Za(Qi(a,Kt),Ke(u,2))}),sb=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,Za(Qi(a,Kt),t,u)}),ab=lt(ho);function ob(a,u){return Ru(a||[],u||[],Br)}function ub(a,u){return Ru(a||[],u||[],Gr)}var fb=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,_f(a,d)});function pf(a){var u=R(a);return u.__chain__=!0,u}function cb(a,u){return u(a),a}function js(a,u){return u(a)}var db=Li(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(M){return Fa(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:js,args:[P],thisArg:t}),new Wn(b,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function hb(){return pf(this)}function gb(){return new Wn(this.value(),this.__chain__)}function _b(){this.__values__===t&&(this.__values__=Af(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function pb(){return this}function mb(a){for(var u,d=this;d instanceof Rs;){var b=uf(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 bb(){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:js,args:[co],thisArg:t}),new Wn(u,this.__chain__)}return this.thru(co)}function vb(){return Eu(this.__wrapped__,this.__actions__)}var wb=Bs(function(a,u,d){Ct.call(a,d)?++a[d]:Ii(a,d,1)});function Sb(a,u,d){var b=xe(a)?qo:cm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}function kb(a,u){var d=xe(a)?Qi:gu;return d(a,Ke(u,3))}var Cb=zu(ff),yb=zu(cf);function Pb(a,u){return an(Ys(a,u),1)}function Nb(a,u){return an(Ys(a,u),he)}function Ib(a,u,d){return d=d===t?1:tt(d),an(Ys(a,u),d)}function mf(a,u){var d=xe(a)?Bn:xi;return d(a,Ke(u,3))}function bf(a,u){var d=xe(a)?J_:hu;return d(a,Ke(u,3))}var Tb=Bs(function(a,u,d){Ct.call(a,d)?a[d].push(u):Ii(a,d,[u])});function Lb(a,u,d,b){a=kn(a)?a:rr(a),d=d&&!b?tt(d):0;var P=a.length;return d<0&&(d=Xt(P+d,0)),xs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&jl(a,u,d)>-1}var Ab=lt(function(a,u,d){var b=-1,P=typeof u=="function",M=kn(a)?ae(a.length):[];return xi(a,function(H){M[++b]=P?Tn(u,H,d):Wr(H,u,d)}),M}),Eb=Bs(function(a,u,d){Ii(a,d,u)});function Ys(a,u){var d=xe(a)?Ot:wu;return d(a,Ke(u,3))}function Rb(a,u,d,b){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=b?t:d,xe(d)||(d=d==null?[]:[d]),yu(a,u,d))}var Db=Bs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function Vb(a,u,d){var b=xe(a)?ya:Yo,P=arguments.length<3;return b(a,Ke(u,4),d,P,xi)}function Mb(a,u,d){var b=xe(a)?j_:Yo,P=arguments.length<3;return b(a,Ke(u,4),d,P,hu)}function Ob(a,u){var d=xe(a)?Qi:gu;return d(a,Xs(Ke(u,3)))}function Fb(a){var u=xe(a)?uu:Lm;return u(a)}function Ub(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=tt(u);var b=xe(a)?sm:Am;return b(a,u)}function Bb(a){var u=xe(a)?am:Rm;return u(a)}function Hb(a){if(a==null)return 0;if(kn(a))return xs(a)?Ql(a):a.length;var u=cn(a);return u==vt||u==Yt?a.size:Ga(a).length}function Wb(a,u,d){var b=xe(a)?Pa:Dm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}var zb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&gn(a,u[0],u[1])?u=[]:d>2&&gn(u[0],u[1],u[2])&&(u=[u[0]]),yu(a,an(u,1),[])}),Qs=kp||function(){return en.Date.now()};function Gb(a,u){if(typeof u!="function")throw new Hn(s);return a=tt(a),function(){if(--a<1)return u.apply(this,arguments)}}function vf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ti(a,V,t,t,t,t,u)}function wf(a,u){var d;if(typeof u!="function")throw new Hn(s);return a=tt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var go=lt(function(a,u,d){var b=y;if(d.length){var P=Xi(d,ir(go));b|=T}return Ti(a,b,u,d,P)}),Sf=lt(function(a,u,d){var b=y|C;if(d.length){var P=Xi(d,ir(Sf));b|=T}return Ti(u,b,a,d,P)});function kf(a,u,d){u=d?t:u;var b=Ti(a,I,t,t,t,t,t,u);return b.placeholder=kf.placeholder,b}function Cf(a,u,d){u=d?t:u;var b=Ti(a,D,t,t,t,t,t,u);return b.placeholder=Cf.placeholder,b}function yf(a,u,d){var b,P,M,H,G,Z,_e=0,pe=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Hn(s);u=Kn(u)||0,Ut(d)&&(pe=!!d.leading,ve="maxWait"in d,M=ve?Xt(Kn(d.maxWait)||0,u):M,Re="trailing"in d?!!d.trailing:Re);function We(Jt){var ei=b,Di=P;return b=P=t,_e=Jt,H=a.apply(Di,ei),H}function je(Jt){return _e=Jt,G=Jr(at,u),pe?We(Jt):H}function nt(Jt){var ei=Jt-Z,Di=Jt-_e,Gf=u-ei;return ve?fn(Gf,M-Di):Gf}function Ye(Jt){var ei=Jt-Z,Di=Jt-_e;return Z===t||ei>=u||ei<0||ve&&Di>=M}function at(){var Jt=Qs();if(Ye(Jt))return ut(Jt);G=Jr(at,nt(Jt))}function ut(Jt){return G=t,Re&&b?We(Jt):(b=P=t,H)}function Rn(){G!==t&&Du(G),_e=0,b=Z=P=G=t}function _n(){return G===t?H:ut(Qs())}function Dn(){var Jt=Qs(),ei=Ye(Jt);if(b=arguments,P=this,Z=Jt,ei){if(G===t)return je(Z);if(ve)return Du(G),G=Jr(at,u),We(Z)}return G===t&&(G=Jr(at,u)),H}return Dn.cancel=Rn,Dn.flush=_n,Dn}var qb=lt(function(a,u){return du(a,1,u)}),Kb=lt(function(a,u,d){return du(a,Kn(u)||0,d)});function Jb(a){return Ti(a,U)}function Zs(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Hn(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(Zs.Cache||Ni),d}Zs.Cache=Ni;function Xs(a){if(typeof a!="function")throw new Hn(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 jb(a){return wf(2,a)}var Yb=Vm(function(a,u){u=u.length==1&&xe(u[0])?Ot(u[0],Ln(Ke())):Ot(an(u,1),Ln(Ke()));var d=u.length;return lt(function(b){for(var P=-1,M=fn(b.length,d);++P<M;)b[P]=u[P].call(this,b[P]);return Tn(a,this,b)})}),_o=lt(function(a,u){var d=Xi(u,ir(_o));return Ti(a,T,t,u,d)}),Pf=lt(function(a,u){var d=Xi(u,ir(Pf));return Ti(a,L,t,u,d)}),Qb=Li(function(a,u){return Ti(a,O,t,t,t,u)});function Zb(a,u){if(typeof a!="function")throw new Hn(s);return u=u===t?u:tt(u),lt(a,u)}function Xb(a,u){if(typeof a!="function")throw new Hn(s);return u=u==null?0:Xt(tt(u),0),lt(function(d){var b=d[u],P=nl(d,0,u);return b&&Zi(P,b),Tn(a,this,P)})}function $b(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Hn(s);return Ut(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),yf(a,u,{leading:b,maxWait:u,trailing:P})}function xb(a){return vf(a,1)}function ev(a,u){return _o($a(u),a)}function tv(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function nv(a){return zn(a,m)}function iv(a,u){return u=typeof u=="function"?u:t,zn(a,m,u)}function lv(a){return zn(a,_|m)}function rv(a,u){return u=typeof u=="function"?u:t,zn(a,_|m,u)}function sv(a,u){return u==null||cu(a,u,tn(u))}function xn(a,u){return a===u||a!==a&&u!==u}var av=Gs(Ha),ov=Gs(function(a,u){return a>=u}),Rl=mu(function(){return arguments}())?mu:function(a){return Wt(a)&&Ct.call(a,"callee")&&!iu.call(a,"callee")},xe=ae.isArray,uv=In?Ln(In):mm;function kn(a){return a!=null&&$s(a.length)&&!Ei(a)}function Kt(a){return Wt(a)&&kn(a)}function fv(a){return a===!0||a===!1||Wt(a)&&hn(a)==De}var il=yp||No,cv=_s?Ln(_s):bm;function dv(a){return Wt(a)&&a.nodeType===1&&!jr(a)}function hv(a){if(a==null)return!0;if(kn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||il(a)||lr(a)||Rl(a)))return!a.length;var u=cn(a);if(u==vt||u==Yt)return!a.size;if(Kr(a))return!Ga(a).length;for(var d in a)if(Ct.call(a,d))return!1;return!0}function gv(a,u){return zr(a,u)}function _v(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?zr(a,u,t,d):!!b}function po(a){if(!Wt(a))return!1;var u=hn(a);return u==Ze||u==me||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function pv(a){return typeof a=="number"&&ru(a)}function Ei(a){if(!Ut(a))return!1;var u=hn(a);return u==Dt||u==Ht||u==se||u==Ui}function Nf(a){return typeof a=="number"&&a==tt(a)}function $s(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ne}function Ut(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Wt(a){return a!=null&&typeof a=="object"}var If=Ho?Ln(Ho):wm;function mv(a,u){return a===u||za(a,u,ro(u))}function bv(a,u,d){return d=typeof d=="function"?d:t,za(a,u,ro(u),d)}function vv(a){return Tf(a)&&a!=+a}function wv(a){if(i1(a))throw new Xe(r);return bu(a)}function Sv(a){return a===null}function kv(a){return a==null}function Tf(a){return typeof a=="number"||Wt(a)&&hn(a)==un}function jr(a){if(!Wt(a)||hn(a)!=zt)return!1;var u=Ps(a);if(u===null)return!0;var d=Ct.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&Ss.call(d)==bp}var mo=Wo?Ln(Wo):Sm;function Cv(a){return Nf(a)&&a>=-ne&&a<=ne}var Lf=zo?Ln(zo):km;function xs(a){return typeof a=="string"||!xe(a)&&Wt(a)&&hn(a)==Qn}function En(a){return typeof a=="symbol"||Wt(a)&&hn(a)==Et}var lr=Go?Ln(Go):Cm;function yv(a){return a===t}function Pv(a){return Wt(a)&&cn(a)==Qt}function Nv(a){return Wt(a)&&hn(a)==Bi}var Iv=Gs(qa),Tv=Gs(function(a,u){return a<=u});function Af(a){if(!a)return[];if(kn(a))return xs(a)?Xn(a):Sn(a);if(Vr&&a[Vr])return sp(a[Vr]());var u=cn(a),d=u==vt?Ea:u==Yt?bs:rr;return d(a)}function Ri(a){if(!a)return a===0?a:0;if(a=Kn(a),a===he||a===-he){var u=a<0?-1:1;return u*Y}return a===a?a:0}function tt(a){var u=Ri(a),d=u%1;return u===u?d?u-d:u:0}function Ef(a){return a?Tl(tt(a),0,ie):0}function Kn(a){if(typeof a=="number")return a;if(En(a))return ye;if(Ut(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ut(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Qo(a);var d=Pr.test(a);return d||gl.test(a)?kl(a.slice(2),d?2:8):Wl.test(a)?ye:+a}function Rf(a){return ui(a,Cn(a))}function Lv(a){return a?Tl(tt(a),-ne,ne):a===0?a:0}function bt(a){return a==null?"":An(a)}var Av=tr(function(a,u){if(Kr(u)||kn(u)){ui(u,tn(u),a);return}for(var d in u)Ct.call(u,d)&&Br(a,d,u[d])}),Df=tr(function(a,u){ui(u,Cn(u),a)}),ea=tr(function(a,u,d,b){ui(u,Cn(u),a,b)}),Ev=tr(function(a,u,d,b){ui(u,tn(u),a,b)}),Rv=Li(Fa);function Dv(a,u){var d=er(a);return u==null?d:fu(d,u)}var Vv=lt(function(a,u){a=Tt(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&gn(u[0],u[1],P)&&(b=1);++d<b;)for(var M=u[d],H=Cn(M),G=-1,Z=H.length;++G<Z;){var _e=H[G],pe=a[_e];(pe===t||xn(pe,Xl[_e])&&!Ct.call(a,_e))&&(a[_e]=M[_e])}return a}),Mv=lt(function(a){return a.push(t,Qu),Tn(Vf,t,a)});function Ov(a,u){return Ko(a,Ke(u,3),oi)}function Fv(a,u){return Ko(a,Ke(u,3),Ba)}function Uv(a,u){return a==null?a:Ua(a,Ke(u,3),Cn)}function Bv(a,u){return a==null?a:_u(a,Ke(u,3),Cn)}function Hv(a,u){return a&&oi(a,Ke(u,3))}function Wv(a,u){return a&&Ba(a,Ke(u,3))}function zv(a){return a==null?[]:Ms(a,tn(a))}function Gv(a){return a==null?[]:Ms(a,Cn(a))}function bo(a,u,d){var b=a==null?t:Ll(a,u);return b===t?d:b}function qv(a,u){return a!=null&&$u(a,u,hm)}function vo(a,u){return a!=null&&$u(a,u,gm)}var Kv=qu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),a[u]=d},So(yn)),Jv=qu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),Ct.call(a,u)?a[u].push(d):a[u]=[d]},Ke),jv=lt(Wr);function tn(a){return kn(a)?ou(a):Ga(a)}function Cn(a){return kn(a)?ou(a,!0):ym(a)}function Yv(a,u){var d={};return u=Ke(u,3),oi(a,function(b,P,M){Ii(d,u(b,P,M),b)}),d}function Qv(a,u){var d={};return u=Ke(u,3),oi(a,function(b,P,M){Ii(d,P,u(b,P,M))}),d}var Zv=tr(function(a,u,d){Os(a,u,d)}),Vf=tr(function(a,u,d,b){Os(a,u,d,b)}),Xv=Li(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ot(u,function(M){return M=tl(M,a),b||(b=M.length>1),M}),ui(a,io(a),d),b&&(d=zn(d,_|p|m,Km));for(var P=u.length;P--;)Qa(d,u[P]);return d});function $v(a,u){return Mf(a,Xs(Ke(u)))}var xv=Li(function(a,u){return a==null?{}:Nm(a,u)});function Mf(a,u){if(a==null)return{};var d=Ot(io(a),function(b){return[b]});return u=Ke(u),Pu(a,d,function(b,P){return u(b,P[0])})}function e0(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[fi(u[b])];M===t&&(b=P,M=d),a=Ei(M)?M.call(a):M}return a}function t0(a,u,d){return a==null?a:Gr(a,u,d)}function n0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Gr(a,u,d,b)}var Of=ju(tn),Ff=ju(Cn);function i0(a,u,d){var b=xe(a),P=b||il(a)||lr(a);if(u=Ke(u,4),d==null){var M=a&&a.constructor;P?d=b?new M:[]:Ut(a)?d=Ei(M)?er(Ps(a)):{}:d={}}return(P?Bn:oi)(a,function(H,G,Z){return u(d,H,G,Z)}),d}function l0(a,u){return a==null?!0:Qa(a,u)}function r0(a,u,d){return a==null?a:Au(a,u,$a(d))}function s0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Au(a,u,$a(d),b)}function rr(a){return a==null?[]:Aa(a,tn(a))}function a0(a){return a==null?[]:Aa(a,Cn(a))}function o0(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Kn(d),d=d===d?d:0),u!==t&&(u=Kn(u),u=u===u?u:0),Tl(Kn(a),u,d)}function u0(a,u,d){return u=Ri(u),d===t?(d=u,u=0):d=Ri(d),a=Kn(a),_m(a,u,d)}function f0(a,u,d){if(d&&typeof d!="boolean"&&gn(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=su();return fn(a+P*(u-a+Yi("1e-"+((P+"").length-1))),u)}return Ja(a,u)}var c0=nr(function(a,u,d){return u=u.toLowerCase(),a+(d?Uf(u):u)});function Uf(a){return wo(bt(a).toLowerCase())}function Bf(a){return a=bt(a),a&&a.replace(pl,tp).replace(Oe,"")}function d0(a,u,d){a=bt(a),u=An(u);var b=a.length;d=d===t?b:Tl(tt(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function h0(a){return a=bt(a),a&&br.test(a)?a.replace(Fn,np):a}function g0(a){return a=bt(a),a&&cl.test(a)?a.replace(fl,"\\$&"):a}var _0=nr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),p0=nr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),m0=Wu("toLowerCase");function b0(a,u,d){a=bt(a),u=tt(u);var b=u?Ql(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return zs(Ls(P),d)+a+zs(Ts(P),d)}function v0(a,u,d){a=bt(a),u=tt(u);var b=u?Ql(a):0;return u&&b<u?a+zs(u-b,d):a}function w0(a,u,d){a=bt(a),u=tt(u);var b=u?Ql(a):0;return u&&b<u?zs(u-b,d)+a:a}function S0(a,u,d){return d||u==null?u=0:u&&(u=+u),Tp(bt(a).replace(ri,""),u||0)}function k0(a,u,d){return(d?gn(a,u,d):u===t)?u=1:u=tt(u),ja(bt(a),u)}function C0(){var a=arguments,u=bt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var y0=nr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function P0(a,u,d){return d&&typeof d!="number"&&gn(a,u,d)&&(u=d=t),d=d===t?ie:d>>>0,d?(a=bt(a),a&&(typeof u=="string"||u!=null&&!mo(u))&&(u=An(u),!u&&Yl(a))?nl(Xn(a),0,d):a.split(u,d)):[]}var N0=nr(function(a,u,d){return a+(d?" ":"")+wo(u)});function I0(a,u,d){return a=bt(a),d=d==null?0:Tl(tt(d),0,a.length),u=An(u),a.slice(d,d+u.length)==u}function T0(a,u,d){var b=R.templateSettings;d&&gn(a,u,d)&&(u=t),a=bt(a),u=ea({},u,b,Yu);var P=ea({},u.imports,b.imports,Yu),M=tn(P),H=Aa(P,M),G,Z,_e=0,pe=u.interpolate||Si,ve="__p += '",Re=Ra((u.escape||Si).source+"|"+pe.source+"|"+(pe===Fl?hl:Si).source+"|"+(u.evaluate||Si).source+"|$","g"),We="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ji+"]")+`
39
39
  `;a.replace(Re,function(Ye,at,ut,Rn,_n,Dn){return ut||(ut=Rn),ve+=a.slice(_e,Dn).replace(zl,ip),at&&(G=!0,ve+=`' +
40
40
  __e(`+at+`) +
41
41
  '`),_n&&(Z=!0,ve+=`';
@@ -52,13 +52,13 @@ __p += '`),ut&&(ve+=`' +
52
52
  function print() { __p += __j.call(arguments, '') }
53
53
  `:`;
54
54
  `)+ve+`return __p
55
- }`;var nt=Wf(function(){return gt(M,We+"return "+ve).apply(t,H)});if(nt.source=ve,po(nt))throw nt;return nt}function L0(a){return bt(a).toLowerCase()}function A0(a){return bt(a).toUpperCase()}function E0(a,u,d){if(a=bt(a),a&&(d||u===t))return Qo(a);if(!a||!(u=An(u)))return a;var b=Xn(a),P=Xn(u),M=Zo(b,P),H=Xo(b,P)+1;return nl(b,M,H).join("")}function R0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.slice(0,xo(a)+1);if(!a||!(u=An(u)))return a;var b=Xn(a),P=Xo(b,Xn(u))+1;return nl(b,0,P).join("")}function D0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.replace(ri,"");if(!a||!(u=An(u)))return a;var b=Xn(a),P=Zo(b,Xn(u));return nl(b,P).join("")}function V0(a,u){var d=W,b=oe;if(Ut(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?An(u.omission):b}a=bt(a);var M=a.length;if(Yl(a)){var H=Xn(a);M=H.length}if(d>=M)return a;var G=d-Ql(b);if(G<1)return b;var Z=H?nl(H,0,G).join(""):a.slice(0,G);if(P===t)return Z+b;if(H&&(G+=Z.length-G),mo(P)){if(a.slice(G).search(P)){var _e,pe=Z;for(P.global||(P=Ra(P.source,bt(zi.exec(P))+"g")),P.lastIndex=0;_e=P.exec(pe);)var ve=_e.index;Z=Z.slice(0,ve===t?G:ve)}}else if(a.indexOf(An(P),G)!=G){var Re=Z.lastIndexOf(P);Re>-1&&(Z=Z.slice(0,Re))}return Z+b}function M0(a){return a=bt(a),a&&Hi.test(a)?a.replace(Zn,fp):a}var O0=nr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),wo=Wu("toUpperCase");function Hf(a,u,d){return a=bt(a),u=d?t:u,u===t?rp(a)?hp(a):Z_(a):a.match(u)||[]}var Wf=lt(function(a,u){try{return Tn(a,t,u)}catch(d){return po(d)?d:new Xe(d)}}),F0=Li(function(a,u){return Bn(u,function(d){d=fi(d),Ii(a,d,go(a[d],a))}),a});function U0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ot(a,function(b){if(typeof b[1]!="function")throw new Hn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(Tn(M[0],this,b))return Tn(M[1],this,b)}})}function B0(a){return fm(zn(a,_))}function So(a){return function(){return a}}function H0(a,u){return a==null||a!==a?u:a}var W0=Gu(),z0=Gu(!0);function yn(a){return a}function ko(a){return vu(typeof a=="function"?a:zn(a,_))}function G0(a){return Su(zn(a,_))}function q0(a,u){return ku(a,zn(u,_))}var K0=lt(function(a,u){return function(d){return Wr(d,a,u)}}),J0=lt(function(a,u){return function(d){return Wr(a,d,u)}});function Co(a,u,d){var b=tn(u),P=Ms(u,b);d==null&&!(Ut(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Ms(u,tn(u)));var M=!(Ut(d)&&"chain"in d)||!!d.chain,H=Ei(a);return Bn(P,function(G){var Z=u[G];a[G]=Z,H&&(a.prototype[G]=function(){var _e=this.__chain__;if(M||_e){var pe=a(this.__wrapped__),ve=pe.__actions__=Sn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),pe.__chain__=_e,pe}return Z.apply(a,Zi([this.value()],arguments))})}),a}function j0(){return en._===this&&(en._=vp),this}function yo(){}function Y0(a){return a=et(a),lt(function(u){return Cu(u,a)})}var Q0=eo(Ot),Z0=eo(qo),X0=eo(Pa);function zf(a){return ao(a)?Na(fi(a)):Im(a)}function $0(a){return function(u){return a==null?t:Ll(a,u)}}var x0=Ku(),ew=Ku(!0);function Po(){return[]}function No(){return!1}function tw(){return{}}function nw(){return""}function iw(){return!0}function lw(a,u){if(a=et(a),a<1||a>ne)return[];var d=ie,b=fn(a,ie);u=Ke(u),a-=ie;for(var P=La(b,u);++d<a;)u(d);return P}function rw(a){return xe(a)?Ot(a,fi):En(a)?[a]:Sn(of(bt(a)))}function sw(a){var u=++mp;return bt(a)+u}var aw=Ws(function(a,u){return a+u},0),ow=to("ceil"),uw=Ws(function(a,u){return a/u},1),fw=to("floor");function cw(a){return a&&a.length?Vs(a,yn,Ha):t}function dw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ha):t}function hw(a){return jo(a,yn)}function gw(a,u){return jo(a,Ke(u,2))}function _w(a){return a&&a.length?Vs(a,yn,qa):t}function pw(a,u){return a&&a.length?Vs(a,Ke(u,2),qa):t}var mw=Ws(function(a,u){return a*u},1),bw=to("round"),vw=Ws(function(a,u){return a-u},0);function ww(a){return a&&a.length?Ta(a,yn):0}function Sw(a,u){return a&&a.length?Ta(a,Ke(u,2)):0}return R.after=Gb,R.ary=vf,R.assign=Av,R.assignIn=Df,R.assignInWith=ea,R.assignWith=Ev,R.at=Rv,R.before=wf,R.bind=go,R.bindAll=F0,R.bindKey=Sf,R.castArray=tv,R.chain=pf,R.chunk=f1,R.compact=c1,R.concat=d1,R.cond=U0,R.conforms=B0,R.constant=So,R.countBy=wb,R.create=Dv,R.curry=kf,R.curryRight=Cf,R.debounce=yf,R.defaults=Vv,R.defaultsDeep=Mv,R.defer=qb,R.delay=Kb,R.difference=h1,R.differenceBy=g1,R.differenceWith=_1,R.drop=p1,R.dropRight=m1,R.dropRightWhile=b1,R.dropWhile=v1,R.fill=w1,R.filter=kb,R.flatMap=Pb,R.flatMapDeep=Nb,R.flatMapDepth=Ib,R.flatten=df,R.flattenDeep=S1,R.flattenDepth=k1,R.flip=Jb,R.flow=W0,R.flowRight=z0,R.fromPairs=C1,R.functions=zv,R.functionsIn=Gv,R.groupBy=Tb,R.initial=P1,R.intersection=N1,R.intersectionBy=I1,R.intersectionWith=T1,R.invert=Kv,R.invertBy=Jv,R.invokeMap=Ab,R.iteratee=ko,R.keyBy=Eb,R.keys=tn,R.keysIn=Cn,R.map=Ys,R.mapKeys=Yv,R.mapValues=Qv,R.matches=G0,R.matchesProperty=q0,R.memoize=Zs,R.merge=Zv,R.mergeWith=Vf,R.method=K0,R.methodOf=J0,R.mixin=Co,R.negate=Xs,R.nthArg=Y0,R.omit=Xv,R.omitBy=$v,R.once=jb,R.orderBy=Rb,R.over=Q0,R.overArgs=Yb,R.overEvery=Z0,R.overSome=X0,R.partial=_o,R.partialRight=Pf,R.partition=Db,R.pick=xv,R.pickBy=Mf,R.property=zf,R.propertyOf=$0,R.pull=R1,R.pullAll=gf,R.pullAllBy=D1,R.pullAllWith=V1,R.pullAt=M1,R.range=x0,R.rangeRight=ew,R.rearg=Qb,R.reject=Ob,R.remove=O1,R.rest=Zb,R.reverse=co,R.sampleSize=Ub,R.set=t0,R.setWith=n0,R.shuffle=Bb,R.slice=F1,R.sortBy=zb,R.sortedUniq=q1,R.sortedUniqBy=K1,R.split=P0,R.spread=Xb,R.tail=J1,R.take=j1,R.takeRight=Y1,R.takeRightWhile=Q1,R.takeWhile=Z1,R.tap=cb,R.throttle=$b,R.thru=js,R.toArray=Af,R.toPairs=Of,R.toPairsIn=Ff,R.toPath=rw,R.toPlainObject=Rf,R.transform=i0,R.unary=xb,R.union=X1,R.unionBy=$1,R.unionWith=x1,R.uniq=eb,R.uniqBy=tb,R.uniqWith=nb,R.unset=l0,R.unzip=ho,R.unzipWith=_f,R.update=r0,R.updateWith=s0,R.values=rr,R.valuesIn=a0,R.without=ib,R.words=Hf,R.wrap=ev,R.xor=lb,R.xorBy=rb,R.xorWith=sb,R.zip=ab,R.zipObject=ob,R.zipObjectDeep=ub,R.zipWith=fb,R.entries=Of,R.entriesIn=Ff,R.extend=Df,R.extendWith=ea,Co(R,R),R.add=aw,R.attempt=Wf,R.camelCase=c0,R.capitalize=Uf,R.ceil=ow,R.clamp=o0,R.clone=nv,R.cloneDeep=lv,R.cloneDeepWith=rv,R.cloneWith=iv,R.conformsTo=sv,R.deburr=Bf,R.defaultTo=H0,R.divide=uw,R.endsWith=d0,R.eq=xn,R.escape=h0,R.escapeRegExp=g0,R.every=Sb,R.find=Cb,R.findIndex=ff,R.findKey=Ov,R.findLast=yb,R.findLastIndex=cf,R.findLastKey=Fv,R.floor=fw,R.forEach=mf,R.forEachRight=bf,R.forIn=Uv,R.forInRight=Bv,R.forOwn=Hv,R.forOwnRight=Wv,R.get=bo,R.gt=av,R.gte=ov,R.has=qv,R.hasIn=vo,R.head=hf,R.identity=yn,R.includes=Lb,R.indexOf=y1,R.inRange=u0,R.invoke=jv,R.isArguments=Rl,R.isArray=xe,R.isArrayBuffer=uv,R.isArrayLike=kn,R.isArrayLikeObject=Kt,R.isBoolean=fv,R.isBuffer=il,R.isDate=cv,R.isElement=dv,R.isEmpty=hv,R.isEqual=gv,R.isEqualWith=_v,R.isError=po,R.isFinite=pv,R.isFunction=Ei,R.isInteger=Nf,R.isLength=$s,R.isMap=If,R.isMatch=mv,R.isMatchWith=bv,R.isNaN=vv,R.isNative=wv,R.isNil=kv,R.isNull=Sv,R.isNumber=Tf,R.isObject=Ut,R.isObjectLike=Wt,R.isPlainObject=jr,R.isRegExp=mo,R.isSafeInteger=Cv,R.isSet=Lf,R.isString=xs,R.isSymbol=En,R.isTypedArray=lr,R.isUndefined=yv,R.isWeakMap=Pv,R.isWeakSet=Nv,R.join=L1,R.kebabCase=_0,R.last=qn,R.lastIndexOf=A1,R.lowerCase=p0,R.lowerFirst=m0,R.lt=Iv,R.lte=Tv,R.max=cw,R.maxBy=dw,R.mean=hw,R.meanBy=gw,R.min=_w,R.minBy=pw,R.stubArray=Po,R.stubFalse=No,R.stubObject=tw,R.stubString=nw,R.stubTrue=iw,R.multiply=mw,R.nth=E1,R.noConflict=j0,R.noop=yo,R.now=Qs,R.pad=b0,R.padEnd=v0,R.padStart=w0,R.parseInt=S0,R.random=f0,R.reduce=Vb,R.reduceRight=Mb,R.repeat=k0,R.replace=C0,R.result=e0,R.round=bw,R.runInContext=j,R.sample=Fb,R.size=Hb,R.snakeCase=y0,R.some=Wb,R.sortedIndex=U1,R.sortedIndexBy=B1,R.sortedIndexOf=H1,R.sortedLastIndex=W1,R.sortedLastIndexBy=z1,R.sortedLastIndexOf=G1,R.startCase=N0,R.startsWith=I0,R.subtract=vw,R.sum=ww,R.sumBy=Sw,R.template=T0,R.times=lw,R.toFinite=Ri,R.toInteger=et,R.toLength=Ef,R.toLower=L0,R.toNumber=Kn,R.toSafeInteger=Lv,R.toString=bt,R.toUpper=A0,R.trim=E0,R.trimEnd=R0,R.trimStart=D0,R.truncate=V0,R.unescape=M0,R.uniqueId=sw,R.upperCase=O0,R.upperFirst=wo,R.each=mf,R.eachRight=bf,R.first=hf,Co(R,function(){var a={};return oi(R,function(u,d){Ct.call(R.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),R.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){R[a].placeholder=R}),Bn(["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__=fn(d,b.__takeCount__):b.__views__.push({size:fn(d,ie),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Bn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==x||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}}),Bn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Bn(["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(yn)},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 Wr(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(Xs(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(ie)},oi(ot.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=R[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);!P||(R.prototype[u]=function(){var H=this.__wrapped__,G=b?[1]:arguments,Z=H instanceof ot,_e=G[0],pe=Z||xe(H),ve=function(at){var ut=P.apply(R,Zi([at],G));return b&&Re?ut[0]:ut};pe&&d&&typeof _e=="function"&&_e.length!=1&&(Z=pe=!1);var Re=this.__chain__,We=!!this.__actions__.length,je=M&&!Re,nt=Z&&!We;if(!M&&pe){H=nt?H:new ot(this);var Ye=a.apply(H,G);return Ye.__actions__.push({func:js,args:[ve],thisArg:t}),new Wn(Ye,Re)}return je&&nt?a.apply(this,G):(Ye=this.thru(ve),je?b?Ye.value()[0]:Ye.value():Ye)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(a){var u=vs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);R.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(H){return u.apply(xe(H)?H:[],P)})}}),oi(ot.prototype,function(a,u){var d=R[u];if(d){var b=d.name+"";Ct.call(xl,b)||(xl[b]=[]),xl[b].push({name:u,func:d})}}),xl[Hs(t,C).name]=[{name:"wrapper",func:t}],ot.prototype.clone=Mp,ot.prototype.reverse=Op,ot.prototype.value=Fp,R.prototype.at=db,R.prototype.chain=hb,R.prototype.commit=gb,R.prototype.next=_b,R.prototype.plant=mb,R.prototype.reverse=bb,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=vb,R.prototype.first=R.prototype.head,Vr&&(R.prototype[Vr]=pb),R},Zl=gp();Ci?((Ci.exports=Zl)._=Zl,Cl._=Zl):en._=Zl}).call(Zr)})(Ol,Ol.exports);class g2{getNodePath(e,t){return e?be.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=te.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)||te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?be.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 m={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",m);window.dispatchEvent(v)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?te.getPathWithoutHash(window.location.hash):window.location.pathname.concat(window.location.search)}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=te.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=te.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(te.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.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=be.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=be.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?te.trimLeadingSlash(window.location.pathname)+window.location.search:te.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.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 be.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 be.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=te.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,te.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await be.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?te.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=re.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(c.split("?")[1]),v=be.getNodeParams(m),S=be.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(te.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,T=g.hideSideNav;if(T===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){T=!0;break}if(D.hideSideNav===!1){T=!1;break}D=D.parent}const L=be.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&O.classList.remove("lui-webComponent"),!s)if(!r)await Pn.navigateIframe(l,t,n);else{const U=t.get(),W=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(U.context),nodeParams:JSON.stringify(U.nodeParams),pathParams:JSON.stringify(U.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(W),withoutSync:!0})}Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);R_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){Vn.deleteNodesRecursively(c);break}}else r=!1}}else Vn.deleteCache()}handleRouteClick(e,t){const n=be.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(te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Pn.getActiveIframe(r);s&&s.vg&&Pn.canCache(s.vg)?(Pn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Pn.switchActiveIframe(Ie.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=be.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(te.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={...f2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=be.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else te.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=be.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t);if(t===n){const o=document.querySelector(l);o.context=t.context;return}const r=this.removeLastChildFromWCContainer();if(!r)return;const s=e.get();hr.renderWebComponent(s.viewUrl,r,s.context,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ol.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ke.checkVisibleForFeatureToggles(s))),hr.renderWebComponentCompound(t,n,l.context),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=be.getHashQueryParamSeparator();const r=be.getQueryParams(),s=be.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}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=be.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(h+="?"+be.getURLWithoutModalData(o.search,r));if(g=be.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}${be.encodeParams(l)}`}else o.search=`?${be.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let m=p.hash.split("?")[0];p.hash=m,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=be.getQueryParams(),n=be.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=be.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 tt=new g2;class _2{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=be.substituteViewUrl(e,t));const l=Ie.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?te.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),s=be.getNodeParams(r),o=be.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){hr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),l.context,n);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(te.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(te.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(te.computePxFromPercent(t.rightContentHeight,100-e))+te.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:te.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,te.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}),Ie.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`,Ie.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="",Ie.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ie.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new _2;class p2{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{es.hideAppLoadingIndicator()},0)}}const m2=new p2;class b2{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 ti=new b2;class v2{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!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),te.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 hi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&te.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):te.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ll(this._userInfoStore))),te.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ti.isNewlyAuthorized()&&await hi.handleAuthEvent("onAuthSuccessful",e,t),ti.removeNewlyAuthorized(),te.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),te.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ti.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await hi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ti.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);te.isFunction(n)?n(this.idpProviderInstance.settings,e,t):te.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=te.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!te.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(te.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await hi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&te.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new v2;class w2{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(te.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 $r=new w2;class S2{getStoredAuthData(){return ti.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=te.getUrlParameter("error"),t=te.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await hi.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 k2{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),m=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(m,_),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 pr=new k2;class C2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ol.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ol.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ii.isCustomLuigiContainer()?ii.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ii.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(re.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new C2;class y2{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=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.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=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return zw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:te.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(te.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){Ie.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=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:te.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(te.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=[...Ie.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 Ie.specialIframeTypes.filter(n=>Ie.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:Uo.getActiveFeatureToggleList(),currentLocale:ht.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ie=new y2;class P2{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 te.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=Uo.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(hi.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,m=_.order||0;return p-m})};return e.forEach(g=>{let h,_;const p=g[t];te.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 m=r[h];m||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),m=[],r[h]=m),m.metaInfo||(m.metaInfo=_),te.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),te.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&h&&m.metaInfo.collapsible&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||m.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?"":ht.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(m=>{!n&&m===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const m=h.category.label||h.category;if(s[m]){if(s[m].icon||(s[m].icon=h.category.icon,s[m].altText=h.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>_};else if(p){const v=s[m].badgeCounter.count()+_;s[m].badgeCounter.count=()=>v}}else s[m]={isCat:!0,label:m,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[m]);s[m].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||"/";tt.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(te.isObject(e)||e===!0){const t=e.navExpanded?ht.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?ht.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:Ol.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Ol.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=ht.getTranslation(e.label);const n=be.findViewGroup(e);if(n){const l=Pn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=te.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new P2;class N2{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 fa.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ie.getLocation(e.viewUrl)===Ie.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.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");Nn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?tt.getHashPath():tt.getModifiedPathname();e(l)}}),Nn.addEventListener("popstate",n=>{const l=t?tt.getHashPath(location.href):tt.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:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:tt.buildFromRelativePath(e);return l+s}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.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=te.trimLeadingSlash(e).split("/"),l=be.buildRoute(t,`/${t.pathSegment}`),r=te.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=ht.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=te.replaceVars(e,t.pathParams,":",!1),e=te.replaceVars(e,t.context,n),e=te.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[pr.sanitizeParam(n[0])]=pr.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=>Uo.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(!!te.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:ht.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 be=new N2;class I2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const on=new I2;class T2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1,window.onunload=()=>this.removeAllEventListeners()}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 Nn=new T2;class L2{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}};Ie.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Ie.sendMessageToIframe(s,r))}}const A2=new L2;class E2{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(te.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=Ie.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 fr=new E2;class R2{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 jf=new R2;function Yf(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=k("div"),t=k("p"),l=q(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=q(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){E(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function D2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qf(Yf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){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=Yf(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&&A(e),ct(n,l),i[5](null)}}}function V2(i,e,t){const n=Bt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=dt("getUnsavedChangesModalPromise"),c=dt("handleNavigation");Mn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:v,links:S,closeAfter:y}=m.settings,C=pr.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,m.settings.id)})}),m.settings.afterInit){const N=s;m.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...m.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),jt(()=>{});function g(p,m){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class M2 extends At{constructor(e){super(),Lt(this,e,V2,D2,Nt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Mi=40,_i=13,gi=27,ba=32,O2=36,F2=35;function Zf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=jn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=jn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=Ce(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),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function U2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,N,I=i[0].buttonDismiss+"",D,T,L,V,O,U=i[0].type&&Zf(i),W=i[0].buttonConfirm!==!1&&Xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),U&&U.c(),s=q(),o=k("h2"),g=Ce(c),h=q(),_=k("div"),m=q(),v=k("footer"),S=k("div"),W&&W.c(),y=q(),C=k("div"),N=k("button"),D=Ce(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(oe,fe){E(oe,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),U&&U.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,m),w(t,v),w(v,S),W&&W.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[le(window,"keydown",i[1]),le(N,"click",i[5])],V=!0)},p(oe,[fe]){oe[0].type?U?U.p(oe,fe):(U=Zf(oe),U.c(),U.m(r,s)):U&&(U.d(1),U=null),fe&1&&c!==(c=oe[0].header+"")&&Ne(g,c),fe&1&&p!==(p=oe[0].body+"")&&(_.innerHTML=p),oe[0].buttonConfirm!==!1?W?W.p(oe,fe):(W=Xf(oe),W.c(),W.m(S,y)):W&&(W.d(1),W=null),fe&1&&I!==(I=oe[0].buttonDismiss+"")&&Ne(D,I),fe&1&&T!==(T="fd-button "+(oe[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",T),fe&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+oe[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Fe,o:Fe,d(oe){oe&&A(e),U&&U.d(),W&&W.d(),V=!1,Qe(O)}}}function B2(i,e,t){const n=Bt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),jt(()=>{const h={icon:r[l.type],header:ht.getTranslation("luigi.confirmationModal.header"),body:ht.getTranslation("luigi.confirmationModal.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Ie.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return ke.renderIconClassName(h)}function o(h){h.keyCode===gi&&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 H2 extends At{constructor(e){super(),Lt(this,e,B2,U2,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function W2(i){let e,t,n;const l=i[5].default,r=s_(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&u_(r,l,s,s[4],n?o_(l,s[4],o,null):f_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(F(r,s),n=!0)},o(s){z(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function z2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Bt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},m=v=>{if(!h)return!0;const y=[...Ie.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),Nn.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=m(S)),r("stateChanged",{backdropActive:!0}),Ie.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ie.enableA11yOfInactiveIframe()))}))}),Mn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class ts extends At{constructor(e){super(),Lt(this,e,z2,W2,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ha(i,{delay:e=0,duration:t=400,easing:n=Vo}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:G2}=Fi;function $f(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new ts({props:{disable:i[2]}});let m=i[0].title&&xf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),r=k("div"),m&&m.c(),s=q(),o=k("div"),c=k("div"),g=k("button"),g.innerHTML='<i class="sap-icon sap-icon--decline"></i>',f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),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-10o42af")},m(v,S){E(v,e,S),ze(t,e,null),w(e,n),w(e,l),w(l,r),m&&m.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),h=!0,_||(p=le(g,"click",i[12]),_=!0)},p(v,S){const y={};S&4&&(y.disable=v[2]),t.$set(y),v[0].title?m?m.p(v,S):(m=xf(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(F(t.$$.fragment,v),h=!0)},o(v){z(t.$$.fragment,v),h=!1},d(v){v&&A(e),Ge(t),m&&m.d(),_=!1,p()}}}function xf(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Ce(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ne(n,t)},d(l){l&&A(e)}}}function ec(i){let e;const t=i[11].default,n=s_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&u_(n,t,l,l[10],e?o_(t,l[10],r,null):f_(l[10]),null)},i(l){e||(F(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function tc(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
55
+ }`;var nt=Wf(function(){return gt(M,We+"return "+ve).apply(t,H)});if(nt.source=ve,po(nt))throw nt;return nt}function L0(a){return bt(a).toLowerCase()}function A0(a){return bt(a).toUpperCase()}function E0(a,u,d){if(a=bt(a),a&&(d||u===t))return Qo(a);if(!a||!(u=An(u)))return a;var b=Xn(a),P=Xn(u),M=Zo(b,P),H=Xo(b,P)+1;return nl(b,M,H).join("")}function R0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.slice(0,xo(a)+1);if(!a||!(u=An(u)))return a;var b=Xn(a),P=Xo(b,Xn(u))+1;return nl(b,0,P).join("")}function D0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.replace(ri,"");if(!a||!(u=An(u)))return a;var b=Xn(a),P=Zo(b,Xn(u));return nl(b,P).join("")}function V0(a,u){var d=W,b=oe;if(Ut(u)){var P="separator"in u?u.separator:P;d="length"in u?tt(u.length):d,b="omission"in u?An(u.omission):b}a=bt(a);var M=a.length;if(Yl(a)){var H=Xn(a);M=H.length}if(d>=M)return a;var G=d-Ql(b);if(G<1)return b;var Z=H?nl(H,0,G).join(""):a.slice(0,G);if(P===t)return Z+b;if(H&&(G+=Z.length-G),mo(P)){if(a.slice(G).search(P)){var _e,pe=Z;for(P.global||(P=Ra(P.source,bt(zi.exec(P))+"g")),P.lastIndex=0;_e=P.exec(pe);)var ve=_e.index;Z=Z.slice(0,ve===t?G:ve)}}else if(a.indexOf(An(P),G)!=G){var Re=Z.lastIndexOf(P);Re>-1&&(Z=Z.slice(0,Re))}return Z+b}function M0(a){return a=bt(a),a&&Hi.test(a)?a.replace(Zn,fp):a}var O0=nr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),wo=Wu("toUpperCase");function Hf(a,u,d){return a=bt(a),u=d?t:u,u===t?rp(a)?hp(a):Z_(a):a.match(u)||[]}var Wf=lt(function(a,u){try{return Tn(a,t,u)}catch(d){return po(d)?d:new Xe(d)}}),F0=Li(function(a,u){return Bn(u,function(d){d=fi(d),Ii(a,d,go(a[d],a))}),a});function U0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ot(a,function(b){if(typeof b[1]!="function")throw new Hn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(Tn(M[0],this,b))return Tn(M[1],this,b)}})}function B0(a){return fm(zn(a,_))}function So(a){return function(){return a}}function H0(a,u){return a==null||a!==a?u:a}var W0=Gu(),z0=Gu(!0);function yn(a){return a}function ko(a){return vu(typeof a=="function"?a:zn(a,_))}function G0(a){return Su(zn(a,_))}function q0(a,u){return ku(a,zn(u,_))}var K0=lt(function(a,u){return function(d){return Wr(d,a,u)}}),J0=lt(function(a,u){return function(d){return Wr(a,d,u)}});function Co(a,u,d){var b=tn(u),P=Ms(u,b);d==null&&!(Ut(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Ms(u,tn(u)));var M=!(Ut(d)&&"chain"in d)||!!d.chain,H=Ei(a);return Bn(P,function(G){var Z=u[G];a[G]=Z,H&&(a.prototype[G]=function(){var _e=this.__chain__;if(M||_e){var pe=a(this.__wrapped__),ve=pe.__actions__=Sn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),pe.__chain__=_e,pe}return Z.apply(a,Zi([this.value()],arguments))})}),a}function j0(){return en._===this&&(en._=vp),this}function yo(){}function Y0(a){return a=tt(a),lt(function(u){return Cu(u,a)})}var Q0=eo(Ot),Z0=eo(qo),X0=eo(Pa);function zf(a){return ao(a)?Na(fi(a)):Im(a)}function $0(a){return function(u){return a==null?t:Ll(a,u)}}var x0=Ku(),ew=Ku(!0);function Po(){return[]}function No(){return!1}function tw(){return{}}function nw(){return""}function iw(){return!0}function lw(a,u){if(a=tt(a),a<1||a>ne)return[];var d=ie,b=fn(a,ie);u=Ke(u),a-=ie;for(var P=La(b,u);++d<a;)u(d);return P}function rw(a){return xe(a)?Ot(a,fi):En(a)?[a]:Sn(of(bt(a)))}function sw(a){var u=++mp;return bt(a)+u}var aw=Ws(function(a,u){return a+u},0),ow=to("ceil"),uw=Ws(function(a,u){return a/u},1),fw=to("floor");function cw(a){return a&&a.length?Vs(a,yn,Ha):t}function dw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ha):t}function hw(a){return jo(a,yn)}function gw(a,u){return jo(a,Ke(u,2))}function _w(a){return a&&a.length?Vs(a,yn,qa):t}function pw(a,u){return a&&a.length?Vs(a,Ke(u,2),qa):t}var mw=Ws(function(a,u){return a*u},1),bw=to("round"),vw=Ws(function(a,u){return a-u},0);function ww(a){return a&&a.length?Ta(a,yn):0}function Sw(a,u){return a&&a.length?Ta(a,Ke(u,2)):0}return R.after=Gb,R.ary=vf,R.assign=Av,R.assignIn=Df,R.assignInWith=ea,R.assignWith=Ev,R.at=Rv,R.before=wf,R.bind=go,R.bindAll=F0,R.bindKey=Sf,R.castArray=tv,R.chain=pf,R.chunk=f1,R.compact=c1,R.concat=d1,R.cond=U0,R.conforms=B0,R.constant=So,R.countBy=wb,R.create=Dv,R.curry=kf,R.curryRight=Cf,R.debounce=yf,R.defaults=Vv,R.defaultsDeep=Mv,R.defer=qb,R.delay=Kb,R.difference=h1,R.differenceBy=g1,R.differenceWith=_1,R.drop=p1,R.dropRight=m1,R.dropRightWhile=b1,R.dropWhile=v1,R.fill=w1,R.filter=kb,R.flatMap=Pb,R.flatMapDeep=Nb,R.flatMapDepth=Ib,R.flatten=df,R.flattenDeep=S1,R.flattenDepth=k1,R.flip=Jb,R.flow=W0,R.flowRight=z0,R.fromPairs=C1,R.functions=zv,R.functionsIn=Gv,R.groupBy=Tb,R.initial=P1,R.intersection=N1,R.intersectionBy=I1,R.intersectionWith=T1,R.invert=Kv,R.invertBy=Jv,R.invokeMap=Ab,R.iteratee=ko,R.keyBy=Eb,R.keys=tn,R.keysIn=Cn,R.map=Ys,R.mapKeys=Yv,R.mapValues=Qv,R.matches=G0,R.matchesProperty=q0,R.memoize=Zs,R.merge=Zv,R.mergeWith=Vf,R.method=K0,R.methodOf=J0,R.mixin=Co,R.negate=Xs,R.nthArg=Y0,R.omit=Xv,R.omitBy=$v,R.once=jb,R.orderBy=Rb,R.over=Q0,R.overArgs=Yb,R.overEvery=Z0,R.overSome=X0,R.partial=_o,R.partialRight=Pf,R.partition=Db,R.pick=xv,R.pickBy=Mf,R.property=zf,R.propertyOf=$0,R.pull=R1,R.pullAll=gf,R.pullAllBy=D1,R.pullAllWith=V1,R.pullAt=M1,R.range=x0,R.rangeRight=ew,R.rearg=Qb,R.reject=Ob,R.remove=O1,R.rest=Zb,R.reverse=co,R.sampleSize=Ub,R.set=t0,R.setWith=n0,R.shuffle=Bb,R.slice=F1,R.sortBy=zb,R.sortedUniq=q1,R.sortedUniqBy=K1,R.split=P0,R.spread=Xb,R.tail=J1,R.take=j1,R.takeRight=Y1,R.takeRightWhile=Q1,R.takeWhile=Z1,R.tap=cb,R.throttle=$b,R.thru=js,R.toArray=Af,R.toPairs=Of,R.toPairsIn=Ff,R.toPath=rw,R.toPlainObject=Rf,R.transform=i0,R.unary=xb,R.union=X1,R.unionBy=$1,R.unionWith=x1,R.uniq=eb,R.uniqBy=tb,R.uniqWith=nb,R.unset=l0,R.unzip=ho,R.unzipWith=_f,R.update=r0,R.updateWith=s0,R.values=rr,R.valuesIn=a0,R.without=ib,R.words=Hf,R.wrap=ev,R.xor=lb,R.xorBy=rb,R.xorWith=sb,R.zip=ab,R.zipObject=ob,R.zipObjectDeep=ub,R.zipWith=fb,R.entries=Of,R.entriesIn=Ff,R.extend=Df,R.extendWith=ea,Co(R,R),R.add=aw,R.attempt=Wf,R.camelCase=c0,R.capitalize=Uf,R.ceil=ow,R.clamp=o0,R.clone=nv,R.cloneDeep=lv,R.cloneDeepWith=rv,R.cloneWith=iv,R.conformsTo=sv,R.deburr=Bf,R.defaultTo=H0,R.divide=uw,R.endsWith=d0,R.eq=xn,R.escape=h0,R.escapeRegExp=g0,R.every=Sb,R.find=Cb,R.findIndex=ff,R.findKey=Ov,R.findLast=yb,R.findLastIndex=cf,R.findLastKey=Fv,R.floor=fw,R.forEach=mf,R.forEachRight=bf,R.forIn=Uv,R.forInRight=Bv,R.forOwn=Hv,R.forOwnRight=Wv,R.get=bo,R.gt=av,R.gte=ov,R.has=qv,R.hasIn=vo,R.head=hf,R.identity=yn,R.includes=Lb,R.indexOf=y1,R.inRange=u0,R.invoke=jv,R.isArguments=Rl,R.isArray=xe,R.isArrayBuffer=uv,R.isArrayLike=kn,R.isArrayLikeObject=Kt,R.isBoolean=fv,R.isBuffer=il,R.isDate=cv,R.isElement=dv,R.isEmpty=hv,R.isEqual=gv,R.isEqualWith=_v,R.isError=po,R.isFinite=pv,R.isFunction=Ei,R.isInteger=Nf,R.isLength=$s,R.isMap=If,R.isMatch=mv,R.isMatchWith=bv,R.isNaN=vv,R.isNative=wv,R.isNil=kv,R.isNull=Sv,R.isNumber=Tf,R.isObject=Ut,R.isObjectLike=Wt,R.isPlainObject=jr,R.isRegExp=mo,R.isSafeInteger=Cv,R.isSet=Lf,R.isString=xs,R.isSymbol=En,R.isTypedArray=lr,R.isUndefined=yv,R.isWeakMap=Pv,R.isWeakSet=Nv,R.join=L1,R.kebabCase=_0,R.last=qn,R.lastIndexOf=A1,R.lowerCase=p0,R.lowerFirst=m0,R.lt=Iv,R.lte=Tv,R.max=cw,R.maxBy=dw,R.mean=hw,R.meanBy=gw,R.min=_w,R.minBy=pw,R.stubArray=Po,R.stubFalse=No,R.stubObject=tw,R.stubString=nw,R.stubTrue=iw,R.multiply=mw,R.nth=E1,R.noConflict=j0,R.noop=yo,R.now=Qs,R.pad=b0,R.padEnd=v0,R.padStart=w0,R.parseInt=S0,R.random=f0,R.reduce=Vb,R.reduceRight=Mb,R.repeat=k0,R.replace=C0,R.result=e0,R.round=bw,R.runInContext=j,R.sample=Fb,R.size=Hb,R.snakeCase=y0,R.some=Wb,R.sortedIndex=U1,R.sortedIndexBy=B1,R.sortedIndexOf=H1,R.sortedLastIndex=W1,R.sortedLastIndexBy=z1,R.sortedLastIndexOf=G1,R.startCase=N0,R.startsWith=I0,R.subtract=vw,R.sum=ww,R.sumBy=Sw,R.template=T0,R.times=lw,R.toFinite=Ri,R.toInteger=tt,R.toLength=Ef,R.toLower=L0,R.toNumber=Kn,R.toSafeInteger=Lv,R.toString=bt,R.toUpper=A0,R.trim=E0,R.trimEnd=R0,R.trimStart=D0,R.truncate=V0,R.unescape=M0,R.uniqueId=sw,R.upperCase=O0,R.upperFirst=wo,R.each=mf,R.eachRight=bf,R.first=hf,Co(R,function(){var a={};return oi(R,function(u,d){Ct.call(R.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),R.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){R[a].placeholder=R}),Bn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:Xt(tt(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=fn(d,b.__takeCount__):b.__views__.push({size:fn(d,ie),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Bn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==x||d==K;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}}),Bn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Bn(["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(yn)},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 Wr(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(Xs(Ke(a)))},ot.prototype.slice=function(a,u){a=tt(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=tt(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(ie)},oi(ot.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=R[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);!P||(R.prototype[u]=function(){var H=this.__wrapped__,G=b?[1]:arguments,Z=H instanceof ot,_e=G[0],pe=Z||xe(H),ve=function(at){var ut=P.apply(R,Zi([at],G));return b&&Re?ut[0]:ut};pe&&d&&typeof _e=="function"&&_e.length!=1&&(Z=pe=!1);var Re=this.__chain__,We=!!this.__actions__.length,je=M&&!Re,nt=Z&&!We;if(!M&&pe){H=nt?H:new ot(this);var Ye=a.apply(H,G);return Ye.__actions__.push({func:js,args:[ve],thisArg:t}),new Wn(Ye,Re)}return je&&nt?a.apply(this,G):(Ye=this.thru(ve),je?b?Ye.value()[0]:Ye.value():Ye)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(a){var u=vs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);R.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(H){return u.apply(xe(H)?H:[],P)})}}),oi(ot.prototype,function(a,u){var d=R[u];if(d){var b=d.name+"";Ct.call(xl,b)||(xl[b]=[]),xl[b].push({name:u,func:d})}}),xl[Hs(t,C).name]=[{name:"wrapper",func:t}],ot.prototype.clone=Mp,ot.prototype.reverse=Op,ot.prototype.value=Fp,R.prototype.at=db,R.prototype.chain=hb,R.prototype.commit=gb,R.prototype.next=_b,R.prototype.plant=mb,R.prototype.reverse=bb,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=vb,R.prototype.first=R.prototype.head,Vr&&(R.prototype[Vr]=pb),R},Zl=gp();Ci?((Ci.exports=Zl)._=Zl,Cl._=Zl):en._=Zl}).call(Zr)})(Ol,Ol.exports);class g2{getNodePath(e,t){return e?be.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=te.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)||te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(e))return;const c=le.getConfigValue("routing.useHashRouting"),g=le.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?be.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=le.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const m={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",m);window.dispatchEvent(v)}getWindowPath(){return le.getConfigValue("routing.useHashRouting")?te.getPathWithoutHash(window.location.hash):window.location.pathname.concat(window.location.search)}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=te.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=te.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(te.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.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=be.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=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return le.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?te.trimLeadingSlash(window.location.pathname)+window.location.search:te.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=le.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(le.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(){le.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(le.getConfigValueAsync("navigation.nodes"),"/"),_=await be.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 be.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=te.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,te.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),"/"),h=await be.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?te.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=le.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(c.split("?")[1]),v=be.getNodeParams(m),S=be.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(te.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,T=g.hideSideNav;if(T===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){T=!0;break}if(D.hideSideNav===!1){T=!1;break}D=D.parent}const L=be.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&O.classList.remove("lui-webComponent"),!s)if(!r)await Pn.navigateIframe(l,t,n);else{const U=t.get(),W=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(U.context),nodeParams:JSON.stringify(U.nodeParams),pathParams:JSON.stringify(U.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(W),withoutSync:!0})}Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);R_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){Vn.deleteNodesRecursively(c);break}}else r=!1}}else Vn.deleteCache()}handleRouteClick(e,t){const n=be.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(te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Pn.getActiveIframe(r);s&&s.vg&&Pn.canCache(s.vg)?(Pn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Pn.switchActiveIframe(Ie.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=be.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(te.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={...f2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=be.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else te.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=be.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t);if(t===n){const o=document.querySelector(l);o.context=t.context;return}const r=this.removeLastChildFromWCContainer();if(!r)return;const s=e.get();hr.renderWebComponent(s.viewUrl,r,s.context,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ol.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ke.checkVisibleForFeatureToggles(s))),hr.renderWebComponentCompound(t,n,l.context),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=be.getHashQueryParamSeparator();const r=be.getQueryParams(),s=be.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(le.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),s=l[r],o=new URL(location.href),c=le.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=be.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(h+="?"+be.getURLWithoutModalData(o.search,r));if(g=be.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}${be.encodeParams(l)}`}else o.search=`?${be.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let m=p.hash.split("?")[0];p.hash=m,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(le.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=be.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const et=new g2;class _2{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=be.substituteViewUrl(e,t));const l=Ie.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?te.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),s=be.getNodeParams(r),o=be.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){hr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),l.context,n);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(te.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(te.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(te.computePxFromPercent(t.rightContentHeight,100-e))+te.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:te.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,te.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}),Ie.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`,Ie.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="",Ie.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ie.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new _2;class p2{luigiAfterInit(){le.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{es.hideAppLoadingIndicator()},0)}}const m2=new p2;class b2{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=le.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 ti=new b2;class v2{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!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=le.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=le.getConfigValue(`auth.${e}`),n=sl.parseUrlAuthErrors()||{};if(!!await sl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),te.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),le.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(le.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await hi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&te.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):te.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ll(this._userInfoStore))),te.isFunction(le.getConfigValue("auth.events.onAuthSuccessful"))&&ti.isNewlyAuthorized()&&await hi.handleAuthEvent("onAuthSuccessful",e,t),ti.removeNewlyAuthorized(),te.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),te.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ti.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await hi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ti.removeAuthData()},n=le.getConfigValue(`auth.${le.getConfigValue("auth.use")}.logoutFn`);te.isFunction(n)?n(this.idpProviderInstance.settings,e,t):te.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=te.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!te.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(te.isFunction(le.getConfigValue("auth.events.onAuthConfigError")))await hi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&te.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new v2;class w2{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(te.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 $r=new w2;class S2{getStoredAuthData(){return ti.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=te.getUrlParameter("error"),t=te.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await hi.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 k2{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),m=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(m,_),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 pr=new k2;class C2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ol.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ol.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ii.isCustomLuigiContainer()?ii.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ii.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(le.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=le._remotePromises;return l||(l={counter:0,promises:[]},le._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 le._remotePromises?le._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new C2;class y2{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=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.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=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return zw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:te.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(te.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){Ie.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=le.getConfigValue("settings.customSandboxRules"),c=le.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:te.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=le.getConfigValue("settings.iframeCreationInterceptor");if(te.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=[...Ie.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 Ie.specialIframeTypes.filter(n=>Ie.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:Uo.getActiveFeatureToggleList(),currentLocale:ht.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ie=new y2;class P2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=le.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 te.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=Uo.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(hi.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=le.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=le.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,m=_.order||0;return p-m})};return e.forEach(g=>{let h,_;const p=g[t];te.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 m=r[h];m||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),m=[],r[h]=m),m.metaInfo||(m.metaInfo=_),te.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),te.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&h&&m.metaInfo.collapsible&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||m.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=le.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":ht.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(m=>{!n&&m===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const m=h.category.label||h.category;if(s[m]){if(s[m].icon||(s[m].icon=h.category.icon,s[m].altText=h.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>_};else if(p){const v=s[m].badgeCounter.count()+_;s[m].badgeCounter.count=()=>v}}else s[m]={isCat:!0,label:m,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[m]);s[m].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:le.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=le.getConfigValue("settings.burgerTooltip");if(te.isObject(e)||e===!0){const t=e.navExpanded?ht.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?ht.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:Ol.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Ol.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=ht.getTranslation(e.label);const n=be.findViewGroup(e);if(n){const l=Pn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=te.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new P2;class N2{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 fa.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ie.getLocation(e.viewUrl)===Ie.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=le.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=le.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return le.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(le.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=le.getConfigValue("routing.useHashRouting");Nn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),Nn.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,le.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(le.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=te.trimLeadingSlash(e).split("/"),l=be.buildRoute(t,`/${t.pathSegment}`),r=te.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=ht.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=te.replaceVars(e,t.pathParams,":",!1),e=te.replaceVars(e,t.context,n),e=te.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[pr.sanitizeParam(n[0])]=pr.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=>Uo.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=le.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=le.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(!!te.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=le.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:ht.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 be=new N2;class I2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const on=new I2;class T2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1,window.onunload=()=>this.removeAllEventListeners()}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 Nn=new T2;class L2{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}};Ie.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Ie.sendMessageToIframe(s,r))}}const A2=new L2;class E2{constructor(){}processUserSettingGroups(){const e=[],t=le.getConfigValue("userSettings.userSettingGroups"),n=le.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(te.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=Ie.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 fr=new E2;class R2{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 jf=new R2;function Yf(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=k("div"),t=k("p"),l=q(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=q(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){E(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=re(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function D2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qf(Yf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){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=Yf(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&&A(e),ct(n,l),i[5](null)}}}function V2(i,e,t){const n=Bt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=dt("getUnsavedChangesModalPromise"),c=dt("handleNavigation");Mn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:v,links:S,closeAfter:y}=m.settings,C=pr.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,m.settings.id)})}),m.settings.afterInit){const N=s;m.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...m.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),jt(()=>{});function g(p,m){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class M2 extends At{constructor(e){super(),Lt(this,e,V2,D2,Nt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Mi=40,_i=13,gi=27,ba=32,O2=36,F2=35;function Zf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=jn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=jn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=Ce(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),w(e,t),w(t,l),r||(s=re(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function U2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,N,I=i[0].buttonDismiss+"",D,T,L,V,O,U=i[0].type&&Zf(i),W=i[0].buttonConfirm!==!1&&Xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),U&&U.c(),s=q(),o=k("h2"),g=Ce(c),h=q(),_=k("div"),m=q(),v=k("footer"),S=k("div"),W&&W.c(),y=q(),C=k("div"),N=k("button"),D=Ce(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(oe,fe){E(oe,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),U&&U.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,m),w(t,v),w(v,S),W&&W.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[re(window,"keydown",i[1]),re(N,"click",i[5])],V=!0)},p(oe,[fe]){oe[0].type?U?U.p(oe,fe):(U=Zf(oe),U.c(),U.m(r,s)):U&&(U.d(1),U=null),fe&1&&c!==(c=oe[0].header+"")&&Ne(g,c),fe&1&&p!==(p=oe[0].body+"")&&(_.innerHTML=p),oe[0].buttonConfirm!==!1?W?W.p(oe,fe):(W=Xf(oe),W.c(),W.m(S,y)):W&&(W.d(1),W=null),fe&1&&I!==(I=oe[0].buttonDismiss+"")&&Ne(D,I),fe&1&&T!==(T="fd-button "+(oe[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",T),fe&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+oe[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Fe,o:Fe,d(oe){oe&&A(e),U&&U.d(),W&&W.d(),V=!1,Qe(O)}}}function B2(i,e,t){const n=Bt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),jt(()=>{const h={icon:r[l.type],header:ht.getTranslation("luigi.confirmationModal.header"),body:ht.getTranslation("luigi.confirmationModal.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Ie.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return ke.renderIconClassName(h)}function o(h){h.keyCode===gi&&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 H2 extends At{constructor(e){super(),Lt(this,e,B2,U2,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function W2(i){let e,t,n;const l=i[5].default,r=s_(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&u_(r,l,s,s[4],n?o_(l,s[4],o,null):f_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(F(r,s),n=!0)},o(s){z(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function z2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Bt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},m=v=>{if(!h)return!0;const y=[...Ie.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return jt(()=>{le.getConfigValue("settings.backdropDisabled")||(p(),Nn.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=m(S)),r("stateChanged",{backdropActive:!0}),Ie.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ie.enableA11yOfInactiveIframe()))}))}),Mn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class ts extends At{constructor(e){super(),Lt(this,e,z2,W2,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ha(i,{delay:e=0,duration:t=400,easing:n=Vo}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:G2}=Fi;function $f(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new ts({props:{disable:i[2]}});let m=i[0].title&&xf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),r=k("div"),m&&m.c(),s=q(),o=k("div"),c=k("div"),g=k("button"),g.innerHTML='<i class="sap-icon sap-icon--decline"></i>',f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),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-10o42af")},m(v,S){E(v,e,S),ze(t,e,null),w(e,n),w(e,l),w(l,r),m&&m.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),h=!0,_||(p=re(g,"click",i[12]),_=!0)},p(v,S){const y={};S&4&&(y.disable=v[2]),t.$set(y),v[0].title?m?m.p(v,S):(m=xf(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(F(t.$$.fragment,v),h=!0)},o(v){z(t.$$.fragment,v),h=!1},d(v){v&&A(e),Ge(t),m&&m.d(),_=!1,p()}}}function xf(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Ce(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ne(n,t)},d(l){l&&A(e)}}}function ec(i){let e;const t=i[11].default,n=s_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&u_(n,t,l,l[10],e?o_(t,l[10],r,null):f_(l[10]),null)},i(l){e||(F(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function tc(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
56
56
  <div class="fd-busy-indicator__circle"></div>
57
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){E(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=w_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=S_(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function q2(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&$f(i),N=i[5]&&ec(i),I=i[4]&&tc();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=q(),l=k("div"),N&&N.c(),r=q(),s=k("div"),g=q(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=jn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,T){E(D,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=le(G2,"keydown",i[3]),S=!0)},p(D,[T]){D[6]||D[5]&&D[0].header?C?(C.p(D,T),T&97&&F(C,1)):(C=$f(D),C.c(),F(C,1),C.m(t,n)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),D[5]?N?(N.p(D,T),T&32&&F(N,1)):(N=ec(D),N.c(),F(N,1),N.m(l,r)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),(!v||T&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||T&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?T&16&&F(I,1):(I=tc(),I.c(),F(I,1),I.m(t,null)):I&&(Le(),z(I,1,1,()=>{I=null}),Ae()),(!v||T&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||T&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=jn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||T&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(F(C),F(N),F(I),v=!0)},o(D){z(C),z(N),z(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function K2(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=Bt();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I,D=dt("store");const T=x=>ke.getNodeLabel(x),L=async x=>{const Q=x&&x.length?te.getPathWithoutHash(x):"",J=be.parseParams(Q.split("?")[1]);m=be.getNodeParams(J);const he=await Vt.extractDataFromPath(x);_=he.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=T(_),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=T(_),r),t(0,r._liveLabel=!0,r)),p=he.pathData,t(8,s=!0)},V=async x=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await W():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await U(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await L(x)},O=async()=>{let x,Q;const J=document.querySelector(".lui-modal-index-"+c),{size:he,width:ne,height:Y}=r,ye=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ne&&ne.match(ye)&&Y&&Y.match(ye))x=Y,Q=ne;else switch(he){case"fullscreen":x="100vh",Q="100vw",J.classList.add("lui-modal-fullscreen");break;case"m":x="80%",Q="60%";break;case"s":x="80%",Q="40%";break;default:x="80%",Q="80%"}J.setAttribute("style",`width:${Q};height:${x};`)},U=async(x,Q)=>{C?await W():await O(),x&&(x=be.substituteViewUrl(x,Q));const J=await Ie.createIframe(x,void 0,_,"modal",Q);return document.querySelector(I).appendChild(J),J};async function W(x){let Q="";const J=document.getElementsByClassName("drawer"),he=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Q="width:75%;":r.size==="m"?Q="width:50%;":r.size==="s"?Q="width:25%;":r.size==="xs"&&(Q="width:15.5%;")),r.backdrop?J[0].setAttribute("style",Q):(he[0].setAttribute("style",Q),J[0].setAttribute("style","width:100%"))}ma(()=>{V(o)});const oe=async x=>{x.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),x.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),x.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),x.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),x.data.msg==="luigi.navigation.updateModalSettings"&&((x.data.updatedModalSettings.title||x.data.updatedModalSettings.title==="")&&t(0,r.title=x.data.updatedModalSettings.title,r),x.data.updatedModalSettings.size&&(t(0,r.size=x.data.updatedModalSettings.size,r),await O()))};jt(()=>{on.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=T(_),r)},["navigation.viewgroupdata"]),Nn.addEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Nn.removeEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(x){x.keyCode===gi&&h("close")}const $=()=>h("close",{activeDrawer:!1});return i.$$set=x=>{"settings"in x&&t(0,r=x.settings),"isDataPrepared"in x&&t(8,s=x.isDataPrepared),"nodepath"in x&&t(9,o=x.nodepath),"modalIndex"in x&&t(1,c=x.modalIndex),"disableBackdrop"in x&&t(2,g=x.disableBackdrop),"$$scope"in x&&t(10,l=x.$$scope)},[r,c,g,fe,y,C,N,h,s,o,l,n,$]}class V_ extends At{constructor(e){super(),Lt(this,e,K2,q2,Nt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function nc(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function ic(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function lc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function rc(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=Se()},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=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=_c(nc(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){E(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=nc(r,n,o);l[o]?l[o].p(c,s):(l[o]=_c(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),ct(l,r)}}}function ac(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?j2:J2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 J2(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){E(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ne(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function j2(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){E(o,e,c),Kf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Kf(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function oc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,m,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&uc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=Ce(o),h=q(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=q(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(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,T){E(D,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[le(r,"keydown",C),le(n,"click",Ft(N))],S=!0)},p(D,T){i=D,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ne(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=uc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function uc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=fc(lc(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){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[29].options;let s;for(s=0;s<t.length;s+=1){const o=lc(l,t,s);n[s]?n[s].p(o,r):(n[s]=fc(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),ct(n,l)}}}function fc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ce(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[31]+"_"+i[34]),f(e,"tabindex","0"),di(e,"is-selected",i[4]===i[34]),di(e,"is-focus",i[4]===i[34])},m(g,h){E(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ne(l,n),h[0]&16&&di(e,"is-selected",i[4]===i[34]),h[0]&16&&di(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Qe(o)}}}function cc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=dc(ic(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=ic(s,l,c);r[c]?r[c].p(g,o):(r[c]=dc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ct(r,s)}}}function dc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ce(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){E(p,e,m),w(e,n),w(e,l),g||(h=le(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Ne(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function hc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=q(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){E(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=le(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function gc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function _c(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,v,S=i[29].type==="string"&&ac(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&oc(i),C=_&&cc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&hc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&gc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ce(l),s=Ce(":"),o=q(),c=k("div"),S&&S.c(),g=q(),y&&y.c(),h=q(),C&&C.c(),p=q(),N&&N.c(),m=q(),I&&I.c(),v=q(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,T){E(D,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,T){T[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ne(r,l),D[29].type==="string"?S?S.p(D,T):(S=ac(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,T):(y=oc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,T):(C=cc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,T):(N=hc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,T):(I=gc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function Y2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&rc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=rc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function ra(i,e,t){if(i&&t>0)return i.matches(e)?i:ra(i.parentNode,e,t-1)}function Q2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Bt();let c=dt("getTranslation");pi(i,c,Q=>t(5,n=Q));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{S(J,!1)})}function v(Q,J){let he=ra(Q.target,".fd-popover__control",20),ne=he.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(m(),S(he,!ne))}function S(Q,J){const he=Q.querySelector(".lui-activate-language-dropdown"),ne=Q.parentNode.querySelector(".fd-popover__body"),Y=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",J),ne.setAttribute("aria-hidden",!J),Y.setAttribute("aria-expanded",J),he.setAttribute("aria-expanded",J),t(14,h=J)}function y(Q,J,he){t(4,g=he),t(0,s[l[0]][Q]=J.value||J,s)}function C(Q,J){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(he=>{const ne=he.getAttribute("id"),Y=`lui-us-enum_button_${Q}_option`;ne===Y?he.classList.add("fd-button--emphasized"):he.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][Q]=J.value||J,s)}function N(Q,J){let he;if(Array.isArray(J)){for(let ne=0;ne<J.length;ne++)if(te.isObject(J[ne])){if(J[ne].value&&J[ne].value===Q){he=J[ne].label,t(4,g=ne);break}}else{he=Q,t(4,g=J.indexOf(Q));break}return n(he)}}function I(Q){return n(te.isObject(Q)?Q.label:Q)}function D(Q,J,he){return te.isObject(he)?`${Q}_${J}_${he.value}`:`${Q}_${J}_${he}`}function T(Q,J,he,ne){let Y=ra(Q.target,".lui-anchor-node",20);const ye=document.getElementById(`fd-form-input-dropdown-${he}`).children;let ie=-1;if([...ye].forEach((He,Pe)=>{He.classList.contains("is-focus")&&(ie=Pe)}),h){if(Q.keyCode===Vl&&Q.altKey&&(Y.click(),Y.focus()),Q.keyCode===Mi&&!Q.altKey){if(ie===-1){ie=0,ye.item(ie).classList.add("is-focus");return}ie<ne.options.length-1&&(ye.item(ie).classList.remove("is-focus"),ie+=1,ye.item(ie).classList.add("is-focus"))}if(Q.keyCode===Vl&&!Q.altKey){if(ie===-1){ie=ie.length-1,ye.item(ie).classList.add("is-focus");return}ie>0&&ie<ne.options.length&&(ye.item(ie).classList.remove("is-focus"),ie-=1,ye.item(ie).classList.add("is-focus"))}Q.keyCode===_i&&y(J,ne.options[ie],ie)}else Y.focus(),Q.keyCode===Mi&&Q.altKey&&Y.click(),Q.keyCode===Mi&&!Q.altKey&&ie<ne.options.length-1&&y(J,ne.options[ie+1],ie+1),Q.keyCode===Vl&&!Q.altKey&&ie>0&&ie<ne.options.length&&y(J,ne.options[ie-1],ie-1)}function L(Q){if(h){let J=ra(Q.target,".fd-popover",20);J.blur(),(Q.keyCode===ba||Q.keyCode===_i)&&(Q.target.click(),m(),setTimeout(()=>{J.focus()},0))}}N();function V(Q){s[l[0]][Q]=this.value,t(0,s)}const O=(Q,J,he,ne)=>T(ne,Q,J,he),U=Q=>v(event,Q.isEditable),W=(Q,J,he)=>y(Q,J,he),oe=Q=>L(Q),fe=(Q,J)=>C(Q,J);function $(Q){s[l[0]][Q]=this.checked,t(0,s)}function x(Q){s[l[0]][Q]=this.checked,t(0,s)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"userSettingsGroupKey"in Q&&t(15,r=Q.userSettingsGroupKey),"storedUserSettingData"in Q&&t(0,s=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,h=Q.isComboOpen)},[s,l,T,L,g,n,c,m,v,y,C,N,I,D,h,r,_,p,V,O,U,W,oe,fe,$,x]}class Z2 extends At{constructor(e){super(),Lt(this,e,Q2,Y2,Nt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:pc}=Fi;function mc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function bc(i,e,t){const n=i.slice();return n[38]=e[t],n}function vc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?$2:X2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=q(),n=k("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 X2(i){let e,t,n,l,r,s=i[38][1].initials&&wc(i);return{c(){e=k("span"),l=q(),s&&s.c(),r=Se(),f(e,"class",t=jn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ni(e,"background-image","url('"+i[38][1].icon+"')"),ni(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=jn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ni(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=wc(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 $2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=jn(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=jn(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function wc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ce(t),f(e,"class",l=jn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){E(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ne(n,t),o[0]&2&&l!==(l=jn(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function Sc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,m,v,S=i[38][1].icon&&vc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=q(),l=k("div"),r=k("div"),o=Ce(s),c=q(),g=k("div"),_=Ce(h),p=q(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){E(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[le(e,"click",Rt(y)),le(e,"keydown",C)],m=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=vc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ne(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ne(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function kc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(bc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=bc(l,t,s);n[s]?n[s].p(o,r):(n[s]=Sc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Cc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new Z2({props:o}),$e.push(()=>pt(e,"closeDropDown",r)),$e.push(()=>pt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(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],_t(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],_t(()=>n=!1)),e.$set(h)},i(c){l||(F(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function x2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,T,L,V,O,U,W,oe,fe,$,x=i[10](i[5])+"",Q,J,he,ne,Y=i[10](i[6])+"",ye,ie,He,Pe,ce=Object.entries(i[1]),X=[];for(let se=0;se<ce.length;se+=1)X[se]=kc(mc(i,ce,se));let ge=i[11]&&Cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ce(c),h=q(),_=k("div"),p=k("ul");for(let se=0;se<X.length;se+=1)X[se].c();m=q(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=q(),C=k("h2"),I=Ce(N),D=q(),T=k("div"),L=k("div"),ge&&ge.c(),V=q(),O=k("div"),U=q(),W=k("footer"),oe=k("div"),fe=k("div"),$=k("button"),Q=Ce(x),J=q(),he=k("div"),ne=k("button"),ye=Ce(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(L,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f($,"data-testid","lui-us-saveBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(fe,"class","fd-bar__element"),f(ne,"data-testid","lui-us-dismissBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(he,"class","fd-bar__element"),f(oe,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(se,De){E(se,e,De),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let Me=0;Me<X.length;Me+=1)X[Me].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,T),w(T,L),ge&&ge.m(L,null),w(T,V),w(T,O),w(t,U),w(t,W),w(W,oe),w(oe,fe),w(fe,$),w($,Q),w(oe,J),w(oe,he),w(he,ne),w(ne,ye),ie=!0,He||(Pe=[le(pc,"resize",i[20]),le(pc,"keydown",i[3]),le(S,"click",i[17]),le($,"click",i[26]),le(ne,"click",i[27])],He=!0)},p(se,De){if((!ie||De[0]&1040)&&c!==(c=se[10](se[4])+"")&&Ne(g,c),De[0]&803846){ce=Object.entries(se[1]);let Me;for(Me=0;Me<ce.length;Me+=1){const me=mc(se,ce,Me);X[Me]?X[Me].p(me,De):(X[Me]=kc(me),X[Me].c(),X[Me].m(p,null))}for(;Me<X.length;Me+=1)X[Me].d(1);X.length=ce.length}(!ie||De[0]&1152)&&N!==(N=se[10](se[7])+"")&&Ne(I,N),se[11]?ge?(ge.p(se,De),De[0]&2048&&F(ge,1)):(ge=Cc(se),ge.c(),F(ge,1),ge.m(L,null)):ge&&(Le(),z(ge,1,1,()=>{ge=null}),Ae()),(!ie||De[0]&1056)&&x!==(x=se[10](se[5])+"")&&Ne(Q,x),(!ie||De[0]&1088)&&Y!==(Y=se[10](se[6])+"")&&Ne(ye,Y)},i(se){ie||(F(ge),ie=!0)},o(se){z(ge),ie=!1},d(se){se&&A(e),ct(X,se),ge&&ge.d(),He=!1,Qe(Pe)}}}function yc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function eS(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function tS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function M_(i,e,t){if(i&&t>0)return i.matches(e)?i:M_(i.parentNode,e,t-1)}function Pc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function nS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Bt();let o,{storedUserSettings:c={}}=e,g={},h=dt("getTranslation");pi(i,h,ie=>t(10,n=ie));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,m=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const ie=re.getConfigValue("userSettings.userSettingsDialog"),He=ie||re.getConfigValue("settings.userSettings.userSettingsDialog");He&&(t(4,_=He.dialogHeader?He.dialogHeader:_),t(5,p=He.saveBtn?He.saveBtn:p),t(6,m=He.dismissBtn?He.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Nn.addEventListener("message",Pe=>{const ce=Ie.getValidMessageSource(Pe);if(!ce||Pe.data.msg!=="custom")return;ce._ready=!0;const X=ca.convertCustomMessageInternalToUser(Pe.data),ge="luigi.updateUserSettings";if(X.id===ge){const se=fr.findActiveCustomUserSettingsIframe(Pe.source);if(se){let De=se.getAttribute("userSettingsGroup");t(0,c[De]=X.data,c)}}X.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&O()}),re.readUserSettings().then(Pe=>{g=JSON.parse(JSON.stringify(Pe)),Pe===null?t(0,c=yc(JSON.parse(JSON.stringify(r)),{})):t(0,c=yc(JSON.parse(JSON.stringify(r)),Pe)),D([S,r[0][S]])}).catch(Pe=>{Pe&&Pe.message&&console.error(Pe.message),Pe&&Pe.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(ie){if(t(7,y=ie.title?ie.title:""),!!te.isObject(ie.settings))for(let He in ie.settings){let Pe=ie.settings[He];Pe.type==="enum"?Array.isArray(Pe.options)||console.error(`There is no options array for '${He}' defined in the Luigi userSettings config.`):Pe.type===void 0&&console.error(`There is no data type defined for '${He}' in the Luigi userSettings config.`)}}function D(ie,He){t(11,o=ie);let Pe=ie[0],ce=ie[1];if(I(ce),He?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ge=>{ge.classList.remove("is-selected")}),M_(He.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Pc()),ce.viewUrl){if(fr.hideUserSettingsIframe(),v.hasOwnProperty(Pe))fr.getUserSettingsIframesInDom().forEach(X=>{X.userSettingsGroup===Pe&&(X.style.display="block")});else{const X=$r.hasDecorators()?$r.applyDecorators(ce.viewUrl):ce.viewUrl;let ge=fr.createIframe(X,Pe);v[Pe]=ge}eS()}else tS()}const T=ie=>{t(0,c=ie.detail.userSettings)};function L(){re.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Pc()}function U(ie){return ke.renderIconClassName(ie)}function W(ie){return ke.isOpenUIiconName(ie.icon)}let oe;const fe=()=>{const ie=window.innerWidth>=$t.desktopMinWidth&&oe<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&oe>=$t.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!oe){let Pe=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Pe.style.display="none":Pe.style.display="block"}oe=window.innerWidth};function $(ie,He){let Pe=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===_i||ie.keyCode===ba)&&Pe[He].click(),ie.keyCode===F2&&Pe[Object.keys(r).length-1].focus(),ie.keyCode===O2&&Pe[0].focus()}function x(ie){ie.keyCode===gi&&C?N():ie.keyCode===gi&&!C&&s("close")}const Q=ie=>D(ie,event),J=(ie,He)=>$(He,[ie]);function he(ie){N=ie,t(9,N)}function ne(ie){C=ie,t(8,C)}const Y=()=>L(),ye=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,$,x,_,p,m,y,C,N,n,o,s,h,D,T,L,O,U,W,fe,l,Q,J,he,ne,Y,ye]}class iS extends At{constructor(e){super(),Lt(this,e,nS,x2,Nt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:lS}=Fi;function rS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function sS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=k("h1"),s=Ce(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){E(g,e,h),w(e,t),E(g,n,h),E(g,l,h),w(l,s),o||(c=le(t,"click",Ft(Rt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ne(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function Nc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=q(),n=k("div"),l=k("div"),r=q(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){E(g,e,h),E(g,t,h),E(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Ft(Rt(i[3]))),le(n,"mousedown",Ft(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function aS(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?sS:rS}let p=_(i),m=p(i),v=!i[0]&&Nc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),m.c(),s=q(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){E(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),c=!0,g||(h=le(lS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=Nc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(F(t.$$.fragment,S),c=!0)},o(S){z(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function oS(i,e,t){const n=Bt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=dt("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(he=>{he==="splitViewSettings"?t(1,y=J.splitViewSettings):he==="lastNode"?r=J.lastNode:he==="pathData"?s=J.pathData:he==="nodeParams"?o=J.nodeParams:he==="collapsed"?t(0,S=J.collapsed):he==="isDataPrepared"?t(8,C=J.isDataPrepared):he==="currentNode"?c=J.currentNode:he==="splitViewIframe"?h=J.splitViewIframe:he==="splitViewIframeData"?_=J.splitViewIframeData:he==="splitViewWC"?p=J.splitViewWC:he==="splitViewWCData"&&(m=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||rt.createAndSetView(T()):await rt.prepareSplitViewData(T(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const J=rt.getDraggerBackdrop();J&&(J.style.display="none"),V(),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 U(J){if(!!Ie.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&rt.close(T()),J.data.msg==="luigi.navigation.splitview.collapse"&&W(),J.data.msg==="luigi.navigation.splitview.expand"&&oe(),J.data.msg==="luigi.navigation.splitview.resize")){const he=parseInt(J.data.data);if(rt.calculateAndSetSplitViewValues(he,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{fe(),g=U.bind(this),Nn.addEventListener("message",g)}),ma(()=>{L(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function W(){rt.collapse(T())}async function oe(){await rt.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function fe(){const J=te.getShellbarHeight();rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-J,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=J+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function $(J){let he=J.y,ne={};const Y=function(ce){const X=he-ce.y,ge=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ge)||X===0)return;const se=ge-X,De=rt.internalValues.innerHeight-se,Me=rt.enforceTresholds(se,De);se<Me.top||De<Me.bottom||(ne=Me,he=ce.y,l.draggable.style.top=`${ne.top}px`)},ye=function(){if(ie(),!ne.top||!ne.bottom||ne.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ne.top,rt.splitViewValues=ne,O(),rt.sendMessageToClients("resize.ok",ne.percent)},ie=function(){document.removeEventListener("mouseup",ye),document.removeEventListener("mousemove",Y)},He=function(){document.addEventListener("mouseup",ye),document.addEventListener("mousemove",Y)};V(),ie(),He(),rt.getDraggerBackdrop().style.display="block"}const x=J=>{let he=rt.getDraggerButton();he&&(he.style.display=J?"block":"none"),he=rt.getCollapsedDraggerButton(),he&&(he.style.display=J?"block":"none")},Q=J=>{x(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,v=J.nodepath),"collapsed"in J&&t(0,S=J.collapsed),"splitViewSettings"in J&&t(1,y=J.splitViewSettings),"isDataPrepared"in J&&t(8,C=J.isDataPrepared),"disableBackdrop"in J&&t(2,N=J.disableBackdrop)},[S,y,N,W,oe,fe,$,Q,C,v]}class uS extends At{constructor(e){super(),Lt(this,e,oS,aS,Nt,{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 Ic(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dS,then:cS,catch:fS,value:1};return ua(t=i[0].badgeCounter.count(),n),{c(){e=Se(),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())&&ua(t,n)||k_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function fS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function cS(i){let e,t=i[1]>0&&Tc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Tc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ce(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){E(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ne(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function dS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function hS(i){let e,t=i[0]&&i[0].badgeCounter&&Ic(i);return{c(){t&&t.c(),e=Se()},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=Ic(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&&A(e)}}}function gS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Yn extends At{constructor(e){super(),Lt(this,e,gS,hS,Nt,{node:0})}}function Lc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ne(l,n)},d(r){r&&A(e)}}}function _S(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Lc(i);return{c(){t&&t.c(),e=Se()},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=Lc(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&&A(e)}}}function pS(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 ns extends At{constructor(e){super(),Lt(this,e,pS,_S,Nt,{node:0})}}const{window:na}=Fi;function Ac(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Ec(i,e,t){const n=i.slice();return n[71]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Mc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Oc(i),p=i[12].showUpLink&&Fc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=q(),s=k("span"),c=Ce(o),g=q(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(m,v){E(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[12].icon?_?_.p(m,v):(_=Oc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=m[24](m[12].label)+"")&&Ne(c,o),m[12].showUpLink?p?p.p(m,v):(p=Fc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=m[32](m[12],m[24](m[12].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Oc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 mS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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 bS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){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-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Fc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=le(e,"click",Rt(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 Uc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=od(Ac(i,r,c));const o=c=>z(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Ac(c,r,h);s[h]?(s[h].p(_,g),F(s[h],1)):(s[h]=od(_),s[h].c(),F(s[h],1),s[h].m(t,null))}for(Le(),h=r.length;h<s.length;h+=1)o(h);Ae()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)F(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&&A(e),ct(s,c)}}}function vS(i){let e,t,n,l;const r=[kS,SS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),z(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),F(t,1),t.m(n.parentNode,n))},i(c){l||(F(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function wS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=ad(Vc(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=Se()},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]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Vc(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=ad(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function SS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Bc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Kc(Ec(i,_,v));const m=v=>z(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=q(),l=Ce(n),o=q();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){E(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),E(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);E(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Bc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ne(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Ec(v,_,y);p[y]?(p[y].p(C,S),F(p[y],1)):(p[y]=Kc(C),p[y].c(),F(p[y],1),p[y].m(c.parentNode,c))}for(Le(),y=_.length;y<p.length;y+=1)m(y);Ae()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)F(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)z(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ct(p,v),v&&A(c)}}}function kS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O,U,W,oe,fe,$;function x(X,ge){return ge[0]&8192&&(l=null),l==null&&(l=!!X[28](X[68].metaInfo.icon)),l?AS:LS}let Q=x(i,[-1,-1,-1]),J=Q(i);function he(){return i[46](i[68])}function ne(){return i[47](i[68])}function Y(...X){return i[48](i[68],...X)}let ye=i[68],ie=[];for(let X=0;X<ye.length;X+=1)ie[X]=Zc(Dc(i,ye,X));const He=X=>z(ie[X],1,1,()=>{ie[X]=null});let Pe=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Xc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),J.c(),r=q(),s=k("span"),c=Ce(o),v=q(),S=k("button"),y=k("i"),T=q(),L=k("ul");for(let X=0;X<ie.length;X+=1)ie[X].c();O=q(),Pe&&Pe.c(),U=q(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(pn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=pn(i[68],i[9])),f(y,"class",C=pn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=pn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",D=i[6]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(L,"aria-hidden",V=!pn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[31](i[68].metaInfo,i[67])),di(e,"lui-item-expanded",pn(i[68],i[9]))},m(X,ge){E(X,e,ge),w(e,t),w(t,n),J.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,L);for(let se=0;se<ie.length;se+=1)ie[se].m(L,null);w(e,O),Pe&&Pe.m(e,null),w(e,U),oe=!0,fe||($=[le(n,"click",Rt(he)),le(S,"click",Rt(ne)),le(t,"keypress",Y),le(e,"click",Ft(ce))],fe=!0)},p(X,ge){if(i=X,Q===(Q=x(i,ge))&&J?J.p(i,ge):(J.d(1),J=Q(i),J&&(J.c(),J.m(n,r))),(!oe||ge[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ne(c,o),(!oe||ge[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!oe||ge[0]&8704&&h!==(h="fd-nested-list__link "+(pn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!oe||ge[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!oe||ge[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!oe||ge[0]&8704&&m!==(m=pn(i[68],i[9])))&&f(n,"aria-expanded",m),(!oe||ge[0]&8704&&C!==(C=pn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!oe||ge[0]&8704&&N!==(N=pn(i[68],i[9])))&&f(S,"aria-expanded",N),(!oe||ge[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!oe||ge[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),ge[0]&1686151296|ge[1]&66){ye=i[68];let se;for(se=0;se<ye.length;se+=1){const De=Dc(i,ye,se);ie[se]?(ie[se].p(De,ge),F(ie[se],1)):(ie[se]=Zc(De),ie[se].c(),F(ie[se],1),ie[se].m(L,null))}for(Le(),se=ye.length;se<ie.length;se+=1)He(se);Ae()}(!oe||ge[0]&8704&&V!==(V=!pn(i[68],i[9])))&&f(L,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Pe?(Pe.p(i,ge),ge[0]&8448&&F(Pe,1)):(Pe=Xc(i),Pe.c(),F(Pe,1),Pe.m(e,U)):Pe&&(Le(),z(Pe,1,1,()=>{Pe=null}),Ae()),(!oe||ge[0]&8192&&W!==(W=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",W),(!oe||ge[0]&8704)&&di(e,"lui-item-expanded",pn(i[68],i[9]))},i(X){if(!oe){for(let ge=0;ge<ye.length;ge+=1)F(ie[ge]);F(Pe),oe=!0}},o(X){ie=ie.filter(Boolean);for(let ge=0;ge<ie.length;ge+=1)z(ie[ge]);z(Pe),oe=!1},d(X){X&&A(e),J.d(),ct(ie,X),Pe&&Pe.d(),fe=!1,Qe($)}}}function Bc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 CS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function yS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hc(i){let e,t,n=i[71].label&&Wc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Wc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Wc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(fe,$){return fe[71].icon?NS:PS}let T=D(i),L=T(i),V=i[71].statusBadge&&zc(i),O=i[71].externalLink&&i[71].externalLink.url&&Gc(),U=i[71].badgeCounter&&qc(i);function W(...fe){return i[54](i[71],...fe)}function oe(...fe){return i[55](i[71],...fe)}return{c(){e=k("li"),t=k("a"),L.c(),n=q(),l=k("span"),s=Ce(r),o=q(),V&&V.c(),g=q(),O&&O.c(),h=q(),U&&U.c(),S=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(fe,$){E(fe,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),U&&U.m(t,null),w(e,S),C=!0,N||(I=[le(t,"click",W),le(t,"keyup",function(){Oi(i[23]?void 0:oe)&&(i[23]?void 0:oe).apply(this,arguments)})],N=!0)},p(fe,$){i=fe,T===(T=D(i))&&L?L.p(i,$):(L.d(1),L=T(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r),i[71].statusBadge?V?(V.p(i,$),$[0]&8192&&F(V,1)):(V=zc(i),V.c(),F(V,1),V.m(l,null)):V&&(Le(),z(V,1,1,()=>{V=null}),Ae()),(!C||$[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Gc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?U?(U.p(i,$),$[0]&8192&&F(U,1)):(U=qc(i),U.c(),F(U,1),U.m(t,null)):U&&(Le(),z(U,1,1,()=>{U=null}),Ae()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||$[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(fe){C||(F(V),F(U),C=!0)},o(fe){z(V),z(U),C=!1},d(fe){fe&&A(e),L.d(),V&&V.d(),O&&O.d(),U&&U.d(),N=!1,Qe(I)}}}function PS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=q(),l=k("span"),s=Ce(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),w(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ne(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function NS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?TS:IS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 IS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function TS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function zc(i){let e,t;return e=new ns({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Gc(i){let e;return{c(){e=k("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 Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Kc(i){let e,t,n=!i[71].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Hc(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function LS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function AS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jc(i){let e,t,n=i[71].label&&jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=jc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function jc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Yc(),T=i[71].badgeCounter&&Qc(i);function L(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=q(),qe(o.$$.fragment),g=q(),D&&D.c(),h=q(),T&&T.c(),y=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,U){i=O,(!C||U[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const W={};U[0]&8192&&(W.node=i[71]),o.$set(W),(!C||U[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Yc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?T?(T.p(i,U),U[0]&8192&&F(T,1)):(T=Qc(i),T.c(),F(T,1),T.m(t,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!C||U[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||U[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||U[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||U[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||U[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(F(o.$$.fragment,O),F(T),C=!0)},o(O){z(o.$$.fragment,O),z(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function Yc(i){let e;return{c(){e=k("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 Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zc(i){let e,t,n=!i[71].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Jc(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(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]=nd(Rc(i,g,p));const _=p=>z(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ce(l),s=q(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ne(r,l),m[0]&1686151296|m[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Rc(p,g,v);h[v]?(h[v].p(S,m),F(h[v],1)):(h[v]=nd(S),h[v].c(),F(h[v],1),h[v].m(o,null))}for(Le(),v=g.length;v<h.length;v+=1)_(v);Ae()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)F(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)z(h[m]);c=!1},d(p){p&&A(e),ct(h,p)}}}function $c(i){let e,t,n=i[71].label&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=xc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function xc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&ed(),T=i[71].badgeCounter&&td(i);function L(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=q(),qe(o.$$.fragment),g=q(),D&&D.c(),h=q(),T&&T.c(),y=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,U){i=O,(!C||U[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const W={};U[0]&8192&&(W.node=i[71]),o.$set(W),(!C||U[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=ed(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?T?(T.p(i,U),U[0]&8192&&F(T,1)):(T=td(i),T.c(),F(T,1),T.m(t,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!C||U[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||U[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||U[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||U[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||U[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(F(o.$$.fragment,O),F(T),C=!0)},o(O){z(o.$$.fragment,O),z(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function ed(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function td(i){let e,t;return e=new Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function nd(i){let e,t,n=!i[71].hideFromNav&&$c(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=$c(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function id(i){let e,t,n=i[71].label&&ld(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=ld(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ld(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(fe,$){return fe[71].icon?RS:ES}let L=T(i),V=L(i);c=new ns({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&rd(),U=i[71].badgeCounter&&sd(i);function W(...fe){return i[44](i[71],...fe)}function oe(...fe){return i[45](i[71],...fe)}return{c(){e=k("li"),t=k("a"),V.c(),n=q(),l=k("span"),s=Ce(r),o=q(),qe(c.$$.fragment),h=q(),O&&O.c(),_=q(),U&&U.c(),C=q(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",m=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(fe,$){E(fe,e,$),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),U&&U.m(t,null),w(e,C),N=!0,I||(D=[le(t,"click",W),le(t,"keyup",function(){Oi(i[23]?void 0:oe)&&(i[23]?void 0:oe).apply(this,arguments)})],I=!0)},p(fe,$){i=fe,L===(L=T(i))&&V?V.p(i,$):(V.d(1),V=L(i),V&&(V.c(),V.m(t,n))),(!N||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r);const x={};$[0]&8192&&(x.node=i[71]),c.$set(x),(!N||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=rd(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?U?(U.p(i,$),$[0]&8192&&F(U,1)):(U=sd(i),U.c(),F(U,1),U.m(t,null)):U&&(Le(),z(U,1,1,()=>{U=null}),Ae()),(!N||$[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||$[0]&8192&&m!==(m=i[32](i[71],i[26](i[71]))))&&f(t,"title",m),(!N||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!N||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||$[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(fe){N||(F(c.$$.fragment,fe),F(U),N=!0)},o(fe){z(c.$$.fragment,fe),z(U),N=!1},d(fe){fe&&A(e),V.d(),Ge(c),O&&O.d(),U&&U.d(),I=!1,Qe(D)}}}function ES(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){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 RS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?VS:DS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 DS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function VS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function rd(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function sd(i){let e,t;return e=new Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ad(i){let e,t,n=!i[71].hideFromNav&&id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=id(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function od(i){let e,t,n,l,r,s;const o=[wS,vS],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(US).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Le(),z(c[p],1,1,()=>{c[p]=null}),Ae()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),F(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(F(l),s=!0)},o(h){z(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ud(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&fd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ce(l),s=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ne(r,l),c[3]?o?o.p(c,g):(o=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function fd(i){let e;function t(r,s){return r[4]=="button"?OS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 MS(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[le(e,"click",i[57]),le(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Qe(l)}}}function OS(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1f9ma6n")},m(s,o){E(s,e,o),w(e,t),l||(r=le(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function FS(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Mc(i),p=i[0]&&i[5].length>1&&Uc(i),m=(i[2]||i[3])&&ud(i);return{c(){e=k("div"),_&&_.c(),t=q(),n=k("nav"),l=k("div"),p&&p.c(),r=q(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n")},m(v,S){E(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[le(na,"resize",i[17]),le(na,"click",i[21]),le(na,"blur",i[21]),le(na,"keydown",i[33]),le(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Mc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&F(p,1)):(p=Uc(v),p.c(),F(p,1),p.m(l,null)):p&&(Le(),z(p,1,1,()=>{p=null}),Ae()),v[2]||v[3]?m?m.p(v,S):(m=ud(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n"))&&f(e,"class",o)},i(v){c||(F(p),c=!0)},o(v){z(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function pn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const US=i=>!i.hideFromNav&&i.label;function BS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async ee=>{ee&&(Object.getOwnPropertyNames(ee).forEach(async Ee=>{if(Ee==="pathData")t(5,p=ee.pathData);else if(Ee==="context")O=ee.context;else if(Ee==="children")t(0,s=ee.children);else if(Ee==="selectedNode")t(7,y=ee.selectedNode);else if(Ee==="hasCategoriesWithIcon")t(10,I=ee.hasCategoriesWithIcon);else if(Ee==="navParent"){t(12,L=void 0);let st=ee.navParent;if(t(41,V=st),st&&st.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,wt=st;if(yt==="inherit"){for(wt=st.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;yt=wt?wt.navHeader:void 0}if(yt instanceof Function){t(12,L={});let sn=yt(ke.stripNode(st),ke.stripNode(wt),O);sn instanceof Promise?sn.then(bn=>{t(12,L=bn)}):t(12,L=sn)}else if(yt==="auto")t(12,L={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(12,L={...yt,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(12,L=yt);const sn=be.mapPathToNode(tt.getCurrentPath(),wt);Vt.extractDataFromPath(sn).then(bn=>{const Zn=be.substituteDynamicParamsInObject(Object.assign({},bn.pathData.context,wt.context),bn.pathData.pathParams);ke.fetchNodeTitleData(wt,Zn).then(Fn=>{t(12,L={...yt,...Fn})}).catch(Fn=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...yt,label:st.label,icon:st.icon})})})}else t(12,L=await He(yt,wt))}}}),t(40,D=ke.getSideNavAccordionMode(y)))}},r=Bt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:T}=e,{navHeader:L}=e,{navParentNode:V}=e,O,U,W,oe=dt("store"),fe=dt("getTranslation");pi(i,fe,ee=>t(24,n=ee));let $=!1;const x=ee=>ke.getNodeLabel(ee),Q=async()=>{const ee=l.get(),Ee=await Vt.getLeftNavData({...ee},ee);!Ee||(l.set(Ee),U=p,window.LEFTNAVDATA=Ee.children)};jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,W=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),on.doOnStoreChange(oe,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(oe,()=>{Q()},["navigation.viewgroupdata"]);let ee=ci.initial();t(6,S=ee.isSemiCollapsed),t(39,g=ee.semiCollapsible),ci.onValueChanged(Ee=>{t(6,S=Ee.isSemiCollapsed)}),Nn.addEventListener("message",Ee=>{Ee.data.msg==="luigi.navigation.update-badge-counters"&&Q()})}),Mn(()=>{(!U||U!=p)&&Q(),t(22,W=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:J}=e;function he(ee){return ke.renderIconClassName(ee)}function ne(ee){return ke.isOpenUIiconName(ee)}function Y(ee){return ee.testId?ee.testId:ke.prepareForTests(ee.pathSegment,ee.label)}function ye(ee){return be.getNodeHref(ee,m)}function ie(ee,Ee){return ee&&ee.testId?ee.testId:ke.prepareForTests(Ee||ee.label)}async function He(ee,Ee){const st=be.mapPathToNode(tt.getCurrentPath(),Ee),wt=(await Vt.extractDataFromPath(st)).pathData.pathParams;return be.substituteDynamicParamsInObject(ee,wt)}function Pe(ee,Ee){return ke.generateTooltipText(ee,Ee)}function ce(ee){r("handleClick",{node:ee})}function X(ee,Ee){if(ci.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(ee.metaInfo&&ee.metaInfo.label?st=ee.metaInfo.label:st=ee.category&&ee.category.label||ee.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===C){t(8,C=ci.closePopupMenu(C));return}t(8,C=st),ge(Ee)}}function ge(ee){const Ee=ee.closest(".fd-nested-list__item"),st=Ee.offsetTop,yt=ii.getShellbar().offsetHeight;let wt;ii.isCustomLuigiContainer()?wt=ii.getCustomLuigiContainer().clientHeight:wt=window.innerHeight,setTimeout(()=>{const sn=Ee.getElementsByClassName("lui-flyout-sublist")[0],bn=ee.closest(".lui-fd-side-nav-wrapper").scrollTop,Zn=st+yt-bn,Fn=wt-st-Ee.offsetHeight+bn-yt;Zn+sn.offsetHeight>=wt?(sn.style.bottom=Fn+"px",sn.className+=" has-bottom-position"):sn.style.top=Zn-yt+"px"})}function se(){if(g){let ee=ci.onResize(C);t(6,S=ee.isSemiCollapsed),t(8,C=ee.selectedCategory)}}function De(ee){if(ee.code==="ArrowRight"){const st=Ie.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function Me(ee){let Ee=V?V.parent:void 0;for(;Ee;){if(Ee.pathSegment&&Ee.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ee});return}Ee=Ee.parent}console.warn('Could not resolve "up"-node, redirecting to root'),R_.navigate("/")}function me(ee,Ee){ci.getCollapsed()||t(9,N=ke.storeExpandedState(ee.metaInfo.categoryUid,Ee,D))}function Ze(){t(8,C=ci.closePopupMenu(C))}function Dt(ee){ee&&ee.code==="Escape"&&Ze()}function Ht(){t(6,S=ci.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),zt()}function vt(ee){const Ee=ee.code;(Ee==="Enter"||Ee==="Space")&&Ht()}function un(ee,Ee){(ee.code==="Enter"||ee==="Space")&&X(Ee,ee.currentTarget)}function On(ee,Ee){ee.keyCode===_i&&ke.handleNavAnchorClickedWithoutMetaKey(ee)&&ce(Ee)}function zt(){if(!ke.getBurgerTooltipConfig())return;const[ee,Ee]=ke.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");ee&&Ee&&st&&t(11,T=document.body.classList.contains("semiCollapsed")?ee:Ee)}function mi(ee,Ee){return pn(ee,Ee)?ee.metaInfo.titleCollapseButton?n(ee.metaInfo.titleCollapseButton):void 0:ee.metaInfo.titleExpandButton?n(ee.metaInfo.titleExpandButton):void 0}const Ui=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},xt=(ee,Ee)=>On(Ee,ee),Yt=ee=>me(ee,!pn(ee,N)),Qn=ee=>me(ee,!pn(ee,N)),Et=(ee,Ee)=>un(Ee,ee),mn=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},Qt=(ee,Ee)=>On(Ee,ee),Bi=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},Gt=(ee,Ee)=>On(Ee,ee),ln=ee=>X(ee,event.currentTarget),bi=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},li=(ee,Ee)=>On(Ee,ee),rn=ee=>Ht(),vi=ee=>Ht(),wi=ee=>vt(ee);return i.$$set=ee=>{"children"in ee&&t(0,s=ee.children),"hideNavComponent"in ee&&t(1,o=ee.hideNavComponent),"footerText"in ee&&t(2,c=ee.footerText),"semiCollapsible"in ee&&t(39,g=ee.semiCollapsible),"semiCollapsibleButton"in ee&&t(3,h=ee.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ee&&t(4,_=ee.semiCollapsibleButtonStyle),"pathData"in ee&&t(5,p=ee.pathData),"pathParams"in ee&&t(42,m=ee.pathParams),"virtualGroupPrefix"in ee&&t(14,v=ee.virtualGroupPrefix),"isSemiCollapsed"in ee&&t(6,S=ee.isSemiCollapsed),"selectedNode"in ee&&t(7,y=ee.selectedNode),"selectedCategory"in ee&&t(8,C=ee.selectedCategory),"expandedCategories"in ee&&t(9,N=ee.expandedCategories),"hasCategoriesWithIcon"in ee&&t(10,I=ee.hasCategoriesWithIcon),"sideNavAccordionMode"in ee&&t(40,D=ee.sideNavAccordionMode),"burgerTooltip"in ee&&t(11,T=ee.burgerTooltip),"navHeader"in ee&&t(12,L=ee.navHeader),"navParentNode"in ee&&t(41,V=ee.navParentNode),"sortedChildrenEntries"in ee&&t(13,J=ee.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ee=Object.entries(s);ee.sort((Ee,st)=>Ee[1].metaInfo.order-st[1].metaInfo.order),t(13,J=ee)}},[s,o,c,h,_,p,S,y,C,N,I,T,L,J,v,ce,X,se,De,Me,me,Ze,W,$,n,fe,x,he,ne,Y,ye,ie,Pe,Dt,Ht,vt,un,On,mi,g,D,V,m,ge,Ui,xt,Yt,Qn,Et,mn,Qt,Bi,Gt,ln,bi,li,rn,vi,wi]}class HS extends At{constructor(e){super(),Lt(this,e,BS,FS,Nt,{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 WS=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),O_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},zS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),O_=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 te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!zS(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=es.getDocumentTitle()||r;i.set({title:r}),document.title=ht.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function cd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dd(i,e,t){const n=i.slice();return n[43]=e[t],n}function GS(i){let e,t,n,l,r=i[1]&&hd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=hd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function qS(i){let e,t,n,l,r=i[1]&&gd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),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=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=gd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function hd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){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 gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},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 _d(i){let e,t;function n(o,c){return o[3]?KS:JS}let l=n(i),r=l(i),s=i[10]&&Pd(i);return{c(){r.c(),e=q(),s&&s.c(),t=Se()},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=Pd(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 KS(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?YS:jS}let p=_(i),m=p(i),v=i[4]&&i[5]&&Sd(i),S=i[7]&&i[7].length>0&&kd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=q(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=q(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){E(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=le(t,"click",Ft(ek)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=Sd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=kd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function JS(i){let e;function t(r,s){return r[12]?$S:XS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 jS(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=Ce(n),r=q(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Ft(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function YS(i){let e,t,n,l=i[7]&&i[7].length===1&&pd(i),r=i[7]&&i[7].length>1&&md(i),s=i[7].length>1&&!i[5]&&wd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),s&&s.c(),n=Se()},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=pd(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=md(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=wd(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 pd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){E(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ne(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function md(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=vd(dd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=dd(l,t,s);n[s]?n[s].p(o,r):(n[s]=vd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function bd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=q(),s=k("i"),o=q(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){E(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=le(e,"click",Rt(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Ne(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function vd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&bd(i);return{c(){n&&n.c(),t=Se()},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=bd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function wd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=q(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Rt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function Sd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Rt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ne(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 kd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=yd(cd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=cd(l,t,s);n[s]?n[s].p(o,r):(n[s]=yd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function QS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ne(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function ZS(i){let e,t=i[16]&&Cd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Cd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Cd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=q(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){E(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function yd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return ZS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return QS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),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 XS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function $S(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function Pd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function xS(i){let e,t;function n(o,c){return o[12]?qS:GS}let l=n(i),r=l(i),s=i[2]&&_d(i);return{c(){r.c(),e=q(),s&&s.c(),t=Se()},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=_d(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const ek=()=>{};function tk(i,e,t){let n;const l=Bt();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:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,T,L=dt("getUnsavedChangesModalPromise"),V=dt("getTranslation");pi(i,V,me=>t(17,n=me));let O=dt("store");const U={closeDropDown:()=>{Q("appSwitcherPopover")}},W=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:me=>{me&&Object.getOwnPropertyNames(me).forEach(Ze=>{Ze==="pathData"?t(24,N=me.pathData):Ze==="appSwitcherItems"?t(7,m=me.appSwitcherItems):Ze==="itemRenderer"?t(8,v=me.itemRenderer):Ze==="pathParams"?t(9,S=me.pathParams):Ze==="selectedItem"?t(5,_=me.selectedItem):Ze==="title"?t(2,o=me.title):Ze==="defaultSubTitle"?t(23,C=me.defaultSubTitle):Ze==="subTitle"?t(10,y=me.subTitle):Ze==="defaultTitle"?t(6,p=me.defaultTitle):Ze==="subTitle"?t(10,y=me.subTitle):Ze==="showMainAppEntry"?t(4,h=me.showMainAppEntry):Ze==="hasApps"?t(3,c=me.hasApps):Ze==="hasLogo"&&t(1,s=me.hasLogo)})},store:O});jt(()=>{WS(W())}),Mn(()=>{(!T||T!=N)&&(O_(W()),T=N)});function oe(me,Ze,Dt){return setTimeout(()=>{Ze&&v(me,Ze.children[Dt],U)}),""}function fe(me){L().then(()=>{tt.navigateTo(be.applyPathParams(me,S))},()=>{})}function $(){L().then(()=>{tt.navigateTo("/")},()=>{})}function x(me){l("handleClick",{node:me}),Q("appSwitcherPopover")}function Q(me){l("toggleDropdownState",{name:me})}function J(me){return me.testId?me.testId:ke.prepareForTests(me.title||me)}function he(me,Ze){if(me.link){const Dt=be.applyPathParams(me.link,Ze);if(Dt.indexOf(":")!==0&&Dt.indexOf("/:")===-1)return!0}return!1}function ne(me){return be.getNodeHref(me)}function Y(me){$e[me?"unshift":"push"](()=>{r=me,t(0,r)})}const ye=me=>{ke.handleNavAnchorClickedWithoutMetaKey(me)&&fe("/")};function ie(me){$e[me?"unshift":"push"](()=>{r=me,t(0,r)})}const He=()=>fe("/"),Pe=me=>{ke.handleNavAnchorClickedWithoutMetaKey(me)&&fe("/")},ce=()=>fe("/"),X=()=>Q("appSwitcherPopover"),ge=()=>Q("appSwitcherPopover"),se=()=>Q("appSwitcherPopover"),De=(me,Ze)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ze)&&fe(me.link)};function Me(me){$e[me?"unshift":"push"](()=>{D=me,t(16,D)})}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,m=me.appSwitcherItems),"itemRenderer"in me&&t(8,v=me.itemRenderer),"pathParams"in me&&t(9,S=me.pathParams),"subTitle"in me&&t(10,y=me.subTitle),"defaultSubTitle"in me&&t(23,C=me.defaultSubTitle),"pathData"in me&&t(24,N=me.pathData),"addNavHrefForAnchor"in me&&t(12,I=me.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,fe,$,Q,D,n,V,oe,J,he,ne,C,N,x,Y,ye,ie,He,Pe,ce,X,ge,se,De,Me]}class nk extends At{constructor(e){super(),Lt(this,e,tk,xS,Nt,{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 Nd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Id(i){let e,t,n,l,r,s,o=i[0]&&Td(i),c=(i[10]||i[11])&&Md(i);return{c(){e=k("div"),o&&o.c(),t=q(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Td(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Md(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 Td(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?lk:ik}let g=c(i),h=g(i),_=i[7].name&&Ld(i),p=i[7].description&&Ad(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Rd(Nd(i,m,y));let S=i[12]&&Dd(i);return{c(){e=k("div"),h.c(),t=q(),n=k("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=q(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){E(y,e,C),h.m(e,null),E(y,t,C),E(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),E(y,r,C),E(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Ld(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Ad(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=Nd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Rd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Dd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ct(v,y),S&&S.d()}}}function ik(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ce(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),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ne(n,t)},d(l){l&&A(e)}}}function lk(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ni(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&ni(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Ld(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ad(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 rk(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),ni(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&&ni(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 sk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Rd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ed(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){E(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ed(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Dd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Vd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){E(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",Rt(i[5])),le(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Vd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ne(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Vd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),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 ok(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Md(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Od(i),l=i[10]&&!i[8]&&Fd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=Se()},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=Od(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Fd(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 Od(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ce(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),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ne(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 Fd(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=q(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function uk(i){let e,t=!i[1]&&Id(i);return{c(){t&&t.c(),e=Se()},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=Id(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function fk(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=dt("store"),y=dt("getTranslation");pi(i,y,Y=>t(13,n=Y));let C=dt("getUnsavedChangesModalPromise"),N=dt("openViewInModal");jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),U()),O(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function V(Y){return be.getNodeHref(Y)}function O(){m||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),ye=await re.getConfigValueAsync("userSettings"),ie=ye||await re.getConfigValueAsync("settings.userSettings"),He={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(ie)){const Pe=ie.userSettingsProfileMenuEntry;He.settings={...ol.userSettingsProfileMenuEntry,...Pe}}He.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He),t(12,p=Boolean(ie))},["navigation.profile"]),m=!0)}async function U(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const ye=be.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function x({keyCode:Y}){(Y===_i||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:Q}=e;const J=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,U,$,J,he,ne]}class ck extends At{constructor(e){super(),Lt(this,e,fk,uk,Nt,{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 Ud(i,e,t){const n=i.slice();return n[34]=e[t],n}function Bd(i){let e,t,n,l,r,s=i[0]&&Hd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=zd(Ud(i,o,_));let g=i[12]&&Gd(i),h=(i[10]||i[11])&&Kd(i);return{c(){e=k("nav"),t=k("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-1lwfozx")},m(_,p){E(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Hd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Ud(_,o,m);c[m]?c[m].p(v,p):(c[m]=zd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Gd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Kd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Hd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ce(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ne(l,n)},d(r){r&&A(e)}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?hk:dk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 dk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 hk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function zd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Wd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=q(),l=k("span"),s=Ce(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(m,v){E(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Wd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Gd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&qd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=q(),l=k("span"),s=Ce(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),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",Rt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=qd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function qd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?_k:gk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 gk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 _k(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Kd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Jd(i),l=i[10]&&!i[8]&&Yd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=Se()},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=Jd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Yd(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 Jd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&jd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=jd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ne(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 jd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?mk:pk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 pk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 mk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Yd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function bk(i){let e,t=!i[1]&&Bd(i);return{c(){t&&t.c(),e=Se()},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=Bd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function vk(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=dt("store"),y=dt("getTranslation");pi(i,y,Y=>t(13,n=Y));let C=dt("getUnsavedChangesModalPromise"),N=dt("openViewInModal");jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),U()),O(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function V(Y){return be.getNodeHref(Y)}function O(){m||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),ye=await re.getConfigValueAsync("userSettings"),ie=ye||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(ie));const He={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Pe=ie.userSettingsProfileMenuEntry;He.settings={...ol.userSettingsProfileMenuEntry,...Pe}}He.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He)},["navigation.profile"]),m=!0)}async function U(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const ye=be.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function x({keyCode:Y}){(Y===_i||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:Q}=e;const J=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,U,$,J,he,ne]}class F_ extends At{constructor(e){super(),Lt(this,e,vk,bk,Nt,{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 Zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=xd(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=Se()},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&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),F(l[c],1)):(l[c]=xd(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,U){return U&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?Sk:wk}let D=I(i,-1),T=D(i);r=new Yn({props:{node:i[12]}});let L=p&&$d(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=q(),qe(r.$$.fragment),s=q(),o=k("div"),c=k("div"),h=Ce(g),_=q(),L&&L.c(),m=q(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,U){E(O,e,U),w(e,t),T.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),L&&L.m(o,null),w(e,m),y=!0,C||(N=le(e,"click",V),C=!0)},p(O,U){i=O,D===(D=I(i,U))&&T?T.p(i,U):(T.d(1),T=D(i),T&&(T.c(),T.m(t,l)));const W={};U&2&&(W.node=i[12]),r.$set(W),(!y||U&18)&&g!==(g=i[4](i[12])+"")&&Ne(h,g),U&34&&(p=i[5](i[12])),p?L?L.p(i,U):(L=$d(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||U&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||U&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(F(r.$$.fragment,O),y=!0)},o(O){z(r.$$.fragment,O),y=!1},d(O){O&&A(e),T.d(),Ge(r),L&&L.d(),C=!1,N()}}}function wk(i){let e,t,n;return{c(){e=k("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-503htr")},m(l,r){E(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&&A(e)}}}function Sk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){E(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function $d(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function xd(i){let e,t,n=i[12].label&&Xd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&F(n,1)):(n=Xd(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function kk(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ce(i[0]),c=q(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=q(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[le(y,"click",i[9]),le(e,"click",Ft(Ck))],N=!0)},p(T,[L]){(!C||L&1)&&Ne(o,T[0]),T[1]?D?(D.p(T,L),L&2&&F(D,1)):(D=Zd(T),D.c(),F(D,1),D.m(_,null)):D&&(Le(),z(D,1,1,()=>{D=null}),Ae())},i(T){C||(F(D),C=!0)},o(T){z(D),C=!1},d(T){T&&A(e),D&&D.d(),N=!1,Qe(I)}}}const Ck=()=>{};function yk(i,e,t){const n=Bt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ke.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class U_ extends At{constructor(e){super(),Lt(this,e,yk,kk,Nt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:Pk}=Fi;function eh(i,e,t){const n=i.slice();return n[6]=e[t],n}function th(i){let e,t,n,l=i[0]&&nh(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&F(l,1)):(l=nh(r),l.c(),F(l,1),l.m(t,null)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae())},i(r){n||(F(l),n=!0)},o(r){z(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function nh(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=lh(eh(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=Se()},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&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=eh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=lh(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function ih(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(T,L){return L&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?Ik:Nk}let N=C(i,-1),I=N(i);s=new Yn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=q(),qe(s.$$.fragment),o=q(),c=k("span"),h=Ce(g),p=q(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(T,L){E(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[le(t,"click",i[14]),le(e,"click",D)],S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L&1&&(V.node=i[6]),s.$set(V),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Ne(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||L&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(T){v||(F(s.$$.fragment,T),v=!0)},o(T){z(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function Nk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Ik(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function lh(i){let e,t,n=i[6].label&&ih(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&F(n,1)):(n=ih(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function rh(i){let e,t;return e=new U_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Tk(i){let e,t,n,l,r,s=!i[1]&&th(i),o=i[1]&&rh(i);return{c(){s&&s.c(),e=q(),o&&o.c(),t=Se()},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=le(Pk,"resize",ga),l=!0)},p(c,[g]){c[1]?s&&(Le(),z(s,1,1,()=>{s=null}),Ae()):s?(s.p(c,g),g&2&&F(s,1)):(s=th(c),s.c(),F(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&F(o,1)):(o=rh(c),o.c(),F(o,1),o.m(t.parentNode,t)):o&&(Le(),z(o,1,1,()=>{o=null}),Ae())},i(c){n||(F(s),F(o),n=!0)},o(c){z(s),z(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ga(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function Lk(i,e,t){const n=Bt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=dt("getUnsavedChangesModalPromise"),g=dt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});jt(async()=>{ga()}),Mn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=be.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else tt.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return ke.isOpenUIiconName(V.icon)}function C(V){return ke.renderIconClassName(V)}function N(V){return ht.getTranslation(V.label)}function I(V){return V.testId?V.testId:ke.prepareForTests(V.pathSegment,V.label)}function D(V){return be.getNodeHref(V,o)}const T=V=>{ke.handleNavAnchorClickedWithoutMetaKey(V)},L=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ga,s,h,_,y,C,N,I,D,T,L]}class B_ extends At{constructor(e){super(),Lt(this,e,Lk,Tk,Nt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ga}}const dn={_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?te.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=te.addLeadingSlash(tt.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.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=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=dn._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=te.normalizePath(i),t=te.normalizePath(t),!!dn.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=dn.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 dn.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 dn.generateSwitcherNav(e,t)}};function sh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ah(i,e,t){const n=i.slice();return n[21]=e[t],n}function oh(i,e,t){const n=i.slice();return n[21]=e[t],n}function uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(oh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){E(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=oh(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),ct(n,l)}}}function fh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",Rt(Ok)),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function ch(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&fh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=fh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function dh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
57
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){E(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=w_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=S_(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function q2(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&$f(i),N=i[5]&&ec(i),I=i[4]&&tc();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=q(),l=k("div"),N&&N.c(),r=q(),s=k("div"),g=q(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=jn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,T){E(D,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=re(G2,"keydown",i[3]),S=!0)},p(D,[T]){D[6]||D[5]&&D[0].header?C?(C.p(D,T),T&97&&F(C,1)):(C=$f(D),C.c(),F(C,1),C.m(t,n)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),D[5]?N?(N.p(D,T),T&32&&F(N,1)):(N=ec(D),N.c(),F(N,1),N.m(l,r)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),(!v||T&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||T&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?T&16&&F(I,1):(I=tc(),I.c(),F(I,1),I.m(t,null)):I&&(Le(),z(I,1,1,()=>{I=null}),Ae()),(!v||T&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||T&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=jn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||T&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(F(C),F(N),F(I),v=!0)},o(D){z(C),z(N),z(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function K2(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=Bt();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I,D=dt("store");const T=x=>ke.getNodeLabel(x),L=async x=>{const Q=x&&x.length?te.getPathWithoutHash(x):"",K=be.parseParams(Q.split("?")[1]);m=be.getNodeParams(K);const he=await Vt.extractDataFromPath(x);_=he.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=T(_),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=T(_),r),t(0,r._liveLabel=!0,r)),p=he.pathData,t(8,s=!0)},V=async x=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await W():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await U(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await L(x)},O=async()=>{let x,Q;const K=document.querySelector(".lui-modal-index-"+c),{size:he,width:ne,height:Y}=r,ye=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(K.classList.remove("lui-modal-fullscreen"),ne&&ne.match(ye)&&Y&&Y.match(ye))x=Y,Q=ne;else switch(he){case"fullscreen":x="100vh",Q="100vw",K.classList.add("lui-modal-fullscreen");break;case"m":x="80%",Q="60%";break;case"s":x="80%",Q="40%";break;default:x="80%",Q="80%"}K.setAttribute("style",`width:${Q};height:${x};`)},U=async(x,Q)=>{C?await W():await O(),x&&(x=be.substituteViewUrl(x,Q));const K=await Ie.createIframe(x,void 0,_,"modal",Q);return document.querySelector(I).appendChild(K),K};async function W(x){let Q="";const K=document.getElementsByClassName("drawer"),he=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Q="width:75%;":r.size==="m"?Q="width:50%;":r.size==="s"?Q="width:25%;":r.size==="xs"&&(Q="width:15.5%;")),r.backdrop?K[0].setAttribute("style",Q):(he[0].setAttribute("style",Q),K[0].setAttribute("style","width:100%"))}ma(()=>{V(o)});const oe=async x=>{x.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),x.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),x.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),x.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),x.data.msg==="luigi.navigation.updateModalSettings"&&((x.data.updatedModalSettings.title||x.data.updatedModalSettings.title==="")&&t(0,r.title=x.data.updatedModalSettings.title,r),x.data.updatedModalSettings.size&&(t(0,r.size=x.data.updatedModalSettings.size,r),await O()),le.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(o,{title:r.title,size:r.size},x.data.addHistoryEntry))};jt(()=>{on.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=T(_),r)},["navigation.viewgroupdata"]),Nn.addEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Nn.removeEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(x){x.keyCode===gi&&h("close")}const $=()=>h("close",{activeDrawer:!1});return i.$$set=x=>{"settings"in x&&t(0,r=x.settings),"isDataPrepared"in x&&t(8,s=x.isDataPrepared),"nodepath"in x&&t(9,o=x.nodepath),"modalIndex"in x&&t(1,c=x.modalIndex),"disableBackdrop"in x&&t(2,g=x.disableBackdrop),"$$scope"in x&&t(10,l=x.$$scope)},[r,c,g,fe,y,C,N,h,s,o,l,n,$]}class V_ extends At{constructor(e){super(),Lt(this,e,K2,q2,Nt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function nc(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function ic(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function lc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function rc(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=Se()},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=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=_c(nc(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){E(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=nc(r,n,o);l[o]?l[o].p(c,s):(l[o]=_c(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),ct(l,r)}}}function ac(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?j2:J2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 J2(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){E(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ne(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function j2(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){E(o,e,c),Kf(e,i[0][i[1][0]][i[28]]),l||(r=re(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Kf(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function oc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,m,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&uc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=Ce(o),h=q(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=q(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(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,T){E(D,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[re(r,"keydown",C),re(n,"click",Ft(N))],S=!0)},p(D,T){i=D,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ne(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=uc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function uc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=fc(lc(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){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[29].options;let s;for(s=0;s<t.length;s+=1){const o=lc(l,t,s);n[s]?n[s].p(o,r):(n[s]=fc(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),ct(n,l)}}}function fc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ce(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[31]+"_"+i[34]),f(e,"tabindex","0"),di(e,"is-selected",i[4]===i[34]),di(e,"is-focus",i[4]===i[34])},m(g,h){E(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[re(e,"click",c),re(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ne(l,n),h[0]&16&&di(e,"is-selected",i[4]===i[34]),h[0]&16&&di(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Qe(o)}}}function cc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=dc(ic(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=ic(s,l,c);r[c]?r[c].p(g,o):(r[c]=dc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ct(r,s)}}}function dc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ce(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){E(p,e,m),w(e,n),w(e,l),g||(h=re(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Ne(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function hc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=q(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){E(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=re(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function gc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=re(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function _c(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,v,S=i[29].type==="string"&&ac(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&oc(i),C=_&&cc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&hc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&gc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ce(l),s=Ce(":"),o=q(),c=k("div"),S&&S.c(),g=q(),y&&y.c(),h=q(),C&&C.c(),p=q(),N&&N.c(),m=q(),I&&I.c(),v=q(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,T){E(D,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,T){T[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ne(r,l),D[29].type==="string"?S?S.p(D,T):(S=ac(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,T):(y=oc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,T):(C=cc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,T):(N=hc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,T):(I=gc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function Y2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&rc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[re(window,"click",i[7]),re(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=rc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function ra(i,e,t){if(i&&t>0)return i.matches(e)?i:ra(i.parentNode,e,t-1)}function Q2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Bt();let c=dt("getTranslation");pi(i,c,Q=>t(5,n=Q));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(K=>{S(K,!1)})}function v(Q,K){let he=ra(Q.target,".fd-popover__control",20),ne=he.getAttribute("aria-expanded")==="true";(K||K===void 0)&&(m(),S(he,!ne))}function S(Q,K){const he=Q.querySelector(".lui-activate-language-dropdown"),ne=Q.parentNode.querySelector(".fd-popover__body"),Y=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",K),ne.setAttribute("aria-hidden",!K),Y.setAttribute("aria-expanded",K),he.setAttribute("aria-expanded",K),t(14,h=K)}function y(Q,K,he){t(4,g=he),t(0,s[l[0]][Q]=K.value||K,s)}function C(Q,K){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(he=>{const ne=he.getAttribute("id"),Y=`lui-us-enum_button_${Q}_option`;ne===Y?he.classList.add("fd-button--emphasized"):he.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][Q]=K.value||K,s)}function N(Q,K){let he;if(Array.isArray(K)){for(let ne=0;ne<K.length;ne++)if(te.isObject(K[ne])){if(K[ne].value&&K[ne].value===Q){he=K[ne].label,t(4,g=ne);break}}else{he=Q,t(4,g=K.indexOf(Q));break}return n(he)}}function I(Q){return n(te.isObject(Q)?Q.label:Q)}function D(Q,K,he){return te.isObject(he)?`${Q}_${K}_${he.value}`:`${Q}_${K}_${he}`}function T(Q,K,he,ne){let Y=ra(Q.target,".lui-anchor-node",20);const ye=document.getElementById(`fd-form-input-dropdown-${he}`).children;let ie=-1;if([...ye].forEach((He,Pe)=>{He.classList.contains("is-focus")&&(ie=Pe)}),h){if(Q.keyCode===Vl&&Q.altKey&&(Y.click(),Y.focus()),Q.keyCode===Mi&&!Q.altKey){if(ie===-1){ie=0,ye.item(ie).classList.add("is-focus");return}ie<ne.options.length-1&&(ye.item(ie).classList.remove("is-focus"),ie+=1,ye.item(ie).classList.add("is-focus"))}if(Q.keyCode===Vl&&!Q.altKey){if(ie===-1){ie=ie.length-1,ye.item(ie).classList.add("is-focus");return}ie>0&&ie<ne.options.length&&(ye.item(ie).classList.remove("is-focus"),ie-=1,ye.item(ie).classList.add("is-focus"))}Q.keyCode===_i&&y(K,ne.options[ie],ie)}else Y.focus(),Q.keyCode===Mi&&Q.altKey&&Y.click(),Q.keyCode===Mi&&!Q.altKey&&ie<ne.options.length-1&&y(K,ne.options[ie+1],ie+1),Q.keyCode===Vl&&!Q.altKey&&ie>0&&ie<ne.options.length&&y(K,ne.options[ie-1],ie-1)}function L(Q){if(h){let K=ra(Q.target,".fd-popover",20);K.blur(),(Q.keyCode===ba||Q.keyCode===_i)&&(Q.target.click(),m(),setTimeout(()=>{K.focus()},0))}}N();function V(Q){s[l[0]][Q]=this.value,t(0,s)}const O=(Q,K,he,ne)=>T(ne,Q,K,he),U=Q=>v(event,Q.isEditable),W=(Q,K,he)=>y(Q,K,he),oe=Q=>L(Q),fe=(Q,K)=>C(Q,K);function $(Q){s[l[0]][Q]=this.checked,t(0,s)}function x(Q){s[l[0]][Q]=this.checked,t(0,s)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"userSettingsGroupKey"in Q&&t(15,r=Q.userSettingsGroupKey),"storedUserSettingData"in Q&&t(0,s=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,h=Q.isComboOpen)},[s,l,T,L,g,n,c,m,v,y,C,N,I,D,h,r,_,p,V,O,U,W,oe,fe,$,x]}class Z2 extends At{constructor(e){super(),Lt(this,e,Q2,Y2,Nt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:pc}=Fi;function mc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function bc(i,e,t){const n=i.slice();return n[38]=e[t],n}function vc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?$2:X2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=q(),n=k("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 X2(i){let e,t,n,l,r,s=i[38][1].initials&&wc(i);return{c(){e=k("span"),l=q(),s&&s.c(),r=Se(),f(e,"class",t=jn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ni(e,"background-image","url('"+i[38][1].icon+"')"),ni(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=jn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ni(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=wc(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 $2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=jn(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=jn(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function wc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ce(t),f(e,"class",l=jn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){E(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ne(n,t),o[0]&2&&l!==(l=jn(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function Sc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,m,v,S=i[38][1].icon&&vc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=q(),l=k("div"),r=k("div"),o=Ce(s),c=q(),g=k("div"),_=Ce(h),p=q(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){E(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[re(e,"click",Rt(y)),re(e,"keydown",C)],m=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=vc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ne(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ne(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function kc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(bc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=bc(l,t,s);n[s]?n[s].p(o,r):(n[s]=Sc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Cc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new Z2({props:o}),$e.push(()=>pt(e,"closeDropDown",r)),$e.push(()=>pt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(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],_t(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],_t(()=>n=!1)),e.$set(h)},i(c){l||(F(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function x2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,T,L,V,O,U,W,oe,fe,$,x=i[10](i[5])+"",Q,K,he,ne,Y=i[10](i[6])+"",ye,ie,He,Pe,ce=Object.entries(i[1]),X=[];for(let se=0;se<ce.length;se+=1)X[se]=kc(mc(i,ce,se));let ge=i[11]&&Cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ce(c),h=q(),_=k("div"),p=k("ul");for(let se=0;se<X.length;se+=1)X[se].c();m=q(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=q(),C=k("h2"),I=Ce(N),D=q(),T=k("div"),L=k("div"),ge&&ge.c(),V=q(),O=k("div"),U=q(),W=k("footer"),oe=k("div"),fe=k("div"),$=k("button"),Q=Ce(x),K=q(),he=k("div"),ne=k("button"),ye=Ce(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(L,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f($,"data-testid","lui-us-saveBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(fe,"class","fd-bar__element"),f(ne,"data-testid","lui-us-dismissBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(he,"class","fd-bar__element"),f(oe,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(se,De){E(se,e,De),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let Me=0;Me<X.length;Me+=1)X[Me].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,T),w(T,L),ge&&ge.m(L,null),w(T,V),w(T,O),w(t,U),w(t,W),w(W,oe),w(oe,fe),w(fe,$),w($,Q),w(oe,K),w(oe,he),w(he,ne),w(ne,ye),ie=!0,He||(Pe=[re(pc,"resize",i[20]),re(pc,"keydown",i[3]),re(S,"click",i[17]),re($,"click",i[26]),re(ne,"click",i[27])],He=!0)},p(se,De){if((!ie||De[0]&1040)&&c!==(c=se[10](se[4])+"")&&Ne(g,c),De[0]&803846){ce=Object.entries(se[1]);let Me;for(Me=0;Me<ce.length;Me+=1){const me=mc(se,ce,Me);X[Me]?X[Me].p(me,De):(X[Me]=kc(me),X[Me].c(),X[Me].m(p,null))}for(;Me<X.length;Me+=1)X[Me].d(1);X.length=ce.length}(!ie||De[0]&1152)&&N!==(N=se[10](se[7])+"")&&Ne(I,N),se[11]?ge?(ge.p(se,De),De[0]&2048&&F(ge,1)):(ge=Cc(se),ge.c(),F(ge,1),ge.m(L,null)):ge&&(Le(),z(ge,1,1,()=>{ge=null}),Ae()),(!ie||De[0]&1056)&&x!==(x=se[10](se[5])+"")&&Ne(Q,x),(!ie||De[0]&1088)&&Y!==(Y=se[10](se[6])+"")&&Ne(ye,Y)},i(se){ie||(F(ge),ie=!0)},o(se){z(ge),ie=!1},d(se){se&&A(e),ct(X,se),ge&&ge.d(),He=!1,Qe(Pe)}}}function yc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function eS(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function tS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function M_(i,e,t){if(i&&t>0)return i.matches(e)?i:M_(i.parentNode,e,t-1)}function Pc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function nS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Bt();let o,{storedUserSettings:c={}}=e,g={},h=dt("getTranslation");pi(i,h,ie=>t(10,n=ie));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,m=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const ie=le.getConfigValue("userSettings.userSettingsDialog"),He=ie||le.getConfigValue("settings.userSettings.userSettingsDialog");He&&(t(4,_=He.dialogHeader?He.dialogHeader:_),t(5,p=He.saveBtn?He.saveBtn:p),t(6,m=He.dismissBtn?He.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Nn.addEventListener("message",Pe=>{const ce=Ie.getValidMessageSource(Pe);if(!ce||Pe.data.msg!=="custom")return;ce._ready=!0;const X=ca.convertCustomMessageInternalToUser(Pe.data),ge="luigi.updateUserSettings";if(X.id===ge){const se=fr.findActiveCustomUserSettingsIframe(Pe.source);if(se){let De=se.getAttribute("userSettingsGroup");t(0,c[De]=X.data,c)}}X.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&O()}),le.readUserSettings().then(Pe=>{g=JSON.parse(JSON.stringify(Pe)),Pe===null?t(0,c=yc(JSON.parse(JSON.stringify(r)),{})):t(0,c=yc(JSON.parse(JSON.stringify(r)),Pe)),D([S,r[0][S]])}).catch(Pe=>{Pe&&Pe.message&&console.error(Pe.message),Pe&&Pe.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(ie){if(t(7,y=ie.title?ie.title:""),!!te.isObject(ie.settings))for(let He in ie.settings){let Pe=ie.settings[He];Pe.type==="enum"?Array.isArray(Pe.options)||console.error(`There is no options array for '${He}' defined in the Luigi userSettings config.`):Pe.type===void 0&&console.error(`There is no data type defined for '${He}' in the Luigi userSettings config.`)}}function D(ie,He){t(11,o=ie);let Pe=ie[0],ce=ie[1];if(I(ce),He?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ge=>{ge.classList.remove("is-selected")}),M_(He.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Pc()),ce.viewUrl){if(fr.hideUserSettingsIframe(),v.hasOwnProperty(Pe))fr.getUserSettingsIframesInDom().forEach(X=>{X.userSettingsGroup===Pe&&(X.style.display="block")});else{const X=$r.hasDecorators()?$r.applyDecorators(ce.viewUrl):ce.viewUrl;let ge=fr.createIframe(X,Pe);v[Pe]=ge}eS()}else tS()}const T=ie=>{t(0,c=ie.detail.userSettings)};function L(){le.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Pc()}function U(ie){return ke.renderIconClassName(ie)}function W(ie){return ke.isOpenUIiconName(ie.icon)}let oe;const fe=()=>{const ie=window.innerWidth>=$t.desktopMinWidth&&oe<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&oe>=$t.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!oe){let Pe=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Pe.style.display="none":Pe.style.display="block"}oe=window.innerWidth};function $(ie,He){let Pe=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===_i||ie.keyCode===ba)&&Pe[He].click(),ie.keyCode===F2&&Pe[Object.keys(r).length-1].focus(),ie.keyCode===O2&&Pe[0].focus()}function x(ie){ie.keyCode===gi&&C?N():ie.keyCode===gi&&!C&&s("close")}const Q=ie=>D(ie,event),K=(ie,He)=>$(He,[ie]);function he(ie){N=ie,t(9,N)}function ne(ie){C=ie,t(8,C)}const Y=()=>L(),ye=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,$,x,_,p,m,y,C,N,n,o,s,h,D,T,L,O,U,W,fe,l,Q,K,he,ne,Y,ye]}class iS extends At{constructor(e){super(),Lt(this,e,nS,x2,Nt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:lS}=Fi;function rS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function sS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=k("h1"),s=Ce(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){E(g,e,h),w(e,t),E(g,n,h),E(g,l,h),w(l,s),o||(c=re(t,"click",Ft(Rt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ne(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function Nc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=q(),n=k("div"),l=k("div"),r=q(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){E(g,e,h),E(g,t,h),E(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[re(s,"click",Ft(Rt(i[3]))),re(n,"mousedown",Ft(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function aS(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?sS:rS}let p=_(i),m=p(i),v=!i[0]&&Nc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),m.c(),s=q(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){E(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),c=!0,g||(h=re(lS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=Nc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(F(t.$$.fragment,S),c=!0)},o(S){z(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function oS(i,e,t){const n=Bt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=dt("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:K=>{K&&Object.getOwnPropertyNames(K).forEach(he=>{he==="splitViewSettings"?t(1,y=K.splitViewSettings):he==="lastNode"?r=K.lastNode:he==="pathData"?s=K.pathData:he==="nodeParams"?o=K.nodeParams:he==="collapsed"?t(0,S=K.collapsed):he==="isDataPrepared"?t(8,C=K.isDataPrepared):he==="currentNode"?c=K.currentNode:he==="splitViewIframe"?h=K.splitViewIframe:he==="splitViewIframeData"?_=K.splitViewIframeData:he==="splitViewWC"?p=K.splitViewWC:he==="splitViewWCData"&&(m=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||rt.createAndSetView(T()):await rt.prepareSplitViewData(T(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const K=rt.getDraggerBackdrop();K&&(K.style.display="none"),V(),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 U(K){if(!!Ie.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&rt.close(T()),K.data.msg==="luigi.navigation.splitview.collapse"&&W(),K.data.msg==="luigi.navigation.splitview.expand"&&oe(),K.data.msg==="luigi.navigation.splitview.resize")){const he=parseInt(K.data.data);if(rt.calculateAndSetSplitViewValues(he,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{fe(),g=U.bind(this),Nn.addEventListener("message",g)}),ma(()=>{L(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function W(){rt.collapse(T())}async function oe(){await rt.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function fe(){const K=te.getShellbarHeight();rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-K,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=K+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function $(K){let he=K.y,ne={};const Y=function(ce){const X=he-ce.y,ge=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ge)||X===0)return;const se=ge-X,De=rt.internalValues.innerHeight-se,Me=rt.enforceTresholds(se,De);se<Me.top||De<Me.bottom||(ne=Me,he=ce.y,l.draggable.style.top=`${ne.top}px`)},ye=function(){if(ie(),!ne.top||!ne.bottom||ne.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ne.top,rt.splitViewValues=ne,O(),rt.sendMessageToClients("resize.ok",ne.percent)},ie=function(){document.removeEventListener("mouseup",ye),document.removeEventListener("mousemove",Y)},He=function(){document.addEventListener("mouseup",ye),document.addEventListener("mousemove",Y)};V(),ie(),He(),rt.getDraggerBackdrop().style.display="block"}const x=K=>{let he=rt.getDraggerButton();he&&(he.style.display=K?"block":"none"),he=rt.getCollapsedDraggerButton(),he&&(he.style.display=K?"block":"none")},Q=K=>{x(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,v=K.nodepath),"collapsed"in K&&t(0,S=K.collapsed),"splitViewSettings"in K&&t(1,y=K.splitViewSettings),"isDataPrepared"in K&&t(8,C=K.isDataPrepared),"disableBackdrop"in K&&t(2,N=K.disableBackdrop)},[S,y,N,W,oe,fe,$,Q,C,v]}class uS extends At{constructor(e){super(),Lt(this,e,oS,aS,Nt,{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 Ic(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dS,then:cS,catch:fS,value:1};return ua(t=i[0].badgeCounter.count(),n),{c(){e=Se(),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())&&ua(t,n)||k_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function fS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function cS(i){let e,t=i[1]>0&&Tc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Tc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ce(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){E(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ne(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function dS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function hS(i){let e,t=i[0]&&i[0].badgeCounter&&Ic(i);return{c(){t&&t.c(),e=Se()},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=Ic(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&&A(e)}}}function gS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Yn extends At{constructor(e){super(),Lt(this,e,gS,hS,Nt,{node:0})}}function Lc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ne(l,n)},d(r){r&&A(e)}}}function _S(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Lc(i);return{c(){t&&t.c(),e=Se()},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=Lc(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&&A(e)}}}function pS(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 ns extends At{constructor(e){super(),Lt(this,e,pS,_S,Nt,{node:0})}}const{window:na}=Fi;function Ac(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Ec(i,e,t){const n=i.slice();return n[71]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Mc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Oc(i),p=i[12].showUpLink&&Fc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=q(),s=k("span"),c=Ce(o),g=q(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(m,v){E(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[12].icon?_?_.p(m,v):(_=Oc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=m[24](m[12].label)+"")&&Ne(c,o),m[12].showUpLink?p?p.p(m,v):(p=Fc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=m[32](m[12],m[24](m[12].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Oc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 mS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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 bS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){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-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Fc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=re(e,"click",Rt(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 Uc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=od(Ac(i,r,c));const o=c=>z(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Ac(c,r,h);s[h]?(s[h].p(_,g),F(s[h],1)):(s[h]=od(_),s[h].c(),F(s[h],1),s[h].m(t,null))}for(Le(),h=r.length;h<s.length;h+=1)o(h);Ae()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)F(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&&A(e),ct(s,c)}}}function vS(i){let e,t,n,l;const r=[kS,SS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),z(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),F(t,1),t.m(n.parentNode,n))},i(c){l||(F(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function wS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=ad(Vc(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=Se()},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]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Vc(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=ad(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function SS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Bc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Kc(Ec(i,_,v));const m=v=>z(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=q(),l=Ce(n),o=q();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){E(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),E(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);E(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Bc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ne(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Ec(v,_,y);p[y]?(p[y].p(C,S),F(p[y],1)):(p[y]=Kc(C),p[y].c(),F(p[y],1),p[y].m(c.parentNode,c))}for(Le(),y=_.length;y<p.length;y+=1)m(y);Ae()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)F(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)z(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ct(p,v),v&&A(c)}}}function kS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O,U,W,oe,fe,$;function x(X,ge){return ge[0]&8192&&(l=null),l==null&&(l=!!X[28](X[68].metaInfo.icon)),l?AS:LS}let Q=x(i,[-1,-1,-1]),K=Q(i);function he(){return i[46](i[68])}function ne(){return i[47](i[68])}function Y(...X){return i[48](i[68],...X)}let ye=i[68],ie=[];for(let X=0;X<ye.length;X+=1)ie[X]=Zc(Dc(i,ye,X));const He=X=>z(ie[X],1,1,()=>{ie[X]=null});let Pe=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Xc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),K.c(),r=q(),s=k("span"),c=Ce(o),v=q(),S=k("button"),y=k("i"),T=q(),L=k("ul");for(let X=0;X<ie.length;X+=1)ie[X].c();O=q(),Pe&&Pe.c(),U=q(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(pn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=pn(i[68],i[9])),f(y,"class",C=pn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=pn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",D=i[6]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(L,"aria-hidden",V=!pn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[31](i[68].metaInfo,i[67])),di(e,"lui-item-expanded",pn(i[68],i[9]))},m(X,ge){E(X,e,ge),w(e,t),w(t,n),K.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,L);for(let se=0;se<ie.length;se+=1)ie[se].m(L,null);w(e,O),Pe&&Pe.m(e,null),w(e,U),oe=!0,fe||($=[re(n,"click",Rt(he)),re(S,"click",Rt(ne)),re(t,"keypress",Y),re(e,"click",Ft(ce))],fe=!0)},p(X,ge){if(i=X,Q===(Q=x(i,ge))&&K?K.p(i,ge):(K.d(1),K=Q(i),K&&(K.c(),K.m(n,r))),(!oe||ge[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ne(c,o),(!oe||ge[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!oe||ge[0]&8704&&h!==(h="fd-nested-list__link "+(pn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!oe||ge[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!oe||ge[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!oe||ge[0]&8704&&m!==(m=pn(i[68],i[9])))&&f(n,"aria-expanded",m),(!oe||ge[0]&8704&&C!==(C=pn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!oe||ge[0]&8704&&N!==(N=pn(i[68],i[9])))&&f(S,"aria-expanded",N),(!oe||ge[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!oe||ge[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),ge[0]&1686151296|ge[1]&66){ye=i[68];let se;for(se=0;se<ye.length;se+=1){const De=Dc(i,ye,se);ie[se]?(ie[se].p(De,ge),F(ie[se],1)):(ie[se]=Zc(De),ie[se].c(),F(ie[se],1),ie[se].m(L,null))}for(Le(),se=ye.length;se<ie.length;se+=1)He(se);Ae()}(!oe||ge[0]&8704&&V!==(V=!pn(i[68],i[9])))&&f(L,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Pe?(Pe.p(i,ge),ge[0]&8448&&F(Pe,1)):(Pe=Xc(i),Pe.c(),F(Pe,1),Pe.m(e,U)):Pe&&(Le(),z(Pe,1,1,()=>{Pe=null}),Ae()),(!oe||ge[0]&8192&&W!==(W=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",W),(!oe||ge[0]&8704)&&di(e,"lui-item-expanded",pn(i[68],i[9]))},i(X){if(!oe){for(let ge=0;ge<ye.length;ge+=1)F(ie[ge]);F(Pe),oe=!0}},o(X){ie=ie.filter(Boolean);for(let ge=0;ge<ie.length;ge+=1)z(ie[ge]);z(Pe),oe=!1},d(X){X&&A(e),K.d(),ct(ie,X),Pe&&Pe.d(),fe=!1,Qe($)}}}function Bc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 CS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function yS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hc(i){let e,t,n=i[71].label&&Wc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Wc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Wc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(fe,$){return fe[71].icon?NS:PS}let T=D(i),L=T(i),V=i[71].statusBadge&&zc(i),O=i[71].externalLink&&i[71].externalLink.url&&Gc(),U=i[71].badgeCounter&&qc(i);function W(...fe){return i[54](i[71],...fe)}function oe(...fe){return i[55](i[71],...fe)}return{c(){e=k("li"),t=k("a"),L.c(),n=q(),l=k("span"),s=Ce(r),o=q(),V&&V.c(),g=q(),O&&O.c(),h=q(),U&&U.c(),S=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(fe,$){E(fe,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),U&&U.m(t,null),w(e,S),C=!0,N||(I=[re(t,"click",W),re(t,"keyup",function(){Oi(i[23]?void 0:oe)&&(i[23]?void 0:oe).apply(this,arguments)})],N=!0)},p(fe,$){i=fe,T===(T=D(i))&&L?L.p(i,$):(L.d(1),L=T(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r),i[71].statusBadge?V?(V.p(i,$),$[0]&8192&&F(V,1)):(V=zc(i),V.c(),F(V,1),V.m(l,null)):V&&(Le(),z(V,1,1,()=>{V=null}),Ae()),(!C||$[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Gc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?U?(U.p(i,$),$[0]&8192&&F(U,1)):(U=qc(i),U.c(),F(U,1),U.m(t,null)):U&&(Le(),z(U,1,1,()=>{U=null}),Ae()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||$[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(fe){C||(F(V),F(U),C=!0)},o(fe){z(V),z(U),C=!1},d(fe){fe&&A(e),L.d(),V&&V.d(),O&&O.d(),U&&U.d(),N=!1,Qe(I)}}}function PS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=q(),l=k("span"),s=Ce(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),w(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ne(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function NS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?TS:IS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 IS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function TS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function zc(i){let e,t;return e=new ns({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Gc(i){let e;return{c(){e=k("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 Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Kc(i){let e,t,n=!i[71].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Hc(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function LS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function AS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jc(i){let e,t,n=i[71].label&&jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=jc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function jc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Yc(),T=i[71].badgeCounter&&Qc(i);function L(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=q(),qe(o.$$.fragment),g=q(),D&&D.c(),h=q(),T&&T.c(),y=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[re(t,"click",L),re(t,"keyup",function(){Oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,U){i=O,(!C||U[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const W={};U[0]&8192&&(W.node=i[71]),o.$set(W),(!C||U[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Yc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?T?(T.p(i,U),U[0]&8192&&F(T,1)):(T=Qc(i),T.c(),F(T,1),T.m(t,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!C||U[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||U[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||U[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||U[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||U[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(F(o.$$.fragment,O),F(T),C=!0)},o(O){z(o.$$.fragment,O),z(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function Yc(i){let e;return{c(){e=k("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 Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zc(i){let e,t,n=!i[71].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=Jc(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(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]=nd(Rc(i,g,p));const _=p=>z(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ce(l),s=q(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ne(r,l),m[0]&1686151296|m[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Rc(p,g,v);h[v]?(h[v].p(S,m),F(h[v],1)):(h[v]=nd(S),h[v].c(),F(h[v],1),h[v].m(o,null))}for(Le(),v=g.length;v<h.length;v+=1)_(v);Ae()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)F(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)z(h[m]);c=!1},d(p){p&&A(e),ct(h,p)}}}function $c(i){let e,t,n=i[71].label&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=xc(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function xc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&ed(),T=i[71].badgeCounter&&td(i);function L(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=q(),qe(o.$$.fragment),g=q(),D&&D.c(),h=q(),T&&T.c(),y=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[re(t,"click",L),re(t,"keyup",function(){Oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,U){i=O,(!C||U[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const W={};U[0]&8192&&(W.node=i[71]),o.$set(W),(!C||U[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=ed(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?T?(T.p(i,U),U[0]&8192&&F(T,1)):(T=td(i),T.c(),F(T,1),T.m(t,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!C||U[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||U[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||U[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||U[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||U[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(F(o.$$.fragment,O),F(T),C=!0)},o(O){z(o.$$.fragment,O),z(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function ed(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function td(i){let e,t;return e=new Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function nd(i){let e,t,n=!i[71].hideFromNav&&$c(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=$c(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function id(i){let e,t,n=i[71].label&&ld(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=ld(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ld(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(fe,$){return fe[71].icon?RS:ES}let L=T(i),V=L(i);c=new ns({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&rd(),U=i[71].badgeCounter&&sd(i);function W(...fe){return i[44](i[71],...fe)}function oe(...fe){return i[45](i[71],...fe)}return{c(){e=k("li"),t=k("a"),V.c(),n=q(),l=k("span"),s=Ce(r),o=q(),qe(c.$$.fragment),h=q(),O&&O.c(),_=q(),U&&U.c(),C=q(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",m=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(fe,$){E(fe,e,$),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),U&&U.m(t,null),w(e,C),N=!0,I||(D=[re(t,"click",W),re(t,"keyup",function(){Oi(i[23]?void 0:oe)&&(i[23]?void 0:oe).apply(this,arguments)})],I=!0)},p(fe,$){i=fe,L===(L=T(i))&&V?V.p(i,$):(V.d(1),V=L(i),V&&(V.c(),V.m(t,n))),(!N||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r);const x={};$[0]&8192&&(x.node=i[71]),c.$set(x),(!N||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=rd(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?U?(U.p(i,$),$[0]&8192&&F(U,1)):(U=sd(i),U.c(),F(U,1),U.m(t,null)):U&&(Le(),z(U,1,1,()=>{U=null}),Ae()),(!N||$[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||$[0]&8192&&m!==(m=i[32](i[71],i[26](i[71]))))&&f(t,"title",m),(!N||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!N||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||$[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(fe){N||(F(c.$$.fragment,fe),F(U),N=!0)},o(fe){z(c.$$.fragment,fe),z(U),N=!1},d(fe){fe&&A(e),V.d(),Ge(c),O&&O.d(),U&&U.d(),I=!1,Qe(D)}}}function ES(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){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 RS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?VS:DS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 DS(i){let e,t,n,l;return{c(){e=k("span"),t=k("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-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(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&&A(e)}}}function VS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function rd(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function sd(i){let e,t;return e=new Yn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ad(i){let e,t,n=!i[71].hideFromNav&&id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&F(n,1)):(n=id(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function od(i){let e,t,n,l,r,s;const o=[wS,vS],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(US).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Le(),z(c[p],1,1,()=>{c[p]=null}),Ae()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),F(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(F(l),s=!0)},o(h){z(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ud(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&fd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ce(l),s=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ne(r,l),c[3]?o?o.p(c,g):(o=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function fd(i){let e;function t(r,s){return r[4]=="button"?OS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 MS(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[re(e,"click",i[57]),re(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Qe(l)}}}function OS(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1f9ma6n")},m(s,o){E(s,e,o),w(e,t),l||(r=re(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function FS(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Mc(i),p=i[0]&&i[5].length>1&&Uc(i),m=(i[2]||i[3])&&ud(i);return{c(){e=k("div"),_&&_.c(),t=q(),n=k("nav"),l=k("div"),p&&p.c(),r=q(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n")},m(v,S){E(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[re(na,"resize",i[17]),re(na,"click",i[21]),re(na,"blur",i[21]),re(na,"keydown",i[33]),re(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Mc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&F(p,1)):(p=Uc(v),p.c(),F(p,1),p.m(l,null)):p&&(Le(),z(p,1,1,()=>{p=null}),Ae()),v[2]||v[3]?m?m.p(v,S):(m=ud(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1f9ma6n"))&&f(e,"class",o)},i(v){c||(F(p),c=!0)},o(v){z(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function pn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const US=i=>!i.hideFromNav&&i.label;function BS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async ee=>{ee&&(Object.getOwnPropertyNames(ee).forEach(async Ee=>{if(Ee==="pathData")t(5,p=ee.pathData);else if(Ee==="context")O=ee.context;else if(Ee==="children")t(0,s=ee.children);else if(Ee==="selectedNode")t(7,y=ee.selectedNode);else if(Ee==="hasCategoriesWithIcon")t(10,I=ee.hasCategoriesWithIcon);else if(Ee==="navParent"){t(12,L=void 0);let st=ee.navParent;if(t(41,V=st),st&&st.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,wt=st;if(yt==="inherit"){for(wt=st.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;yt=wt?wt.navHeader:void 0}if(yt instanceof Function){t(12,L={});let sn=yt(ke.stripNode(st),ke.stripNode(wt),O);sn instanceof Promise?sn.then(bn=>{t(12,L=bn)}):t(12,L=sn)}else if(yt==="auto")t(12,L={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(12,L={...yt,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(12,L=yt);const sn=be.mapPathToNode(et.getCurrentPath(),wt);Vt.extractDataFromPath(sn).then(bn=>{const Zn=be.substituteDynamicParamsInObject(Object.assign({},bn.pathData.context,wt.context),bn.pathData.pathParams);ke.fetchNodeTitleData(wt,Zn).then(Fn=>{t(12,L={...yt,...Fn})}).catch(Fn=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...yt,label:st.label,icon:st.icon})})})}else t(12,L=await He(yt,wt))}}}),t(40,D=ke.getSideNavAccordionMode(y)))}},r=Bt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:T}=e,{navHeader:L}=e,{navParentNode:V}=e,O,U,W,oe=dt("store"),fe=dt("getTranslation");pi(i,fe,ee=>t(24,n=ee));let $=!1;const x=ee=>ke.getNodeLabel(ee),Q=async()=>{const ee=l.get(),Ee=await Vt.getLeftNavData({...ee},ee);!Ee||(l.set(Ee),U=p,window.LEFTNAVDATA=Ee.children)};jt(()=>{t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=le.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=le.getConfigValue("navigation.addNavHrefs")),t(1,o=le.getConfigBooleanValue("settings.hideNavigation")),t(22,W=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),on.doOnStoreChange(oe,()=>{t(2,c=le.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(oe,()=>{Q()},["navigation.viewgroupdata"]);let ee=ci.initial();t(6,S=ee.isSemiCollapsed),t(39,g=ee.semiCollapsible),ci.onValueChanged(Ee=>{t(6,S=Ee.isSemiCollapsed)}),Nn.addEventListener("message",Ee=>{Ee.data.msg==="luigi.navigation.update-badge-counters"&&Q()})}),Mn(()=>{(!U||U!=p)&&Q(),t(22,W=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:K}=e;function he(ee){return ke.renderIconClassName(ee)}function ne(ee){return ke.isOpenUIiconName(ee)}function Y(ee){return ee.testId?ee.testId:ke.prepareForTests(ee.pathSegment,ee.label)}function ye(ee){return be.getNodeHref(ee,m)}function ie(ee,Ee){return ee&&ee.testId?ee.testId:ke.prepareForTests(Ee||ee.label)}async function He(ee,Ee){const st=be.mapPathToNode(et.getCurrentPath(),Ee),wt=(await Vt.extractDataFromPath(st)).pathData.pathParams;return be.substituteDynamicParamsInObject(ee,wt)}function Pe(ee,Ee){return ke.generateTooltipText(ee,Ee)}function ce(ee){r("handleClick",{node:ee})}function X(ee,Ee){if(ci.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(ee.metaInfo&&ee.metaInfo.label?st=ee.metaInfo.label:st=ee.category&&ee.category.label||ee.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===C){t(8,C=ci.closePopupMenu(C));return}t(8,C=st),ge(Ee)}}function ge(ee){const Ee=ee.closest(".fd-nested-list__item"),st=Ee.offsetTop,yt=ii.getShellbar().offsetHeight;let wt;ii.isCustomLuigiContainer()?wt=ii.getCustomLuigiContainer().clientHeight:wt=window.innerHeight,setTimeout(()=>{const sn=Ee.getElementsByClassName("lui-flyout-sublist")[0],bn=ee.closest(".lui-fd-side-nav-wrapper").scrollTop,Zn=st+yt-bn,Fn=wt-st-Ee.offsetHeight+bn-yt;Zn+sn.offsetHeight>=wt?(sn.style.bottom=Fn+"px",sn.className+=" has-bottom-position"):sn.style.top=Zn-yt+"px"})}function se(){if(g){let ee=ci.onResize(C);t(6,S=ee.isSemiCollapsed),t(8,C=ee.selectedCategory)}}function De(ee){if(ee.code==="ArrowRight"){const st=Ie.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function Me(ee){let Ee=V?V.parent:void 0;for(;Ee;){if(Ee.pathSegment&&Ee.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ee});return}Ee=Ee.parent}console.warn('Could not resolve "up"-node, redirecting to root'),R_.navigate("/")}function me(ee,Ee){ci.getCollapsed()||t(9,N=ke.storeExpandedState(ee.metaInfo.categoryUid,Ee,D))}function Ze(){t(8,C=ci.closePopupMenu(C))}function Dt(ee){ee&&ee.code==="Escape"&&Ze()}function Ht(){t(6,S=ci.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),zt()}function vt(ee){const Ee=ee.code;(Ee==="Enter"||Ee==="Space")&&Ht()}function un(ee,Ee){(ee.code==="Enter"||ee==="Space")&&X(Ee,ee.currentTarget)}function On(ee,Ee){ee.keyCode===_i&&ke.handleNavAnchorClickedWithoutMetaKey(ee)&&ce(Ee)}function zt(){if(!ke.getBurgerTooltipConfig())return;const[ee,Ee]=ke.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");ee&&Ee&&st&&t(11,T=document.body.classList.contains("semiCollapsed")?ee:Ee)}function mi(ee,Ee){return pn(ee,Ee)?ee.metaInfo.titleCollapseButton?n(ee.metaInfo.titleCollapseButton):void 0:ee.metaInfo.titleExpandButton?n(ee.metaInfo.titleExpandButton):void 0}const Ui=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},xt=(ee,Ee)=>On(Ee,ee),Yt=ee=>me(ee,!pn(ee,N)),Qn=ee=>me(ee,!pn(ee,N)),Et=(ee,Ee)=>un(Ee,ee),mn=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},Qt=(ee,Ee)=>On(Ee,ee),Bi=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},Gt=(ee,Ee)=>On(Ee,ee),ln=ee=>X(ee,event.currentTarget),bi=(ee,Ee)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ee)&&ce(ee)},li=(ee,Ee)=>On(Ee,ee),rn=ee=>Ht(),vi=ee=>Ht(),wi=ee=>vt(ee);return i.$$set=ee=>{"children"in ee&&t(0,s=ee.children),"hideNavComponent"in ee&&t(1,o=ee.hideNavComponent),"footerText"in ee&&t(2,c=ee.footerText),"semiCollapsible"in ee&&t(39,g=ee.semiCollapsible),"semiCollapsibleButton"in ee&&t(3,h=ee.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ee&&t(4,_=ee.semiCollapsibleButtonStyle),"pathData"in ee&&t(5,p=ee.pathData),"pathParams"in ee&&t(42,m=ee.pathParams),"virtualGroupPrefix"in ee&&t(14,v=ee.virtualGroupPrefix),"isSemiCollapsed"in ee&&t(6,S=ee.isSemiCollapsed),"selectedNode"in ee&&t(7,y=ee.selectedNode),"selectedCategory"in ee&&t(8,C=ee.selectedCategory),"expandedCategories"in ee&&t(9,N=ee.expandedCategories),"hasCategoriesWithIcon"in ee&&t(10,I=ee.hasCategoriesWithIcon),"sideNavAccordionMode"in ee&&t(40,D=ee.sideNavAccordionMode),"burgerTooltip"in ee&&t(11,T=ee.burgerTooltip),"navHeader"in ee&&t(12,L=ee.navHeader),"navParentNode"in ee&&t(41,V=ee.navParentNode),"sortedChildrenEntries"in ee&&t(13,K=ee.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ee=Object.entries(s);ee.sort((Ee,st)=>Ee[1].metaInfo.order-st[1].metaInfo.order),t(13,K=ee)}},[s,o,c,h,_,p,S,y,C,N,I,T,L,K,v,ce,X,se,De,Me,me,Ze,W,$,n,fe,x,he,ne,Y,ye,ie,Pe,Dt,Ht,vt,un,On,mi,g,D,V,m,ge,Ui,xt,Yt,Qn,Et,mn,Qt,Bi,Gt,ln,bi,li,rn,vi,wi]}class HS extends At{constructor(e){super(),Lt(this,e,BS,FS,Nt,{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 WS=i=>{on.doOnStoreChange(i.store,()=>{const e=le.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}),le.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),O_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},zS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),O_=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 te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!zS(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=es.getDocumentTitle()||r;i.set({title:r}),document.title=ht.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function cd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dd(i,e,t){const n=i.slice();return n[43]=e[t],n}function GS(i){let e,t,n,l,r=i[1]&&hd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=re(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=hd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function qS(i){let e,t,n,l,r=i[1]&&gd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),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=re(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=gd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function hd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){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 gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},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 _d(i){let e,t;function n(o,c){return o[3]?KS:JS}let l=n(i),r=l(i),s=i[10]&&Pd(i);return{c(){r.c(),e=q(),s&&s.c(),t=Se()},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=Pd(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 KS(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?YS:jS}let p=_(i),m=p(i),v=i[4]&&i[5]&&Sd(i),S=i[7]&&i[7].length>0&&kd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=q(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=q(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){E(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=re(t,"click",Ft(ek)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=Sd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=kd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function JS(i){let e;function t(r,s){return r[12]?$S:XS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},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 jS(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=Ce(n),r=q(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=re(e,"click",Ft(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function YS(i){let e,t,n,l=i[7]&&i[7].length===1&&pd(i),r=i[7]&&i[7].length>1&&md(i),s=i[7].length>1&&!i[5]&&wd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),s&&s.c(),n=Se()},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=pd(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=md(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=wd(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 pd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){E(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ne(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function md(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=vd(dd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=dd(l,t,s);n[s]?n[s].p(o,r):(n[s]=vd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function bd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=q(),s=k("i"),o=q(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){E(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=re(e,"click",Rt(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Ne(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function vd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&bd(i);return{c(){n&&n.c(),t=Se()},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=bd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function wd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=q(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=re(e,"click",Rt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function Sd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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),w(e,t),w(t,n),w(n,r),o||(c=re(t,"click",Rt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ne(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 kd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=yd(cd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);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=cd(l,t,s);n[s]?n[s].p(o,r):(n[s]=yd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function QS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=re(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ne(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function ZS(i){let e,t=i[16]&&Cd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Cd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Cd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=q(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){E(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function yd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return ZS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return QS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),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 XS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=re(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function $S(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=re(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function Pd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function xS(i){let e,t;function n(o,c){return o[12]?qS:GS}let l=n(i),r=l(i),s=i[2]&&_d(i);return{c(){r.c(),e=q(),s&&s.c(),t=Se()},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=_d(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const ek=()=>{};function tk(i,e,t){let n;const l=Bt();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:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,T,L=dt("getUnsavedChangesModalPromise"),V=dt("getTranslation");pi(i,V,me=>t(17,n=me));let O=dt("store");const U={closeDropDown:()=>{Q("appSwitcherPopover")}},W=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:me=>{me&&Object.getOwnPropertyNames(me).forEach(Ze=>{Ze==="pathData"?t(24,N=me.pathData):Ze==="appSwitcherItems"?t(7,m=me.appSwitcherItems):Ze==="itemRenderer"?t(8,v=me.itemRenderer):Ze==="pathParams"?t(9,S=me.pathParams):Ze==="selectedItem"?t(5,_=me.selectedItem):Ze==="title"?t(2,o=me.title):Ze==="defaultSubTitle"?t(23,C=me.defaultSubTitle):Ze==="subTitle"?t(10,y=me.subTitle):Ze==="defaultTitle"?t(6,p=me.defaultTitle):Ze==="subTitle"?t(10,y=me.subTitle):Ze==="showMainAppEntry"?t(4,h=me.showMainAppEntry):Ze==="hasApps"?t(3,c=me.hasApps):Ze==="hasLogo"&&t(1,s=me.hasLogo)})},store:O});jt(()=>{WS(W())}),Mn(()=>{(!T||T!=N)&&(O_(W()),T=N)});function oe(me,Ze,Dt){return setTimeout(()=>{Ze&&v(me,Ze.children[Dt],U)}),""}function fe(me){L().then(()=>{et.navigateTo(be.applyPathParams(me,S))},()=>{})}function $(){L().then(()=>{et.navigateTo("/")},()=>{})}function x(me){l("handleClick",{node:me}),Q("appSwitcherPopover")}function Q(me){l("toggleDropdownState",{name:me})}function K(me){return me.testId?me.testId:ke.prepareForTests(me.title||me)}function he(me,Ze){if(me.link){const Dt=be.applyPathParams(me.link,Ze);if(Dt.indexOf(":")!==0&&Dt.indexOf("/:")===-1)return!0}return!1}function ne(me){return be.getNodeHref(me)}function Y(me){$e[me?"unshift":"push"](()=>{r=me,t(0,r)})}const ye=me=>{ke.handleNavAnchorClickedWithoutMetaKey(me)&&fe("/")};function ie(me){$e[me?"unshift":"push"](()=>{r=me,t(0,r)})}const He=()=>fe("/"),Pe=me=>{ke.handleNavAnchorClickedWithoutMetaKey(me)&&fe("/")},ce=()=>fe("/"),X=()=>Q("appSwitcherPopover"),ge=()=>Q("appSwitcherPopover"),se=()=>Q("appSwitcherPopover"),De=(me,Ze)=>{ke.handleNavAnchorClickedWithoutMetaKey(Ze)&&fe(me.link)};function Me(me){$e[me?"unshift":"push"](()=>{D=me,t(16,D)})}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,m=me.appSwitcherItems),"itemRenderer"in me&&t(8,v=me.itemRenderer),"pathParams"in me&&t(9,S=me.pathParams),"subTitle"in me&&t(10,y=me.subTitle),"defaultSubTitle"in me&&t(23,C=me.defaultSubTitle),"pathData"in me&&t(24,N=me.pathData),"addNavHrefForAnchor"in me&&t(12,I=me.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,fe,$,Q,D,n,V,oe,K,he,ne,C,N,x,Y,ye,ie,He,Pe,ce,X,ge,se,De,Me]}class nk extends At{constructor(e){super(),Lt(this,e,tk,xS,Nt,{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 Nd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Id(i){let e,t,n,l,r,s,o=i[0]&&Td(i),c=(i[10]||i[11])&&Md(i);return{c(){e=k("div"),o&&o.c(),t=q(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Td(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Md(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 Td(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?lk:ik}let g=c(i),h=g(i),_=i[7].name&&Ld(i),p=i[7].description&&Ad(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Rd(Nd(i,m,y));let S=i[12]&&Dd(i);return{c(){e=k("div"),h.c(),t=q(),n=k("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=q(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){E(y,e,C),h.m(e,null),E(y,t,C),E(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),E(y,r,C),E(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Ld(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Ad(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=Nd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Rd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Dd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ct(v,y),S&&S.d()}}}function ik(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ce(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),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ne(n,t)},d(l){l&&A(e)}}}function lk(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ni(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&ni(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Ld(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ad(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 rk(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),ni(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&&ni(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 sk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Rd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ed(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){E(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[re(t,"click",i[23]),re(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ed(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Dd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Vd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){E(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[re(e,"click",Rt(i[5])),re(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Vd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ne(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Vd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),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 ok(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Md(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Od(i),l=i[10]&&!i[8]&&Fd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=Se()},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=Od(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Fd(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 Od(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ce(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),w(e,t),w(t,l),s||(o=re(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ne(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 Fd(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=q(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[re(e,"click",i[15]),re(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function uk(i){let e,t=!i[1]&&Id(i);return{c(){t&&t.c(),e=Se()},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=Id(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function fk(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=dt("store"),y=dt("getTranslation");pi(i,y,Y=>t(13,n=Y));let C=dt("getUnsavedChangesModalPromise"),N=dt("openViewInModal");jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),U()),O(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function V(Y){return be.getNodeHref(Y)}function O(){m||(on.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),ie=ye||await le.getConfigValueAsync("settings.userSettings"),He={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(ie)){const Pe=ie.userSettingsProfileMenuEntry;He.settings={...ol.userSettingsProfileMenuEntry,...Pe}}He.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He),t(12,p=Boolean(ie))},["navigation.profile"]),m=!0)}async function U(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const ye=be.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function x({keyCode:Y}){(Y===_i||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:Q}=e;const K=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,U,$,K,he,ne]}class ck extends At{constructor(e){super(),Lt(this,e,fk,uk,Nt,{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 Ud(i,e,t){const n=i.slice();return n[34]=e[t],n}function Bd(i){let e,t,n,l,r,s=i[0]&&Hd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=zd(Ud(i,o,_));let g=i[12]&&Gd(i),h=(i[10]||i[11])&&Kd(i);return{c(){e=k("nav"),t=k("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-1lwfozx")},m(_,p){E(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Hd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Ud(_,o,m);c[m]?c[m].p(v,p):(c[m]=zd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Gd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Kd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Hd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ce(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ne(l,n)},d(r){r&&A(e)}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?hk:dk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 dk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 hk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function zd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Wd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=q(),l=k("span"),s=Ce(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(m,v){E(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[re(t,"click",i[23]),re(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Wd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Gd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&qd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=q(),l=k("span"),s=Ce(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),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[re(e,"click",Rt(i[5])),re(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=qd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function qd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?_k:gk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 gk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 _k(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Kd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Jd(i),l=i[10]&&!i[8]&&Yd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=Se()},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=Jd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Yd(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 Jd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&jd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=q(),l=k("span"),s=Ce(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=re(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=jd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ne(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 jd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?mk:pk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 pk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),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 mk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Yd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=re(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function bk(i){let e,t=!i[1]&&Bd(i);return{c(){t&&t.c(),e=Se()},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=Bd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function vk(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=dt("store"),y=dt("getTranslation");pi(i,y,Y=>t(13,n=Y));let C=dt("getUnsavedChangesModalPromise"),N=dt("openViewInModal");jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),U()),O(),nn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(Y){return ke.renderIconClassName(Y)}function T(Y){return ke.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:ke.prepareForTests(Y.label)}function V(Y){return be.getNodeHref(Y)}function O(){m||(on.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),ie=ye||await le.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(ie));const He={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Pe=ie.userSettingsProfileMenuEntry;He.settings={...ol.userSettingsProfileMenuEntry,...Pe}}He.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He)},["navigation.profile"]),m=!0)}async function U(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const ye=be.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function x({keyCode:Y}){(Y===_i||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:Q}=e;const K=Y=>{ke.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,U,$,K,he,ne]}class F_ extends At{constructor(e){super(),Lt(this,e,vk,bk,Nt,{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 Zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=xd(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=Se()},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&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),F(l[c],1)):(l[c]=xd(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,U){return U&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?Sk:wk}let D=I(i,-1),T=D(i);r=new Yn({props:{node:i[12]}});let L=p&&$d(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=q(),qe(r.$$.fragment),s=q(),o=k("div"),c=k("div"),h=Ce(g),_=q(),L&&L.c(),m=q(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,U){E(O,e,U),w(e,t),T.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),L&&L.m(o,null),w(e,m),y=!0,C||(N=re(e,"click",V),C=!0)},p(O,U){i=O,D===(D=I(i,U))&&T?T.p(i,U):(T.d(1),T=D(i),T&&(T.c(),T.m(t,l)));const W={};U&2&&(W.node=i[12]),r.$set(W),(!y||U&18)&&g!==(g=i[4](i[12])+"")&&Ne(h,g),U&34&&(p=i[5](i[12])),p?L?L.p(i,U):(L=$d(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||U&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||U&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(F(r.$$.fragment,O),y=!0)},o(O){z(r.$$.fragment,O),y=!1},d(O){O&&A(e),T.d(),Ge(r),L&&L.d(),C=!1,N()}}}function wk(i){let e,t,n;return{c(){e=k("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-503htr")},m(l,r){E(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&&A(e)}}}function Sk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){E(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function $d(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function xd(i){let e,t,n=i[12].label&&Xd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&F(n,1)):(n=Xd(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function kk(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ce(i[0]),c=q(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=q(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[re(y,"click",i[9]),re(e,"click",Ft(Ck))],N=!0)},p(T,[L]){(!C||L&1)&&Ne(o,T[0]),T[1]?D?(D.p(T,L),L&2&&F(D,1)):(D=Zd(T),D.c(),F(D,1),D.m(_,null)):D&&(Le(),z(D,1,1,()=>{D=null}),Ae())},i(T){C||(F(D),C=!0)},o(T){z(D),C=!1},d(T){T&&A(e),D&&D.d(),N=!1,Qe(I)}}}const Ck=()=>{};function yk(i,e,t){const n=Bt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ke.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class U_ extends At{constructor(e){super(),Lt(this,e,yk,kk,Nt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:Pk}=Fi;function eh(i,e,t){const n=i.slice();return n[6]=e[t],n}function th(i){let e,t,n,l=i[0]&&nh(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&F(l,1)):(l=nh(r),l.c(),F(l,1),l.m(t,null)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae())},i(r){n||(F(l),n=!0)},o(r){z(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function nh(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=lh(eh(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=Se()},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&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=eh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=lh(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(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){ct(l,s),s&&A(e)}}}function ih(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(T,L){return L&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?Ik:Nk}let N=C(i,-1),I=N(i);s=new Yn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=q(),qe(s.$$.fragment),o=q(),c=k("span"),h=Ce(g),p=q(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(T,L){E(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[re(t,"click",i[14]),re(e,"click",D)],S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L&1&&(V.node=i[6]),s.$set(V),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Ne(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||L&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(T){v||(F(s.$$.fragment,T),v=!0)},o(T){z(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function Nk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Ik(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function lh(i){let e,t,n=i[6].label&&ih(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&F(n,1)):(n=ih(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function rh(i){let e,t;return e=new U_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Tk(i){let e,t,n,l,r,s=!i[1]&&th(i),o=i[1]&&rh(i);return{c(){s&&s.c(),e=q(),o&&o.c(),t=Se()},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=re(Pk,"resize",ga),l=!0)},p(c,[g]){c[1]?s&&(Le(),z(s,1,1,()=>{s=null}),Ae()):s?(s.p(c,g),g&2&&F(s,1)):(s=th(c),s.c(),F(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&F(o,1)):(o=rh(c),o.c(),F(o,1),o.m(t.parentNode,t)):o&&(Le(),z(o,1,1,()=>{o=null}),Ae())},i(c){n||(F(s),F(o),n=!0)},o(c){z(s),z(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ga(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function Lk(i,e,t){const n=Bt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=dt("getUnsavedChangesModalPromise"),g=dt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});jt(async()=>{ga()}),Mn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=be.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else et.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return ke.isOpenUIiconName(V.icon)}function C(V){return ke.renderIconClassName(V)}function N(V){return ht.getTranslation(V.label)}function I(V){return V.testId?V.testId:ke.prepareForTests(V.pathSegment,V.label)}function D(V){return be.getNodeHref(V,o)}const T=V=>{ke.handleNavAnchorClickedWithoutMetaKey(V)},L=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ga,s,h,_,y,C,N,I,D,T,L]}class B_ extends At{constructor(e){super(),Lt(this,e,Lk,Tk,Nt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ga}}const dn={_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?te.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=te.addLeadingSlash(et.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.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=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=le.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=dn._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=te.normalizePath(i),t=te.normalizePath(t),!!dn.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=dn.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 dn.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=le.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await le.getConfigValueAsync("navigation.contextSwitcher.options");return await dn.generateSwitcherNav(e,t)}};function sh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ah(i,e,t){const n=i.slice();return n[21]=e[t],n}function oh(i,e,t){const n=i.slice();return n[21]=e[t],n}function uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(oh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){E(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=oh(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),ct(n,l)}}}function fh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[re(t,"click",Rt(Ok)),re(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function ch(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&fh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=fh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function dh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
58
58
  <div class="fd-busy-indicator__circle"></div>
59
- <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 hh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=gh(ah(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=ah(l,t,s);n[s]?n[s].p(o,r):(n[s]=gh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Ak(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function Ek(i){let e,t,n,l,r;function s(h,_){return h[2]?Dk:Rk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),c.m(e,null),E(h,n,_),l||(r=le(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&&A(e),c.d(),h&&A(n),l=!1,r()}}}function Rk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(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,_){E(h,e,_),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ne(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&&A(e),c=!1,g()}}}function Dk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=Se(),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[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Vk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Vk,then:Ek,catch:Ak,value:26};return ua(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),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[21].label,i[1].fallbackLabelResolver,i[21].id))&&ua(t,n)||k_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function _h(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=mh(sh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){E(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=sh(l,t,s);n[s]?n[s].p(o,r):(n[s]=mh(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),ct(n,l)}}}function ph(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",i[18]),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function mh(i){let e,t=i[21].position==="bottom"&&ph(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=ph(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Mk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&uh(i),c=i[3]&&i[3].length===0&&i[11]&&dh(),g=i[3]&&i[3].length&&hh(i),h=i[0]&&i[0].length&&_h(i);return{c(){e=k("nav"),o&&o.c(),t=q(),n=k("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-qht2wo")},m(_,p){E(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=uh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=dh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=hh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=_h(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Ok=()=>{};function Fk(i,e,t){let n,l=Fe,r=()=>(l(),l=Mo(y,W=>t(14,n=W)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Bt();function I(W){N("onActionClick",{node:W})}function D(W,oe){N("goToOption",{option:W,selectedOption:oe})}const T=W=>I(W),L=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>D(W,_),O=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},U=W=>I(W);return i.$$set=W=>{"actions"in W&&t(0,s=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,h=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,v=W.getRouteLink),"getTestId"in W&&t(9,S=W.getTestId),"getTranslation"in W&&r(t(10,y=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,C=W.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,I,D,n,T,L,V,O,U]}class H_ extends At{constructor(e){super(),Lt(this,e,Fk,Mk,Nt,{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 bh(i){let e,t,n,l=!i[9]&&vh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&wh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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&&(Le(),z(l,1,1,()=>{l=null}),Ae()):l?(l.p(s,o),o[0]&512&&F(l,1)):(l=vh(s),l.c(),F(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&F(r,1)):(r=wh(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(l),F(r),n=!0)},o(s){z(l),z(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;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Bk:Uk}let p=_(i),m=p(i);return s=new H_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),m.c(),l=q(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){E(v,e,S),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),ze(s,r,null),c=!0,g||(h=le(n,"click",Ft(Qk)),g=!0)},p(v,S){p===(p=_(v))&&m?m.p(v,S):(m.d(1),m=p(v),m&&(m.c(),m.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(F(s.$$.fragment,v),c=!0)},o(v){z(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),Ge(s),g=!1,h()}}}function Uk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Wk:Hk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Bk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Kk:qk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",Rt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Hk(i){let e,t;function n(s,o){return s[4]?zk:Gk}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=k("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 Wk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),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 zk(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Gk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function qk(i){let e,t;function n(s,o){return s[4]?Jk:jk}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=k("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 Kk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),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 Jk(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function jk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function wh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I=!i[4]&&Sh(i),D=i[4]&&kh(i);return h=new H_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=q(),D&&D.c(),c=q(),g=k("div"),qe(h.$$.fragment),_=q(),p=k("footer"),m=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),ze(h,g,null),w(t,_),w(t,p),w(p,m),w(m,v),w(v,S),y=!0,C||(N=[le(S,"click",i[12]),le(e,"click",Ft(Zk))],C=!0)},p(T,L){T[4]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Sh(T),I.c(),I.m(s,o)),T[4]?D?D.p(T,L):(D=kh(T),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};L[0]&1&&(V.actions=T[0]),L[0]&32&&(V.config=T[5]),L[0]&64&&(V.customOptionsRenderer=T[6]),L[0]&2&&(V.options=T[1]),L[0]&16&&(V.selectedLabel=T[4]),L[0]&4&&(V.selectedOption=T[2]),L[0]&512&&(V.isMobile=T[9]),L[0]&16384&&(V.isContextSwitcherDropdownShown=T[14]),h.$set(V)},i(T){y||(F(h.$$.fragment,T),y=!0)},o(T){z(h.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),D&&D.d(),Ge(h),C=!1,Qe(N)}}}function Sh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function kh(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Yk(i){let e,t,n=i[3]&&bh(i);return{c(){n&&n.c(),e=Se()},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&&F(n,1)):(n=bh(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Qk=()=>{},Zk=()=>{};function Xk(i,e,t){let n,l;const r=Bt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,T,L=dt("getUnsavedChangesModalPromise"),V=dt("store"),O=dt("getTranslation");pi(i,O,ce=>t(16,l=ce));let U=!1,W,oe,fe;jt(async()=>{on.doOnStoreChange(V,async()=>{const ce=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=te.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=te.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const X=tt.getCurrentPath();t(22,v=ce.fallbackLabelResolver),dn.resetFallbackLabelCache(),ce.lazyloadOptions||await J(),dn.isContextSwitcherDetailsView(X,ce.parentNodePath)&&await he(X)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(ce=>he(ce)),Nn.addEventListener("message",ce=>{!Ie.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),J())}),t(23,D=g.defaultLabel)}),Mn(()=>{U!==I&&(U=I,J()),t(14,fe=o.contextSwitcherPopover||!1)});function $(ce,X,ge){return ce?Promise.resolve(ce):dn.getFallbackLabel(X,ge)}function x(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function Q(ce){return be.getNodeHref(ce,S)}async function J(){t(1,_=await dn.fetchOptions(_));const ce=g||{},X=ce.parentNodePath,ge=ce.fallbackLabelResolver,se=tt.getCurrentPath();t(2,m=await dn.getSelectedOption(se,_,X)),t(4,c=await dn.getSelectedLabel(se,_,X,ge)),t(13,W=await dn.getSelectedNode(se,_,X)),T=ce.preserveSubPathOnSwitch}async function he(ce){const X=g||{},ge=X.parentNodePath,se=X.fallbackLabelResolver;t(2,m=await dn.getSelectedOption(ce,_,ge)),t(4,c=await dn.getSelectedLabel(ce,_,ge,se)),t(13,W=await dn.getSelectedNode(ce,_,ge))}async function ne(ce){let X=ce.detail.node;X.clickHandler&&!await X.clickHandler(X)||(setTimeout(()=>{Y(X.link)}),N&&r("toggleDropdownState"))}function Y(ce){L().then(()=>{tt.navigateTo(ce)},()=>{})}function ye(ce){let X=ce.detail.option,ge=ce.detail.selectedOption;L().then(()=>{T&&ge?tt.navigateTo(dn.getNodePathFromCurrentPath(X,ge)):tt.navigateTo(X.link),N&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&J()}const He=()=>{n&&ie()},Pe=()=>{n&&ie()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,m=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,D=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!m)},[h,_,m,s,c,g,y,C,o,N,ne,ye,ie,W,fe,n,l,O,oe,$,x,Q,v,D,S,I,J,he,Y,p,He,Pe]}class W_ extends At{constructor(e){super(),Lt(this,e,Xk,Yk,Nt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:$k}=Fi;function Ch(i,e,t){const n=i.slice();return n[22]=e[t],n}function yh(i){let e,t,n,l=!i[2]&&Ph(i),r=i[2]&&i[3].productSwitcherPopover&&Ah(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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=Ph(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&F(r,1)):(r=Ah(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?eC:xk}let I=N(i,-1),D=I(i),T=i[0],L=[];for(let V=0;V<T.length;V+=1)L[V]=Lh(Ch(i,T,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=q(),_=k("div"),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].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(m,"class","fd-product-switch__list"),f(p,"class",v=jn(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,m);for(let U=0;U<L.length;U+=1)L[U].m(m,null);y||(C=[le(r,"click",Ft(i[7])),le(l,"click",Ft(oC))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){T=V[0];let U;for(U=0;U<T.length;U+=1){const W=Ch(V,T,U);L[U]?L[U].p(W,O):(L[U]=Lh(W),L[U].c(),L[U].m(m,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}O&512&&v!==(v=jn(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ct(L,V),y=!1,Qe(C)}}}function xk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){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 eC(i){let e,t;return{c(){e=k("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 Nh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?nC:tC}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("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){E(_,e,p),g.m(e,null),w(e,t),r||(s=le(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 tC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?lC:iC}let _=h(i,-1),p=_(i),m=g&&Ih(i);return{c(){e=k("div"),p.c(),n=q(),l=k("div"),r=k("div"),o=Ce(s),c=q(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){E(v,e,S),p.m(e,null),E(v,n,S),E(v,l,S),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Ne(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=Ih(v),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),m&&m.d()}}}function nC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?sC:rC}let S=v(i,-1),y=S(i),C=h&&Th(i);return{c(){e=k("a"),t=k("div"),y.c(),l=q(),r=k("div"),s=k("div"),c=Ce(o),g=q(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){E(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(m=le(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ne(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=Th(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function iC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},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 lC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){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-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ih(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function rC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},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 sC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){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-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Th(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Lh(i){let e,t=i[22].label&&Nh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Nh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ah(i){let e,t;return e=new U_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){ze(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||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function aC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&yh(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),E(o,t,c),n=!0,l||(r=le($k,"resize",_a),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&&F(s,1)):(s=yh(o),s.c(),F(s,1),s.m(t.parentNode,t)):s&&(Le(),z(s,1,1,()=>{s=null}),Ae())},i(o){n||(F(s),n=!0)},o(o){z(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function _a(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const oC=()=>{};function uC(i,e,t){const n=Bt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=dt("store"),g=dt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;jt(async()=>{on.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),I()),_a()},["navigation.productSwitcher"])});function p(O){g().then(()=>{tt.navigateToLink(O)},()=>{}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return ke.renderIconClassName(O)}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return ht.getTranslation(O.label)}function N(O){return ht.getTranslation(O.subTitle)}function I(){ke.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(O){return O.testId?O.testId:ke.prepareForTests(O.label)}function T(O){return be.getNodeHref(O)}const L=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,m,v,_a,h,S,y,C,N,D,T,L,V]}class z_ extends At{constructor(e){super(),Lt(this,e,uC,aC,Nt,{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 _a}}function Eh(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function fC(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){E(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function cC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){E(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function dC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function hC(i){let e,t,n,l=i[5]&&Rh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Rh(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 Rh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dh(Eh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dh(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),ct(n,l),i[22](null)}}}function gC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=Se(),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[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function _C(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=q(),o=k("div"),g=Ce(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Rt(mC)),h=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Ne(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Dh(i){let e,t,n,l;function r(h,_){return h[9]?gC:_C}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(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,Qe(l)}}}function pC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,V){return L[7]&&L[7].disableInputHandlers?cC:fC}let C=y(i),N=C(i);function I(L,V){return L[8]?dC:hC}let D=I(i),T=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=q(),T.c(),c=q(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",m=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,V){E(L,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),T.m(n,null),E(L,c,V),E(L,g,V),w(g,h),w(h,_),w(_,p),v||(S=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ft(bC)),le(_,"click",i[6]),le(h,"click",Ft(vC))],v=!0)},p(L,V){C===(C=y(L))&&N?N.p(L,V):(N.d(1),N=C(L),N&&(N.c(),N.m(l,null))),D===(D=I(L))&&T?T.p(L,V):(T.d(1),T=D(L),T&&(T.c(),T.m(n,null))),V[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Fe,o:Fe,d(L){L&&A(e),N.d(),T.d(),L&&A(c),L&&A(g),v=!1,Qe(S)}}}const mC=()=>{},bC=()=>{},vC=()=>{};function wC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Bt(),p={fireItemSelected:ne=>{m.searchProvider.onSearchResultItemSelected(ne)}};let m={},v,S;jt(async()=>{t(7,m=h);let ne=o;const Y=C(m.searchProvider);Y&&(ne.placeholder=Y),y()}),Mn(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=te.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=te.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C(ne){if(!ne||!ne.inputPlaceholder)return;const Y=ht.getCurrentLocale();if(te.isFunction(ne.inputPlaceholder))return ne.inputPlaceholder();if(typeof ne.inputPlaceholder=="string"){const ye=ht.getTranslation(ne.inputPlaceholder);return!!ye&&ye.trim().length>0?ye:ne.inputPlaceholder}if(typeof ne.inputPlaceholder=="object")return ne.inputPlaceholder[Y]}function N(ne,Y,ye){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ne,Y.children[ye],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:ne}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&ne===_i?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&ne===gi?m.searchProvider.onEscape():ne===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ne){let Y=g.children;if(Y)for(let ye=0;ye<Y.length;ye++){let{childNodes:ie,nextSibling:He,previousSibling:Pe}=Y[ye],ce;if(ie[0].getAttribute("aria-selected")==="true"){ne===Mi&&(ce=He!==null?He:Y[0]),ne===Vl&&(ce=Pe!==null?Pe:Y[Y.length-1]),ie[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function L(){let ne=g.children;if(ne)for(let Y=0;Y<ne.length;Y++){let ye=ne[Y];ye.childNodes[0].getAttribute("aria-selected")==="true"&&ye.childNodes[0].setAttribute("aria-selected","false")}}function V(ne){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ne):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===gi&&m.searchProvider.onEscape()}function O(ne,{keyCode:Y}){Y===_i&&m.searchProvider.onSearchResultItemSelected(ne),Y===Vl||Y===Mi?T(Y):te.isFunction(m.searchProvider.onEscape)&&Y===gi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function U(ne){let Y=ne.pathObject;Y.externalLink?tt.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function W(){o&&o.focus()}function oe(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const ne=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,ne)}}const fe=ne=>D(ne);function $(ne){$e[ne?"unshift":"push"](()=>{o=ne,t(1,o)})}const x=(ne,Y)=>V(ne),Q=(ne,Y)=>O(ne,Y);function J(ne){$e[ne?"unshift":"push"](()=>{g=ne,t(3,g)})}function he(ne){$e[ne?"unshift":"push"](()=>{c=ne,t(2,c)})}return i.$$set=ne=>{"isSearchFieldVisible"in ne&&t(4,n=ne.isSearchFieldVisible),"searchResult"in ne&&t(5,l=ne.searchResult),"displaySearchResult"in ne&&t(0,r=ne.displaySearchResult),"displayCustomSearchResult"in ne&&t(15,s=ne.displayCustomSearchResult),"inputElem"in ne&&t(1,o=ne.inputElem),"luigiCustomSearchRenderer__slot"in ne&&t(2,c=ne.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ne&&t(3,g=ne.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ne&&t(16,h=ne.globalSearchConfig)},[r,o,c,g,n,l,oe,m,v,S,N,I,D,V,O,s,h,U,fe,$,x,Q,J,he]}class SC extends At{constructor(e){super(),Lt(this,e,wC,pC,Nt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Vh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function kC(i){let e,t,n,l,r,s,o,c=i[11]&&Mh(i);return{c(){e=k("input"),t=q(),n=k("span"),c&&c.c(),l=q(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){E(g,e,h),i[26](e),E(g,t,h),E(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Mh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[26](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Qe(o)}}}function CC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Mh(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){E(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function yC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function PC(i){let e,t,n,l=i[4]&&Oh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Oh(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 Oh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Vh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Vh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Fh(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),ct(n,l),i[30](null)}}}function NC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=Se(),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[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function IC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=q(),o=k("div"),g=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Rt(LC)),h=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Ne(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Fh(i){let e,t,n,l;function r(h,_){return h[10]?NC:IC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(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,Qe(l)}}}function Uh(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Ft(EC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Qe(o)}}}function Bh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=k("div"),t=k("button"),l=Ce(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){E(g,e,h),w(e,t),w(t,l),o||(c=le(t,"click",Ft(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ne(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(T,L){return T[8]&&T[8].disableInputHandlers?CC:kC}let v=m(i),S=v(i);function y(T,L){return T[9]?yC:PC}let C=y(i),N=C(i),I=!i[5]&&Uh(i),D=i[5]&&Bh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=q(),N.c(),c=q(),I&&I.c(),g=q(),D&&D.c(),h=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),E(T,c,L),I&&I.m(T,L),E(T,g,L),D&&D.m(T,L),E(T,h,L),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ft(AC))],_=!0)},p(T,L){v===(v=m(T))&&S?S.p(T,L):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&N?N.p(T,L):(N.d(1),N=C(T),N&&(N.c(),N.m(n,null))),L[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Uh(T),I.c(),I.m(g.parentNode,g)),T[5]?D?D.p(T,L):(D=Bh(T),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(T){T&&A(e),S.d(),N.d(),T&&A(c),I&&I.d(T),T&&A(g),D&&D.d(T),T&&A(h),_=!1,Qe(p)}}}const LC=()=>{},AC=()=>{},EC=()=>{};function RC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Bt(),p={fireItemSelected:se=>{S.searchProvider.onSearchResultItemSelected(se)}};let m=ol.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=dt("getTranslation");pi(i,I,se=>t(12,n=se)),jt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let se=o;const De=T(S.searchProvider);De&&(se.placeholder=De),D(),jf.handleVisibilityGlobalSearch();const Me=document.querySelector(".lui-global-search");Me&&new ResizeObserver(Ze=>{jf.handleVisibilityGlobalSearch()}).observe(Me)}),Mn(()=>{t(8,S=h),D(),W()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(se){if(!se||!se.inputPlaceholder)return;const De=ht.getCurrentLocale();if(te.isFunction(se.inputPlaceholder))return se.inputPlaceholder();if(typeof se.inputPlaceholder=="string"){const Me=ht.getTranslation(se.inputPlaceholder);return!!Me&&Me.trim().length>0?Me:se.inputPlaceholder}if(typeof se.inputPlaceholder=="object")return se.inputPlaceholder[De]}function L(se,De,Me){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(se,De.children[Me],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:se}){S?te.isFunction(S.searchProvider.onEnter)&&se===_i?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&se===gi?S.searchProvider.onEscape():se===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function U(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,N=!0):t(11,N=!1)}function oe(){t(1,o.value="",o),V(),t(11,N=!1)}function fe(se){let De=g.children;if(De)for(let Me=0;Me<De.length;Me++){let{childNodes:me,nextSibling:Ze,previousSibling:Dt}=De[Me],Ht;if(me[0].getAttribute("aria-selected")==="true"){se===Mi&&(Ht=Ze!==null?Ze:De[0]),se===Vl&&(Ht=Dt!==null?Dt:De[De.length-1]),me[0].setAttribute("aria-selected","false"),Ht.childNodes[0].setAttribute("aria-selected","true"),Ht.focus();break}}}function $(){let se=g.children;if(se)for(let De=0;De<se.length;De++){let Me=se[De];Me.childNodes[0].getAttribute("aria-selected")==="true"&&Me.childNodes[0].setAttribute("aria-selected","false")}}function x(se){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(se):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===gi&&S.searchProvider.onEscape()}function Q(se,{keyCode:De}){De===_i&&S.searchProvider.onSearchResultItemSelected(se),De===Vl||De===Mi?fe(De):te.isFunction(S.searchProvider.onEscape)&&De===gi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function J(se){let De=se.pathObject;De.externalLink?tt.navigateToLink(De):_("handleSearchNavigation",{node:De})}function he(){o&&o.focus()}function ne(){if(v?t(0,r=!1):setTimeout(()=>{he()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const se=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,se)}}const Y=se=>O(se);function ye(se){$e[se?"unshift":"push"](()=>{o=se,t(1,o)})}const ie=()=>W(),He=(se,De)=>x(se),Pe=(se,De)=>Q(se,De);function ce(se){$e[se?"unshift":"push"](()=>{g=se,t(3,g)})}function X(se){$e[se?"unshift":"push"](()=>{c=se,t(2,c)})}const ge=()=>ne();return i.$$set=se=>{"searchResult"in se&&t(4,l=se.searchResult),"displaySearchResult"in se&&t(0,r=se.displaySearchResult),"displayCustomSearchResult"in se&&t(22,s=se.displayCustomSearchResult),"inputElem"in se&&t(1,o=se.inputElem),"luigiCustomSearchRenderer__slot"in se&&t(2,c=se.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in se&&t(3,g=se.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in se&&t(23,h=se.globalSearchConfig),"isSearchFieldVisible"in se&&t(5,v=se.isSearchFieldVisible)},[r,o,c,g,l,v,ne,m,S,y,C,N,n,I,L,V,O,U,W,oe,x,Q,s,h,J,Y,ye,ie,He,Pe,ce,X,ge]}class DC extends At{constructor(e){super(),Lt(this,e,RC,TC,Nt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Hh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?MC:VC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 VC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){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 MC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){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 Wh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new ns({props:{node:i[0]}}),{c(){e=k("span"),n=Ce(t),l=q(),qe(r.$$.fragment)},m(o,c){E(o,e,c),w(e,n),w(e,l),ze(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ne(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(F(r.$$.fragment,o),s=!0)},o(o){z(r.$$.fragment,o),s=!1},d(o){o&&A(e),Ge(r)}}}function OC(i){let e,t,n,l=i[0].icon&&Hh(i),r=(!i[0].icon||i[0].showLabel)&&Wh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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=Hh(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&&F(r,1)):(r=Wh(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function FC(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Bo extends At{constructor(e){super(),Lt(this,e,FC,OC,Nt,{node:0})}}const{Boolean:G_,window:zh}=Fi;function Gh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function qh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function UC(i){let e,t;return e=new F_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function BC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Kh(i);function S(L){i[59](L)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new nk({props:y}),$e.push(()=>pt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Jh(i),N=(!i[0]||i[1])&&jh(i),I=(i[18]||i[7]&&i[30].length>0)&&Qh(i),D=(i[0]||i[16])&&cg(i),T=i[12]&&dg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=q(),qe(l.$$.fragment),s=q(),C&&C.c(),o=q(),c=k("div"),N&&N.c(),g=q(),I&&I.c(),h=q(),D&&D.c(),_=q(),T&&T.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(L,V){E(L,e,V),w(e,t),v&&v.m(t,null),w(t,n),ze(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),T&&T.m(c,null),m=!0},p(L,V){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,V):(v=Kh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=L[30]),V[1]&1&&(O.pathParams=L[31]),V[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=L[6],_t(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,V),V[0]&786432&&F(C,1)):(C=Jh(L),C.c(),F(C,1),C.m(e,o)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),!L[0]||L[1]?N?(N.p(L,V),V[0]&3&&F(N,1)):(N=jh(L),N.c(),F(N,1),N.m(c,g)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,V),V[0]&1074004096&&F(I,1)):(I=Qh(L),I.c(),F(I,1),I.m(c,h)):I&&(Le(),z(I,1,1,()=>{I=null}),Ae()),L[0]||L[16]?D?(D.p(L,V),V[0]&65537&&F(D,1)):(D=cg(L),D.c(),F(D,1),D.m(c,_)):D&&(Le(),z(D,1,1,()=>{D=null}),Ae()),L[12]?T?(T.p(L,V),V[0]&4096&&F(T,1)):(T=dg(L),T.c(),F(T,1),T.m(c,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!m||V[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(L){m||(F(l.$$.fragment,L),F(C),F(N),F(I),F(D),F(T),m=!0)},o(L){z(l.$$.fragment,L),z(C),z(N),z(I),z(D),z(T),m=!1},d(L){L&&A(e),v&&v.d(),Ge(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),T&&T.d()}}}function Kh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Jh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function m(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new DC({props:y}),$e.push(()=>pt(t,"isSearchFieldVisible",h)),$e.push(()=>pt(t,"searchResult",_)),$e.push(()=>pt(t,"displaySearchResult",p)),$e.push(()=>pt(t,"displayCustomSearchResult",m)),$e.push(()=>pt(t,"inputElem",v)),$e.push(()=>pt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){E(C,e,N),ze(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],_t(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],_t(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],_t(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],_t(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],_t(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],_t(()=>c=!1)),t.$set(I)},i(C){g||(F(t.$$.fragment,C),g=!0)},o(C){z(t.$$.fragment,C),g=!1},d(C){C&&A(e),Ge(t)}}}function jh(i){let e,t,n,l,r=i[18]&&!i[19]&&Yh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new W_({props:o}),$e.push(()=>pt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=q(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),E(c,e,g),ze(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&F(r,1)):(r=Yh(c),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],_t(()=>n=!1)),t.$set(h)},i(c){l||(F(r),F(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),Ge(t,c)}}}function Yh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function m(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new SC({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"searchResult",h)),$e.push(()=>pt(e,"displaySearchResult",_)),$e.push(()=>pt(e,"displayCustomSearchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],_t(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],_t(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],_t(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],_t(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],_t(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],_t(()=>o=!1)),e.$set(N)},i(y){c||(F(e.$$.fragment,y),c=!0)},o(y){z(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Qh(i){let e,t,n,l=i[7]&&i[30].length>0&&Zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&eg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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[30].length>0?l?(l.p(s,o),o[0]&1073741952&&F(l,1)):(l=Zh(s),l.c(),F(l,1),l.m(e.parentNode,e)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&F(r,1)):(r=eg(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(l),F(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=xh(qh(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=Se()},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]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=qh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=xh(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(l[o]);t=!0}},o(s){l=l.filter(G_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Xh(i){let e,t,n,l;const r=[WC,HC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),z(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),F(t,1),t.m(n.parentNode,n))},i(c){l||(F(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function HC(i){let e,t,n,l,r;const s=[GC,zC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=q(),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),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),F(n,1),n.m(e,l))},i(g){r||(F(n),r=!0)},o(g){z(n),r=!1},d(g){g&&A(e),o[t].d()}}}function WC(i){let e=i[111].visibleChildren.filter(hg).length>0,t,n,l=e&&$h(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(hg).length>0),e?l?(l.p(r,s),s[0]&128&&F(l,1)):(l=$h(r),l.c(),F(l,1),l.m(t.parentNode,t)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae())},i(r){n||(F(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&A(t)}}}function zC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Bo({props:m}),$e.push(()=>pt(t,"node",p)),r=new Yn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=q(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){E(S,e,y),ze(t,e,null),w(e,l),ze(r,e,null),g=!0,h||(_=le(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],_t(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(F(t.$$.fragment,S),F(r.$$.fragment,S),g=!0)},o(S){z(t.$$.fragment,S),z(r.$$.fragment,S),g=!1},d(S){S&&A(e),Ge(t),Ge(r),h=!1,_()}}}function GC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Bo({props:v}),$e.push(()=>pt(t,"node",m)),r=new Yn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=q(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){E(y,e,C),ze(t,e,null),w(e,l),ze(r,e,null),h=!0,_||(p=le(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],_t(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(F(t.$$.fragment,y),F(r.$$.fragment,y),h=!0)},o(y){z(t.$$.fragment,y),z(r.$$.fragment,y),h=!1},d(y){y&&A(e),Ge(t),Ge(r),_=!1,p()}}}function $h(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Bo({props:L}),$e.push(()=>pt(r,"node",T)),c=new Yn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new B_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=q(),qe(c.$$.fragment),m=q(),v=k("div"),qe(S.$$.fragment),C=q(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,l),ze(r,l,null),w(l,o),ze(c,l,null),w(t,m),w(t,v),ze(S,v,null),w(e,C),N=!0,I||(D=[le(l,"click",V),le(n,"click",Ft(ly))],I=!0)},p(O,U){i=O;const W={};!s&&U[0]&128&&(s=!0,W.node=i[111],_t(()=>s=!1)),r.$set(W);const oe={};U[0]&128&&(oe.node=i[111]),c.$set(oe),(!N||U[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||U[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||U[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||U[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const fe={};U[0]&128&&(fe.node=i[111]),U[1]&1&&(fe.pathParams=i[31]),U[0]&268435456&&(fe.addNavHrefForAnchor=i[28]),S.$set(fe),(!N||U[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(F(r.$$.fragment,O),F(c.$$.fragment,O),F(S.$$.fragment,O),N=!0)},o(O){z(r.$$.fragment,O),z(c.$$.fragment,O),z(S.$$.fragment,O),N=!1},d(O){O&&A(e),Ge(r),Ge(c),Ge(S),I=!1,Qe(D)}}}function xh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Xh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&F(n,1)):(n=Xh(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function eg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O;g=new Yn({props:{node:i[11],special:"true"}});let U=i[18]&&!i[19]&&tg(i),W=i[46]&&(!i[0]||i[1])&&ng(i),oe=i[7]&&ig(i),fe=i[12]&&ag(i),$=i[12]&&og(i),x=i[14]&&ug(i),Q=(!i[0]||i[1])&&fg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=q(),qe(g.$$.fragment),_=q(),p=k("div"),m=k("nav"),v=k("ul"),U&&U.c(),S=q(),W&&W.c(),y=q(),oe&&oe.c(),C=q(),fe&&fe.c(),I=q(),$&&$.c(),D=q(),x&&x.c(),T=q(),Q&&Q.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"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-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,he){E(J,e,he),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),ze(g,s,null),w(n,_),w(n,p),w(p,m),w(m,v),U&&U.m(v,null),w(v,S),W&&W.m(v,null),w(v,y),oe&&oe.m(v,null),w(v,C),fe&&fe.m(v,null),w(n,I),$&&$.m(n,null),w(n,D),x&&x.m(n,null),w(n,T),Q&&Q.m(n,null),L=!0,V||(O=[le(s,"click",i[86]),le(l,"click",Ft(ry))],V=!0)},p(J,he){const ne={};he[0]&2048&&(ne.node=J[11]),g.$set(ne),(!L||he[0]&64&&h!==(h=J[6].overflowPopover||!1))&&f(s,"aria-expanded",h),J[18]&&!J[19]?U?U.p(J,he):(U=tg(J),U.c(),U.m(v,S)):U&&(U.d(1),U=null),J[46]&&(!J[0]||J[1])?W?W.p(J,he):(W=ng(J),W.c(),W.m(v,y)):W&&(W.d(1),W=null),J[7]?oe?(oe.p(J,he),he[0]&128&&F(oe,1)):(oe=ig(J),oe.c(),F(oe,1),oe.m(v,C)):oe&&(Le(),z(oe,1,1,()=>{oe=null}),Ae()),J[12]?fe?fe.p(J,he):(fe=ag(J),fe.c(),fe.m(v,null)):fe&&(fe.d(1),fe=null),(!L||he[0]&64&&N!==(N=!J[6].overflowPopover))&&f(p,"aria-hidden",N),J[12]?$?($.p(J,he),he[0]&4096&&F($,1)):($=og(J),$.c(),F($,1),$.m(n,D)):$&&(Le(),z($,1,1,()=>{$=null}),Ae()),J[14]?x?(x.p(J,he),he[0]&16384&&F(x,1)):(x=ug(J),x.c(),F(x,1),x.m(n,T)):x&&(Le(),z(x,1,1,()=>{x=null}),Ae()),!J[0]||J[1]?Q?(Q.p(J,he),he[0]&3&&F(Q,1)):(Q=fg(J),Q.c(),F(Q,1),Q.m(n,null)):Q&&(Le(),z(Q,1,1,()=>{Q=null}),Ae())},i(J){L||(F(g.$$.fragment,J),F(oe),F($),F(x),F(Q),L=!0)},o(J){z(g.$$.fragment,J),z(oe),z($),z(x),z(Q),L=!1},d(J){J&&A(e),Ge(g),U&&U.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),$&&$.d(),x&&x.d(),Q&&Q.d(),V=!1,Qe(O)}}}function tg(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
60
- <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),w(e,t),n||(l=le(t,"click",Ft(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function ng(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=q(),s=k("span"),c=Ce(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=le(t,"click",Ft(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function ig(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=sg(Gh(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=Se()},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]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Gh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=sg(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(l[o]);t=!0}},o(s){l=l.filter(G_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function lg(i){let e,t,n,l,r;const s=[KC,qC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(iy).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),F(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(F(n),r=!0)},o(g){z(n),r=!1},d(g){~t&&o[t].d(g),g&&A(l)}}}function qC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(T,L){return L[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?jC:JC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Yn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=q(),qe(s.$$.fragment),o=q(),c=k("span"),h=Ce(g),m=q(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,L){E(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,m),v=!0,S||(y=le(t,"click",Rt(D)),S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(F(s.$$.fragment,T),v=!0)},o(T){z(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,y()}}}function KC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,m,v,S,y,C,N,I=l&&rg(i);s=new Yn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=q(),qe(s.$$.fragment),c=q(),g=k("span"),_=Ce(h),S=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,L){E(T,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=le(t,"click",Rt(D)),C=!0)},p(T,L){i=T,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=rg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!y||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||L[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(F(s.$$.fragment,T),y=!0)},o(T){z(s.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function JC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function jC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function rg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&lg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&F(n,1)):(n=lg(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ag(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(m,v){return v[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?QC:YC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=q(),r=k("span"),o=Ce(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(m,v){E(m,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Ft(i[32])),c=!0)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=m[13].label+"")&&Ne(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function YC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){E(r,e,s),w(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 QC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function og(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new z_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function ug(i){let e,t;return e=new B_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function fg(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new W_({props:g}),$e.push(()=>pt(e,"dropDownStates",s)),$e.push(()=>pt(e,"selectedLabel",o)),$e.push(()=>pt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){ze(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],_t(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],_t(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],_t(()=>l=!1)),e.$set(p)},i(h){r||(F(e.$$.fragment,h),r=!0)},o(h){z(e.$$.fragment,h),r=!1},d(h){Ge(e,h)}}}function cg(i){let e,t,n,l,r;const s=[XC,ZC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&te.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){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):(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),F(l,1),l.m(e,null))},i(g){r||(F(l),r=!0)},o(g){z(l),r=!1},d(g){g&&A(e),o[n].d()}}}function ZC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?xC:$C}let C=y(i),N=C(i);return _=new F_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=q(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){E(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[le(r,"click",i[99]),le(n,"click",Ft(ay))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!m||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};D[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!m||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){m||(F(_.$$.fragment,I),m=!0)},o(I){z(_.$$.fragment,I),m=!1},d(I){I&&A(e),N.d(),Ge(_),v=!1,Qe(S)}}}function XC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?ty:ey}let _=h(i),p=_(i);return r=new ck({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=q(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,v){E(m,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),ze(r,l,null),o=!0,c||(g=le(t,"click",Ft(sy)),c=!0)},p(m,v){_===(_=h(m))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=m[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(F(r.$$.fragment,m),o=!0)},o(m){z(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),Ge(r),c=!1,g()}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){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 xC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ni(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&ni(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function ey(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ce(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ne(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 ty(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),ni(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&ni(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function dg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new z_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function ny(i){let e,t,n,l,r,s;const o=[BC,UC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),E(h,n,_),l=!0,r||(s=[le(zh,"click",i[41]),le(zh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Le(),z(c[p],1,1,()=>{c[p]=null}),Ae(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),F(t,1),t.m(n.parentNode,n))},i(h){l||(F(t),l=!0)},o(h){z(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Qe(s)}}}const iy=i=>!i.hideFromNav&&i.label,hg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},sy=()=>{},ay=()=>{};function oy(i,e,t){const n=Bt();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:m}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:L}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:U={}}=e,{urlAuthError:W}=e,{globalSearchConfig:oe}=e,{isGlobalSearchCentered:fe}=e,{isSearchFieldVisible:$}=e,{inputElem:x}=e,{luigiCustomSearchRenderer__slot:Q}=e,{displaySearchResult:J}=e,{displayCustomSearchResult:he}=e,{searchResult:ne}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:ye}=e,ie=dt("store"),He=!1,Pe,ce,X=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ge=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const se=async()=>{if(_&&0<_.length){const K=await ke.generateTopNavNodes(_);t(7,S=K.children),t(8,y=K.selectedNode),t(9,C=K.visibleNodeCount),t(11,I=K.totalBadgeNode),t(10,N=K.globalNavNodeCount),window.TOPNAVDATA=K.children,p=_}},De=()=>{t(1,s=sl.isLoggedIn())};jt(()=>{on.doOnStoreChange(ie,()=>{t(0,l=hi.isAuthorizationEnabled()),t(16,O=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,D=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,ye=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=ke.getProductSwitcherConfig()),t(18,oe=re.getConfigValue("globalSearch")),t(19,fe=oe&&oe.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,ge=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,X=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(ie,()=>{se()},["navigation.viewgroupdata"]),Nn.addEventListener("message",K=>{K.data.msg==="luigi.navigation.update-badge-counters"&&se()})}),Mn(()=>{(!p||p!=_)&&se(),De()});let{showTopNav:Me}=e;function me(K){return ke.renderIconClassName(K)}function Ze(K){return ke.isOpenUIiconName(K.icon)}const Dt=K=>ke.getNodeLabel(K);function Ht(K){return K.testId?K.testId:ke.prepareForTests(K.pathSegment,K.label)}function vt(K){return be.getNodeHref(K,m)}function un(K,Pt){return ke.generateTooltipText(K,Pt)}function On(){Et("productSwitcherPopover")}function zt(){t(43,He=!He),Et("contextSwitcherPopover")}function mi(K){t(14,L=!0),t(15,V=K)}function Ui(){t(14,L=!1)}function xt(K){n("handleClick",{node:K})}function Yt(K){n("handleSearchNavigation",{node:K})}function Qn(K){xt(K.detail.node)}function Et(K){const Pt=v||{},wn=!Pt[K];Gt(),Ui(),Pt[K]=wn,t(6,v=Pt)}function mn(K){Et(K.detail.name)}function Qt(){x&&x.focus()}function Bi(){$||setTimeout(()=>{Qt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:x,luigiCustomSearchRenderer__slot:Q})}function Gt(){const K=v||{},Pt=Object.keys(K);Pt&&Pt.length>0&&Pt.forEach(wn=>{K[wn]=!1,t(6,v=K)})}function ln(){c==="simple"||c==="simpleMobileOnly"?li():rn(),bi()}function bi(){if(!ke.getBurgerTooltipConfig())return;const[K,Pt]=ke.getBurgerTooltipConfig();K&&Pt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?K:Pt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?K:Pt))}function li(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function rn(){ci.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function vi(K){const Pt=K.detail;t(17,U=Pt||{})}function wi(K){v=K,t(6,v)}function ee(K){$=K,t(20,$)}function Ee(K){ne=K,t(25,ne)}function st(K){J=K,t(23,J)}function yt(K){he=K,t(24,he)}function wt(K){x=K,t(21,x)}function sn(K){Q=K,t(22,Q)}function bn(K){Dl.call(this,i,K)}function Zn(K){Dl.call(this,i,K)}function Fn(K){Dl.call(this,i,K)}function Hi(K){$=K,t(20,$)}function br(K){ne=K,t(25,ne)}function vr(K){J=K,t(23,J)}function wr(K){he=K,t(24,he)}function Fl(K){x=K,t(21,x)}function Sr(K){Q=K,t(22,Q)}function kr(K){Dl.call(this,i,K)}function Cr(K){Dl.call(this,i,K)}function fl(K){Dl.call(this,i,K)}function cl(K){v=K,t(6,v)}const ri=()=>Et("contextSwitcherPopover");function dl(K,Pt,wn,ki){wn[ki]=K,t(7,S)}const Wi=K=>Et(`dropDownPopover-${K}`);function Ul(K,Pt,wn,ki){wn[ki]=K,t(7,S)}const Bl=(K,Pt)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pt)&&xt(K)};function Hl(K,Pt,wn,ki){wn[ki]=K,t(7,S)}const yr=K=>xt(K),vn=()=>Et("overflowPopover"),hl=()=>{Bi(),Et("overflowPopover")},zi=K=>xt(K),Wl=K=>mi(K);function Pr(K){v=K,t(6,v)}const Gi=()=>Et("productSwitcherPopover");function gl(K){v=K,t(6,v)}function _l(K){Pe=K,t(44,Pe)}function pl(K){ce=K,t(45,ce)}const Si=()=>Et("contextSwitcherPopover"),zl=()=>Et("profilePopover"),qi=()=>Et("profilePopover"),St=()=>Et("profilePopover"),ml=()=>Et("profilePopover"),bl=()=>Et("profilePopover");function vl(K){v=K,t(6,v)}const wl=()=>Et("productSwitcherPopover"),si=()=>Et("profilePopover");return i.$$set=K=>{"authorizationEnabled"in K&&t(0,l=K.authorizationEnabled),"autologinEnabled"in K&&t(54,r=K.autologinEnabled),"isLoggedIn"in K&&t(1,s=K.isLoggedIn),"hideNavComponent"in K&&t(2,o=K.hideNavComponent),"responsiveNavSetting"in K&&t(3,c=K.responsiveNavSetting),"profileTypeSettings"in K&&t(4,g=K.profileTypeSettings),"showGlobalNav"in K&&t(5,h=K.showGlobalNav),"pathData"in K&&t(30,_=K.pathData),"pathParams"in K&&t(31,m=K.pathParams),"dropDownStates"in K&&t(6,v=K.dropDownStates),"children"in K&&t(7,S=K.children),"selectedNode"in K&&t(8,y=K.selectedNode),"visibleNodeCount"in K&&t(9,C=K.visibleNodeCount),"globalNavNodeCount"in K&&t(10,N=K.globalNavNodeCount),"totalBadgeNode"in K&&t(11,I=K.totalBadgeNode),"isProductSwitcherAvailable"in K&&t(12,D=K.isProductSwitcherAvailable),"productSwitcherConfig"in K&&t(13,T=K.productSwitcherConfig),"openMobileDropDown"in K&&t(14,L=K.openMobileDropDown),"nodeForMobile"in K&&t(15,V=K.nodeForMobile),"profileItemsAvailable"in K&&t(16,O=K.profileItemsAvailable),"userInfo"in K&&t(17,U=K.userInfo),"urlAuthError"in K&&t(55,W=K.urlAuthError),"globalSearchConfig"in K&&t(18,oe=K.globalSearchConfig),"isGlobalSearchCentered"in K&&t(19,fe=K.isGlobalSearchCentered),"isSearchFieldVisible"in K&&t(20,$=K.isSearchFieldVisible),"inputElem"in K&&t(21,x=K.inputElem),"luigiCustomSearchRenderer__slot"in K&&t(22,Q=K.luigiCustomSearchRenderer__slot),"displaySearchResult"in K&&t(23,J=K.displaySearchResult),"displayCustomSearchResult"in K&&t(24,he=K.displayCustomSearchResult),"searchResult"in K&&t(25,ne=K.searchResult),"burgerTooltip"in K&&t(26,Y=K.burgerTooltip),"responsiveShellbarPadding"in K&&t(27,ye=K.responsiveShellbarPadding),"addNavHrefForAnchor"in K&&t(28,ge=K.addNavHrefForAnchor),"showTopNav"in K&&t(29,Me=K.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Me=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,T,L,V,O,U,oe,fe,$,x,Q,J,he,ne,Y,ye,ge,Me,_,m,On,zt,mi,Ui,xt,Qn,Et,mn,Bi,Gt,vi,He,Pe,ce,X,me,Ze,Dt,Ht,vt,un,ln,r,W,Yt,li,rn,wi,ee,Ee,st,yt,wt,sn,bn,Zn,Fn,Hi,br,vr,wr,Fl,Sr,kr,Cr,fl,cl,ri,dl,Wi,Ul,Bl,Hl,yr,vn,hl,zi,Wl,Pr,Gi,gl,_l,pl,Si,zl,qi,St,ml,bl,vl,wl,si]}class uy extends At{constructor(e){super(),Lt(this,e,oy,ny,Nt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function gg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function fy(i){let e,t=i[0]&&gg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=gg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function cy(i,e,t){let{node:n}=e;return jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(()=>{n.webcomponent&&n.tabNav.showAsTabHeader?hr.renderWebComponent(n.viewUrl,document.querySelector(".lui-tab-header"),n.context,n):console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class dy extends At{constructor(e){super(),Lt(this,e,cy,fy,Nt,{node:0})}}const{window:To}=Fi;function _g(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function pg(i,e,t){const n=i.slice();return n[43]=e[t],n}function mg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function bg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function vg(i,e,t){const n=i.slice();return n[43]=e[t],n}function wg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Sg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&kg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=Lg(bg(i,I,V));let T=Object.entries(i[0]),L=[];for(let V=0;V<T.length;V+=1)L[V]=Dg(_g(i,T,V));return{c(){e=k("div"),N&&N.c(),t=q(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=q(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
61
- <span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=q(),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){E(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let U=0;U<D.length;U+=1)D[U].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,m);for(let U=0;U<L.length;U+=1)L[U].m(m,null);S=!0,y||(C=[le(h,"click",Rt(i[10])),le(c,"click",wy),le(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&F(N,1)):(N=kg(V),N.c(),F(N,1),N.m(e,t)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),O[0]&53485){I=Object.entries(V[0]);let U;for(U=0;U<I.length;U+=1){const W=bg(V,I,U);D[U]?D[U].p(W,O):(D[U]=Lg(W),D[U].c(),D[U].m(r,null))}for(;U<D.length;U+=1)D[U].d(1);D.length=I.length}if(O[0]&53485){T=Object.entries(V[0]);let U;for(U=0;U<T.length;U+=1){const W=_g(V,T,U);L[U]?L[U].p(W,O):(L[U]=Dg(W),L[U].c(),L[U].m(m,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(F(N),S=!0)},o(V){z(N),S=!1},d(V){V&&A(e),N&&N.d(),ct(D,V),ct(L,V),y=!1,Qe(C)}}}function kg(i){let e,t;return e=new dy({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function hy(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[20](i[39])}let T=i[40],L=[];for(let V=0;V<T.length;V+=1)L[V]=Pg(vg(i,T,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ce(s),c=q(),g=k("span"),_=q(),p=k("div"),m=k("nav"),v=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();y=q(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cr(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=cr(i[39],i[2]))},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,m),w(m,v);for(let U=0;U<L.length;U+=1)L[U].m(v,null);w(e,y),N||(I=[le(l,"click",Rt(D)),le(e,"click",vy)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[39])+"")&&Ne(o,s),O[0]&5&&h!==(h=cr(i[39],i[2]))&&f(l,"aria-selected",h),O[0]&49221){T=i[40];let U;for(U=0;U<T.length;U+=1){const W=vg(i,T,U);L[U]?L[U].p(W,O):(L[U]=Pg(W),L[U].c(),L[U].m(v,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}O[0]&9&&S!==(S=!i[3][i[39]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=cr(i[39],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ct(L,V),N=!1,Qe(I)}}}function gy(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Tg(wg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=wg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Tg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Cg(i){let e,t=i[43].label&&yg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=yg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-menu__item")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Pg(i){let e,t=!i[43].hideFromNav&&Cg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Cg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Ng(i){let e,t=i[43].label&&Ig(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Ig(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ig(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p;function m(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class",g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",h=i[43]===i[2])},m(v,S){E(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=le(t,"click",Rt(m)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),S[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[43]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function Tg(i){let e,t=!i[43].hideFromNav&&Ng(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ng(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Lg(i){let e,t,n;function l(o,c){if(c[0]&33&&(e=null),c[0]&1&&(t=null),e==null&&(e=o[39]==="undefined"||o[39].indexOf(o[5])===0),e)return gy;if(t==null&&(t=o[40].filter(by).length>0),t)return hy}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),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 _y(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[23](i[39],i[42])}function T(){return i[24](i[39],i[42])}let L=i[40],V=[];for(let O=0;O<L.length;O+=1)V[O]=Eg(pg(i,L,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ce(r),g=q(),h=k("button"),_=k("i"),v=q(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=q(),f(l,"class","fd-nested-list__title"),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=cr(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",m=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let W=0;W<V.length;W+=1)V[W].m(S,null);w(e,C),N||(I=[le(n,"click",Rt(D)),le(h,"click",Rt(T))],N=!0)},p(O,U){if(i=O,U[0]&4097&&r!==(r=i[12](i[39])+"")&&Ne(s,r),U[0]&9&&o!==(o=i[3][i[39]+i[42]])&&f(n,"aria-expanded",o),U[0]&5&&c!==(c=cr(i[39],i[2]))&&f(n,"aria-selected",c),U[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),U[0]&9&&m!==(m=i[3][i[39]+i[42]])&&f(h,"aria-expanded",m),U[0]&49221){L=i[40];let W;for(W=0;W<L.length;W+=1){const oe=pg(i,L,W);V[W]?V[W].p(oe,U):(V[W]=Eg(oe),V[W].c(),V[W].m(S,null))}for(;W<V.length;W+=1)V[W].d(1);V.length=L.length}U[0]&9&&y!==(y=!i[3][i[39]+i[42]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ct(V,O),N=!1,Qe(I)}}}function py(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Rg(mg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=mg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Rg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Ag(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[43])),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Eg(i){let e,t=i[43].label&&Ag(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Rg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Dg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[39]==="undefined"||s[39].indexOf(s[5])===0),e?py:_y}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 my(i){let e,t,n,l,r=i[0]&&i[1].length>1&&Sg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&F(r,1)):(r=Sg(s),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){t||(F(r),t=!0)},o(s){z(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Qe(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const by=i=>!i.hideFromNav&&i.label,vy=i=>i.stopPropagation(),wy=i=>i.stopPropagation();function Sy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=dt("getTranslation");pi(i,y,X=>t(12,n=X));let C=dt("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:X=>{X&&Object.getOwnPropertyNames(X).forEach(ge=>{ge==="pathData"?t(1,r=X.pathData):ge==="context"?context=X.context:ge==="children"?t(0,l=X.children):ge==="selectedNode"?t(11,h=X.selectedNode):ge==="selectedNodeForTabNav"&&t(2,_=X.selectedNodeForTabNav)})}},D=Bt();function T(X){return ke.getNodeLabel(X)}const L=async()=>{const X=I.get(),ge=await Vt.getTabNavData({...X},X);!ge||(I.set({...ge}),o=r,window.LEFTNAVDATA=ge.groupedChildren,setTimeout(V))},V=()=>{O();let X=document.getElementsByClassName("luigi-tabsContainer")[0],ge=document.getElementsByClassName("luigi-tabsMoreButton")[0],se=document.getElementsByClassName("luigi__more")[0],De,Me=0,me=!1,Ze,Dt;se&&se.setAttribute("aria-selected","false"),X&&(De=X.offsetWidth,[...X.children].forEach(vt=>{Ze=vt.currentStyle||window.getComputedStyle(vt),Dt=parseFloat(Ze.marginLeft)+parseFloat(Ze.marginRight),Me+=vt.offsetWidth+Dt;let un=vt.getAttribute("uid");Me>=De?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&se.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+un+'"]').classList.remove("hide_element"),me=!0):document.querySelector('li[uid="'+un+'"]').classList.add("hide_element")}),me?ge.classList.remove("hide_element"):ge.classList.add("hide_element"))},O=()=>{let X=document.getElementsByClassName("luigi-tabsContainer")[0];X!==void 0&&[...X.children].forEach(se=>{se.classList.remove("hide_element")})},U=()=>{N=new ResizeObserver(X=>{for(const ge of X)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ge.contentRect.height+"px")}),setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))})},W=()=>{N&&N.disconnect()};jt(()=>{t(16,c=re.getConfigBooleanValue("settings.hideNavigation")),U(),on.doOnStoreChange(C,()=>{L()},["navigation.viewgroupdata"])}),xr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Mn(()=>{(!o||o!=r)&&L(),(S===void 0||S!==v)&&(S=v,L())}),ma(()=>{W(),N?setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))}):U()});function oe(X){return be.getNodeHref(X,s)}function fe(X){x(),D("handleClick",{node:X})}function $(X){let ge={};p[X]||(ge[X]=!0),t(3,p=ge)}function x(){t(3,p={}),t(4,m=!1)}function Q(){O(),V()}function J(){t(4,m=!m)}const he=X=>fe(X),ne=X=>$(X),Y=X=>fe(X),ye=X=>fe(X),ie=(X,ge)=>$(X+ge),He=(X,ge)=>$(X+ge),Pe=X=>fe(X),ce=X=>$(X.name);return i.$$set=X=>{"children"in X&&t(0,l=X.children),"pathData"in X&&t(1,r=X.pathData),"pathParams"in X&&t(17,s=X.pathParams),"hideNavComponent"in X&&t(16,c=X.hideNavComponent),"virtualGroupPrefix"in X&&t(5,g=X.virtualGroupPrefix),"selectedNodeForTabNav"in X&&t(2,_=X.selectedNodeForTabNav),"dropDownStates"in X&&t(3,p=X.dropDownStates),"isMoreBtnExpanded"in X&&t(4,m=X.isMoreBtnExpanded),"resizeTabNavToggle"in X&&t(18,v=X.resizeTabNavToggle)},[l,r,_,p,m,g,fe,$,x,Q,J,h,n,y,T,oe,c,s,v,he,ne,Y,ye,ie,He,Pe,ce]}class ky extends At{constructor(e){super(),Lt(this,e,Sy,my,Nt,{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 Vg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Mg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Og(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Fg(i),o=i[0]&&i[3].length>0&&Wg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=q(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){E(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Fg(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=Wg(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 Fg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hg(Mg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(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=Mg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Hg(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),ct(n,l)}}}function Ug(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Bg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=q(),r=k("div"),o=Ce(s),c=q(),g=k("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Bg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Bg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?yy:Cy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Cy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(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&&A(e)}}}function yy(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Ug(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Ug(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Wg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qg(Vg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(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=Vg(l,t,s);n[s]?n[s].p(o,r):(n[s]=qg(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),ct(n,l)}}}function zg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Gg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=q(),r=k("div"),o=Ce(s),c=q(),g=k("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(n,"click",Rt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Gg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Gg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?Ny:Py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Py(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(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&&A(e)}}}function Ny(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function qg(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&zg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=zg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Iy(i){let e,t,n,l=i[2]&&Og(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[le(window,"click",pa),le(window,"blur",pa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Og(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&&A(e),t=!1,Qe(n)}}}function pa(){}function Ty(i,e,t){let n;const l=Bt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=dt("store"),_=dt("getTranslation");pi(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const W=await ke.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),s=r}};jt(()=>{on.doOnStoreChange(h,()=>{t(14,m=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Mn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(W){return ke.renderIconClassName(W)}function N(W){return ke.isOpenUIiconName(W.icon)}function I(W){return ht.getTranslation(W.label)}function D(W){return W.testId?W.testId:ke.prepareForTests(W.pathSegment,W.label)}function T(W){return be.getNodeHref(W,o)}function L(W){l("handleClick",{node:W})}function V(W){L(W.detail.node)}const O=(W,oe)=>{ke.handleNavAnchorClickedWithoutMetaKey(oe)&&L(W)},U=W=>L(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,v=W.responsiveNavSetting)},[c,g,p,r,L,pa,S,n,_,C,N,I,D,T,m,v,o,V,O,U]}class Ly extends At{constructor(e){super(),Lt(this,e,Ty,Iy,Nt,{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 pa}}function Ay(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){E(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function Ey(i,e,t){const n=Bt();let{pathData:l}=e,r,s={},o,c=dt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};jt(()=>{on.doOnStoreChange(c,()=>{},["navigation"])}),Mn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=tt.getCurrentPath();for(let T=I;T<l.length;T++){const L=l[T],V=be.mapPathToNode(D,L);if(s[V])N.push(s[V]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)N.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?ht.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:V,pending:!0});else{const O=await v(L);O&&N.push({label:O,node:L,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,m),N=[];for(let T=I;T<l.length;T++){const L=l[T],V=be.mapPathToNode(D,L);if(L.titleResolver){const U=await Vt.extractDataFromPath(V),W=be.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,L.context),U.pathData.pathParams);try{const oe=await ke.fetchNodeTitleData(L,W);N.push({label:oe.label,node:L,route:V});continue}catch{}}const O=await v(L);O&&N.push({label:O,node:L,route:V})}D===tt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(T=>{s[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function v(C){if(C.label&&!C._virtualTree)return ht.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=be.mapPathToNode(tt.getCurrentPath(),C),I=await Vt.extractDataFromPath(N);return be.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class Ry extends At{constructor(e){super(),Lt(this,e,Ey,Ay,Nt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Do="not_checked";Nn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Do="disabled"):i.data==="luigi.tpcEnabled"&&(Do="enabled")},!1);function Dy(){return Do}const{Boolean:Vy,window:My}=Fi;function Kg(i,e,t){const n=i.slice();return n[144]=e[t],n[146]=t,n}function Jg(i){let e,t;return e=new M2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function jg(i){let e,t;function n(){return i[68](i[146])}function l(...s){return i[69](i[146],...s)}function r(...s){return i[70](i[146],...s)}return e=new V_({props:{settings:i[144].mfModal.settings,nodepath:i[144].mfModal.nodepath,modalIndex:i[146],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[144].mfModal.settings),o[0]&268435456&&(c.nodepath=i[144].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(F(e.$$.fragment,s),t=!0)},o(s){z(e.$$.fragment,s),t=!1},d(s){Ge(e,s)}}}function Yg(i){let e,t,n=i[144].mfModal.displayed&&jg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[144].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&F(n,1)):(n=jg(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qg(i){let e,t;return e=new V_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Oy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Oy(i){let e,t;return e=new ts({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zg(i){let e,t;return e=new H2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new iS({props:r}),$e.push(()=>pt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function $g(i){let e,t;return e=new uS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Fy(i){let e,t,n,l,r,s,o,c,g;t=new ts({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&$g(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),r=q(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-1262ssy"),f(e,"class","fd-page iframeContainer svelte-1262ssy"),f(e,"tabindex","0"),di(e,"lui-split-view",i[12].displayed),di(e,"lui-collapsed",i[12].collapsed)},m(_,p){E(_,e,p),ze(t,e,null),w(e,n),w(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,c||(g=Pw(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&di(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&di(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&F(h,1)):(h=$g(_),h.c(),F(h,1),h.m(s.parentNode,s)):h&&(Le(),z(h,1,1,()=>{h=null}),Ae())},i(_){o||(F(t.$$.fragment,_),F(h),o=!0)},o(_){z(t.$$.fragment,_),z(h),o=!1},d(_){_&&A(e),Ge(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function xg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1262ssy" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1262ssy"></div>
59
+ <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 hh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=gh(ah(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=ah(l,t,s);n[s]?n[s].p(o,r):(n[s]=gh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Ak(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function Ek(i){let e,t,n,l,r;function s(h,_){return h[2]?Dk:Rk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),c.m(e,null),E(h,n,_),l||(r=re(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&&A(e),c.d(),h&&A(n),l=!1,r()}}}function Rk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(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,_){E(h,e,_),w(e,t),w(t,l),c||(g=re(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ne(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&&A(e),c=!1,g()}}}function Dk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=Se(),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[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Vk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Vk,then:Ek,catch:Ak,value:26};return ua(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),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[21].label,i[1].fallbackLabelResolver,i[21].id))&&ua(t,n)||k_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function _h(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=mh(sh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){E(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=sh(l,t,s);n[s]?n[s].p(o,r):(n[s]=mh(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),ct(n,l)}}}function ph(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[re(t,"click",i[18]),re(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function mh(i){let e,t=i[21].position==="bottom"&&ph(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=ph(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Mk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&uh(i),c=i[3]&&i[3].length===0&&i[11]&&dh(),g=i[3]&&i[3].length&&hh(i),h=i[0]&&i[0].length&&_h(i);return{c(){e=k("nav"),o&&o.c(),t=q(),n=k("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-qht2wo")},m(_,p){E(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=uh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=dh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=hh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=_h(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Ok=()=>{};function Fk(i,e,t){let n,l=Fe,r=()=>(l(),l=Mo(y,W=>t(14,n=W)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Bt();function I(W){N("onActionClick",{node:W})}function D(W,oe){N("goToOption",{option:W,selectedOption:oe})}const T=W=>I(W),L=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>D(W,_),O=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},U=W=>I(W);return i.$$set=W=>{"actions"in W&&t(0,s=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,h=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,v=W.getRouteLink),"getTestId"in W&&t(9,S=W.getTestId),"getTranslation"in W&&r(t(10,y=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,C=W.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,I,D,n,T,L,V,O,U]}class H_ extends At{constructor(e){super(),Lt(this,e,Fk,Mk,Nt,{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 bh(i){let e,t,n,l=!i[9]&&vh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&wh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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&&(Le(),z(l,1,1,()=>{l=null}),Ae()):l?(l.p(s,o),o[0]&512&&F(l,1)):(l=vh(s),l.c(),F(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&F(r,1)):(r=wh(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(l),F(r),n=!0)},o(s){z(l),z(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;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Bk:Uk}let p=_(i),m=p(i);return s=new H_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),m.c(),l=q(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){E(v,e,S),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),ze(s,r,null),c=!0,g||(h=re(n,"click",Ft(Qk)),g=!0)},p(v,S){p===(p=_(v))&&m?m.p(v,S):(m.d(1),m=p(v),m&&(m.c(),m.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(F(s.$$.fragment,v),c=!0)},o(v){z(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),Ge(s),g=!1,h()}}}function Uk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Wk:Hk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=re(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Bk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Kk:qk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=re(e,"click",Rt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Hk(i){let e,t;function n(s,o){return s[4]?zk:Gk}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=k("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 Wk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),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 zk(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Gk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function qk(i){let e,t;function n(s,o){return s[4]?Jk:jk}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=k("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 Kk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),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 Jk(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function jk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function wh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I=!i[4]&&Sh(i),D=i[4]&&kh(i);return h=new H_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=q(),D&&D.c(),c=q(),g=k("div"),qe(h.$$.fragment),_=q(),p=k("footer"),m=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),ze(h,g,null),w(t,_),w(t,p),w(p,m),w(m,v),w(v,S),y=!0,C||(N=[re(S,"click",i[12]),re(e,"click",Ft(Zk))],C=!0)},p(T,L){T[4]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Sh(T),I.c(),I.m(s,o)),T[4]?D?D.p(T,L):(D=kh(T),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};L[0]&1&&(V.actions=T[0]),L[0]&32&&(V.config=T[5]),L[0]&64&&(V.customOptionsRenderer=T[6]),L[0]&2&&(V.options=T[1]),L[0]&16&&(V.selectedLabel=T[4]),L[0]&4&&(V.selectedOption=T[2]),L[0]&512&&(V.isMobile=T[9]),L[0]&16384&&(V.isContextSwitcherDropdownShown=T[14]),h.$set(V)},i(T){y||(F(h.$$.fragment,T),y=!0)},o(T){z(h.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),D&&D.d(),Ge(h),C=!1,Qe(N)}}}function Sh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function kh(i){let e;return{c(){e=Ce(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Yk(i){let e,t,n=i[3]&&bh(i);return{c(){n&&n.c(),e=Se()},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&&F(n,1)):(n=bh(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Qk=()=>{},Zk=()=>{};function Xk(i,e,t){let n,l;const r=Bt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,T,L=dt("getUnsavedChangesModalPromise"),V=dt("store"),O=dt("getTranslation");pi(i,O,ce=>t(16,l=ce));let U=!1,W,oe,fe;jt(async()=>{on.doOnStoreChange(V,async()=>{const ce=le.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=te.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=te.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await le.getConfigValueAsync("navigation.contextSwitcher.actions"));const X=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),dn.resetFallbackLabelCache(),ce.lazyloadOptions||await K(),dn.isContextSwitcherDetailsView(X,ce.parentNodePath)&&await he(X)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(ce=>he(ce)),Nn.addEventListener("message",ce=>{!Ie.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),K())}),t(23,D=g.defaultLabel)}),Mn(()=>{U!==I&&(U=I,K()),t(14,fe=o.contextSwitcherPopover||!1)});function $(ce,X,ge){return ce?Promise.resolve(ce):dn.getFallbackLabel(X,ge)}function x(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function Q(ce){return be.getNodeHref(ce,S)}async function K(){t(1,_=await dn.fetchOptions(_));const ce=g||{},X=ce.parentNodePath,ge=ce.fallbackLabelResolver,se=et.getCurrentPath();t(2,m=await dn.getSelectedOption(se,_,X)),t(4,c=await dn.getSelectedLabel(se,_,X,ge)),t(13,W=await dn.getSelectedNode(se,_,X)),T=ce.preserveSubPathOnSwitch}async function he(ce){const X=g||{},ge=X.parentNodePath,se=X.fallbackLabelResolver;t(2,m=await dn.getSelectedOption(ce,_,ge)),t(4,c=await dn.getSelectedLabel(ce,_,ge,se)),t(13,W=await dn.getSelectedNode(ce,_,ge))}async function ne(ce){let X=ce.detail.node;X.clickHandler&&!await X.clickHandler(X)||(setTimeout(()=>{Y(X.link)}),N&&r("toggleDropdownState"))}function Y(ce){L().then(()=>{et.navigateTo(ce)},()=>{})}function ye(ce){let X=ce.detail.option,ge=ce.detail.selectedOption;L().then(()=>{T&&ge?et.navigateTo(dn.getNodePathFromCurrentPath(X,ge)):et.navigateTo(X.link),N&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&K()}const He=()=>{n&&ie()},Pe=()=>{n&&ie()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,m=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,D=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!m)},[h,_,m,s,c,g,y,C,o,N,ne,ye,ie,W,fe,n,l,O,oe,$,x,Q,v,D,S,I,K,he,Y,p,He,Pe]}class W_ extends At{constructor(e){super(),Lt(this,e,Xk,Yk,Nt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:$k}=Fi;function Ch(i,e,t){const n=i.slice();return n[22]=e[t],n}function yh(i){let e,t,n,l=!i[2]&&Ph(i),r=i[2]&&i[3].productSwitcherPopover&&Ah(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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=Ph(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&F(r,1)):(r=Ah(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?eC:xk}let I=N(i,-1),D=I(i),T=i[0],L=[];for(let V=0;V<T.length;V+=1)L[V]=Lh(Ch(i,T,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=q(),_=k("div"),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].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(m,"class","fd-product-switch__list"),f(p,"class",v=jn(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,m);for(let U=0;U<L.length;U+=1)L[U].m(m,null);y||(C=[re(r,"click",Ft(i[7])),re(l,"click",Ft(oC))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){T=V[0];let U;for(U=0;U<T.length;U+=1){const W=Ch(V,T,U);L[U]?L[U].p(W,O):(L[U]=Lh(W),L[U].c(),L[U].m(m,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}O&512&&v!==(v=jn(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ct(L,V),y=!1,Qe(C)}}}function xk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){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 eC(i){let e,t;return{c(){e=k("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 Nh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?nC:tC}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("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){E(_,e,p),g.m(e,null),w(e,t),r||(s=re(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 tC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?lC:iC}let _=h(i,-1),p=_(i),m=g&&Ih(i);return{c(){e=k("div"),p.c(),n=q(),l=k("div"),r=k("div"),o=Ce(s),c=q(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){E(v,e,S),p.m(e,null),E(v,n,S),E(v,l,S),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Ne(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=Ih(v),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),m&&m.d()}}}function nC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?sC:rC}let S=v(i,-1),y=S(i),C=h&&Th(i);return{c(){e=k("a"),t=k("div"),y.c(),l=q(),r=k("div"),s=k("div"),c=Ce(o),g=q(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){E(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(m=re(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ne(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=Th(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function iC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},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 lC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){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-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ih(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function rC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},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 sC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){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-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Th(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Lh(i){let e,t=i[22].label&&Nh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Nh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ah(i){let e,t;return e=new U_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){ze(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||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function aC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&yh(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),E(o,t,c),n=!0,l||(r=re($k,"resize",_a),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&&F(s,1)):(s=yh(o),s.c(),F(s,1),s.m(t.parentNode,t)):s&&(Le(),z(s,1,1,()=>{s=null}),Ae())},i(o){n||(F(s),n=!0)},o(o){z(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function _a(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const oC=()=>{};function uC(i,e,t){const n=Bt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=dt("store"),g=dt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;jt(async()=>{on.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await le.getConfigValueAsync("navigation.productSwitcher.items")),I()),_a()},["navigation.productSwitcher"])});function p(O){g().then(()=>{et.navigateToLink(O)},()=>{}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return ke.renderIconClassName(O)}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return ht.getTranslation(O.label)}function N(O){return ht.getTranslation(O.subTitle)}function I(){ke.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(O){return O.testId?O.testId:ke.prepareForTests(O.label)}function T(O){return be.getNodeHref(O)}const L=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,m,v,_a,h,S,y,C,N,D,T,L,V]}class z_ extends At{constructor(e){super(),Lt(this,e,uC,aC,Nt,{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 _a}}function Eh(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function fC(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){E(l,e,r),i[19](e),e.focus(),t||(n=re(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function cC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){E(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function dC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function hC(i){let e,t,n,l=i[5]&&Rh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Rh(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 Rh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dh(Eh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dh(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),ct(n,l),i[22](null)}}}function gC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=Se(),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[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function _C(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=q(),o=k("div"),g=Ce(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=re(e,"click",Rt(mC)),h=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Ne(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Dh(i){let e,t,n,l;function r(h,_){return h[9]?gC:_C}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[re(e,"click",c),re(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,Qe(l)}}}function pC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,V){return L[7]&&L[7].disableInputHandlers?cC:fC}let C=y(i),N=C(i);function I(L,V){return L[8]?dC:hC}let D=I(i),T=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=q(),T.c(),c=q(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",m=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,V){E(L,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),T.m(n,null),E(L,c,V),E(L,g,V),w(g,h),w(h,_),w(_,p),v||(S=[re(window,"click",i[11]),re(window,"blur",i[11]),re(n,"click",Ft(bC)),re(_,"click",i[6]),re(h,"click",Ft(vC))],v=!0)},p(L,V){C===(C=y(L))&&N?N.p(L,V):(N.d(1),N=C(L),N&&(N.c(),N.m(l,null))),D===(D=I(L))&&T?T.p(L,V):(T.d(1),T=D(L),T&&(T.c(),T.m(n,null))),V[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Fe,o:Fe,d(L){L&&A(e),N.d(),T.d(),L&&A(c),L&&A(g),v=!1,Qe(S)}}}const mC=()=>{},bC=()=>{},vC=()=>{};function wC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Bt(),p={fireItemSelected:ne=>{m.searchProvider.onSearchResultItemSelected(ne)}};let m={},v,S;jt(async()=>{t(7,m=h);let ne=o;const Y=C(m.searchProvider);Y&&(ne.placeholder=Y),y()}),Mn(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=te.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=te.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C(ne){if(!ne||!ne.inputPlaceholder)return;const Y=ht.getCurrentLocale();if(te.isFunction(ne.inputPlaceholder))return ne.inputPlaceholder();if(typeof ne.inputPlaceholder=="string"){const ye=ht.getTranslation(ne.inputPlaceholder);return!!ye&&ye.trim().length>0?ye:ne.inputPlaceholder}if(typeof ne.inputPlaceholder=="object")return ne.inputPlaceholder[Y]}function N(ne,Y,ye){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ne,Y.children[ye],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:ne}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&ne===_i?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&ne===gi?m.searchProvider.onEscape():ne===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ne){let Y=g.children;if(Y)for(let ye=0;ye<Y.length;ye++){let{childNodes:ie,nextSibling:He,previousSibling:Pe}=Y[ye],ce;if(ie[0].getAttribute("aria-selected")==="true"){ne===Mi&&(ce=He!==null?He:Y[0]),ne===Vl&&(ce=Pe!==null?Pe:Y[Y.length-1]),ie[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function L(){let ne=g.children;if(ne)for(let Y=0;Y<ne.length;Y++){let ye=ne[Y];ye.childNodes[0].getAttribute("aria-selected")==="true"&&ye.childNodes[0].setAttribute("aria-selected","false")}}function V(ne){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ne):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===gi&&m.searchProvider.onEscape()}function O(ne,{keyCode:Y}){Y===_i&&m.searchProvider.onSearchResultItemSelected(ne),Y===Vl||Y===Mi?T(Y):te.isFunction(m.searchProvider.onEscape)&&Y===gi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function U(ne){let Y=ne.pathObject;Y.externalLink?et.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function W(){o&&o.focus()}function oe(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const ne=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,ne)}}const fe=ne=>D(ne);function $(ne){$e[ne?"unshift":"push"](()=>{o=ne,t(1,o)})}const x=(ne,Y)=>V(ne),Q=(ne,Y)=>O(ne,Y);function K(ne){$e[ne?"unshift":"push"](()=>{g=ne,t(3,g)})}function he(ne){$e[ne?"unshift":"push"](()=>{c=ne,t(2,c)})}return i.$$set=ne=>{"isSearchFieldVisible"in ne&&t(4,n=ne.isSearchFieldVisible),"searchResult"in ne&&t(5,l=ne.searchResult),"displaySearchResult"in ne&&t(0,r=ne.displaySearchResult),"displayCustomSearchResult"in ne&&t(15,s=ne.displayCustomSearchResult),"inputElem"in ne&&t(1,o=ne.inputElem),"luigiCustomSearchRenderer__slot"in ne&&t(2,c=ne.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ne&&t(3,g=ne.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ne&&t(16,h=ne.globalSearchConfig)},[r,o,c,g,n,l,oe,m,v,S,N,I,D,V,O,s,h,U,fe,$,x,Q,K,he]}class SC extends At{constructor(e){super(),Lt(this,e,wC,pC,Nt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Vh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function kC(i){let e,t,n,l,r,s,o,c=i[11]&&Mh(i);return{c(){e=k("input"),t=q(),n=k("span"),c&&c.c(),l=q(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){E(g,e,h),i[26](e),E(g,t,h),E(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[re(e,"keyup",i[25]),re(e,"input",i[27]),re(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Mh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[26](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Qe(o)}}}function CC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Mh(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){E(l,e,r),t||(n=re(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function yC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function PC(i){let e,t,n,l=i[4]&&Oh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Oh(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 Oh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Vh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Vh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Fh(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),ct(n,l),i[30](null)}}}function NC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=Se(),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[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function IC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=q(),o=k("div"),g=Ce(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,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=re(e,"click",Rt(LC)),h=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Ne(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Fh(i){let e,t,n,l;function r(h,_){return h[10]?NC:IC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[re(e,"click",c),re(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,Qe(l)}}}function Uh(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[re(n,"click",i[6]),re(t,"click",Ft(EC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Qe(o)}}}function Bh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=k("div"),t=k("button"),l=Ce(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){E(g,e,h),w(e,t),w(t,l),o||(c=re(t,"click",Ft(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ne(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(T,L){return T[8]&&T[8].disableInputHandlers?CC:kC}let v=m(i),S=v(i);function y(T,L){return T[9]?yC:PC}let C=y(i),N=C(i),I=!i[5]&&Uh(i),D=i[5]&&Bh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=q(),N.c(),c=q(),I&&I.c(),g=q(),D&&D.c(),h=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,L){E(T,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),E(T,c,L),I&&I.m(T,L),E(T,g,L),D&&D.m(T,L),E(T,h,L),_||(p=[re(window,"click",i[15]),re(window,"blur",i[15]),re(n,"click",Ft(AC))],_=!0)},p(T,L){v===(v=m(T))&&S?S.p(T,L):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&N?N.p(T,L):(N.d(1),N=C(T),N&&(N.c(),N.m(n,null))),L[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Uh(T),I.c(),I.m(g.parentNode,g)),T[5]?D?D.p(T,L):(D=Bh(T),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(T){T&&A(e),S.d(),N.d(),T&&A(c),I&&I.d(T),T&&A(g),D&&D.d(T),T&&A(h),_=!1,Qe(p)}}}const LC=()=>{},AC=()=>{},EC=()=>{};function RC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Bt(),p={fireItemSelected:se=>{S.searchProvider.onSearchResultItemSelected(se)}};let m=ol.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=dt("getTranslation");pi(i,I,se=>t(12,n=se)),jt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let se=o;const De=T(S.searchProvider);De&&(se.placeholder=De),D(),jf.handleVisibilityGlobalSearch();const Me=document.querySelector(".lui-global-search");Me&&new ResizeObserver(Ze=>{jf.handleVisibilityGlobalSearch()}).observe(Me)}),Mn(()=>{t(8,S=h),D(),W()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(se){if(!se||!se.inputPlaceholder)return;const De=ht.getCurrentLocale();if(te.isFunction(se.inputPlaceholder))return se.inputPlaceholder();if(typeof se.inputPlaceholder=="string"){const Me=ht.getTranslation(se.inputPlaceholder);return!!Me&&Me.trim().length>0?Me:se.inputPlaceholder}if(typeof se.inputPlaceholder=="object")return se.inputPlaceholder[De]}function L(se,De,Me){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(se,De.children[Me],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:se}){S?te.isFunction(S.searchProvider.onEnter)&&se===_i?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&se===gi?S.searchProvider.onEscape():se===Mi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function U(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,N=!0):t(11,N=!1)}function oe(){t(1,o.value="",o),V(),t(11,N=!1)}function fe(se){let De=g.children;if(De)for(let Me=0;Me<De.length;Me++){let{childNodes:me,nextSibling:Ze,previousSibling:Dt}=De[Me],Ht;if(me[0].getAttribute("aria-selected")==="true"){se===Mi&&(Ht=Ze!==null?Ze:De[0]),se===Vl&&(Ht=Dt!==null?Dt:De[De.length-1]),me[0].setAttribute("aria-selected","false"),Ht.childNodes[0].setAttribute("aria-selected","true"),Ht.focus();break}}}function $(){let se=g.children;if(se)for(let De=0;De<se.length;De++){let Me=se[De];Me.childNodes[0].getAttribute("aria-selected")==="true"&&Me.childNodes[0].setAttribute("aria-selected","false")}}function x(se){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(se):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===gi&&S.searchProvider.onEscape()}function Q(se,{keyCode:De}){De===_i&&S.searchProvider.onSearchResultItemSelected(se),De===Vl||De===Mi?fe(De):te.isFunction(S.searchProvider.onEscape)&&De===gi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function K(se){let De=se.pathObject;De.externalLink?et.navigateToLink(De):_("handleSearchNavigation",{node:De})}function he(){o&&o.focus()}function ne(){if(v?t(0,r=!1):setTimeout(()=>{he()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const se=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,se)}}const Y=se=>O(se);function ye(se){$e[se?"unshift":"push"](()=>{o=se,t(1,o)})}const ie=()=>W(),He=(se,De)=>x(se),Pe=(se,De)=>Q(se,De);function ce(se){$e[se?"unshift":"push"](()=>{g=se,t(3,g)})}function X(se){$e[se?"unshift":"push"](()=>{c=se,t(2,c)})}const ge=()=>ne();return i.$$set=se=>{"searchResult"in se&&t(4,l=se.searchResult),"displaySearchResult"in se&&t(0,r=se.displaySearchResult),"displayCustomSearchResult"in se&&t(22,s=se.displayCustomSearchResult),"inputElem"in se&&t(1,o=se.inputElem),"luigiCustomSearchRenderer__slot"in se&&t(2,c=se.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in se&&t(3,g=se.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in se&&t(23,h=se.globalSearchConfig),"isSearchFieldVisible"in se&&t(5,v=se.isSearchFieldVisible)},[r,o,c,g,l,v,ne,m,S,y,C,N,n,I,L,V,O,U,W,oe,x,Q,s,h,K,Y,ye,ie,He,Pe,ce,X,ge]}class DC extends At{constructor(e){super(),Lt(this,e,RC,TC,Nt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Hh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?MC:VC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 VC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){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 MC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){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 Wh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new ns({props:{node:i[0]}}),{c(){e=k("span"),n=Ce(t),l=q(),qe(r.$$.fragment)},m(o,c){E(o,e,c),w(e,n),w(e,l),ze(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ne(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(F(r.$$.fragment,o),s=!0)},o(o){z(r.$$.fragment,o),s=!1},d(o){o&&A(e),Ge(r)}}}function OC(i){let e,t,n,l=i[0].icon&&Hh(i),r=(!i[0].icon||i[0].showLabel)&&Wh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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=Hh(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&&F(r,1)):(r=Wh(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function FC(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Bo extends At{constructor(e){super(),Lt(this,e,FC,OC,Nt,{node:0})}}const{Boolean:G_,window:zh}=Fi;function Gh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function qh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function UC(i){let e,t;return e=new F_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function BC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Kh(i);function S(L){i[59](L)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new nk({props:y}),$e.push(()=>pt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Jh(i),N=(!i[0]||i[1])&&jh(i),I=(i[18]||i[7]&&i[30].length>0)&&Qh(i),D=(i[0]||i[16])&&cg(i),T=i[12]&&dg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=q(),qe(l.$$.fragment),s=q(),C&&C.c(),o=q(),c=k("div"),N&&N.c(),g=q(),I&&I.c(),h=q(),D&&D.c(),_=q(),T&&T.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(L,V){E(L,e,V),w(e,t),v&&v.m(t,null),w(t,n),ze(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),T&&T.m(c,null),m=!0},p(L,V){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,V):(v=Kh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=L[30]),V[1]&1&&(O.pathParams=L[31]),V[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=L[6],_t(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,V),V[0]&786432&&F(C,1)):(C=Jh(L),C.c(),F(C,1),C.m(e,o)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),!L[0]||L[1]?N?(N.p(L,V),V[0]&3&&F(N,1)):(N=jh(L),N.c(),F(N,1),N.m(c,g)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,V),V[0]&1074004096&&F(I,1)):(I=Qh(L),I.c(),F(I,1),I.m(c,h)):I&&(Le(),z(I,1,1,()=>{I=null}),Ae()),L[0]||L[16]?D?(D.p(L,V),V[0]&65537&&F(D,1)):(D=cg(L),D.c(),F(D,1),D.m(c,_)):D&&(Le(),z(D,1,1,()=>{D=null}),Ae()),L[12]?T?(T.p(L,V),V[0]&4096&&F(T,1)):(T=dg(L),T.c(),F(T,1),T.m(c,null)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),(!m||V[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(L){m||(F(l.$$.fragment,L),F(C),F(N),F(I),F(D),F(T),m=!0)},o(L){z(l.$$.fragment,L),z(C),z(N),z(I),z(D),z(T),m=!1},d(L){L&&A(e),v&&v.d(),Ge(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),T&&T.d()}}}function Kh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=re(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Jh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function m(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new DC({props:y}),$e.push(()=>pt(t,"isSearchFieldVisible",h)),$e.push(()=>pt(t,"searchResult",_)),$e.push(()=>pt(t,"displaySearchResult",p)),$e.push(()=>pt(t,"displayCustomSearchResult",m)),$e.push(()=>pt(t,"inputElem",v)),$e.push(()=>pt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){E(C,e,N),ze(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],_t(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],_t(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],_t(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],_t(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],_t(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],_t(()=>c=!1)),t.$set(I)},i(C){g||(F(t.$$.fragment,C),g=!0)},o(C){z(t.$$.fragment,C),g=!1},d(C){C&&A(e),Ge(t)}}}function jh(i){let e,t,n,l,r=i[18]&&!i[19]&&Yh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new W_({props:o}),$e.push(()=>pt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=q(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),E(c,e,g),ze(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&F(r,1)):(r=Yh(c),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],_t(()=>n=!1)),t.$set(h)},i(c){l||(F(r),F(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),Ge(t,c)}}}function Yh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function m(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new SC({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"searchResult",h)),$e.push(()=>pt(e,"displaySearchResult",_)),$e.push(()=>pt(e,"displayCustomSearchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],_t(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],_t(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],_t(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],_t(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],_t(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],_t(()=>o=!1)),e.$set(N)},i(y){c||(F(e.$$.fragment,y),c=!0)},o(y){z(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Qh(i){let e,t,n,l=i[7]&&i[30].length>0&&Zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&eg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=Se()},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[30].length>0?l?(l.p(s,o),o[0]&1073741952&&F(l,1)):(l=Zh(s),l.c(),F(l,1),l.m(e.parentNode,e)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&F(r,1)):(r=eg(s),r.c(),F(r,1),r.m(t.parentNode,t)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){n||(F(l),F(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=xh(qh(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=Se()},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]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=qh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=xh(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(l[o]);t=!0}},o(s){l=l.filter(G_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Xh(i){let e,t,n,l;const r=[WC,HC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),z(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),F(t,1),t.m(n.parentNode,n))},i(c){l||(F(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function HC(i){let e,t,n,l,r;const s=[GC,zC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=q(),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),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),F(n,1),n.m(e,l))},i(g){r||(F(n),r=!0)},o(g){z(n),r=!1},d(g){g&&A(e),o[t].d()}}}function WC(i){let e=i[111].visibleChildren.filter(hg).length>0,t,n,l=e&&$h(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(hg).length>0),e?l?(l.p(r,s),s[0]&128&&F(l,1)):(l=$h(r),l.c(),F(l,1),l.m(t.parentNode,t)):l&&(Le(),z(l,1,1,()=>{l=null}),Ae())},i(r){n||(F(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&A(t)}}}function zC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Bo({props:m}),$e.push(()=>pt(t,"node",p)),r=new Yn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=q(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){E(S,e,y),ze(t,e,null),w(e,l),ze(r,e,null),g=!0,h||(_=re(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],_t(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(F(t.$$.fragment,S),F(r.$$.fragment,S),g=!0)},o(S){z(t.$$.fragment,S),z(r.$$.fragment,S),g=!1},d(S){S&&A(e),Ge(t),Ge(r),h=!1,_()}}}function GC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Bo({props:v}),$e.push(()=>pt(t,"node",m)),r=new Yn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=q(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){E(y,e,C),ze(t,e,null),w(e,l),ze(r,e,null),h=!0,_||(p=re(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],_t(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(F(t.$$.fragment,y),F(r.$$.fragment,y),h=!0)},o(y){z(t.$$.fragment,y),z(r.$$.fragment,y),h=!1},d(y){y&&A(e),Ge(t),Ge(r),_=!1,p()}}}function $h(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Bo({props:L}),$e.push(()=>pt(r,"node",T)),c=new Yn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new B_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=q(),qe(c.$$.fragment),m=q(),v=k("div"),qe(S.$$.fragment),C=q(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,l),ze(r,l,null),w(l,o),ze(c,l,null),w(t,m),w(t,v),ze(S,v,null),w(e,C),N=!0,I||(D=[re(l,"click",V),re(n,"click",Ft(ly))],I=!0)},p(O,U){i=O;const W={};!s&&U[0]&128&&(s=!0,W.node=i[111],_t(()=>s=!1)),r.$set(W);const oe={};U[0]&128&&(oe.node=i[111]),c.$set(oe),(!N||U[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||U[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||U[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||U[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const fe={};U[0]&128&&(fe.node=i[111]),U[1]&1&&(fe.pathParams=i[31]),U[0]&268435456&&(fe.addNavHrefForAnchor=i[28]),S.$set(fe),(!N||U[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(F(r.$$.fragment,O),F(c.$$.fragment,O),F(S.$$.fragment,O),N=!0)},o(O){z(r.$$.fragment,O),z(c.$$.fragment,O),z(S.$$.fragment,O),N=!1},d(O){O&&A(e),Ge(r),Ge(c),Ge(S),I=!1,Qe(D)}}}function xh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Xh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&F(n,1)):(n=Xh(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function eg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O;g=new Yn({props:{node:i[11],special:"true"}});let U=i[18]&&!i[19]&&tg(i),W=i[46]&&(!i[0]||i[1])&&ng(i),oe=i[7]&&ig(i),fe=i[12]&&ag(i),$=i[12]&&og(i),x=i[14]&&ug(i),Q=(!i[0]||i[1])&&fg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=q(),qe(g.$$.fragment),_=q(),p=k("div"),m=k("nav"),v=k("ul"),U&&U.c(),S=q(),W&&W.c(),y=q(),oe&&oe.c(),C=q(),fe&&fe.c(),I=q(),$&&$.c(),D=q(),x&&x.c(),T=q(),Q&&Q.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"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-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,he){E(K,e,he),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),ze(g,s,null),w(n,_),w(n,p),w(p,m),w(m,v),U&&U.m(v,null),w(v,S),W&&W.m(v,null),w(v,y),oe&&oe.m(v,null),w(v,C),fe&&fe.m(v,null),w(n,I),$&&$.m(n,null),w(n,D),x&&x.m(n,null),w(n,T),Q&&Q.m(n,null),L=!0,V||(O=[re(s,"click",i[86]),re(l,"click",Ft(ry))],V=!0)},p(K,he){const ne={};he[0]&2048&&(ne.node=K[11]),g.$set(ne),(!L||he[0]&64&&h!==(h=K[6].overflowPopover||!1))&&f(s,"aria-expanded",h),K[18]&&!K[19]?U?U.p(K,he):(U=tg(K),U.c(),U.m(v,S)):U&&(U.d(1),U=null),K[46]&&(!K[0]||K[1])?W?W.p(K,he):(W=ng(K),W.c(),W.m(v,y)):W&&(W.d(1),W=null),K[7]?oe?(oe.p(K,he),he[0]&128&&F(oe,1)):(oe=ig(K),oe.c(),F(oe,1),oe.m(v,C)):oe&&(Le(),z(oe,1,1,()=>{oe=null}),Ae()),K[12]?fe?fe.p(K,he):(fe=ag(K),fe.c(),fe.m(v,null)):fe&&(fe.d(1),fe=null),(!L||he[0]&64&&N!==(N=!K[6].overflowPopover))&&f(p,"aria-hidden",N),K[12]?$?($.p(K,he),he[0]&4096&&F($,1)):($=og(K),$.c(),F($,1),$.m(n,D)):$&&(Le(),z($,1,1,()=>{$=null}),Ae()),K[14]?x?(x.p(K,he),he[0]&16384&&F(x,1)):(x=ug(K),x.c(),F(x,1),x.m(n,T)):x&&(Le(),z(x,1,1,()=>{x=null}),Ae()),!K[0]||K[1]?Q?(Q.p(K,he),he[0]&3&&F(Q,1)):(Q=fg(K),Q.c(),F(Q,1),Q.m(n,null)):Q&&(Le(),z(Q,1,1,()=>{Q=null}),Ae())},i(K){L||(F(g.$$.fragment,K),F(oe),F($),F(x),F(Q),L=!0)},o(K){z(g.$$.fragment,K),z(oe),z($),z(x),z(Q),L=!1},d(K){K&&A(e),Ge(g),U&&U.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),$&&$.d(),x&&x.d(),Q&&Q.d(),V=!1,Qe(O)}}}function tg(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
60
+ <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),w(e,t),n||(l=re(t,"click",Ft(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function ng(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=q(),s=k("span"),c=Ce(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=re(t,"click",Ft(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function ig(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=sg(Gh(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=Se()},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]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Gh(s,n,c);l[c]?(l[c].p(g,o),F(l[c],1)):(l[c]=sg(g),l[c].c(),F(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)F(l[o]);t=!0}},o(s){l=l.filter(G_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function lg(i){let e,t,n,l,r;const s=[KC,qC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(iy).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),F(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(F(n),r=!0)},o(g){z(n),r=!1},d(g){~t&&o[t].d(g),g&&A(l)}}}function qC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(T,L){return L[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?jC:JC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Yn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=q(),qe(s.$$.fragment),o=q(),c=k("span"),h=Ce(g),m=q(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,L){E(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,m),v=!0,S||(y=re(t,"click",Rt(D)),S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(F(s.$$.fragment,T),v=!0)},o(T){z(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,y()}}}function KC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,m,v,S,y,C,N,I=l&&rg(i);s=new Yn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=q(),qe(s.$$.fragment),c=q(),g=k("span"),_=Ce(h),S=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,L){E(T,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=re(t,"click",Rt(D)),C=!0)},p(T,L){i=T,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=rg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!y||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||L[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(F(s.$$.fragment,T),y=!0)},o(T){z(s.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function JC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function jC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function rg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&lg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),z(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&F(n,1)):(n=lg(l),n.c(),F(n,1),n.m(e.parentNode,e))},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ag(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(m,v){return v[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?QC:YC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=q(),r=k("span"),o=Ce(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(m,v){E(m,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=re(t,"click",Ft(i[32])),c=!0)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=m[13].label+"")&&Ne(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function YC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){E(r,e,s),w(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 QC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function og(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new z_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function ug(i){let e,t;return e=new B_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function fg(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new W_({props:g}),$e.push(()=>pt(e,"dropDownStates",s)),$e.push(()=>pt(e,"selectedLabel",o)),$e.push(()=>pt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){ze(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],_t(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],_t(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],_t(()=>l=!1)),e.$set(p)},i(h){r||(F(e.$$.fragment,h),r=!0)},o(h){z(e.$$.fragment,h),r=!1},d(h){Ge(e,h)}}}function cg(i){let e,t,n,l,r;const s=[XC,ZC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&te.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){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):(Le(),z(o[_],1,1,()=>{o[_]=null}),Ae(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),F(l,1),l.m(e,null))},i(g){r||(F(l),r=!0)},o(g){z(l),r=!1},d(g){g&&A(e),o[n].d()}}}function ZC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?xC:$C}let C=y(i),N=C(i);return _=new F_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=q(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){E(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[re(r,"click",i[99]),re(n,"click",Ft(ay))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!m||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};D[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!m||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){m||(F(_.$$.fragment,I),m=!0)},o(I){z(_.$$.fragment,I),m=!1},d(I){I&&A(e),N.d(),Ge(_),v=!1,Qe(S)}}}function XC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?ty:ey}let _=h(i),p=_(i);return r=new ck({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=q(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,v){E(m,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),ze(r,l,null),o=!0,c||(g=re(t,"click",Ft(sy)),c=!0)},p(m,v){_===(_=h(m))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=m[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(F(r.$$.fragment,m),o=!0)},o(m){z(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),Ge(r),c=!1,g()}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){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 xC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ni(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&ni(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function ey(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ce(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(s=re(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ne(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 ty(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),ni(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=re(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&ni(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function dg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new z_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function ny(i){let e,t,n,l,r,s;const o=[BC,UC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),E(h,n,_),l=!0,r||(s=[re(zh,"click",i[41]),re(zh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Le(),z(c[p],1,1,()=>{c[p]=null}),Ae(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),F(t,1),t.m(n.parentNode,n))},i(h){l||(F(t),l=!0)},o(h){z(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Qe(s)}}}const iy=i=>!i.hideFromNav&&i.label,hg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},sy=()=>{},ay=()=>{};function oy(i,e,t){const n=Bt();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:m}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:L}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:U={}}=e,{urlAuthError:W}=e,{globalSearchConfig:oe}=e,{isGlobalSearchCentered:fe}=e,{isSearchFieldVisible:$}=e,{inputElem:x}=e,{luigiCustomSearchRenderer__slot:Q}=e,{displaySearchResult:K}=e,{displayCustomSearchResult:he}=e,{searchResult:ne}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:ye}=e,ie=dt("store"),He=!1,Pe,ce,X=le.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ge=le.getConfigBooleanValue("navigation.addNavHrefs")}=e;const se=async()=>{if(_&&0<_.length){const J=await ke.generateTopNavNodes(_);t(7,S=J.children),t(8,y=J.selectedNode),t(9,C=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,N=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},De=()=>{t(1,s=sl.isLoggedIn())};jt(()=>{on.doOnStoreChange(ie,()=>{t(0,l=hi.isAuthorizationEnabled()),t(16,O=le.getConfigValue("navigation.profile")),t(54,r=!Boolean(le.getConfigValue("auth.disableAutoLogin"))),t(12,D=le.getConfigValue("navigation.productSwitcher")),t(2,o=le.getConfigBooleanValue("settings.hideNavigation")),t(3,c=le.getConfigValue("settings.responsiveNavigation")),t(4,g=le.getConfigValue("settings.profileType")),t(27,ye=le.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=ke.getProductSwitcherConfig()),t(18,oe=le.getConfigValue("globalSearch")),t(19,fe=oe&&oe.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=le.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,ge=le.getConfigBooleanValue("navigation.addNavHrefs")),t(46,X=le.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(ie,()=>{se()},["navigation.viewgroupdata"]),Nn.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&se()})}),Mn(()=>{(!p||p!=_)&&se(),De()});let{showTopNav:Me}=e;function me(J){return ke.renderIconClassName(J)}function Ze(J){return ke.isOpenUIiconName(J.icon)}const Dt=J=>ke.getNodeLabel(J);function Ht(J){return J.testId?J.testId:ke.prepareForTests(J.pathSegment,J.label)}function vt(J){return be.getNodeHref(J,m)}function un(J,Pt){return ke.generateTooltipText(J,Pt)}function On(){Et("productSwitcherPopover")}function zt(){t(43,He=!He),Et("contextSwitcherPopover")}function mi(J){t(14,L=!0),t(15,V=J)}function Ui(){t(14,L=!1)}function xt(J){n("handleClick",{node:J})}function Yt(J){n("handleSearchNavigation",{node:J})}function Qn(J){xt(J.detail.node)}function Et(J){const Pt=v||{},wn=!Pt[J];Gt(),Ui(),Pt[J]=wn,t(6,v=Pt)}function mn(J){Et(J.detail.name)}function Qt(){x&&x.focus()}function Bi(){$||setTimeout(()=>{Qt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:x,luigiCustomSearchRenderer__slot:Q})}function Gt(){const J=v||{},Pt=Object.keys(J);Pt&&Pt.length>0&&Pt.forEach(wn=>{J[wn]=!1,t(6,v=J)})}function ln(){c==="simple"||c==="simpleMobileOnly"?li():rn(),bi()}function bi(){if(!ke.getBurgerTooltipConfig())return;const[J,Pt]=ke.getBurgerTooltipConfig();J&&Pt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?J:Pt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?J:Pt))}function li(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function rn(){ci.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function vi(J){const Pt=J.detail;t(17,U=Pt||{})}function wi(J){v=J,t(6,v)}function ee(J){$=J,t(20,$)}function Ee(J){ne=J,t(25,ne)}function st(J){K=J,t(23,K)}function yt(J){he=J,t(24,he)}function wt(J){x=J,t(21,x)}function sn(J){Q=J,t(22,Q)}function bn(J){Dl.call(this,i,J)}function Zn(J){Dl.call(this,i,J)}function Fn(J){Dl.call(this,i,J)}function Hi(J){$=J,t(20,$)}function br(J){ne=J,t(25,ne)}function vr(J){K=J,t(23,K)}function wr(J){he=J,t(24,he)}function Fl(J){x=J,t(21,x)}function Sr(J){Q=J,t(22,Q)}function kr(J){Dl.call(this,i,J)}function Cr(J){Dl.call(this,i,J)}function fl(J){Dl.call(this,i,J)}function cl(J){v=J,t(6,v)}const ri=()=>Et("contextSwitcherPopover");function dl(J,Pt,wn,ki){wn[ki]=J,t(7,S)}const Wi=J=>Et(`dropDownPopover-${J}`);function Ul(J,Pt,wn,ki){wn[ki]=J,t(7,S)}const Bl=(J,Pt)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pt)&&xt(J)};function Hl(J,Pt,wn,ki){wn[ki]=J,t(7,S)}const yr=J=>xt(J),vn=()=>Et("overflowPopover"),hl=()=>{Bi(),Et("overflowPopover")},zi=J=>xt(J),Wl=J=>mi(J);function Pr(J){v=J,t(6,v)}const Gi=()=>Et("productSwitcherPopover");function gl(J){v=J,t(6,v)}function _l(J){Pe=J,t(44,Pe)}function pl(J){ce=J,t(45,ce)}const Si=()=>Et("contextSwitcherPopover"),zl=()=>Et("profilePopover"),qi=()=>Et("profilePopover"),St=()=>Et("profilePopover"),ml=()=>Et("profilePopover"),bl=()=>Et("profilePopover");function vl(J){v=J,t(6,v)}const wl=()=>Et("productSwitcherPopover"),si=()=>Et("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(54,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,s=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,h=J.showGlobalNav),"pathData"in J&&t(30,_=J.pathData),"pathParams"in J&&t(31,m=J.pathParams),"dropDownStates"in J&&t(6,v=J.dropDownStates),"children"in J&&t(7,S=J.children),"selectedNode"in J&&t(8,y=J.selectedNode),"visibleNodeCount"in J&&t(9,C=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,N=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,D=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,T=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,L=J.openMobileDropDown),"nodeForMobile"in J&&t(15,V=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,O=J.profileItemsAvailable),"userInfo"in J&&t(17,U=J.userInfo),"urlAuthError"in J&&t(55,W=J.urlAuthError),"globalSearchConfig"in J&&t(18,oe=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,fe=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,$=J.isSearchFieldVisible),"inputElem"in J&&t(21,x=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,Q=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,K=J.displaySearchResult),"displayCustomSearchResult"in J&&t(24,he=J.displayCustomSearchResult),"searchResult"in J&&t(25,ne=J.searchResult),"burgerTooltip"in J&&t(26,Y=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(27,ye=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(28,ge=J.addNavHrefForAnchor),"showTopNav"in J&&t(29,Me=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Me=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,T,L,V,O,U,oe,fe,$,x,Q,K,he,ne,Y,ye,ge,Me,_,m,On,zt,mi,Ui,xt,Qn,Et,mn,Bi,Gt,vi,He,Pe,ce,X,me,Ze,Dt,Ht,vt,un,ln,r,W,Yt,li,rn,wi,ee,Ee,st,yt,wt,sn,bn,Zn,Fn,Hi,br,vr,wr,Fl,Sr,kr,Cr,fl,cl,ri,dl,Wi,Ul,Bl,Hl,yr,vn,hl,zi,Wl,Pr,Gi,gl,_l,pl,Si,zl,qi,St,ml,bl,vl,wl,si]}class uy extends At{constructor(e){super(),Lt(this,e,oy,ny,Nt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function gg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function fy(i){let e,t=i[0]&&gg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=gg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function cy(i,e,t){let{node:n}=e;return jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(()=>{n.webcomponent&&n.tabNav.showAsTabHeader?hr.renderWebComponent(n.viewUrl,document.querySelector(".lui-tab-header"),n.context,n):console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class dy extends At{constructor(e){super(),Lt(this,e,cy,fy,Nt,{node:0})}}const{window:To}=Fi;function _g(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function pg(i,e,t){const n=i.slice();return n[43]=e[t],n}function mg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function bg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function vg(i,e,t){const n=i.slice();return n[43]=e[t],n}function wg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Sg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&kg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=Lg(bg(i,I,V));let T=Object.entries(i[0]),L=[];for(let V=0;V<T.length;V+=1)L[V]=Dg(_g(i,T,V));return{c(){e=k("div"),N&&N.c(),t=q(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=q(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
61
+ <span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=q(),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){E(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let U=0;U<D.length;U+=1)D[U].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,m);for(let U=0;U<L.length;U+=1)L[U].m(m,null);S=!0,y||(C=[re(h,"click",Rt(i[10])),re(c,"click",wy),re(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&F(N,1)):(N=kg(V),N.c(),F(N,1),N.m(e,t)):N&&(Le(),z(N,1,1,()=>{N=null}),Ae()),O[0]&53485){I=Object.entries(V[0]);let U;for(U=0;U<I.length;U+=1){const W=bg(V,I,U);D[U]?D[U].p(W,O):(D[U]=Lg(W),D[U].c(),D[U].m(r,null))}for(;U<D.length;U+=1)D[U].d(1);D.length=I.length}if(O[0]&53485){T=Object.entries(V[0]);let U;for(U=0;U<T.length;U+=1){const W=_g(V,T,U);L[U]?L[U].p(W,O):(L[U]=Dg(W),L[U].c(),L[U].m(m,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(F(N),S=!0)},o(V){z(N),S=!1},d(V){V&&A(e),N&&N.d(),ct(D,V),ct(L,V),y=!1,Qe(C)}}}function kg(i){let e,t;return e=new dy({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function hy(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[20](i[39])}let T=i[40],L=[];for(let V=0;V<T.length;V+=1)L[V]=Pg(vg(i,T,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ce(s),c=q(),g=k("span"),_=q(),p=k("div"),m=k("nav"),v=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();y=q(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cr(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=cr(i[39],i[2]))},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,m),w(m,v);for(let U=0;U<L.length;U+=1)L[U].m(v,null);w(e,y),N||(I=[re(l,"click",Rt(D)),re(e,"click",vy)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[39])+"")&&Ne(o,s),O[0]&5&&h!==(h=cr(i[39],i[2]))&&f(l,"aria-selected",h),O[0]&49221){T=i[40];let U;for(U=0;U<T.length;U+=1){const W=vg(i,T,U);L[U]?L[U].p(W,O):(L[U]=Pg(W),L[U].c(),L[U].m(v,null))}for(;U<L.length;U+=1)L[U].d(1);L.length=T.length}O[0]&9&&S!==(S=!i[3][i[39]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=cr(i[39],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ct(L,V),N=!1,Qe(I)}}}function gy(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Tg(wg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=wg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Tg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Cg(i){let e,t=i[43].label&&yg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=yg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-menu__item")},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=re(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Pg(i){let e,t=!i[43].hideFromNav&&Cg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Cg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Ng(i){let e,t=i[43].label&&Ig(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Ig(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ig(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p;function m(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class",g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",h=i[43]===i[2])},m(v,S){E(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=re(t,"click",Rt(m)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),S[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[43]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function Tg(i){let e,t=!i[43].hideFromNav&&Ng(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ng(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Lg(i){let e,t,n;function l(o,c){if(c[0]&33&&(e=null),c[0]&1&&(t=null),e==null&&(e=o[39]==="undefined"||o[39].indexOf(o[5])===0),e)return gy;if(t==null&&(t=o[40].filter(by).length>0),t)return hy}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),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 _y(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[23](i[39],i[42])}function T(){return i[24](i[39],i[42])}let L=i[40],V=[];for(let O=0;O<L.length;O+=1)V[O]=Eg(pg(i,L,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ce(r),g=q(),h=k("button"),_=k("i"),v=q(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=q(),f(l,"class","fd-nested-list__title"),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=cr(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",m=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(O,U){E(O,e,U),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let W=0;W<V.length;W+=1)V[W].m(S,null);w(e,C),N||(I=[re(n,"click",Rt(D)),re(h,"click",Rt(T))],N=!0)},p(O,U){if(i=O,U[0]&4097&&r!==(r=i[12](i[39])+"")&&Ne(s,r),U[0]&9&&o!==(o=i[3][i[39]+i[42]])&&f(n,"aria-expanded",o),U[0]&5&&c!==(c=cr(i[39],i[2]))&&f(n,"aria-selected",c),U[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),U[0]&9&&m!==(m=i[3][i[39]+i[42]])&&f(h,"aria-expanded",m),U[0]&49221){L=i[40];let W;for(W=0;W<L.length;W+=1){const oe=pg(i,L,W);V[W]?V[W].p(oe,U):(V[W]=Eg(oe),V[W].c(),V[W].m(S,null))}for(;W<V.length;W+=1)V[W].d(1);V.length=L.length}U[0]&9&&y!==(y=!i[3][i[39]+i[42]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ct(V,O),N=!1,Qe(I)}}}function py(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Rg(mg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=mg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Rg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&A(e)}}}function Ag(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[43])),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=re(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Eg(i){let e,t=i[43].label&&Ag(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Rg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=q(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(p,m){E(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=re(t,"click",Rt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Dg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[39]==="undefined"||s[39].indexOf(s[5])===0),e?py:_y}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},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 my(i){let e,t,n,l,r=i[0]&&i[1].length>1&&Sg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[re(To,"click",i[8]),re(To,"blur",i[8]),re(To,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&F(r,1)):(r=Sg(s),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){t||(F(r),t=!0)},o(s){z(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Qe(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const by=i=>!i.hideFromNav&&i.label,vy=i=>i.stopPropagation(),wy=i=>i.stopPropagation();function Sy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=dt("getTranslation");pi(i,y,X=>t(12,n=X));let C=dt("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:X=>{X&&Object.getOwnPropertyNames(X).forEach(ge=>{ge==="pathData"?t(1,r=X.pathData):ge==="context"?context=X.context:ge==="children"?t(0,l=X.children):ge==="selectedNode"?t(11,h=X.selectedNode):ge==="selectedNodeForTabNav"&&t(2,_=X.selectedNodeForTabNav)})}},D=Bt();function T(X){return ke.getNodeLabel(X)}const L=async()=>{const X=I.get(),ge=await Vt.getTabNavData({...X},X);!ge||(I.set({...ge}),o=r,window.LEFTNAVDATA=ge.groupedChildren,setTimeout(V))},V=()=>{O();let X=document.getElementsByClassName("luigi-tabsContainer")[0],ge=document.getElementsByClassName("luigi-tabsMoreButton")[0],se=document.getElementsByClassName("luigi__more")[0],De,Me=0,me=!1,Ze,Dt;se&&se.setAttribute("aria-selected","false"),X&&(De=X.offsetWidth,[...X.children].forEach(vt=>{Ze=vt.currentStyle||window.getComputedStyle(vt),Dt=parseFloat(Ze.marginLeft)+parseFloat(Ze.marginRight),Me+=vt.offsetWidth+Dt;let un=vt.getAttribute("uid");Me>=De?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&se.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+un+'"]').classList.remove("hide_element"),me=!0):document.querySelector('li[uid="'+un+'"]').classList.add("hide_element")}),me?ge.classList.remove("hide_element"):ge.classList.add("hide_element"))},O=()=>{let X=document.getElementsByClassName("luigi-tabsContainer")[0];X!==void 0&&[...X.children].forEach(se=>{se.classList.remove("hide_element")})},U=()=>{N=new ResizeObserver(X=>{for(const ge of X)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ge.contentRect.height+"px")}),setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))})},W=()=>{N&&N.disconnect()};jt(()=>{t(16,c=le.getConfigBooleanValue("settings.hideNavigation")),U(),on.doOnStoreChange(C,()=>{L()},["navigation.viewgroupdata"])}),xr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Mn(()=>{(!o||o!=r)&&L(),(S===void 0||S!==v)&&(S=v,L())}),ma(()=>{W(),N?setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))}):U()});function oe(X){return be.getNodeHref(X,s)}function fe(X){x(),D("handleClick",{node:X})}function $(X){let ge={};p[X]||(ge[X]=!0),t(3,p=ge)}function x(){t(3,p={}),t(4,m=!1)}function Q(){O(),V()}function K(){t(4,m=!m)}const he=X=>fe(X),ne=X=>$(X),Y=X=>fe(X),ye=X=>fe(X),ie=(X,ge)=>$(X+ge),He=(X,ge)=>$(X+ge),Pe=X=>fe(X),ce=X=>$(X.name);return i.$$set=X=>{"children"in X&&t(0,l=X.children),"pathData"in X&&t(1,r=X.pathData),"pathParams"in X&&t(17,s=X.pathParams),"hideNavComponent"in X&&t(16,c=X.hideNavComponent),"virtualGroupPrefix"in X&&t(5,g=X.virtualGroupPrefix),"selectedNodeForTabNav"in X&&t(2,_=X.selectedNodeForTabNav),"dropDownStates"in X&&t(3,p=X.dropDownStates),"isMoreBtnExpanded"in X&&t(4,m=X.isMoreBtnExpanded),"resizeTabNavToggle"in X&&t(18,v=X.resizeTabNavToggle)},[l,r,_,p,m,g,fe,$,x,Q,K,h,n,y,T,oe,c,s,v,he,ne,Y,ye,ie,He,Pe,ce]}class ky extends At{constructor(e){super(),Lt(this,e,Sy,my,Nt,{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 Vg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Mg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Og(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Fg(i),o=i[0]&&i[3].length>0&&Wg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=q(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){E(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Fg(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=Wg(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 Fg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hg(Mg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(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=Mg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Hg(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),ct(n,l)}}}function Ug(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Bg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=q(),r=k("div"),o=Ce(s),c=q(),g=k("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=re(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Bg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Bg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?yy:Cy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Cy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(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&&A(e)}}}function yy(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Ug(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Ug(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Wg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qg(Vg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(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=Vg(l,t,s);n[s]?n[s].p(o,r):(n[s]=qg(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),ct(n,l)}}}function zg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Gg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=q(),r=k("div"),o=Ce(s),c=q(),g=k("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=re(n,"click",Rt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Gg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Gg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?Ny:Py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},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 Py(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(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&&A(e)}}}function Ny(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function qg(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&zg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=zg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Iy(i){let e,t,n,l=i[2]&&Og(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[re(window,"click",pa),re(window,"blur",pa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Og(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&&A(e),t=!1,Qe(n)}}}function pa(){}function Ty(i,e,t){let n;const l=Bt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=dt("store"),_=dt("getTranslation");pi(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=le.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const W=await ke.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),s=r}};jt(()=>{on.doOnStoreChange(h,()=>{t(14,m=le.getConfigBooleanValue("settings.hideNavigation")),t(15,v=le.getConfigValue("settings.responsiveNavigation")),t(2,p=le.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Mn(()=>{(!s||s!=r)&&y(),t(6,S=le.getConfigBooleanValue("navigation.addNavHrefs"))});function C(W){return ke.renderIconClassName(W)}function N(W){return ke.isOpenUIiconName(W.icon)}function I(W){return ht.getTranslation(W.label)}function D(W){return W.testId?W.testId:ke.prepareForTests(W.pathSegment,W.label)}function T(W){return be.getNodeHref(W,o)}function L(W){l("handleClick",{node:W})}function V(W){L(W.detail.node)}const O=(W,oe)=>{ke.handleNavAnchorClickedWithoutMetaKey(oe)&&L(W)},U=W=>L(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,v=W.responsiveNavSetting)},[c,g,p,r,L,pa,S,n,_,C,N,I,D,T,m,v,o,V,O,U]}class Ly extends At{constructor(e){super(),Lt(this,e,Ty,Iy,Nt,{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 pa}}function Ay(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){E(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function Ey(i,e,t){const n=Bt();let{pathData:l}=e,r,s={},o,c=dt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;le.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};jt(()=>{on.doOnStoreChange(c,()=>{},["navigation"])}),Mn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=le.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(le.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=et.getCurrentPath();for(let T=I;T<l.length;T++){const L=l[T],V=be.mapPathToNode(D,L);if(s[V])N.push(s[V]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)N.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?ht.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:V,pending:!0});else{const O=await v(L);O&&N.push({label:O,node:L,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,m),N=[];for(let T=I;T<l.length;T++){const L=l[T],V=be.mapPathToNode(D,L);if(L.titleResolver){const U=await Vt.extractDataFromPath(V),W=be.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,L.context),U.pathData.pathParams);try{const oe=await ke.fetchNodeTitleData(L,W);N.push({label:oe.label,node:L,route:V});continue}catch{}}const O=await v(L);O&&N.push({label:O,node:L,route:V})}D===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(T=>{s[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function v(C){if(C.label&&!C._virtualTree)return ht.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=be.mapPathToNode(et.getCurrentPath(),C),I=await Vt.extractDataFromPath(N);return be.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class Ry extends At{constructor(e){super(),Lt(this,e,Ey,Ay,Nt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Do="not_checked";Nn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Do="disabled"):i.data==="luigi.tpcEnabled"&&(Do="enabled")},!1);function Dy(){return Do}const{Boolean:Vy,window:My}=Fi;function Kg(i,e,t){const n=i.slice();return n[144]=e[t],n[146]=t,n}function Jg(i){let e,t;return e=new M2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function jg(i){let e,t;function n(){return i[68](i[146])}function l(...s){return i[69](i[146],...s)}function r(...s){return i[70](i[146],...s)}return e=new V_({props:{settings:i[144].mfModal.settings,nodepath:i[144].mfModal.nodepath,modalIndex:i[146],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[144].mfModal.settings),o[0]&268435456&&(c.nodepath=i[144].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(F(e.$$.fragment,s),t=!0)},o(s){z(e.$$.fragment,s),t=!1},d(s){Ge(e,s)}}}function Yg(i){let e,t,n=i[144].mfModal.displayed&&jg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[144].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&F(n,1)):(n=jg(l),n.c(),F(n,1),n.m(e.parentNode,e)):n&&(Le(),z(n,1,1,()=>{n=null}),Ae())},i(l){t||(F(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qg(i){let e,t;return e=new V_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Oy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Oy(i){let e,t;return e=new ts({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zg(i){let e,t;return e=new H2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new iS({props:r}),$e.push(()=>pt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(F(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function $g(i){let e,t;return e=new uS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Fy(i){let e,t,n,l,r,s,o,c,g;t=new ts({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&$g(i);return{c(){e=k("div"),qe(t.$$.fragment),n=q(),l=k("div"),r=q(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-1262ssy"),f(e,"class","fd-page iframeContainer svelte-1262ssy"),f(e,"tabindex","0"),di(e,"lui-split-view",i[12].displayed),di(e,"lui-collapsed",i[12].collapsed)},m(_,p){E(_,e,p),ze(t,e,null),w(e,n),w(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,c||(g=Pw(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&di(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&di(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&F(h,1)):(h=$g(_),h.c(),F(h,1),h.m(s.parentNode,s)):h&&(Le(),z(h,1,1,()=>{h=null}),Ae())},i(_){o||(F(t.$$.fragment,_),F(h),o=!0)},o(_){z(t.$$.fragment,_),z(h),o=!1},d(_){_&&A(e),Ge(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function xg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1262ssy" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1262ssy"></div>
62
62
  <div class="fd-busy-indicator__circle svelte-1262ssy"></div>
63
- <div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){E(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=w_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=S_(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function e_(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new uy({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"displaySearchResult",h)),$e.push(()=>pt(e,"displayCustomSearchResult",_)),$e.push(()=>pt(e,"searchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],_t(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],_t(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],_t(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],_t(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],_t(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],_t(()=>o=!1)),e.$set(N)},i(y){c||(F(e.$$.fragment,y),c=!0)},o(y){z(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function t_(i){let e,t,n,l;e=new Ly({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&n_(i);return{c(){qe(e.$$.fragment),t=q(),r&&r.c(),n=Se()},m(s,o){ze(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]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&F(r,1)):(r=n_(s),r.c(),F(r,1),r.m(n.parentNode,n)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){l||(F(e.$$.fragment,s),F(r),l=!0)},o(s){z(e.$$.fragment,s),z(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function n_(i){let e,t;return e=new Ry({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function i_(i){let e,t;return e=new HS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function l_(i){let e,t;return e=new ky({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Uy(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Jg(i),N=i[28],I=[];for(let $=0;$<N.length;$+=1)I[$]=Yg(Kg(i,N,$));const D=$=>z(I[$],1,1,()=>{I[$]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Qg(i),L=i[27].displayed&&Zg(i),V=i[18].displayed&&Xg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Fy]},$$scope:{ctx:i}}});let O=i[11]&&xg(),U=!i[25]&&e_(i),W=!i[21]&&t_(i),oe=!(i[21]||i[22])&&i_(i),fe=i[16]&&!i[21]&&l_(i);return{c(){e=k("div"),C&&C.c(),t=q();for(let $=0;$<I.length;$+=1)I[$].c();n=q(),T&&T.c(),l=q(),L&&L.c(),r=q(),V&&V.c(),s=q(),qe(o.$$.fragment),c=q(),O&&O.c(),g=q(),U&&U.c(),h=q(),W&&W.c(),_=q(),oe&&oe.c(),p=q(),fe&&fe.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m($,x){E($,e,x),C&&C.m(e,null),w(e,t);for(let Q=0;Q<I.length;Q+=1)I[Q].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),U&&U.m(e,null),w(e,h),W&&W.m(e,null),w(e,_),oe&&oe.m(e,null),w(e,p),fe&&fe.m(e,null),v=!0,S||(y=le(My,"resize",i[35]),S=!0)},p($,x){if($[26]&&$[26].length?C?(C.p($,x),x[0]&67108864&&F(C,1)):(C=Jg($),C.c(),F(C,1),C.m(e,t)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),x[0]&268443648|x[1]&896){N=$[28];let J;for(J=0;J<N.length;J+=1){const he=Kg($,N,J);I[J]?(I[J].p(he,x),F(I[J],1)):(I[J]=Yg(he),I[J].c(),F(I[J],1),I[J].m(e,n))}for(Le(),J=N.length;J<I.length;J+=1)D(J);Ae()}$[29].displayed&&$[29].settings.isDrawer?T?(T.p($,x),x[0]&536870912&&F(T,1)):(T=Qg($),T.c(),F(T,1),T.m(e,l)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),$[27].displayed?L?(L.p($,x),x[0]&134217728&&F(L,1)):(L=Zg($),L.c(),F(L,1),L.m(e,r)):L&&(Le(),z(L,1,1,()=>{L=null}),Ae()),$[18].displayed?V?(V.p($,x),x[0]&262144&&F(V,1)):(V=Xg($),V.c(),F(V,1),V.m(e,s)):V&&(Le(),z(V,1,1,()=>{V=null}),Ae());const Q={};x[0]&8192&&(Q.disable=$[13]),x[0]&12288|x[4]&8388608&&(Q.$$scope={dirty:x,ctx:$}),o.$set(Q),$[11]?O?x[0]&2048&&F(O,1):(O=xg(),O.c(),F(O,1),O.m(e,g)):O&&(Le(),z(O,1,1,()=>{O=null}),Ae()),$[25]?U&&(Le(),z(U,1,1,()=>{U=null}),Ae()):U?(U.p($,x),x[0]&33554432&&F(U,1)):(U=e_($),U.c(),F(U,1),U.m(e,h)),$[21]?W&&(Le(),z(W,1,1,()=>{W=null}),Ae()):W?(W.p($,x),x[0]&2097152&&F(W,1)):(W=t_($),W.c(),F(W,1),W.m(e,_)),$[21]||$[22]?oe&&(Le(),z(oe,1,1,()=>{oe=null}),Ae()):oe?(oe.p($,x),x[0]&6291456&&F(oe,1)):(oe=i_($),oe.c(),F(oe,1),oe.m(e,p)),$[16]&&!$[21]?fe?(fe.p($,x),x[0]&2162688&&F(fe,1)):(fe=l_($),fe.c(),F(fe,1),fe.m(e,null)):fe&&(Le(),z(fe,1,1,()=>{fe=null}),Ae()),(!v||x[0]&48234496&&m!==(m=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||x[0]&16777216)&&f(e,"configversion",$[24])},i($){if(!v){F(C);for(let x=0;x<N.length;x+=1)F(I[x]);F(T),F(L),F(V),F(o.$$.fragment,$),F(O),F(U),F(W),F(oe),F(fe),v=!0}},o($){z(C),I=I.filter(Vy);for(let x=0;x<I.length;x+=1)z(I[x]);z(T),z(L),z(V),z(o.$$.fragment,$),z(O),z(U),z(W),z(oe),z(fe),v=!1},d($){$&&A(e),C&&C.d(),ct(I,$),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),U&&U.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),S=!1,y()}}}function By(i,e,t){const n=Bt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,U,W,oe,fe,$,x=!0,Q=!1,J,he,ne,Y=[],ye={isDirty:!1,persistUrl:null},ie,He,Pe=!1,ce,X,ge={},se,{isSearchFieldVisible:De}=e,{inputElem:Me}=e,{luigiCustomSearchRenderer__slot:me}=e,{displaySearchResult:Ze}=e,{displayCustomSearchResult:Dt=!0}=e,{searchResult:Ht}=e,{storedUserSettings:vt}=e,un;const On=async B=>{const ue=B.iframe.luigi,Ve=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await re.readUserSettings(),Ue=Ve&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:Q,viewStackSize:Y.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Ue?Je[Ve]:null,anchor:rl.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ie.specialIframeTypes.map(Oe=>Oe.iframeConfigKey).forEach(Oe=>{we[Oe]=B[Oe]||!1}),we},zt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ve={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await On(B)),authData:sl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ve,Ie.sendMessageToIframe(B.iframe,Ve)},mi=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},Ui=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ve=ln(B.params),Je=tt.getNodePath(O,V);Y.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?te.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Ve.startsWith("/")?Ve:"/"+Ve,context:D}),ue.iframe.pv="pv"}},xt=(B,ue,Ve,Je)=>{let Ue=ln(B.params,Ve,Je);const{preventHistoryEntry:we,preserveQueryParams:Oe,preventContextUpdate:ft}=B.params,Mt={keepBrowserHistory:!we,navSync:x,preventContextUpdate:ft};return Ue=te.addLeadingSlash(Ue),Ue=Oe?be.composeSearchParamsToRoute(Ue):Ue,Ui(B,ue),tt.navigateTo(Ue,Mt)},Yt=B=>B.split("?")[0],Qn=(B,ue)=>{if(B.length===0)return!1;const Ve=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[Yt(Je.path),Yt(Je.nextPath)].includes(Yt(Ve))},Et=B=>{ye&&ye.dirtySet&&(B?ye.dirtySet.delete(B):ye.dirtySet.clear())},mn=B=>new Promise((ue,Ve)=>{Si(B)?zl().then(()=>{Et(),ue()},()=>{Ve()}):ue()}),Qt=()=>({get:()=>({unsavedChanges:ye,hideNav:cl,viewUrl:U,nodeParams:T,viewGroup:W,urlParamsRaw:V,currentNode:O,navigationPath:he,context:D,pathParams:L,hideSideNav:ri,isolateView:oe,pageErrorHandler:fe,previousNodeValues:$,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:He,isNavigateBack:Q,goBackContext:J,isNavigationSyncEnabled:x}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,cl=B.hideNav):ue==="viewUrl"?U=B.viewUrl:ue==="nodeParams"?T=B.nodeParams:ue==="viewGroup"?W=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,he=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,L=B.pathParams):ue==="hideSideNav"?(ri!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Ve=document.querySelector("#app");Ve&&Ve.classList.remove("no-animation")})),t(22,ri=B.hideSideNav)):ue==="isolateView"?oe=B.isolateView:ue==="pageErrorHandler"?fe=B.pageErrorHandler:ue==="previousNodeValues"?$=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):ue==="tabNav"?t(16,He=B.tabNav):ue==="isNavigateBack"?Q=B.isNavigateBack:ue==="goBackContext"?J=B.goBackContext:ue==="isNavigationSyncEnabled"&&(x=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Si,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:zl,showAlert:zi,prepareInternalData:On,dispatch:n}),Bi=(B,ue)=>{on.doOnStoreChange(l,()=>{Vn.deleteCache();const Ve=tt.getCurrentPath();tt.handleRouteChange(Ve,Qt(),B,ue)},["navigation.nodes"]),be.addRouteChangeListener((Ve,Je)=>{const{withoutSync:Ue,preventContextUpdate:we}=Je||{};Qn(Y,Ve)||(Y=[],Pn.removeInactiveIframes(B));for(let ft=St.length;ft--;)si(ft);es.removeBackdrop(),Hi(),tt.handleRouteChange(Ve,Qt(),B,ue,Ue,we)})},Gt=(B,ue)=>te.replaceVars(tt.getNodePath(B),ue,":",!1),ln=(B,ue,Ve)=>{const Je=ue||O,Ue=Ve||L;let we=he;if(ue){let ft=ue.parent;for(we=[ue];ft;)we.push(ft),ft=ft.parent;we=[...we].reverse()}let Oe=B.link;if(B.fromVirtualTreeRoot){const ft=[...we].reverse().find(Mt=>Mt.virtualTree);if(!ft){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Oe=tt.concatenatePath(Gt(ft,Ue),B.link)}else if(B.fromParent)Oe=tt.concatenatePath(Gt(Je.parent,Ue),B.link);else if(B.fromClosestContext){const ft=[...we].reverse().find(Mt=>Mt.navigationContext&&Mt.navigationContext.length>0);Oe=tt.concatenatePath(Gt(ft,Ue),B.link)}else if(B.fromContext){const ft=B.fromContext,Mt=[...we].reverse().find(Er=>ft===Er.navigationContext);Oe=tt.concatenatePath(Gt(Mt,Ue),B.link)}else B.intent?Oe=be.getIntentPath(B.link):B.relative&&(Oe=tt.concatenatePath(Gt(Je,Ue),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Oe+=Oe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ft,Mt)=>{Oe+=encodeURIComponent(be.getContentViewParamPrefix()+ft[0])+"="+encodeURIComponent(ft[1])+(Mt<Object.keys(B.nodeParams).length-1?"&":"")})),Oe},bi=B=>{const ue=B.detail.node;mn().then(()=>{if(Hl(),ue.openNodeInModal){const Ve=be.buildRoute(ue,`/${ue.pathSegment}`);bl(Ve,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ve=be.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,wn(Ve,ue.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),tt.handleRouteClick(ue,Qt())},()=>{})},li=()=>{t(17,Pe=!Pe)};Yr("handleNavigation",xt);const rn=B=>B?!0:(console.warn("No search provider defined."),!1),vi=()=>{rn(X)&&t(0,De=!1)},wi=()=>{rn(X)&&Me&&(t(0,De=!0),Me.focus())},ee=()=>{rn(X)&&Me&&(t(1,Me.value="",Me),bn())},Ee=()=>{t(0,De=!De),s2.clearSearchField()},st=()=>{if(rn(X)&&Me)return Me.value},yt=B=>{rn(X)&&Me&&(t(1,Me.value=B,Me),te.isFunction(X.onInput)?X.onInput():console.error("onInput is not a function. Please check the global search configuration."))},wt=B=>{rn(X)&&Me&&t(1,Me.placeholder=B,Me)},sn=B=>{if(rn(X))if(B&&B.length>0)if(te.isFunction(X.customSearchResultRenderer)){t(4,Dt=!0);let ue={fireItemSelected:Ve=>{X.onSearchResultItemSelected(Ve)}};X.customSearchResultRenderer(B,me,ue)}else t(3,Ze=!0),t(5,Ht=B);else console.warn("Search result array is empty.")},bn=()=>{if(rn(X)&&(t(3,Ze=!1),t(5,Ht=[]),me))for(;me.lastElementChild;)me.removeChild(me.lastElementChild)},Zn=B=>{let ue=B.detail.node,Ve={params:{link:ue.link,nodeParams:ue.params}};xt(Ve)},Fn=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Qt(),B,ue)},Hi=()=>{rt.close(Qt())},br=()=>{rt.collapse(Qt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Qt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Fl=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,ri,dl,Wi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,ue=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(B||ue)&&Hl(),Wi=window.innerWidth};let vn=[];const hl=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ve=>Ve.settings.id===ue)[0]},zi=(B,ue=!1)=>{const Ve=re.getConfigValue("settings.customAlertHandler");if(te.isFunction(Ve)){const Ue=Ve(B,ue);if(Ue!==!1)return Ue}const Je=vn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(vn,B.id)&&Wl(B.id)},B.closeAfter),new Promise((Ue,we)=>{t(26,vn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ue}}])}))},Wl=(B,ue)=>{const Ve=hl(vn,B);if(!Ve){console.error("An unexisting alert has been dismissed.",vn,B);return}if(t(26,vn=vn.filter(Je=>Je.settings.id!==B)),Ve.openFromClient){const Je=Pn.getActiveIframe(ne),Ue={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Ue)}else Ve.promise&&Ve.promise.resolve(ue||B)},Pr=B=>{Wl(B.detail.id,B.detail.dismissKey)};let Gi;const gl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Ve)=>new Promise((Je,Ue)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Ue},targetIframe:Ve})}),pl=B=>{const{promise:ue,openFromClient:Ve,targetIframe:Je}=Gi;if(gl(),B?ue.resolve():ue.reject(),Ve&&Je){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Ue)}},Si=B=>{if(ye.dirtySet){if(B)return ye.dirtySet.has(B);if(ye.dirtySet.size>0)return!0}return!1},zl=()=>_l({header:ht.getTranslation("luigi.unsavedChangesAlert.header"),body:ht.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")}),qi=()=>ye.dirtySet?ye.dirtySet.size>0:ye.isDirty;Yr("getUnsavedChangesModalPromise",mn);let St=[];const ml=B=>{if(typeof B>"u"){t(28,St=[]);return}t(28,St=St.filter((ue,Ve)=>B!==Ve))};ml();const bl=async(B,ue)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Ve={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,St=[...St,Ve]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&tt.appendModalDataToUrl(B,ue)},vl=(B,ue)=>{t(28,St[ue].modalIframe=B.detail.modalIframe,St),t(28,St[ue].modalIframeData=B.detail.modalIframeData,St)},wl=(B,ue)=>{t(28,St[ue].modalWC=B.detail.modalWC,St),t(28,St[ue].modalWCData=B.detail.modalWCData,St)},si=(B,ue,Ve)=>{const Je=(Oe,ft)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&tt.removeModalDataFromUrl(ft),ml(Oe)},Ue=St[B],we=te.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?mn(Ue.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Ve)},()=>{}):Ue&&Ue.modalWC&&(Je(B,ue),we&&we.doResolve(Ve))};Yr("openViewInModal",bl);let K={};const Pt=()=>{t(29,K.displayed=!1,K),t(29,K.nodepath=void 0,K),t(29,K.settings={},K),t(13,_=!1)};Pt();const wn=async(B,ue)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,K.displayed=!0,K),t(29,K.nodepath=B,K),t(29,K.settings=ue,K),K.settings&&K.settings.backdrop&&t(13,_=!0))},ki=()=>window.innerWidth>=$t.desktopMinWidth&&K.displayed&&K.settings&&!K.settings.overlap,Sl=()=>{if(!ki())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ve}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Ve})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{Pt()},()=>{}):v&&mn().then(()=>{Pt()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},rs=()=>{const B=fr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,ge.userSettingGroups=[...B],ge),t(18,ge.displayed=!0,ge)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},Gl=()=>{t(18,ge.displayed=!1,ge)},ss=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;re.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},va=B=>{let ue=he;if(O){let Ue=O.parent;for(ue=[O];Ue;)ue.push(Ue),Ue=Ue.parent;ue=[...ue].reverse()}let Ve=B.link,Je=Gt(O,L);if(B.fromVirtualTreeRoot){const Ue=[...ue].reverse().find(Oe=>Oe.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromParent){const Ue=Gt(O.parent,L);Ve=Je.split(Ue).join("")}else if(B.fromClosestContext){const Ue=[...ue].reverse().find(Oe=>Oe.navigationContext&&Oe.navigationContext.length>0),we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromContext){const Ue=B.fromContext,we=[...ue].reverse().find(ft=>Ue===ft.navigationContext),Oe=Gt(we,L);Ve=Je.split(Oe).join("")}else Ve=Je;return Ve};function as(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const ue=re.getConfigValue("navigation.defaults.isolateView"),Ve=re.getConfigValue("navigation.defaults.pageErrorHandler"),Je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Ve};ht.addCurrentLocaleChangeListener(we=>{const Oe={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(Oe)}),Nn.addEventListener("popstate",async we=>{const Oe=vn;if(!Oe||!(Oe.length>0))return;const ft=Oe.map(Mt=>{if(Mt&&!Mt.openFromClient&&typeof Mt.settings.ttl=="number"){if(Mt.settings.ttl===0)return null;Mt.settings.ttl--}return Mt}).filter(Mt=>Mt);t(26,vn=ft)}),Nn.addEventListener("message",async we=>{const Oe=Ie.getValidMessageSource(we),ft=St[St.length-1],Mt=ft&&ft.modalIframe,Er=ft&&ft.modalIframeData,Ji={modalIframe:Mt,modalIframeData:Er,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Oe)return;Oe._ready=!0;const Rr=Ie.getSpecialIframeMessageSource(we,Ji),ji=Rr&&Rr.length>0,kt=re.getConfigValue("communication.skipEventsWhenInactive");if(kt&&kt.length>0&&!ji&&Oe.contentWindow!==window&&!te.isElementVisible(Oe)&&kt.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Te=re.getConfigValue("communication.customMessagesListeners")||{},mt=ca.convertCustomMessageInternalToUser(we.data),qt=Te[mt.id],Un="luigi.updateUserSettings";if(ge&&mt.id===Un){qt&&console.warn(`The key "${Un}" is not allowed to use for custom messages.`);return}if(typeof qt=="function"){const ai=ii.getMicrofrontends().find(Yi=>Ie.isMessageSource(we,Yi.container));qt(mt,ai,te.removeInternalProperties(Oe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${mt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(Oe.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(Oe.luigi.viewUrl=Oe.luigi.nextViewUrl,Oe.luigi.nextViewUrl="",Oe.luigi.clientPermissions=Oe.luigi.nextClientPermissions,delete Oe.luigi.nextClientPermissions,Ue.navigateOk=!0,or.preload()),we.data.msg==="luigi.get-context"){if(Oe.luigi.clientVersion=we.data.clientVersion,Oe.luigi.initOk=!1,ji)Rr.forEach(async Te=>{let mt=Ji[Te.dataKey].context;const qt={...Ue,iframe:Ji[Te.iframeKey],context:mt,pathParams:Ji[Te.dataKey].pathParams,nodeParams:Ji[Te.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Ji[Te.iframeKey].luigi.currentNode),modal:Te.iframeKey.startsWith("modal"),drawer:Te.iframeKey.startsWith("drawer"),splitView:Te.iframeKey.startsWith("splitView")};await zt(qt,{})});else if(Ue.iframe&&Ie.isMessageSource(we,Ue.iframe))await zt(Ue,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),or.preload();else if(Oe.luigi.preloading)await zt({iframe:Oe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Te=fr.findActiveCustomUserSettingsIframe(we.source);if(Te){let mt=Te.getAttribute("userSettingsGroup"),qt={context:{userSettingsData:vt[mt]},iframe:Te};await zt(qt)}}or.viewGroupLoaded(Oe)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),we.data.msg==="luigi.navigation.open"){Q=!1;const Te=window.location.href,mt=ji?Oe.luigi.currentNode:void 0,qt=ji?Oe.luigi.pathParams:void 0,Un=we.data.params,{intent:ai,newTab:Yi,modal:kl,splitView:Kl,drawer:Jl,withoutSync:en}=Un;let Cl=Yi||kl||Kl||Jl;const Ci=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doResolve()},yl=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doReject()},yi=In=>{!In||Te!==window.location.href?Ci():yl()};we.source!==window&&!ai&&Un.link&&(Un.link=Un.link.split("?")[0]);let It=ln(we.data.params,mt,qt);if(Cl=Cl||ai&&It.external,!Cl)mn().then(()=>{x=!we.data.params.withoutSync,xt(we.data,Ue,mt,qt).then(()=>{yi(!0)}).catch(()=>{yl()}),St.forEach((In,_s)=>{si(_s)}),Hi(),Ir(),x=!0}).catch(()=>{yl()});else{if(ai&&It.external){tt.navigateToExternalLink({url:It.url,sameWindow:!It.openInNewTab});return}if(It=te.addLeadingSlash(It),Yi){await ss(It),yi();return}const In=await ql(It);if(It=await be.handlePageNotFoundAndRetrieveRedirectPath(Qt(),It,In),!It){yl();return}ne=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(It,kl===!0?{}:kl),yi()):Kl!==void 0?(await Fn(It,Kl),yi()):Jl!==void 0&&(Pt(),Jl.isDrawer=!0,await wn(It,Jl),yi())}}if(we.data.msg==="luigi.navigation.back"){const Te=St[St.length-1],mt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);Ie.isMessageSource(we,Te&&Te.modalIframe)?(si(St.length-1,!0,mt),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Ie.isMessageSource(we,y)?(Hi(),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Ir(),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Y&&Y.length>0?mn().then(()=>{Pn.setActiveIframeToPrevious(B);const qt=Y.pop();Ue.iframe=Pn.getActiveIframe(B),Q=!0,Y=Y,J=mt,xt({params:{link:qt.path}},Ue)},()=>{}):(mt&&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 Te=we.data.data,qt={msg:"luigi.navigation.currentRoute.answer",data:{route:va(Te),correlationId:Te.id}};Ie.sendMessageToIframe(Oe,qt)}if(we.data.msg==="luigi.auth.tokenIssued"&&mi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(ji){const Te=te.addLeadingSlash(ln(we.data.params,Oe.luigi.currentNode,Oe.luigi.pathParams));tt.updateModalDataInUrl(Te,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 Te=Oe.luigi.currentNode,mt=Oe.luigi.pathParams,qt=we.data.data,Un=ln(qt,Te,mt),ai=Un?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Un):!1,Yi={msg:"luigi.navigation.pathExists.answer",data:{correlationId:qt.id,pathExists:ai?ai.isExistingRoute:!1}};Ie.sendMessageToIframe(Oe,Yi)}if(we.data.msg==="luigi.set-page-dirty"){if(!ye.dirtySet){const Te=new Set;Te.add(we.source),ye={dirtySet:Te}}ye.persistUrl=window.location.href,we.data.dirty?ye.dirtySet.add(we.source):ye.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Te=we.data.data.settings;ne=B,gl(),_l(Te,!0,Oe).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Te}=we.data.data;if(!Te.text&&!te.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}ne=B,zi(Te,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(Oe.luigi.clientPermissions&&Oe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Te}=we.data.data;Te&&ht.setCurrentLocale(Te)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Tr(),we.data.msg==="storage"&&A2.process(Oe.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Te=Oe.luigi.currentNode;Te&&Te.runTimeErrorHandler&&te.isFunction(Te.runTimeErrorHandler.errorFn)?Te.runTimeErrorHandler.errorFn(we.data.errorObj,Te):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,Te)}if(we.data.msg==="luigi.addSearchParams")if(Oe.luigi.currentNode.clientPermissions&&Oe.luigi.currentNode.clientPermissions.urlParameters){const{data:Te,keepBrowserHistory:mt}=we.data;be.addSearchParamsFromClient(Oe.luigi.currentNode,Te,mt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(ji)return;const{data:Te,keepBrowserHistory:mt}=we.data;rl.addNodeParams(Te,mt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Te}=we.data;rl.setAnchor(Te)}if(we.data.msg==="luigi.setVGData"){const Te=we.data,mt=be.findViewGroup(Oe.luigi.currentNode);if(mt){const qt=Pn.getViewGroupSettings(mt);qt._liveCustomData=Te.data,re.configChanged("navigation.viewgroupdata")}}}),Bi(B,Ue)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{ce&&ce.thirdPartyCookieErrorHandling&&te.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()},ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:be.hasIntent(B)},Ve=ln(ue),Je=Ve?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ve):!1;return Je?Je.isExistingRoute:!1},wa=()=>St.length>0||Y.length!==0;jt(()=>{if(Ro._init(),X=re.getConfigValue("globalSearch.searchProvider"),ie=re.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();B&&ue&&t(19,se=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();if(B&&ue){const Ve=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,se=Ve?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ce=re.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Dy()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),ma(()=>{Sl()}),Mn(()=>{t(20,un=re.getConfigValue("navigation.breadcrumbs")),X=re.getConfigValue("globalSearch.searchProvider"),t(24,Ul=re.getConfigValue("tag")),t(25,Bl=re.getConfigValue("settings.header.disabled"))});const os=B=>si(B,!0),Lr=(B,ue)=>vl(ue,B),Ar=(B,ue)=>wl(ue,B),Ki=()=>pl(!0),us=()=>pl(!1);function fs(B){vt=B,t(6,vt)}function Sa(B){De=B,t(0,De)}function cs(B){Ze=B,t(3,Ze)}function ds(B){Dt=B,t(4,Dt)}function hs(B){Ht=B,t(5,Ht)}function gs(B){Me=B,t(1,Me)}function ka(B){me=B,t(2,me)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,De=B.isSearchFieldVisible),"inputElem"in B&&t(1,Me=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,me=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Dt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Ht=B.searchResult),"storedUserSettings"in B&&t(6,vt=B.storedUserSettings)},[De,Me,me,Ze,Dt,Ht,vt,Ee,bn,Zn,Gl,s,o,_,L,he,He,Pe,ge,se,un,cl,ri,dl,Ul,Bl,vn,Gi,St,K,bi,li,kr,Cr,fl,yr,Pr,pl,vl,wl,si,is,ls,Nr,Ir,as,l,r,vi,wi,ee,st,yt,wt,sn,Fn,Hi,br,vr,wr,Fl,Sr,zi,_l,qi,rs,ql,wa,os,Lr,Ar,Ki,us,fs,Sa,cs,ds,hs,gs,ka]}class Hy extends At{constructor(e){super(),Lt(this,e,By,Uy,Nt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Wy=()=>{const{subscribe:i,update:e,reset:t}=gr({}),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)})}}},q_=Wy(),zy=xw((i,e,t)=>ht.getTranslation(i,e,t));Luigi._store=q_;const Gy=()=>new Promise(i=>{ht._init(),nn.init().then(()=>{setTimeout(()=>{let e;ii.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Hy({target:ii.getLuigiContainer(),props:{store:q_,getTranslation:zy}}),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(Gy);
63
+ <div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){E(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=w_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=S_(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function e_(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new uy({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"displaySearchResult",h)),$e.push(()=>pt(e,"displayCustomSearchResult",_)),$e.push(()=>pt(e,"searchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],_t(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],_t(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],_t(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],_t(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],_t(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],_t(()=>o=!1)),e.$set(N)},i(y){c||(F(e.$$.fragment,y),c=!0)},o(y){z(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function t_(i){let e,t,n,l;e=new Ly({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&n_(i);return{c(){qe(e.$$.fragment),t=q(),r&&r.c(),n=Se()},m(s,o){ze(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]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&F(r,1)):(r=n_(s),r.c(),F(r,1),r.m(n.parentNode,n)):r&&(Le(),z(r,1,1,()=>{r=null}),Ae())},i(s){l||(F(e.$$.fragment,s),F(r),l=!0)},o(s){z(e.$$.fragment,s),z(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function n_(i){let e,t;return e=new Ry({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function i_(i){let e,t;return e=new HS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function l_(i){let e,t;return e=new ky({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Uy(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Jg(i),N=i[28],I=[];for(let $=0;$<N.length;$+=1)I[$]=Yg(Kg(i,N,$));const D=$=>z(I[$],1,1,()=>{I[$]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Qg(i),L=i[27].displayed&&Zg(i),V=i[18].displayed&&Xg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Fy]},$$scope:{ctx:i}}});let O=i[11]&&xg(),U=!i[25]&&e_(i),W=!i[21]&&t_(i),oe=!(i[21]||i[22])&&i_(i),fe=i[16]&&!i[21]&&l_(i);return{c(){e=k("div"),C&&C.c(),t=q();for(let $=0;$<I.length;$+=1)I[$].c();n=q(),T&&T.c(),l=q(),L&&L.c(),r=q(),V&&V.c(),s=q(),qe(o.$$.fragment),c=q(),O&&O.c(),g=q(),U&&U.c(),h=q(),W&&W.c(),_=q(),oe&&oe.c(),p=q(),fe&&fe.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m($,x){E($,e,x),C&&C.m(e,null),w(e,t);for(let Q=0;Q<I.length;Q+=1)I[Q].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),U&&U.m(e,null),w(e,h),W&&W.m(e,null),w(e,_),oe&&oe.m(e,null),w(e,p),fe&&fe.m(e,null),v=!0,S||(y=re(My,"resize",i[35]),S=!0)},p($,x){if($[26]&&$[26].length?C?(C.p($,x),x[0]&67108864&&F(C,1)):(C=Jg($),C.c(),F(C,1),C.m(e,t)):C&&(Le(),z(C,1,1,()=>{C=null}),Ae()),x[0]&268443648|x[1]&896){N=$[28];let K;for(K=0;K<N.length;K+=1){const he=Kg($,N,K);I[K]?(I[K].p(he,x),F(I[K],1)):(I[K]=Yg(he),I[K].c(),F(I[K],1),I[K].m(e,n))}for(Le(),K=N.length;K<I.length;K+=1)D(K);Ae()}$[29].displayed&&$[29].settings.isDrawer?T?(T.p($,x),x[0]&536870912&&F(T,1)):(T=Qg($),T.c(),F(T,1),T.m(e,l)):T&&(Le(),z(T,1,1,()=>{T=null}),Ae()),$[27].displayed?L?(L.p($,x),x[0]&134217728&&F(L,1)):(L=Zg($),L.c(),F(L,1),L.m(e,r)):L&&(Le(),z(L,1,1,()=>{L=null}),Ae()),$[18].displayed?V?(V.p($,x),x[0]&262144&&F(V,1)):(V=Xg($),V.c(),F(V,1),V.m(e,s)):V&&(Le(),z(V,1,1,()=>{V=null}),Ae());const Q={};x[0]&8192&&(Q.disable=$[13]),x[0]&12288|x[4]&8388608&&(Q.$$scope={dirty:x,ctx:$}),o.$set(Q),$[11]?O?x[0]&2048&&F(O,1):(O=xg(),O.c(),F(O,1),O.m(e,g)):O&&(Le(),z(O,1,1,()=>{O=null}),Ae()),$[25]?U&&(Le(),z(U,1,1,()=>{U=null}),Ae()):U?(U.p($,x),x[0]&33554432&&F(U,1)):(U=e_($),U.c(),F(U,1),U.m(e,h)),$[21]?W&&(Le(),z(W,1,1,()=>{W=null}),Ae()):W?(W.p($,x),x[0]&2097152&&F(W,1)):(W=t_($),W.c(),F(W,1),W.m(e,_)),$[21]||$[22]?oe&&(Le(),z(oe,1,1,()=>{oe=null}),Ae()):oe?(oe.p($,x),x[0]&6291456&&F(oe,1)):(oe=i_($),oe.c(),F(oe,1),oe.m(e,p)),$[16]&&!$[21]?fe?(fe.p($,x),x[0]&2162688&&F(fe,1)):(fe=l_($),fe.c(),F(fe,1),fe.m(e,null)):fe&&(Le(),z(fe,1,1,()=>{fe=null}),Ae()),(!v||x[0]&48234496&&m!==(m=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||x[0]&16777216)&&f(e,"configversion",$[24])},i($){if(!v){F(C);for(let x=0;x<N.length;x+=1)F(I[x]);F(T),F(L),F(V),F(o.$$.fragment,$),F(O),F(U),F(W),F(oe),F(fe),v=!0}},o($){z(C),I=I.filter(Vy);for(let x=0;x<I.length;x+=1)z(I[x]);z(T),z(L),z(V),z(o.$$.fragment,$),z(O),z(U),z(W),z(oe),z(fe),v=!1},d($){$&&A(e),C&&C.d(),ct(I,$),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),U&&U.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),S=!1,y()}}}function By(i,e,t){const n=Bt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,U,W,oe,fe,$,x=!0,Q=!1,K,he,ne,Y=[],ye={isDirty:!1,persistUrl:null},ie,He,Pe=!1,ce,X,ge={},se,{isSearchFieldVisible:De}=e,{inputElem:Me}=e,{luigiCustomSearchRenderer__slot:me}=e,{displaySearchResult:Ze}=e,{displayCustomSearchResult:Dt=!0}=e,{searchResult:Ht}=e,{storedUserSettings:vt}=e,un;const On=async B=>{const ue=B.iframe.luigi,Ve=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await le.readUserSettings(),Ue=Ve&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:Q,viewStackSize:Y.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Ue?Je[Ve]:null,anchor:rl.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ie.specialIframeTypes.map(Oe=>Oe.iframeConfigKey).forEach(Oe=>{we[Oe]=B[Oe]||!1}),we},zt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ve={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await On(B)),authData:sl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ve,Ie.sendMessageToIframe(B.iframe,Ve)},mi=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},Ui=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ve=ln(B.params),Je=et.getNodePath(O,V);Y.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?te.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Ve.startsWith("/")?Ve:"/"+Ve,context:D}),ue.iframe.pv="pv"}},xt=(B,ue,Ve,Je)=>{let Ue=ln(B.params,Ve,Je);const{preventHistoryEntry:we,preserveQueryParams:Oe,preventContextUpdate:ft}=B.params,Mt={keepBrowserHistory:!we,navSync:x,preventContextUpdate:ft};return Ue=te.addLeadingSlash(Ue),Ue=Oe?be.composeSearchParamsToRoute(Ue):Ue,Ui(B,ue),et.navigateTo(Ue,Mt)},Yt=B=>B.split("?")[0],Qn=(B,ue)=>{if(B.length===0)return!1;const Ve=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[Yt(Je.path),Yt(Je.nextPath)].includes(Yt(Ve))},Et=B=>{ye&&ye.dirtySet&&(B?ye.dirtySet.delete(B):ye.dirtySet.clear())},mn=B=>new Promise((ue,Ve)=>{Si(B)?zl().then(()=>{Et(),ue()},()=>{Ve()}):ue()}),Qt=()=>({get:()=>({unsavedChanges:ye,hideNav:cl,viewUrl:U,nodeParams:T,viewGroup:W,urlParamsRaw:V,currentNode:O,navigationPath:he,context:D,pathParams:L,hideSideNav:ri,isolateView:oe,pageErrorHandler:fe,previousNodeValues:$,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:He,isNavigateBack:Q,goBackContext:K,isNavigationSyncEnabled:x}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,cl=B.hideNav):ue==="viewUrl"?U=B.viewUrl:ue==="nodeParams"?T=B.nodeParams:ue==="viewGroup"?W=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,he=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,L=B.pathParams):ue==="hideSideNav"?(ri!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Ve=document.querySelector("#app");Ve&&Ve.classList.remove("no-animation")})),t(22,ri=B.hideSideNav)):ue==="isolateView"?oe=B.isolateView:ue==="pageErrorHandler"?fe=B.pageErrorHandler:ue==="previousNodeValues"?$=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):ue==="tabNav"?t(16,He=B.tabNav):ue==="isNavigateBack"?Q=B.isNavigateBack:ue==="goBackContext"?K=B.goBackContext:ue==="isNavigationSyncEnabled"&&(x=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Si,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:zl,showAlert:zi,prepareInternalData:On,dispatch:n}),Bi=(B,ue)=>{on.doOnStoreChange(l,()=>{Vn.deleteCache();const Ve=et.getCurrentPath();et.handleRouteChange(Ve,Qt(),B,ue)},["navigation.nodes"]),be.addRouteChangeListener((Ve,Je)=>{const{withoutSync:Ue,preventContextUpdate:we}=Je||{};Qn(Y,Ve)||(Y=[],Pn.removeInactiveIframes(B));for(let ft=St.length;ft--;)si(ft);es.removeBackdrop(),Hi(),et.handleRouteChange(Ve,Qt(),B,ue,Ue,we)})},Gt=(B,ue)=>te.replaceVars(et.getNodePath(B),ue,":",!1),ln=(B,ue,Ve)=>{const Je=ue||O,Ue=Ve||L;let we=he;if(ue){let ft=ue.parent;for(we=[ue];ft;)we.push(ft),ft=ft.parent;we=[...we].reverse()}let Oe=B.link;if(B.fromVirtualTreeRoot){const ft=[...we].reverse().find(Mt=>Mt.virtualTree);if(!ft){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Oe=et.concatenatePath(Gt(ft,Ue),B.link)}else if(B.fromParent)Oe=et.concatenatePath(Gt(Je.parent,Ue),B.link);else if(B.fromClosestContext){const ft=[...we].reverse().find(Mt=>Mt.navigationContext&&Mt.navigationContext.length>0);Oe=et.concatenatePath(Gt(ft,Ue),B.link)}else if(B.fromContext){const ft=B.fromContext,Mt=[...we].reverse().find(Er=>ft===Er.navigationContext);Oe=et.concatenatePath(Gt(Mt,Ue),B.link)}else B.intent?Oe=be.getIntentPath(B.link):B.relative&&(Oe=et.concatenatePath(Gt(Je,Ue),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Oe+=Oe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ft,Mt)=>{Oe+=encodeURIComponent(be.getContentViewParamPrefix()+ft[0])+"="+encodeURIComponent(ft[1])+(Mt<Object.keys(B.nodeParams).length-1?"&":"")})),Oe},bi=B=>{const ue=B.detail.node;mn().then(()=>{if(Hl(),ue.openNodeInModal){const Ve=be.buildRoute(ue,`/${ue.pathSegment}`);bl(Ve,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ve=be.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,wn(Ve,ue.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(ue,Qt())},()=>{})},li=()=>{t(17,Pe=!Pe)};Yr("handleNavigation",xt);const rn=B=>B?!0:(console.warn("No search provider defined."),!1),vi=()=>{rn(X)&&t(0,De=!1)},wi=()=>{rn(X)&&Me&&(t(0,De=!0),Me.focus())},ee=()=>{rn(X)&&Me&&(t(1,Me.value="",Me),bn())},Ee=()=>{t(0,De=!De),s2.clearSearchField()},st=()=>{if(rn(X)&&Me)return Me.value},yt=B=>{rn(X)&&Me&&(t(1,Me.value=B,Me),te.isFunction(X.onInput)?X.onInput():console.error("onInput is not a function. Please check the global search configuration."))},wt=B=>{rn(X)&&Me&&t(1,Me.placeholder=B,Me)},sn=B=>{if(rn(X))if(B&&B.length>0)if(te.isFunction(X.customSearchResultRenderer)){t(4,Dt=!0);let ue={fireItemSelected:Ve=>{X.onSearchResultItemSelected(Ve)}};X.customSearchResultRenderer(B,me,ue)}else t(3,Ze=!0),t(5,Ht=B);else console.warn("Search result array is empty.")},bn=()=>{if(rn(X)&&(t(3,Ze=!1),t(5,Ht=[]),me))for(;me.lastElementChild;)me.removeChild(me.lastElementChild)},Zn=B=>{let ue=B.detail.node,Ve={params:{link:ue.link,nodeParams:ue.params}};xt(Ve)},Fn=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Qt(),B,ue)},Hi=()=>{rt.close(Qt())},br=()=>{rt.collapse(Qt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Qt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Fl=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,ri,dl,Wi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,ue=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(B||ue)&&Hl(),Wi=window.innerWidth};let vn=[];const hl=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ve=>Ve.settings.id===ue)[0]},zi=(B,ue=!1)=>{const Ve=le.getConfigValue("settings.customAlertHandler");if(te.isFunction(Ve)){const Ue=Ve(B,ue);if(Ue!==!1)return Ue}const Je=vn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(vn,B.id)&&Wl(B.id)},B.closeAfter),new Promise((Ue,we)=>{t(26,vn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ue}}])}))},Wl=(B,ue)=>{const Ve=hl(vn,B);if(!Ve){console.error("An unexisting alert has been dismissed.",vn,B);return}if(t(26,vn=vn.filter(Je=>Je.settings.id!==B)),Ve.openFromClient){const Je=Pn.getActiveIframe(ne),Ue={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Ue)}else Ve.promise&&Ve.promise.resolve(ue||B)},Pr=B=>{Wl(B.detail.id,B.detail.dismissKey)};let Gi;const gl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Ve)=>new Promise((Je,Ue)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Ue},targetIframe:Ve})}),pl=B=>{const{promise:ue,openFromClient:Ve,targetIframe:Je}=Gi;if(gl(),B?ue.resolve():ue.reject(),Ve&&Je){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Ue)}},Si=B=>{if(ye.dirtySet){if(B)return ye.dirtySet.has(B);if(ye.dirtySet.size>0)return!0}return!1},zl=()=>_l({header:ht.getTranslation("luigi.unsavedChangesAlert.header"),body:ht.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")}),qi=()=>ye.dirtySet?ye.dirtySet.size>0:ye.isDirty;Yr("getUnsavedChangesModalPromise",mn);let St=[];const ml=B=>{if(typeof B>"u"){t(28,St=[]);return}t(28,St=St.filter((ue,Ve)=>B!==Ve))};ml();const bl=async(B,ue)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Ve={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,St=[...St,Ve]),le.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&et.appendModalDataToUrl(B,ue)},vl=(B,ue)=>{t(28,St[ue].modalIframe=B.detail.modalIframe,St),t(28,St[ue].modalIframeData=B.detail.modalIframeData,St)},wl=(B,ue)=>{t(28,St[ue].modalWC=B.detail.modalWC,St),t(28,St[ue].modalWCData=B.detail.modalWCData,St)},si=(B,ue,Ve)=>{const Je=(Oe,ft)=>{le.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&et.removeModalDataFromUrl(ft),ml(Oe)},Ue=St[B],we=te.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?mn(Ue.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Ve)},()=>{}):Ue&&Ue.modalWC&&(Je(B,ue),we&&we.doResolve(Ve))};Yr("openViewInModal",bl);let J={};const Pt=()=>{t(29,J.displayed=!1,J),t(29,J.nodepath=void 0,J),t(29,J.settings={},J),t(13,_=!1)};Pt();const wn=async(B,ue)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,J.displayed=!0,J),t(29,J.nodepath=B,J),t(29,J.settings=ue,J),J.settings&&J.settings.backdrop&&t(13,_=!0))},ki=()=>window.innerWidth>=$t.desktopMinWidth&&J.displayed&&J.settings&&!J.settings.overlap,Sl=()=>{if(!ki())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ve}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Ve})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{Pt()},()=>{}):v&&mn().then(()=>{Pt()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},rs=()=>{const B=fr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,ge.userSettingGroups=[...B],ge),t(18,ge.displayed=!0,ge)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},Gl=()=>{t(18,ge.displayed=!1,ge)},ss=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;le.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},va=B=>{let ue=he;if(O){let Ue=O.parent;for(ue=[O];Ue;)ue.push(Ue),Ue=Ue.parent;ue=[...ue].reverse()}let Ve=B.link,Je=Gt(O,L);if(B.fromVirtualTreeRoot){const Ue=[...ue].reverse().find(Oe=>Oe.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromParent){const Ue=Gt(O.parent,L);Ve=Je.split(Ue).join("")}else if(B.fromClosestContext){const Ue=[...ue].reverse().find(Oe=>Oe.navigationContext&&Oe.navigationContext.length>0),we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromContext){const Ue=B.fromContext,we=[...ue].reverse().find(ft=>Ue===ft.navigationContext),Oe=Gt(we,L);Ve=Je.split(Oe).join("")}else Ve=Je;return Ve};function as(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const ue=le.getConfigValue("navigation.defaults.isolateView"),Ve=le.getConfigValue("navigation.defaults.pageErrorHandler"),Je=le.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Ve};ht.addCurrentLocaleChangeListener(we=>{const Oe={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(Oe)}),Nn.addEventListener("popstate",async we=>{const Oe=vn;if(!Oe||!(Oe.length>0))return;const ft=Oe.map(Mt=>{if(Mt&&!Mt.openFromClient&&typeof Mt.settings.ttl=="number"){if(Mt.settings.ttl===0)return null;Mt.settings.ttl--}return Mt}).filter(Mt=>Mt);t(26,vn=ft)}),Nn.addEventListener("message",async we=>{const Oe=Ie.getValidMessageSource(we),ft=St[St.length-1],Mt=ft&&ft.modalIframe,Er=ft&&ft.modalIframeData,Ji={modalIframe:Mt,modalIframeData:Er,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Oe)return;Oe._ready=!0;const Rr=Ie.getSpecialIframeMessageSource(we,Ji),ji=Rr&&Rr.length>0,kt=le.getConfigValue("communication.skipEventsWhenInactive");if(kt&&kt.length>0&&!ji&&Oe.contentWindow!==window&&!te.isElementVisible(Oe)&&kt.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Te=le.getConfigValue("communication.customMessagesListeners")||{},mt=ca.convertCustomMessageInternalToUser(we.data),qt=Te[mt.id],Un="luigi.updateUserSettings";if(ge&&mt.id===Un){qt&&console.warn(`The key "${Un}" is not allowed to use for custom messages.`);return}if(typeof qt=="function"){const ai=ii.getMicrofrontends().find(Yi=>Ie.isMessageSource(we,Yi.container));qt(mt,ai,te.removeInternalProperties(Oe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${mt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(Oe.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(Oe.luigi.viewUrl=Oe.luigi.nextViewUrl,Oe.luigi.nextViewUrl="",Oe.luigi.clientPermissions=Oe.luigi.nextClientPermissions,delete Oe.luigi.nextClientPermissions,Ue.navigateOk=!0,or.preload()),we.data.msg==="luigi.get-context"){if(Oe.luigi.clientVersion=we.data.clientVersion,Oe.luigi.initOk=!1,ji)Rr.forEach(async Te=>{let mt=Ji[Te.dataKey].context;const qt={...Ue,iframe:Ji[Te.iframeKey],context:mt,pathParams:Ji[Te.dataKey].pathParams,nodeParams:Ji[Te.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Ji[Te.iframeKey].luigi.currentNode),modal:Te.iframeKey.startsWith("modal"),drawer:Te.iframeKey.startsWith("drawer"),splitView:Te.iframeKey.startsWith("splitView")};await zt(qt,{})});else if(Ue.iframe&&Ie.isMessageSource(we,Ue.iframe))await zt(Ue,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),or.preload();else if(Oe.luigi.preloading)await zt({iframe:Oe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Te=fr.findActiveCustomUserSettingsIframe(we.source);if(Te){let mt=Te.getAttribute("userSettingsGroup"),qt={context:{userSettingsData:vt[mt]},iframe:Te};await zt(qt)}}or.viewGroupLoaded(Oe)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),we.data.msg==="luigi.navigation.open"){Q=!1;const Te=window.location.href,mt=ji?Oe.luigi.currentNode:void 0,qt=ji?Oe.luigi.pathParams:void 0,Un=we.data.params,{intent:ai,newTab:Yi,modal:kl,splitView:Kl,drawer:Jl,withoutSync:en}=Un;let Cl=Yi||kl||Kl||Jl;const Ci=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doResolve()},yl=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doReject()},yi=In=>{!In||Te!==window.location.href?Ci():yl()};we.source!==window&&!ai&&Un.link&&(Un.link=Un.link.split("?")[0]);let It=ln(we.data.params,mt,qt);if(Cl=Cl||ai&&It.external,!Cl)mn().then(()=>{x=!we.data.params.withoutSync,xt(we.data,Ue,mt,qt).then(()=>{yi(!0)}).catch(()=>{yl()}),St.forEach((In,_s)=>{si(_s)}),Hi(),Ir(),x=!0}).catch(()=>{yl()});else{if(ai&&It.external){et.navigateToExternalLink({url:It.url,sameWindow:!It.openInNewTab});return}if(It=te.addLeadingSlash(It),Yi){await ss(It),yi();return}const In=await ql(It);if(It=await be.handlePageNotFoundAndRetrieveRedirectPath(Qt(),It,In),!It){yl();return}ne=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(It,kl===!0?{}:kl),yi()):Kl!==void 0?(await Fn(It,Kl),yi()):Jl!==void 0&&(Pt(),Jl.isDrawer=!0,await wn(It,Jl),yi())}}if(we.data.msg==="luigi.navigation.back"){const Te=St[St.length-1],mt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);Ie.isMessageSource(we,Te&&Te.modalIframe)?(si(St.length-1,!0,mt),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Ie.isMessageSource(we,y)?(Hi(),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Ir(),Ue.iframe&&await zt(Ue,{goBackContext:mt})):Y&&Y.length>0?mn().then(()=>{Pn.setActiveIframeToPrevious(B);const qt=Y.pop();Ue.iframe=Pn.getActiveIframe(B),Q=!0,Y=Y,K=mt,xt({params:{link:qt.path}},Ue)},()=>{}):(mt&&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 Te=we.data.data,qt={msg:"luigi.navigation.currentRoute.answer",data:{route:va(Te),correlationId:Te.id}};Ie.sendMessageToIframe(Oe,qt)}if(we.data.msg==="luigi.auth.tokenIssued"&&mi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!le.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(ji){const Te=te.addLeadingSlash(ln(we.data.params,Oe.luigi.currentNode,Oe.luigi.pathParams));et.updateModalDataInUrl(Te,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 Te=Oe.luigi.currentNode,mt=Oe.luigi.pathParams,qt=we.data.data,Un=ln(qt,Te,mt),ai=Un?await Vt.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Un):!1,Yi={msg:"luigi.navigation.pathExists.answer",data:{correlationId:qt.id,pathExists:ai?ai.isExistingRoute:!1}};Ie.sendMessageToIframe(Oe,Yi)}if(we.data.msg==="luigi.set-page-dirty"){if(!ye.dirtySet){const Te=new Set;Te.add(we.source),ye={dirtySet:Te}}ye.persistUrl=window.location.href,we.data.dirty?ye.dirtySet.add(we.source):ye.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Te=we.data.data.settings;ne=B,gl(),_l(Te,!0,Oe).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Te}=we.data.data;if(!Te.text&&!te.isFunction(le.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ne=B,zi(Te,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(Oe.luigi.clientPermissions&&Oe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Te}=we.data.data;Te&&ht.setCurrentLocale(Te)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Tr(),we.data.msg==="storage"&&A2.process(Oe.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Te=Oe.luigi.currentNode;Te&&Te.runTimeErrorHandler&&te.isFunction(Te.runTimeErrorHandler.errorFn)?Te.runTimeErrorHandler.errorFn(we.data.errorObj,Te):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,Te)}if(we.data.msg==="luigi.addSearchParams")if(Oe.luigi.currentNode.clientPermissions&&Oe.luigi.currentNode.clientPermissions.urlParameters){const{data:Te,keepBrowserHistory:mt}=we.data;be.addSearchParamsFromClient(Oe.luigi.currentNode,Te,mt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(ji)return;const{data:Te,keepBrowserHistory:mt}=we.data;rl.addNodeParams(Te,mt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Te}=we.data;rl.setAnchor(Te)}if(we.data.msg==="luigi.setVGData"){const Te=we.data,mt=be.findViewGroup(Oe.luigi.currentNode);if(mt){const qt=Pn.getViewGroupSettings(mt);qt._liveCustomData=Te.data,le.configChanged("navigation.viewgroupdata")}}}),Bi(B,Ue)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{ce&&ce.thirdPartyCookieErrorHandling&&te.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()},ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:be.hasIntent(B)},Ve=ln(ue),Je=Ve?await Vt.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Ve):!1;return Je?Je.isExistingRoute:!1},wa=()=>St.length>0||Y.length!==0;jt(()=>{if(Ro._init(),X=le.getConfigValue("globalSearch.searchProvider"),ie=le.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();B&&ue&&t(19,se=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();if(B&&ue){const Ve=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,se=Ve?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ce=le.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Dy()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),ma(()=>{Sl()}),Mn(()=>{t(20,un=le.getConfigValue("navigation.breadcrumbs")),X=le.getConfigValue("globalSearch.searchProvider"),t(24,Ul=le.getConfigValue("tag")),t(25,Bl=le.getConfigValue("settings.header.disabled"))});const os=B=>si(B,!0),Lr=(B,ue)=>vl(ue,B),Ar=(B,ue)=>wl(ue,B),Ki=()=>pl(!0),us=()=>pl(!1);function fs(B){vt=B,t(6,vt)}function Sa(B){De=B,t(0,De)}function cs(B){Ze=B,t(3,Ze)}function ds(B){Dt=B,t(4,Dt)}function hs(B){Ht=B,t(5,Ht)}function gs(B){Me=B,t(1,Me)}function ka(B){me=B,t(2,me)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,De=B.isSearchFieldVisible),"inputElem"in B&&t(1,Me=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,me=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Dt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Ht=B.searchResult),"storedUserSettings"in B&&t(6,vt=B.storedUserSettings)},[De,Me,me,Ze,Dt,Ht,vt,Ee,bn,Zn,Gl,s,o,_,L,he,He,Pe,ge,se,un,cl,ri,dl,Ul,Bl,vn,Gi,St,J,bi,li,kr,Cr,fl,yr,Pr,pl,vl,wl,si,is,ls,Nr,Ir,as,l,r,vi,wi,ee,st,yt,wt,sn,Fn,Hi,br,vr,wr,Fl,Sr,zi,_l,qi,rs,ql,wa,os,Lr,Ar,Ki,us,fs,Sa,cs,ds,hs,gs,ka]}class Hy extends At{constructor(e){super(),Lt(this,e,By,Uy,Nt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Wy=()=>{const{subscribe:i,update:e,reset:t}=gr({}),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)})}}},q_=Wy(),zy=xw((i,e,t)=>ht.getTranslation(i,e,t));Luigi._store=q_;const Gy=()=>new Promise(i=>{ht._init(),nn.init().then(()=>{setTimeout(()=>{let e;ii.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Hy({target:ii.getLuigiContainer(),props:{store:q_,getTranslation:zy}}),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()})})});le.setConfigCallbacks(Gy);
64
64
  //# sourceMappingURL=luigi.js.map