@luigi-project/core 2.7.2-dev.20231190027 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/luigi.js +2 -2
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -23,7 +23,7 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
|
|
|
23
23
|
}
|
|
24
24
|
${n}
|
|
25
25
|
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const g_=i=>{const e=i.use;if(e){if(e==="grid")return new qw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new hr(i);return new hr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Gw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/");class Kw{constructor(){}dynamicImport(e){return import(
|
|
26
|
+
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const g_=i=>{const e=i.use;if(e){if(e==="grid")return new qw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new hr(i);return new hr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Gw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/");class Kw{constructor(){}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,s,o){if(n&&n.contains(t)){const f=document.createElement(e);s&&f.setAttribute("nodeId",s),f.setAttribute("lui_web_component",!0),this.initWC(f,e,n,r,l,s,o),n.replaceChild(f,t)}}initWC(e,t,n,l,r,s,o){const f=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var _;return(_=e.extendedContext)!=null&&_.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const _={clientPermissions:e.extendedContext.clientPermissions};return me.prepareSearchParamsForClient(_)},getClientPermissions:()=>{var _;return(_=e.extendedContext)!=null&&_.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(_,p)=>{o||window.Luigi.routing().addNodeParams(_,p)},getNodeParams:_=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return _?Gw(p):e.extendedContext.nodeParams},setAnchor:_=>{o||window.Luigi.routing().setAnchor(_)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node)};if(e.__postProcess){const _=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(f,g,_.origin+_.pathname)}else e.context=f,e.nodeParams=r.nodeParams,e.LuigiClient=g;const h=re.getConfigValue("settings.webcomponentCreationInterceptor");ne.isFunction(h)&&h(e,r.currentNode,r,s,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let f=Object.keys(s);for(let g=0;g<f.length&&(o=s[f[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=re.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,s){var _;const o=n.context,f=me.substituteViewUrl(e,{context:o}),g=((_=l==null?void 0:l.webcomponent)==null?void 0:_.tagName)||this.generateWCId(f),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(g)?this.attachWC(g,h,t,n,f,r,s):window.luigiWCFn?window.luigiWCFn(f,g,h,()=>{this.attachWC(g,h,t,n,f,r,s)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,f,()=>{this.attachWC(g,h,t,n,f,r,s)}):this.registerWCFromUrl(f,g).then(()=>{this.attachWC(g,h,t,n,f,r,s)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var s,o;if(e.viewUrl)try{const f=((s=n==null?void 0:n.webcomponent)==null?void 0:s.tagName)||this.generateWCId(e.viewUrl),g=document.createElement(f);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,f).then(()=>{this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)})}catch(f){r(f)}else l(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){const l=n.context;let r;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(r=new hr,r.viewUrl=me.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=s=>{var o=document.createElement("div");return s&&s.slot&&o.setAttribute("slot",s.slot),o}):e.compound.renderer&&(r=g_(e.compound.renderer)),r=r||new hr,new Promise(s=>{this.createCompoundContainerAsync(r,n,e).then(o=>{const f={};o.eventBus={listeners:f,onPublishEvent:(g,h,_)=>{const p=f[h+"."+g.type]||[];p.push(...f["*."+g.type]||[]),p.forEach(b=>{const v=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");v?v.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(g.detail):g.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((g,h)=>{const _={...l,...g.context},p=r.createCompoundItemContainer(g.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=g.id||"gen_"+h;this.renderWebComponent(g.viewUrl,p,{context:_},g,b,!0),Ff(f,g,b)}),t.appendChild(o),Ff(f,e.compound,"_root",o),s(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;re.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const cr=new Kw;var Yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dl={exports:{}};/**
|
|
27
27
|
* @license
|
|
28
28
|
* Lodash <https://lodash.com/>
|
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -51,7 +51,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
51
51
|
`)+ve+`return __p
|
|
52
52
|
}`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,z)});if(it.source=ve,fo(it))throw it;return it}function f0(a){return wt(a).toLowerCase()}function c0(a){return wt(a).toUpperCase()}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=ii(u),V=Wo(m,N),z=zo(m,N)+1;return ll(m,V,z).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Go(a)+1);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=zo(m,ii(u))+1;return ll(m,0,N).join("")}function g0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(yi,"");if(!a||!(u=Fn(u)))return a;var m=ii(a),N=Wo(m,ii(u));return ll(m,N).join("")}function _0(a,u){var d=B,m=G;if(Bt(u)){var N="separator"in u?u.separator:N;d="length"in u?nt(u.length):d,m="omission"in u?Fn(u.omission):m}a=wt(a);var V=a.length;if(Jl(a)){var z=ii(a);V=z.length}if(d>=V)return a;var j=d-Yl(m);if(j<1)return m;var X=z?ll(z,0,j).join(""):a.slice(0,j);if(N===t)return X+m;if(z&&(j+=X.length-j),co(N)){if(a.slice(j).search(N)){var ge,_e=X;for(N.global||(N=Ia(N.source,wt(qi.exec(N))+"g")),N.lastIndex=0;ge=N.exec(_e);)var ve=ge.index;X=X.slice(0,ve===t?j:ve)}}else if(a.indexOf(Fn(N),j)!=j){var Re=X.lastIndexOf(N);Re>-1&&(X=X.slice(0,Re))}return X+m}function p0(a){return a=wt(a),a&&Ml.test(a)?a.replace(Gn,K_):a}var m0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Eu("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?H_(a)?Y_(a):R_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),b0=Ai(function(a,u){return jn(u,function(d){d=pi(d),Ti(a,d,oo(a[d],a))}),a});function v0(a){var u=a==null?0:a.length,d=Je();return a=u?Ft(a,function(m){if(typeof m[1]!="function")throw new Jn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var N=-1;++N<u;){var V=a[N];if(Mn(V[0],this,m))return Mn(V[1],this,m)}})}function w0(a){return Kp(Qn(a,_))}function po(a){return function(){return a}}function S0(a,u){return a==null||a!==a?u:a}var k0=Vu(),C0=Vu(!0);function Tn(a){return a}function mo(a){return fu(typeof a=="function"?a:Qn(a,_))}function y0(a){return du(Qn(a,_))}function P0(a,u){return hu(a,Qn(u,_))}var N0=rt(function(a,u){return function(d){return Hr(d,a,u)}}),I0=rt(function(a,u){return function(d){return Hr(a,d,u)}});function bo(a,u,d){var m=tn(u),N=Es(u,m);d==null&&!(Bt(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Es(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,z=Ei(a);return jn(N,function(j){var X=u[j];a[j]=X,z&&(a.prototype[j]=function(){var ge=this.__chain__;if(V||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:X,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return X.apply(a,$i([this.value()],arguments))})}),a}function T0(){return Gt._===this&&(Gt._=ep),this}function vo(){}function L0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var A0=Qa(Ft),R0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(pi(a)):om(a)}function D0(a){return function(u){return a==null?t:Nl(a,u)}}var V0=Ou(),M0=Ou(!0);function wo(){return[]}function So(){return!1}function O0(){return{}}function F0(){return""}function U0(){return!0}function B0(a,u){if(a=nt(a),a<1||a>ee)return[];var d=le,m=hn(a,le);u=Je(u),a-=le;for(var N=ya(m,u);++d<a;)u(d);return N}function H0(a){return xe(a)?Ft(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function W0(a){var u=++$_;return wt(a)+u}var z0=Us(function(a,u){return a+u},0),q0=Za("ceil"),G0=Us(function(a,u){return a/u},1),K0=Za("floor");function j0(a){return a&&a.length?Rs(a,Tn,Ma):t}function J0(a,u){return a&&a.length?Rs(a,Je(u,2),Ma):t}function Y0(a){return Uo(a,Tn)}function Q0(a,u){return Uo(a,Je(u,2))}function Z0(a){return a&&a.length?Rs(a,Tn,Ba):t}function X0(a,u){return a&&a.length?Rs(a,Je(u,2),Ba):t}var $0=Us(function(a,u){return a*u},1),x0=Za("round"),ew=Us(function(a,u){return a-u},0);function tw(a){return a&&a.length?Ca(a,Tn):0}function nw(a,u){return a&&a.length?Ca(a,Je(u,2)):0}return D.after=yb,D.ary=ff,D.assign=cv,D.assignIn=yf,D.assignInWith=Xs,D.assignWith=dv,D.at=hv,D.before=cf,D.bind=oo,D.bindAll=b0,D.bindKey=df,D.castArray=Ob,D.chain=af,D.chunk=Km,D.compact=jm,D.concat=Jm,D.cond=v0,D.conforms=w0,D.constant=po,D.countBy=tb,D.create=gv,D.curry=hf,D.curryRight=gf,D.debounce=_f,D.defaults=_v,D.defaultsDeep=pv,D.defer=Pb,D.delay=Nb,D.difference=Ym,D.differenceBy=Qm,D.differenceWith=Zm,D.drop=Xm,D.dropRight=$m,D.dropRightWhile=xm,D.dropWhile=e1,D.fill=t1,D.filter=ib,D.flatMap=sb,D.flatMapDeep=ab,D.flatMapDepth=ob,D.flatten=nf,D.flattenDeep=n1,D.flattenDepth=i1,D.flip=Ib,D.flow=k0,D.flowRight=C0,D.fromPairs=l1,D.functions=Cv,D.functionsIn=yv,D.groupBy=ub,D.initial=s1,D.intersection=a1,D.intersectionBy=o1,D.intersectionWith=u1,D.invert=Nv,D.invertBy=Iv,D.invokeMap=cb,D.iteratee=mo,D.keyBy=db,D.keys=tn,D.keysIn=In,D.map=Ks,D.mapKeys=Lv,D.mapValues=Av,D.matches=y0,D.matchesProperty=P0,D.memoize=Js,D.merge=Rv,D.mergeWith=Pf,D.method=N0,D.methodOf=I0,D.mixin=bo,D.negate=Ys,D.nthArg=L0,D.omit=Ev,D.omitBy=Dv,D.once=Tb,D.orderBy=hb,D.over=A0,D.overArgs=Lb,D.overEvery=R0,D.overSome=E0,D.partial=uo,D.partialRight=pf,D.partition=gb,D.pick=Vv,D.pickBy=Nf,D.property=Df,D.propertyOf=D0,D.pull=h1,D.pullAll=rf,D.pullAllBy=g1,D.pullAllWith=_1,D.pullAt=p1,D.range=V0,D.rangeRight=M0,D.rearg=Ab,D.reject=mb,D.remove=m1,D.rest=Rb,D.reverse=so,D.sampleSize=vb,D.set=Ov,D.setWith=Fv,D.shuffle=wb,D.slice=b1,D.sortBy=Cb,D.sortedUniq=P1,D.sortedUniqBy=N1,D.split=s0,D.spread=Eb,D.tail=I1,D.take=T1,D.takeRight=L1,D.takeRightWhile=A1,D.takeWhile=R1,D.tap=j1,D.throttle=Db,D.thru=Gs,D.toArray=Sf,D.toPairs=If,D.toPairsIn=Tf,D.toPath=H0,D.toPlainObject=Cf,D.transform=Uv,D.unary=Vb,D.union=E1,D.unionBy=D1,D.unionWith=V1,D.uniq=M1,D.uniqBy=O1,D.uniqWith=F1,D.unset=Bv,D.unzip=ao,D.unzipWith=sf,D.update=Hv,D.updateWith=Wv,D.values=lr,D.valuesIn=zv,D.without=U1,D.words=Rf,D.wrap=Mb,D.xor=B1,D.xorBy=H1,D.xorWith=W1,D.zip=z1,D.zipObject=q1,D.zipObjectDeep=G1,D.zipWith=K1,D.entries=If,D.entriesIn=Tf,D.extend=yf,D.extendWith=Xs,bo(D,D),D.add=z0,D.attempt=Ef,D.camelCase=jv,D.capitalize=Lf,D.ceil=q0,D.clamp=qv,D.clone=Fb,D.cloneDeep=Bb,D.cloneDeepWith=Hb,D.cloneWith=Ub,D.conformsTo=Wb,D.deburr=Af,D.defaultTo=S0,D.divide=G0,D.endsWith=Jv,D.eq=ri,D.escape=Yv,D.escapeRegExp=Qv,D.every=nb,D.find=lb,D.findIndex=ef,D.findKey=mv,D.findLast=rb,D.findLastIndex=tf,D.findLastKey=bv,D.floor=K0,D.forEach=of,D.forEachRight=uf,D.forIn=vv,D.forInRight=wv,D.forOwn=Sv,D.forOwnRight=kv,D.get=ho,D.gt=zb,D.gte=qb,D.has=Pv,D.hasIn=go,D.head=lf,D.identity=Tn,D.includes=fb,D.indexOf=r1,D.inRange=Gv,D.invoke=Tv,D.isArguments=Ll,D.isArray=xe,D.isArrayBuffer=Gb,D.isArrayLike=Nn,D.isArrayLikeObject=Kt,D.isBoolean=Kb,D.isBuffer=rl,D.isDate=jb,D.isElement=Jb,D.isEmpty=Yb,D.isEqual=Qb,D.isEqualWith=Zb,D.isError=fo,D.isFinite=Xb,D.isFunction=Ei,D.isInteger=mf,D.isLength=Qs,D.isMap=bf,D.isMatch=$b,D.isMatchWith=xb,D.isNaN=ev,D.isNative=tv,D.isNil=iv,D.isNull=nv,D.isNumber=vf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=jr,D.isRegExp=co,D.isSafeInteger=lv,D.isSet=wf,D.isString=Zs,D.isSymbol=Un,D.isTypedArray=ir,D.isUndefined=rv,D.isWeakMap=sv,D.isWeakSet=av,D.join=f1,D.kebabCase=Zv,D.last=Xn,D.lastIndexOf=c1,D.lowerCase=Xv,D.lowerFirst=$v,D.lt=ov,D.lte=uv,D.max=j0,D.maxBy=J0,D.mean=Y0,D.meanBy=Q0,D.min=Z0,D.minBy=X0,D.stubArray=wo,D.stubFalse=So,D.stubObject=O0,D.stubString=F0,D.stubTrue=U0,D.multiply=$0,D.nth=d1,D.noConflict=T0,D.noop=vo,D.now=js,D.pad=xv,D.padEnd=e0,D.padStart=t0,D.parseInt=n0,D.random=Kv,D.reduce=_b,D.reduceRight=pb,D.repeat=i0,D.replace=l0,D.result=Mv,D.round=x0,D.runInContext=Q,D.sample=bb,D.size=Sb,D.snakeCase=r0,D.some=kb,D.sortedIndex=v1,D.sortedIndexBy=w1,D.sortedIndexOf=S1,D.sortedLastIndex=k1,D.sortedLastIndexBy=C1,D.sortedLastIndexOf=y1,D.startCase=a0,D.startsWith=o0,D.subtract=ew,D.sum=tw,D.sumBy=nw,D.template=u0,D.times=B0,D.toFinite=Di,D.toInteger=nt,D.toLength=kf,D.toLower=f0,D.toNumber=$n,D.toSafeInteger=fv,D.toString=wt,D.toUpper=c0,D.trim=d0,D.trimEnd=h0,D.trimStart=g0,D.truncate=_0,D.unescape=p0,D.uniqueId=W0,D.upperCase=m0,D.upperFirst=_o,D.each=of,D.eachRight=uf,D.first=lf,bo(D,function(){var a={};return gi(D,function(u,d){Pt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),jn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,le),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),jn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==W;ut.prototype[a]=function(N){var V=this.clone();return V.__iteratees__.push({iteratee:Je(N,3),type:d}),V.__filtered__=V.__filtered__||m,V}}),jn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),jn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(Tn)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Hr(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Ys(Je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(le)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=D[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(D.prototype[u]=function(){var z=this.__wrapped__,j=m?[1]:arguments,X=z instanceof ut,ge=j[0],_e=X||xe(z),ve=function(ot){var ft=N.apply(D,$i([ot],j));return m&&Re?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(X=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=X&&!Be;if(!V&&_e){z=it?z:new ut(this);var Qe=a.apply(z,j);return Qe.__actions__.push({func:Gs,args:[ve],thisArg:t}),new Yn(Qe,Re)}return Ye&&it?a.apply(this,j):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),jn(["pop","push","shift","sort","splice","unshift"],function(a){var u=ps[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var N=arguments;if(m&&!this.__chain__){var V=this.value();return u.apply(xe(V)?V:[],N)}return this[d](function(z){return u.apply(xe(z)?z:[],N)})}}),gi(ut.prototype,function(a,u){var d=D[u];if(d){var m=d.name+"";Pt.call($l,m)||($l[m]=[]),$l[m].push({name:u,func:d})}}),$l[Fs(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=pp,ut.prototype.reverse=mp,ut.prototype.value=bp,D.prototype.at=J1,D.prototype.chain=Y1,D.prototype.commit=Q1,D.prototype.next=Z1,D.prototype.plant=$1,D.prototype.reverse=x1,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=eb,D.prototype.first=D.prototype.head,Dr&&(D.prototype[Dr]=X1),D},Ql=Q_();Qi?((Qi.exports=Ql)._=Ql,Yi._=Ql):Gt._=Ql}).call(Yr)})(Dl,Dl.exports);class jw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=ne.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(e))return;const f=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,f&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:f?h.hash:e},"",f?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?ne.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ne.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ne.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ne.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ne.trimLeadingSlash(window.location.pathname)+window.location.search:ne.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){re.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:f}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!f&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const h=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const f=await me.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=ne.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${f}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(f&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ne.trimTrailingSlash(n.matchedPath)+"/"+f,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const f=t.get();this.checkInvalidateCache(f,o);const g=o&&o.length?ne.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Vt.extractDataFromPath(o),p=h.viewUrl||"";if(await this.handleViewUrlMisconfigured(h,p,f,g,t)||await this.handlePageNotFound(h,p,_,o,t,g,l))return;const b=re.getConfigBooleanValue("settings.hideNavigation"),v=me.parseParams(g.split("?")[1]),S=me.getNodeParams(v),y=me.findViewGroup(h),C=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(ne.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=Se.getParentNode(T,_.navigationPath)}let A=P,L=h.hideSideNav;if(L===void 0)for(;A;){if(A.tabNav&&A.hideSideNav===!0){L=!0;break}if(A.hideSideNav===!1){L=!1;break}A=Se.getParentNode(A,_.navigationPath)}const O=me.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:b,viewUrl:p,nodeParams:S,viewGroup:y,urlParamsRaw:C,currentNode:P,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:L||!1,isolateView:h.isolateView||!1,tabNav:I};t.set(Object.assign({},H,{previousNodeValues:f?{viewUrl:f.viewUrl,isolateView:f.isolateView,viewGroup:f.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(I?F.classList.add("iframeContainerTabNav"):F.classList.contains("iframeContainerTabNav")&&F.classList.remove("iframeContainerTabNav")),h.compound)Ln.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)Ln.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponent(t,h);else{const G=document.querySelector(".wcContainer");if(G&&(G.configChangedRequest=!1),F&&(F.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Ln.navigateIframe(l,t,n);else{const x=t.get(),$=await t.prepareInternalData(l);Le.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(x.context),nodeParams:JSON.stringify(x.nodeParams),pathParams:JSON.stringify(x.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify($),withoutSync:!0})}}const B=document.querySelector(".lui-tab-header");B&&B.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(f.currentNode,P)}catch(f){console.info("Could not handle route change",f)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);h_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,f=l[s];if(o!==f.pathSegment||!r)if(me.isDynamicNode(f)){if(!r||o!==me.getDynamicNodeValue(f,e.pathParams)){Wn.deleteNodesRecursively(f);break}}else r=!1}}else Wn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(n)){const r=Le.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Le.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Le.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Le.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ne.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Ww.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ne.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:cr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&cr.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Dl.exports.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>Se.checkVisibleForFeatureToggles(s))),cr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),s=l[r],o=new URL(location.href),f=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(f){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),f){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(f){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(f=>{o+=(o===""?"?":"&")+f+"="+s.get(f)}),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",f=>{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 f=history.length-1;o=!0,history.go(-f),window.Luigi.preventLoadingModalData=!0}else{const f=history.state.modalHistoryLength;history.go(-f)}}else history.pushState({},"",l.href)}}const et=new jw;class Jw{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Le.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ne.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),f=e.get().splitViewSettings;f.title||(f.title=o.label);const g=f.collapsed||!1;e.set({splitViewSettings:f,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){cr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(ne.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ne.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ne.computePxFromPercent(t.rightContentHeight,100-e))+ne.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ne.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,ne.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Le.getIframeContainer().style.marginBottom="",st.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Le.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Le.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Le.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Jw;class Yw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{xr.hideAppLoadingIndicator()},0)}}const Qw=new Yw;class Zw{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=re.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ai=new Zw;class Xw{constructor(){return this._userInfoStore=dr({}),this._loggedInStore=dr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(!!await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ne.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ne.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ne.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),ne.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),ne.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ne.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);ne.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ne.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=ne.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ne.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ne.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ne.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new Xw;class $w{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(ne.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Zr=new $w;class xw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ne.getUrlParameter("error"),t=ne.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new xw;class eS{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),s=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),f=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),h=new RegExp(`</${n[l]} [/]>`,"g"),_=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(f,`<${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,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((s,[o,f])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(f.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),links:s.links.concat({elemId:g,url:f.url?encodeURI(this.sanitizeHtml(f.url)):void 0,dismissKey:f.dismissKey?encodeURI(this.sanitizeHtml(f.dismissKey)):void 0})}},r):r}}const gr=new eS;class tS{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Dl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Dl.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(re.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ne=new tS;class nS{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const f=n.previousNodeValues.viewGroup,g=n.viewGroup;if(f&&g&&f===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return vw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ne.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(ne.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Le.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=re.getConfigValue("settings.customSandboxRules"),f=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Zr.hasDecorators()?Zr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,f&&(f.forEach((p,b)=>{f[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=f.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ne.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=re.getConfigValue("settings.iframeCreationInterceptor");if(ne.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Le.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Le.specialIframeTypes.filter(n=>Le.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ro.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Le=new nS;class iS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return ne.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Ro.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(vi.isAuthorizationEnabled()){const r=ol.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=re.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const f=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];ne.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),ne.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ne.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{f(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let f=[];for(const h of t){e.forEach(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&f.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(f.length){const h=f.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:re.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(ne.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Dl.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const f=s.request;this._fetch(f.url,{method:f.method,headers:f.headers,body:JSON.stringify(f.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Dl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Ln.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ne.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const Se=new iS;class lS{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await la.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 f=l.find(g=>g.pathSegment);return f&&f.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(f=>f.pathSegment&&(f.viewUrl||f.compound||f.externalLink&&f.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Le.getLocation(e.viewUrl)===Le.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(re.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=re.getConfigValue("routing.useHashRouting");An.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),An.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ne.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(f=>s&&s.indexOf(n+f)>=0):Object.keys(t).find(f=>s===n+f);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ne.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ne.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ne.replaceVars(e,t.pathParams,":",!1),e=ne.replaceVars(e,t.context,n),e=ne.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[gr.sanitizeParam(n[0])]=gr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Ro.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=re.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=re.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([f,g],h)=>{r+=`${h>0?"&"+o:""}${f}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ne.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:pt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new lS;class rS{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const on=new rS;class sS{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const An=new sS;class aS{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Le.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Le.sendMessageToIframe(s,r))}}const oS=new aS;class uS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ne.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Le.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const ur=new uS;class fS{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Bf=new fS;function Hf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Wf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,f,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),c(t,"class","fd-message-strip__text svelte-1jc9s1u"),c(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),c(r,"aria-label","Close"),c(r,"aria-controls","j2ALl423"),c(r,"data-testid","luigi-alert-dismiss"),c(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),c(e,"role","alert"),c(e,"id","j2ALl423"),c(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),f||(g=se(r,"click",h),f=!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")&&c(e,"class",o)},d(_){_&&R(e),f=!1,g()}}}function cS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wf(Hf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),c(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=Hf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Wf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&R(e),ct(n,l),i[5](null)}}}function dS(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),f=ht("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:S,closeAfter:y}=b.settings,C=gr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=s;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:C}};f(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class hS extends Rt{constructor(e){super(),At(this,e,dS,cS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,Si=13,wi=27,Xr=32,gS=36,_S=35;function zf(i){let e,t;return{c(){e=k("i"),c(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&c(e,"class",t)},d(n){n&&R(e)}}}function qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"data-testid","luigi-modal-confirm"),c(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),c(e,"class","fd-bar__element")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(t,"click",i[4]),r=!0)},p(o,f){f&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function pS(i){let e,t,n,l,r,s,o,f=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,P,I=i[0].buttonDismiss+"",T,A,L,O,H,F=i[0].type&&zf(i),B=i[0].buttonConfirm!==!1&&qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=Ne(f),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),B&&B.c(),y=K(),C=k("div"),P=k("button"),T=Ne(I),c(o,"class","fd-title fd-title--h5"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-bar fd-bar--header fd-message-box__header"),c(_,"class","fd-message-box__body svelte-1d21c96"),c(P,"data-testid","luigi-modal-dismiss"),c(P,"class",A="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),c(C,"class","fd-bar__element"),c(S,"class","fd-bar__right"),c(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),c(t,"class","fd-message-box__content svelte-1d21c96"),c(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),c(e,"data-testid","luigi-confirmation-modal")},m(G,x){E(G,e,x),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),B&&B.m(S,null),w(S,y),w(S,C),w(C,P),w(P,T),O||(H=[se(window,"keydown",i[1]),se(P,"click",i[5])],O=!0)},p(G,[x]){G[0].type?F?F.p(G,x):(F=zf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),x&1&&f!==(f=G[0].header+"")&&Te(g,f),x&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,x):(B=qf(G),B.c(),B.m(S,y)):B&&(B.d(1),B=null),x&1&&I!==(I=G[0].buttonDismiss+"")&&Te(T,I),x&1&&A!==(A="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&c(P,"class",A),x&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&c(e,"class",L)},i:Fe,o:Fe,d(G){G&&R(e),F&&F.d(),B&&B.d(),O=!1,Ze(H)}}}function mS(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};$r(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:gr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Le.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return Se.renderIconClassName(h)}function o(h){h.keyCode===wi&&n("modalDismiss")}const f=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,f,g]}class bS extends Rt{constructor(e){super(),At(this,e,mS,pS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function vS(i){let e,t,n;const l=i[5].default,r=$g(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),c(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),c(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)&&t_(r,l,s,s[4],n?e_(l,s[4],o,null):n_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&c(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&R(e),r&&r.d(s)}}}function wS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,f=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},b=v=>{if(!h)return!0;const y=[...Le.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",S=>{const y=Le.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(S)),r("stateChanged",{backdropActive:!0}),Le.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),f&&Le.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==f&&(f=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 es extends Rt{constructor(e){super(),At(this,e,wS,vS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:SS}=Fi;function Gf(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v;t=new es({props:{disable:i[2]}});let S=i[0].title&&Kf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),f=k("div"),g=k("button"),h=k("i"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(h,"class","sap-icon sap-icon--decline"),c(g,"class","fd-button fd-button--transparent fd-button--compact"),c(g,"aria-label","close"),c(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),c(f,"class","fd-bar__element"),c(o,"class","fd-bar__right"),c(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(y,C){E(y,e,C),We(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,f),w(f,g),w(g,h),p=!0,b||(v=se(g,"click",i[12]),b=!0)},p(y,C){const P={};C&4&&(P.disable=y[2]),t.$set(P),y[0].title?S?S.p(y,C):(S=Kf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&c(g,"data-testid",_)},i(y){p||(M(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&R(e),ze(t),S&&S.d(),b=!1,v()}}}function Kf(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Ne(t),c(e,"class","fd-title fd-title--h5"),c(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+"")&&Te(n,t)},d(l){l&&R(e)}}}function jf(i){let e;const t=i[11].default,n=$g(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&t_(n,t,l,l[10],e?e_(t,l[10],r,null):n_(l[10]),null)},i(l){e||(M(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function Jf(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function kS(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),P=i[5]&&jf(i),I=i[4]&&Jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),P&&P.c(),r=K(),s=k("div"),g=K(),I&&I.c(),c(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),c(s,"modal-container-index",f=i[5]?void 0:i[1]),c(l,"class","fd-dialog__body svelte-k9bftu"),c(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),c(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-1"),c(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),c(e,"style",b=i[6]?"z-index:1001":"")},m(T,A){E(T,e,A),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=se(SS,"keydown",i[3]),S=!0)},p(T,[A]){T[6]||T[5]&&T[0].header?C?(C.p(T,A),A&97&&M(C,1)):(C=Gf(T),C.c(),M(C,1),C.m(t,n)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),T[5]?P?(P.p(T,A),A&32&&M(P,1)):(P=jf(T),P.c(),M(P,1),P.m(l,r)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),(!v||A&32&&o!==(o="iframeModalCtn "+(T[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&c(s,"class",o),(!v||A&34&&f!==(f=T[5]?void 0:T[1]))&&c(s,"modal-container-index",f),T[4]?I||(I=Jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||A&35&&h!==(h="fd-dialog__content "+(T[5]?T[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+T[1])+" svelte-k9bftu"))&&c(t,"class",h),(!v||A&64&&_!==(_=T[6]?"modal-mf":"drawer-mf"))&&c(t,"data-testid",_),(!v||A&97&&p!==(p=ei(T[6]||T[5]&&T[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&c(e,"class",p),(!v||A&64&&b!==(b=T[6]?"z-index:1001":""))&&c(e,"style",b)},i(T){v||(M(C),M(P),v=!0)},o(T){q(C),q(P),v=!1},d(T){T&&R(e),C&&C.d(),P&&P.d(),I&&I.d(),S=!1,y()}}}function CS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:f}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,P=!1,I=!0,T,A=ht("store");const L=W=>Se.getNodeLabel(W),O=async W=>{const ue=W&&W.length?ne.getPathWithoutHash(W):"",ee=me.parseParams(ue.split("?")[1]);b=me.getNodeParams(ee);const Y=await Vt.extractDataFromPath(W);_=Y.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${f}"]`,t(0,r._liveLabel=!1,r),P?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(_),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=L(_),r),t(0,r._liveLabel=!0,r)),p=Y.pathData,t(8,s=!0)},H=async W=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),S=!0;else{const ue=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:ue,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(W)},F=async()=>{let W,ue;const ee=document.querySelector(".lui-modal-index-"+f),{size:Y,width:Pe,height:le}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ee.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(Ue)&&le&&le.match(Ue))W=le,ue=Pe;else switch(Y){case"fullscreen":W="100vh",ue="100vw",ee.classList.add("lui-modal-fullscreen");break;case"m":W="80%",ue="60%";break;case"s":W="80%",ue="40%";break;default:W="80%",ue="80%"}ee.setAttribute("style",`width:${ue};height:${W};`)},B=async(W,ue)=>{P?await G():await F(),W&&(W=me.substituteViewUrl(W,ue));const ee=await Le.createIframe(W,void 0,_,"modal",ue);return document.querySelector(T).appendChild(ee),ee};async function G(W){let ue="";const ee=document.getElementsByClassName("drawer"),Y=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ue="width:75%;":r.size==="m"?ue="width:50%;":r.size==="s"?ue="width:25%;":r.size==="xs"&&(ue="width:15.5%;")),r.backdrop?ee[0].setAttribute("style",ue):(Y[0].setAttribute("style",ue),ee[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const x=async W=>{W.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),W.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),W.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),W.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),W.data.msg==="luigi.navigation.updateModalSettings"&&((W.data.updatedModalSettings.title||W.data.updatedModalSettings.title==="")&&t(0,r.title=W.data.updatedModalSettings.title,r),W.data.updatedModalSettings.size&&(t(0,r.size=W.data.updatedModalSettings.size,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size},W.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(A,()=>{r._liveLabel&&_&&t(0,r.title=L(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+f),window.focus(),setTimeout(()=>{var W;!C&&!_.webcomponent&&((W=_.loadingIndicator)==null?void 0:W.enabled)!==!1&&t(4,y=!0)},250)}),$r(()=>{An.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+f)});function $(W){W.keyCode===wi&&h("close")}function pe(){let W;I?W=document.querySelector(`.lui-modal-mf.lui-modal-index-${f} .spinnerContainer`):W=document.querySelector(".drawer .spinnerContainer"),W&&W.classList.contains("fade-out")&&(W.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ie=()=>h("close",{activeDrawer:!1});return i.$$set=W=>{"settings"in W&&t(0,r=W.settings),"isDataPrepared"in W&&t(8,s=W.isDataPrepared),"nodepath"in W&&t(9,o=W.nodepath),"modalIndex"in W&&t(1,f=W.modalIndex),"disableBackdrop"in W&&t(2,g=W.disableBackdrop),"$$scope"in W&&t(10,l=W.$$scope)},[r,f,g,$,y,P,I,h,s,o,l,n,ie]}class __ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Yf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Xf(i){let e,t=i[1][1].settings&&$f(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=$f(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function $f(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=ac(Yf(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();c(t,"class","fd-container fd-form-layout-grid-container"),c(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 f=Yf(r,n,o);l[o]?l[o].p(f,s):(l[o]=ac(f),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&&R(e),ct(l,r)}}}function xf(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?PS:yS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function yS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-text"),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),c(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]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&c(e,"disabled",l)},d(r){r&&R(e)}}}function PS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),c(e,"class","fd-input fd-input--compact"),c(e,"type","text"),c(e,"aria-label","Image label"),c(e,"placeholder",t=i[5](i[29].placeholder)),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,f){E(o,e,f),Of(e,i[0][i[1][0]][i[28]]),l||(r=se(e,"input",s),l=!0)},p(o,f){i=o,f[0]&34&&t!==(t=i[5](i[29].placeholder))&&c(e,"placeholder",t),f[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),f[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&R(e),l=!1,r()}}}function ec(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",f,g,h,_,p,b,v,S=Array.isArray(i[29].options),y,C;function P(...A){return i[19](i[28],i[31],i[29],...A)}function I(){return i[20](i[29])}let T=S&&tc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),f=Ne(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=K(),v=k("div"),T&&T.c(),c(s,"class","fd-select__text-content"),c(s,"data-testid","lui-us-input"+i[31]),c(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),c(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),c(r,"tabindex","0"),c(r,"aria-expanded","false"),c(r,"aria-haspopup","listbox"),c(r,"aria-label","Language"),c(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),c(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),c(r,"id","fd-form-input-"+i[31]),c(l,"class","fd-select fd-select--compact"),c(n,"class","fd-popover__control"),c(n,"aria-expanded","false"),c(n,"aria-haspopup","true"),c(v,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),c(v,"aria-hidden","true"),c(t,"class","fd-popover"),c(e,"class","fd-form-item")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,f),w(r,h),w(r,_),w(t,b),w(t,v),T&&T.m(v,null),y||(C=[se(r,"keydown",P),se(n,"click",Ut(I))],y=!0)},p(A,L){i=A,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(f,o),L[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&c(s,"disabled",g),L[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&c(r,"data-testid",p),L[0]&2&&(S=Array.isArray(i[29].options)),S?T?T.p(i,L):(T=tc(i),T.c(),T.m(v,null)):T&&(T.d(1),T=null)},d(A){A&&R(e),T&&T.d(),y=!1,Ze(C)}}}function tc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=nc(Zf(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-list fd-list--compact fd-list--dropdown"),c(e,"id","fd-form-input-dropdown-"+i[31]),c(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=Zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=nc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function f(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ne(n),r=K(),c(t,"class","fd-list__title"),c(e,"role","option"),c(e,"class","fd-list__item"),c(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),c(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(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=[se(e,"click",f),se(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&R(e),s=!1,Ze(o)}}}function ic(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=lc(Qf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();c(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),c(t,"role","group"),c(t,"aria-label","Group label"),c(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let f=0;f<r.length;f+=1)r[f].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let f;for(f=0;f<l.length;f+=1){const g=Qf(s,l,f);r[f]?r[f].p(g,o):(r[f]=lc(g),r[f].c(),r[f].m(t,null))}for(;f<r.length;f+=1)r[f].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&c(t,"class",n)},d(s){s&&R(e),ct(r,s)}}}function lc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,f,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ne(t),l=K(),c(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":"")),c(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),c(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=f=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){E(p,e,b),w(e,n),w(e,l),g||(h=se(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&c(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"data-testid",o),b[0]&2&&f!==(f=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=f)},d(p){p&&R(e),g=!1,h()}}}function rc(i){let e,t,n,l,r,s,o,f,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',c(n,"class","fd-switch__input"),c(n,"type","checkbox"),c(n,"aria-labelledby","label1"),c(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),c(o,"class","fd-switch__slider"),c(t,"class","fd-switch__control"),c(e,"class","fd-switch fd-switch--compact"),c(e,"data-testid",f="lui-us-label-switch_"+i[28])},m(p,b){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=se(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&c(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&f!==(f="lui-us-label-switch_"+i[28])&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,h()}}}function sc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),c(e,"type","checkbox"),c(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=se(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&R(e),n=!1,l()}}}function ac(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,f,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&xf(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),C=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&sc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),s=Ne(":"),o=K(),f=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),P&&P.c(),b=K(),I&&I.c(),v=K(),c(n,"class","fd-form-label svelte-1tiapr5"),c(n,"for","fd-form-input-"+i[31]),c(t,"class","fd-col fd-col--4 svelte-1tiapr5"),c(f,"class","fd-col fd-col--8 svelte-1tiapr5"),c(e,"class","fd-row svelte-1tiapr5")},m(T,A){E(T,e,A),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,f),S&&S.m(f,null),w(f,g),y&&y.m(f,null),w(f,h),C&&C.m(f,null),w(f,p),P&&P.m(f,null),w(f,b),I&&I.m(f,null),w(e,v)},p(T,A){A[0]&34&&l!==(l=T[5](T[29].label)+"")&&Te(r,l),T[29].type==="string"?S?S.p(T,A):(S=xf(T),S.c(),S.m(f,g)):S&&(S.d(1),S=null),T[29].type==="enum"&&(T[29].style===void 0||T[29].style==="list")?y?y.p(T,A):(y=ec(T),y.c(),y.m(f,h)):y&&(y.d(1),y=null),A[0]&2&&(_=T[29].type==="enum"&&T[29].style==="button"&&Array.isArray(T[29].options)),_?C?C.p(T,A):(C=ic(T),C.c(),C.m(f,p)):C&&(C.d(1),C=null),T[29].type==="boolean"&&(!T[29].style||T[29].style==="switch")?P?P.p(T,A):(P=rc(T),P.c(),P.m(f,b)):P&&(P.d(1),P=null),T[29].type==="boolean"&&T[29].style==="checkbox"?I?I.p(T,A):(I=sc(T),I.c(),I.m(f,null)):I&&(I.d(1),I=null)},d(T){T&&R(e),S&&S.d(),y&&y.d(),C&&C.d(),P&&P.d(),I&&I.d()}}}function NS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Xf(i);return{c(){e=k("div"),l&&l.c(),c(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[se(window,"click",i[7]),se(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&R(e),l&&l.d(),t=!1,Ze(n)}}}function na(i,e,t){if(i&&t>0)return i.matches(e)?i:na(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let f=ht("getTranslation");ki(i,f,ie=>t(5,n=ie));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ie){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(W=>{S(W,!1)})}function v(ie,W){let ue=na(ie.target,".fd-popover__control",20),ee=ue.getAttribute("aria-expanded")==="true";(W||W===void 0)&&(b(),S(ue,!ee))}function S(ie,W){const ue=ie.querySelector(".lui-activate-dropdown"),ee=ie.parentNode.querySelector(".fd-popover__body"),Y=ie.parentNode.querySelector(".fd-select__control");ie.setAttribute("aria-expanded",W),ee.setAttribute("aria-hidden",!W),Y.setAttribute("aria-expanded",W),ue.setAttribute("aria-expanded",W),t(14,h=W)}function y(ie,W,ue){t(4,g=ue),t(0,s[l[0]][ie]=W.value||W,s)}function C(ie,W){document.querySelectorAll(".enum-buttons-container-"+ie+" button").forEach(ue=>{const ee=ue.getAttribute("id"),Y=`lui-us-enum_button_${ie}_option`;ee===Y?ue.classList.add("fd-button--emphasized"):ue.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ie]=W.value||W,s)}function P(ie,W){let ue;if(Array.isArray(W)){for(let ee=0;ee<W.length;ee++)if(ne.isObject(W[ee])){if(W[ee].value&&W[ee].value===ie){ue=W[ee].label,t(4,g=ee);break}}else{ue=ie,t(4,g=W.indexOf(ie));break}return n(ue)}}function I(ie){return n(ne.isObject(ie)?ie.label:ie)}function T(ie,W,ue){return ne.isObject(ue)?`${ie}_${W}_${ue.value}`:`${ie}_${W}_${ue}`}function A(ie,W,ue,ee){let Y=na(ie.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${ue}`).children;let le=-1;if([...Pe].forEach((Ue,Ie)=>{Ue.classList.contains("is-focus")&&(le=Ie)}),h){if(ie.keyCode===El&&ie.altKey&&(Y.click(),Y.focus()),ie.keyCode===Oi&&!ie.altKey){if(le===-1){le=0,Pe.item(le).classList.add("is-focus");return}le<ee.options.length-1&&(Pe.item(le).classList.remove("is-focus"),le+=1,Pe.item(le).classList.add("is-focus"))}if(ie.keyCode===El&&!ie.altKey){if(le===-1){le=le.length-1,Pe.item(le).classList.add("is-focus");return}le>0&&le<ee.options.length&&(Pe.item(le).classList.remove("is-focus"),le-=1,Pe.item(le).classList.add("is-focus"))}(ie.keyCode===Si||ie.keyCode===Xr)&&y(W,ee.options[le],le)}else Y.focus(),ie.keyCode===Oi&&ie.altKey&&Y.click(),ie.keyCode===Oi&&!ie.altKey&&le<ee.options.length-1&&y(W,ee.options[le+1],le+1),ie.keyCode===El&&!ie.altKey&&le>0&&le<ee.options.length&&y(W,ee.options[le-1],le-1)}function L(ie){if(h){let W=na(ie.target,".fd-popover",20);W.blur(),(ie.keyCode===Xr||ie.keyCode===Si)&&(ie.target.click(),b(),setTimeout(()=>{W.focus()},0))}}P();function O(ie){s[l[0]][ie]=this.value,t(0,s)}const H=(ie,W,ue,ee)=>A(ee,ie,W,ue),F=ie=>v(event,ie.isEditable),B=(ie,W,ue)=>y(ie,W,ue),G=ie=>L(ie),x=(ie,W)=>C(ie,W);function $(ie){s[l[0]][ie]=this.checked,t(0,s)}function pe(ie){s[l[0]][ie]=this.checked,t(0,s)}return i.$$set=ie=>{"userSettingGroup"in ie&&t(1,l=ie.userSettingGroup),"userSettingsGroupKey"in ie&&t(15,r=ie.userSettingsGroupKey),"storedUserSettingData"in ie&&t(0,s=ie.storedUserSettingData),"isComboOpen"in ie&&t(14,h=ie.isComboOpen)},[s,l,A,L,g,n,f,b,v,y,C,P,I,T,h,r,_,p,O,H,F,B,G,x,$,pe]}class TS extends Rt{constructor(e){super(),At(this,e,IS,NS,Tt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:oc}=Fi;function uc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function fc(i,e,t){const n=i.slice();return n[38]=e[t],n}function cc(i){let e,t,n;function l(o,f){return f[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?AS:LS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),c(n,"role","presentation"),c(n,"class","sap-icon")},m(o,f){s.m(o,f),E(o,t,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&R(t),o&&R(n)}}}function LS(i){let e,t,n,l,r,s=i[38][1].initials&&dc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=ke(),c(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),c(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,f){E(o,e,f),E(o,l,f),s&&s.m(o,f),E(o,r,f)},p(o,f){f[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&c(e,"class",t),f[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&c(e,"aria-label",n),f[0]&2&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,f):(s=dc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&R(e),o&&R(l),s&&s.d(o),o&&R(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),c(t,"role","presentation"),c(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-d5kn3x"),c(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-d5kn3x")&&c(t,"class",n)},d(l){l&&R(e)}}}function dc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ne(t),c(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),c(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:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&c(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&c(e,"aria-label",r)},d(s){s&&R(e)}}}function hc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,f,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&cc(i);function y(){return i[22](i[38])}function C(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),f=K(),g=k("div"),_=Ne(h),p=K(),c(r,"class","fd-list__title"),c(g,"class","fd-list__byline svelte-d5kn3x"),c(l,"class","fd-list__content"),c(t,"tabindex","-1"),c(t,"class","fd-list__link"),c(t,"href","#"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),c(e,"data-testid","us-navigation-item"),c(e,"tabindex","0")},m(P,I){E(P,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,f),w(l,g),w(g,_),w(e,p),b||(v=[se(e,"click",Mt(y)),se(e,"keydown",C)],b=!0)},p(P,I){i=P,i[38][1].icon?S?S.p(i,I):(S=cc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(_,h)},d(P){P&&R(e),S&&S.d(),b=!1,Ze(v)}}}function gc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hc(fc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=fc(l,t,s);n[s]?n[s].p(o,r):(n[s]=hc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function _c(i){let e,t,n,l;function r(f){i[24](f)}function s(f){i[25](f)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new TS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(f,g){We(e,f,g),l=!0},p(f,g){const h={};g[0]&1&&(h.storedUserSettingData=f[0]),g[0]&2048&&(h.userSettingGroup=f[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=f[9],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=f[8],bt(()=>n=!1)),e.$set(h)},i(f){l||(M(e.$$.fragment,f),l=!0)},o(f){q(e.$$.fragment,f),l=!1},d(f){ze(e,f)}}}function RS(i){let e,t,n,l,r,s,o,f=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,P=i[10](i[7])+"",I,T,A,L,O,H,F,B,G,x,$,pe=i[10](i[5])+"",ie,W,ue,ee,Y=i[10](i[6])+"",Pe,le,Ue,Ie,ce=Object.entries(i[1]),Z=[];for(let ae=0;ae<ce.length;ae+=1)Z[ae]=gc(uc(i,ce,ae));let he=i[11]&&_c(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ne(f),h=K(),_=k("div"),p=k("ul");for(let ae=0;ae<Z.length;ae+=1)Z[ae].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=Ne(P),T=K(),A=k("div"),L=k("div"),he&&he.c(),O=K(),H=k("div"),F=K(),B=k("footer"),G=k("div"),x=k("div"),$=k("button"),ie=Ne(pe),W=K(),ue=k("div"),ee=k("button"),Pe=Ne(Y),c(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(o,"id","dialog-title-2"),c(s,"class","fd-side-nav__group-header svelte-d5kn3x"),c(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),c(p,"role","list"),c(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),c(r,"class","fd-side-nav svelte-d5kn3x"),c(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),c(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),c(C,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),c(L,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),c(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),c(A,"class","lui-usersettings-content svelte-d5kn3x"),c(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),c($,"data-testid","lui-us-saveBtn"),c($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),c(x,"class","fd-bar__element"),c(ee,"data-testid","lui-us-dismissBtn"),c(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),c(ue,"class","fd-bar__element"),c(G,"class","fd-bar__right"),c(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),c(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-2"),c(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),c(e,"tabindex","0")},m(ae,Ve){E(ae,e,Ve),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let He=0;He<Z.length;He+=1)Z[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,T),w(n,A),w(A,L),he&&he.m(L,null),w(A,O),w(A,H),w(t,F),w(t,B),w(B,G),w(G,x),w(x,$),w($,ie),w(G,W),w(G,ue),w(ue,ee),w(ee,Pe),le=!0,Ue||(Ie=[se(oc,"resize",i[20]),se(oc,"keydown",i[3]),se(S,"click",i[17]),se($,"click",i[26]),se(ee,"click",i[27])],Ue=!0)},p(ae,Ve){if((!le||Ve[0]&1040)&&f!==(f=ae[10](ae[4])+"")&&Te(g,f),Ve[0]&803846){ce=Object.entries(ae[1]);let He;for(He=0;He<ce.length;He+=1){const be=uc(ae,ce,He);Z[He]?Z[He].p(be,Ve):(Z[He]=gc(be),Z[He].c(),Z[He].m(p,null))}for(;He<Z.length;He+=1)Z[He].d(1);Z.length=ce.length}(!le||Ve[0]&1152)&&P!==(P=ae[10](ae[7])+"")&&Te(I,P),ae[11]?he?(he.p(ae,Ve),Ve[0]&2048&&M(he,1)):(he=_c(ae),he.c(),M(he,1),he.m(L,null)):he&&(Ce(),q(he,1,1,()=>{he=null}),ye()),(!le||Ve[0]&1056)&&pe!==(pe=ae[10](ae[5])+"")&&Te(ie,pe),(!le||Ve[0]&1088)&&Y!==(Y=ae[10](ae[6])+"")&&Te(Pe,Y)},i(ae){le||(M(he),le=!0)},o(ae){q(he),le=!1},d(ae){ae&&R(e),ct(Z,ae),he&&he.d(),Ue=!1,Ze(Ie)}}}function pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function DS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function p_(i,e,t){if(i&&t>0)return i.matches(e)?i:p_(i.parentNode,e,t-1)}function mc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function VS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:f={}}=e,g={},h=ht("getTranslation");ki(i,h,le=>t(10,n=le));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},S,y,C,P;$r(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const le=re.getConfigValue("userSettings.userSettingsDialog"),Ue=le||re.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Ie=>{const ce=Le.getValidMessageSource(Ie);if(!ce||Ie.data.msg!=="custom")return;ce._ready=!0;const Z=ra.convertCustomMessageInternalToUser(Ie.data),he="luigi.updateUserSettings";if(Z.id===he){const ae=ur.findActiveCustomUserSettingsIframe(Ie.source);if(ae){let Ve=ae.getAttribute("userSettingsGroup");t(0,f[Ve]=Z.data,f)}}Z.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&H()}),re.readUserSettings().then(Ie=>{g=JSON.parse(JSON.stringify(Ie)),Ie===null?t(0,f=pc(JSON.parse(JSON.stringify(r)),{})):t(0,f=pc(JSON.parse(JSON.stringify(r)),Ie)),T([S,r[0][S]])}).catch(Ie=>{Ie&&Ie.message&&console.error(Ie.message),Ie&&Ie.closeDialog&&s("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(le){if(t(7,y=le.title?le.title:""),!!ne.isObject(le.settings))for(let Ue in le.settings){let Ie=le.settings[Ue];Ie.type==="enum"?Array.isArray(Ie.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Ie.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function T(le,Ue){t(11,o=le);let Ie=le[0],ce=le[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),p_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()),ce.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(Ie))ur.getUserSettingsIframesInDom().forEach(Z=>{Z.userSettingsGroup===Ie&&(Z.style.display="block")});else{const Z=Zr.hasDecorators()?Zr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=ur.createIframe(Z,Ie);v[Ie]=he}ES()}else DS()}const A=le=>{t(0,f=le.detail.userSettings)};function L(){re.storeUserSettings(f,g).then(()=>{s("close")}).catch(le=>{le&&le.message&&console.error(le.message),le&&le.closeDialog&&s("close")})}function O(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()}function F(le){return Se.renderIconClassName(le)}function B(le){return Se.isOpenUIiconName(le.icon)}let G;const x=()=>{const le=window.innerWidth>=$t.desktopMinWidth&&G<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&G>=$t.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),le&&(document.querySelector(".confirm-button").style.display="block"),!G){let Ie=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Ie.style.display="none":Ie.style.display="block"}G=window.innerWidth};function $(le,Ue){let Ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(le.keyCode===Si||le.keyCode===Xr)&&Ie[Ue].click(),le.keyCode===_S&&Ie[Object.keys(r).length-1].focus(),le.keyCode===gS&&Ie[0].focus()}function pe(le){le.keyCode===wi&&C?P():le.keyCode===wi&&!C&&s("close")}const ie=le=>T(le,event),W=(le,Ue)=>$(Ue,[le]);function ue(le){P=le,t(9,P)}function ee(le){C=le,t(8,C)}const Y=()=>L(),Pe=()=>s("close");return i.$$set=le=>{"schemaObj"in le&&t(21,l=le.schemaObj),"userSettingGroups"in le&&t(1,r=le.userSettingGroups),"storedUserSettings"in le&&t(0,f=le.storedUserSettings)},[f,r,$,pe,_,p,b,y,C,P,n,o,s,h,T,A,L,H,F,B,x,l,ie,W,ue,ee,Y,Pe]}class MS extends Rt{constructor(e){super(),At(this,e,VS,RS,Tt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:OS}=Fi;function FS(i){let e;return{c(){e=k("div"),c(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&R(e)}}}function US(i){let e,t,n,l,r=i[1].title+"",s,o,f;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=Ne(r),c(t,"class","lui-collapse-btn svelte-je1rr"),c(e,"id","splitViewDraggerCollapsed"),c(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),c(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||(f=se(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&R(e),g&&R(n),g&&R(l),o=!1,f()}}}function bc(i){let e,t,n,l,r,s,o,f;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',c(e,"id","splitViewDraggerBackdrop"),c(l,"class","splitViewSeparator"),c(s,"class","lui-collapse-btn svelte-je1rr"),c(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||(f=[se(s,"click",Ut(Mt(i[3]))),se(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&R(e),g&&R(t),g&&R(n),o=!1,Ze(f)}}}function BS(i){let e,t,n,l,r,s,o,f,g,h;t=new es({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=ke(),c(l,"class","lui-split-view svelte-je1rr"),c(e,"id","splitViewContainer"),c(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){E(S,e,y),We(t,e,null),w(e,n),w(e,l),b.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),f=!0,g||(h=se(OS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.m(l,null))),(!f||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&c(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=bc(S),v.c(),v.m(o.parentNode,o))},i(S){f||(M(t.$$.fragment,S),f=!0)},o(S){q(t.$$.fragment,S),f=!1},d(S){S&&R(e),ze(t),b.d(),S&&R(s),v&&v.d(S),S&&R(o),g=!1,h()}}}function HS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,f,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:P}=e,I=!1,T=ht("getUnsavedChangesModalPromise");const A=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:f,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(ue=>{ue==="splitViewSettings"?t(1,y=W.splitViewSettings):ue==="lastNode"?r=W.lastNode:ue==="pathData"?s=W.pathData:ue==="nodeParams"?o=W.nodeParams:ue==="collapsed"?t(0,S=W.collapsed):ue==="isDataPrepared"?t(8,C=W.isDataPrepared):ue==="currentNode"?f=W.currentNode:ue==="splitViewIframe"?h=W.splitViewIframe:ue==="splitViewIframeData"?_=W.splitViewIframeData:ue==="splitViewWC"?p=W.splitViewWC:ue==="splitViewWCData"&&(b=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),L=async()=>{C?S||st.createAndSetView(A()):await st.prepareSplitViewData(A(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=st.getDragger()},H=()=>{const W=st.getDraggerBackdrop();W&&(W.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function F(W){if(!!Le.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&st.close(A()),W.data.msg==="luigi.navigation.splitview.collapse"&&B(),W.data.msg==="luigi.navigation.splitview.expand"&&G(),W.data.msg==="luigi.navigation.splitview.resize")){const ue=parseInt(W.data.data);if(st.calculateAndSetSplitViewValues(ue,st.internalValues),S)return;H(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{x(),g=F.bind(this),An.addEventListener("message",g)}),fa(()=>{L(),I!==C&&!S&&(I=C,H())}),$r(()=>{window.removeEventListener("message",g)});function B(){st.collapse(A())}async function G(){await st.expand(A()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const W=ne.getShellbarHeight();st.internalValues.innerHeight=ne.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-W,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=W+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||H()}function $(W){let ue=W.y,ee={};const Y=function(ce){const Z=ue-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||Z===0)return;const ae=he-Z,Ve=st.internalValues.innerHeight-ae,He=st.enforceTresholds(ae,Ve);ae<He.top||Ve<He.bottom||(ee=He,ue=ce.y,l.draggable.style.top=`${ee.top}px`)},Pe=function(){if(le(),!ee.top||!ee.bottom||ee.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=ee.top,st.splitViewValues=ee,H(),st.sendMessageToClients("resize.ok",ee.percent)},le=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},Ue=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};O(),le(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=W=>{let ue=st.getDraggerButton();ue&&(ue.style.display=W?"block":"none"),ue=st.getCollapsedDraggerButton(),ue&&(ue.style.display=W?"block":"none")},ie=W=>{pe(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,P=W.disableBackdrop)},[S,y,P,B,G,x,$,ie,C,v]}class WS extends Rt{constructor(e){super(),At(this,e,HS,BS,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function vc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:qS,catch:zS,value:1};return ia(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ia(t,n)||i_(n,i,r)},d(l){l&&R(e),n.block.d(l),n.token=null,n=null}}}function zS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function wc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),c(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]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&c(e,"aria-label",l)},d(r){r&&R(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function KS(i){let e,t=i[0]&&i[0].badgeCounter&&vc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Rt{constructor(e){super(),At(this,e,jS,KS,Tt,{node:0})}}function Sc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(t,"class","fd-object-status__text"),c(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+"")&&Te(l,n)},d(r){r&&R(e)}}}function JS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function YS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Ui extends Rt{constructor(e){super(),At(this,e,YS,JS,Tt,{node:0})}}const{window:xs}=Fi;function kc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",f,g,h,_=i[12].icon&&Tc(i),p=i[12].showUpLink&&Lc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),f=Ne(o),g=K(),p&&p.c(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(l,"class","fd-nested-list__link svelte-1q8o60z"),c(l,"title",h=i[32](i[12],i[24](i[12].label))),c(n,"class","fd-nested-list__item svelte-1q8o60z"),c(t,"class","fd-nested-list svelte-1q8o60z"),c(e,"class","lui-nav-title svelte-1q8o60z")},m(b,v){E(b,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,f),w(l,g),p&&p.m(l,null)},p(b,v){b[12].icon?_?_.p(b,v):(_=Tc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Te(f,o),b[12].showUpLink?p?p.p(b,v):(p=Lc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&c(l,"title",h)},d(b){b&&R(e),_&&_.d(),p&&p.d()}}}function Tc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?ZS:QS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function QS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[12].icon)||c(t,"src",n),c(t,"alt",l=i[12].altText?i[12].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&c(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function ZS(i){let e,t;return{c(){e=k("i"),c(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Lc(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1q8o60z"),c(e,"role","presentation"),c(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=se(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&c(e,"title",t)},d(r){r&&R(e),n=!1,l()}}}function Ac(i){let e,t,n,l,r=i[13],s=[];for(let f=0;f<r.length;f+=1)s[f]=ed(kc(i,r,f));const o=f=>q(s[f],1,1,()=>{s[f]=null});return{c(){e=k("div"),t=k("ul");for(let f=0;f<s.length;f+=1)s[f].c();c(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"),c(e,"class","lui-fd-side-nav-wrapper svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(f,g){if(g[0]&2106714048|g[1]&227){r=f[13];let h;for(h=0;h<r.length;h+=1){const _=kc(f,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=ed(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(Ce(),h=r.length;h<s.length;h+=1)o(h);ye()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(f[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"))&&c(t,"class",n)},i(f){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(f){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(f){f&&R(e),ct(s,f)}}}function XS(i){let e,t,n,l;const r=[e2,xS],s=[];function o(f,g){return f[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(f,g){s[e].m(f,g),E(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(f,g):(t=s[e]=r[e](f),t.c()),M(t,1),t.m(n.parentNode,n))},i(f){l||(M(t),l=!0)},o(f){q(t),l=!1},d(f){s[e].d(f),f&&R(n)}}}function $S(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=xc(Nc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let f;for(f=0;f<n.length;f+=1){const g=Nc(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=xc(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function xS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,f,g,h=i[10]&&i[68].metaInfo.icon&&Rc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Fc(Cc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=Ne(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();f=ke(),c(e,"class","fd-nested-list__group-header lui-category svelte-1q8o60z"),c(e,"title",r=i[32](i[68],i[24](i[67]))),c(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),c(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,f,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Te(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&c(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&c(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Cc(v,_,y);p[y]?(p[y].p(C,S),M(p[y],1)):(p[y]=Fc(C),p[y].c(),M(p[y],1),p[y].m(f.parentNode,f))}for(Ce(),y=_.length;y<p.length;y+=1)b(y);ye()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)M(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&R(e),h&&h.d(),v&&R(o),ct(p,v),v&&R(f)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",f,g,h,_,p,b,v,S,y,C,P,I,T,A,L,O,H,F,B,G,x,$;function pe(Z,he){return he[0]&8192&&(l=null),l==null&&(l=!!Z[28](Z[68].metaInfo.icon)),l?o2:a2}let ie=pe(i,[-1,-1,-1]),W=ie(i);function ue(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...Z){return i[48](i[68],...Z)}let Pe=i[68],le=[];for(let Z=0;Z<Pe.length;Z+=1)le[Z]=zc(Pc(i,Pe,Z));const Ue=Z=>q(le[Z],1,1,()=>{le[Z]=null});let Ie=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&qc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),f=Ne(o),v=K(),S=k("button"),y=k("i"),A=K(),L=k("ul");for(let Z=0;Z<le.length;Z+=1)le[Z].c();H=K(),Ie&&Ie.c(),F=K(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(n,"title",g=i[32](i[68],i[24](i[67]))),c(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"),c(n,"tabindex",_=i[6]?"-1":"0"),c(n,"role",p=i[23]?void 0:"button"),c(n,"id","collapsible_listnode_"+i[70]),c(n,"aria-haspopup","true"),c(n,"aria-expanded",b=kn(i[68],i[9])),c(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(y,"role","presentation"),c(S,"class","fd-button fd-nested-list__button svelte-1q8o60z"),c(S,"href","#"),c(S,"tabindex","0"),c(S,"aria-label","Expand categories"),c(S,"aria-haspopup","true"),c(S,"aria-expanded",P=kn(i[68],i[9])),c(S,"title",I=i[38](i[68],i[9])),c(t,"class","fd-nested-list__content has-child svelte-1q8o60z"),c(t,"tabindex",T=i[6]?"0":"-1"),c(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1q8o60z"),c(L,"aria-hidden",O=!kn(i[68],i[9])),c(e,"class","fd-nested-list__item lui-collapsible-item"),c(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(Z,he){E(Z,e,he),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,f),w(t,v),w(t,S),w(S,y),w(e,A),w(e,L);for(let ae=0;ae<le.length;ae+=1)le[ae].m(L,null);w(e,H),Ie&&Ie.m(e,null),w(e,F),G=!0,x||($=[se(n,"click",Mt(ue)),se(S,"click",Mt(ee)),se(t,"keypress",Y),se(e,"click",Ut(ce))],x=!0)},p(Z,he){if(i=Z,ie===(ie=pe(i,he))&&W?W.p(i,he):(W.d(1),W=ie(i),W&&(W.c(),W.m(n,r))),(!G||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Te(f,o),(!G||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&c(n,"title",g),(!G||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"))&&c(n,"class",h),(!G||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&c(n,"tabindex",_),(!G||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&c(n,"role",p),(!G||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&c(n,"aria-expanded",b),(!G||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(y,"class",C),(!G||he[0]&8704&&P!==(P=kn(i[68],i[9])))&&c(S,"aria-expanded",P),(!G||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&c(S,"title",I),(!G||he[0]&64&&T!==(T=i[6]?"0":"-1"))&&c(t,"tabindex",T),he[0]&1686151296|he[1]&66){Pe=i[68];let ae;for(ae=0;ae<Pe.length;ae+=1){const Ve=Pc(i,Pe,ae);le[ae]?(le[ae].p(Ve,he),M(le[ae],1)):(le[ae]=zc(Ve),le[ae].c(),M(le[ae],1),le[ae].m(L,null))}for(Ce(),ae=Pe.length;ae<le.length;ae+=1)Ue(ae);ye()}(!G||he[0]&8704&&O!==(O=!kn(i[68],i[9])))&&c(L,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Ie?(Ie.p(i,he),he[0]&8448&&M(Ie,1)):(Ie=qc(i),Ie.c(),M(Ie,1),Ie.m(e,F)):Ie&&(Ce(),q(Ie,1,1,()=>{Ie=null}),ye()),(!G||he[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&c(e,"data-testid",B),(!G||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(Z){if(!G){for(let he=0;he<Pe.length;he+=1)M(le[he]);M(Ie),G=!0}},o(Z){le=le.filter(Boolean);for(let he=0;he<le.length;he+=1)q(le[he]);q(Ie),G=!1},d(Z){Z&&R(e),W.d(),ct(le,Z),Ie&&Ie.d(),x=!1,Ze($)}}}function Rc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function t2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function n2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Ec(i){let e,t,n=i[71].label&&Dc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Dc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I;function T(x,$){return x[71].icon?l2:i2}let A=T(i),L=A(i),O=i[71].statusBadge&&Vc(i),H=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function B(...x){return i[54](i[71],...x)}function G(...x){return i[55](i[71],...x)}return{c(){e=k("li"),t=k("a"),L.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),H&&H.c(),h=K(),F&&F.c(),S=K(),c(l,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"tabindex","0"),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(e,"class","fd-nested-list__item"),c(e,"title",y=i[32](i[71],i[26](i[71]))),c(e,"aria-labelledby","category_list_level1_"+i[70])},m(x,$){E(x,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),O&&O.m(l,null),w(t,g),H&&H.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,P||(I=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(x,$){i=x,A===(A=T(i))&&L?L.p(i,$):(L.d(1),L=A(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r),i[71].statusBadge?O?(O.p(i,$),$[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye()),(!C||$[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",f),i[71].externalLink&&i[71].externalLink.url?H||(H=Mc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||$[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&c(e,"title",y)},i(x){C||(M(O),M(F),C=!0)},o(x){q(O),q(F),C=!1},d(x){x&&R(e),L.d(),O&&O.d(),H&&H.d(),F&&F.d(),P=!1,Ze(I)}}}function i2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=Ne(r),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,f){E(o,e,f),E(o,n,f),E(o,l,f),w(l,s)},p(o,f){f[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t),f[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Te(s,r)},d(o){o&&R(e),o&&R(n),o&&R(l)}}}function l2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?s2:r2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function r2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function s2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z")},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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Fc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Ec(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function a2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function o2(i){let e,t;return{c(){e=k("i"),c(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-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Bc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&Hc(),A=i[71].badgeCounter&&Wc(i);function L(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"tabindex","0"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item"),c(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=Hc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Wc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function Hc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Uc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,f,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Yc(yc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ne(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();c(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1q8o60z"),c(o,"class","fd-nested-list fd-nested-list--text-only svelte-1q8o60z"),c(t,"class","lui-flyout-sublist__wrapper svelte-1q8o60z"),c(e,"class","lui-flyout-sublist svelte-1q8o60z")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);f=!0},p(p,b){if((!f||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Te(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=yc(p,g,v);h[v]?(h[v].p(S,b),M(h[v],1)):(h[v]=Yc(S),h[v].c(),M(h[v],1),h[v].m(o,null))}for(Ce(),v=g.length;v<h.length;v+=1)_(v);ye()}},i(p){if(!f){for(let b=0;b<g.length;b+=1)M(h[b]);f=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);f=!1},d(p){p&&R(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Kc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&jc(),A=i[71].badgeCounter&&Jc(i);function L(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item")},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=jc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Jc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function jc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Gc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Qc(i){let e,t,n=i[71].label&&Zc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Zc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(x,$){return x[71].icon?f2:u2}let L=A(i),O=L(i);f=new Ui({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&Xc(),F=i[71].badgeCounter&&$c(i);function B(...x){return i[44](i[71],...x)}function G(...x){return i[45](i[71],...x)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),qe(f.$$.fragment),h=K(),H&&H.c(),_=K(),F&&F.c(),C=K(),c(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",p=i[30](i[71])),c(t,"title",b=i[32](i[71],i[26](i[71]))),c(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",S=i[23]?void 0:"button"),c(t,"data-testid",y=i[29](i[71])),c(e,"class","fd-nested-list__item")},m(x,$){E(x,e,$),w(e,t),O.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),We(f,l,null),w(t,h),H&&H.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),P=!0,I||(T=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(x,$){i=x,L===(L=A(i))&&O?O.p(i,$):(O.d(1),O=L(i),O&&(O.c(),O.m(t,n))),(!P||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r);const pe={};$[0]&8192&&(pe.node=i[71]),f.$set(pe),(!P||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=Xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!P||$[0]&8192&&p!==(p=i[30](i[71])))&&c(t,"href",p),(!P||$[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&c(t,"title",b),(!P||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",v),(!P||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&c(t,"role",S),(!P||$[0]&8192&&y!==(y=i[29](i[71])))&&c(t,"data-testid",y)},i(x){P||(M(f.$$.fragment,x),M(F),P=!0)},o(x){q(f.$$.fragment,x),q(F),P=!1},d(x){x&&R(e),O.d(),ze(f),H&&H.d(),F&&F.d(),I=!1,Ze(T)}}}function u2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),c(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":""))&&c(e,"class",t)},d(n){n&&R(e)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function c2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function d2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Xc(i){let e;return{c(){e=k("i"),c(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),c(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function xc(i){let e,t,n=!i[71].hideFromNav&&Qc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Qc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ed(i){let e,t,n,l,r,s;const o=[$S,XS],f=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(p2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=f[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&f[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye()),~n?(l=f[n],l?l.p(h,_):(l=f[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&f[n].d(h),h&&R(r)}}}function td(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&nd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ne(l),s=K(),o&&o.c(),c(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1q8o60z"),c(n,"data-testid","lui-side-nav__footer--text"),c(t,"class","lui-side-nav__footer svelte-1q8o60z"),c(t,"data-testid","lui-side-nav__footer"),c(e,"class","fd-side-nav__utility svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(f,g){g[0]&4&&l!==(l=(f[2]?f[2]:"")+"")&&Te(r,l),f[3]?o?o.p(f,g):(o=nd(f),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(f){f&&R(e),o&&o.d()}}}function nd(i){let e;function t(r,s){return r[4]=="button"?g2:h2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function h2(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[se(e,"click",i[57]),se(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(e,"class",t),s[0]&2048&&c(e,"title",r[11])},d(r){r&&R(e),n=!1,Ze(l)}}}function g2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),c(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0"),c(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1q8o60z")},m(s,o){E(s,e,o),w(e,t),l||(r=se(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(t,"class",n),o[0]&2048&&c(e,"title",s[11])},d(s){s&&R(e),l=!1,r()}}}function _2(i){let e,t,n,l,r,s,o,f,g,h,_=i[12]&&Ic(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Ac(i),b=(i[2]||i[3])&&td(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),c(l,"class","fd-side-nav__main-navigation svelte-1q8o60z"),c(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"),c(n,"data-testid","semiCollapsibleLeftNav"),c(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z")},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),b&&b.m(n,null),f=!0,g||(h=[se(xs,"resize",i[17]),se(xs,"click",i[21]),se(xs,"blur",i[21]),se(xs,"keydown",i[33]),se(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Ic(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>0&&(v[5][0].topNav===!1||v[5].length>1)?p?(p.p(v,S),S[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(Ce(),q(p,1,1,()=>{p=null}),ye()),v[2]||v[3]?b?b.p(v,S):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!f||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"))&&c(n,"class",s),(!f||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z"))&&c(e,"class",o)},i(v){f||(M(p),f=!0)},o(v){q(p),f=!1},d(v){v&&R(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const p2=i=>!i.hideFromNav&&i.label;function m2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:f,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:T,selectedCategory:C,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:O}),set:async te=>{te&&(Object.getOwnPropertyNames(te).forEach(async Ae=>{if(Ae==="pathData")t(5,p=te.pathData);else if(Ae==="context")H=te.context;else if(Ae==="children")t(0,s=te.children);else if(Ae==="selectedNode")t(7,y=te.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,I=te.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,L=void 0);let at=te.navParent;if(t(41,O=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,L={});let ln=Nt(Se.stripNode(at),Se.stripNode(Ct),H);ln instanceof Promise?ln.then(En=>{t(12,L=En)}):t(12,L=ln)}else if(Nt==="auto")t(12,L={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,L={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,L=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);Se.fetchNodeTitleData(Ct,Gn).then(ni=>{t(12,L={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...Nt,label:at.label,icon:at.icon})})})}else t(12,L=await Ue(Nt,Ct))}}}),t(40,T=Se.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:f}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=Se.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:A}=e,{navHeader:L}=e,{navParentNode:O}=e,H,F,B,G=ht("store"),x=ht("getTranslation");ki(i,x,te=>t(24,n=te));let $=!1;const pe=te=>Se.getNodeLabel(te),ie=async()=>{const te=l.get(),Ae=await Vt.getLeftNavData({...te},te);!Ae||(l.set(Ae),F=p,window.LEFTNAVDATA=Ae.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),on.doOnStoreChange(G,()=>{t(2,f=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(G,()=>{ie()},["navigation.viewgroupdata"]);let te=mi.initial();t(6,S=te.isSemiCollapsed),t(39,g=te.semiCollapsible),mi.onValueChanged(Ae=>{t(6,S=Ae.isSemiCollapsed)}),An.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),zn(()=>{(!F||F!=p)&&ie(),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function ue(te){return Se.renderIconClassName(te)}function ee(te){return Se.isOpenUIiconName(te)}function Y(te){return te.testId?te.testId:Se.prepareForTests(te.pathSegment,te.label)}function Pe(te){return me.getNodeHref(te,b)}function le(te,Ae){return te&&te.testId?te.testId:Se.prepareForTests(Ae||te.label)}async function Ue(te,Ae){const at=me.mapPathToNode(et.getCurrentPath(),Ae),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(te,Ct)}function Ie(te,Ae){return Se.generateTooltipText(te,Ae)}function ce(te){r("handleClick",{node:te})}function Z(te,Ae){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?at=te.metaInfo.label:at=te.category&&te.category.label||te.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Ae)}}function he(te){const Ae=te.closest(".fd-nested-list__item"),at=Ae.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Ae.getElementsByClassName("lui-flyout-sublist")[0],En=te.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ni=Ct-at-Ae.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function ae(){if(g){let te=mi.onResize(C);t(6,S=te.isSemiCollapsed),t(8,C=te.selectedCategory)}}function Ve(te){if(te.code==="ArrowRight"){const at=Le.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(te){let Ae=O?O.parent:void 0;for(;Ae;){if(Ae.pathSegment&&Ae.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ae});return}Ae=Ae.parent}console.warn('Could not resolve "up"-node, redirecting to root'),h_.navigate("/")}function be(te,Ae){mi.getCollapsed()||t(9,P=Se.storeExpandedState(te.metaInfo.categoryUid,Ae,T))}function Ge(){t(8,C=mi.closePopupMenu(C))}function St(te){te&&te.code==="Escape"&&Ge()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(te){const Ae=te.code;(Ae==="Enter"||Ae==="Space")&&Wt()}function Yt(te,Ae){(te.code==="Enter"||te==="Space")&&Z(Ae,te.currentTarget)}function pn(te,Ae){te.keyCode===Si&&Se.handleNavAnchorClickedWithoutMetaKey(te)&&ce(Ae)}function un(){if(!Se.getBurgerTooltipConfig())return;const[te,Ae]=Se.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");te&&Ae&&at&&t(11,A=document.body.classList.contains("semiCollapsed")?te:Ae)}function mn(te,Ae){return kn(te,Ae)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const Bi=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},bn=(te,Ae)=>pn(Ae,te),Qt=te=>be(te,!kn(te,P)),Rn=te=>be(te,!kn(te,P)),Et=(te,Ae)=>Yt(Ae,te),cl=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},xt=(te,Ae)=>pn(Ae,te),fn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},qn=(te,Ae)=>pn(Ae,te),qt=te=>Z(te,event.currentTarget),Cn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},fi=(te,Ae)=>pn(Ae,te),ci=te=>Wt(),cn=te=>Wt(),Ci=te=>kt(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,f=te.footerText),"semiCollapsible"in te&&t(39,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"semiCollapsibleButtonStyle"in te&&t(4,_=te.semiCollapsibleButtonStyle),"pathData"in te&&t(5,p=te.pathData),"pathParams"in te&&t(42,b=te.pathParams),"virtualGroupPrefix"in te&&t(14,v=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(6,S=te.isSemiCollapsed),"selectedNode"in te&&t(7,y=te.selectedNode),"selectedCategory"in te&&t(8,C=te.selectedCategory),"expandedCategories"in te&&t(9,P=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(10,I=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(40,T=te.sideNavAccordionMode),"burgerTooltip"in te&&t(11,A=te.burgerTooltip),"navHeader"in te&&t(12,L=te.navHeader),"navParentNode"in te&&t(41,O=te.navParentNode),"sortedChildrenEntries"in te&&t(13,W=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Ae,at)=>Ae[1].metaInfo.order-at[1].metaInfo.order),t(13,W=te)}},[s,o,f,h,_,p,S,y,C,P,I,A,L,W,v,ce,Z,ae,Ve,He,be,Ge,B,$,n,x,pe,ue,ee,Y,Pe,le,Ie,St,Wt,kt,Yt,pn,mn,g,T,O,b,he,Bi,bn,Qt,Rn,Et,cl,xt,fn,qn,qt,Cn,fi,ci,cn,Ci]}class b2 extends Rt{constructor(e){super(),At(this,e,m2,_2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const v2=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),m_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},w2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),m_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((f,g)=>(g.link||"").localeCompare(f.link||"")).some(f=>{let g=!0;return ne.trimTrailingSlash(ne.trimLeadingSlash(f.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!w2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=f),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=xr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function id(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ld(i,e,t){const n=i.slice();return n[43]=e[t],n}function S2(i){let e,t,n,l,r=i[1]&&rd(i);return{c(){e=k("span"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function k2(i){let e,t,n,l,r=i[1]&&sd(i);return{c(){e=k("a"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"href","/"),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=sd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function rd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[28](null)}}}function sd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[26](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[26](null)}}}function ad(i){let e,t;function n(o,f){return o[3]?C2:y2}let l=n(i),r=l(i),s=i[10]&&md(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,f):(s=md(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}function C2(i){let e,t,n,l,r,s,o,f,g,h;function _(y,C){return y[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),S=i[7]&&i[7].length>0&&gd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),c(t,"class","fd-popover__control"),c(s,"class","fd-menu__list fd-menu__list--no-shadow"),c(r,"class","fd-menu"),c(l,"class","fd-popover__body fd-popover__body--left"),c(l,"aria-hidden",f=!i[11].appSwitcherPopover),c(l,"id","appSwitcherPopover"),c(e,"class","fd-popover")},m(y,C){E(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=se(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=hd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=gd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&f!==(f=!y[11].appSwitcherPopover)&&c(l,"aria-hidden",f)},d(y){y&&R(e),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function y2(i){let e;function t(r,s){return r[12]?A2:L2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function P2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("button"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Ut(i[34])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function N2(i){let e,t,n,l=i[7]&&i[7].length===1&&od(i),r=i[7]&&i[7].length>1&&ud(i),s=i[7].length>1&&!i[5]&&dd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=ke()},m(o,f){l&&l.m(o,f),E(o,e,f),r&&r.m(o,f),E(o,t,f),s&&s.m(o,f),E(o,n,f)},p(o,f){o[7]&&o[7].length===1?l?l.p(o,f):(l=od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,f):(r=ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,f):(s=dd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&R(e),r&&r.d(o),o&&R(t),s&&s.d(o),o&&R(n)}}}function od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"href",r=i[22](i[7][0])),c(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)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&c(e,"href",r)},d(s){s&&R(e)}}}function ud(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=cd(ld(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ld(l,t,s);n[s]?n[s].p(o,r):(n[s]=cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function fd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),o=K(),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href",f=i[22](i[43])),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(p,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=se(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),b[0]&128&&f!==(f=p[22](p[43]))&&c(e,"href",f),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",g)},d(p){p&&R(e),h=!1,_()}}}function cd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&fd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=fd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href","/"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Mt(i[33])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function hd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,f;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),c(n,"class","fd-menu__title"),c(t,"href","/"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"data-testid",s=i[20](i[6])),c(e,"class","fd-menu__item")},m(g,h){E(g,e,h),w(e,t),w(t,n),w(n,r),o||(f=se(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&c(t,"data-testid",s)},d(g){g&&R(e),o=!1,f()}}}function gd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=pd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=pd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function I2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,f,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),f=K(),c(n,"class","fd-menu__title"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),c(t,"data-testid",o=i[20](i[43])),c(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,f),g||(h=se(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&c(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&c(t,"data-testid",o)},d(p){p&&R(e),g=!1,h()}}}function T2(i){let e,t=i[16]&&_d(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=_d(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new _r(!1),l=K(),t.a=l,c(e,"class","fd-menu__item"),c(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&&R(e)}}}function pd(i){let e,t,n;function l(o,f){if(f[0]&256&&(e=null),f[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return T2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return I2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,f){s&&s.m(o,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&R(n)}}}function L2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[31]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function A2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title"),c(e,"href","/")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[30]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function md(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function R2(i){let e,t;function n(o,f){return o[12]?k2:S2}let l=n(i),r=l(i),s=i[2]&&ad(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,f):(s=ad(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:f}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,T,A,L=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");ki(i,O,be=>t(17,n=be));let H=ht("store");const F={closeDropDown:()=>{ie("appSwitcherPopover")}},B=()=>({get:()=>({pathData:P,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:f,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ge=>{Ge==="pathData"?t(24,P=be.pathData):Ge==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ge==="itemRenderer"?t(8,v=be.itemRenderer):Ge==="pathParams"?t(9,S=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ge==="hasApps"?t(3,f=be.hasApps):Ge==="hasLogo"&&t(1,s=be.hasLogo)})},store:H});Jt(()=>{v2(B())}),zn(()=>{(!A||A!=P)&&(m_(B()),A=P)});function G(be,Ge,St){return setTimeout(()=>{Ge&&v(be,Ge.children[St],F)}),""}function x(be){L().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){L().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ie("appSwitcherPopover")}function ie(be){l("toggleDropdownState",{name:be})}function W(be){return be.testId?be.testId:Se.prepareForTests(be.title||be)}function ue(be,Ge){if(be.link){const St=me.applyPathParams(be.link,Ge);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ee(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")};function le(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>x("/"),Ie=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")},ce=()=>x("/"),Z=()=>ie("appSwitcherPopover"),he=()=>ie("appSwitcherPopover"),ae=()=>ie("appSwitcherPopover"),Ve=(be,Ge)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(be.link)};function He(be){$e[be?"unshift":"push"](()=>{T=be,t(16,T)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,f=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,f,h,_,p,b,v,S,y,g,I,x,$,ie,T,n,O,G,W,ue,ee,C,P,pe,Y,Pe,le,Ue,Ie,ce,Z,he,ae,Ve,He]}class V2 extends Rt{constructor(e){super(),At(this,e,D2,R2,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function bd(i,e,t){const n=i.slice();return n[34]=e[t],n}function vd(i){let e,t,n,l,r,s,o=i[0]&&wd(i),f=(i[10]||i[11])&&Id(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),f&&f.c(),c(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),c(s,"class","fd-bar__element"),c(r,"class","fd-bar__right"),c(l,"class","fd-bar fd-bar--footer"),c(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),f&&f.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=wd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?f?f.p(g,h):(f=Id(g),f.c(),f.m(s,null)):f&&(f.d(1),f=null)},d(g){g&&R(e),o&&o.d(),g&&R(t),g&&R(n),f&&f.d()}}}function wd(i){let e,t,n,l,r,s,o;function f(y,C){return y[7].picture?O2:M2}let g=f(i),h=g(i),_=i[7].name&&Sd(i),p=i[7].description&&kd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=yd(bd(i,b,y));let S=i[12]&&Pd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),c(e,"class","fd-user-menu__header"),c(n,"class","fd-user-menu__subheader"),c(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),c(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 P=0;P<v.length;P+=1)v[P].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=f(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Sd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=kd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let P;for(P=0;P<b.length;P+=1){const I=bd(y,b,P);v[P]?v[P].p(I,C):(v[P]=yd(I),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=Pd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&R(e),h.d(),y&&R(t),y&&R(n),_&&_.d(),p&&p.d(),y&&R(r),y&&R(s),ct(v,y),S&&S.d()}}}function M2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(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:"")+"")&&Te(n,t)},d(l){l&&R(e)}}}function O2(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(e,"aria-label","Avatar"),c(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&R(e)}}}function Sd(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-name svelte-x3xwcc"),c(e,"id","username"),c(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+"")&&Te(n,t)},d(l){l&&R(e)}}}function kd(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-role svelte-x3xwcc"),c(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+"")&&Te(n,t)},d(l){l&&R(e)}}}function Cd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?U2:F2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function F2(i){let e,t;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),c(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&oi(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&c(e,"alt",t)},d(n){n&&R(e)}}}function U2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function yd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Cd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"tabindex","-1"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Cd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Pd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g=i[9].settings.icon&&Nd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"title","User Settings"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"role","listitem"),c(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||(f=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Nd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r)},d(h){h&&R(e),g&&g.d(),o=!1,Ze(f)}}}function Nd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?H2:B2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function B2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function H2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Id(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Td(i),l=i[10]&&!i[8]&&Ld(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Td(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ld(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Td(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"class","fd-button fd-button--transparent fd-button--compact"),c(t,"tabindex","0"),c(t,"data-testid","logout-btn"),c(e,"class","fd-bar__element"),c(e,"data-testid",r=i[18](i[9].logout))},m(f,g){E(f,e,g),w(e,t),w(t,l),s||(o=se(t,"click",i[4]),s=!0)},p(f,g){g[0]&8704&&n!==(n=f[13](f[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=f[18](f[9].logout))&&c(e,"data-testid",r)},d(f){f&&R(e),s=!1,o()}}}function Ld(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),n=k("button"),n.textContent="Login",c(e,"class","fd-button fd-button--transparent fd-button--compact"),c(e,"tabindex","0"),c(e,"data-testid","login-btn"),c(n,"class","fd-button fd-button--transparent fd-button--compact"),c(n,"tabindex","0"),c(n,"data-testid","login-btn")},m(s,o){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[se(e,"click",i[15]),se(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&R(e),s&&R(t),s&&R(n),l=!1,Ze(r)}}}function W2(i){let e,t=!i[1]&&vd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(le)){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(le))},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class q2 extends Rt{constructor(e){super(),At(this,e,z2,W2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ad(i,e,t){const n=i.slice();return n[34]=e[t],n}function Rd(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,f=[];for(let _=0;_<o.length;_+=1)f[_]=Vd(Ad(i,o,_));let g=i[12]&&Md(i),h=(i[10]||i[11])&&Fd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<f.length;_+=1)f[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),c(t,"class","fd-menu__list fd-menu__list--no-shadow"),c(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 b=0;b<f.length;b+=1)f[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ad(_,o,b);f[b]?f[b].p(v,p):(f[b]=Vd(v),f[b].c(),f[b].m(t,l))}for(;b<f.length;b+=1)f[b].d(1);f.length=o.length}_[12]?g?g.p(_,p):(g=Md(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Fd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&R(e),s&&s.d(),ct(f,_),g&&g.d(),h&&h.d()}}}function Ed(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ne(n),c(t,"aria-label","Username"),c(t,"id","username"),c(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),c(t,"data-testid","luigi-topnav-profile-username"),c(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)+"")&&Te(l,n)},d(r){r&&R(e)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?K2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function G2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[34].icon)||c(e,"src",t),c(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[34].icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function K2(i){let e,t;return{c(){e=k("span"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Dd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Dd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Md(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g,h=i[9].settings.icon&&Od(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"tabindex","0"),c(t,"title","User Settings"),c(t,"class","fd-menu__link"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"class","fd-menu__item lui-anchor-node"),c(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),f||(g=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],f=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,Ze(g)}}}function Od(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?J2:j2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function j2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function J2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Fd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ud(i),l=i[10]&&!i[8]&&Hd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ud(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Hd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Ud(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,f,g,h=i[9].logout.icon&&Bd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"title","Logout"),c(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),c(t,"data-testid","logout-btn"),c(e,"class","fd-menu__item svelte-1lwfozx"),c(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),f||(g=se(e,"click",i[4]),f=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,g()}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Q2:Y2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function Y2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].logout.icon)||c(e,"src",t),c(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].logout.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Q2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Hd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',c(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=se(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&R(e),t=!1,n()}}}function Z2(i){let e,t=!i[1]&&Rd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Rd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function X2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(le));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class b_ extends Rt{constructor(e){super(),At(this,e,X2,Z2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Wd(i,e,t){const n=i.slice();return n[12]=e[t],n}function zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kd(Wd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let f;for(f=0;f<n.length;f+=1){const g=Wd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Kd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function qd(i){let e,t,n,l,r,s,o,f,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,S,y,C,P;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?x2:$2}let T=I(i,-1),A=T(i);r=new ti({props:{node:i[12]}});let L=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),A.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),f=k("div"),h=Ne(g),_=K(),L&&L.c(),b=K(),c(t,"class","lui-product-switch__icon svelte-503htr"),c(f,"class","fd-product-switch__title svelte-503htr"),c(o,"class","fd-product-switch__text svelte-503htr"),c(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),c(e,"data-e2e","mobile-topnav-item"),c(e,"data-testid",S=i[2](i[12]))},m(H,F){E(H,e,F),w(e,t),A.m(t,null),w(t,l),We(r,t,null),w(e,s),w(e,o),w(o,f),w(f,h),w(o,_),L&&L.m(o,null),w(e,b),y=!0,C||(P=se(e,"click",O),C=!0)},p(H,F){i=H,T===(T=I(i,F))&&A?A.p(i,F):(A.d(1),A=T(i),A&&(A.c(),A.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Te(h,g),F&34&&(p=i[5](i[12])),p?L?L.p(i,F):(L=Gd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&c(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&c(e,"data-testid",S)},i(H){y||(M(r.$$.fragment,H),y=!0)},o(H){q(r.$$.fragment,H),y=!1},d(H){H&&R(e),A.d(),ze(r),L&&L.d(),C=!1,P()}}}function $2(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[12].icon)||c(e,"src",t),c(e,"alt",n=i[12].altText?i[12].altText:""),c(e,"class","svelte-503htr")},m(l,r){E(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[12].icon)&&c(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function x2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Gd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Kd(i){let e,t,n=i[12].label&&qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ek(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T=i[1]&&zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ne(i[0]),f=K(),g=k("div"),h=k("div"),_=k("ul"),T&&T.c(),p=K(),b=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",c(s,"class","fd-title fd-title--h5"),c(s,"id","dialog-title-4"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-dialog__header fd-bar fd-bar--header"),c(_,"class","fd-product-switch__list"),c(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),c(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),c(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(y,"data-testid","mobile-topnav-close"),c(S,"class","fd-bar__element"),c(v,"class","fd-bar__right"),c(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),c(t,"class","fd-dialog__content fd-dialog__content--mobile"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-4"),c(e,"class","fd-dialog fd-dialog--active")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,f),w(t,g),w(g,h),w(h,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,v),w(v,S),w(S,y),C=!0,P||(I=[se(y,"click",i[9]),se(e,"click",Ut(tk))],P=!0)},p(A,[L]){(!C||L&1)&&Te(o,A[0]),A[1]?T?(T.p(A,L),L&2&&M(T,1)):(T=zd(A),T.c(),M(T,1),T.m(_,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye())},i(A){C||(M(T),C=!0)},o(A){q(T),C=!1},d(A){A&&R(e),T&&T.d(),P=!1,Ze(I)}}}const tk=()=>{};function nk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:f}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Se.renderIconClassName(S)}function p(S){n("listClick",S)}function b(S){Al.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,f=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,f,g,h,p,_,b,v]}class v_ extends Rt{constructor(e){super(),At(this,e,nk,ek,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:ik}=Fi;function jd(i,e,t){const n=i.slice();return n[6]=e[t],n}function Jd(i){let e,t,n,l=i[0]&&Yd(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),c(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),c(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&&M(l,1)):(l=Yd(r),l.c(),M(l,1),l.m(t,null)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&R(e),l&&l.d()}}}function Yd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let f;for(f=0;f<n.length;f+=1){const g=jd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Zd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function Qd(i){let e,t,n,l,r,s,o,f,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(A,L){return L&1&&(l=null),l==null&&(l=!!(A[6].icon&&A[9](A[6]))),l?rk:lk}let P=C(i,-1),I=P(i);s=new ti({props:{node:i[6]}});function T(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),f=k("span"),h=Ne(g),p=K(),c(n,"class","fd-top-nav__icon svelte-1gqx0dl"),c(f,"class","fd-menu__title"),c(t,"href",_=i[7]?i[13](i[6]):void 0),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",b=i[12](i[6]))},m(A,L){E(A,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,f),w(f,h),w(e,p),v=!0,S||(y=[se(t,"click",i[14]),se(e,"click",T)],S=!0)},p(A,L){i=A,P===(P=C(i,L))&&I?I.p(i,L):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};L&1&&(O.node=i[6]),s.$set(O),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Te(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&c(t,"href",_),(!v||L&1&&b!==(b=i[12](i[6])))&&c(e,"data-testid",b)},i(A){v||(M(s.$$.fragment,A),v=!0)},o(A){q(s.$$.fragment,A),v=!1},d(A){A&&R(e),I.d(),ze(s),S=!1,Ze(y)}}}function lk(i){let e,t,n;return{c(){e=k("img"),c(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[6].icon)||c(e,"src",t),c(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[6].icon)&&c(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function rk(i){let e,t;return{c(){e=k("i"),c(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))&&c(e,"class",t)},d(n){n&&R(e)}}}function Zd(i){let e,t,n=i[6].label&&Qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Xd(i){let e,t;return e=new v_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function sk(i){let e,t,n,l,r,s=!i[1]&&Jd(i),o=i[1]&&Xd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=ke()},m(f,g){s&&s.m(f,g),E(f,e,g),o&&o.m(f,g),E(f,t,g),n=!0,l||(r=se(ik,"resize",aa),l=!0)},p(f,[g]){f[1]?s&&(Ce(),q(s,1,1,()=>{s=null}),ye()):s?(s.p(f,g),g&2&&M(s,1)):(s=Jd(f),s.c(),M(s,1),s.m(e.parentNode,e)),f[1]?o?(o.p(f,g),g&2&&M(o,1)):(o=Xd(f),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(Ce(),q(o,1,1,()=>{o=null}),ye())},i(f){n||(M(s),M(o),n=!0)},o(f){q(s),q(o),n=!1},d(f){s&&s.d(f),f&&R(e),o&&o.d(f),f&&R(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,f=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{aa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(O){f().then(()=>{if(O.openNodeInModal){const H=me.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else et.handleRouteClick(O,p())},()=>{}),S()}function v(O){b(O.detail)}function S(){n("close")}function y(O){return Se.isOpenUIiconName(O.icon)}function C(O){return Se.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function T(O){return me.getNodeHref(O,o)}const A=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>b(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(6,s=O.node)},[r,l,b,v,S,aa,s,h,_,y,C,P,I,T,A,L]}class w_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return aa}}const _n={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?ne.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=ne.normalizePath(i),t=ne.normalizePath(t),!!_n.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=_n.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await _n.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ih(eh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(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=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,f,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),c(n,"class","fd-menu__title"),c(t,"href",s=i[8](i[21])),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[9](i[21]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",Mt(gk)),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&c(t,"href",s),b&513&&f!==(f=i[9](i[21]))&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,Ze(h)}}}function ih(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&nh(i);return{c(){n&&n.c(),t=ke()},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=nh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function lh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function kS(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),P=i[5]&&jf(i),I=i[4]&&Jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),P&&P.c(),r=K(),s=k("div"),g=K(),I&&I.c(),c(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),c(s,"modal-container-index",f=i[5]?void 0:i[1]),c(l,"class","fd-dialog__body svelte-k9bftu"),c(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),c(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-1"),c(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),c(e,"style",b=i[6]?"z-index:1001":"")},m(T,A){E(T,e,A),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=se(SS,"keydown",i[3]),S=!0)},p(T,[A]){T[6]||T[5]&&T[0].header?C?(C.p(T,A),A&97&&M(C,1)):(C=Gf(T),C.c(),M(C,1),C.m(t,n)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),T[5]?P?(P.p(T,A),A&32&&M(P,1)):(P=jf(T),P.c(),M(P,1),P.m(l,r)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),(!v||A&32&&o!==(o="iframeModalCtn "+(T[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&c(s,"class",o),(!v||A&34&&f!==(f=T[5]?void 0:T[1]))&&c(s,"modal-container-index",f),T[4]?I||(I=Jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||A&35&&h!==(h="fd-dialog__content "+(T[5]?T[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+T[1])+" svelte-k9bftu"))&&c(t,"class",h),(!v||A&64&&_!==(_=T[6]?"modal-mf":"drawer-mf"))&&c(t,"data-testid",_),(!v||A&97&&p!==(p=ei(T[6]||T[5]&&T[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&c(e,"class",p),(!v||A&64&&b!==(b=T[6]?"z-index:1001":""))&&c(e,"style",b)},i(T){v||(M(C),M(P),v=!0)},o(T){q(C),q(P),v=!1},d(T){T&&R(e),C&&C.d(),P&&P.d(),I&&I.d(),S=!1,y()}}}function CS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:f}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,P=!1,I=!0,T,A=ht("store");const L=W=>Se.getNodeLabel(W),O=async W=>{const ue=W&&W.length?ne.getPathWithoutHash(W):"",ee=me.parseParams(ue.split("?")[1]);b=me.getNodeParams(ee);const Y=await Vt.extractDataFromPath(W);_=Y.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${f}"]`,t(0,r._liveLabel=!1,r),P?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(_),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=L(_),r),t(0,r._liveLabel=!0,r)),p=Y.pathData,t(8,s=!0)},H=async W=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),S=!0;else{const ue=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:ue,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(W)},F=async()=>{let W,ue;const ee=document.querySelector(".lui-modal-index-"+f),{size:Y,width:Pe,height:le}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ee.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(Ue)&&le&&le.match(Ue))W=le,ue=Pe;else switch(Y){case"fullscreen":W="100vh",ue="100vw",ee.classList.add("lui-modal-fullscreen");break;case"m":W="80%",ue="60%";break;case"s":W="80%",ue="40%";break;default:W="80%",ue="80%"}ee.setAttribute("style",`width:${ue};height:${W};`)},B=async(W,ue)=>{P?await G():await F(),W&&(W=me.substituteViewUrl(W,ue));const ee=await Le.createIframe(W,void 0,_,"modal",ue);return document.querySelector(T).appendChild(ee),ee};async function G(W){let ue="";const ee=document.getElementsByClassName("drawer"),Y=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ue="width:75%;":r.size==="m"?ue="width:50%;":r.size==="s"?ue="width:25%;":r.size==="xs"&&(ue="width:15.5%;")),r.backdrop?ee[0].setAttribute("style",ue):(Y[0].setAttribute("style",ue),ee[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const x=async W=>{W.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),W.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),W.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),W.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),W.data.msg==="luigi.navigation.updateModalSettings"&&((W.data.updatedModalSettings.title||W.data.updatedModalSettings.title==="")&&t(0,r.title=W.data.updatedModalSettings.title,r),W.data.updatedModalSettings.size?(t(0,r.size=W.data.updatedModalSettings.size,r),await F()):W.data.updatedModalSettings.width&&W.data.updatedModalSettings.height&&(t(0,r.height=W.data.updatedModalSettings.height,r),t(0,r.width=W.data.updatedModalSettings.width,r)),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},W.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(A,()=>{r._liveLabel&&_&&t(0,r.title=L(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+f),window.focus(),setTimeout(()=>{var W;!C&&!_.webcomponent&&((W=_.loadingIndicator)==null?void 0:W.enabled)!==!1&&t(4,y=!0)},250)}),$r(()=>{An.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+f)});function $(W){W.keyCode===wi&&h("close")}function pe(){let W;I?W=document.querySelector(`.lui-modal-mf.lui-modal-index-${f} .spinnerContainer`):W=document.querySelector(".drawer .spinnerContainer"),W&&W.classList.contains("fade-out")&&(W.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ie=()=>h("close",{activeDrawer:!1});return i.$$set=W=>{"settings"in W&&t(0,r=W.settings),"isDataPrepared"in W&&t(8,s=W.isDataPrepared),"nodepath"in W&&t(9,o=W.nodepath),"modalIndex"in W&&t(1,f=W.modalIndex),"disableBackdrop"in W&&t(2,g=W.disableBackdrop),"$$scope"in W&&t(10,l=W.$$scope)},[r,f,g,$,y,P,I,h,s,o,l,n,ie]}class __ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Yf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Xf(i){let e,t=i[1][1].settings&&$f(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=$f(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function $f(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=ac(Yf(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();c(t,"class","fd-container fd-form-layout-grid-container"),c(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 f=Yf(r,n,o);l[o]?l[o].p(f,s):(l[o]=ac(f),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&&R(e),ct(l,r)}}}function xf(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?PS:yS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function yS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-text"),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),c(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]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&c(e,"disabled",l)},d(r){r&&R(e)}}}function PS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),c(e,"class","fd-input fd-input--compact"),c(e,"type","text"),c(e,"aria-label","Image label"),c(e,"placeholder",t=i[5](i[29].placeholder)),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,f){E(o,e,f),Of(e,i[0][i[1][0]][i[28]]),l||(r=se(e,"input",s),l=!0)},p(o,f){i=o,f[0]&34&&t!==(t=i[5](i[29].placeholder))&&c(e,"placeholder",t),f[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),f[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&R(e),l=!1,r()}}}function ec(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",f,g,h,_,p,b,v,S=Array.isArray(i[29].options),y,C;function P(...A){return i[19](i[28],i[31],i[29],...A)}function I(){return i[20](i[29])}let T=S&&tc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),f=Ne(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=K(),v=k("div"),T&&T.c(),c(s,"class","fd-select__text-content"),c(s,"data-testid","lui-us-input"+i[31]),c(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),c(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),c(r,"tabindex","0"),c(r,"aria-expanded","false"),c(r,"aria-haspopup","listbox"),c(r,"aria-label","Language"),c(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),c(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),c(r,"id","fd-form-input-"+i[31]),c(l,"class","fd-select fd-select--compact"),c(n,"class","fd-popover__control"),c(n,"aria-expanded","false"),c(n,"aria-haspopup","true"),c(v,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),c(v,"aria-hidden","true"),c(t,"class","fd-popover"),c(e,"class","fd-form-item")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,f),w(r,h),w(r,_),w(t,b),w(t,v),T&&T.m(v,null),y||(C=[se(r,"keydown",P),se(n,"click",Ut(I))],y=!0)},p(A,L){i=A,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(f,o),L[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&c(s,"disabled",g),L[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&c(r,"data-testid",p),L[0]&2&&(S=Array.isArray(i[29].options)),S?T?T.p(i,L):(T=tc(i),T.c(),T.m(v,null)):T&&(T.d(1),T=null)},d(A){A&&R(e),T&&T.d(),y=!1,Ze(C)}}}function tc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=nc(Zf(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-list fd-list--compact fd-list--dropdown"),c(e,"id","fd-form-input-dropdown-"+i[31]),c(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=Zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=nc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function f(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ne(n),r=K(),c(t,"class","fd-list__title"),c(e,"role","option"),c(e,"class","fd-list__item"),c(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),c(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(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=[se(e,"click",f),se(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&R(e),s=!1,Ze(o)}}}function ic(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=lc(Qf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();c(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),c(t,"role","group"),c(t,"aria-label","Group label"),c(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let f=0;f<r.length;f+=1)r[f].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let f;for(f=0;f<l.length;f+=1){const g=Qf(s,l,f);r[f]?r[f].p(g,o):(r[f]=lc(g),r[f].c(),r[f].m(t,null))}for(;f<r.length;f+=1)r[f].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&c(t,"class",n)},d(s){s&&R(e),ct(r,s)}}}function lc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,f,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ne(t),l=K(),c(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":"")),c(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),c(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=f=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){E(p,e,b),w(e,n),w(e,l),g||(h=se(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&c(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"data-testid",o),b[0]&2&&f!==(f=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=f)},d(p){p&&R(e),g=!1,h()}}}function rc(i){let e,t,n,l,r,s,o,f,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',c(n,"class","fd-switch__input"),c(n,"type","checkbox"),c(n,"aria-labelledby","label1"),c(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),c(o,"class","fd-switch__slider"),c(t,"class","fd-switch__control"),c(e,"class","fd-switch fd-switch--compact"),c(e,"data-testid",f="lui-us-label-switch_"+i[28])},m(p,b){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=se(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&c(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&f!==(f="lui-us-label-switch_"+i[28])&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,h()}}}function sc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),c(e,"type","checkbox"),c(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=se(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&R(e),n=!1,l()}}}function ac(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,f,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&xf(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),C=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&sc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),s=Ne(":"),o=K(),f=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),P&&P.c(),b=K(),I&&I.c(),v=K(),c(n,"class","fd-form-label svelte-1tiapr5"),c(n,"for","fd-form-input-"+i[31]),c(t,"class","fd-col fd-col--4 svelte-1tiapr5"),c(f,"class","fd-col fd-col--8 svelte-1tiapr5"),c(e,"class","fd-row svelte-1tiapr5")},m(T,A){E(T,e,A),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,f),S&&S.m(f,null),w(f,g),y&&y.m(f,null),w(f,h),C&&C.m(f,null),w(f,p),P&&P.m(f,null),w(f,b),I&&I.m(f,null),w(e,v)},p(T,A){A[0]&34&&l!==(l=T[5](T[29].label)+"")&&Te(r,l),T[29].type==="string"?S?S.p(T,A):(S=xf(T),S.c(),S.m(f,g)):S&&(S.d(1),S=null),T[29].type==="enum"&&(T[29].style===void 0||T[29].style==="list")?y?y.p(T,A):(y=ec(T),y.c(),y.m(f,h)):y&&(y.d(1),y=null),A[0]&2&&(_=T[29].type==="enum"&&T[29].style==="button"&&Array.isArray(T[29].options)),_?C?C.p(T,A):(C=ic(T),C.c(),C.m(f,p)):C&&(C.d(1),C=null),T[29].type==="boolean"&&(!T[29].style||T[29].style==="switch")?P?P.p(T,A):(P=rc(T),P.c(),P.m(f,b)):P&&(P.d(1),P=null),T[29].type==="boolean"&&T[29].style==="checkbox"?I?I.p(T,A):(I=sc(T),I.c(),I.m(f,null)):I&&(I.d(1),I=null)},d(T){T&&R(e),S&&S.d(),y&&y.d(),C&&C.d(),P&&P.d(),I&&I.d()}}}function NS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Xf(i);return{c(){e=k("div"),l&&l.c(),c(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[se(window,"click",i[7]),se(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&R(e),l&&l.d(),t=!1,Ze(n)}}}function na(i,e,t){if(i&&t>0)return i.matches(e)?i:na(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let f=ht("getTranslation");ki(i,f,ie=>t(5,n=ie));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ie){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(W=>{S(W,!1)})}function v(ie,W){let ue=na(ie.target,".fd-popover__control",20),ee=ue.getAttribute("aria-expanded")==="true";(W||W===void 0)&&(b(),S(ue,!ee))}function S(ie,W){const ue=ie.querySelector(".lui-activate-dropdown"),ee=ie.parentNode.querySelector(".fd-popover__body"),Y=ie.parentNode.querySelector(".fd-select__control");ie.setAttribute("aria-expanded",W),ee.setAttribute("aria-hidden",!W),Y.setAttribute("aria-expanded",W),ue.setAttribute("aria-expanded",W),t(14,h=W)}function y(ie,W,ue){t(4,g=ue),t(0,s[l[0]][ie]=W.value||W,s)}function C(ie,W){document.querySelectorAll(".enum-buttons-container-"+ie+" button").forEach(ue=>{const ee=ue.getAttribute("id"),Y=`lui-us-enum_button_${ie}_option`;ee===Y?ue.classList.add("fd-button--emphasized"):ue.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ie]=W.value||W,s)}function P(ie,W){let ue;if(Array.isArray(W)){for(let ee=0;ee<W.length;ee++)if(ne.isObject(W[ee])){if(W[ee].value&&W[ee].value===ie){ue=W[ee].label,t(4,g=ee);break}}else{ue=ie,t(4,g=W.indexOf(ie));break}return n(ue)}}function I(ie){return n(ne.isObject(ie)?ie.label:ie)}function T(ie,W,ue){return ne.isObject(ue)?`${ie}_${W}_${ue.value}`:`${ie}_${W}_${ue}`}function A(ie,W,ue,ee){let Y=na(ie.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${ue}`).children;let le=-1;if([...Pe].forEach((Ue,Ie)=>{Ue.classList.contains("is-focus")&&(le=Ie)}),h){if(ie.keyCode===El&&ie.altKey&&(Y.click(),Y.focus()),ie.keyCode===Oi&&!ie.altKey){if(le===-1){le=0,Pe.item(le).classList.add("is-focus");return}le<ee.options.length-1&&(Pe.item(le).classList.remove("is-focus"),le+=1,Pe.item(le).classList.add("is-focus"))}if(ie.keyCode===El&&!ie.altKey){if(le===-1){le=le.length-1,Pe.item(le).classList.add("is-focus");return}le>0&&le<ee.options.length&&(Pe.item(le).classList.remove("is-focus"),le-=1,Pe.item(le).classList.add("is-focus"))}(ie.keyCode===Si||ie.keyCode===Xr)&&y(W,ee.options[le],le)}else Y.focus(),ie.keyCode===Oi&&ie.altKey&&Y.click(),ie.keyCode===Oi&&!ie.altKey&&le<ee.options.length-1&&y(W,ee.options[le+1],le+1),ie.keyCode===El&&!ie.altKey&&le>0&&le<ee.options.length&&y(W,ee.options[le-1],le-1)}function L(ie){if(h){let W=na(ie.target,".fd-popover",20);W.blur(),(ie.keyCode===Xr||ie.keyCode===Si)&&(ie.target.click(),b(),setTimeout(()=>{W.focus()},0))}}P();function O(ie){s[l[0]][ie]=this.value,t(0,s)}const H=(ie,W,ue,ee)=>A(ee,ie,W,ue),F=ie=>v(event,ie.isEditable),B=(ie,W,ue)=>y(ie,W,ue),G=ie=>L(ie),x=(ie,W)=>C(ie,W);function $(ie){s[l[0]][ie]=this.checked,t(0,s)}function pe(ie){s[l[0]][ie]=this.checked,t(0,s)}return i.$$set=ie=>{"userSettingGroup"in ie&&t(1,l=ie.userSettingGroup),"userSettingsGroupKey"in ie&&t(15,r=ie.userSettingsGroupKey),"storedUserSettingData"in ie&&t(0,s=ie.storedUserSettingData),"isComboOpen"in ie&&t(14,h=ie.isComboOpen)},[s,l,A,L,g,n,f,b,v,y,C,P,I,T,h,r,_,p,O,H,F,B,G,x,$,pe]}class TS extends Rt{constructor(e){super(),At(this,e,IS,NS,Tt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:oc}=Fi;function uc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function fc(i,e,t){const n=i.slice();return n[38]=e[t],n}function cc(i){let e,t,n;function l(o,f){return f[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?AS:LS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),c(n,"role","presentation"),c(n,"class","sap-icon")},m(o,f){s.m(o,f),E(o,t,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&R(t),o&&R(n)}}}function LS(i){let e,t,n,l,r,s=i[38][1].initials&&dc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=ke(),c(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),c(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,f){E(o,e,f),E(o,l,f),s&&s.m(o,f),E(o,r,f)},p(o,f){f[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&c(e,"class",t),f[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&c(e,"aria-label",n),f[0]&2&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,f):(s=dc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&R(e),o&&R(l),s&&s.d(o),o&&R(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),c(t,"role","presentation"),c(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-d5kn3x"),c(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-d5kn3x")&&c(t,"class",n)},d(l){l&&R(e)}}}function dc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ne(t),c(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),c(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:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&c(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&c(e,"aria-label",r)},d(s){s&&R(e)}}}function hc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,f,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&cc(i);function y(){return i[22](i[38])}function C(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),f=K(),g=k("div"),_=Ne(h),p=K(),c(r,"class","fd-list__title"),c(g,"class","fd-list__byline svelte-d5kn3x"),c(l,"class","fd-list__content"),c(t,"tabindex","-1"),c(t,"class","fd-list__link"),c(t,"href","#"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),c(e,"data-testid","us-navigation-item"),c(e,"tabindex","0")},m(P,I){E(P,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,f),w(l,g),w(g,_),w(e,p),b||(v=[se(e,"click",Mt(y)),se(e,"keydown",C)],b=!0)},p(P,I){i=P,i[38][1].icon?S?S.p(i,I):(S=cc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(_,h)},d(P){P&&R(e),S&&S.d(),b=!1,Ze(v)}}}function gc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hc(fc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=fc(l,t,s);n[s]?n[s].p(o,r):(n[s]=hc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function _c(i){let e,t,n,l;function r(f){i[24](f)}function s(f){i[25](f)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new TS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(f,g){We(e,f,g),l=!0},p(f,g){const h={};g[0]&1&&(h.storedUserSettingData=f[0]),g[0]&2048&&(h.userSettingGroup=f[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=f[9],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=f[8],bt(()=>n=!1)),e.$set(h)},i(f){l||(M(e.$$.fragment,f),l=!0)},o(f){q(e.$$.fragment,f),l=!1},d(f){ze(e,f)}}}function RS(i){let e,t,n,l,r,s,o,f=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,P=i[10](i[7])+"",I,T,A,L,O,H,F,B,G,x,$,pe=i[10](i[5])+"",ie,W,ue,ee,Y=i[10](i[6])+"",Pe,le,Ue,Ie,ce=Object.entries(i[1]),Z=[];for(let ae=0;ae<ce.length;ae+=1)Z[ae]=gc(uc(i,ce,ae));let he=i[11]&&_c(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ne(f),h=K(),_=k("div"),p=k("ul");for(let ae=0;ae<Z.length;ae+=1)Z[ae].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=Ne(P),T=K(),A=k("div"),L=k("div"),he&&he.c(),O=K(),H=k("div"),F=K(),B=k("footer"),G=k("div"),x=k("div"),$=k("button"),ie=Ne(pe),W=K(),ue=k("div"),ee=k("button"),Pe=Ne(Y),c(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(o,"id","dialog-title-2"),c(s,"class","fd-side-nav__group-header svelte-d5kn3x"),c(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),c(p,"role","list"),c(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),c(r,"class","fd-side-nav svelte-d5kn3x"),c(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),c(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),c(C,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),c(L,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),c(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),c(A,"class","lui-usersettings-content svelte-d5kn3x"),c(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),c($,"data-testid","lui-us-saveBtn"),c($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),c(x,"class","fd-bar__element"),c(ee,"data-testid","lui-us-dismissBtn"),c(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),c(ue,"class","fd-bar__element"),c(G,"class","fd-bar__right"),c(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),c(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-2"),c(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),c(e,"tabindex","0")},m(ae,Ve){E(ae,e,Ve),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let He=0;He<Z.length;He+=1)Z[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,T),w(n,A),w(A,L),he&&he.m(L,null),w(A,O),w(A,H),w(t,F),w(t,B),w(B,G),w(G,x),w(x,$),w($,ie),w(G,W),w(G,ue),w(ue,ee),w(ee,Pe),le=!0,Ue||(Ie=[se(oc,"resize",i[20]),se(oc,"keydown",i[3]),se(S,"click",i[17]),se($,"click",i[26]),se(ee,"click",i[27])],Ue=!0)},p(ae,Ve){if((!le||Ve[0]&1040)&&f!==(f=ae[10](ae[4])+"")&&Te(g,f),Ve[0]&803846){ce=Object.entries(ae[1]);let He;for(He=0;He<ce.length;He+=1){const be=uc(ae,ce,He);Z[He]?Z[He].p(be,Ve):(Z[He]=gc(be),Z[He].c(),Z[He].m(p,null))}for(;He<Z.length;He+=1)Z[He].d(1);Z.length=ce.length}(!le||Ve[0]&1152)&&P!==(P=ae[10](ae[7])+"")&&Te(I,P),ae[11]?he?(he.p(ae,Ve),Ve[0]&2048&&M(he,1)):(he=_c(ae),he.c(),M(he,1),he.m(L,null)):he&&(Ce(),q(he,1,1,()=>{he=null}),ye()),(!le||Ve[0]&1056)&&pe!==(pe=ae[10](ae[5])+"")&&Te(ie,pe),(!le||Ve[0]&1088)&&Y!==(Y=ae[10](ae[6])+"")&&Te(Pe,Y)},i(ae){le||(M(he),le=!0)},o(ae){q(he),le=!1},d(ae){ae&&R(e),ct(Z,ae),he&&he.d(),Ue=!1,Ze(Ie)}}}function pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function DS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function p_(i,e,t){if(i&&t>0)return i.matches(e)?i:p_(i.parentNode,e,t-1)}function mc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function VS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:f={}}=e,g={},h=ht("getTranslation");ki(i,h,le=>t(10,n=le));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},S,y,C,P;$r(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const le=re.getConfigValue("userSettings.userSettingsDialog"),Ue=le||re.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Ie=>{const ce=Le.getValidMessageSource(Ie);if(!ce||Ie.data.msg!=="custom")return;ce._ready=!0;const Z=ra.convertCustomMessageInternalToUser(Ie.data),he="luigi.updateUserSettings";if(Z.id===he){const ae=ur.findActiveCustomUserSettingsIframe(Ie.source);if(ae){let Ve=ae.getAttribute("userSettingsGroup");t(0,f[Ve]=Z.data,f)}}Z.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&H()}),re.readUserSettings().then(Ie=>{g=JSON.parse(JSON.stringify(Ie)),Ie===null?t(0,f=pc(JSON.parse(JSON.stringify(r)),{})):t(0,f=pc(JSON.parse(JSON.stringify(r)),Ie)),T([S,r[0][S]])}).catch(Ie=>{Ie&&Ie.message&&console.error(Ie.message),Ie&&Ie.closeDialog&&s("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(le){if(t(7,y=le.title?le.title:""),!!ne.isObject(le.settings))for(let Ue in le.settings){let Ie=le.settings[Ue];Ie.type==="enum"?Array.isArray(Ie.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Ie.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function T(le,Ue){t(11,o=le);let Ie=le[0],ce=le[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),p_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()),ce.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(Ie))ur.getUserSettingsIframesInDom().forEach(Z=>{Z.userSettingsGroup===Ie&&(Z.style.display="block")});else{const Z=Zr.hasDecorators()?Zr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=ur.createIframe(Z,Ie);v[Ie]=he}ES()}else DS()}const A=le=>{t(0,f=le.detail.userSettings)};function L(){re.storeUserSettings(f,g).then(()=>{s("close")}).catch(le=>{le&&le.message&&console.error(le.message),le&&le.closeDialog&&s("close")})}function O(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()}function F(le){return Se.renderIconClassName(le)}function B(le){return Se.isOpenUIiconName(le.icon)}let G;const x=()=>{const le=window.innerWidth>=$t.desktopMinWidth&&G<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&G>=$t.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),le&&(document.querySelector(".confirm-button").style.display="block"),!G){let Ie=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Ie.style.display="none":Ie.style.display="block"}G=window.innerWidth};function $(le,Ue){let Ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(le.keyCode===Si||le.keyCode===Xr)&&Ie[Ue].click(),le.keyCode===_S&&Ie[Object.keys(r).length-1].focus(),le.keyCode===gS&&Ie[0].focus()}function pe(le){le.keyCode===wi&&C?P():le.keyCode===wi&&!C&&s("close")}const ie=le=>T(le,event),W=(le,Ue)=>$(Ue,[le]);function ue(le){P=le,t(9,P)}function ee(le){C=le,t(8,C)}const Y=()=>L(),Pe=()=>s("close");return i.$$set=le=>{"schemaObj"in le&&t(21,l=le.schemaObj),"userSettingGroups"in le&&t(1,r=le.userSettingGroups),"storedUserSettings"in le&&t(0,f=le.storedUserSettings)},[f,r,$,pe,_,p,b,y,C,P,n,o,s,h,T,A,L,H,F,B,x,l,ie,W,ue,ee,Y,Pe]}class MS extends Rt{constructor(e){super(),At(this,e,VS,RS,Tt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:OS}=Fi;function FS(i){let e;return{c(){e=k("div"),c(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&R(e)}}}function US(i){let e,t,n,l,r=i[1].title+"",s,o,f;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=Ne(r),c(t,"class","lui-collapse-btn svelte-je1rr"),c(e,"id","splitViewDraggerCollapsed"),c(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),c(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||(f=se(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&R(e),g&&R(n),g&&R(l),o=!1,f()}}}function bc(i){let e,t,n,l,r,s,o,f;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',c(e,"id","splitViewDraggerBackdrop"),c(l,"class","splitViewSeparator"),c(s,"class","lui-collapse-btn svelte-je1rr"),c(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||(f=[se(s,"click",Ut(Mt(i[3]))),se(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&R(e),g&&R(t),g&&R(n),o=!1,Ze(f)}}}function BS(i){let e,t,n,l,r,s,o,f,g,h;t=new es({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=ke(),c(l,"class","lui-split-view svelte-je1rr"),c(e,"id","splitViewContainer"),c(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){E(S,e,y),We(t,e,null),w(e,n),w(e,l),b.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),f=!0,g||(h=se(OS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.m(l,null))),(!f||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&c(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=bc(S),v.c(),v.m(o.parentNode,o))},i(S){f||(M(t.$$.fragment,S),f=!0)},o(S){q(t.$$.fragment,S),f=!1},d(S){S&&R(e),ze(t),b.d(),S&&R(s),v&&v.d(S),S&&R(o),g=!1,h()}}}function HS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,f,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:P}=e,I=!1,T=ht("getUnsavedChangesModalPromise");const A=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:f,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(ue=>{ue==="splitViewSettings"?t(1,y=W.splitViewSettings):ue==="lastNode"?r=W.lastNode:ue==="pathData"?s=W.pathData:ue==="nodeParams"?o=W.nodeParams:ue==="collapsed"?t(0,S=W.collapsed):ue==="isDataPrepared"?t(8,C=W.isDataPrepared):ue==="currentNode"?f=W.currentNode:ue==="splitViewIframe"?h=W.splitViewIframe:ue==="splitViewIframeData"?_=W.splitViewIframeData:ue==="splitViewWC"?p=W.splitViewWC:ue==="splitViewWCData"&&(b=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),L=async()=>{C?S||st.createAndSetView(A()):await st.prepareSplitViewData(A(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=st.getDragger()},H=()=>{const W=st.getDraggerBackdrop();W&&(W.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function F(W){if(!!Le.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&st.close(A()),W.data.msg==="luigi.navigation.splitview.collapse"&&B(),W.data.msg==="luigi.navigation.splitview.expand"&&G(),W.data.msg==="luigi.navigation.splitview.resize")){const ue=parseInt(W.data.data);if(st.calculateAndSetSplitViewValues(ue,st.internalValues),S)return;H(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{x(),g=F.bind(this),An.addEventListener("message",g)}),fa(()=>{L(),I!==C&&!S&&(I=C,H())}),$r(()=>{window.removeEventListener("message",g)});function B(){st.collapse(A())}async function G(){await st.expand(A()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const W=ne.getShellbarHeight();st.internalValues.innerHeight=ne.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-W,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=W+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||H()}function $(W){let ue=W.y,ee={};const Y=function(ce){const Z=ue-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||Z===0)return;const ae=he-Z,Ve=st.internalValues.innerHeight-ae,He=st.enforceTresholds(ae,Ve);ae<He.top||Ve<He.bottom||(ee=He,ue=ce.y,l.draggable.style.top=`${ee.top}px`)},Pe=function(){if(le(),!ee.top||!ee.bottom||ee.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=ee.top,st.splitViewValues=ee,H(),st.sendMessageToClients("resize.ok",ee.percent)},le=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},Ue=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};O(),le(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=W=>{let ue=st.getDraggerButton();ue&&(ue.style.display=W?"block":"none"),ue=st.getCollapsedDraggerButton(),ue&&(ue.style.display=W?"block":"none")},ie=W=>{pe(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,P=W.disableBackdrop)},[S,y,P,B,G,x,$,ie,C,v]}class WS extends Rt{constructor(e){super(),At(this,e,HS,BS,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function vc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:qS,catch:zS,value:1};return ia(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ia(t,n)||i_(n,i,r)},d(l){l&&R(e),n.block.d(l),n.token=null,n=null}}}function zS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function wc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),c(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]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&c(e,"aria-label",l)},d(r){r&&R(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function KS(i){let e,t=i[0]&&i[0].badgeCounter&&vc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Rt{constructor(e){super(),At(this,e,jS,KS,Tt,{node:0})}}function Sc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(t,"class","fd-object-status__text"),c(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+"")&&Te(l,n)},d(r){r&&R(e)}}}function JS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function YS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Ui extends Rt{constructor(e){super(),At(this,e,YS,JS,Tt,{node:0})}}const{window:xs}=Fi;function kc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",f,g,h,_=i[12].icon&&Tc(i),p=i[12].showUpLink&&Lc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),f=Ne(o),g=K(),p&&p.c(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(l,"class","fd-nested-list__link svelte-1q8o60z"),c(l,"title",h=i[32](i[12],i[24](i[12].label))),c(n,"class","fd-nested-list__item svelte-1q8o60z"),c(t,"class","fd-nested-list svelte-1q8o60z"),c(e,"class","lui-nav-title svelte-1q8o60z")},m(b,v){E(b,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,f),w(l,g),p&&p.m(l,null)},p(b,v){b[12].icon?_?_.p(b,v):(_=Tc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Te(f,o),b[12].showUpLink?p?p.p(b,v):(p=Lc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&c(l,"title",h)},d(b){b&&R(e),_&&_.d(),p&&p.d()}}}function Tc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?ZS:QS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function QS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[12].icon)||c(t,"src",n),c(t,"alt",l=i[12].altText?i[12].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&c(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function ZS(i){let e,t;return{c(){e=k("i"),c(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Lc(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1q8o60z"),c(e,"role","presentation"),c(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=se(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&c(e,"title",t)},d(r){r&&R(e),n=!1,l()}}}function Ac(i){let e,t,n,l,r=i[13],s=[];for(let f=0;f<r.length;f+=1)s[f]=ed(kc(i,r,f));const o=f=>q(s[f],1,1,()=>{s[f]=null});return{c(){e=k("div"),t=k("ul");for(let f=0;f<s.length;f+=1)s[f].c();c(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"),c(e,"class","lui-fd-side-nav-wrapper svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(f,g){if(g[0]&2106714048|g[1]&227){r=f[13];let h;for(h=0;h<r.length;h+=1){const _=kc(f,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=ed(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(Ce(),h=r.length;h<s.length;h+=1)o(h);ye()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(f[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"))&&c(t,"class",n)},i(f){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(f){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(f){f&&R(e),ct(s,f)}}}function XS(i){let e,t,n,l;const r=[e2,xS],s=[];function o(f,g){return f[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(f,g){s[e].m(f,g),E(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(f,g):(t=s[e]=r[e](f),t.c()),M(t,1),t.m(n.parentNode,n))},i(f){l||(M(t),l=!0)},o(f){q(t),l=!1},d(f){s[e].d(f),f&&R(n)}}}function $S(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=xc(Nc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let f;for(f=0;f<n.length;f+=1){const g=Nc(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=xc(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function xS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,f,g,h=i[10]&&i[68].metaInfo.icon&&Rc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Fc(Cc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=Ne(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();f=ke(),c(e,"class","fd-nested-list__group-header lui-category svelte-1q8o60z"),c(e,"title",r=i[32](i[68],i[24](i[67]))),c(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),c(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,f,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Te(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&c(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&c(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Cc(v,_,y);p[y]?(p[y].p(C,S),M(p[y],1)):(p[y]=Fc(C),p[y].c(),M(p[y],1),p[y].m(f.parentNode,f))}for(Ce(),y=_.length;y<p.length;y+=1)b(y);ye()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)M(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&R(e),h&&h.d(),v&&R(o),ct(p,v),v&&R(f)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",f,g,h,_,p,b,v,S,y,C,P,I,T,A,L,O,H,F,B,G,x,$;function pe(Z,he){return he[0]&8192&&(l=null),l==null&&(l=!!Z[28](Z[68].metaInfo.icon)),l?o2:a2}let ie=pe(i,[-1,-1,-1]),W=ie(i);function ue(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...Z){return i[48](i[68],...Z)}let Pe=i[68],le=[];for(let Z=0;Z<Pe.length;Z+=1)le[Z]=zc(Pc(i,Pe,Z));const Ue=Z=>q(le[Z],1,1,()=>{le[Z]=null});let Ie=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&qc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),f=Ne(o),v=K(),S=k("button"),y=k("i"),A=K(),L=k("ul");for(let Z=0;Z<le.length;Z+=1)le[Z].c();H=K(),Ie&&Ie.c(),F=K(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(n,"title",g=i[32](i[68],i[24](i[67]))),c(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"),c(n,"tabindex",_=i[6]?"-1":"0"),c(n,"role",p=i[23]?void 0:"button"),c(n,"id","collapsible_listnode_"+i[70]),c(n,"aria-haspopup","true"),c(n,"aria-expanded",b=kn(i[68],i[9])),c(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(y,"role","presentation"),c(S,"class","fd-button fd-nested-list__button svelte-1q8o60z"),c(S,"href","#"),c(S,"tabindex","0"),c(S,"aria-label","Expand categories"),c(S,"aria-haspopup","true"),c(S,"aria-expanded",P=kn(i[68],i[9])),c(S,"title",I=i[38](i[68],i[9])),c(t,"class","fd-nested-list__content has-child svelte-1q8o60z"),c(t,"tabindex",T=i[6]?"0":"-1"),c(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1q8o60z"),c(L,"aria-hidden",O=!kn(i[68],i[9])),c(e,"class","fd-nested-list__item lui-collapsible-item"),c(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(Z,he){E(Z,e,he),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,f),w(t,v),w(t,S),w(S,y),w(e,A),w(e,L);for(let ae=0;ae<le.length;ae+=1)le[ae].m(L,null);w(e,H),Ie&&Ie.m(e,null),w(e,F),G=!0,x||($=[se(n,"click",Mt(ue)),se(S,"click",Mt(ee)),se(t,"keypress",Y),se(e,"click",Ut(ce))],x=!0)},p(Z,he){if(i=Z,ie===(ie=pe(i,he))&&W?W.p(i,he):(W.d(1),W=ie(i),W&&(W.c(),W.m(n,r))),(!G||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Te(f,o),(!G||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&c(n,"title",g),(!G||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"))&&c(n,"class",h),(!G||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&c(n,"tabindex",_),(!G||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&c(n,"role",p),(!G||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&c(n,"aria-expanded",b),(!G||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(y,"class",C),(!G||he[0]&8704&&P!==(P=kn(i[68],i[9])))&&c(S,"aria-expanded",P),(!G||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&c(S,"title",I),(!G||he[0]&64&&T!==(T=i[6]?"0":"-1"))&&c(t,"tabindex",T),he[0]&1686151296|he[1]&66){Pe=i[68];let ae;for(ae=0;ae<Pe.length;ae+=1){const Ve=Pc(i,Pe,ae);le[ae]?(le[ae].p(Ve,he),M(le[ae],1)):(le[ae]=zc(Ve),le[ae].c(),M(le[ae],1),le[ae].m(L,null))}for(Ce(),ae=Pe.length;ae<le.length;ae+=1)Ue(ae);ye()}(!G||he[0]&8704&&O!==(O=!kn(i[68],i[9])))&&c(L,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Ie?(Ie.p(i,he),he[0]&8448&&M(Ie,1)):(Ie=qc(i),Ie.c(),M(Ie,1),Ie.m(e,F)):Ie&&(Ce(),q(Ie,1,1,()=>{Ie=null}),ye()),(!G||he[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&c(e,"data-testid",B),(!G||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(Z){if(!G){for(let he=0;he<Pe.length;he+=1)M(le[he]);M(Ie),G=!0}},o(Z){le=le.filter(Boolean);for(let he=0;he<le.length;he+=1)q(le[he]);q(Ie),G=!1},d(Z){Z&&R(e),W.d(),ct(le,Z),Ie&&Ie.d(),x=!1,Ze($)}}}function Rc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function t2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function n2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Ec(i){let e,t,n=i[71].label&&Dc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Dc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I;function T(x,$){return x[71].icon?l2:i2}let A=T(i),L=A(i),O=i[71].statusBadge&&Vc(i),H=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function B(...x){return i[54](i[71],...x)}function G(...x){return i[55](i[71],...x)}return{c(){e=k("li"),t=k("a"),L.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),H&&H.c(),h=K(),F&&F.c(),S=K(),c(l,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"tabindex","0"),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(e,"class","fd-nested-list__item"),c(e,"title",y=i[32](i[71],i[26](i[71]))),c(e,"aria-labelledby","category_list_level1_"+i[70])},m(x,$){E(x,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),O&&O.m(l,null),w(t,g),H&&H.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,P||(I=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(x,$){i=x,A===(A=T(i))&&L?L.p(i,$):(L.d(1),L=A(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r),i[71].statusBadge?O?(O.p(i,$),$[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye()),(!C||$[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",f),i[71].externalLink&&i[71].externalLink.url?H||(H=Mc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||$[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&c(e,"title",y)},i(x){C||(M(O),M(F),C=!0)},o(x){q(O),q(F),C=!1},d(x){x&&R(e),L.d(),O&&O.d(),H&&H.d(),F&&F.d(),P=!1,Ze(I)}}}function i2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=Ne(r),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,f){E(o,e,f),E(o,n,f),E(o,l,f),w(l,s)},p(o,f){f[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t),f[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Te(s,r)},d(o){o&&R(e),o&&R(n),o&&R(l)}}}function l2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?s2:r2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function r2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function s2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z")},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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Fc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Ec(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function a2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function o2(i){let e,t;return{c(){e=k("i"),c(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-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Bc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&Hc(),A=i[71].badgeCounter&&Wc(i);function L(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"tabindex","0"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item"),c(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=Hc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Wc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function Hc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Uc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,f,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Yc(yc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ne(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();c(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1q8o60z"),c(o,"class","fd-nested-list fd-nested-list--text-only svelte-1q8o60z"),c(t,"class","lui-flyout-sublist__wrapper svelte-1q8o60z"),c(e,"class","lui-flyout-sublist svelte-1q8o60z")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);f=!0},p(p,b){if((!f||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Te(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=yc(p,g,v);h[v]?(h[v].p(S,b),M(h[v],1)):(h[v]=Yc(S),h[v].c(),M(h[v],1),h[v].m(o,null))}for(Ce(),v=g.length;v<h.length;v+=1)_(v);ye()}},i(p){if(!f){for(let b=0;b<g.length;b+=1)M(h[b]);f=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);f=!1},d(p){p&&R(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Kc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&jc(),A=i[71].badgeCounter&&Jc(i);function L(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item")},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=jc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Jc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function jc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Gc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Qc(i){let e,t,n=i[71].label&&Zc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Zc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(x,$){return x[71].icon?f2:u2}let L=A(i),O=L(i);f=new Ui({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&Xc(),F=i[71].badgeCounter&&$c(i);function B(...x){return i[44](i[71],...x)}function G(...x){return i[45](i[71],...x)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),qe(f.$$.fragment),h=K(),H&&H.c(),_=K(),F&&F.c(),C=K(),c(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",p=i[30](i[71])),c(t,"title",b=i[32](i[71],i[26](i[71]))),c(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",S=i[23]?void 0:"button"),c(t,"data-testid",y=i[29](i[71])),c(e,"class","fd-nested-list__item")},m(x,$){E(x,e,$),w(e,t),O.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),We(f,l,null),w(t,h),H&&H.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),P=!0,I||(T=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(x,$){i=x,L===(L=A(i))&&O?O.p(i,$):(O.d(1),O=L(i),O&&(O.c(),O.m(t,n))),(!P||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r);const pe={};$[0]&8192&&(pe.node=i[71]),f.$set(pe),(!P||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=Xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!P||$[0]&8192&&p!==(p=i[30](i[71])))&&c(t,"href",p),(!P||$[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&c(t,"title",b),(!P||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",v),(!P||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&c(t,"role",S),(!P||$[0]&8192&&y!==(y=i[29](i[71])))&&c(t,"data-testid",y)},i(x){P||(M(f.$$.fragment,x),M(F),P=!0)},o(x){q(f.$$.fragment,x),q(F),P=!1},d(x){x&&R(e),O.d(),ze(f),H&&H.d(),F&&F.d(),I=!1,Ze(T)}}}function u2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),c(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":""))&&c(e,"class",t)},d(n){n&&R(e)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function c2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function d2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z"),c(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-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Xc(i){let e;return{c(){e=k("i"),c(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),c(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function xc(i){let e,t,n=!i[71].hideFromNav&&Qc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Qc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ed(i){let e,t,n,l,r,s;const o=[$S,XS],f=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(p2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=f[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&f[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye()),~n?(l=f[n],l?l.p(h,_):(l=f[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&f[n].d(h),h&&R(r)}}}function td(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&nd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ne(l),s=K(),o&&o.c(),c(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1q8o60z"),c(n,"data-testid","lui-side-nav__footer--text"),c(t,"class","lui-side-nav__footer svelte-1q8o60z"),c(t,"data-testid","lui-side-nav__footer"),c(e,"class","fd-side-nav__utility svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(f,g){g[0]&4&&l!==(l=(f[2]?f[2]:"")+"")&&Te(r,l),f[3]?o?o.p(f,g):(o=nd(f),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(f){f&&R(e),o&&o.d()}}}function nd(i){let e;function t(r,s){return r[4]=="button"?g2:h2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function h2(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[se(e,"click",i[57]),se(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(e,"class",t),s[0]&2048&&c(e,"title",r[11])},d(r){r&&R(e),n=!1,Ze(l)}}}function g2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),c(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0"),c(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1q8o60z")},m(s,o){E(s,e,o),w(e,t),l||(r=se(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(t,"class",n),o[0]&2048&&c(e,"title",s[11])},d(s){s&&R(e),l=!1,r()}}}function _2(i){let e,t,n,l,r,s,o,f,g,h,_=i[12]&&Ic(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Ac(i),b=(i[2]||i[3])&&td(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),c(l,"class","fd-side-nav__main-navigation svelte-1q8o60z"),c(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"),c(n,"data-testid","semiCollapsibleLeftNav"),c(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z")},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),b&&b.m(n,null),f=!0,g||(h=[se(xs,"resize",i[17]),se(xs,"click",i[21]),se(xs,"blur",i[21]),se(xs,"keydown",i[33]),se(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Ic(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>0&&(v[5][0].topNav===!1||v[5].length>1)?p?(p.p(v,S),S[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(Ce(),q(p,1,1,()=>{p=null}),ye()),v[2]||v[3]?b?b.p(v,S):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!f||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"))&&c(n,"class",s),(!f||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z"))&&c(e,"class",o)},i(v){f||(M(p),f=!0)},o(v){q(p),f=!1},d(v){v&&R(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const p2=i=>!i.hideFromNav&&i.label;function m2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:f,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:T,selectedCategory:C,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:O}),set:async te=>{te&&(Object.getOwnPropertyNames(te).forEach(async Ae=>{if(Ae==="pathData")t(5,p=te.pathData);else if(Ae==="context")H=te.context;else if(Ae==="children")t(0,s=te.children);else if(Ae==="selectedNode")t(7,y=te.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,I=te.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,L=void 0);let at=te.navParent;if(t(41,O=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,L={});let ln=Nt(Se.stripNode(at),Se.stripNode(Ct),H);ln instanceof Promise?ln.then(En=>{t(12,L=En)}):t(12,L=ln)}else if(Nt==="auto")t(12,L={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,L={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,L=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);Se.fetchNodeTitleData(Ct,Gn).then(ni=>{t(12,L={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...Nt,label:at.label,icon:at.icon})})})}else t(12,L=await Ue(Nt,Ct))}}}),t(40,T=Se.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:f}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=Se.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:A}=e,{navHeader:L}=e,{navParentNode:O}=e,H,F,B,G=ht("store"),x=ht("getTranslation");ki(i,x,te=>t(24,n=te));let $=!1;const pe=te=>Se.getNodeLabel(te),ie=async()=>{const te=l.get(),Ae=await Vt.getLeftNavData({...te},te);!Ae||(l.set(Ae),F=p,window.LEFTNAVDATA=Ae.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),on.doOnStoreChange(G,()=>{t(2,f=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(G,()=>{ie()},["navigation.viewgroupdata"]);let te=mi.initial();t(6,S=te.isSemiCollapsed),t(39,g=te.semiCollapsible),mi.onValueChanged(Ae=>{t(6,S=Ae.isSemiCollapsed)}),An.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),zn(()=>{(!F||F!=p)&&ie(),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function ue(te){return Se.renderIconClassName(te)}function ee(te){return Se.isOpenUIiconName(te)}function Y(te){return te.testId?te.testId:Se.prepareForTests(te.pathSegment,te.label)}function Pe(te){return me.getNodeHref(te,b)}function le(te,Ae){return te&&te.testId?te.testId:Se.prepareForTests(Ae||te.label)}async function Ue(te,Ae){const at=me.mapPathToNode(et.getCurrentPath(),Ae),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(te,Ct)}function Ie(te,Ae){return Se.generateTooltipText(te,Ae)}function ce(te){r("handleClick",{node:te})}function Z(te,Ae){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?at=te.metaInfo.label:at=te.category&&te.category.label||te.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Ae)}}function he(te){const Ae=te.closest(".fd-nested-list__item"),at=Ae.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Ae.getElementsByClassName("lui-flyout-sublist")[0],En=te.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ni=Ct-at-Ae.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function ae(){if(g){let te=mi.onResize(C);t(6,S=te.isSemiCollapsed),t(8,C=te.selectedCategory)}}function Ve(te){if(te.code==="ArrowRight"){const at=Le.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(te){let Ae=O?O.parent:void 0;for(;Ae;){if(Ae.pathSegment&&Ae.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ae});return}Ae=Ae.parent}console.warn('Could not resolve "up"-node, redirecting to root'),h_.navigate("/")}function be(te,Ae){mi.getCollapsed()||t(9,P=Se.storeExpandedState(te.metaInfo.categoryUid,Ae,T))}function Ge(){t(8,C=mi.closePopupMenu(C))}function St(te){te&&te.code==="Escape"&&Ge()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(te){const Ae=te.code;(Ae==="Enter"||Ae==="Space")&&Wt()}function Yt(te,Ae){(te.code==="Enter"||te==="Space")&&Z(Ae,te.currentTarget)}function pn(te,Ae){te.keyCode===Si&&Se.handleNavAnchorClickedWithoutMetaKey(te)&&ce(Ae)}function un(){if(!Se.getBurgerTooltipConfig())return;const[te,Ae]=Se.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");te&&Ae&&at&&t(11,A=document.body.classList.contains("semiCollapsed")?te:Ae)}function mn(te,Ae){return kn(te,Ae)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const Bi=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},bn=(te,Ae)=>pn(Ae,te),Qt=te=>be(te,!kn(te,P)),Rn=te=>be(te,!kn(te,P)),Et=(te,Ae)=>Yt(Ae,te),cl=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},xt=(te,Ae)=>pn(Ae,te),fn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},qn=(te,Ae)=>pn(Ae,te),qt=te=>Z(te,event.currentTarget),Cn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},fi=(te,Ae)=>pn(Ae,te),ci=te=>Wt(),cn=te=>Wt(),Ci=te=>kt(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,f=te.footerText),"semiCollapsible"in te&&t(39,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"semiCollapsibleButtonStyle"in te&&t(4,_=te.semiCollapsibleButtonStyle),"pathData"in te&&t(5,p=te.pathData),"pathParams"in te&&t(42,b=te.pathParams),"virtualGroupPrefix"in te&&t(14,v=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(6,S=te.isSemiCollapsed),"selectedNode"in te&&t(7,y=te.selectedNode),"selectedCategory"in te&&t(8,C=te.selectedCategory),"expandedCategories"in te&&t(9,P=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(10,I=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(40,T=te.sideNavAccordionMode),"burgerTooltip"in te&&t(11,A=te.burgerTooltip),"navHeader"in te&&t(12,L=te.navHeader),"navParentNode"in te&&t(41,O=te.navParentNode),"sortedChildrenEntries"in te&&t(13,W=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Ae,at)=>Ae[1].metaInfo.order-at[1].metaInfo.order),t(13,W=te)}},[s,o,f,h,_,p,S,y,C,P,I,A,L,W,v,ce,Z,ae,Ve,He,be,Ge,B,$,n,x,pe,ue,ee,Y,Pe,le,Ie,St,Wt,kt,Yt,pn,mn,g,T,O,b,he,Bi,bn,Qt,Rn,Et,cl,xt,fn,qn,qt,Cn,fi,ci,cn,Ci]}class b2 extends Rt{constructor(e){super(),At(this,e,m2,_2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const v2=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),m_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},w2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),m_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((f,g)=>(g.link||"").localeCompare(f.link||"")).some(f=>{let g=!0;return ne.trimTrailingSlash(ne.trimLeadingSlash(f.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!w2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=f),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=xr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function id(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ld(i,e,t){const n=i.slice();return n[43]=e[t],n}function S2(i){let e,t,n,l,r=i[1]&&rd(i);return{c(){e=k("span"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function k2(i){let e,t,n,l,r=i[1]&&sd(i);return{c(){e=k("a"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"href","/"),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=sd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function rd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[28](null)}}}function sd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[26](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[26](null)}}}function ad(i){let e,t;function n(o,f){return o[3]?C2:y2}let l=n(i),r=l(i),s=i[10]&&md(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,f):(s=md(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}function C2(i){let e,t,n,l,r,s,o,f,g,h;function _(y,C){return y[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),S=i[7]&&i[7].length>0&&gd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),c(t,"class","fd-popover__control"),c(s,"class","fd-menu__list fd-menu__list--no-shadow"),c(r,"class","fd-menu"),c(l,"class","fd-popover__body fd-popover__body--left"),c(l,"aria-hidden",f=!i[11].appSwitcherPopover),c(l,"id","appSwitcherPopover"),c(e,"class","fd-popover")},m(y,C){E(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=se(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=hd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=gd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&f!==(f=!y[11].appSwitcherPopover)&&c(l,"aria-hidden",f)},d(y){y&&R(e),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function y2(i){let e;function t(r,s){return r[12]?A2:L2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function P2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("button"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Ut(i[34])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function N2(i){let e,t,n,l=i[7]&&i[7].length===1&&od(i),r=i[7]&&i[7].length>1&&ud(i),s=i[7].length>1&&!i[5]&&dd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=ke()},m(o,f){l&&l.m(o,f),E(o,e,f),r&&r.m(o,f),E(o,t,f),s&&s.m(o,f),E(o,n,f)},p(o,f){o[7]&&o[7].length===1?l?l.p(o,f):(l=od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,f):(r=ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,f):(s=dd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&R(e),r&&r.d(o),o&&R(t),s&&s.d(o),o&&R(n)}}}function od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"href",r=i[22](i[7][0])),c(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)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&c(e,"href",r)},d(s){s&&R(e)}}}function ud(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=cd(ld(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ld(l,t,s);n[s]?n[s].p(o,r):(n[s]=cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function fd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),o=K(),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href",f=i[22](i[43])),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(p,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=se(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),b[0]&128&&f!==(f=p[22](p[43]))&&c(e,"href",f),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",g)},d(p){p&&R(e),h=!1,_()}}}function cd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&fd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=fd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href","/"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Mt(i[33])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function hd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,f;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),c(n,"class","fd-menu__title"),c(t,"href","/"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"data-testid",s=i[20](i[6])),c(e,"class","fd-menu__item")},m(g,h){E(g,e,h),w(e,t),w(t,n),w(n,r),o||(f=se(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&c(t,"data-testid",s)},d(g){g&&R(e),o=!1,f()}}}function gd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=pd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=pd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function I2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,f,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),f=K(),c(n,"class","fd-menu__title"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),c(t,"data-testid",o=i[20](i[43])),c(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,f),g||(h=se(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&c(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&c(t,"data-testid",o)},d(p){p&&R(e),g=!1,h()}}}function T2(i){let e,t=i[16]&&_d(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=_d(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new _r(!1),l=K(),t.a=l,c(e,"class","fd-menu__item"),c(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&&R(e)}}}function pd(i){let e,t,n;function l(o,f){if(f[0]&256&&(e=null),f[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return T2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return I2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,f){s&&s.m(o,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&R(n)}}}function L2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[31]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function A2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title"),c(e,"href","/")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[30]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function md(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function R2(i){let e,t;function n(o,f){return o[12]?k2:S2}let l=n(i),r=l(i),s=i[2]&&ad(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,f):(s=ad(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:f}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,T,A,L=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");ki(i,O,be=>t(17,n=be));let H=ht("store");const F={closeDropDown:()=>{ie("appSwitcherPopover")}},B=()=>({get:()=>({pathData:P,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:f,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ge=>{Ge==="pathData"?t(24,P=be.pathData):Ge==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ge==="itemRenderer"?t(8,v=be.itemRenderer):Ge==="pathParams"?t(9,S=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ge==="hasApps"?t(3,f=be.hasApps):Ge==="hasLogo"&&t(1,s=be.hasLogo)})},store:H});Jt(()=>{v2(B())}),zn(()=>{(!A||A!=P)&&(m_(B()),A=P)});function G(be,Ge,St){return setTimeout(()=>{Ge&&v(be,Ge.children[St],F)}),""}function x(be){L().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){L().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ie("appSwitcherPopover")}function ie(be){l("toggleDropdownState",{name:be})}function W(be){return be.testId?be.testId:Se.prepareForTests(be.title||be)}function ue(be,Ge){if(be.link){const St=me.applyPathParams(be.link,Ge);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ee(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")};function le(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>x("/"),Ie=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")},ce=()=>x("/"),Z=()=>ie("appSwitcherPopover"),he=()=>ie("appSwitcherPopover"),ae=()=>ie("appSwitcherPopover"),Ve=(be,Ge)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(be.link)};function He(be){$e[be?"unshift":"push"](()=>{T=be,t(16,T)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,f=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,f,h,_,p,b,v,S,y,g,I,x,$,ie,T,n,O,G,W,ue,ee,C,P,pe,Y,Pe,le,Ue,Ie,ce,Z,he,ae,Ve,He]}class V2 extends Rt{constructor(e){super(),At(this,e,D2,R2,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function bd(i,e,t){const n=i.slice();return n[34]=e[t],n}function vd(i){let e,t,n,l,r,s,o=i[0]&&wd(i),f=(i[10]||i[11])&&Id(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),f&&f.c(),c(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),c(s,"class","fd-bar__element"),c(r,"class","fd-bar__right"),c(l,"class","fd-bar fd-bar--footer"),c(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),f&&f.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=wd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?f?f.p(g,h):(f=Id(g),f.c(),f.m(s,null)):f&&(f.d(1),f=null)},d(g){g&&R(e),o&&o.d(),g&&R(t),g&&R(n),f&&f.d()}}}function wd(i){let e,t,n,l,r,s,o;function f(y,C){return y[7].picture?O2:M2}let g=f(i),h=g(i),_=i[7].name&&Sd(i),p=i[7].description&&kd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=yd(bd(i,b,y));let S=i[12]&&Pd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),c(e,"class","fd-user-menu__header"),c(n,"class","fd-user-menu__subheader"),c(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),c(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 P=0;P<v.length;P+=1)v[P].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=f(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Sd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=kd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let P;for(P=0;P<b.length;P+=1){const I=bd(y,b,P);v[P]?v[P].p(I,C):(v[P]=yd(I),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=Pd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&R(e),h.d(),y&&R(t),y&&R(n),_&&_.d(),p&&p.d(),y&&R(r),y&&R(s),ct(v,y),S&&S.d()}}}function M2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(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:"")+"")&&Te(n,t)},d(l){l&&R(e)}}}function O2(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(e,"aria-label","Avatar"),c(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&R(e)}}}function Sd(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-name svelte-x3xwcc"),c(e,"id","username"),c(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+"")&&Te(n,t)},d(l){l&&R(e)}}}function kd(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-role svelte-x3xwcc"),c(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+"")&&Te(n,t)},d(l){l&&R(e)}}}function Cd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?U2:F2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function F2(i){let e,t;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),c(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&oi(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&c(e,"alt",t)},d(n){n&&R(e)}}}function U2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function yd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Cd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"tabindex","-1"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Cd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Pd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g=i[9].settings.icon&&Nd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"title","User Settings"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"role","listitem"),c(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||(f=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Nd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r)},d(h){h&&R(e),g&&g.d(),o=!1,Ze(f)}}}function Nd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?H2:B2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function B2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function H2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Id(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Td(i),l=i[10]&&!i[8]&&Ld(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Td(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ld(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Td(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"class","fd-button fd-button--transparent fd-button--compact"),c(t,"tabindex","0"),c(t,"data-testid","logout-btn"),c(e,"class","fd-bar__element"),c(e,"data-testid",r=i[18](i[9].logout))},m(f,g){E(f,e,g),w(e,t),w(t,l),s||(o=se(t,"click",i[4]),s=!0)},p(f,g){g[0]&8704&&n!==(n=f[13](f[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=f[18](f[9].logout))&&c(e,"data-testid",r)},d(f){f&&R(e),s=!1,o()}}}function Ld(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),n=k("button"),n.textContent="Login",c(e,"class","fd-button fd-button--transparent fd-button--compact"),c(e,"tabindex","0"),c(e,"data-testid","login-btn"),c(n,"class","fd-button fd-button--transparent fd-button--compact"),c(n,"tabindex","0"),c(n,"data-testid","login-btn")},m(s,o){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[se(e,"click",i[15]),se(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&R(e),s&&R(t),s&&R(n),l=!1,Ze(r)}}}function W2(i){let e,t=!i[1]&&vd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(le)){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(le))},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class q2 extends Rt{constructor(e){super(),At(this,e,z2,W2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ad(i,e,t){const n=i.slice();return n[34]=e[t],n}function Rd(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,f=[];for(let _=0;_<o.length;_+=1)f[_]=Vd(Ad(i,o,_));let g=i[12]&&Md(i),h=(i[10]||i[11])&&Fd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<f.length;_+=1)f[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),c(t,"class","fd-menu__list fd-menu__list--no-shadow"),c(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 b=0;b<f.length;b+=1)f[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ad(_,o,b);f[b]?f[b].p(v,p):(f[b]=Vd(v),f[b].c(),f[b].m(t,l))}for(;b<f.length;b+=1)f[b].d(1);f.length=o.length}_[12]?g?g.p(_,p):(g=Md(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Fd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&R(e),s&&s.d(),ct(f,_),g&&g.d(),h&&h.d()}}}function Ed(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ne(n),c(t,"aria-label","Username"),c(t,"id","username"),c(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),c(t,"data-testid","luigi-topnav-profile-username"),c(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)+"")&&Te(l,n)},d(r){r&&R(e)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?K2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function G2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[34].icon)||c(e,"src",t),c(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[34].icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function K2(i){let e,t;return{c(){e=k("span"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Dd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Dd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Md(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g,h=i[9].settings.icon&&Od(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"tabindex","0"),c(t,"title","User Settings"),c(t,"class","fd-menu__link"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"class","fd-menu__item lui-anchor-node"),c(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),f||(g=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],f=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,Ze(g)}}}function Od(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?J2:j2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function j2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function J2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Fd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ud(i),l=i[10]&&!i[8]&&Hd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ud(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Hd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Ud(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,f,g,h=i[9].logout.icon&&Bd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"title","Logout"),c(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),c(t,"data-testid","logout-btn"),c(e,"class","fd-menu__item svelte-1lwfozx"),c(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),f||(g=se(e,"click",i[4]),f=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,g()}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Q2:Y2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function Y2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].logout.icon)||c(e,"src",t),c(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].logout.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Q2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Hd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',c(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=se(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&R(e),t=!1,n()}}}function Z2(i){let e,t=!i[1]&&Rd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Rd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function X2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(le));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class b_ extends Rt{constructor(e){super(),At(this,e,X2,Z2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Wd(i,e,t){const n=i.slice();return n[12]=e[t],n}function zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kd(Wd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let f;for(f=0;f<n.length;f+=1){const g=Wd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Kd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function qd(i){let e,t,n,l,r,s,o,f,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,S,y,C,P;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?x2:$2}let T=I(i,-1),A=T(i);r=new ti({props:{node:i[12]}});let L=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),A.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),f=k("div"),h=Ne(g),_=K(),L&&L.c(),b=K(),c(t,"class","lui-product-switch__icon svelte-503htr"),c(f,"class","fd-product-switch__title svelte-503htr"),c(o,"class","fd-product-switch__text svelte-503htr"),c(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),c(e,"data-e2e","mobile-topnav-item"),c(e,"data-testid",S=i[2](i[12]))},m(H,F){E(H,e,F),w(e,t),A.m(t,null),w(t,l),We(r,t,null),w(e,s),w(e,o),w(o,f),w(f,h),w(o,_),L&&L.m(o,null),w(e,b),y=!0,C||(P=se(e,"click",O),C=!0)},p(H,F){i=H,T===(T=I(i,F))&&A?A.p(i,F):(A.d(1),A=T(i),A&&(A.c(),A.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Te(h,g),F&34&&(p=i[5](i[12])),p?L?L.p(i,F):(L=Gd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&c(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&c(e,"data-testid",S)},i(H){y||(M(r.$$.fragment,H),y=!0)},o(H){q(r.$$.fragment,H),y=!1},d(H){H&&R(e),A.d(),ze(r),L&&L.d(),C=!1,P()}}}function $2(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[12].icon)||c(e,"src",t),c(e,"alt",n=i[12].altText?i[12].altText:""),c(e,"class","svelte-503htr")},m(l,r){E(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[12].icon)&&c(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function x2(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Gd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Kd(i){let e,t,n=i[12].label&&qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ek(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T=i[1]&&zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ne(i[0]),f=K(),g=k("div"),h=k("div"),_=k("ul"),T&&T.c(),p=K(),b=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",c(s,"class","fd-title fd-title--h5"),c(s,"id","dialog-title-4"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-dialog__header fd-bar fd-bar--header"),c(_,"class","fd-product-switch__list"),c(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),c(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),c(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(y,"data-testid","mobile-topnav-close"),c(S,"class","fd-bar__element"),c(v,"class","fd-bar__right"),c(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),c(t,"class","fd-dialog__content fd-dialog__content--mobile"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-4"),c(e,"class","fd-dialog fd-dialog--active")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,f),w(t,g),w(g,h),w(h,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,v),w(v,S),w(S,y),C=!0,P||(I=[se(y,"click",i[9]),se(e,"click",Ut(tk))],P=!0)},p(A,[L]){(!C||L&1)&&Te(o,A[0]),A[1]?T?(T.p(A,L),L&2&&M(T,1)):(T=zd(A),T.c(),M(T,1),T.m(_,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye())},i(A){C||(M(T),C=!0)},o(A){q(T),C=!1},d(A){A&&R(e),T&&T.d(),P=!1,Ze(I)}}}const tk=()=>{};function nk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:f}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Se.renderIconClassName(S)}function p(S){n("listClick",S)}function b(S){Al.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,f=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,f,g,h,p,_,b,v]}class v_ extends Rt{constructor(e){super(),At(this,e,nk,ek,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:ik}=Fi;function jd(i,e,t){const n=i.slice();return n[6]=e[t],n}function Jd(i){let e,t,n,l=i[0]&&Yd(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),c(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),c(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&&M(l,1)):(l=Yd(r),l.c(),M(l,1),l.m(t,null)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&R(e),l&&l.d()}}}function Yd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let f;for(f=0;f<n.length;f+=1){const g=jd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Zd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function Qd(i){let e,t,n,l,r,s,o,f,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(A,L){return L&1&&(l=null),l==null&&(l=!!(A[6].icon&&A[9](A[6]))),l?rk:lk}let P=C(i,-1),I=P(i);s=new ti({props:{node:i[6]}});function T(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),f=k("span"),h=Ne(g),p=K(),c(n,"class","fd-top-nav__icon svelte-1gqx0dl"),c(f,"class","fd-menu__title"),c(t,"href",_=i[7]?i[13](i[6]):void 0),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",b=i[12](i[6]))},m(A,L){E(A,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,f),w(f,h),w(e,p),v=!0,S||(y=[se(t,"click",i[14]),se(e,"click",T)],S=!0)},p(A,L){i=A,P===(P=C(i,L))&&I?I.p(i,L):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};L&1&&(O.node=i[6]),s.$set(O),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Te(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&c(t,"href",_),(!v||L&1&&b!==(b=i[12](i[6])))&&c(e,"data-testid",b)},i(A){v||(M(s.$$.fragment,A),v=!0)},o(A){q(s.$$.fragment,A),v=!1},d(A){A&&R(e),I.d(),ze(s),S=!1,Ze(y)}}}function lk(i){let e,t,n;return{c(){e=k("img"),c(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[6].icon)||c(e,"src",t),c(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[6].icon)&&c(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function rk(i){let e,t;return{c(){e=k("i"),c(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))&&c(e,"class",t)},d(n){n&&R(e)}}}function Zd(i){let e,t,n=i[6].label&&Qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Xd(i){let e,t;return e=new v_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function sk(i){let e,t,n,l,r,s=!i[1]&&Jd(i),o=i[1]&&Xd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=ke()},m(f,g){s&&s.m(f,g),E(f,e,g),o&&o.m(f,g),E(f,t,g),n=!0,l||(r=se(ik,"resize",aa),l=!0)},p(f,[g]){f[1]?s&&(Ce(),q(s,1,1,()=>{s=null}),ye()):s?(s.p(f,g),g&2&&M(s,1)):(s=Jd(f),s.c(),M(s,1),s.m(e.parentNode,e)),f[1]?o?(o.p(f,g),g&2&&M(o,1)):(o=Xd(f),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(Ce(),q(o,1,1,()=>{o=null}),ye())},i(f){n||(M(s),M(o),n=!0)},o(f){q(s),q(o),n=!1},d(f){s&&s.d(f),f&&R(e),o&&o.d(f),f&&R(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,f=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{aa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(O){f().then(()=>{if(O.openNodeInModal){const H=me.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else et.handleRouteClick(O,p())},()=>{}),S()}function v(O){b(O.detail)}function S(){n("close")}function y(O){return Se.isOpenUIiconName(O.icon)}function C(O){return Se.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function T(O){return me.getNodeHref(O,o)}const A=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>b(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(6,s=O.node)},[r,l,b,v,S,aa,s,h,_,y,C,P,I,T,A,L]}class w_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return aa}}const _n={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?ne.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=ne.normalizePath(i),t=ne.normalizePath(t),!!_n.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=_n.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await _n.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ih(eh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(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=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,f,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),c(n,"class","fd-menu__title"),c(t,"href",s=i[8](i[21])),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[9](i[21]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",Mt(gk)),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&c(t,"href",s),b&513&&f!==(f=i[9](i[21]))&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,Ze(h)}}}function ih(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&nh(i);return{c(){n&&n.c(),t=ke()},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=nh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function lh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
55
55
|
<div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function rh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=sh(xd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=sh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function ok(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function uk(i){let e,t,n,l,r;function s(h,_){return h[2]?ck:fk}let o=s(i),f=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),f.c(),n=K(),c(e,"class","fd-menu__item"),c(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),f.m(e,null),E(h,n,_),l||(r=se(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&f?f.p(i,_):(f.d(1),f=o(i),f&&(f.c(),f.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&c(e,"data-testid",t)},d(h){h&&R(e),f.d(),h&&R(n),l=!1,r()}}}function fk(i){let e,t,n=i[26]+"",l,r,s,o,f,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(t,"class","fd-menu__title"),c(e,"href",r=i[8](i[21])),c(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),c(e,"title",o=i[26])},m(h,_){E(h,e,_),w(e,t),w(t,l),f||(g=se(e,"click",i[16]),f=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Te(l,n),_&264&&r!==(r=h[8](h[21]))&&c(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&c(e,"class",s),_&138&&o!==(o=h[26])&&c(e,"title",o)},d(h){h&&R(e),f=!1,g()}}}function ck(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function dk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dk,then:uk,catch:ok,value:26};return ia(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ia(t,n)||i_(n,i,r)},d(l){l&&R(e),n.block.d(l),n.token=null,n=null}}}function ah(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=uh($d(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(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=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=uh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function oh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,f,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),c(n,"class","fd-menu__title"),c(t,"href",s=i[8](i[21])),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[9](i[21]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",i[18]),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&c(t,"href",s),b&513&&f!==(f=i[9](i[21]))&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,Ze(h)}}}function uh(i){let e,t=i[21].position==="bottom"&&oh(i);return{c(){t&&t.c(),e=ke()},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=oh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function hk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&th(i),f=i[3]&&i[3].length===0&&i[11]&&lh(),g=i[3]&&i[3].length&&rh(i),h=i[0]&&i[0].length&&ah(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),f&&f.c(),l=K(),g&&g.c(),r=K(),h&&h.c(),c(n,"class","fd-menu__list"),c(n,"id","context_menu_middle"),c(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),f&&f.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=th(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?f||(f=lh(),f.c(),f.m(n,l)):f&&(f.d(1),f=null),_[3]&&_[3].length?g?g.p(_,p):(g=rh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ah(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&c(e,"class",s)},i:Fe,o:Fe,d(_){_&&R(e),o&&o.d(),f&&f.d(),g&&g.d(),h&&h.d()}}}const gk=()=>{};function _k(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(y,B=>t(14,n=B)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:f}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const P=Ht();function I(B){P("onActionClick",{node:B})}function T(B,G){P("goToOption",{option:B,selectedOption:G})}const A=B=>I(B),L=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>T(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>I(B);return i.$$set=B=>{"actions"in B&&t(0,s=B.actions),"config"in B&&t(1,o=B.config),"customOptionsRenderer"in B&&t(2,f=B.customOptionsRenderer),"options"in B&&t(3,g=B.options),"selectedLabel"in B&&t(4,h=B.selectedLabel),"selectedOption"in B&&t(5,_=B.selectedOption),"isMobile"in B&&t(6,p=B.isMobile),"getNodeName"in B&&t(7,b=B.getNodeName),"getRouteLink"in B&&t(8,v=B.getRouteLink),"getTestId"in B&&t(9,S=B.getTestId),"getTranslation"in B&&r(t(10,y=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,C=B.isContextSwitcherDropdownShown)},[s,o,f,g,h,_,p,b,v,S,y,C,I,T,n,A,L,O,H,F]}class S_ extends Rt{constructor(e){super(),At(this,e,_k,hk,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function fh(i){let e,t,n,l=!i[9]&&ch(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[9]?l&&(Ce(),q(l,1,1,()=>{l=null}),ye()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=ch(s),l.c(),M(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&M(r,1)):(r=dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function ch(i){let e,t,n,l,r,s,o,f,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),qe(s.$$.fragment),c(n,"class","fd-popover__control"),c(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),c(r,"aria-hidden",o=!i[8].contextSwitcherPopover),c(r,"id","contextSwitcherPopover"),c(r,"data-testid","luigi-contextswitcher-popover"),c(t,"class","fd-popover fd-popover--right svelte-11j1get"),c(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){E(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),We(s,r,null),f=!0,g||(h=se(n,"click",Ut(Ik)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!f||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&c(r,"aria-hidden",o)},i(v){f||(M(s.$$.fragment,v),f=!0)},o(v){q(s.$$.fragment,v),f=!1},d(v){v&&R(e),b.d(),ze(s),g=!1,h()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?vk:bk}let f=o(i),g=f(i);return{c(){e=k("button"),g.c(),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),c(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",n=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",l=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=se(e,"click",i[31]),r=!0)},p(h,_){f===(f=o(h))&&g?g.p(h,_):(g.d(1),g=f(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&c(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&c(e,"aria-disabled",l)},d(h){h&&R(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ck:kk}let f=o(i),g=f(i);return{c(){e=k("a"),g.c(),c(e,"href",i[13]),c(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),c(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",n=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",l=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=se(e,"click",Mt(i[30])),r=!0)},p(h,_){f===(f=o(h))&&g?g.p(h,_):(g.d(1),g=f(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&c(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&c(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&c(e,"aria-disabled",l)},d(h){h&&R(e),g.d(),r=!1,s()}}}function bk(i){let e,t;function n(s,o){return s[4]?wk:Sk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),c(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&&R(e),s&&R(t)}}}function vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function kk(i){let e,t;function n(s,o){return s[4]?yk:Pk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),c(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&&R(e),s&&R(t)}}}function Ck(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function dh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I=!i[4]&&hh(i),T=i[4]&&gh(i);return h=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),T&&T.c(),f=K(),g=k("div"),qe(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",c(s,"class","fd-title fd-title--h5"),c(s,"id","dialog-title-3"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-dialog__header fd-bar fd-bar--header"),c(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),c(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(S,"data-testid","mobile-topnav-close"),c(v,"class","fd-bar__element"),c(b,"class","fd-bar__right"),c(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),c(t,"class","fd-dialog__content fd-dialog__content--mobile"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-3"),c(e,"class","fd-dialog fd-dialog--active")},m(A,L){E(A,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),T&&T.m(s,null),w(t,f),w(t,g),We(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(P=[se(S,"click",i[12]),se(e,"click",Ut(Tk))],C=!0)},p(A,L){A[4]?I&&(I.d(1),I=null):I?I.p(A,L):(I=hh(A),I.c(),I.m(s,o)),A[4]?T?T.p(A,L):(T=gh(A),T.c(),T.m(s,null)):T&&(T.d(1),T=null);const O={};L[0]&1&&(O.actions=A[0]),L[0]&32&&(O.config=A[5]),L[0]&64&&(O.customOptionsRenderer=A[6]),L[0]&2&&(O.options=A[1]),L[0]&16&&(O.selectedLabel=A[4]),L[0]&4&&(O.selectedOption=A[2]),L[0]&512&&(O.isMobile=A[9]),L[0]&16384&&(O.isContextSwitcherDropdownShown=A[14]),h.$set(O)},i(A){y||(M(h.$$.fragment,A),y=!0)},o(A){q(h.$$.fragment,A),y=!1},d(A){A&&R(e),I&&I.d(),T&&T.d(),ze(h),C=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Nk(i){let e,t,n=i[3]&&fh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=fh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:f=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,A,L=ht("getUnsavedChangesModalPromise"),O=ht("store"),H=ht("getTranslation");ki(i,H,ce=>t(16,l=ce));let F=!1,B,G,x;Jt(async()=>{on.doOnStoreChange(O,async()=>{const ce=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=ne.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=ne.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Z=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),_n.resetFallbackLabelCache(),ce.lazyloadOptions||await W(),_n.isContextSwitcherDetailsView(Z,ce.parentNodePath)&&await ue(Z)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>ue(ce)),An.addEventListener("message",ce=>{!Le.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),W())}),t(23,T=g.defaultLabel)}),zn(()=>{F!==I&&(F=I,W()),t(14,x=o.contextSwitcherPopover||!1)});function $(ce,Z,he){return ce?Promise.resolve(ce):_n.getFallbackLabel(Z,he)}function pe(ce){return ce.testId?ce.testId:Se.prepareForTests(ce.pathSegment,ce.label)}function ie(ce){return me.getNodeHref(ce,S)}async function W(){t(1,_=await _n.fetchOptions(_));const ce=g||{},Z=ce.parentNodePath,he=ce.fallbackLabelResolver,ae=et.getCurrentPath();t(2,b=await _n.getSelectedOption(ae,_,Z)),t(4,f=await _n.getSelectedLabel(ae,_,Z,he)),t(13,B=await _n.getSelectedNode(ae,_,Z)),A=ce.preserveSubPathOnSwitch}async function ue(ce){const Z=g||{},he=Z.parentNodePath,ae=Z.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(ce,_,he)),t(4,f=await _n.getSelectedLabel(ce,_,he,ae)),t(13,B=await _n.getSelectedNode(ce,_,he))}async function ee(ce){let Z=ce.detail.node;Z.clickHandler&&!await Z.clickHandler(Z)||(setTimeout(()=>{Y(Z.link)}),P&&r("toggleDropdownState"))}function Y(ce){L().then(()=>{et.navigateTo(ce)},()=>{})}function Pe(ce){let Z=ce.detail.option,he=ce.detail.selectedOption;L().then(()=>{A&&he?et.navigateTo(_n.getNodePathFromCurrentPath(Z,he)):et.navigateTo(Z.link),P&&r("toggleDropdownState")},()=>{})}function le(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&W()}const Ue=()=>{n&&le()},Ie=()=>{n&&le()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,f=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,P=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,T=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,f,g,y,C,o,P,ee,Pe,le,B,x,n,l,H,G,$,pe,ie,v,T,S,I,W,ue,Y,p,Ue,Ie]}class k_ extends Rt{constructor(e){super(),At(this,e,Lk,Nk,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Ak}=Fi;function _h(i,e,t){const n=i.slice();return n[22]=e[t],n}function ph(i){let e,t,n,l=!i[2]&&mh(i),r=i[2]&&i[3].productSwitcherPopover&&kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=mh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=kh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function mh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C;function P(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let I=P(i,-1),T=I(i),A=i[0],L=[];for(let O=0;O<A.length;O+=1)L[O]=Sh(_h(i,A,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),T.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<L.length;O+=1)L[O].c();c(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),c(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),c(r,"aria-haspopup","true"),c(r,"title",f=i[1].label),c(r,"data-testid",g=i[14](i[1])),c(l,"class","fd-popover__control"),c(b,"class","fd-product-switch__list"),c(p,"class",v=ei(i[9])+" svelte-1e1qi56"),c(_,"class","fd-popover__body fd-popover__body--right"),c(_,"aria-hidden",S=!i[3].productSwitcherPopover),c(_,"id","productSwitcherPopover"),c(n,"class","fd-popover fd-popover--right"),c(t,"class","fd-product-switch"),c(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,H){E(O,e,H),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<L.length;F+=1)L[F].m(b,null);y||(C=[se(r,"click",Ut(i[7])),se(l,"click",Ut(Hk))],y=!0)},p(O,H){if(I===(I=P(O,H))&&T?T.p(O,H):(T.d(1),T=I(O),T&&(T.c(),T.m(r,null))),H&8&&o!==(o=O[3].productSwitcherPopover||!1)&&c(r,"aria-expanded",o),H&2&&f!==(f=O[1].label)&&c(r,"title",f),H&2&&g!==(g=O[14](O[1]))&&c(r,"data-testid",g),H&64561){A=O[0];let F;for(F=0;F<A.length;F+=1){const B=_h(O,A,F);L[F]?L[F].p(B,H):(L[F]=Sh(B),L[F].c(),L[F].m(b,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=A.length}H&512&&v!==(v=ei(O[9])+" svelte-1e1qi56")&&c(p,"class",v),H&8&&S!==(S=!O[3].productSwitcherPopover)&&c(_,"aria-hidden",S)},d(O){O&&R(e),T.d(),ct(L,O),y=!1,Ze(C)}}}function Rk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[1].icon)||c(e,"src",t),c(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[1].icon)&&c(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Ek(i){let e,t;return{c(){e=k("i"),c(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))&&c(e,"class",t)},d(n){n&&R(e)}}}function bh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Vk:Dk}let f=o(i),g=f(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),c(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),c(e,"data-testid",l=i[14](i[22]))},m(_,p){E(_,e,p),g.m(e,null),w(e,t),r||(s=se(e,"click",h),r=!0)},p(_,p){i=_,f===(f=o(i))&&g?g.p(i,p):(g.d(1),g=f(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&c(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&c(e,"data-testid",l)},d(_){_&&R(e),g.d(),r=!1,s()}}}function Dk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,f,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Ok:Mk}let _=h(i,-1),p=_(i),b=g&&vh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),f=K(),b&&b.c(),c(e,"class","lui-product-switch__icon svelte-1e1qi56"),c(r,"class","fd-product-switch__title"),c(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,f),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Te(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&R(e),p.d(),v&&R(n),v&&R(l),b&&b.d()}}}function Vk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",f,g,h=i[13](i[22]),_,p,b;function v(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let S=v(i,-1),y=S(i),C=h&&wh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),f=Ne(o),g=K(),C&&C.c(),c(t,"class","lui-product-switch__icon svelte-1e1qi56"),c(s,"class","fd-product-switch__title"),c(r,"class","fd-product-switch__text"),c(e,"href",_=i[15](i[22])),c(e,"class","fd-menu__link")},m(P,I){E(P,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,f),w(r,g),C&&C.m(r,null),p||(b=se(e,"click",i[16]),p=!0)},p(P,I){S===(S=v(P,I))&&y?y.p(P,I):(y.d(1),y=S(P),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Te(f,o),I&1&&(h=P[13](P[22])),h?C?C.p(P,I):(C=wh(P),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=P[15](P[22]))&&c(e,"href",_)},d(P){P&&R(e),y.d(),C&&C.d(),p=!1,b()}}}function Mk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||c(e,"src",t),c(e,"alt",n=i[22].altText?i[22].altText:""),c(e,"class","svelte-1e1qi56")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[22].icon)&&c(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Ok(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function vh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Fk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||c(e,"src",t),c(e,"alt",n=i[22].altText?i[22].altText:""),c(e,"class","svelte-1e1qi56")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[22].icon)&&c(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Uk(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function wh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(t),c(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])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Sh(i){let e,t=i[22].label&&bh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=bh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function kh(i){let e,t;return e=new v_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&ph(i);return{c(){s&&s.c(),t=ke()},m(o,f){s&&s.m(o,f),E(o,t,f),n=!0,l||(r=se(Ak,"resize",oa),l=!0)},p(o,[f]){f&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,f),f&1&&M(s,1)):(s=ph(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(Ce(),q(s,1,1,()=>{s=null}),ye())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&R(t),l=!1,r()}}}function oa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Hk=()=>{};function Wk(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,f=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{on.doOnStoreChange(f,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),I()),oa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{et.navigateToLink(H)},()=>{}),v()}function b(H){p(H.detail)}function v(){n("toggleDropdownState")}function S(H){return Se.renderIconClassName(H)}function y(H){return Se.isOpenUIiconName(H.icon)}function C(H){return pt.getTranslation(H.label)}function P(H){return pt.getTranslation(H.subTitle)}function I(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function T(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function A(H){return me.getNodeHref(H)}const L=H=>{Se.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>p(H);return i.$$set=H=>{"productSwitcherItems"in H&&t(0,l=H.productSwitcherItems),"isMobile"in H&&t(2,r=H.isMobile),"config"in H&&t(1,s=H.config),"dropDownStates"in H&&t(3,o=H.dropDownStates),"addNavHrefForAnchor"in H&&t(4,_=H.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,oa,h,S,y,C,P,T,A,L,O]}class C_ extends Rt{constructor(e){super(),At(this,e,Wk,Bk,Tt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return oa}}function Ch(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function zk(i){let e,t,n;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),c(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){E(l,e,r),i[19](e),e.focus(),t||(n=se(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&R(e),i[19](null),t=!1,n()}}}function qk(i){let e;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),c(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&&R(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&R(e),i[23](null)}}}function Kk(i){let e,t,n,l=i[5]&&yh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),c(t,"class","fd-menu svelte-1jkaxo8"),c(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),c(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=yh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&c(e,"aria-hidden",n)},d(r){r&&R(e),l&&l.d()}}}function yh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ph(Ch(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(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=Ch(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ph(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l),i[22](null)}}}function jk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function Jk(i){let e,t,n,l=i[31].label+"",r,s,o,f=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(f),c(n,"class","fd-product-switch__title svelte-1jkaxo8"),c(o,"class","fd-product-switch__subtitle"),c(t,"class","fd-product-switch__text"),c(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),b[0]&32&&f!==(f=p[31].description+"")&&Te(g,f)},d(p){p&&R(e),h=!1,_()}}}function Ph(i){let e,t,n,l;function r(h,_){return h[9]?jk:Jk}let s=r(i),o=s(i);function f(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=K(),c(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),c(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",f),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&R(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S;function y(L,O){return L[7]&&L[7].disableInputHandlers?qk:zk}let C=y(i),P=C(i);function I(L,O){return L[8]?Gk:Kk}let T=I(i),A=T(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),A.c(),f=K(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),c(l,"class","fd-input-group fd-shellbar__input-group"),c(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),c(n,"aria-hidden",s=!i[4]),c(n,"aria-haspopup","true"),c(t,"class","fd-popover svelte-1jkaxo8"),c(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),c(p,"class","sap-icon sap-icon--search"),c(_,"class","fd-button fd-button--transparent fd-shellbar__button"),c(_,"aria-haspopup","true"),c(_,"aria-expanded",b=!i[4]),c(_,"data-testid","luigi-search-btn-desktop"),c(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,O){E(L,e,O),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),A.m(n,null),E(L,f,O),E(L,g,O),w(g,h),w(h,_),w(_,p),v||(S=[se(window,"click",i[11]),se(window,"blur",i[11]),se(n,"click",Ut(Zk)),se(_,"click",i[6]),se(h,"click",Ut(Xk))],v=!0)},p(L,O){C===(C=y(L))&&P?P.p(L,O):(P.d(1),P=C(L),P&&(P.c(),P.m(l,null))),T===(T=I(L))&&A?A.p(L,O):(A.d(1),A=T(L),A&&(A.c(),A.m(n,null))),O[0]&16&&s!==(s=!L[4])&&c(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&c(e,"class",o),O[0]&16&&b!==(b=!L[4])&&c(_,"aria-expanded",b)},i:Fe,o:Fe,d(L){L&&R(e),P.d(),A.d(),L&&R(f),L&&R(g),v=!1,Ze(S)}}}const Qk=()=>{},Zk=()=>{},Xk=()=>{};function $k(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:f}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ee=>{b.searchProvider.onSearchResultItemSelected(ee)}};let b={},v,S;Jt(async()=>{t(7,b=h);let ee=o;const Y=C(b.searchProvider);Y&&(ee.placeholder=Y),y()}),zn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=ne.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=ne.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C(ee){if(!ee||!ee.inputPlaceholder)return;const Y=pt.getCurrentLocale();if(ne.isFunction(ee.inputPlaceholder))return ee.inputPlaceholder();if(typeof ee.inputPlaceholder=="string"){const Pe=pt.getTranslation(ee.inputPlaceholder);return!!Pe&&Pe.trim().length>0?Pe:ee.inputPlaceholder}if(typeof ee.inputPlaceholder=="object")return ee.inputPlaceholder[Y]}function P(ee,Y,Pe){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ee,Y.children[Pe],p)}),""}function I(){_("closeSearchResult")}function T({keyCode:ee}){b&&b.searchProvider?ne.isFunction(b.searchProvider.onEnter)&&ee===Si?b.searchProvider.onEnter():ne.isFunction(b.searchProvider.onEscape)&&ee===wi?b.searchProvider.onEscape():ee===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function A(ee){let Y=g.children;if(Y)for(let Pe=0;Pe<Y.length;Pe++){let{childNodes:le,nextSibling:Ue,previousSibling:Ie}=Y[Pe],ce;if(le[0].getAttribute("aria-selected")==="true"){ee===Oi&&(ce=Ue!==null?Ue:Y[0]),ee===El&&(ce=Ie!==null?Ie:Y[Y.length-1]),le[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function L(){let ee=g.children;if(ee)for(let Y=0;Y<ee.length;Y++){let Pe=ee[Y];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function O(ee){b&&ne.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ee):ne.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function H(ee,{keyCode:Y}){Y===Si&&b.searchProvider.onSearchResultItemSelected(ee),Y===El||Y===Oi?A(Y):ne.isFunction(b.searchProvider.onEscape)&&Y===wi&&(L(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(ee){let Y=ee.pathObject;Y.externalLink?et.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function B(){o&&o.focus()}function G(){if(n?t(0,r=!1):setTimeout(()=>{B()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:f}),b&&b.searchProvider&&ne.isFunction(b.searchProvider.toggleSearch)){const ee=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ee)}}const x=ee=>T(ee);function $(ee){$e[ee?"unshift":"push"](()=>{o=ee,t(1,o)})}const pe=(ee,Y)=>O(ee),ie=(ee,Y)=>H(ee,Y);function W(ee){$e[ee?"unshift":"push"](()=>{g=ee,t(3,g)})}function ue(ee){$e[ee?"unshift":"push"](()=>{f=ee,t(2,f)})}return i.$$set=ee=>{"isSearchFieldVisible"in ee&&t(4,n=ee.isSearchFieldVisible),"searchResult"in ee&&t(5,l=ee.searchResult),"displaySearchResult"in ee&&t(0,r=ee.displaySearchResult),"displayCustomSearchResult"in ee&&t(15,s=ee.displayCustomSearchResult),"inputElem"in ee&&t(1,o=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(2,f=ee.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ee&&t(3,g=ee.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ee&&t(16,h=ee.globalSearchConfig)},[r,o,f,g,n,l,G,b,v,S,P,I,T,O,H,s,h,F,x,$,pe,ie,W,ue]}class xk extends Rt{constructor(e){super(),At(this,e,$k,Yk,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Nh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function eC(i){let e,t,n,l,r,s,o,f=i[11]&&Ih(i);return{c(){e=k("input"),t=K(),n=k("span"),f&&f.c(),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),c(e,"data-testid","luigi-search-input"),c(r,"aria-label","button-search"),c(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),c(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),f&&f.m(n,null),w(n,l),w(n,r),s||(o=[se(e,"keyup",i[25]),se(e,"input",i[27]),se(r,"click",i[17])],s=!0)},p(g,h){g[11]?f?f.p(g,h):(f=Ih(g),f.c(),f.m(n,l)):f&&(f.d(1),f=null)},d(g){g&&R(e),i[26](null),g&&R(t),g&&R(n),f&&f.d(),s=!1,Ze(o)}}}function tC(i){let e;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),c(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&R(e)}}}function Ih(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',c(e,"aria-label","button-decline"),c(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){E(l,e,r),t||(n=se(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&R(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&R(e),i[31](null)}}}function iC(i){let e,t,n,l=i[4]&&Th(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),c(t,"class","fd-menu"),c(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),c(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=Th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&c(e,"aria-hidden",n)},d(r){r&&R(e),l&&l.d()}}}function Th(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(Nh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(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=Nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l),i[30](null)}}}function lC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function rC(i){let e,t,n,l=i[40].label+"",r,s,o,f=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(f),c(n,"class","fd-product-switch__title"),c(o,"class","fd-product-switch__subtitle"),c(t,"class","fd-product-switch__text"),c(e,"class","fd-menu__link")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),b[0]&16&&f!==(f=p[40].description+"")&&Te(g,f)},d(p){p&&R(e),h=!1,_()}}}function Lh(i){let e,t,n,l;function r(h,_){return h[10]?lC:rC}let s=r(i),o=s(i);function f(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=K(),c(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),c(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",f),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&R(e),o.d(),n=!1,Ze(l)}}}function Ah(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),c(l,"class","sap-icon sap-icon--search"),c(n,"class","fd-button fd-button--transparent fd-shellbar__button"),c(n,"aria-haspopup","true"),c(n,"aria-expanded",r=!i[5]),c(n,"data-testid","luigi-search-btn-desktop"),c(t,"class","fd-shellbar__group"),c(e,"class","lui-global-search-btn svelte-1yci3dk")},m(f,g){E(f,e,g),w(e,t),w(t,n),w(n,l),s||(o=[se(n,"click",i[6]),se(t,"click",Ut(uC))],s=!0)},p(f,g){g[0]&32&&r!==(r=!f[5])&&c(n,"aria-expanded",r)},d(f){f&&R(e),s=!1,Ze(o)}}}function Rh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,f;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),c(t,"aria-haspopup","true"),c(t,"aria-expanded",r=!i[5]),c(t,"data-testid","luigi-search-cancel-btn"),c(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||(f=se(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Te(l,n),h[0]&32&&r!==(r=!g[5])&&c(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")&&c(e,"class",s)},d(g){g&&R(e),o=!1,f()}}}function sC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(A,L){return A[8]&&A[8].disableInputHandlers?tC:eC}let v=b(i),S=v(i);function y(A,L){return A[9]?nC:iC}let C=y(i),P=C(i),I=!i[5]&&Ah(i),T=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),P.c(),f=K(),I&&I.c(),g=K(),T&&T.c(),h=ke(),c(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),c(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),c(n,"aria-hidden",s=!i[5]),c(n,"aria-haspopup","true"),c(t,"class","fd-popover svelte-1yci3dk"),c(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),P.m(n,null),E(A,f,L),I&&I.m(A,L),E(A,g,L),T&&T.m(A,L),E(A,h,L),_||(p=[se(window,"click",i[15]),se(window,"blur",i[15]),se(n,"click",Ut(oC))],_=!0)},p(A,L){v===(v=b(A))&&S?S.p(A,L):(S.d(1),S=v(A),S&&(S.c(),S.m(l,null))),C===(C=y(A))&&P?P.p(A,L):(P.d(1),P=C(A),P&&(P.c(),P.m(n,null))),L[0]&32&&s!==(s=!A[5])&&c(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(A[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&c(e,"class",o),A[5]?I&&(I.d(1),I=null):I?I.p(A,L):(I=Ah(A),I.c(),I.m(g.parentNode,g)),A[5]?T?T.p(A,L):(T=Rh(A),T.c(),T.m(h.parentNode,h)):T&&(T.d(1),T=null)},i:Fe,o:Fe,d(A){A&&R(e),S.d(),P.d(),A&&R(f),I&&I.d(A),A&&R(g),T&&T.d(A),A&&R(h),_=!1,Ze(p)}}}const aC=()=>{},oC=()=>{},uC=()=>{};function fC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:f}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ae=>{S.searchProvider.onSearchResultItemSelected(ae)}};let b=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,P=!1,I=ht("getTranslation");ki(i,I,ae=>t(12,n=ae)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let ae=o;const Ve=A(S.searchProvider);Ve&&(ae.placeholder=Ve),T(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ge=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),zn(()=>{t(8,S=h),T(),B()});function T(){t(9,y=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultItemRenderer))}function A(ae){if(!ae||!ae.inputPlaceholder)return;const Ve=pt.getCurrentLocale();if(ne.isFunction(ae.inputPlaceholder))return ae.inputPlaceholder();if(typeof ae.inputPlaceholder=="string"){const He=pt.getTranslation(ae.inputPlaceholder);return!!He&&He.trim().length>0?He:ae.inputPlaceholder}if(typeof ae.inputPlaceholder=="object")return ae.inputPlaceholder[Ve]}function L(ae,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ae,Ve.children[He],p)}),""}function O(){_("closeSearchResult")}function H({keyCode:ae}){S?ne.isFunction(S.searchProvider.onEnter)&&ae===Si?S.searchProvider.onEnter():ne.isFunction(S.searchProvider.onEscape)&&ae===wi?S.searchProvider.onEscape():ae===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&ne.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function B(){o&&o.value?t(11,P=!0):t(11,P=!1)}function G(){t(1,o.value="",o),O(),t(11,P=!1)}function x(ae){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:Ge,previousSibling:St}=Ve[He],Wt;if(be[0].getAttribute("aria-selected")==="true"){ae===Oi&&(Wt=Ge!==null?Ge:Ve[0]),ae===El&&(Wt=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Wt.childNodes[0].setAttribute("aria-selected","true"),Wt.focus();break}}}function $(){let ae=g.children;if(ae)for(let Ve=0;Ve<ae.length;Ve++){let He=ae[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(ae){S&&ne.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ae):ne.isFunction(S.searchProvider.onEscape)&&event.keyCode===wi&&S.searchProvider.onEscape()}function ie(ae,{keyCode:Ve}){Ve===Si&&S.searchProvider.onSearchResultItemSelected(ae),Ve===El||Ve===Oi?x(Ve):ne.isFunction(S.searchProvider.onEscape)&&Ve===wi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function W(ae){let Ve=ae.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function ue(){o&&o.focus()}function ee(){if(v?t(0,r=!1):setTimeout(()=>{ue()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:f}),ne.isFunction(S.searchProvider.toggleSearch)){const ae=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ae)}}const Y=ae=>H(ae);function Pe(ae){$e[ae?"unshift":"push"](()=>{o=ae,t(1,o)})}const le=()=>B(),Ue=(ae,Ve)=>pe(ae),Ie=(ae,Ve)=>ie(ae,Ve);function ce(ae){$e[ae?"unshift":"push"](()=>{g=ae,t(3,g)})}function Z(ae){$e[ae?"unshift":"push"](()=>{f=ae,t(2,f)})}const he=()=>ee();return i.$$set=ae=>{"searchResult"in ae&&t(4,l=ae.searchResult),"displaySearchResult"in ae&&t(0,r=ae.displaySearchResult),"displayCustomSearchResult"in ae&&t(22,s=ae.displayCustomSearchResult),"inputElem"in ae&&t(1,o=ae.inputElem),"luigiCustomSearchRenderer__slot"in ae&&t(2,f=ae.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ae&&t(3,g=ae.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ae&&t(23,h=ae.globalSearchConfig),"isSearchFieldVisible"in ae&&t(5,v=ae.isSearchFieldVisible)},[r,o,f,g,l,v,ee,b,S,y,C,P,n,I,L,O,H,F,B,G,pe,ie,s,h,W,Y,Pe,le,Ue,Ie,ce,Z,he]}class cC extends Rt{constructor(e){super(),At(this,e,fC,sC,Tt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?hC:dC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function dC(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon sap-icon"),lt(e.src,t=i[0].icon)||c(e,"src",t),c(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[0].icon)&&c(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function hC(i){let e,t;return{c(){e=k("span"),c(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))&&c(e,"class",t)},d(n){n&&R(e)}}}function Dh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Ui({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(t),l=K(),qe(r.$$.fragment)},m(o,f){E(o,e,f),w(e,n),w(e,l),We(r,e,null),s=!0},p(o,f){(!s||f&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};f&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&R(e),ze(r)}}}function gC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&M(r,1)):(r=Dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function _C(i,e,t){let{node:n}=e;function l(o){return Se.isOpenUIiconName(o.icon)}function r(o){return Se.renderIconClassName(o)}function s(o){return Se.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Eo extends Rt{constructor(e){super(),At(this,e,_C,gC,Tt,{node:0})}}const{Boolean:y_,window:Vh}=Fi;function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Oh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function pC(i){let e,t;return e=new b_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function mC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Fh(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 V2({props:y}),$e.push(()=>vt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),I=(i[18]||i[7]&&i[30].length>0)&&Wh(i),T=(i[0]||i[16])&&ig(i),A=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),qe(l.$$.fragment),s=K(),C&&C.c(),o=K(),f=k("div"),P&&P.c(),g=K(),I&&I.c(),h=K(),T&&T.c(),_=K(),A&&A.c(),c(t,"class","fd-shellbar__group fd-shellbar__group--product"),c(f,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),c(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),c(e,"tabindex","0")},m(L,O){E(L,e,O),w(e,t),v&&v.m(t,null),w(t,n),We(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,f),P&&P.m(f,null),w(f,g),I&&I.m(f,null),w(f,h),T&&T.m(f,null),w(f,_),A&&A.m(f,null),b=!0},p(L,O){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,O):(v=Fh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const H={};O[0]&1073741824&&(H.pathData=L[30]),O[1]&1&&(H.pathParams=L[31]),O[0]&268435456&&(H.addNavHrefForAnchor=L[28]),!r&&O[0]&64&&(r=!0,H.dropDownStates=L[6],bt(()=>r=!1)),l.$set(H),L[18]&&L[19]?C?(C.p(L,O),O[0]&786432&&M(C,1)):(C=Uh(L),C.c(),M(C,1),C.m(e,o)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),!L[0]||L[1]?P?(P.p(L,O),O[0]&3&&M(P,1)):(P=Bh(L),P.c(),M(P,1),P.m(f,g)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,O),O[0]&1074004096&&M(I,1)):(I=Wh(L),I.c(),M(I,1),I.m(f,h)):I&&(Ce(),q(I,1,1,()=>{I=null}),ye()),L[0]||L[16]?T?(T.p(L,O),O[0]&65537&&M(T,1)):(T=ig(L),T.c(),M(T,1),T.m(f,_)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),L[12]?A?(A.p(L,O),O[0]&4096&&M(A,1)):(A=lg(L),A.c(),M(A,1),A.m(f,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&c(e,"class",p)},i(L){b||(M(l.$$.fragment,L),M(C),M(P),M(I),M(T),M(A),b=!0)},o(L){q(l.$$.fragment,L),q(C),q(P),q(I),q(T),q(A),b=!1},d(L){L&&R(e),v&&v.d(),ze(l),C&&C.d(),P&&P.d(),I&&I.d(),T&&T.d(),A&&A.d()}}}function Fh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),c(t,"class","sap-icon sap-icon--menu2"),c(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),c(e,"tabindex","0"),c(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=se(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&c(e,"title",r[26])},d(r){r&&R(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,f,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function b(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new cC({props:y}),$e.push(()=>vt(t,"isSearchFieldVisible",h)),$e.push(()=>vt(t,"searchResult",_)),$e.push(()=>vt(t,"displaySearchResult",p)),$e.push(()=>vt(t,"displayCustomSearchResult",b)),$e.push(()=>vt(t,"inputElem",v)),$e.push(()=>vt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),c(e,"class","lui-global-search")},m(C,P){E(C,e,P),We(t,e,null),g=!0},p(C,P){const I={};P[0]&262144&&(I.globalSearchConfig=C[18]),!n&&P[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,I.searchResult=C[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,I.displaySearchResult=C[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,I.inputElem=C[21],bt(()=>o=!1)),!f&&P[0]&4194304&&(f=!0,I.luigiCustomSearchRenderer__slot=C[22],bt(()=>f=!1)),t.$set(I)},i(C){g||(M(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&R(e),ze(t)}}}function Bh(i){let e,t,n,l,r=i[18]&&!i[19]&&Hh(i);function s(f){i[78](f)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new k_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),qe(t.$$.fragment)},m(f,g){r&&r.m(f,g),E(f,e,g),We(t,f,g),l=!0},p(f,g){f[18]&&!f[19]?r?(r.p(f,g),g[0]&786432&&M(r,1)):(r=Hh(f),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=f[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=f[6],bt(()=>n=!1)),t.$set(h)},i(f){l||(M(r),M(t.$$.fragment,f),l=!0)},o(f){q(r),q(t.$$.fragment,f),l=!1},d(f){r&&r.d(f),f&&R(e),ze(t,f)}}}function Hh(i){let e,t,n,l,r,s,o,f;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function b(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"searchResult",h)),$e.push(()=>vt(e,"displaySearchResult",_)),$e.push(()=>vt(e,"displayCustomSearchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),f=!0},p(y,C){const P={};C[0]&262144&&(P.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,P.isSearchFieldVisible=y[20],bt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,P.searchResult=y[25],bt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,P.displaySearchResult=y[23],bt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,P.displayCustomSearchResult=y[24],bt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,P.inputElem=y[21],bt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=y[22],bt(()=>o=!1)),e.$set(P)},i(y){f||(M(e.$$.fragment,y),f=!0)},o(y){q(e.$$.fragment,y),f=!1},d(y){ze(e,y)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&jh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&M(l,1)):(l=zh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&M(r,1)):(r=jh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kh(Oh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let f;for(f=0;f<n.length;f+=1){const g=Oh(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Kh(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function qh(i){let e,t,n,l;const r=[vC,bC],s=[];function o(f,g){return f[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(f,g){s[e].m(f,g),E(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(f,g):(t=s[e]=r[e](f),t.c()),M(t,1),t.m(n.parentNode,n))},i(f){l||(M(t),l=!0)},o(f){q(t),l=!1},d(f){s[e].d(f),f&&R(n)}}}function bC(i){let e,t,n,l,r;const s=[SC,wC],o=[];function f(g,h){return g[28]?0:1}return t=f(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=K(),c(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=f(g),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(e,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){g&&R(e),o[t].d()}}}function vC(i){let e=i[111].visibleChildren.filter(rg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=ke()},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(rg).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=Gh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&R(t)}}}function wC(i){let e,t,n,l,r,s,o,f,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Eo({props:b}),$e.push(()=>vt(t,"node",p)),r=new ti({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),c(e,"title",s=i[52](i[111],i[49](i[111]))),c(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(e,"aria-expanded","false"),c(e,"aria-haspopup","true"),c(e,"data-testid",f=i[50](i[111]))},m(S,y){E(S,e,y),We(t,e,null),w(e,l),We(r,e,null),g=!0,h||(_=se(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],bt(()=>n=!1)),t.$set(C);const P={};y[0]&128&&(P.node=i[111]),r.$set(P),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&c(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!g||y[0]&128&&f!==(f=i[50](i[111])))&&c(e,"data-testid",f)},i(S){g||(M(t.$$.fragment,S),M(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&R(e),ze(t),ze(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Eo({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),c(e,"href",s=i[51](i[111])),c(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(e,"title",f=i[52](i[111],i[49](i[111]))),c(e,"aria-expanded","false"),c(e,"aria-haspopup","true"),c(e,"data-testid",g=i[50](i[111]))},m(y,C){E(y,e,C),We(t,e,null),w(e,l),We(r,e,null),h=!0,_||(p=se(e,"click",S),_=!0)},p(y,C){i=y;const P={};!n&&C[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&c(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!h||C[0]&128&&f!==(f=i[52](i[111],i[49](i[111]))))&&c(e,"title",f),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&c(e,"data-testid",g)},i(y){h||(M(t.$$.fragment,y),M(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&R(e),ze(t),ze(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(H){i[80](H,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Eo({props:L}),$e.push(()=>vt(r,"node",A)),f=new ti({props:{node:i[111]}});function O(){return i[81](i[113])}return S=new w_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=K(),qe(f.$$.fragment),b=K(),v=k("div"),qe(S.$$.fragment),C=K(),c(l,"title",g=i[52](i[111],i[49](i[111]))),c(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(l,"aria-controls","dropDownPopover-"+i[113]),c(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),c(l,"aria-haspopup","true"),c(l,"data-testid",p=i[50](i[111])),c(n,"class","fd-popover__control"),c(v,"class","fd-popover__body fd-popover__body--right"),c(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),c(v,"id","dropDownPopover-"+i[113]),c(t,"class","fd-popover fd-popover--right"),c(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,l),We(r,l,null),w(l,o),We(f,l,null),w(t,b),w(t,v),We(S,v,null),w(e,C),P=!0,I||(T=[se(l,"click",O),se(n,"click",Ut(OC))],I=!0)},p(H,F){i=H;const B={};!s&&F[0]&128&&(s=!0,B.node=i[111],bt(()=>s=!1)),r.$set(B);const G={};F[0]&128&&(G.node=i[111]),f.$set(G),(!P||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&c(l,"title",g),(!P||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(l,"class",h),(!P||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&c(l,"aria-expanded",_),(!P||F[0]&128&&p!==(p=i[50](i[111])))&&c(l,"data-testid",p);const x={};F[0]&128&&(x.node=i[111]),F[1]&1&&(x.pathParams=i[31]),F[0]&268435456&&(x.addNavHrefForAnchor=i[28]),S.$set(x),(!P||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&c(v,"aria-hidden",y)},i(H){P||(M(r.$$.fragment,H),M(f.$$.fragment,H),M(S.$$.fragment,H),P=!0)},o(H){q(r.$$.fragment,H),q(f.$$.fragment,H),q(S.$$.fragment,H),P=!1},d(H){H&&R(e),ze(r),ze(f),ze(S),I=!1,Ze(T)}}}function Kh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&qh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=qh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function jh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T,A,L,O,H;g=new ti({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Jh(i),B=i[46]&&(!i[0]||i[1])&&Yh(i),G=i[7]&&Qh(i),x=i[12]&&xh(i),$=i[12]&&eg(i),pe=i[14]&&tg(i),ie=(!i[0]||i[1])&&ng(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),f=K(),qe(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),B&&B.c(),y=K(),G&&G.c(),C=K(),x&&x.c(),I=K(),$&&$.c(),T=K(),pe&&pe.c(),A=K(),ie&&ie.c(),c(o,"class","sap-icon sap-icon--overflow"),c(s,"class","fd-shellbar__button fd-button fd-button--transparent"),c(s,"aria-controls","overflowPopover"),c(s,"aria-expanded",h=i[6].overflowPopover||!1),c(s,"aria-haspopup","true"),c(s,"data-testid","mobile-menu"),c(r,"class","fd-shellbar-collapse--control"),c(r,"aria-expanded","false"),c(r,"aria-haspopup","true"),c(r,"role","button"),c(l,"class","fd-popover__control"),c(v,"class","fd-menu__list fd-menu__list--no-shadow"),c(b,"class","fd-menu"),c(p,"class","fd-popover__body fd-popover__body--right"),c(p,"aria-hidden",P=!i[6].overflowPopover),c(p,"id","overflowPopover"),c(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),c(t,"class","fd-shellbar-collapse"),c(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(W,ue){E(W,e,ue),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,f),We(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),B&&B.m(v,null),w(v,y),G&&G.m(v,null),w(v,C),x&&x.m(v,null),w(n,I),$&&$.m(n,null),w(n,T),pe&&pe.m(n,null),w(n,A),ie&&ie.m(n,null),L=!0,O||(H=[se(s,"click",i[86]),se(l,"click",Ut(FC))],O=!0)},p(W,ue){const ee={};ue[0]&2048&&(ee.node=W[11]),g.$set(ee),(!L||ue[0]&64&&h!==(h=W[6].overflowPopover||!1))&&c(s,"aria-expanded",h),W[18]&&!W[19]?F?F.p(W,ue):(F=Jh(W),F.c(),F.m(v,S)):F&&(F.d(1),F=null),W[46]&&(!W[0]||W[1])?B?B.p(W,ue):(B=Yh(W),B.c(),B.m(v,y)):B&&(B.d(1),B=null),W[7]?G?(G.p(W,ue),ue[0]&128&&M(G,1)):(G=Qh(W),G.c(),M(G,1),G.m(v,C)):G&&(Ce(),q(G,1,1,()=>{G=null}),ye()),W[12]?x?x.p(W,ue):(x=xh(W),x.c(),x.m(v,null)):x&&(x.d(1),x=null),(!L||ue[0]&64&&P!==(P=!W[6].overflowPopover))&&c(p,"aria-hidden",P),W[12]?$?($.p(W,ue),ue[0]&4096&&M($,1)):($=eg(W),$.c(),M($,1),$.m(n,T)):$&&(Ce(),q($,1,1,()=>{$=null}),ye()),W[14]?pe?(pe.p(W,ue),ue[0]&16384&&M(pe,1)):(pe=tg(W),pe.c(),M(pe,1),pe.m(n,A)):pe&&(Ce(),q(pe,1,1,()=>{pe=null}),ye()),!W[0]||W[1]?ie?(ie.p(W,ue),ue[0]&3&&M(ie,1)):(ie=ng(W),ie.c(),M(ie,1),ie.m(n,null)):ie&&(Ce(),q(ie,1,1,()=>{ie=null}),ye())},i(W){L||(M(g.$$.fragment,W),M(G),M($),M(pe),M(ie),L=!0)},o(W){q(g.$$.fragment,W),q(G),q($),q(pe),q(ie),L=!1},d(W){W&&R(e),ze(g),F&&F.d(),B&&B.d(),G&&G.d(),x&&x.d(),$&&$.d(),pe&&pe.d(),ie&&ie.d(),O=!1,Ze(H)}}}function Jh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
57
57
|
<span class="fd-menu__title">Search</span>`,c(t,"class","fd-menu__link"),c(t,"data-testid","luigi-search-btn-mobile"),c(e,"class","fd-menu__item")},m(r,s){E(r,e,s),w(e,t),n||(l=se(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&R(e),n=!1,l()}}}function Yh(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",f,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=K(),s=k("span"),f=Ne(o),c(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"),c(s,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,f),g||(h=se(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&c(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Te(f,o)},d(_){_&&R(e),g=!1,h()}}}function Qh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=$h(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let f;for(f=0;f<n.length;f+=1){const g=Mh(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=$h(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function Zh(i){let e,t,n,l,r;const s=[CC,kC],o=[];function f(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(MC).length>0),e?1:-1):0}return~(t=f(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=ke()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?~t&&o[t].p(g,h):(n&&(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&R(l)}}}function kC(i){let e,t,n,l,r,s,o,f,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(A,L){return L[0]&128&&(l=null),l==null&&(l=!!A[48](A[111])),l?PC:yC}let P=C(i,[-1,-1,-1,-1]),I=P(i);s=new ti({props:{node:i[111]}});function T(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),f=k("span"),h=Ne(g),b=K(),c(n,"class","fd-top-nav__icon svelte-1kyy3lw"),c(f,"class","fd-list__title"),c(t,"href",_=i[51](i[111])),c(t,"title",p=i[52](i[111],i[49](i[111]))),c(t,"class","fd-menu__link"),c(t,"data-e2e","mobile-topnav-dropdown-category"),c(e,"class","fd-menu__item")},m(A,L){E(A,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,f),w(f,h),w(e,b),v=!0,S||(y=se(t,"click",Mt(T)),S=!0)},p(A,L){i=A,P===(P=C(i,L))&&I?I.p(i,L):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};L[0]&128&&(O.node=i[111]),s.$set(O),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&c(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&c(t,"title",p)},i(A){v||(M(s.$$.fragment,A),v=!0)},o(A){q(s.$$.fragment,A),v=!1},d(A){A&&R(e),I.d(),ze(s),S=!1,y()}}}function CC(i){let e,t,n,l=!i[48](i[111]),r,s,o,f,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,P,I=l&&Xh(i);s=new ti({props:{node:i[111]}});function T(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),qe(s.$$.fragment),f=K(),g=k("span"),_=Ne(h),S=K(),c(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),c(g,"class","fd-menu__title"),c(t,"href",p=i[51](i[111])),c(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),c(t,"data-testid",v=i[50](i[111])+"-mobile"),c(e,"class","fd-menu__item")},m(A,L){E(A,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),We(s,n,null),w(t,f),w(t,g),w(g,_),w(e,S),y=!0,C||(P=se(t,"click",Mt(T)),C=!0)},p(A,L){i=A,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=Xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};L[0]&128&&(O.node=i[111]),s.$set(O),(!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"))&&c(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Te(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&c(t,"href",p),(!y||L[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&c(t,"class",b),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&c(t,"data-testid",v)},i(A){y||(M(s.$$.fragment,A),y=!0)},o(A){q(s.$$.fragment,A),y=!1},d(A){A&&R(e),I&&I.d(),ze(s),C=!1,P()}}}function yC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||c(e,"src",t),c(e,"alt",n=i[111].altText?i[111].altText:""),c(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&c(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function PC(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function Xh(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||c(e,"src",t),c(e,"alt",n=i[111].altText?i[111].altText:""),c(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&c(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function $h(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Zh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Zh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function xh(i){let e,t,n,l,r,s=i[13].label+"",o,f,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?IC:NC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),r=k("span"),o=Ne(s),c(r,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(t,"data-testid","mobile-product-switcher"),c(e,"class","fd-menu__item")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),f||(g=se(t,"click",Ut(i[32])),f=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Te(o,s)},d(b){b&&R(e),p.d(),f=!1,g()}}}function NC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||c(t,"src",n),c(t,"alt",l=i[13].altText?i[13].altText:""),c(t,"class","svelte-1kyy3lw"),c(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&&!lt(t.src,n=r[13].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function IC(i){let e,t;return{c(){e=k("i"),c(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")&&c(e,"class",t)},d(n){n&&R(e)}}}function eg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const f={};!t&&o[0]&64&&(t=!0,f.dropDownStates=s[6],bt(()=>t=!1)),e.$set(f)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function tg(i){let e,t;return e=new w_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function ng(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function f(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new k_({props:g}),$e.push(()=>vt(e,"dropDownStates",s)),$e.push(()=>vt(e,"selectedLabel",o)),$e.push(()=>vt(e,"defaultLabel",f)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){We(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],bt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],bt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],bt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){ze(e,h)}}}function ig(i){let e,t,n,l,r;const s=[LC,TC],o=[];function f(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ne.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=f(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),c(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),c(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=f(g,h),n===_?o[n].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),M(l,1),l.m(e,null))},i(g){r||(M(l),r=!0)},o(g){q(l),r=!1},d(g){g&&R(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S;function y(I,T){return I[17].picture?RC:AC}let C=y(i),P=C(i);return _=new b_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),g=K(),h=k("div"),qe(_.$$.fragment),c(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),c(r,"aria-expanded",s=i[6].profilePopover||!1),c(r,"aria-haspopup","true"),c(r,"aria-controls","profilePopover"),c(r,"title",o=i[17].name?i[17].name:void 0),c(r,"tabindex","0"),c(r,"data-testid","luigi-topnav-profile-btn"),c(l,"class",f=i[17].picture?"fd-shellbar__button--user-menu":""),c(n,"class","fd-popover__control"),c(h,"class","fd-popover__body fd-popover__body--right"),c(h,"aria-hidden",p=!i[6].profilePopover),c(h,"id","profilePopover"),c(t,"class","fd-popover"),c(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,T){E(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,h),We(_,h,null),b=!0,v||(S=[se(r,"click",i[99]),se(n,"click",Ut(BC))],v=!0)},p(I,T){C===(C=y(I))&&P?P.p(I,T):(P.d(1),P=C(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&s!==(s=I[6].profilePopover||!1))&&c(r,"aria-expanded",s),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&c(r,"title",o),(!b||T[0]&131072&&f!==(f=I[17].picture?"fd-shellbar__button--user-menu":""))&&c(l,"class",f);const A={};T[0]&268435456&&(A.addNavHrefForAnchor=I[28]),_.$set(A),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&c(h,"aria-hidden",p)},i(I){b||(M(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&R(e),P.d(),ze(_),v=!1,Ze(S)}}}function LC(i){let e,t,n,l,r,s,o,f,g;function h(b,v){return b[17].picture?DC:EC}let _=h(i),p=_(i);return r=new q2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),qe(r.$$.fragment),c(t,"class","fd-popover__control"),c(l,"class","fd-popover__body fd-popover__body--right"),c(l,"aria-hidden",s=!i[6].profilePopover),c(l,"id","profilePopover"),c(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),We(r,l,null),o=!0,f||(g=se(t,"click",Ut(UC)),f=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&c(l,"aria-hidden",s)},i(b){o||(M(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&R(e),p.d(),ze(r),f=!1,g()}}}function AC(i){let e,t;return{c(){e=k("i"),c(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"))&&c(e,"class",t)},d(n){n&&R(e)}}}function RC(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&R(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ne(t),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),c(e,"aria-expanded","true"),c(e,"aria-haspopup","true"),c(e,"title",l=i[17].name?i[17].name:void 0),c(e,"tabindex","0"),c(e,"data-testid","luigi-topnav-profile-initials")},m(o,f){E(o,e,f),w(e,n),r||(s=se(e,"click",i[97]),r=!0)},p(o,f){f[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),f[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&c(e,"title",l)},d(o){o&&R(e),r=!1,s()}}}function DC(i){let e,t,n,l;return{c(){e=k("button"),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),c(e,"aria-controls","profilePopover"),c(e,"aria-expanded","true"),c(e,"aria-haspopup","true"),c(e,"title",t=i[17].name?i[17].name:void 0),c(e,"tabindex","0"),oi(e,"background-image","url('"+i[17].picture+"')"),c(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=se(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&c(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&R(e),n=!1,l()}}}function lg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const f={};o[0]&268435456&&(f.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,f.dropDownStates=s[6],bt(()=>t=!1)),e.$set(f)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function VC(i){let e,t,n,l,r,s;const o=[mC,pC],f=[];function g(h,_){return h[29]?0:1}return e=g(i),t=f[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){f[e].m(h,_),E(h,n,_),l=!0,r||(s=[se(Vh,"click",i[41]),se(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?f[e].p(h,_):(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye(),t=f[e],t?t.p(h,_):(t=f[e]=o[e](h),t.c()),M(t,1),t.m(n.parentNode,n))},i(h){l||(M(t),l=!0)},o(h){q(t),l=!1},d(h){f[e].d(h),h&&R(n),r=!1,Ze(s)}}}const MC=i=>!i.hideFromNav&&i.label,rg=i=>!i.hideFromNav&&i.label,OC=()=>{},FC=()=>{},UC=()=>{},BC=()=>{};function HC(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:f}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:A}=e,{openMobileDropDown:L}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{urlAuthError:B}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:x}=e,{isSearchFieldVisible:$}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ie}=e,{displaySearchResult:W}=e,{displayCustomSearchResult:ue}=e,{searchResult:ee}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:Pe}=e,le=ht("store"),Ue=!1,Ie,ce,Z=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ae=async()=>{if(_&&0<_.length){const J=await Se.generateTopNavNodes(_);t(7,S=J.children),t(8,y=J.selectedNode),t(9,C=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},Ve=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{on.doOnStoreChange(le,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,H=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,T=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,f=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,Pe=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,A=Se.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,x=G&&G.searchFieldCentered&&ne.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),t(28,he=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Z=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(le,()=>{ae()},["navigation.viewgroupdata"]),An.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&ae()})}),zn(()=>{(!p||p!=_)&&ae(),Ve()});let{showTopNav:He}=e;function be(J){return Se.renderIconClassName(J)}function Ge(J){return Se.isOpenUIiconName(J.icon)}const St=J=>Se.getNodeLabel(J);function Wt(J){return J.testId?J.testId:Se.prepareForTests(J.pathSegment,J.label)}function kt(J){return me.getNodeHref(J,b)}function Yt(J,tt){return Se.generateTooltipText(J,tt)}function pn(){Et("productSwitcherPopover")}function un(){t(43,Ue=!Ue),Et("contextSwitcherPopover")}function mn(J){t(14,L=!0),t(15,O=J)}function Bi(){t(14,L=!1)}function bn(J){n("handleClick",{node:J})}function Qt(J){n("handleSearchNavigation",{node:J})}function Rn(J){bn(J.detail.node)}function Et(J){const tt=v||{},dn=!tt[J];qn(),Bi(),tt[J]=dn,t(6,v=tt)}function cl(J){Et(J.detail.name)}function xt(){pe&&pe.focus()}function fn(){$||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:pe,luigiCustomSearchRenderer__slot:ie})}function qn(){const J=v||{},tt=Object.keys(J);tt&&tt.length>0&&tt.forEach(dn=>{J[dn]=!1,t(6,v=J)})}function qt(){f==="simple"||f==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!Se.getBurgerTooltipConfig())return;const[J,tt]=Se.getBurgerTooltipConfig();J&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?J:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?J:tt))}function fi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){mi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function cn(J){const tt=J.detail;t(17,F=tt||{})}function Ci(J){v=J,t(6,v)}function te(J){$=J,t(20,$)}function Ae(J){ee=J,t(25,ee)}function at(J){W=J,t(23,W)}function Nt(J){ue=J,t(24,ue)}function Ct(J){pe=J,t(21,pe)}function ln(J){ie=J,t(22,ie)}function En(J){Al.call(this,i,J)}function Gn(J){Al.call(this,i,J)}function ni(J){Al.call(this,i,J)}function Ml(J){$=J,t(20,$)}function Hi(J){ee=J,t(25,ee)}function pr(J){W=J,t(23,W)}function mr(J){ue=J,t(24,ue)}function Ol(J){pe=J,t(21,pe)}function br(J){ie=J,t(22,ie)}function vr(J){Al.call(this,i,J)}function wr(J){Al.call(this,i,J)}function dl(J){Al.call(this,i,J)}function Sr(J){v=J,t(6,v)}const yi=()=>Et("contextSwitcherPopover");function Wi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const hl=J=>Et(`dropDownPopover-${J}`);function zi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Fl=(J,tt)=>{Se.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(J)};function Ul(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Bl=J=>bn(J),kr=()=>Et("overflowPopover"),yn=()=>{fn(),Et("overflowPopover")},qi=J=>bn(J),gl=J=>mn(J);function Hl(J){v=J,t(6,v)}const Cr=()=>Et("productSwitcherPopover");function Gi(J){v=J,t(6,v)}function _l(J){Ie=J,t(44,Ie)}function pl(J){ce=J,t(45,ce)}const di=()=>Et("contextSwitcherPopover"),Wl=()=>Et("profilePopover"),Pi=()=>Et("profilePopover"),yr=()=>Et("profilePopover"),gt=()=>Et("profilePopover"),ml=()=>Et("profilePopover");function Ki(J){v=J,t(6,v)}const bl=()=>Et("productSwitcherPopover"),vl=()=>Et("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(54,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,s=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,f=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,h=J.showGlobalNav),"pathData"in J&&t(30,_=J.pathData),"pathParams"in J&&t(31,b=J.pathParams),"dropDownStates"in J&&t(6,v=J.dropDownStates),"children"in J&&t(7,S=J.children),"selectedNode"in J&&t(8,y=J.selectedNode),"visibleNodeCount"in J&&t(9,C=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,T=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,A=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,L=J.openMobileDropDown),"nodeForMobile"in J&&t(15,O=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,H=J.profileItemsAvailable),"userInfo"in J&&t(17,F=J.userInfo),"urlAuthError"in J&&t(55,B=J.urlAuthError),"globalSearchConfig"in J&&t(18,G=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,x=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,$=J.isSearchFieldVisible),"inputElem"in J&&t(21,pe=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,ie=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,W=J.displaySearchResult),"displayCustomSearchResult"in J&&t(24,ue=J.displayCustomSearchResult),"searchResult"in J&&t(25,ee=J.searchResult),"burgerTooltip"in J&&t(26,Y=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(27,Pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(28,he=J.addNavHrefForAnchor),"showTopNav"in J&&t(29,He=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,f,g,h,v,S,y,C,P,I,T,A,L,O,H,F,G,x,$,pe,ie,W,ue,ee,Y,Pe,he,He,_,b,pn,un,mn,Bi,bn,Rn,Et,cl,fn,qn,cn,Ue,Ie,ce,Z,be,Ge,St,Wt,kt,Yt,qt,r,B,Qt,fi,ci,Ci,te,Ae,at,Nt,Ct,ln,En,Gn,ni,Ml,Hi,pr,mr,Ol,br,vr,wr,dl,Sr,yi,Wi,hl,zi,Fl,Ul,Bl,kr,yn,qi,gl,Hl,Cr,Gi,_l,pl,di,Wl,Pi,yr,gt,ml,Ki,bl,vl]}class WC extends Rt{constructor(e){super(),At(this,e,HC,VC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function sg(i){let e;return{c(){e=k("div"),c(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function zC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=sg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function qC(i,e,t){let{node:n}=e;async function l(){var o,f;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return{context:((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context,pathParams:((f=s.pathData)==null?void 0:f.pathParams)||{},clientPermissions:s.nodeObject.clientPermissions||{}}}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");cr.renderWebComponent(n.viewUrl,s,r,n),s.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class GC extends Rt{constructor(e){super(),At(this,e,qC,zC,Tt,{node:0})}}const{window:Co}=Fi;function ag(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n}function ug(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n}function dg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function hg(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),I=Object.entries(i[0]),T=[];for(let F=0;F<I.length;F+=1)T[F]=Sg(fg(i,I,F));const A=F=>q(T[F],1,1,()=>{T[F]=null});let L=Object.entries(i[0]),O=[];for(let F=0;F<L.length;F+=1)O[F]=Pg(ag(i,L,F));const H=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("div"),P&&P.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let F=0;F<T.length;F+=1)T[F].c();s=K(),o=k("div"),f=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
|