@luigi-project/core 2.8.1-dev.202401310024 → 2.8.1-dev.202402100024
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.css +1 -1
- package/luigi.js +1 -1
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -51,7 +51,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
51
51
|
`)+ve+`return __p
|
|
52
52
|
}`;var nt=Df(function(){return bt(V,Ue+"return "+ve).apply(t,W)});if(nt.source=ve,co(nt))throw nt;return nt}function h0(a){return wt(a).toLowerCase()}function g0(a){return wt(a).toUpperCase()}function _0(a,u,d){if(a=wt(a),a&&(d||u===t))return Wo(a);if(!a||!(u=Mn(u)))return a;var b=ni(a),P=ni(u),V=zo(b,P),W=qo(b,P)+1;return nl(b,V,W).join("")}function p0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Ko(a)+1);if(!a||!(u=Mn(u)))return a;var b=ni(a),P=qo(b,ni(u))+1;return nl(b,0,P).join("")}function m0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(di,"");if(!a||!(u=Mn(u)))return a;var b=ni(a),P=zo(b,ni(u));return nl(b,P).join("")}function b0(a,u){var d=B,b=G;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?Mn(u.omission):b}a=wt(a);var V=a.length;if(Kl(a)){var W=ni(a);V=W.length}if(d>=V)return a;var K=d-jl(b);if(K<1)return b;var $=W?nl(W,0,K).join(""):a.slice(0,K);if(P===t)return $+b;if(W&&(K+=$.length-K),ho(P)){if(a.slice(K).search(P)){var he,ge=$;for(P.global||(P=Ta(P.source,wt(Hi.exec(P))+"g")),P.lastIndex=0;he=P.exec(ge);)var ve=he.index;$=$.slice(0,ve===t?K:ve)}}else if(a.indexOf(Mn(P),K)!=K){var Ae=$.lastIndexOf(P);Ae>-1&&($=$.slice(0,Ae))}return $+b}function v0(a){return a=wt(a),a&&Ui.test(a)?a.replace(ti,Y_):a}var w0=xl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Du("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?q_(a)?X_(a):V_(a):a.match(u)||[]}var Df=lt(function(a,u){try{return Dn(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),S0=Ai(function(a,u){return Gn(u,function(d){d=_i(d),Ti(a,d,uo(a[d],a))}),a});function C0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ft(a,function(b){if(typeof b[1]!="function")throw new Kn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var V=a[P];if(Dn(V[0],this,b))return Dn(V[1],this,b)}})}function k0(a){return Yp(Jn(a,_))}function mo(a){return function(){return a}}function y0(a,u){return a==null||a!==a?u:a}var P0=Mu(),N0=Mu(!0);function Tn(a){return a}function bo(a){return cu(typeof a=="function"?a:Jn(a,_))}function I0(a){return hu(Jn(a,_))}function T0(a,u){return gu(a,Jn(u,_))}var L0=lt(function(a,u){return function(d){return Mr(d,a,u)}}),A0=lt(function(a,u){return function(d){return Mr(a,d,u)}});function vo(a,u,d){var b=nn(u),P=As(u,b);d==null&&!(Bt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=As(u,nn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,W=Ri(a);return Gn(P,function(K){var $=u[K];a[K]=$,W&&(a.prototype[K]=function(){var he=this.__chain__;if(V||he){var ge=a(this.__wrapped__),ve=ge.__actions__=Pn(this.__actions__);return ve.push({func:$,args:arguments,thisArg:a}),ge.__chain__=he,ge}return $.apply(a,Zi([this.value()],arguments))})}),a}function E0(){return qt._===this&&(qt._=ip),this}function wo(){}function R0(a){return a=et(a),lt(function(u){return _u(u,a)})}var D0=Za(Ft),V0=Za(Oo),M0=Za(Sa);function Vf(a){return io(a)?Ca(_i(a)):cm(a)}function O0(a){return function(u){return a==null?t:Pl(a,u)}}var F0=Fu(),U0=Fu(!0);function So(){return[]}function Co(){return!1}function B0(){return{}}function H0(){return""}function W0(){return!0}function z0(a,u){if(a=et(a),a<1||a>be)return[];var d=Ce,b=dn(a,Ce);u=Ke(u),a-=Ce;for(var P=Pa(b,u);++d<a;)u(d);return P}function q0(a){return $e(a)?Ft(a,_i):On(a)?[a]:Pn(xu(wt(a)))}function G0(a){var u=++tp;return wt(a)+u}var K0=Os(function(a,u){return a+u},0),j0=Xa("ceil"),J0=Os(function(a,u){return a/u},1),Y0=Xa("floor");function Q0(a){return a&&a.length?Ls(a,Tn,Oa):t}function Z0(a,u){return a&&a.length?Ls(a,Ke(u,2),Oa):t}function X0(a){return Bo(a,Tn)}function $0(a,u){return Bo(a,Ke(u,2))}function x0(a){return a&&a.length?Ls(a,Tn,Ha):t}function ew(a,u){return a&&a.length?Ls(a,Ke(u,2),Ha):t}var tw=Os(function(a,u){return a*u},1),nw=Xa("round"),iw=Os(function(a,u){return a-u},0);function lw(a){return a&&a.length?ya(a,Tn):0}function rw(a,u){return a&&a.length?ya(a,Ke(u,2)):0}return D.after=Ib,D.ary=cf,D.assign=gv,D.assignIn=Pf,D.assignInWith=Qs,D.assignWith=_v,D.at=pv,D.before=df,D.bind=uo,D.bindAll=S0,D.bindKey=hf,D.castArray=Bb,D.chain=of,D.chunk=Ym,D.compact=Qm,D.concat=Zm,D.cond=C0,D.conforms=k0,D.constant=mo,D.countBy=lb,D.create=mv,D.curry=gf,D.curryRight=_f,D.debounce=pf,D.defaults=bv,D.defaultsDeep=vv,D.defer=Tb,D.delay=Lb,D.difference=Xm,D.differenceBy=$m,D.differenceWith=xm,D.drop=e1,D.dropRight=t1,D.dropRightWhile=n1,D.dropWhile=i1,D.fill=l1,D.filter=sb,D.flatMap=ub,D.flatMapDeep=fb,D.flatMapDepth=cb,D.flatten=lf,D.flattenDeep=r1,D.flattenDepth=s1,D.flip=Ab,D.flow=P0,D.flowRight=N0,D.fromPairs=a1,D.functions=Nv,D.functionsIn=Iv,D.groupBy=db,D.initial=u1,D.intersection=f1,D.intersectionBy=c1,D.intersectionWith=d1,D.invert=Lv,D.invertBy=Av,D.invokeMap=gb,D.iteratee=bo,D.keyBy=_b,D.keys=nn,D.keysIn=In,D.map=qs,D.mapKeys=Rv,D.mapValues=Dv,D.matches=I0,D.matchesProperty=T0,D.memoize=Ks,D.merge=Vv,D.mergeWith=Nf,D.method=L0,D.methodOf=A0,D.mixin=vo,D.negate=js,D.nthArg=R0,D.omit=Mv,D.omitBy=Ov,D.once=Eb,D.orderBy=pb,D.over=D0,D.overArgs=Rb,D.overEvery=V0,D.overSome=M0,D.partial=fo,D.partialRight=mf,D.partition=mb,D.pick=Fv,D.pickBy=If,D.property=Vf,D.propertyOf=O0,D.pull=p1,D.pullAll=sf,D.pullAllBy=m1,D.pullAllWith=b1,D.pullAt=v1,D.range=F0,D.rangeRight=U0,D.rearg=Db,D.reject=wb,D.remove=w1,D.rest=Vb,D.reverse=ao,D.sampleSize=Cb,D.set=Bv,D.setWith=Hv,D.shuffle=kb,D.slice=S1,D.sortBy=Nb,D.sortedUniq=T1,D.sortedUniqBy=L1,D.split=u0,D.spread=Mb,D.tail=A1,D.take=E1,D.takeRight=R1,D.takeRightWhile=D1,D.takeWhile=V1,D.tap=Q1,D.throttle=Ob,D.thru=zs,D.toArray=Cf,D.toPairs=Tf,D.toPairsIn=Lf,D.toPath=q0,D.toPlainObject=yf,D.transform=Wv,D.unary=Fb,D.union=M1,D.unionBy=O1,D.unionWith=F1,D.uniq=U1,D.uniqBy=B1,D.uniqWith=H1,D.unset=zv,D.unzip=oo,D.unzipWith=af,D.update=qv,D.updateWith=Gv,D.values=nr,D.valuesIn=Kv,D.without=W1,D.words=Rf,D.wrap=Ub,D.xor=z1,D.xorBy=q1,D.xorWith=G1,D.zip=K1,D.zipObject=j1,D.zipObjectDeep=J1,D.zipWith=Y1,D.entries=Tf,D.entriesIn=Lf,D.extend=Pf,D.extendWith=Qs,vo(D,D),D.add=K0,D.attempt=Df,D.camelCase=Qv,D.capitalize=Af,D.ceil=j0,D.clamp=jv,D.clone=Hb,D.cloneDeep=zb,D.cloneDeepWith=qb,D.cloneWith=Wb,D.conformsTo=Gb,D.deburr=Ef,D.defaultTo=y0,D.divide=J0,D.endsWith=Zv,D.eq=li,D.escape=Xv,D.escapeRegExp=$v,D.every=rb,D.find=ab,D.findIndex=tf,D.findKey=wv,D.findLast=ob,D.findLastIndex=nf,D.findLastKey=Sv,D.floor=Y0,D.forEach=uf,D.forEachRight=ff,D.forIn=Cv,D.forInRight=kv,D.forOwn=yv,D.forOwnRight=Pv,D.get=go,D.gt=Kb,D.gte=jb,D.has=Tv,D.hasIn=_o,D.head=rf,D.identity=Tn,D.includes=hb,D.indexOf=o1,D.inRange=Jv,D.invoke=Ev,D.isArguments=Tl,D.isArray=$e,D.isArrayBuffer=Jb,D.isArrayLike=Nn,D.isArrayLikeObject=Gt,D.isBoolean=Yb,D.isBuffer=il,D.isDate=Qb,D.isElement=Zb,D.isEmpty=Xb,D.isEqual=$b,D.isEqualWith=xb,D.isError=co,D.isFinite=ev,D.isFunction=Ri,D.isInteger=bf,D.isLength=Js,D.isMap=vf,D.isMatch=tv,D.isMatchWith=nv,D.isNaN=iv,D.isNative=lv,D.isNil=sv,D.isNull=rv,D.isNumber=wf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=Wr,D.isRegExp=ho,D.isSafeInteger=av,D.isSet=Sf,D.isString=Ys,D.isSymbol=On,D.isTypedArray=tr,D.isUndefined=ov,D.isWeakMap=uv,D.isWeakSet=fv,D.join=h1,D.kebabCase=xv,D.last=Qn,D.lastIndexOf=g1,D.lowerCase=e0,D.lowerFirst=t0,D.lt=cv,D.lte=dv,D.max=Q0,D.maxBy=Z0,D.mean=X0,D.meanBy=$0,D.min=x0,D.minBy=ew,D.stubArray=So,D.stubFalse=Co,D.stubObject=B0,D.stubString=H0,D.stubTrue=W0,D.multiply=tw,D.nth=_1,D.noConflict=E0,D.noop=wo,D.now=Gs,D.pad=n0,D.padEnd=i0,D.padStart=l0,D.parseInt=r0,D.random=Yv,D.reduce=bb,D.reduceRight=vb,D.repeat=s0,D.replace=a0,D.result=Uv,D.round=nw,D.runInContext=Q,D.sample=Sb,D.size=yb,D.snakeCase=o0,D.some=Pb,D.sortedIndex=C1,D.sortedIndexBy=k1,D.sortedIndexOf=y1,D.sortedLastIndex=P1,D.sortedLastIndexBy=N1,D.sortedLastIndexOf=I1,D.startCase=f0,D.startsWith=c0,D.subtract=iw,D.sum=lw,D.sumBy=rw,D.template=d0,D.times=z0,D.toFinite=Di,D.toInteger=et,D.toLength=kf,D.toLower=h0,D.toNumber=Zn,D.toSafeInteger=hv,D.toString=wt,D.toUpper=g0,D.trim=_0,D.trimEnd=p0,D.trimStart=m0,D.truncate=b0,D.unescape=v0,D.uniqueId=G0,D.upperCase=w0,D.upperFirst=po,D.each=uf,D.eachRight=ff,D.first=rf,vo(D,function(){var a={};return hi(D,function(u,d){kt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,Gn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),Gn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:$t(et(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=dn(d,b.__takeCount__):b.__views__.push({size:dn(d,Ce),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Gn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==Z||d==j;ot.prototype[a]=function(P){var V=this.clone();return V.__iteratees__.push({iteratee:Ke(P,3),type:d}),V.__filtered__=V.__filtered__||b,V}}),Gn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Gn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ot.prototype[a]=function(){return this.__filtered__?new ot(this):this[d](1)}}),ot.prototype.compact=function(){return this.filter(Tn)},ot.prototype.find=function(a){return this.filter(a).head()},ot.prototype.findLast=function(a){return this.reverse().find(a)},ot.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new ot(this):this.map(function(d){return Mr(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(js(Ke(a)))},ot.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(Ce)},hi(ot.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=D[b?"take"+(u=="last"?"Right":""):u],V=b||/^find/.test(u);P&&(D.prototype[u]=function(){var W=this.__wrapped__,K=b?[1]:arguments,$=W instanceof ot,he=K[0],ge=$||$e(W),ve=function(at){var ct=P.apply(D,Zi([at],K));return b&&Ae?ct[0]:ct};ge&&d&&typeof he=="function"&&he.length!=1&&($=ge=!1);var Ae=this.__chain__,Ue=!!this.__actions__.length,Je=V&&!Ae,nt=$&&!Ue;if(!V&&ge){W=nt?W:new ot(this);var Ye=a.apply(W,K);return Ye.__actions__.push({func:zs,args:[ve],thisArg:t}),new jn(Ye,Ae)}return Je&&nt?a.apply(this,K):(Ye=this.thru(ve),Je?b?Ye.value()[0]:Ye.value():Ye)})}),Gn(["pop","push","shift","sort","splice","unshift"],function(a){var u=gs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var V=this.value();return u.apply($e(V)?V:[],P)}return this[d](function(W){return u.apply($e(W)?W:[],P)})}}),hi(ot.prototype,function(a,u){var d=D[u];if(d){var b=d.name+"";kt.call(Zl,b)||(Zl[b]=[]),Zl[b].push({name:u,func:d})}}),Zl[Ms(t,y).name]=[{name:"wrapper",func:t}],ot.prototype.clone=vp,ot.prototype.reverse=wp,ot.prototype.value=Sp,D.prototype.at=Z1,D.prototype.chain=X1,D.prototype.commit=$1,D.prototype.next=x1,D.prototype.plant=tb,D.prototype.reverse=nb,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=ib,D.prototype.first=D.prototype.head,Tr&&(D.prototype[Tr]=eb),D},Jl=$_();Ji?((Ji.exports=Jl)._=Jl,ji._=Jl):qt._=Jl}).call(qr)})(sa,sa.exports);var jr=sa.exports;class xw{getNodePath(e,t){return e?_e.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=se.getConfigValue("routing.useHashRouting"),g=se.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?_e.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=se.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const w={detail:{preventContextUpdate:s,withoutSync:!r}},m=new CustomEvent("popstate",w);window.dispatchEvent(m)}getWindowPath(){return se.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=_e.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=_e.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=_e.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return se.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=se.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&_e.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(se.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){se.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const h=await Vt.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),_=await _e.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await _e.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),h=await _e.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Vt.extractDataFromPath(o),p=h.viewUrl||"";if(await this.handleViewUrlMisconfigured(h,p,c,g,t)||await this.handlePageNotFound(h,p,_,o,t,g,l))return;const w=se.getConfigBooleanValue("settings.hideNavigation"),m=_e.parseParams(g.split("?")[1]),v=_e.getNodeParams(m),k=Se.findViewGroup(h),y=decodeURIComponent(g.split("?")[1]||""),N=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let I=!1,A=N;for(;A;){if(A.tabNav===!0){I=!0;break}else if(A.tabNav===!1){I=!1;break}else if(le.isObject(A.tabNav)){if(A.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in A.tabNav&&A.children)if(A.tabNav.hideTabNavAutomatically===!0&&A.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}A=Se.getParentNode(A,_.navigationPath)}let R=N,E=h.hideSideNav;if(E===void 0)for(;R;){if(R.tabNav&&R.hideSideNav===!0){E=!0;break}if(R.hideSideNav===!1){E=!1;break}R=Se.getParentNode(R,_.navigationPath)}const O=_e.substituteDynamicParamsInObject(Object.assign({},_.context,N.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:w,viewUrl:p,nodeParams:v,viewGroup:k,urlParamsRaw:y,currentNode:N,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:h.isolateView||!1,tabNav:I};t.set(Object.assign({},H,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(I?F.classList.add("iframeContainerTabNav"):F.classList.contains("iframeContainerTabNav")&&F.classList.remove("iframeContainerTabNav")),h.compound)si.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)si.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponent(t,h);else{const G=document.querySelector(".wcContainer");if(G&&(G.configChangedRequest=!1),F&&(F.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await si.navigateIframe(l,t,n);else{const ee=t.get(),te=await t.prepareInternalData(l);Te.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ee.context),nodeParams:JSON.stringify(ee.nodeParams),pathParams:JSON.stringify(ee.pathParams),searchParams:JSON.stringify(_e.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(te),withoutSync:!0})}}const B=document.querySelector(".lui-tab-header");B&&B.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(c.currentNode,N)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=_e.getModalPathFromPath();if(e){const t=_e.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);p_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(_e.isDynamicNode(c)){if(!r||o!==_e.getDynamicNodeValue(c,e.pathParams)){Bn.deleteNodesRecursively(c);break}}else r=!1}}else Bn.deleteCache()}handleRouteClick(e,t){const n=_e.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Te.getIframeContainer(),s=si.getActiveIframe(r);s&&s.vg&&si.canCache(s.vg)?(si.switchActiveIframe(Te.getIframeContainer(),void 0,!1),setTimeout(()=>{si.switchActiveIframe(Te.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=_e.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Te.getIframeContainer(),r):this.navigateTo(o);return}_e.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...jw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=_e.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=_e.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ar.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&ar.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>Se.checkVisibleForFeatureToggles(s))),ar.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=_e.getHashQueryParamSeparator();const r=_e.getQueryParams(),s=_e.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${_e.encodeParams(r)}`}else o.search=`?${_e.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=_e.getHashQueryParamSeparator();const l=_e.getQueryParams(),r=_e.getModalViewParamName(),s=l[r],o=new URL(location.href),c=se.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,w]=o.hash.split("?");h=p,_=_e.getURLWithoutModalData(w,r),_&&(h+="?"+_)}else h=o.pathname,_=_e.getURLWithoutModalData(o.search,r),_&&(h+="?"+_e.getURLWithoutModalData(o.search,r));if(g=_e.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${_e.encodeParams(l)}`}else o.search=`?${_e.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let w=p.hash.split("?")[0];p.hash=w,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=_e.getQueryParams(),n=_e.getModalViewParamName();let l=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=_e.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const xe=new xw;class e2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=_e.substituteViewUrl(e,t));const l=Te.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),t),r=_e.parseParams(n.split("?")[1]),s=_e.getNodeParams(r),o=_e.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ar.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(le.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+le.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Te.getIframeContainer().style.marginBottom="",rt.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Te.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Te.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Te.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new e2;class t2{luigiAfterInit(){se.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const n2=new t2;class i2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=se.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ai=new i2;class l2{constructor(){return this._userInfoStore=or({}),this._loggedInStore=or(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=se.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=se.getConfigValue(`auth.${e}`),n=sl.parseUrlAuthErrors()||{};if(await sl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),se.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(se.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await bi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ll(this._userInfoStore))),le.isFunction(se.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await bi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await bi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=se.getConfigValue(`auth.${se.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!le.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(se.getConfigValue("auth.events.onAuthConfigError")))await bi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const ln=new l2;class r2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Jr=new r2;class s2{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await bi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const sl=new s2;class a2{sanitizeHtml(e=""){return e.replace(/&/g,"&").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"),c=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(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").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,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),w=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(w,_),links:s.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const fr=new a2;class o2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=jr.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),jr.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!se.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=se._remotePromises;return l||(l={counter:0,promises:[]},se._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return se._remotePromises?se._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new o2;class u2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return yw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Te.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=se.getConfigValue("settings.customSandboxRules"),c=se.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Jr.hasDecorators()?Jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,w)=>{c[w]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=se.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Te.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Te.specialIframeTypes.filter(n=>Te.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ro.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:To.getCurrentTheme()}}}const Te=new u2;class f2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=se.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Ro.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(bi.isAuthorizationEnabled()){const r=sl.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=se.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=se.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,w=_.order||0;return p-w})};return e.forEach(g=>{let h,_;const p=g[t];le.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let w=r[h];w||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),w=[],r[h]=w),w.metaInfo||(w.metaInfo=_),le.isObject(p)&&w.metaInfo._fromString&&(delete w.metaInfo._fromString,w.metaInfo={...w.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?w.metaInfo.titleExpandButton=p.titleExpandButton:w.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?w.metaInfo.titleCollapseButton=p.titleCollapseButton:w.metaInfo.titleCollapseButton=l.titleCollapseButton),!w.metaInfo.categoryUid&&h&&w.metaInfo.collapsible&&(w.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||w.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=se.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(w=>{!n&&w===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const w=h.category.label||h.category;if(s[w]){if(s[w].icon||(s[w].icon=h.category.icon,s[w].altText=h.category.altText),p&&!s[w].badgeCounter)s[w].badgeCounter={label:"",count:()=>_};else if(p){const m=s[w].badgeCounter.count()+_;s[w].badgeCounter.count=()=>m}}else s[w]={isCat:!0,label:w,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[w]);s[w].children.push(h)}else o.push(h);_&&c.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Vt.getChildren(o[h])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:se.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";xe.navigateTo(t)}}getBurgerTooltipConfig(){const e=se.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return se.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Te.getLocation(e.viewUrl)===Te.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}}const Se=new f2;class c2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ia.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=se.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=se.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return se.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=_e.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?_e.parseParams(_e.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return _e.getLocation().search?_e.parseParams(_e.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(se.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=se.getConfigValue("routing.useHashRouting");Ln.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?xe.getHashPath():xe.getModifiedPathname();e(l)}}),Ln.addEventListener("popstate",n=>{const l=t?xe.getHashPath(location.href):xe.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:_e.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:xe.buildFromRelativePath(e);return l+s}const r=_e.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=_e.getRouteLink(e,t,se.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(se.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=_e.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];rl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,rl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[fr.sanitizeParam(n[0])]=fr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Ro.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=se.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=se.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in rl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=rl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&rl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=se.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:pt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const _e=new c2;class d2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const fn=new d2;class h2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Ln=new h2;class g2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Te.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Te.sendMessageToIframe(s,r))}}const _2=new g2;class p2{constructor(){}processUserSettingGroups(){const e=[],t=se.getConfigValue("userSettings.userSettingGroups"),n=se.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Te.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const rr=new p2;class m2{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Wf=new m2;function zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function qf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=C("div"),t=C("p"),l=q(),r=C("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=q(),f(t,"class","fd-message-strip__text svelte-q4rpsc"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-q4rpsc"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),S(e,t),t.innerHTML=n,S(e,l),S(e,r),S(e,s),c||(g=ae(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-q4rpsc")&&f(e,"class",o)},d(_){_&&T(e),c=!1,g()}}}function b2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qf(zf(i,t,l));return{c(){e=C("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-q4rpsc"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=qf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&T(e),dt(n,l),i[5](null)}}}function v2(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=gt("getUnsavedChangesModalPromise"),c=gt("handleNavigation");Hn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(w=>{const{text:m,links:v,closeAfter:k}=w.settings,y=fr.processTextAndLinks(m,v,w.settings.id);if(setTimeout(()=>{y.links.forEach(N=>{g(N,w.settings.id)})}),w.settings.afterInit){const N=s;w.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:w.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...w.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),jt(()=>{});function g(p,w){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=k=>{if(p.url){const y=!p.url.startsWith("/");k.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:y}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:w,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){tt[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class w2 extends Rt{constructor(e){super(),Et(this,e,v2,b2,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,wi=13,vi=27,Yr=32,S2=36,C2=35;function Gf(i){let e,t;return{c(){e=C("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Kf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function k2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",w,m,v,k,y,N,I=i[0].buttonDismiss+"",A,R,E,O,H,F=i[0].type&&Gf(i),B=i[0].buttonConfirm!==!1&&Kf(i);return{c(){e=C("div"),t=C("section"),n=C("header"),l=C("div"),r=C("div"),F&&F.c(),s=q(),o=C("h2"),g=Ne(c),h=q(),_=C("div"),w=q(),m=C("footer"),v=C("div"),B&&B.c(),k=q(),y=C("div"),N=C("button"),A=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-lzffuc"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",R="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(G,ee){L(G,e,ee),S(e,t),S(t,n),S(n,l),S(l,r),F&&F.m(r,null),S(r,s),S(r,o),S(o,g),S(t,h),S(t,_),_.innerHTML=p,S(t,w),S(t,m),S(m,v),B&&B.m(v,null),S(v,k),S(v,y),S(y,N),S(N,A),O||(H=[ae(window,"keydown",i[1]),ae(N,"click",i[5])],O=!0)},p(G,[ee]){G[0].type?F?F.p(G,ee):(F=Gf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),ee&1&&c!==(c=G[0].header+"")&&Ie(g,c),ee&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,ee):(B=Kf(G),B.c(),B.m(v,k)):B&&(B.d(1),B=null),ee&1&&I!==(I=G[0].buttonDismiss+"")&&Ie(A,I),ee&1&&R!==(R="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",R),ee&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Fe,o:Fe,d(G){G&&T(e),F&&F.d(),B&&B.d(),O=!1,Qe(H)}}}function y2(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:fr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Te.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return Se.renderIconClassName(h)}function o(h){h.keyCode===vi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class P2 extends Rt{constructor(e){super(),Et(this,e,y2,k2,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function N2(i){let e,t,n;const l=i[5].default,r=t_(l,i,i[4],null);return{c(){e=C("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(s,o){L(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&l_(r,l,s,s[4],n?i_(l,s[4],o,null):r_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){z(r,s),n=!1},d(s){s&&T(e),r&&r.d(s)}}}function I2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=m+g.data.heightCssClass):t(0,s=m+"height-auto"):t(0,s="")},w=m=>{if(!h)return!0;const k=[...Te.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(k&&h===k.type)};return jt(()=>{se.getConfigValue("settings.backdropDisabled")||(p(),Ln.addEventListener("message",v=>{const k=Te.getValidMessageSource(v);k&&_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=w(v)),r("stateChanged",{backdropActive:!0}),Te.disableA11yOfInactiveIframe(k)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Te.enableA11yOfInactiveIframe()))}))}),Hn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,s=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,h=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[s,h,o,_,l,n]}class Xr extends Rt{constructor(e){super(),Et(this,e,I2,N2,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function jf(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m;t=new Xr({props:{disable:i[2]}});let v=i[0].title&&Jf(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),r=C("div"),v&&v.c(),s=q(),o=C("div"),c=C("div"),g=C("button"),h=C("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(h,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(k,y){L(k,e,y),Be(t,e,null),S(e,n),S(e,l),S(l,r),v&&v.m(r,null),S(e,s),S(e,o),S(o,c),S(c,g),S(g,h),p=!0,w||(m=ae(g,"click",i[11]),w=!0)},p(k,y){const N={};y&4&&(N.disable=k[2]),t.$set(N),k[0].title?v?v.p(k,y):(v=Jf(k),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&_!==(_=k[0].closebtn_data_testid&&k[5]?k[0].closebtn_data_testid:"lui-modal-index-"+k[1]))&&f(g,"data-testid",_)},i(k){p||(M(t.$$.fragment,k),p=!0)},o(k){z(t.$$.fragment,k),p=!1},d(k){k&&T(e),He(t),v&&v.d(),w=!1,m()}}}function Jf(i){let e,t=i[0].title+"",n;return{c(){e=C("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Yf(i){let e;const t=i[10].default,n=t_(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&l_(n,t,l,l[9],e?i_(t,l[9],r,null):r_(l[9]),null)},i(l){e||(M(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function Qf(i){let e;return{c(){e=C("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function T2(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v=(i[5]||i[4]&&i[0].header)&&jf(i),k=i[4]&&Yf(i),y=i[3]&&Qf();return{c(){e=C("div"),t=C("div"),v&&v.c(),n=q(),l=C("div"),k&&k.c(),r=q(),s=C("div"),g=q(),y&&y.c(),f(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(s,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",w=i[5]?"z-index:1001":"")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),k&&k.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),m=!0},p(N,[I]){N[5]||N[4]&&N[0].header?v?(v.p(N,I),I&49&&M(v,1)):(v=jf(N),v.c(),M(v,1),v.m(t,n)):v&&(ye(),z(v,1,1,()=>{v=null}),Pe()),N[4]?k?(k.p(N,I),I&16&&M(k,1)):(k=Yf(N),k.c(),M(k,1),k.m(l,r)):k&&(ye(),z(k,1,1,()=>{k=null}),Pe()),(!m||I&16&&o!==(o="iframeModalCtn "+(N[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(s,"class",o),(!m||I&18&&c!==(c=N[4]?void 0:N[1]))&&f(s,"modal-container-index",c),N[3]?y||(y=Qf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&h!==(h="fd-dialog__content "+(N[4]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-1rzu3xo"))&&f(t,"class",h),(!m||I&32&&_!==(_=N[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||I&49&&p!==(p=$n(N[5]||N[4]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||I&32&&w!==(w=N[5]?"z-index:1001":""))&&f(e,"style",w)},i(N){m||(M(v),M(k),m=!0)},o(N){z(v),z(k),m=!1},d(N){N&&T(e),v&&v.d(),k&&k.d(),y&&y.d()}}}function L2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,w,m=!1,v=!1,k=!1,y=!1,N=!1,I=!0,A,R=gt("store");const E=J=>Se.getNodeLabel(J),O=async J=>{const j=J&&J.length?le.getPathWithoutHash(J):"",Y=_e.parseParams(j.split("?")[1]);w=_e.getNodeParams(Y);const be=await Vt.extractDataFromPath(J);_=be.nodeObject,t(4,N=r.isDrawer||typeof _.drawer=="object"),A=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=be.pathData,t(7,s=!0)},H=async J=>{if(!(m||v))if(s)if(_.webcomponent)t(3,k=!1),N?await G():await F(),ar.renderWebComponent(_.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:w}}),v=!0;else{const j=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:w});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:w}}),m=!0}else await O(J)},F=async()=>{let J,j;const Y=document.querySelector(".lui-modal-index-"+c),{size:be,width:re,height:oe}=r,Ce=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(Y.classList.remove("lui-modal-fullscreen"),re&&re.match(Ce)&&oe&&oe.match(Ce))J=oe,j=re;else switch(be){case"fullscreen":J="100vh",j="100vw",Y.classList.add("lui-modal-fullscreen");break;case"m":J="80%",j="60%";break;case"s":J="80%",j="40%";break;default:J="80%",j="80%"}Y.setAttribute("style",`width:${j};height:${J};`)},B=async(J,j)=>{N?await G():await F(),J&&(J=_e.substituteViewUrl(J,j));const Y=await Te.createIframe(J,void 0,_,"modal",j);return document.querySelector(A).appendChild(Y),Y};async function G(J){let j="";const Y=document.getElementsByClassName("drawer"),be=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?Y[0].setAttribute("style",j):(be[0].setAttribute("style",j),Y[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const ee=async J=>{J.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),J.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),J.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&te()),J.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),J.data.msg==="luigi.navigation.updateModalSettings"&&((J.data.updatedModalSettings.title||J.data.updatedModalSettings.title==="")&&t(0,r.title=J.data.updatedModalSettings.title,r),(J.data.updatedModalSettings.size||J.data.updatedModalSettings.width||J.data.updatedModalSettings.height)&&(t(0,r.size=J.data.updatedModalSettings.size,r),t(0,r.height=J.data.updatedModalSettings.height,r),t(0,r.width=J.data.updatedModalSettings.width,r),await F()),se.getConfigBooleanValue("routing.showModalPathInUrl")&&xe.updateModalDataInUrl(_e.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},J.data.addHistoryEntry))};jt(()=>{fn.doOnStoreChange(R,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Ln.addEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var J;!y&&!_.webcomponent&&((J=_.loadingIndicator)==null?void 0:J.enabled)!==!1&&t(3,k=!0)},250)}),Qr(()=>{Ln.removeEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function te(){let J;I?J=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):J=document.querySelector(".drawer .spinnerContainer"),J&&J.classList.contains("fade-out")&&(J.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Z=()=>h("close",{activeDrawer:!1});return i.$$set=J=>{"settings"in J&&t(0,r=J.settings),"isDataPrepared"in J&&t(7,s=J.isDataPrepared),"nodepath"in J&&t(8,o=J.nodepath),"modalIndex"in J&&t(1,c=J.modalIndex),"disableBackdrop"in J&&t(2,g=J.disableBackdrop),"$$scope"in J&&t(9,l=J.$$scope)},[r,c,g,k,N,I,h,s,o,l,n,Z]}class b_ extends Rt{constructor(e){super(),Et(this,e,L2,T2,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function Zf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function Xf(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function $f(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function ec(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=uc(Zf(i,n,r));return{c(){e=C("div"),t=C("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){L(r,e,s),S(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=Zf(r,n,o);l[o]?l[o].p(c,s):(l[o]=uc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&T(e),dt(l,r)}}}function tc(i){let e;function t(r,s){return r[28].isEditable||r[28].isEditable===void 0?E2:A2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function A2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,s){L(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ie(n,t),s[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function E2(i){let e,t,n,l,r;function s(){i[17].call(e,i[27])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[27]]),l||(r=ae(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Uf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,h,_,p,w,m,v=Array.isArray(i[28].options),k,y;function N(...R){return i[18](i[27],i[30],i[28],...R)}function I(){return i[19](i[28])}let A=v&&ic(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),s=C("span"),c=Ne(o),h=q(),_=C("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',w=q(),m=C("div"),A&&A.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[30]),f(s,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-h4g9o7"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,c),S(r,h),S(r,_),S(t,w),S(t,m),A&&A.m(m,null),k||(y=[ae(r,"keydown",N),ae(n,"click",Ut(I))],k=!0)},p(R,E){i=R,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ie(c,o),E[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(s,"disabled",g),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?A?A.p(i,E):(A=ic(i),A.c(),A.m(m,null)):A&&(A.d(1),A=null)},d(R){R&&T(e),A&&A.d(),k=!1,Qe(y)}}}function ic(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let s;for(s=0;s<t.length;s+=1){const o=$f(l,t,s);n[s]?n[s].p(o,r):(n[s]=lc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function lc(i){let e,t,n=i[12](i[31])+"",l,r,s,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=C("li"),t=C("span"),l=Ne(n),r=q(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",s=i[4]===i[33]),f(e,"tabindex","0"),mi(e,"is-selected",i[4]===i[33]),mi(e,"is-focus",i[4]===i[33])},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),o||(c=[ae(e,"click",g),ae(e,"keydown",i[21])],o=!0)},p(h,_){i=h,_[0]&2&&n!==(n=i[12](i[31])+"")&&Ie(l,n),_[0]&16&&s!==(s=i[4]===i[33])&&f(e,"aria-selected",s),_[0]&16&&mi(e,"is-selected",i[4]===i[33]),_[0]&16&&mi(e,"is-focus",i[4]===i[33])},d(h){h&&T(e),o=!1,Qe(c)}}}function rc(i){let e,t,n,l=i[28].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=sc(Xf(i,l,s));return{c(){e=C("div"),t=C("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-h4g9o7"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){L(s,e,o),S(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[28].options;let c;for(c=0;c<l.length;c+=1){const g=Xf(s,l,c);r[c]?r[c].p(g,o):(r[c]=sc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[27]+" svelte-h4g9o7")&&f(t,"class",n)},d(s){s&&T(e),dt(r,s)}}}function sc(i){let e,t=i[12](i[31])+"",n,l,r,s,o,c,g,h;function _(){return i[22](i[27],i[31])}return{c(){e=C("button"),n=Ne(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,w){L(p,e,w),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!0)},p(p,w){i=p,w[0]&2&&t!==(t=i[12](i[31])+"")&&Ie(n,t),w[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),w[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",s),w[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),w[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),g=!1,h()}}}function ac(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[23].call(n,i[27])}return{c(){e=C("label"),t=C("span"),n=C("input"),s=q(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,w){L(p,e,w),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[27]],S(t,s),S(t,o),g||(h=ae(n,"change",_),g=!0)},p(p,w){i=p,w[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),w[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),w[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),w[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,h()}}}function oc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(s,o){L(s,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ae(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(s){s&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[28].label)+"",r,s,o,c,g,h,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,w,m,v=i[28].type==="string"&&tc(i),k=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&nc(i),y=_&&rc(i),N=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&ac(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&oc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ne(l),s=Ne(":"),o=q(),c=C("div"),v&&v.c(),g=q(),k&&k.c(),h=q(),y&&y.c(),p=q(),N&&N.c(),w=q(),I&&I.c(),m=q(),f(n,"class","fd-form-label svelte-h4g9o7"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-h4g9o7"),f(c,"class","fd-col fd-col--8 svelte-h4g9o7"),f(e,"class","fd-row svelte-h4g9o7")},m(A,R){L(A,e,R),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,c),v&&v.m(c,null),S(c,g),k&&k.m(c,null),S(c,h),y&&y.m(c,null),S(c,p),N&&N.m(c,null),S(c,w),I&&I.m(c,null),S(e,m)},p(A,R){R[0]&34&&l!==(l=A[5](A[28].label)+"")&&Ie(r,l),A[28].type==="string"?v?v.p(A,R):(v=tc(A),v.c(),v.m(c,g)):v&&(v.d(1),v=null),A[28].type==="enum"&&(A[28].style===void 0||A[28].style==="list")?k?k.p(A,R):(k=nc(A),k.c(),k.m(c,h)):k&&(k.d(1),k=null),R[0]&2&&(_=A[28].type==="enum"&&A[28].style==="button"&&Array.isArray(A[28].options)),_?y?y.p(A,R):(y=rc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[28].type==="boolean"&&(!A[28].style||A[28].style==="switch")?N?N.p(A,R):(N=ac(A),N.c(),N.m(c,w)):N&&(N.d(1),N=null),A[28].type==="boolean"&&A[28].style==="checkbox"?I?I.p(A,R):(I=oc(A),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(A){A&&T(e),v&&v.d(),k&&k.d(),y&&y.d(),N&&N.d(),I&&I.d()}}}function R2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-h4g9o7")},m(r,s){L(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function D2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const s=Ht();let o=gt("getTranslation");Si(i,o,Z=>t(5,n=Z));let c,{isComboOpen:g}=e;function h(){s("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{m(J,!1)})}function w(Z,J){let j=ta(Z.target,".fd-popover__control",20),Y=j.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(p(),m(j,!Y))}function m(Z,J){const j=Z.querySelector(".lui-activate-dropdown"),Y=Z.parentNode.querySelector(".fd-popover__body"),be=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",J),Y.setAttribute("aria-hidden",!J),be.setAttribute("aria-expanded",J),j.setAttribute("aria-expanded",J),t(14,g=J)}function v(Z,J,j){t(4,c=j),t(0,r[l[0]][Z]=J.value||J,r)}function k(Z,J){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const Y=j.getAttribute("id"),be=`lui-us-enum_button_${Z}_option`;Y===be?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=J.value||J,r)}function y(Z,J){let j;if(Array.isArray(J)){for(let Y=0;Y<J.length;Y++)if(le.isObject(J[Y])){if(J[Y].value&&J[Y].value===Z){j=J[Y].label,t(4,c=Y);break}}else{j=Z,t(4,c=J.indexOf(Z));break}return n(j)}}function N(Z){return n(le.isObject(Z)?Z.label:Z)}function I(Z,J,j){return le.isObject(j)?`${Z}_${J}_${j.value}`:`${Z}_${J}_${j}`}function A(Z,J,j,Y){let be=ta(Z.target,".lui-anchor-node",20);const re=document.getElementById(`fd-form-input-dropdown-${j}`).children;let oe=-1;if([...re].forEach((Ce,De)=>{Ce.classList.contains("is-focus")&&(oe=De)}),g){if(Z.keyCode===El&&Z.altKey&&(be.click(),be.focus()),Z.keyCode===Oi&&!Z.altKey){if(oe===-1){oe=0,re.item(oe).classList.add("is-focus");return}oe<Y.options.length-1&&(re.item(oe).classList.remove("is-focus"),oe+=1,re.item(oe).classList.add("is-focus"))}if(Z.keyCode===El&&!Z.altKey){if(oe===-1){oe=oe.length-1,re.item(oe).classList.add("is-focus");return}oe>0&&oe<Y.options.length&&(re.item(oe).classList.remove("is-focus"),oe-=1,re.item(oe).classList.add("is-focus"))}(Z.keyCode===wi||Z.keyCode===Yr)&&v(J,Y.options[oe],oe)}else be.focus(),Z.keyCode===Oi&&Z.altKey&&be.click(),Z.keyCode===Oi&&!Z.altKey&&oe<Y.options.length-1&&v(J,Y.options[oe+1],oe+1),Z.keyCode===El&&!Z.altKey&&oe>0&&oe<Y.options.length&&v(J,Y.options[oe-1],oe-1)}function R(Z){if(g){let J=ta(Z.target,".fd-popover",20);J.blur(),(Z.keyCode===Yr||Z.keyCode===wi)&&(Z.target.click(),p(),setTimeout(()=>{J.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const O=(Z,J,j,Y)=>A(Y,Z,J,j),H=Z=>w(event,Z.isEditable),F=(Z,J,j)=>v(Z,J,j),B=Z=>R(Z),G=(Z,J)=>k(Z,J);function ee(Z){r[l[0]][Z]=this.checked,t(0,r)}function te(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,g=Z.isComboOpen)},[r,l,A,R,c,n,o,p,w,v,k,y,N,I,g,h,_,E,O,H,F,B,G,ee,te]}class V2 extends Rt{constructor(e){super(),Et(this,e,D2,R2,Tt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=ul;function cc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function dc(i,e,t){const n=i.slice();return n[37]=e[t],n}function hc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?O2:M2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=q(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&T(t),o&&T(n)}}}function M2(i){let e,t,n,l,r,s=i[37][1].initials&&gc(i);return{c(){e=C("span"),l=q(),s&&s.c(),r=ke(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),oi(e,"background-image","url('"+i[37][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),s&&s.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&oi(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?s?s.p(o,c):(s=gc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&T(e),o&&T(l),s&&s.d(o),o&&T(r)}}}function O2(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ne(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(s,o){L(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[37][1].initials?s[37][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=$n(s[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=s[37][1].altText?s[37][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&T(e)}}}function _c(i){let e,t,n,l,r,s=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,w,m,v=i[37][1].icon&&hc(i);function k(){return i[21](i[37])}function y(...N){return i[22](i[36],...N)}return{c(){e=C("li"),t=C("a"),v&&v.c(),n=q(),l=C("div"),r=C("div"),o=Ne(s),c=q(),g=C("div"),_=Ne(h),p=q(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,c),S(l,g),S(g,_),S(e,p),w||(m=[ae(e,"click",Mt(k)),ae(e,"keydown",y)],w=!0)},p(N,I){i=N,i[37][1].icon?v?v.p(i,I):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&s!==(s=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ie(o,s),I[0]&1026&&h!==(h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ie(_,h)},d(N){N&&T(e),v&&v.d(),w=!1,Qe(m)}}}function pc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=_c(dc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=dc(l,t,s);n[s]?n[s].p(o,r):(n[s]=_c(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[23](c)}function s(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new V2({props:o}),tt.push(()=>It(e,"closeDropDown",r,i[9])),tt.push(()=>It(e,"isComboOpen",s,i[8])),e.$on("updateSettingsObject",i[15]),{c(){We(e.$$.fragment)},m(c,g){Be(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],Nt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],Nt(()=>n=!1)),e.$set(h)},i(c){l||(M(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){He(e,c)}}}function F2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,w,m,v,k,y,N=i[10](i[7])+"",I,A,R,E,O,H,F,B,G,ee,te,Z=i[10](i[5])+"",J,j,Y,be,re=i[10](i[6])+"",oe,Ce,De,ce,Re=Object.entries(i[1]),ne=[];for(let me=0;me<Re.length;me+=1)ne[me]=pc(cc(i,Re,me));let x=i[11]&&mc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("div"),o=C("h2"),g=Ne(c),h=q(),_=C("div"),p=C("ul");for(let me=0;me<ne.length;me+=1)ne[me].c();w=q(),m=C("div"),v=C("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=q(),y=C("h2"),I=Ne(N),A=q(),R=C("div"),E=C("div"),x&&x.c(),O=q(),H=C("div"),F=q(),B=C("footer"),G=C("div"),ee=C("div"),te=C("button"),J=Ne(Z),j=q(),Y=C("div"),be=C("button"),oe=Ne(re),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(R,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(te,"data-testid","lui-us-saveBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(ee,"class","fd-bar__element"),f(be,"data-testid","lui-us-dismissBtn"),f(be,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(Y,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),f(e,"tabindex","0")},m(me,je){L(me,e,je),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let Ze=0;Ze<ne.length;Ze+=1)ne[Ze].m(p,null);S(n,w),S(n,m),S(m,v),S(m,k),S(m,y),S(y,I),S(n,A),S(n,R),S(R,E),x&&x.m(E,null),S(R,O),S(R,H),S(t,F),S(t,B),S(B,G),S(G,ee),S(ee,te),S(te,J),S(G,j),S(G,Y),S(Y,be),S(be,oe),Ce=!0,De||(ce=[ae(fc,"resize",i[20]),ae(fc,"keydown",i[3]),ae(v,"click",i[17]),ae(te,"click",i[25]),ae(be,"click",i[26])],De=!0)},p(me,je){if((!Ce||je[0]&1040)&&c!==(c=me[10](me[4])+"")&&Ie(g,c),je[0]&803846){Re=Object.entries(me[1]);let Ze;for(Ze=0;Ze<Re.length;Ze+=1){const pe=cc(me,Re,Ze);ne[Ze]?ne[Ze].p(pe,je):(ne[Ze]=pc(pe),ne[Ze].c(),ne[Ze].m(p,null))}for(;Ze<ne.length;Ze+=1)ne[Ze].d(1);ne.length=Re.length}(!Ce||je[0]&1152)&&N!==(N=me[10](me[7])+"")&&Ie(I,N),me[11]?x?(x.p(me,je),je[0]&2048&&M(x,1)):(x=mc(me),x.c(),M(x,1),x.m(E,null)):x&&(ye(),z(x,1,1,()=>{x=null}),Pe()),(!Ce||je[0]&1056)&&Z!==(Z=me[10](me[5])+"")&&Ie(J,Z),(!Ce||je[0]&1088)&&re!==(re=me[10](me[6])+"")&&Ie(oe,re)},i(me){Ce||(M(x),Ce=!0)},o(me){z(x),Ce=!1},d(me){me&&T(e),dt(ne,me),x&&x.d(),De=!1,Qe(ce)}}}function bc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function U2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function B2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function v_(i,e,t){if(i&&t>0)return i.matches(e)?i:v_(i.parentNode,e,t-1)}function vc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function H2(i,e,t){let n,{userSettingGroups:l}=e;const r=Ht();let s,{storedUserSettings:o={}}=e,c={},g=gt("getTranslation");Si(i,g,oe=>t(10,n=oe));let h=al.userSettingsDialog.dialogHeader,_=al.userSettingsDialog.saveBtn,p=al.userSettingsDialog.dismissBtn,w={},m,v,k,y;Qr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const oe=se.getConfigValue("userSettings.userSettingsDialog"),Ce=oe||se.getConfigValue("settings.userSettings.userSettingsDialog");Ce&&(t(4,h=Ce.dialogHeader?Ce.dialogHeader:h),t(5,_=Ce.saveBtn?Ce.saveBtn:_),t(6,p=Ce.dismissBtn?Ce.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Ln.addEventListener("message",De=>{const ce=Te.getValidMessageSource(De);if(!ce||De.data.msg!=="custom")return;ce._ready=!0;const Re=la.convertCustomMessageInternalToUser(De.data),ne="luigi.updateUserSettings";if(Re.id===ne){const x=rr.findActiveCustomUserSettingsIframe(De.source);if(x){let me=x.getAttribute("userSettingsGroup");t(0,o[me]=Re.data,o)}}Re.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&O()}),se.readUserSettings().then(De=>{c=JSON.parse(JSON.stringify(De)),De===null?t(0,o=bc(JSON.parse(JSON.stringify(l)),{})):t(0,o=bc(JSON.parse(JSON.stringify(l)),De)),I([m,l[0][m]])}).catch(De=>{De&&De.message&&console.error(De.message),De&&De.closeDialog&&r("close")}),Te.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let Ce in oe.settings){let De=oe.settings[Ce];De.type==="enum"?Array.isArray(De.options)||console.error(`There is no options array for '${Ce}' defined in the Luigi userSettings config.`):De.type===void 0&&console.error(`There is no data type defined for '${Ce}' in the Luigi userSettings config.`)}}function I(oe,Ce){t(11,s=oe);let De=oe[0],ce=oe[1];if(N(ce),Ce?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ne=>{ne.classList.remove("is-selected")}),v_(Ce.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),ce.viewUrl){if(rr.hideUserSettingsIframe(),w.hasOwnProperty(De))rr.getUserSettingsIframesInDom().forEach(Re=>{Re.userSettingsGroup===De&&(Re.style.display="block")});else{const Re=Jr.hasDecorators()?Jr.applyDecorators(ce.viewUrl):ce.viewUrl;let ne=rr.createIframe(Re,De);w[De]=ne}U2()}else B2()}const A=oe=>{t(0,o=oe.detail.userSettings)};function R(){se.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function H(oe){return Se.renderIconClassName(oe)}function F(oe){return Se.isOpenUIiconName(oe.icon)}let B;const G=()=>{const oe=window.innerWidth>=xt.desktopMinWidth&&B<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&B>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),oe&&(document.querySelector(".confirm-button").style.display="block"),!B){let De=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?De.style.display="none":De.style.display="block"}B=window.innerWidth};function ee(oe,Ce){let De=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===wi||oe.keyCode===Yr)&&De[Ce].click(),oe.keyCode===C2&&De[Object.keys(l).length-1].focus(),oe.keyCode===S2&&De[0].focus()}function te(oe){oe.keyCode===vi&&k?y():oe.keyCode===vi&&!k&&r("close")}const Z=oe=>I(oe,event),J=(oe,Ce)=>ee(Ce,[oe]);function j(oe){y=oe,t(9,y)}function Y(oe){k=oe,t(8,k)}const be=()=>R(),re=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,ee,te,h,_,p,v,k,y,n,s,r,g,I,A,R,O,H,F,G,Z,J,j,Y,be,re]}class W2 extends Rt{constructor(e){super(),Et(this,e,H2,F2,Tt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:z2}=ul;function q2(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-4tlfph")},m(t,n){L(t,e,n)},p:Fe,d(t){t&&T(e)}}}function G2(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=C("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-4tlfph"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-4tlfph"),f(l,"class","fd-splitView__title svelte-4tlfph")},m(g,h){L(g,e,h),S(e,t),L(g,n,h),L(g,l,h),S(l,s),o||(c=ae(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ie(s,r)},d(g){g&&T(e),g&&T(n),g&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,s,o,c;return{c(){e=C("div"),t=q(),n=C("div"),l=C("div"),r=q(),s=C("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-4tlfph"),f(n,"id","splitViewDragger")},m(g,h){L(g,e,h),L(g,t,h),L(g,n,h),S(n,l),S(n,r),S(n,s),o||(c=[ae(s,"click",Ut(Mt(i[3]))),ae(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&T(e),g&&T(t),g&&T(n),o=!1,Qe(c)}}}function K2(i){let e,t,n,l,r,s,o,c,g,h;t=new Xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,k){return v[0]?G2:q2}let p=_(i),w=p(i),m=!i[0]&&wc(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),w.c(),s=q(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-4tlfph"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,k){L(v,e,k),Be(t,e,null),S(e,n),S(e,l),w.m(l,null),L(v,s,k),m&&m.m(v,k),L(v,o,k),c=!0,g||(h=ae(z2,"resize",i[5]),g=!0)},p(v,[k]){const y={};k&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&w?w.p(v,k):(w.d(1),w=p(v),w&&(w.c(),w.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,k):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(M(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&T(e),He(t),w.d(),v&&T(s),m&&m.d(v),v&&T(o),g=!1,h()}}}function j2(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,w,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:N}=e,I=!1,A=gt("getUnsavedChangesModalPromise");const R=()=>({get:()=>({collapsed:v,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:w}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(Y=>{Y==="splitViewSettings"?t(1,k=j.splitViewSettings):Y==="lastNode"?r=j.lastNode:Y==="pathData"?s=j.pathData:Y==="nodeParams"?o=j.nodeParams:Y==="collapsed"?t(0,v=j.collapsed):Y==="isDataPrepared"?t(8,y=j.isDataPrepared):Y==="currentNode"?c=j.currentNode:Y==="splitViewIframe"?h=j.splitViewIframe:Y==="splitViewIframeData"?_=j.splitViewIframeData:Y==="splitViewWC"?p=j.splitViewWC:Y==="splitViewWCData"&&(w=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:A}),E=async()=>{y?v||rt.createAndSetView(R()):await rt.prepareSplitViewData(R(),m)},O=()=>{l.split=rt.getContainer(),l.iframe=Te.getIframeContainer(),l.draggable=rt.getDragger()},H=()=>{const j=rt.getDraggerBackdrop();j&&(j.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(j){if(Te.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&rt.close(R()),j.data.msg==="luigi.navigation.splitview.collapse"&&B(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const Y=parseInt(j.data.data);if(rt.calculateAndSetSplitViewValues(Y,rt.internalValues),v)return;H(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{ee(),g=F.bind(this),Ln.addEventListener("message",g)}),fa(()=>{E(),I!==y&&!v&&(I=y,H())}),Qr(()=>{window.removeEventListener("message",g)});function B(){rt.collapse(R())}async function G(){await rt.expand(R()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function ee(){const j=le.getShellbarHeight();rt.internalValues.innerHeight=le.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-j,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=j+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),v||H()}function te(j){let Y=j.y,be={};const re=function(Re){const ne=Y-Re.y,x=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(x)||ne===0)return;const me=x-ne,je=rt.internalValues.innerHeight-me,Ze=rt.enforceTresholds(me,je);me<Ze.top||je<Ze.bottom||(be=Ze,Y=Re.y,l.draggable.style.top=`${be.top}px`)},oe=function(){if(Ce(),!be.top||!be.bottom||be.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=be.top,rt.splitViewValues=be,H(),rt.sendMessageToClients("resize.ok",be.percent)},Ce=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",re)},De=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",re)};O(),Ce(),De(),rt.getDraggerBackdrop().style.display="block"}const Z=j=>{let Y=rt.getDraggerButton();Y&&(Y.style.display=j?"block":"none"),Y=rt.getCollapsedDraggerButton(),Y&&(Y.style.display=j?"block":"none")},J=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,k=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,N=j.disableBackdrop)},[v,k,N,B,G,ee,te,J,y,m]}class J2 extends Rt{constructor(e){super(),Et(this,e,j2,K2,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Sc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Z2,then:Q2,catch:Y2,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&na(t,n)||s_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Y2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function Q2(i){let e,t=i[1]>0&&Cc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Cc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-nd17co"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){L(r,e,s),S(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ie(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Z2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function X2(i){let e,t=i[0]&&i[0].badgeCounter&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function $2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class xn extends Rt{constructor(e){super(),Et(this,e,$2,X2,Tt,{node:0})}}function kc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function x2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&kc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function eS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Fi extends Rt{constructor(e){super(),Et(this,e,eS,x2,Tt,{node:0})}}const{window:$s}=ul;function yc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[71]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Lc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ac(i),p=i[12].showUpLink&&Ec(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),_&&_.c(),r=q(),s=C("span"),c=Ne(o),g=q(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-12jevel"),f(l,"class","fd-nested-list__link svelte-12jevel"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-12jevel"),f(t,"class","fd-nested-list svelte-12jevel"),f(e,"class","lui-nav-title svelte-12jevel")},m(w,m){L(w,e,m),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,c),S(l,g),p&&p.m(l,null)},p(w,m){w[12].icon?_?_.p(w,m):(_=Ac(w),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=w[24](w[12].label)+"")&&Ie(c,o),w[12].showUpLink?p?p.p(w,m):(p=Ec(w),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&h!==(h=w[32](w[12],w[24](w[12].label)))&&f(l,"title",h)},d(w){w&&T(e),_&&_.d(),p&&p.d()}}}function Ac(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?nS:tS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function tS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-12jevel"),f(e,"class","fd-nested-list__icon sap-icon svelte-12jevel")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function nS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-12jevel"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-12jevel")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ec(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-12jevel"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){L(r,e,s),n||(l=ae(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Rc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=nd(yc(i,r,c));const o=c=>z(s[c],1,1,()=>{s[c]=null});return{c(){e=C("div"),t=C("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-12jevel"),f(e,"class","lui-fd-side-nav-wrapper svelte-12jevel")},m(c,g){L(c,e,g),S(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=yc(c,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=nd(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-12jevel"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)z(s[g]);l=!1},d(c){c&&T(e),dt(s,c)}}}function iS(i){let e,t,n,l;const r=[sS,rS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),L(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),z(s[h],1,1,()=>{s[h]=null}),Pe(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&T(n)}}}function lS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=td(Tc(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Tc(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=td(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function rS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Dc(i),_=i[68],p=[];for(let m=0;m<_.length;m+=1)p[m]=Bc(Pc(i,_,m));const w=m=>z(p[m],1,1,()=>{p[m]=null});return{c(){e=C("li"),h&&h.c(),t=q(),l=Ne(n),o=q();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-12jevel"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(m,v){L(m,e,v),h&&h.m(e,null),S(e,t),S(e,l),L(m,o,v);for(let k=0;k<p.length;k+=1)p[k].m(m,v);L(m,c,v),g=!0},p(m,v){if(m[10]&&m[68].metaInfo.icon?h?h.p(m,v):(h=Dc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||v[0]&16785408)&&n!==(n=m[24](m[67])+"")&&Ie(l,n),(!g||v[0]&16785408&&r!==(r=m[32](m[68],m[24](m[67]))))&&f(e,"title",r),(!g||v[0]&8192&&s!==(s=m[31](m[68].metaInfo,m[67])))&&f(e,"data-testid",s),v[0]&2088804544|v[1]&66){_=m[68];let k;for(k=0;k<_.length;k+=1){const y=Pc(m,_,k);p[k]?(p[k].p(y,v),M(p[k],1)):(p[k]=Bc(y),p[k].c(),M(p[k],1),p[k].m(c.parentNode,c))}for(ye(),k=_.length;k<p.length;k+=1)w(k);Pe()}},i(m){if(!g){for(let v=0;v<_.length;v+=1)M(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)z(p[v]);g=!1},d(m){m&&T(e),h&&h.d(),m&&T(o),dt(p,m),m&&T(c)}}}function sS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,w,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te;function Z(ne,x){return x[0]&8192&&(l=null),l==null&&(l=!!ne[28](ne[68].metaInfo.icon)),l?gS:hS}let J=Z(i,[-1,-1,-1]),j=J(i);function Y(){return i[46](i[68])}function be(){return i[47](i[68])}function re(...ne){return i[48](i[68],...ne)}let oe=i[68],Ce=[];for(let ne=0;ne<oe.length;ne+=1)Ce[ne]=Gc(Ic(i,oe,ne));const De=ne=>z(Ce[ne],1,1,()=>{Ce[ne]=null});let ce=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Kc(i);function Re(){return i[53](i[68])}return{c(){e=C("li"),t=C("div"),n=C("a"),j.c(),r=q(),s=C("span"),c=Ne(o),m=q(),v=C("button"),k=C("i"),R=q(),E=C("ul");for(let ne=0;ne<Ce.length;ne+=1)Ce[ne].c();H=q(),ce&&ce.c(),F=q(),f(s,"class","fd-nested-list__title svelte-12jevel"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-12jevel"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",w=Sn(i[68],i[9])),f(k,"class",y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-12jevel"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",N=Sn(i[68],i[9])),f(v,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-12jevel"),f(t,"tabindex",A=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-12jevel"),f(E,"aria-hidden",O=!Sn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),mi(e,"lui-item-expanded",Sn(i[68],i[9]))},m(ne,x){L(ne,e,x),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,c),S(t,m),S(t,v),S(v,k),S(e,R),S(e,E);for(let me=0;me<Ce.length;me+=1)Ce[me].m(E,null);S(e,H),ce&&ce.m(e,null),S(e,F),G=!0,ee||(te=[ae(n,"click",Mt(Y)),ae(v,"click",Mt(be)),ae(t,"keypress",re),ae(e,"click",Ut(Re))],ee=!0)},p(ne,x){if(i=ne,J===(J=Z(i,x))&&j?j.p(i,x):(j.d(1),j=J(i),j&&(j.c(),j.m(n,r))),(!G||x[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ie(c,o),(!G||x[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!G||x[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-12jevel"))&&f(n,"class",h),(!G||x[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||x[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||x[0]&8704&&w!==(w=Sn(i[68],i[9])))&&f(n,"aria-expanded",w),(!G||x[0]&8704&&y!==(y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!G||x[0]&8704&&N!==(N=Sn(i[68],i[9])))&&f(v,"aria-expanded",N),(!G||x[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(v,"title",I),(!G||x[0]&64&&A!==(A=i[6]?"0":"-1"))&&f(t,"tabindex",A),x[0]&1686151296|x[1]&66){oe=i[68];let me;for(me=0;me<oe.length;me+=1){const je=Ic(i,oe,me);Ce[me]?(Ce[me].p(je,x),M(Ce[me],1)):(Ce[me]=Gc(je),Ce[me].c(),M(Ce[me],1),Ce[me].m(E,null))}for(ye(),me=oe.length;me<Ce.length;me+=1)De(me);Pe()}(!G||x[0]&8704&&O!==(O=!Sn(i[68],i[9])))&&f(E,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?ce?(ce.p(i,x),x[0]&8448&&M(ce,1)):(ce=Kc(i),ce.c(),M(ce,1),ce.m(e,F)):ce&&(ye(),z(ce,1,1,()=>{ce=null}),Pe()),(!G||x[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",B),(!G||x[0]&8704)&&mi(e,"lui-item-expanded",Sn(i[68],i[9]))},i(ne){if(!G){for(let x=0;x<oe.length;x+=1)M(Ce[x]);M(ce),G=!0}},o(ne){Ce=Ce.filter(Boolean);for(let x=0;x<Ce.length;x+=1)z(Ce[x]);z(ce),G=!1},d(ne){ne&&T(e),j.d(),dt(Ce,ne),ce&&ce.d(),ee=!1,Qe(te)}}}function Dc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?oS:aS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function aS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-12jevel"),f(e,"class","fd-nested-list__icon sap-icon svelte-12jevel")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function oS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-12jevel"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-12jevel")&&f(e,"class",t)},d(n){n&&T(e)}}}function Vc(i){let e,t,n=i[71].label&&Mc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Mc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Mc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I;function A(ee,te){return ee[71].icon?fS:uS}let R=A(i),E=R(i),O=i[71].statusBadge&&Oc(i),H=i[71].externalLink&&i[71].externalLink.url&&Fc(),F=i[71].badgeCounter&&Uc(i);function B(...ee){return i[54](i[71],...ee)}function G(...ee){return i[55](i[71],...ee)}return{c(){e=C("li"),t=C("a"),E.c(),n=q(),l=C("span"),s=Ne(r),o=q(),O&&O.c(),g=q(),H&&H.c(),h=q(),F&&F.c(),v=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(ee,te){L(ee,e,te),S(e,t),E.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),O&&O.m(l,null),S(t,g),H&&H.m(t,null),S(t,h),F&&F.m(t,null),S(e,v),y=!0,N||(I=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],N=!0)},p(ee,te){i=ee,R===(R=A(i))&&E?E.p(i,te):(E.d(1),E=R(i),E&&(E.c(),E.m(t,n))),(!y||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r),i[71].statusBadge?O?(O.p(i,te),te[0]&8192&&M(O,1)):(O=Oc(i),O.c(),M(O,1),O.m(l,null)):O&&(ye(),z(O,1,1,()=>{O=null}),Pe()),(!y||te[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?H||(H=Fc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=Uc(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!y||te[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||te[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"))&&f(t,"class",p),(!y||te[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||te[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||te[0]&8192&&k!==(k=i[32](i[71],i[26](i[71]))))&&f(e,"title",k)},i(ee){y||(M(O),M(F),y=!0)},o(ee){z(O),z(F),y=!1},d(ee){ee&&T(e),E.d(),O&&O.d(),H&&H.d(),F&&F.d(),N=!1,Qe(I)}}}function uS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=q(),l=C("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),S(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ie(s,r)},d(o){o&&T(e),o&&T(n),o&&T(l)}}}function fS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?dS:cS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function cS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-12jevel"),f(e,"class","fd-nested-list__icon sap-icon svelte-12jevel")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function dS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-12jevel")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-12jevel")&&f(e,"class",t)},d(n){n&&T(e)}}}function Oc(i){let e,t;return e=new Fi({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Fc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Uc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Bc(i){let e,t,n=!i[71].hideFromNav&&Vc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Vc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function hS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-12jevel"),f(e,"class","fd-nested-list__icon sap-icon svelte-12jevel")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function gS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-12jevel"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-12jevel")&&f(e,"class",t)},d(n){n&&T(e)}}}function Hc(i){let e,t,n=i[71].label&&Wc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Wc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Wc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&zc(),R=i[71].badgeCounter&&qc(i);function E(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"),f(t,"role",w=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=zc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function zc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Gc(i){let e,t,n=!i[71].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Hc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Kc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Zc(Nc(i,g,p));const _=p=>z(h[p],1,1,()=>{h[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ne(l),s=q(),o=C("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-12jevel"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-12jevel"),f(t,"class","lui-flyout-sublist__wrapper svelte-12jevel"),f(e,"class","lui-flyout-sublist svelte-12jevel")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o);for(let m=0;m<h.length;m+=1)h[m].m(o,null);c=!0},p(p,w){if((!c||w[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ie(r,l),w[0]&1686151296|w[1]&66){g=p[68];let m;for(m=0;m<g.length;m+=1){const v=Nc(p,g,m);h[m]?(h[m].p(v,w),M(h[m],1)):(h[m]=Zc(v),h[m].c(),M(h[m],1),h[m].m(o,null))}for(ye(),m=g.length;m<h.length;m+=1)_(m);Pe()}},i(p){if(!c){for(let w=0;w<g.length;w+=1)M(h[w]);c=!0}},o(p){h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)z(h[w]);c=!1},d(p){p&&T(e),dt(h,p)}}}function jc(i){let e,t,n=i[71].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Jc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Jc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&Yc(),R=i[71].badgeCounter&&Qc(i);function E(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"),f(t,"tabindex","0"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=Yc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function Yc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Zc(i){let e,t,n=!i[71].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=jc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xc(i){let e,t,n=i[71].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=$c(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $c(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(ee,te){return ee[71].icon?pS:_S}let E=R(i),O=E(i);c=new Fi({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&xc(),F=i[71].badgeCounter&&ed(i);function B(...ee){return i[44](i[71],...ee)}function G(...ee){return i[45](i[71],...ee)}return{c(){e=C("li"),t=C("a"),O.c(),n=q(),l=C("span"),s=Ne(r),o=q(),We(c.$$.fragment),h=q(),H&&H.c(),_=q(),F&&F.c(),y=q(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"),f(t,"href",p=i[30](i[71])),f(t,"title",w=i[32](i[71],i[26](i[71]))),f(t,"class",m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",k=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(ee,te){L(ee,e,te),S(e,t),O.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),Be(c,l,null),S(t,h),H&&H.m(t,null),S(t,_),F&&F.m(t,null),S(e,y),N=!0,I||(A=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(ee,te){i=ee,E===(E=R(i))&&O?O.p(i,te):(O.d(1),O=E(i),O&&(O.c(),O.m(t,n))),(!N||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r);const Z={};te[0]&8192&&(Z.node=i[71]),c.$set(Z),(!N||te[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-12jevel"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=ed(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!N||te[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||te[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&f(t,"title",w),(!N||te[0]&8320&&m!==(m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-12jevel"))&&f(t,"class",m),(!N||te[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!N||te[0]&8192&&k!==(k=i[29](i[71])))&&f(t,"data-testid",k)},i(ee){N||(M(c.$$.fragment,ee),M(F),N=!0)},o(ee){z(c.$$.fragment,ee),z(F),N=!1},d(ee){ee&&T(e),O.d(),He(c),H&&H.d(),F&&F.d(),I=!1,Qe(A)}}}function _S(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function pS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?bS:mS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function mS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-12jevel"),f(e,"class","fd-nested-list__icon sap-icon svelte-12jevel")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function bS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-12jevel"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-12jevel")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ed(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function td(i){let e,t,n=!i[71].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Xc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function nd(i){let e,t,n,l,r,s;const o=[lS,iS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),L(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){z(l),s=!1},d(h){~n&&c[n].d(h),h&&T(r)}}}function id(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ld(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ne(l),s=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-12jevel"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-12jevel"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-12jevel")},m(c,g){L(c,e,g),S(e,t),S(t,n),S(n,r),S(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ie(r,l),c[3]?o?o.p(c,g):(o=ld(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function ld(i){let e;function t(r,s){return r[4]=="button"?wS:vS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function vS(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-12jevel"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){L(r,e,s),n||(l=[ae(e,"click",i[57]),ae(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-12jevel")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function wS(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-12jevel"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-12jevel")},m(s,o){L(s,e,o),S(e,t),l||(r=ae(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-12jevel")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&T(e),l=!1,r()}}}function SS(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Lc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Rc(i),w=(i[2]||i[3])&&id(i);return{c(){e=C("div"),_&&_.c(),t=q(),n=C("nav"),l=C("div"),p&&p.c(),r=q(),w&&w.c(),f(l,"class","fd-side-nav__main-navigation svelte-12jevel"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-12jevel"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-12jevel")},m(m,v){L(m,e,v),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),w&&w.m(n,null),c=!0,g||(h=[ae($s,"resize",i[17]),ae($s,"click",i[21]),ae($s,"blur",i[21]),ae($s,"keydown",i[33]),ae(n,"keyup",i[18])],g=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Lc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&M(p,1)):(p=Rc(m),p.c(),M(p,1),p.m(l,null)):p&&(ye(),z(p,1,1,()=>{p=null}),Pe()),m[2]||m[3]?w?w.p(m,v):(w=id(m),w.c(),w.m(n,null)):w&&(w.d(1),w=null),(!c||v[0]&4160&&s!==(s="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-12jevel"))&&f(n,"class",s),(!c||v[0]&14&&o!==(o="fd-app__sidebar "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-12jevel"))&&f(e,"class",o)},i(m){c||(M(p),c=!0)},o(m){z(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),w&&w.d(),g=!1,Qe(h)}}}function Sn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const CS=i=>!i.hideFromNav&&i.label;function kS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:k,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:O}),set:async ie=>{ie&&(Object.getOwnPropertyNames(ie).forEach(async Le=>{if(Le==="pathData")t(5,p=ie.pathData);else if(Le==="context")H=ie.context;else if(Le==="children")t(0,s=ie.children);else if(Le==="selectedNode")t(7,k=ie.selectedNode);else if(Le==="hasCategoriesWithIcon")t(10,I=ie.hasCategoriesWithIcon);else if(Le==="navParent"){t(12,E=void 0);let st=ie.navParent;if(t(41,O=st),st&&st.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,St=st;if(yt==="inherit"){for(St=st.parent;St&&St.navHeader==="inherit";)St=St.parent;yt=St?St.navHeader:void 0}if(yt instanceof Function){t(12,E={});let sn=yt(Se.stripNode(st),Se.stripNode(St),H);sn instanceof Promise?sn.then(kn=>{t(12,E=kn)}):t(12,E=sn)}else if(yt==="auto")t(12,E={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,E={...yt,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,E=yt);const sn=_e.mapPathToNode(xe.getCurrentPath(),St);Vt.extractDataFromPath(sn).then(kn=>{const ti=_e.substituteDynamicParamsInObject(Object.assign({},kn.pathData.context,St.context),kn.pathData.pathParams);Se.fetchNodeTitleData(St,ti).then(zn=>{t(12,E={...yt,...zn})}).catch(zn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...yt,label:st.label,icon:st.icon})})})}else t(12,E=await De(yt,St))}}}),t(40,A=Se.getSideNavAccordionMode(k)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:w}=e,{virtualGroupPrefix:m=Se.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:R}=e,{navHeader:E}=e,{navParentNode:O}=e,H,F,B,G=gt("store"),ee=gt("getTranslation");Si(i,ee,ie=>t(24,n=ie));let te=!1;const Z=ie=>Se.getNodeLabel(ie),J=async()=>{const ie=l.get(),Le=await Vt.getLeftNavData({...ie},ie);Le&&(l.set(Le),F=p,window.LEFTNAVDATA=Le.children)};jt(()=>{t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=se.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,te=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),fn.doOnStoreChange(G,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),fn.doOnStoreChange(G,()=>{J()},["navigation.viewgroupdata"]);let ie=pi.initial();t(6,v=ie.isSemiCollapsed),t(39,g=ie.semiCollapsible),pi.onValueChanged(Le=>{t(6,v=Le.isSemiCollapsed)}),Ln.addEventListener("message",Le=>{Le.data.msg==="luigi.navigation.update-badge-counters"&&J()})}),Hn(()=>{(!F||F!=p)&&J(),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function Y(ie){return Se.renderIconClassName(ie)}function be(ie){return Se.isOpenUIiconName(ie)}function re(ie){return ie.testId?ie.testId:Se.prepareForTests(ie.pathSegment,ie.label)}function oe(ie){return _e.getNodeHref(ie,w)}function Ce(ie,Le){return ie&&ie.testId?ie.testId:Se.prepareForTests(Le||ie.label)}async function De(ie,Le){const st=_e.mapPathToNode(xe.getCurrentPath(),Le),St=(await Vt.extractDataFromPath(st)).pathData.pathParams;return _e.substituteDynamicParamsInObject(ie,St)}function ce(ie,Le){return Se.generateTooltipText(ie,Le)}function Re(ie){r("handleClick",{node:ie})}function ne(ie,Le){if(pi.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(ie.metaInfo&&ie.metaInfo.label?st=ie.metaInfo.label:st=ie.category&&ie.category.label||ie.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=st),x(Le)}}function x(ie){const Le=ie.closest(".fd-nested-list__item"),st=Le.offsetTop,yt=ui.getShellbar().offsetHeight;let St;ui.isCustomLuigiContainer()?St=ui.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const sn=Le.getElementsByClassName("lui-flyout-sublist")[0],kn=ie.closest(".lui-fd-side-nav-wrapper").scrollTop,ti=st+yt-kn,zn=St-st-Le.offsetHeight+kn-yt;ti+sn.offsetHeight>=St?(sn.style.bottom=zn+"px",sn.className+=" has-bottom-position"):sn.style.top=ti-yt+"px"})}function me(){if(g){let ie=pi.onResize(y);t(6,v=ie.isSemiCollapsed),t(8,y=ie.selectedCategory)}}function je(ie){if(ie.code==="ArrowRight"){const st=Te.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function Ze(ie){let Le=O?O.parent:void 0;for(;Le;){if(Le.pathSegment&&Le.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Le});return}Le=Le.parent}console.warn('Could not resolve "up"-node, redirecting to root'),p_.navigate("/")}function pe(ie,Le){pi.getCollapsed()||t(9,N=Se.storeExpandedState(ie.metaInfo.categoryUid,Le,A))}function qe(){t(8,y=pi.closePopupMenu(y))}function mt(ie){ie&&ie.code==="Escape"&&qe()}function rn(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Wt()}function vt(ie){const Le=ie.code;(Le==="Enter"||Le==="Space")&&rn()}function Zt(ie,Le){(ie.code==="Enter"||ie==="Space")&&ne(Le,ie.currentTarget)}function An(ie,Le){ie.keyCode===wi&&Se.handleNavAnchorClickedWithoutMetaKey(ie)&&Re(Le)}function Wt(){if(!Se.getBurgerTooltipConfig())return;const[ie,Le]=Se.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");ie&&Le&&st&&t(11,R=document.body.classList.contains("semiCollapsed")?ie:Le)}function Wn(ie,Le){return Sn(ie,Le)?ie.metaInfo.titleCollapseButton?n(ie.metaInfo.titleCollapseButton):void 0:ie.metaInfo.titleExpandButton?n(ie.metaInfo.titleExpandButton):void 0}const fl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Cn=(ie,Le)=>An(Le,ie),ut=ie=>pe(ie,!Sn(ie,N)),ei=ie=>pe(ie,!Sn(ie,N)),fi=(ie,Le)=>Zt(Le,ie),_n=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Jt=(ie,Le)=>An(Le,ie),cl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Yt=(ie,Le)=>An(Le,ie),en=ie=>ne(ie,event.currentTarget),ci=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Ci=(ie,Le)=>An(Le,ie),cn=ie=>rn(),ki=ie=>rn(),yi=ie=>vt(ie);return i.$$set=ie=>{"children"in ie&&t(0,s=ie.children),"hideNavComponent"in ie&&t(1,o=ie.hideNavComponent),"footerText"in ie&&t(2,c=ie.footerText),"semiCollapsible"in ie&&t(39,g=ie.semiCollapsible),"semiCollapsibleButton"in ie&&t(3,h=ie.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ie&&t(4,_=ie.semiCollapsibleButtonStyle),"pathData"in ie&&t(5,p=ie.pathData),"pathParams"in ie&&t(42,w=ie.pathParams),"virtualGroupPrefix"in ie&&t(14,m=ie.virtualGroupPrefix),"isSemiCollapsed"in ie&&t(6,v=ie.isSemiCollapsed),"selectedNode"in ie&&t(7,k=ie.selectedNode),"selectedCategory"in ie&&t(8,y=ie.selectedCategory),"expandedCategories"in ie&&t(9,N=ie.expandedCategories),"hasCategoriesWithIcon"in ie&&t(10,I=ie.hasCategoriesWithIcon),"sideNavAccordionMode"in ie&&t(40,A=ie.sideNavAccordionMode),"burgerTooltip"in ie&&t(11,R=ie.burgerTooltip),"navHeader"in ie&&t(12,E=ie.navHeader),"navParentNode"in ie&&t(41,O=ie.navParentNode),"sortedChildrenEntries"in ie&&t(13,j=ie.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ie=Object.entries(s);ie.sort((Le,st)=>Le[1].metaInfo.order-st[1].metaInfo.order),t(13,j=ie)}},[s,o,c,h,_,p,v,k,y,N,I,R,E,j,m,Re,ne,me,je,Ze,pe,qe,B,te,n,ee,Z,Y,be,re,oe,Ce,ce,mt,rn,vt,Zt,An,Wn,g,A,O,w,x,fl,Cn,ut,ei,fi,_n,Jt,cl,Yt,en,ci,Ci,cn,ki,yi]}class yS extends Rt{constructor(e){super(),Et(this,e,kS,SS,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const PS=i=>{fn.doOnStoreChange(i.store,()=>{const e=se.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),se.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),w_(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),w_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!NS(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function rd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function sd(i,e,t){const n=i.slice();return n[43]=e[t],n}function IS(i){let e,t,n,l,r=i[1]&&ad(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ad(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function TS(i){let e,t,n,l,r=i[1]&&od(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=od(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function ad(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function od(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[26](null)}}}function ud(i){let e,t;function n(o,c){return o[3]?LS:AS}let l=n(i),r=l(i),s=i[10]&&vd(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=vd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}function LS(i){let e,t,n,l,r,s,o,c,g,h;function _(k,y){return k[12]?RS:ES}let p=_(i),w=p(i),m=i[4]&&i[5]&&_d(i),v=i[7]&&i[7].length>0&&pd(i);return{c(){e=C("div"),t=C("div"),w.c(),n=q(),l=C("div"),r=C("nav"),s=C("ul"),m&&m.c(),o=q(),v&&v.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(k,y){L(k,e,y),S(e,t),w.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),m&&m.m(s,null),S(s,o),v&&v.m(s,null),i[36](s),g||(h=ae(t,"click",Ut(US)),g=!0)},p(k,y){p===(p=_(k))&&w?w.p(k,y):(w.d(1),w=p(k),w&&(w.c(),w.m(t,null))),k[4]&&k[5]?m?m.p(k,y):(m=_d(k),m.c(),m.m(s,o)):m&&(m.d(1),m=null),k[7]&&k[7].length>0?v?v.p(k,y):(v=pd(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&T(e),w.d(),m&&m.d(),v&&v.d(),i[36](null),g=!1,h()}}}function AS(i){let e;function t(r,s){return r[12]?OS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function ES(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[7]&&i[7].length===1&&fd(i),r=i[7]&&i[7].length>1&&cd(i),s=i[7].length>1&&!i[5]&&gd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),s&&s.m(o,c),L(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=cd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=gd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&T(e),r&&r.d(o),o&&T(t),s&&s.d(o),o&&T(n)}}}function fd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(s,o){L(s,e,o),S(e,t),S(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&T(e)}}}function cd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=hd(sd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=sd(l,t,s);n[s]?n[s].p(o,r):(n[s]=hd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),o=q(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,w){L(p,e,w),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Mt(i[32])),h=!0)},p(p,w){w[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(l,n),w[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),w[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&T(e),h=!1,_()}}}function hd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&dd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=dd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function gd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function _d(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){L(g,e,h),S(e,t),S(t,n),S(n,r),o||(c=ae(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ie(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&T(e),o=!1,c()}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=rd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function DS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),c=q(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,c),g||(h=ae(t,"click",_),g=!0)},p(p,w){i=p,w[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(r,l),w[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),w[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&T(e),g=!1,h()}}}function VS(i){let e,t=i[16]&&md(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=md(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function md(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new cr(!1),l=q(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){L(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&T(e)}}}function bd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return VS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return DS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&T(n)}}}function MS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function OS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function vd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function FS(i){let e,t;function n(o,c){return o[12]?TS:IS}let l=n(i),r=l(i),s=i[2]&&ud(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=ud(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}const US=()=>{};function BS(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:w}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,A,R,E=gt("getUnsavedChangesModalPromise"),O=gt("getTranslation");Si(i,O,pe=>t(17,n=pe));let H=gt("store");const F={closeDropDown:()=>{J("appSwitcherPopover")}},B=()=>({get:()=>({pathData:N,pathParams:v,appSwitcherItems:w,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach(qe=>{qe==="pathData"?t(24,N=pe.pathData):qe==="appSwitcherItems"?t(7,w=pe.appSwitcherItems):qe==="itemRenderer"?t(8,m=pe.itemRenderer):qe==="pathParams"?t(9,v=pe.pathParams):qe==="selectedItem"?t(5,_=pe.selectedItem):qe==="title"?t(2,o=pe.title):qe==="defaultSubTitle"?t(23,y=pe.defaultSubTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="defaultTitle"?t(6,p=pe.defaultTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):qe==="hasApps"?t(3,c=pe.hasApps):qe==="hasLogo"&&t(1,s=pe.hasLogo)})},store:H});jt(()=>{PS(B())}),Hn(()=>{(!R||R!=N)&&(w_(B()),R=N)});function G(pe,qe,mt){return setTimeout(()=>{qe&&m(pe,qe.children[mt],F)}),""}function ee(pe){E().then(()=>{xe.navigateTo(_e.applyPathParams(pe,v))},()=>{})}function te(){E().then(()=>{xe.navigateTo("/")},()=>{})}function Z(pe){l("handleClick",{node:pe}),J("appSwitcherPopover")}function J(pe){l("toggleDropdownState",{name:pe})}function j(pe){return pe.testId?pe.testId:Se.prepareForTests(pe.title||pe)}function Y(pe,qe){if(pe.link){const mt=_e.applyPathParams(pe.link,qe);if(mt.indexOf(":")!==0&&mt.indexOf("/:")===-1)return!0}return!1}function be(pe){return _e.getNodeHref(pe)}function re(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const oe=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")};function Ce(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const De=()=>ee("/"),ce=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")},Re=()=>ee("/"),ne=()=>J("appSwitcherPopover"),x=()=>J("appSwitcherPopover"),me=()=>J("appSwitcherPopover"),je=(pe,qe)=>{Se.handleNavAnchorClickedWithoutMetaKey(qe)&&ee(pe.link)};function Ze(pe){tt[pe?"unshift":"push"](()=>{A=pe,t(16,A)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,s=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,g=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,h=pe.showMainAppEntry),"selectedItem"in pe&&t(5,_=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,w=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,m=pe.itemRenderer),"pathParams"in pe&&t(9,v=pe.pathParams),"subTitle"in pe&&t(10,k=pe.subTitle),"defaultSubTitle"in pe&&t(23,y=pe.defaultSubTitle),"pathData"in pe&&t(24,N=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,I=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,w,m,v,k,g,I,ee,te,J,A,n,O,G,j,Y,be,y,N,Z,re,oe,Ce,De,ce,Re,ne,x,me,je,Ze]}class HS extends Rt{constructor(e){super(),Et(this,e,BS,FS,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function wd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Sd(i){let e,t,n,l,r,s,o=i[0]&&Cd(i),c=(i[10]||i[11])&&Ld(i);return{c(){e=C("div"),o&&o.c(),t=q(),n=C("div"),l=C("div"),r=C("div"),s=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-1tsusnq"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){L(g,e,h),o&&o.m(e,null),L(g,t,h),L(g,n,h),S(n,l),S(l,r),S(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Cd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Ld(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&T(e),o&&o.d(),g&&T(t),g&&T(n),c&&c.d()}}}function Cd(i){let e,t,n,l,r,s,o;function c(k,y){return k[7].picture?zS:WS}let g=c(i),h=g(i),_=i[7].name&&kd(i),p=i[7].description&&yd(i),w=i[9].items,m=[];for(let k=0;k<w.length;k+=1)m[k]=Nd(wd(i,w,k));let v=i[12]&&Id(i);return{c(){e=C("div"),h.c(),t=q(),n=C("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),s=C("ul");for(let k=0;k<m.length;k+=1)m[k].c();o=q(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(k,y){L(k,e,y),h.m(e,null),L(k,t,y),L(k,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),L(k,r,y),L(k,s,y);for(let N=0;N<m.length;N+=1)m[N].m(s,null);S(s,o),v&&v.m(s,null)},p(k,y){if(g===(g=c(k))&&h?h.p(k,y):(h.d(1),h=g(k),h&&(h.c(),h.m(e,null))),k[7].name?_?_.p(k,y):(_=kd(k),_.c(),_.m(n,l)):_&&(_.d(1),_=null),k[7].description?p?p.p(k,y):(p=yd(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){w=k[9].items;let N;for(N=0;N<w.length;N+=1){const I=wd(k,w,N);m[N]?m[N].p(I,y):(m[N]=Nd(I),m[N].c(),m[N].m(s,o))}for(;N<m.length;N+=1)m[N].d(1);m.length=w.length}k[12]?v?v.p(k,y):(v=Id(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null)},d(k){k&&T(e),h.d(),k&&T(t),k&&T(n),_&&_.d(),p&&p.d(),k&&T(r),k&&T(s),dt(m,k),v&&v.d()}}}function WS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&T(e)}}}function zS(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function kd(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-1tsusnq"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ie(n,t)},d(l){l&&T(e)}}}function yd(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-1tsusnq"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function qS(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1tsusnq"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&oi(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&T(e)}}}function GS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-1tsusnq")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-1tsusnq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Nd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Pd(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-1tsusnq"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Pd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Id(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Td(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-1tsusnq"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){L(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(c=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Td(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ie(s,r)},d(h){h&&T(e),g&&g.d(),o=!1,Qe(c)}}}function Td(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?jS:KS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function KS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1tsusnq"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function jS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-1tsusnq")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-1tsusnq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ld(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ad(i),l=i[10]&&!i[8]&&Ed(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ad(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ed(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Ad(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){L(c,e,g),S(e,t),S(t,l),s||(o=ae(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ie(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),s=!1,o()}}}function Ed(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=q(),n=C("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){L(s,e,o),L(s,t,o),L(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&T(e),s&&T(t),s&&T(n),l=!1,Qe(r)}}}function JS(i){let e,t=!i[1]&&Sd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function YS(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings"),De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(Ce){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De),t(12,p=!!Ce)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class QS extends Rt{constructor(e){super(),Et(this,e,YS,JS,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Rd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Dd(i){let e,t,n,l,r,s=i[0]&&Vd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Od(Rd(i,o,_));let g=i[12]&&Fd(i),h=(i[10]||i[11])&&Bd(i);return{c(){e=C("nav"),t=C("ul"),s&&s.c(),n=q();for(let _=0;_<c.length;_+=1)c[_].c();l=q(),g&&g.c(),r=q(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let w=0;w<c.length;w+=1)c[w].m(t,null);S(t,l),g&&g.m(t,null),S(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Vd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let w;for(w=0;w<o.length;w+=1){const m=Rd(_,o,w);c[w]?c[w].p(m,p):(c[w]=Od(m),c[w].c(),c[w].m(t,l))}for(;w<c.length;w+=1)c[w].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Fd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&T(e),s&&s.d(),dt(c,_),g&&g.d(),h&&h.d()}}}function Vd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function ZS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function XS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Md(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Md(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Fd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Ud(i);return{c(){e=C("li"),t=C("a"),h&&h.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Ud(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,Qe(g)}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function $S(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function xS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Hd(i),l=i[10]&&!i[8]&&zd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Hd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=zd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Wd(i);return{c(){e=C("li"),t=C("button"),h&&h.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=ae(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Wd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,g()}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?tC:eC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function eC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function tC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function zd(i){let e,t,n;return{c(){e=C("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&T(e),t=!1,n()}}}function nC(i){let e,t=!i[1]&&Dd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Dd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function iC(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings");t(12,p=!!Ce);const De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class S_ extends Rt{constructor(e){super(),Et(this,e,iC,nC,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function qd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Gd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jd(qd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=qd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Jd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Kd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),w,m,v,k,y,N;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?rC:lC}let A=I(i,-1),R=A(i);r=new xn({props:{node:i[12]}});let E=p&&jd(i);function O(){return i[10](i[12])}return{c(){e=C("li"),t=C("div"),R.c(),l=q(),We(r.$$.fragment),s=q(),o=C("div"),c=C("div"),h=Ne(g),_=q(),E&&E.c(),w=q(),f(t,"class","lui-product-switch__icon svelte-1np2sr1"),f(c,"class","fd-product-switch__title svelte-1np2sr1"),f(o,"class","fd-product-switch__text svelte-1np2sr1"),f(e,"class",m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-1np2sr1"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(H,F){L(H,e,F),S(e,t),R.m(t,null),S(t,l),Be(r,t,null),S(e,s),S(e,o),S(o,c),S(c,h),S(o,_),E&&E.m(o,null),S(e,w),k=!0,y||(N=ae(e,"click",O),y=!0)},p(H,F){i=H,A===(A=I(i,F))&&R?R.p(i,F):(R.d(1),R=A(i),R&&(R.c(),R.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!k||F&18)&&g!==(g=i[4](i[12])+"")&&Ie(h,g),F&34&&(p=i[5](i[12])),p?E?E.p(i,F):(E=jd(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!k||F&66&&m!==(m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-1np2sr1"))&&f(e,"class",m),(!k||F&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(H){k||(M(r.$$.fragment,H),k=!0)},o(H){z(r.$$.fragment,H),k=!1},d(H){H&&T(e),R.d(),He(r),E&&E.d(),y=!1,N()}}}function lC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-1np2sr1")},m(l,r){L(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function rC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-1np2sr1")},m(n,l){L(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-1np2sr1")&&f(e,"class",t)},d(n){n&&T(e)}}}function jd(i){let e,t=i[5](i[12])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Jd(i){let e,t,n=i[12].label&&Kd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=Kd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A=i[1]&&Gd(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),o=Ne(i[0]),c=q(),g=C("div"),h=C("div"),_=C("ul"),A&&A.c(),p=q(),w=C("footer"),m=C("div"),v=C("div"),k=C("button"),k.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-1np2sr1"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(w,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,c),S(t,g),S(g,h),S(h,_),A&&A.m(_,null),S(t,p),S(t,w),S(w,m),S(m,v),S(v,k),y=!0,N||(I=[ae(k,"click",i[9]),ae(e,"click",Ut(aC))],N=!0)},p(R,[E]){(!y||E&1)&&Ie(o,R[0]),R[1]?A?(A.p(R,E),E&2&&M(A,1)):(A=Gd(R),A.c(),M(A,1),A.m(_,null)):A&&(ye(),z(A,1,1,()=>{A=null}),Pe())},i(R){y||(M(A),y=!0)},o(R){z(A),y=!1},d(R){R&&T(e),A&&A.d(),N=!1,Qe(I)}}}const aC=()=>{};function oC(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(v){return Se.renderIconClassName(v)}function p(v){n("listClick",v)}function w(v){Ll.call(this,i,v)}const m=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,s=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,g=v.getNodeSubtitle),"noSubTitle"in v&&t(6,h=v.noSubTitle)},[l,r,s,o,c,g,h,p,_,w,m]}class C_ extends Rt{constructor(e){super(),Et(this,e,oC,sC,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:uC}=ul;function Yd(i,e,t){const n=i.slice();return n[7]=e[t],n}function Qd(i){let e,t,n,l=i[0]&&Zd(i);return{c(){e=C("nav"),t=C("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&M(l,1)):(l=Zd(r),l.c(),M(l,1),l.m(t,null)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){z(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Zd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=$d(Yd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o&15885){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=$d(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[11](i[7])+"",h,_,p,w,m,v,k;function y(R,E){return E&1&&(l=null),l==null&&(l=!!(R[7].icon&&R[9](R[7]))),l?cC:fC}let N=y(i,-1),I=N(i);s=new xn({props:{node:i[7]}});function A(){return i[15](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),I.c(),r=q(),We(s.$$.fragment),o=q(),c=C("span"),h=Ne(g),p=q(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[13](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",w=i[12](i[7]))},m(R,E){L(R,e,E),S(e,t),S(t,n),I.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,p),m=!0,v||(k=[ae(t,"click",i[14]),ae(e,"click",A)],v=!0)},p(R,E){i=R,N===(N=y(i,E))&&I?I.p(i,E):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const O={};E&1&&(O.node=i[7]),s.$set(O),(!m||E&1)&&g!==(g=i[11](i[7])+"")&&Ie(h,g),(!m||E&5&&_!==(_=i[2]?i[13](i[7]):void 0))&&f(t,"href",_),(!m||E&1&&w!==(w=i[12](i[7])))&&f(e,"data-testid",w)},i(R){m||(M(s.$$.fragment,R),m=!0)},o(R){z(s.$$.fragment,R),m=!1},d(R){R&&T(e),I.d(),He(s),v=!1,Qe(k)}}}function fC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1811tf3"),it(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function $d(i){let e,t,n=i[7].label&&Xd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Xd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function xd(i){let e,t;return e=new C_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function dC(i){let e,t,n,l,r,s=!i[1]&&Qd(i),o=i[1]&&xd(i);return{c(){s&&s.c(),e=q(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),L(c,e,g),o&&o.m(c,g),L(c,t,g),n=!0,l||(r=ae(uC,"resize",aa),l=!0)},p(c,[g]){c[1]?s&&(ye(),z(s,1,1,()=>{s=null}),Pe()):s?(s.p(c,g),g&2&&M(s,1)):(s=Qd(c),s.c(),M(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&M(o,1)):(o=xd(c),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(ye(),z(o,1,1,()=>{o=null}),Pe())},i(c){n||(M(s),M(o),n=!0)},o(c){z(s),z(o),n=!1},d(c){s&&s.d(c),c&&T(e),o&&o.d(c),c&&T(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function hC(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=gt("getUnsavedChangesModalPromise"),g=gt("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});jt(async()=>{aa()}),Hn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function w(O){c().then(()=>{if(O.openNodeInModal){const H=_e.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else xe.handleRouteClick(O,p())},()=>{}),v()}function m(O){w(O.detail)}function v(){n("close")}function k(O){return Se.isOpenUIiconName(O.icon)}function y(O){return Se.renderIconClassName(O)}function N(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function A(O){return _e.getNodeHref(O,o)}const R=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>w(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(7,s=O.node),"addNavHrefForAnchor"in O&&t(2,h=O.addNavHrefForAnchor)},[r,l,h,w,m,v,aa,s,_,k,y,N,I,A,R,E]}class k_ extends Rt{constructor(e){super(),Et(this,e,hC,dC,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return aa}}const gn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(xe.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=gn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!gn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=gn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await gn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await gn.generateSwitcherNav(e,t)}};function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i,e,t){const n=i.slice();return n[21]=e[t],n}function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ih(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh(nh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=rh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function lh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Mt(wC)),ae(e,"click",_)],g=!0)},p(p,w){i=p,w&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),w&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),w&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,Qe(h)}}}function rh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&lh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=lh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function sh(i){let e;return{c(){e=C("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function T2(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v=(i[5]||i[4]&&i[0].header)&&jf(i),k=i[4]&&Yf(i),y=i[3]&&Qf();return{c(){e=C("div"),t=C("div"),v&&v.c(),n=q(),l=C("div"),k&&k.c(),r=q(),s=C("div"),g=q(),y&&y.c(),f(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(s,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",w=i[5]?"z-index:1001":"")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),k&&k.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),m=!0},p(N,[I]){N[5]||N[4]&&N[0].header?v?(v.p(N,I),I&49&&M(v,1)):(v=jf(N),v.c(),M(v,1),v.m(t,n)):v&&(ye(),z(v,1,1,()=>{v=null}),Pe()),N[4]?k?(k.p(N,I),I&16&&M(k,1)):(k=Yf(N),k.c(),M(k,1),k.m(l,r)):k&&(ye(),z(k,1,1,()=>{k=null}),Pe()),(!m||I&16&&o!==(o="iframeModalCtn "+(N[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(s,"class",o),(!m||I&18&&c!==(c=N[4]?void 0:N[1]))&&f(s,"modal-container-index",c),N[3]?y||(y=Qf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&h!==(h="fd-dialog__content "+(N[4]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-1rzu3xo"))&&f(t,"class",h),(!m||I&32&&_!==(_=N[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||I&49&&p!==(p=$n(N[5]||N[4]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||I&32&&w!==(w=N[5]?"z-index:1001":""))&&f(e,"style",w)},i(N){m||(M(v),M(k),m=!0)},o(N){z(v),z(k),m=!1},d(N){N&&T(e),v&&v.d(),k&&k.d(),y&&y.d()}}}function L2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,w,m=!1,v=!1,k=!1,y=!1,N=!1,I=!0,A,R=gt("store");const E=J=>Se.getNodeLabel(J),O=async J=>{const j=J&&J.length?le.getPathWithoutHash(J):"",Y=_e.parseParams(j.split("?")[1]);w=_e.getNodeParams(Y);const be=await Vt.extractDataFromPath(J);_=be.nodeObject,t(4,N=r.isDrawer||typeof _.drawer=="object"),A=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=be.pathData,t(7,s=!0)},H=async J=>{if(!(m||v))if(s)if(_.webcomponent)t(3,k=!1),N?await G():await F(),ar.renderWebComponent(_.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:w}}),v=!0;else{const j=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:w});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:w}}),m=!0}else await O(J)},F=async()=>{let J,j;const Y=document.querySelector(".lui-modal-index-"+c),{size:be,width:re,height:oe}=r,Ce=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(Y.classList.remove("lui-modal-fullscreen"),re&&re.match(Ce)&&oe&&oe.match(Ce))J=oe,j=re;else switch(be){case"fullscreen":J="100vh",j="100vw",Y.classList.add("lui-modal-fullscreen");break;case"m":J="80%",j="60%";break;case"s":J="80%",j="40%";break;default:J="80%",j="80%"}Y.setAttribute("style",`width:${j};height:${J};`)},B=async(J,j)=>{N?await G():await F(),J&&(J=_e.substituteViewUrl(J,j));const Y=await Te.createIframe(J,void 0,_,"modal",j);return document.querySelector(A).appendChild(Y),Y};async function G(J){let j="";const Y=document.getElementsByClassName("drawer"),be=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?Y[0].setAttribute("style",j):(be[0].setAttribute("style",j),Y[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const ee=async J=>{J.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),J.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),J.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&te()),J.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),J.data.msg==="luigi.navigation.updateModalSettings"&&((J.data.updatedModalSettings.title||J.data.updatedModalSettings.title==="")&&t(0,r.title=J.data.updatedModalSettings.title,r),(J.data.updatedModalSettings.size||J.data.updatedModalSettings.width||J.data.updatedModalSettings.height)&&(t(0,r.size=J.data.updatedModalSettings.size,r),t(0,r.height=J.data.updatedModalSettings.height,r),t(0,r.width=J.data.updatedModalSettings.width,r),await F()),se.getConfigBooleanValue("routing.showModalPathInUrl")&&xe.updateModalDataInUrl(_e.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},J.data.addHistoryEntry))};jt(()=>{fn.doOnStoreChange(R,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Ln.addEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var J;!y&&!_.webcomponent&&((J=_.loadingIndicator)==null?void 0:J.enabled)!==!1&&t(3,k=!0)},250)}),Qr(()=>{Ln.removeEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function te(){let J;I?J=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):J=document.querySelector(".drawer .spinnerContainer"),J&&J.classList.contains("fade-out")&&(J.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Z=()=>h("close",{activeDrawer:!1});return i.$$set=J=>{"settings"in J&&t(0,r=J.settings),"isDataPrepared"in J&&t(7,s=J.isDataPrepared),"nodepath"in J&&t(8,o=J.nodepath),"modalIndex"in J&&t(1,c=J.modalIndex),"disableBackdrop"in J&&t(2,g=J.disableBackdrop),"$$scope"in J&&t(9,l=J.$$scope)},[r,c,g,k,N,I,h,s,o,l,n,Z]}class b_ extends Rt{constructor(e){super(),Et(this,e,L2,T2,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function Zf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function Xf(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function $f(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function ec(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=uc(Zf(i,n,r));return{c(){e=C("div"),t=C("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){L(r,e,s),S(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=Zf(r,n,o);l[o]?l[o].p(c,s):(l[o]=uc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&T(e),dt(l,r)}}}function tc(i){let e;function t(r,s){return r[28].isEditable||r[28].isEditable===void 0?E2:A2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function A2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,s){L(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ie(n,t),s[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function E2(i){let e,t,n,l,r;function s(){i[17].call(e,i[27])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[27]]),l||(r=ae(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Uf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,h,_,p,w,m,v=Array.isArray(i[28].options),k,y;function N(...R){return i[18](i[27],i[30],i[28],...R)}function I(){return i[19](i[28])}let A=v&&ic(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),s=C("span"),c=Ne(o),h=q(),_=C("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',w=q(),m=C("div"),A&&A.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[30]),f(s,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-h4g9o7"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,c),S(r,h),S(r,_),S(t,w),S(t,m),A&&A.m(m,null),k||(y=[ae(r,"keydown",N),ae(n,"click",Ut(I))],k=!0)},p(R,E){i=R,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ie(c,o),E[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(s,"disabled",g),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?A?A.p(i,E):(A=ic(i),A.c(),A.m(m,null)):A&&(A.d(1),A=null)},d(R){R&&T(e),A&&A.d(),k=!1,Qe(y)}}}function ic(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let s;for(s=0;s<t.length;s+=1){const o=$f(l,t,s);n[s]?n[s].p(o,r):(n[s]=lc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function lc(i){let e,t,n=i[12](i[31])+"",l,r,s,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=C("li"),t=C("span"),l=Ne(n),r=q(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",s=i[4]===i[33]),f(e,"tabindex","0"),mi(e,"is-selected",i[4]===i[33]),mi(e,"is-focus",i[4]===i[33])},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),o||(c=[ae(e,"click",g),ae(e,"keydown",i[21])],o=!0)},p(h,_){i=h,_[0]&2&&n!==(n=i[12](i[31])+"")&&Ie(l,n),_[0]&16&&s!==(s=i[4]===i[33])&&f(e,"aria-selected",s),_[0]&16&&mi(e,"is-selected",i[4]===i[33]),_[0]&16&&mi(e,"is-focus",i[4]===i[33])},d(h){h&&T(e),o=!1,Qe(c)}}}function rc(i){let e,t,n,l=i[28].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=sc(Xf(i,l,s));return{c(){e=C("div"),t=C("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-h4g9o7"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){L(s,e,o),S(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[28].options;let c;for(c=0;c<l.length;c+=1){const g=Xf(s,l,c);r[c]?r[c].p(g,o):(r[c]=sc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[27]+" svelte-h4g9o7")&&f(t,"class",n)},d(s){s&&T(e),dt(r,s)}}}function sc(i){let e,t=i[12](i[31])+"",n,l,r,s,o,c,g,h;function _(){return i[22](i[27],i[31])}return{c(){e=C("button"),n=Ne(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,w){L(p,e,w),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!0)},p(p,w){i=p,w[0]&2&&t!==(t=i[12](i[31])+"")&&Ie(n,t),w[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),w[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",s),w[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),w[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),g=!1,h()}}}function ac(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[23].call(n,i[27])}return{c(){e=C("label"),t=C("span"),n=C("input"),s=q(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,w){L(p,e,w),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[27]],S(t,s),S(t,o),g||(h=ae(n,"change",_),g=!0)},p(p,w){i=p,w[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),w[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),w[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),w[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,h()}}}function oc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(s,o){L(s,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ae(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(s){s&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[28].label)+"",r,s,o,c,g,h,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,w,m,v=i[28].type==="string"&&tc(i),k=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&nc(i),y=_&&rc(i),N=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&ac(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&oc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ne(l),s=Ne(":"),o=q(),c=C("div"),v&&v.c(),g=q(),k&&k.c(),h=q(),y&&y.c(),p=q(),N&&N.c(),w=q(),I&&I.c(),m=q(),f(n,"class","fd-form-label svelte-h4g9o7"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-h4g9o7"),f(c,"class","fd-col fd-col--8 svelte-h4g9o7"),f(e,"class","fd-row svelte-h4g9o7")},m(A,R){L(A,e,R),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,c),v&&v.m(c,null),S(c,g),k&&k.m(c,null),S(c,h),y&&y.m(c,null),S(c,p),N&&N.m(c,null),S(c,w),I&&I.m(c,null),S(e,m)},p(A,R){R[0]&34&&l!==(l=A[5](A[28].label)+"")&&Ie(r,l),A[28].type==="string"?v?v.p(A,R):(v=tc(A),v.c(),v.m(c,g)):v&&(v.d(1),v=null),A[28].type==="enum"&&(A[28].style===void 0||A[28].style==="list")?k?k.p(A,R):(k=nc(A),k.c(),k.m(c,h)):k&&(k.d(1),k=null),R[0]&2&&(_=A[28].type==="enum"&&A[28].style==="button"&&Array.isArray(A[28].options)),_?y?y.p(A,R):(y=rc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[28].type==="boolean"&&(!A[28].style||A[28].style==="switch")?N?N.p(A,R):(N=ac(A),N.c(),N.m(c,w)):N&&(N.d(1),N=null),A[28].type==="boolean"&&A[28].style==="checkbox"?I?I.p(A,R):(I=oc(A),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(A){A&&T(e),v&&v.d(),k&&k.d(),y&&y.d(),N&&N.d(),I&&I.d()}}}function R2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-h4g9o7")},m(r,s){L(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function D2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const s=Ht();let o=gt("getTranslation");Si(i,o,Z=>t(5,n=Z));let c,{isComboOpen:g}=e;function h(){s("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{m(J,!1)})}function w(Z,J){let j=ta(Z.target,".fd-popover__control",20),Y=j.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(p(),m(j,!Y))}function m(Z,J){const j=Z.querySelector(".lui-activate-dropdown"),Y=Z.parentNode.querySelector(".fd-popover__body"),be=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",J),Y.setAttribute("aria-hidden",!J),be.setAttribute("aria-expanded",J),j.setAttribute("aria-expanded",J),t(14,g=J)}function v(Z,J,j){t(4,c=j),t(0,r[l[0]][Z]=J.value||J,r)}function k(Z,J){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const Y=j.getAttribute("id"),be=`lui-us-enum_button_${Z}_option`;Y===be?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=J.value||J,r)}function y(Z,J){let j;if(Array.isArray(J)){for(let Y=0;Y<J.length;Y++)if(le.isObject(J[Y])){if(J[Y].value&&J[Y].value===Z){j=J[Y].label,t(4,c=Y);break}}else{j=Z,t(4,c=J.indexOf(Z));break}return n(j)}}function N(Z){return n(le.isObject(Z)?Z.label:Z)}function I(Z,J,j){return le.isObject(j)?`${Z}_${J}_${j.value}`:`${Z}_${J}_${j}`}function A(Z,J,j,Y){let be=ta(Z.target,".lui-anchor-node",20);const re=document.getElementById(`fd-form-input-dropdown-${j}`).children;let oe=-1;if([...re].forEach((Ce,De)=>{Ce.classList.contains("is-focus")&&(oe=De)}),g){if(Z.keyCode===El&&Z.altKey&&(be.click(),be.focus()),Z.keyCode===Oi&&!Z.altKey){if(oe===-1){oe=0,re.item(oe).classList.add("is-focus");return}oe<Y.options.length-1&&(re.item(oe).classList.remove("is-focus"),oe+=1,re.item(oe).classList.add("is-focus"))}if(Z.keyCode===El&&!Z.altKey){if(oe===-1){oe=oe.length-1,re.item(oe).classList.add("is-focus");return}oe>0&&oe<Y.options.length&&(re.item(oe).classList.remove("is-focus"),oe-=1,re.item(oe).classList.add("is-focus"))}(Z.keyCode===wi||Z.keyCode===Yr)&&v(J,Y.options[oe],oe)}else be.focus(),Z.keyCode===Oi&&Z.altKey&&be.click(),Z.keyCode===Oi&&!Z.altKey&&oe<Y.options.length-1&&v(J,Y.options[oe+1],oe+1),Z.keyCode===El&&!Z.altKey&&oe>0&&oe<Y.options.length&&v(J,Y.options[oe-1],oe-1)}function R(Z){if(g){let J=ta(Z.target,".fd-popover",20);J.blur(),(Z.keyCode===Yr||Z.keyCode===wi)&&(Z.target.click(),p(),setTimeout(()=>{J.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const O=(Z,J,j,Y)=>A(Y,Z,J,j),H=Z=>w(event,Z.isEditable),F=(Z,J,j)=>v(Z,J,j),B=Z=>R(Z),G=(Z,J)=>k(Z,J);function ee(Z){r[l[0]][Z]=this.checked,t(0,r)}function te(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,g=Z.isComboOpen)},[r,l,A,R,c,n,o,p,w,v,k,y,N,I,g,h,_,E,O,H,F,B,G,ee,te]}class V2 extends Rt{constructor(e){super(),Et(this,e,D2,R2,Tt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=ul;function cc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function dc(i,e,t){const n=i.slice();return n[37]=e[t],n}function hc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?O2:M2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=q(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&T(t),o&&T(n)}}}function M2(i){let e,t,n,l,r,s=i[37][1].initials&&gc(i);return{c(){e=C("span"),l=q(),s&&s.c(),r=ke(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),oi(e,"background-image","url('"+i[37][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),s&&s.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&oi(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?s?s.p(o,c):(s=gc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&T(e),o&&T(l),s&&s.d(o),o&&T(r)}}}function O2(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ne(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(s,o){L(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[37][1].initials?s[37][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=$n(s[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=s[37][1].altText?s[37][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&T(e)}}}function _c(i){let e,t,n,l,r,s=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,w,m,v=i[37][1].icon&&hc(i);function k(){return i[21](i[37])}function y(...N){return i[22](i[36],...N)}return{c(){e=C("li"),t=C("a"),v&&v.c(),n=q(),l=C("div"),r=C("div"),o=Ne(s),c=q(),g=C("div"),_=Ne(h),p=q(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){L(N,e,I),S(e,t),v&&v.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,c),S(l,g),S(g,_),S(e,p),w||(m=[ae(e,"click",Mt(k)),ae(e,"keydown",y)],w=!0)},p(N,I){i=N,i[37][1].icon?v?v.p(i,I):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&s!==(s=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ie(o,s),I[0]&1026&&h!==(h=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ie(_,h)},d(N){N&&T(e),v&&v.d(),w=!1,Qe(m)}}}function pc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=_c(dc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=dc(l,t,s);n[s]?n[s].p(o,r):(n[s]=_c(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[23](c)}function s(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new V2({props:o}),tt.push(()=>It(e,"closeDropDown",r,i[9])),tt.push(()=>It(e,"isComboOpen",s,i[8])),e.$on("updateSettingsObject",i[15]),{c(){We(e.$$.fragment)},m(c,g){Be(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],Nt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],Nt(()=>n=!1)),e.$set(h)},i(c){l||(M(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){He(e,c)}}}function F2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,w,m,v,k,y,N=i[10](i[7])+"",I,A,R,E,O,H,F,B,G,ee,te,Z=i[10](i[5])+"",J,j,Y,be,re=i[10](i[6])+"",oe,Ce,De,ce,Re=Object.entries(i[1]),ne=[];for(let me=0;me<Re.length;me+=1)ne[me]=pc(cc(i,Re,me));let x=i[11]&&mc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("div"),o=C("h2"),g=Ne(c),h=q(),_=C("div"),p=C("ul");for(let me=0;me<ne.length;me+=1)ne[me].c();w=q(),m=C("div"),v=C("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=q(),y=C("h2"),I=Ne(N),A=q(),R=C("div"),E=C("div"),x&&x.c(),O=q(),H=C("div"),F=q(),B=C("footer"),G=C("div"),ee=C("div"),te=C("button"),J=Ne(Z),j=q(),Y=C("div"),be=C("button"),oe=Ne(re),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(R,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(te,"data-testid","lui-us-saveBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(ee,"class","fd-bar__element"),f(be,"data-testid","lui-us-dismissBtn"),f(be,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(Y,"class","fd-bar__element"),f(G,"class","fd-bar__right"),f(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),f(e,"tabindex","0")},m(me,je){L(me,e,je),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let Ze=0;Ze<ne.length;Ze+=1)ne[Ze].m(p,null);S(n,w),S(n,m),S(m,v),S(m,k),S(m,y),S(y,I),S(n,A),S(n,R),S(R,E),x&&x.m(E,null),S(R,O),S(R,H),S(t,F),S(t,B),S(B,G),S(G,ee),S(ee,te),S(te,J),S(G,j),S(G,Y),S(Y,be),S(be,oe),Ce=!0,De||(ce=[ae(fc,"resize",i[20]),ae(fc,"keydown",i[3]),ae(v,"click",i[17]),ae(te,"click",i[25]),ae(be,"click",i[26])],De=!0)},p(me,je){if((!Ce||je[0]&1040)&&c!==(c=me[10](me[4])+"")&&Ie(g,c),je[0]&803846){Re=Object.entries(me[1]);let Ze;for(Ze=0;Ze<Re.length;Ze+=1){const pe=cc(me,Re,Ze);ne[Ze]?ne[Ze].p(pe,je):(ne[Ze]=pc(pe),ne[Ze].c(),ne[Ze].m(p,null))}for(;Ze<ne.length;Ze+=1)ne[Ze].d(1);ne.length=Re.length}(!Ce||je[0]&1152)&&N!==(N=me[10](me[7])+"")&&Ie(I,N),me[11]?x?(x.p(me,je),je[0]&2048&&M(x,1)):(x=mc(me),x.c(),M(x,1),x.m(E,null)):x&&(ye(),z(x,1,1,()=>{x=null}),Pe()),(!Ce||je[0]&1056)&&Z!==(Z=me[10](me[5])+"")&&Ie(J,Z),(!Ce||je[0]&1088)&&re!==(re=me[10](me[6])+"")&&Ie(oe,re)},i(me){Ce||(M(x),Ce=!0)},o(me){z(x),Ce=!1},d(me){me&&T(e),dt(ne,me),x&&x.d(),De=!1,Qe(ce)}}}function bc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function U2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function B2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function v_(i,e,t){if(i&&t>0)return i.matches(e)?i:v_(i.parentNode,e,t-1)}function vc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function H2(i,e,t){let n,{userSettingGroups:l}=e;const r=Ht();let s,{storedUserSettings:o={}}=e,c={},g=gt("getTranslation");Si(i,g,oe=>t(10,n=oe));let h=al.userSettingsDialog.dialogHeader,_=al.userSettingsDialog.saveBtn,p=al.userSettingsDialog.dismissBtn,w={},m,v,k,y;Qr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const oe=se.getConfigValue("userSettings.userSettingsDialog"),Ce=oe||se.getConfigValue("settings.userSettings.userSettingsDialog");Ce&&(t(4,h=Ce.dialogHeader?Ce.dialogHeader:h),t(5,_=Ce.saveBtn?Ce.saveBtn:_),t(6,p=Ce.dismissBtn?Ce.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Ln.addEventListener("message",De=>{const ce=Te.getValidMessageSource(De);if(!ce||De.data.msg!=="custom")return;ce._ready=!0;const Re=la.convertCustomMessageInternalToUser(De.data),ne="luigi.updateUserSettings";if(Re.id===ne){const x=rr.findActiveCustomUserSettingsIframe(De.source);if(x){let me=x.getAttribute("userSettingsGroup");t(0,o[me]=Re.data,o)}}Re.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&O()}),se.readUserSettings().then(De=>{c=JSON.parse(JSON.stringify(De)),De===null?t(0,o=bc(JSON.parse(JSON.stringify(l)),{})):t(0,o=bc(JSON.parse(JSON.stringify(l)),De)),I([m,l[0][m]])}).catch(De=>{De&&De.message&&console.error(De.message),De&&De.closeDialog&&r("close")}),Te.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let Ce in oe.settings){let De=oe.settings[Ce];De.type==="enum"?Array.isArray(De.options)||console.error(`There is no options array for '${Ce}' defined in the Luigi userSettings config.`):De.type===void 0&&console.error(`There is no data type defined for '${Ce}' in the Luigi userSettings config.`)}}function I(oe,Ce){t(11,s=oe);let De=oe[0],ce=oe[1];if(N(ce),Ce?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ne=>{ne.classList.remove("is-selected")}),v_(Ce.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),ce.viewUrl){if(rr.hideUserSettingsIframe(),w.hasOwnProperty(De))rr.getUserSettingsIframesInDom().forEach(Re=>{Re.userSettingsGroup===De&&(Re.style.display="block")});else{const Re=Jr.hasDecorators()?Jr.applyDecorators(ce.viewUrl):ce.viewUrl;let ne=rr.createIframe(Re,De);w[De]=ne}U2()}else B2()}const A=oe=>{t(0,o=oe.detail.userSettings)};function R(){se.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function H(oe){return Se.renderIconClassName(oe)}function F(oe){return Se.isOpenUIiconName(oe.icon)}let B;const G=()=>{const oe=window.innerWidth>=xt.desktopMinWidth&&B<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&B>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),oe&&(document.querySelector(".confirm-button").style.display="block"),!B){let De=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?De.style.display="none":De.style.display="block"}B=window.innerWidth};function ee(oe,Ce){let De=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===wi||oe.keyCode===Yr)&&De[Ce].click(),oe.keyCode===C2&&De[Object.keys(l).length-1].focus(),oe.keyCode===S2&&De[0].focus()}function te(oe){oe.keyCode===vi&&k?y():oe.keyCode===vi&&!k&&r("close")}const Z=oe=>I(oe,event),J=(oe,Ce)=>ee(Ce,[oe]);function j(oe){y=oe,t(9,y)}function Y(oe){k=oe,t(8,k)}const be=()=>R(),re=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,ee,te,h,_,p,v,k,y,n,s,r,g,I,A,R,O,H,F,G,Z,J,j,Y,be,re]}class W2 extends Rt{constructor(e){super(),Et(this,e,H2,F2,Tt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:z2}=ul;function q2(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-4tlfph")},m(t,n){L(t,e,n)},p:Fe,d(t){t&&T(e)}}}function G2(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=C("h1"),s=Ne(r),f(t,"class","lui-collapse-btn svelte-4tlfph"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-4tlfph"),f(l,"class","fd-splitView__title svelte-4tlfph")},m(g,h){L(g,e,h),S(e,t),L(g,n,h),L(g,l,h),S(l,s),o||(c=ae(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ie(s,r)},d(g){g&&T(e),g&&T(n),g&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,s,o,c;return{c(){e=C("div"),t=q(),n=C("div"),l=C("div"),r=q(),s=C("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-4tlfph"),f(n,"id","splitViewDragger")},m(g,h){L(g,e,h),L(g,t,h),L(g,n,h),S(n,l),S(n,r),S(n,s),o||(c=[ae(s,"click",Ut(Mt(i[3]))),ae(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&T(e),g&&T(t),g&&T(n),o=!1,Qe(c)}}}function K2(i){let e,t,n,l,r,s,o,c,g,h;t=new Xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,k){return v[0]?G2:q2}let p=_(i),w=p(i),m=!i[0]&&wc(i);return{c(){e=C("div"),We(t.$$.fragment),n=q(),l=C("div"),w.c(),s=q(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-4tlfph"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,k){L(v,e,k),Be(t,e,null),S(e,n),S(e,l),w.m(l,null),L(v,s,k),m&&m.m(v,k),L(v,o,k),c=!0,g||(h=ae(z2,"resize",i[5]),g=!0)},p(v,[k]){const y={};k&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&w?w.p(v,k):(w.d(1),w=p(v),w&&(w.c(),w.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,k):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(M(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&T(e),He(t),w.d(),v&&T(s),m&&m.d(v),v&&T(o),g=!1,h()}}}function j2(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,w,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:N}=e,I=!1,A=gt("getUnsavedChangesModalPromise");const R=()=>({get:()=>({collapsed:v,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:w}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(Y=>{Y==="splitViewSettings"?t(1,k=j.splitViewSettings):Y==="lastNode"?r=j.lastNode:Y==="pathData"?s=j.pathData:Y==="nodeParams"?o=j.nodeParams:Y==="collapsed"?t(0,v=j.collapsed):Y==="isDataPrepared"?t(8,y=j.isDataPrepared):Y==="currentNode"?c=j.currentNode:Y==="splitViewIframe"?h=j.splitViewIframe:Y==="splitViewIframeData"?_=j.splitViewIframeData:Y==="splitViewWC"?p=j.splitViewWC:Y==="splitViewWCData"&&(w=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:A}),E=async()=>{y?v||rt.createAndSetView(R()):await rt.prepareSplitViewData(R(),m)},O=()=>{l.split=rt.getContainer(),l.iframe=Te.getIframeContainer(),l.draggable=rt.getDragger()},H=()=>{const j=rt.getDraggerBackdrop();j&&(j.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(j){if(Te.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&rt.close(R()),j.data.msg==="luigi.navigation.splitview.collapse"&&B(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const Y=parseInt(j.data.data);if(rt.calculateAndSetSplitViewValues(Y,rt.internalValues),v)return;H(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{ee(),g=F.bind(this),Ln.addEventListener("message",g)}),fa(()=>{E(),I!==y&&!v&&(I=y,H())}),Qr(()=>{window.removeEventListener("message",g)});function B(){rt.collapse(R())}async function G(){await rt.expand(R()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function ee(){const j=le.getShellbarHeight();rt.internalValues.innerHeight=le.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-j,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=j+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),v||H()}function te(j){let Y=j.y,be={};const re=function(Re){const ne=Y-Re.y,x=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(x)||ne===0)return;const me=x-ne,je=rt.internalValues.innerHeight-me,Ze=rt.enforceTresholds(me,je);me<Ze.top||je<Ze.bottom||(be=Ze,Y=Re.y,l.draggable.style.top=`${be.top}px`)},oe=function(){if(Ce(),!be.top||!be.bottom||be.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=be.top,rt.splitViewValues=be,H(),rt.sendMessageToClients("resize.ok",be.percent)},Ce=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",re)},De=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",re)};O(),Ce(),De(),rt.getDraggerBackdrop().style.display="block"}const Z=j=>{let Y=rt.getDraggerButton();Y&&(Y.style.display=j?"block":"none"),Y=rt.getCollapsedDraggerButton(),Y&&(Y.style.display=j?"block":"none")},J=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,k=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,N=j.disableBackdrop)},[v,k,N,B,G,ee,te,J,y,m]}class J2 extends Rt{constructor(e){super(),Et(this,e,j2,K2,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Sc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Z2,then:Q2,catch:Y2,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&na(t,n)||s_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Y2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function Q2(i){let e,t=i[1]>0&&Cc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Cc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-nd17co"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){L(r,e,s),S(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ie(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Z2(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function X2(i){let e,t=i[0]&&i[0].badgeCounter&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function $2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class xn extends Rt{constructor(e){super(),Et(this,e,$2,X2,Tt,{node:0})}}function kc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function x2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&kc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function eS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Fi extends Rt{constructor(e){super(),Et(this,e,eS,x2,Tt,{node:0})}}const{window:$s}=ul;function yc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[71]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Lc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ac(i),p=i[12].showUpLink&&Ec(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),_&&_.c(),r=q(),s=C("span"),c=Ne(o),g=q(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(l,"class","fd-nested-list__link svelte-otu8sz"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-otu8sz"),f(t,"class","fd-nested-list svelte-otu8sz"),f(e,"class","lui-nav-title svelte-otu8sz")},m(w,m){L(w,e,m),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,c),S(l,g),p&&p.m(l,null)},p(w,m){w[12].icon?_?_.p(w,m):(_=Ac(w),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=w[24](w[12].label)+"")&&Ie(c,o),w[12].showUpLink?p?p.p(w,m):(p=Ec(w),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&h!==(h=w[32](w[12],w[24](w[12].label)))&&f(l,"title",h)},d(w){w&&T(e),_&&_.d(),p&&p.d()}}}function Ac(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?nS:tS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function tS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function nS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ec(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-otu8sz"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){L(r,e,s),n||(l=ae(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Rc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=nd(yc(i,r,c));const o=c=>z(s[c],1,1,()=>{s[c]=null});return{c(){e=C("div"),t=C("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-otu8sz"),f(e,"class","lui-fd-side-nav-wrapper svelte-otu8sz")},m(c,g){L(c,e,g),S(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=yc(c,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=nd(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-otu8sz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)z(s[g]);l=!1},d(c){c&&T(e),dt(s,c)}}}function iS(i){let e,t,n,l;const r=[sS,rS],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),L(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),z(s[h],1,1,()=>{s[h]=null}),Pe(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&T(n)}}}function lS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=td(Tc(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Tc(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=td(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function rS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Dc(i),_=i[68],p=[];for(let m=0;m<_.length;m+=1)p[m]=Bc(Pc(i,_,m));const w=m=>z(p[m],1,1,()=>{p[m]=null});return{c(){e=C("li"),h&&h.c(),t=q(),l=Ne(n),o=q();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-otu8sz"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(m,v){L(m,e,v),h&&h.m(e,null),S(e,t),S(e,l),L(m,o,v);for(let k=0;k<p.length;k+=1)p[k].m(m,v);L(m,c,v),g=!0},p(m,v){if(m[10]&&m[68].metaInfo.icon?h?h.p(m,v):(h=Dc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||v[0]&16785408)&&n!==(n=m[24](m[67])+"")&&Ie(l,n),(!g||v[0]&16785408&&r!==(r=m[32](m[68],m[24](m[67]))))&&f(e,"title",r),(!g||v[0]&8192&&s!==(s=m[31](m[68].metaInfo,m[67])))&&f(e,"data-testid",s),v[0]&2088804544|v[1]&66){_=m[68];let k;for(k=0;k<_.length;k+=1){const y=Pc(m,_,k);p[k]?(p[k].p(y,v),M(p[k],1)):(p[k]=Bc(y),p[k].c(),M(p[k],1),p[k].m(c.parentNode,c))}for(ye(),k=_.length;k<p.length;k+=1)w(k);Pe()}},i(m){if(!g){for(let v=0;v<_.length;v+=1)M(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)z(p[v]);g=!1},d(m){m&&T(e),h&&h.d(),m&&T(o),dt(p,m),m&&T(c)}}}function sS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,w,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te;function Z(ne,x){return x[0]&8192&&(l=null),l==null&&(l=!!ne[28](ne[68].metaInfo.icon)),l?gS:hS}let J=Z(i,[-1,-1,-1]),j=J(i);function Y(){return i[46](i[68])}function be(){return i[47](i[68])}function re(...ne){return i[48](i[68],...ne)}let oe=i[68],Ce=[];for(let ne=0;ne<oe.length;ne+=1)Ce[ne]=Gc(Ic(i,oe,ne));const De=ne=>z(Ce[ne],1,1,()=>{Ce[ne]=null});let ce=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Kc(i);function Re(){return i[53](i[68])}return{c(){e=C("li"),t=C("div"),n=C("a"),j.c(),r=q(),s=C("span"),c=Ne(o),m=q(),v=C("button"),k=C("i"),R=q(),E=C("ul");for(let ne=0;ne<Ce.length;ne+=1)Ce[ne].c();H=q(),ce&&ce.c(),F=q(),f(s,"class","fd-nested-list__title svelte-otu8sz"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-otu8sz"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",w=Sn(i[68],i[9])),f(k,"class",y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-otu8sz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",N=Sn(i[68],i[9])),f(v,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-otu8sz"),f(t,"tabindex",A=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-otu8sz"),f(E,"aria-hidden",O=!Sn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),mi(e,"lui-item-expanded",Sn(i[68],i[9]))},m(ne,x){L(ne,e,x),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,c),S(t,m),S(t,v),S(v,k),S(e,R),S(e,E);for(let me=0;me<Ce.length;me+=1)Ce[me].m(E,null);S(e,H),ce&&ce.m(e,null),S(e,F),G=!0,ee||(te=[ae(n,"click",Mt(Y)),ae(v,"click",Mt(be)),ae(t,"keypress",re),ae(e,"click",Ut(Re))],ee=!0)},p(ne,x){if(i=ne,J===(J=Z(i,x))&&j?j.p(i,x):(j.d(1),j=J(i),j&&(j.c(),j.m(n,r))),(!G||x[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ie(c,o),(!G||x[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!G||x[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-otu8sz"))&&f(n,"class",h),(!G||x[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!G||x[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!G||x[0]&8704&&w!==(w=Sn(i[68],i[9])))&&f(n,"aria-expanded",w),(!G||x[0]&8704&&y!==(y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!G||x[0]&8704&&N!==(N=Sn(i[68],i[9])))&&f(v,"aria-expanded",N),(!G||x[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(v,"title",I),(!G||x[0]&64&&A!==(A=i[6]?"0":"-1"))&&f(t,"tabindex",A),x[0]&1686151296|x[1]&66){oe=i[68];let me;for(me=0;me<oe.length;me+=1){const je=Ic(i,oe,me);Ce[me]?(Ce[me].p(je,x),M(Ce[me],1)):(Ce[me]=Gc(je),Ce[me].c(),M(Ce[me],1),Ce[me].m(E,null))}for(ye(),me=oe.length;me<Ce.length;me+=1)De(me);Pe()}(!G||x[0]&8704&&O!==(O=!Sn(i[68],i[9])))&&f(E,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?ce?(ce.p(i,x),x[0]&8448&&M(ce,1)):(ce=Kc(i),ce.c(),M(ce,1),ce.m(e,F)):ce&&(ye(),z(ce,1,1,()=>{ce=null}),Pe()),(!G||x[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",B),(!G||x[0]&8704)&&mi(e,"lui-item-expanded",Sn(i[68],i[9]))},i(ne){if(!G){for(let x=0;x<oe.length;x+=1)M(Ce[x]);M(ce),G=!0}},o(ne){Ce=Ce.filter(Boolean);for(let x=0;x<Ce.length;x+=1)z(Ce[x]);z(ce),G=!1},d(ne){ne&&T(e),j.d(),dt(Ce,ne),ce&&ce.d(),ee=!1,Qe(te)}}}function Dc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?oS:aS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function aS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function oS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Vc(i){let e,t,n=i[71].label&&Mc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Mc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Mc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I;function A(ee,te){return ee[71].icon?fS:uS}let R=A(i),E=R(i),O=i[71].statusBadge&&Oc(i),H=i[71].externalLink&&i[71].externalLink.url&&Fc(),F=i[71].badgeCounter&&Uc(i);function B(...ee){return i[54](i[71],...ee)}function G(...ee){return i[55](i[71],...ee)}return{c(){e=C("li"),t=C("a"),E.c(),n=q(),l=C("span"),s=Ne(r),o=q(),O&&O.c(),g=q(),H&&H.c(),h=q(),F&&F.c(),v=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(ee,te){L(ee,e,te),S(e,t),E.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),O&&O.m(l,null),S(t,g),H&&H.m(t,null),S(t,h),F&&F.m(t,null),S(e,v),y=!0,N||(I=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],N=!0)},p(ee,te){i=ee,R===(R=A(i))&&E?E.p(i,te):(E.d(1),E=R(i),E&&(E.c(),E.m(t,n))),(!y||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r),i[71].statusBadge?O?(O.p(i,te),te[0]&8192&&M(O,1)):(O=Oc(i),O.c(),M(O,1),O.m(l,null)):O&&(ye(),z(O,1,1,()=>{O=null}),Pe()),(!y||te[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?H||(H=Fc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=Uc(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!y||te[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||te[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||te[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||te[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||te[0]&8192&&k!==(k=i[32](i[71],i[26](i[71]))))&&f(e,"title",k)},i(ee){y||(M(O),M(F),y=!0)},o(ee){z(O),z(F),y=!1},d(ee){ee&&T(e),E.d(),O&&O.d(),H&&H.d(),F&&F.d(),N=!1,Qe(I)}}}function uS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=q(),l=C("span"),s=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),S(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ie(s,r)},d(o){o&&T(e),o&&T(n),o&&T(l)}}}function fS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?dS:cS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function cS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function dS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-otu8sz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Oc(i){let e,t;return e=new Fi({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Fc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Uc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Bc(i){let e,t,n=!i[71].hideFromNav&&Vc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Vc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function hS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function gS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Hc(i){let e,t,n=i[71].label&&Wc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Wc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Wc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&zc(),R=i[71].badgeCounter&&qc(i);function E(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"role",w=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=zc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function zc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Gc(i){let e,t,n=!i[71].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Hc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Kc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Zc(Nc(i,g,p));const _=p=>z(h[p],1,1,()=>{h[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ne(l),s=q(),o=C("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-otu8sz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-otu8sz"),f(t,"class","lui-flyout-sublist__wrapper svelte-otu8sz"),f(e,"class","lui-flyout-sublist svelte-otu8sz")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o);for(let m=0;m<h.length;m+=1)h[m].m(o,null);c=!0},p(p,w){if((!c||w[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ie(r,l),w[0]&1686151296|w[1]&66){g=p[68];let m;for(m=0;m<g.length;m+=1){const v=Nc(p,g,m);h[m]?(h[m].p(v,w),M(h[m],1)):(h[m]=Zc(v),h[m].c(),M(h[m],1),h[m].m(o,null))}for(ye(),m=g.length;m<h.length;m+=1)_(m);Pe()}},i(p){if(!c){for(let w=0;w<g.length;w+=1)M(h[w]);c=!0}},o(p){h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)z(h[w]);c=!1},d(p){p&&T(e),dt(h,p)}}}function jc(i){let e,t,n=i[71].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Jc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Jc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,w,m,v,k,y,N,I;o=new Fi({props:{node:i[71]}});let A=i[71].externalLink&&i[71].externalLink.url&&Yc(),R=i[71].badgeCounter&&Qc(i);function E(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),s=q(),We(o.$$.fragment),g=q(),A&&A.c(),h=q(),R&&R.c(),k=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",w=i[23]?void 0:"button"),f(t,"data-testid",m=i[29](i[71])),f(t,"title",v=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),Be(o,n,null),S(t,g),A&&A.m(t,null),S(t,h),R&&R.m(t,null),S(e,k),y=!0,N||(I=[ae(t,"click",E),ae(t,"keyup",function(){Rl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],N=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?A||(A=Yc(),A.c(),A.m(t,h)):A&&(A.d(1),A=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Qc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",p),(!y||F[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&f(t,"role",w),(!y||F[0]&8192&&m!==(m=i[29](i[71])))&&f(t,"data-testid",m),(!y||F[0]&8192&&v!==(v=i[32](i[71],i[26](i[71]))))&&f(t,"title",v)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){z(o.$$.fragment,H),z(R),y=!1},d(H){H&&T(e),He(o),A&&A.d(),R&&R.d(),N=!1,Qe(I)}}}function Yc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Qc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Zc(i){let e,t,n=!i[71].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=jc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xc(i){let e,t,n=i[71].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=$c(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $c(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(ee,te){return ee[71].icon?pS:_S}let E=R(i),O=E(i);c=new Fi({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&xc(),F=i[71].badgeCounter&&ed(i);function B(...ee){return i[44](i[71],...ee)}function G(...ee){return i[45](i[71],...ee)}return{c(){e=C("li"),t=C("a"),O.c(),n=q(),l=C("span"),s=Ne(r),o=q(),We(c.$$.fragment),h=q(),H&&H.c(),_=q(),F&&F.c(),y=q(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"),f(t,"href",p=i[30](i[71])),f(t,"title",w=i[32](i[71],i[26](i[71]))),f(t,"class",m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",k=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(ee,te){L(ee,e,te),S(e,t),O.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),Be(c,l,null),S(t,h),H&&H.m(t,null),S(t,_),F&&F.m(t,null),S(e,y),N=!0,I||(A=[ae(t,"click",B),ae(t,"keyup",function(){Rl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(ee,te){i=ee,E===(E=R(i))&&O?O.p(i,te):(O.d(1),O=E(i),O&&(O.c(),O.m(t,n))),(!N||te[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r);const Z={};te[0]&8192&&(Z.node=i[71]),c.$set(Z),(!N||te[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-otu8sz"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,te),te[0]&8192&&M(F,1)):(F=ed(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),z(F,1,1,()=>{F=null}),Pe()),(!N||te[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||te[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&f(t,"title",w),(!N||te[0]&8320&&m!==(m="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-otu8sz"))&&f(t,"class",m),(!N||te[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!N||te[0]&8192&&k!==(k=i[29](i[71])))&&f(t,"data-testid",k)},i(ee){N||(M(c.$$.fragment,ee),M(F),N=!0)},o(ee){z(c.$$.fragment,ee),z(F),N=!1},d(ee){ee&&T(e),O.d(),He(c),H&&H.d(),F&&F.d(),I=!1,Qe(A)}}}function _S(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function pS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?bS:mS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function mS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-otu8sz"),f(e,"class","fd-nested-list__icon sap-icon svelte-otu8sz")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function bS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-otu8sz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-otu8sz")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ed(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function td(i){let e,t,n=!i[71].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Xc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function nd(i){let e,t,n,l,r,s;const o=[lS,iS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),L(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){z(l),s=!1},d(h){~n&&c[n].d(h),h&&T(r)}}}function id(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ld(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ne(l),s=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-otu8sz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-otu8sz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-otu8sz")},m(c,g){L(c,e,g),S(e,t),S(t,n),S(n,r),S(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ie(r,l),c[3]?o?o.p(c,g):(o=ld(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function ld(i){let e;function t(r,s){return r[4]=="button"?wS:vS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function vS(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){L(r,e,s),n||(l=[ae(e,"click",i[57]),ae(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function wS(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-otu8sz")},m(s,o){L(s,e,o),S(e,t),l||(r=ae(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-otu8sz")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&T(e),l=!1,r()}}}function SS(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Lc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Rc(i),w=(i[2]||i[3])&&id(i);return{c(){e=C("div"),_&&_.c(),t=q(),n=C("nav"),l=C("div"),p&&p.c(),r=q(),w&&w.c(),f(l,"class","fd-side-nav__main-navigation svelte-otu8sz"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-otu8sz")},m(m,v){L(m,e,v),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),w&&w.m(n,null),c=!0,g||(h=[ae($s,"resize",i[17]),ae($s,"click",i[21]),ae($s,"blur",i[21]),ae($s,"keydown",i[33]),ae(n,"keyup",i[18])],g=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Lc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&M(p,1)):(p=Rc(m),p.c(),M(p,1),p.m(l,null)):p&&(ye(),z(p,1,1,()=>{p=null}),Pe()),m[2]||m[3]?w?w.p(m,v):(w=id(m),w.c(),w.m(n,null)):w&&(w.d(1),w=null),(!c||v[0]&4160&&s!==(s="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-otu8sz"))&&f(n,"class",s),(!c||v[0]&14&&o!==(o="fd-app__sidebar "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-otu8sz"))&&f(e,"class",o)},i(m){c||(M(p),c=!0)},o(m){z(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),w&&w.d(),g=!1,Qe(h)}}}function Sn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const CS=i=>!i.hideFromNav&&i.label;function kS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:k,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:O}),set:async ie=>{ie&&(Object.getOwnPropertyNames(ie).forEach(async Le=>{if(Le==="pathData")t(5,p=ie.pathData);else if(Le==="context")H=ie.context;else if(Le==="children")t(0,s=ie.children);else if(Le==="selectedNode")t(7,k=ie.selectedNode);else if(Le==="hasCategoriesWithIcon")t(10,I=ie.hasCategoriesWithIcon);else if(Le==="navParent"){t(12,E=void 0);let st=ie.navParent;if(t(41,O=st),st&&st.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let yt=st.navHeader,St=st;if(yt==="inherit"){for(St=st.parent;St&&St.navHeader==="inherit";)St=St.parent;yt=St?St.navHeader:void 0}if(yt instanceof Function){t(12,E={});let sn=yt(Se.stripNode(st),Se.stripNode(St),H);sn instanceof Promise?sn.then(kn=>{t(12,E=kn)}):t(12,E=sn)}else if(yt==="auto")t(12,E={label:st.label,icon:st.icon});else if(yt&&yt.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,E={...yt,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,E=yt);const sn=_e.mapPathToNode(xe.getCurrentPath(),St);Vt.extractDataFromPath(sn).then(kn=>{const ti=_e.substituteDynamicParamsInObject(Object.assign({},kn.pathData.context,St.context),kn.pathData.pathParams);Se.fetchNodeTitleData(St,ti).then(zn=>{t(12,E={...yt,...zn})}).catch(zn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...yt,label:st.label,icon:st.icon})})})}else t(12,E=await De(yt,St))}}}),t(40,A=Se.getSideNavAccordionMode(k)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:w}=e,{virtualGroupPrefix:m=Se.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:R}=e,{navHeader:E}=e,{navParentNode:O}=e,H,F,B,G=gt("store"),ee=gt("getTranslation");Si(i,ee,ie=>t(24,n=ie));let te=!1;const Z=ie=>Se.getNodeLabel(ie),J=async()=>{const ie=l.get(),Le=await Vt.getLeftNavData({...ie},ie);Le&&(l.set(Le),F=p,window.LEFTNAVDATA=Le.children)};jt(()=>{t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=se.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,te=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),fn.doOnStoreChange(G,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),fn.doOnStoreChange(G,()=>{J()},["navigation.viewgroupdata"]);let ie=pi.initial();t(6,v=ie.isSemiCollapsed),t(39,g=ie.semiCollapsible),pi.onValueChanged(Le=>{t(6,v=Le.isSemiCollapsed)}),Ln.addEventListener("message",Le=>{Le.data.msg==="luigi.navigation.update-badge-counters"&&J()})}),Hn(()=>{(!F||F!=p)&&J(),t(22,B=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Se.loadExpandedCategories()),t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function Y(ie){return Se.renderIconClassName(ie)}function be(ie){return Se.isOpenUIiconName(ie)}function re(ie){return ie.testId?ie.testId:Se.prepareForTests(ie.pathSegment,ie.label)}function oe(ie){return _e.getNodeHref(ie,w)}function Ce(ie,Le){return ie&&ie.testId?ie.testId:Se.prepareForTests(Le||ie.label)}async function De(ie,Le){const st=_e.mapPathToNode(xe.getCurrentPath(),Le),St=(await Vt.extractDataFromPath(st)).pathData.pathParams;return _e.substituteDynamicParamsInObject(ie,St)}function ce(ie,Le){return Se.generateTooltipText(ie,Le)}function Re(ie){r("handleClick",{node:ie})}function ne(ie,Le){if(pi.getCollapsed()){let st,yt=document.getElementsByClassName("fd-app__sidebar")[0];if(ie.metaInfo&&ie.metaInfo.label?st=ie.metaInfo.label:st=ie.category&&ie.category.label||ie.category,yt.classList.contains("isBlocked")||(yt.className+=" isBlocked"),st===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=st),x(Le)}}function x(ie){const Le=ie.closest(".fd-nested-list__item"),st=Le.offsetTop,yt=ui.getShellbar().offsetHeight;let St;ui.isCustomLuigiContainer()?St=ui.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const sn=Le.getElementsByClassName("lui-flyout-sublist")[0],kn=ie.closest(".lui-fd-side-nav-wrapper").scrollTop,ti=st+yt-kn,zn=St-st-Le.offsetHeight+kn-yt;ti+sn.offsetHeight>=St?(sn.style.bottom=zn+"px",sn.className+=" has-bottom-position"):sn.style.top=ti-yt+"px"})}function me(){if(g){let ie=pi.onResize(y);t(6,v=ie.isSemiCollapsed),t(8,y=ie.selectedCategory)}}function je(ie){if(ie.code==="ArrowRight"){const st=Te.getCurrentMicrofrontendIframe();st&&st.contentWindow&&st.contentWindow.focus()}}function Ze(ie){let Le=O?O.parent:void 0;for(;Le;){if(Le.pathSegment&&Le.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Le});return}Le=Le.parent}console.warn('Could not resolve "up"-node, redirecting to root'),p_.navigate("/")}function pe(ie,Le){pi.getCollapsed()||t(9,N=Se.storeExpandedState(ie.metaInfo.categoryUid,Le,A))}function qe(){t(8,y=pi.closePopupMenu(y))}function mt(ie){ie&&ie.code==="Escape"&&qe()}function rn(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Wt()}function vt(ie){const Le=ie.code;(Le==="Enter"||Le==="Space")&&rn()}function Zt(ie,Le){(ie.code==="Enter"||ie==="Space")&&ne(Le,ie.currentTarget)}function An(ie,Le){ie.keyCode===wi&&Se.handleNavAnchorClickedWithoutMetaKey(ie)&&Re(Le)}function Wt(){if(!Se.getBurgerTooltipConfig())return;const[ie,Le]=Se.getBurgerTooltipConfig(),st=document.body.classList.contains("lui-semiCollapsible");ie&&Le&&st&&t(11,R=document.body.classList.contains("semiCollapsed")?ie:Le)}function Wn(ie,Le){return Sn(ie,Le)?ie.metaInfo.titleCollapseButton?n(ie.metaInfo.titleCollapseButton):void 0:ie.metaInfo.titleExpandButton?n(ie.metaInfo.titleExpandButton):void 0}const fl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Cn=(ie,Le)=>An(Le,ie),ut=ie=>pe(ie,!Sn(ie,N)),ei=ie=>pe(ie,!Sn(ie,N)),fi=(ie,Le)=>Zt(Le,ie),_n=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Jt=(ie,Le)=>An(Le,ie),cl=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Yt=(ie,Le)=>An(Le,ie),en=ie=>ne(ie,event.currentTarget),ci=(ie,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Re(ie)},Ci=(ie,Le)=>An(Le,ie),cn=ie=>rn(),ki=ie=>rn(),yi=ie=>vt(ie);return i.$$set=ie=>{"children"in ie&&t(0,s=ie.children),"hideNavComponent"in ie&&t(1,o=ie.hideNavComponent),"footerText"in ie&&t(2,c=ie.footerText),"semiCollapsible"in ie&&t(39,g=ie.semiCollapsible),"semiCollapsibleButton"in ie&&t(3,h=ie.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ie&&t(4,_=ie.semiCollapsibleButtonStyle),"pathData"in ie&&t(5,p=ie.pathData),"pathParams"in ie&&t(42,w=ie.pathParams),"virtualGroupPrefix"in ie&&t(14,m=ie.virtualGroupPrefix),"isSemiCollapsed"in ie&&t(6,v=ie.isSemiCollapsed),"selectedNode"in ie&&t(7,k=ie.selectedNode),"selectedCategory"in ie&&t(8,y=ie.selectedCategory),"expandedCategories"in ie&&t(9,N=ie.expandedCategories),"hasCategoriesWithIcon"in ie&&t(10,I=ie.hasCategoriesWithIcon),"sideNavAccordionMode"in ie&&t(40,A=ie.sideNavAccordionMode),"burgerTooltip"in ie&&t(11,R=ie.burgerTooltip),"navHeader"in ie&&t(12,E=ie.navHeader),"navParentNode"in ie&&t(41,O=ie.navParentNode),"sortedChildrenEntries"in ie&&t(13,j=ie.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ie=Object.entries(s);ie.sort((Le,st)=>Le[1].metaInfo.order-st[1].metaInfo.order),t(13,j=ie)}},[s,o,c,h,_,p,v,k,y,N,I,R,E,j,m,Re,ne,me,je,Ze,pe,qe,B,te,n,ee,Z,Y,be,re,oe,Ce,ce,mt,rn,vt,Zt,An,Wn,g,A,O,w,x,fl,Cn,ut,ei,fi,_n,Jt,cl,Yt,en,ci,Ci,cn,ki,yi]}class yS extends Rt{constructor(e){super(),Et(this,e,kS,SS,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const PS=i=>{fn.doOnStoreChange(i.store,()=>{const e=se.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),se.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),w_(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),w_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!NS(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function rd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function sd(i,e,t){const n=i.slice();return n[43]=e[t],n}function IS(i){let e,t,n,l,r=i[1]&&ad(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ad(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function TS(i){let e,t,n,l,r=i[1]&&od(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){L(s,e,o),r&&r.m(e,null),n||(l=ae(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=od(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&T(e),r&&r.d(),n=!1,l()}}}function ad(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function od(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[26](null)}}}function ud(i){let e,t;function n(o,c){return o[3]?LS:AS}let l=n(i),r=l(i),s=i[10]&&vd(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=vd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}function LS(i){let e,t,n,l,r,s,o,c,g,h;function _(k,y){return k[12]?RS:ES}let p=_(i),w=p(i),m=i[4]&&i[5]&&_d(i),v=i[7]&&i[7].length>0&&pd(i);return{c(){e=C("div"),t=C("div"),w.c(),n=q(),l=C("div"),r=C("nav"),s=C("ul"),m&&m.c(),o=q(),v&&v.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(k,y){L(k,e,y),S(e,t),w.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),m&&m.m(s,null),S(s,o),v&&v.m(s,null),i[36](s),g||(h=ae(t,"click",Ut(US)),g=!0)},p(k,y){p===(p=_(k))&&w?w.p(k,y):(w.d(1),w=p(k),w&&(w.c(),w.m(t,null))),k[4]&&k[5]?m?m.p(k,y):(m=_d(k),m.c(),m.m(s,o)):m&&(m.d(1),m=null),k[7]&&k[7].length>0?v?v.p(k,y):(v=pd(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&T(e),w.d(),m&&m.d(),v&&v.d(),i[36](null),g=!1,h()}}}function AS(i){let e;function t(r,s){return r[12]?OS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),L(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function ES(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[7]&&i[7].length===1&&fd(i),r=i[7]&&i[7].length>1&&cd(i),s=i[7].length>1&&!i[5]&&gd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),s&&s.m(o,c),L(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=cd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=gd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&T(e),r&&r.d(o),o&&T(t),s&&s.d(o),o&&T(n)}}}function fd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(s,o){L(s,e,o),S(e,t),S(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&T(e)}}}function cd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=hd(sd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=sd(l,t,s);n[s]?n[s].p(o,r):(n[s]=hd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),o=q(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,w){L(p,e,w),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Mt(i[32])),h=!0)},p(p,w){w[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(l,n),w[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),w[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&T(e),h=!1,_()}}}function hd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&dd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=dd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function gd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),r=q(),s=C("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){L(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),c||(g=ae(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&T(e),c=!1,g()}}}function _d(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){L(g,e,h),S(e,t),S(t,n),S(n,r),o||(c=ae(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ie(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&T(e),o=!1,c()}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=rd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function DS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),c=q(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,c),g||(h=ae(t,"click",_),g=!0)},p(p,w){i=p,w[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(r,l),w[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),w[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&T(e),g=!1,h()}}}function VS(i){let e,t=i[16]&&md(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=md(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function md(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new cr(!1),l=q(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){L(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&T(e)}}}function bd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return VS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return DS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&T(n)}}}function MS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("span"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function OS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,s()}}}function vd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function FS(i){let e,t;function n(o,c){return o[12]?TS:IS}let l=n(i),r=l(i),s=i[2]&&ud(i);return{c(){r.c(),e=q(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),s&&s.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=ud(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&T(e),s&&s.d(o),o&&T(t)}}}const US=()=>{};function BS(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:w}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,A,R,E=gt("getUnsavedChangesModalPromise"),O=gt("getTranslation");Si(i,O,pe=>t(17,n=pe));let H=gt("store");const F={closeDropDown:()=>{J("appSwitcherPopover")}},B=()=>({get:()=>({pathData:N,pathParams:v,appSwitcherItems:w,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach(qe=>{qe==="pathData"?t(24,N=pe.pathData):qe==="appSwitcherItems"?t(7,w=pe.appSwitcherItems):qe==="itemRenderer"?t(8,m=pe.itemRenderer):qe==="pathParams"?t(9,v=pe.pathParams):qe==="selectedItem"?t(5,_=pe.selectedItem):qe==="title"?t(2,o=pe.title):qe==="defaultSubTitle"?t(23,y=pe.defaultSubTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="defaultTitle"?t(6,p=pe.defaultTitle):qe==="subTitle"?t(10,k=pe.subTitle):qe==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):qe==="hasApps"?t(3,c=pe.hasApps):qe==="hasLogo"&&t(1,s=pe.hasLogo)})},store:H});jt(()=>{PS(B())}),Hn(()=>{(!R||R!=N)&&(w_(B()),R=N)});function G(pe,qe,mt){return setTimeout(()=>{qe&&m(pe,qe.children[mt],F)}),""}function ee(pe){E().then(()=>{xe.navigateTo(_e.applyPathParams(pe,v))},()=>{})}function te(){E().then(()=>{xe.navigateTo("/")},()=>{})}function Z(pe){l("handleClick",{node:pe}),J("appSwitcherPopover")}function J(pe){l("toggleDropdownState",{name:pe})}function j(pe){return pe.testId?pe.testId:Se.prepareForTests(pe.title||pe)}function Y(pe,qe){if(pe.link){const mt=_e.applyPathParams(pe.link,qe);if(mt.indexOf(":")!==0&&mt.indexOf("/:")===-1)return!0}return!1}function be(pe){return _e.getNodeHref(pe)}function re(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const oe=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")};function Ce(pe){tt[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const De=()=>ee("/"),ce=pe=>{Se.handleNavAnchorClickedWithoutMetaKey(pe)&&ee("/")},Re=()=>ee("/"),ne=()=>J("appSwitcherPopover"),x=()=>J("appSwitcherPopover"),me=()=>J("appSwitcherPopover"),je=(pe,qe)=>{Se.handleNavAnchorClickedWithoutMetaKey(qe)&&ee(pe.link)};function Ze(pe){tt[pe?"unshift":"push"](()=>{A=pe,t(16,A)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,s=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,g=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,h=pe.showMainAppEntry),"selectedItem"in pe&&t(5,_=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,w=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,m=pe.itemRenderer),"pathParams"in pe&&t(9,v=pe.pathParams),"subTitle"in pe&&t(10,k=pe.subTitle),"defaultSubTitle"in pe&&t(23,y=pe.defaultSubTitle),"pathData"in pe&&t(24,N=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,I=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,w,m,v,k,g,I,ee,te,J,A,n,O,G,j,Y,be,y,N,Z,re,oe,Ce,De,ce,Re,ne,x,me,je,Ze]}class HS extends Rt{constructor(e){super(),Et(this,e,BS,FS,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function wd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Sd(i){let e,t,n,l,r,s,o=i[0]&&Cd(i),c=(i[10]||i[11])&&Ld(i);return{c(){e=C("div"),o&&o.c(),t=q(),n=C("div"),l=C("div"),r=C("div"),s=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){L(g,e,h),o&&o.m(e,null),L(g,t,h),L(g,n,h),S(n,l),S(l,r),S(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Cd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Ld(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&T(e),o&&o.d(),g&&T(t),g&&T(n),c&&c.d()}}}function Cd(i){let e,t,n,l,r,s,o;function c(k,y){return k[7].picture?zS:WS}let g=c(i),h=g(i),_=i[7].name&&kd(i),p=i[7].description&&yd(i),w=i[9].items,m=[];for(let k=0;k<w.length;k+=1)m[k]=Nd(wd(i,w,k));let v=i[12]&&Id(i);return{c(){e=C("div"),h.c(),t=q(),n=C("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),s=C("ul");for(let k=0;k<m.length;k+=1)m[k].c();o=q(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(k,y){L(k,e,y),h.m(e,null),L(k,t,y),L(k,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),L(k,r,y),L(k,s,y);for(let N=0;N<m.length;N+=1)m[N].m(s,null);S(s,o),v&&v.m(s,null)},p(k,y){if(g===(g=c(k))&&h?h.p(k,y):(h.d(1),h=g(k),h&&(h.c(),h.m(e,null))),k[7].name?_?_.p(k,y):(_=kd(k),_.c(),_.m(n,l)):_&&(_.d(1),_=null),k[7].description?p?p.p(k,y):(p=yd(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){w=k[9].items;let N;for(N=0;N<w.length;N+=1){const I=wd(k,w,N);m[N]?m[N].p(I,y):(m[N]=Nd(I),m[N].c(),m[N].m(s,o))}for(;N<m.length;N+=1)m[N].d(1);m.length=w.length}k[12]?v?v.p(k,y):(v=Id(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null)},d(k){k&&T(e),h.d(),k&&T(t),k&&T(n),_&&_.d(),p&&p.d(),k&&T(r),k&&T(s),dt(m,k),v&&v.d()}}}function WS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&T(e)}}}function zS(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function kd(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ie(n,t)},d(l){l&&T(e)}}}function yd(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function qS(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&oi(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&T(e)}}}function GS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function Nd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Pd(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Pd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Id(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Td(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){L(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(c=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Td(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ie(s,r)},d(h){h&&T(e),g&&g.d(),o=!1,Qe(c)}}}function Td(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?jS:KS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function KS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function jS(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ld(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ad(i),l=i[10]&&!i[8]&&Ed(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ad(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ed(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Ad(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){L(c,e,g),S(e,t),S(t,l),s||(o=ae(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ie(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),s=!1,o()}}}function Ed(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=q(),n=C("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){L(s,e,o),L(s,t,o),L(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&T(e),s&&T(t),s&&T(n),l=!1,Qe(r)}}}function JS(i){let e,t=!i[1]&&Sd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function YS(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings"),De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(Ce){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De),t(12,p=!!Ce)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class QS extends Rt{constructor(e){super(),Et(this,e,YS,JS,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Rd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Dd(i){let e,t,n,l,r,s=i[0]&&Vd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Od(Rd(i,o,_));let g=i[12]&&Fd(i),h=(i[10]||i[11])&&Bd(i);return{c(){e=C("nav"),t=C("ul"),s&&s.c(),n=q();for(let _=0;_<c.length;_+=1)c[_].c();l=q(),g&&g.c(),r=q(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let w=0;w<c.length;w+=1)c[w].m(t,null);S(t,l),g&&g.m(t,null),S(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Vd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let w;for(w=0;w<o.length;w+=1){const m=Rd(_,o,w);c[w]?c[w].p(m,p):(c[w]=Od(m),c[w].c(),c[w].m(t,l))}for(;w<c.length;w+=1)c[w].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Fd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&T(e),s&&s.d(),dt(c,_),g&&g.d(),h&&h.d()}}}function Vd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){L(r,e,s),S(e,t),S(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function ZS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function XS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Md(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),_&&_.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(w,m){L(w,e,m),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(e,"click",p)],g=!0)},p(w,m){i=w,i[34].icon?_?_.p(i,m):(_=Md(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(s,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(w){w&&T(e),_&&_.d(),g=!1,Qe(h)}}}function Fd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Ud(i);return{c(){e=C("li"),t=C("a"),h&&h.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=[ae(e,"click",Mt(i[5])),ae(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Ud(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,Qe(g)}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function $S(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function xS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Hd(i),l=i[10]&&!i[8]&&zd(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),L(r,e,s),l&&l.m(r,s),L(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Hd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=zd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Wd(i);return{c(){e=C("li"),t=C("button"),h&&h.c(),n=q(),l=C("span"),s=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),c||(g=ae(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Wd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&T(e),h&&h.d(),c=!1,g()}}}function Wd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?tC:eC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function eC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function tC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function zd(i){let e,t,n;return{c(){e=C("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&T(e),t=!1,n()}}}function nC(i){let e,t=!i[1]&&Dd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Dd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function iC(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,w,m,v=gt("store"),k=gt("getTranslation");Si(i,k,re=>t(13,n=re));let y=gt("getUnsavedChangesModalPromise"),N=gt("openViewInModal");jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),ln.getLoggedInStore().subscribe(re=>{t(8,c=re)}),ln.getUserInfoStore().subscribe(re=>{t(7,o=re),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function A(re){return Se.renderIconClassName(re)}function R(re){return Se.isOpenUIiconName(re.icon)}function E(re){return re.testId?re.testId:Se.prepareForTests(re.label)}function O(re){return _e.getNodeHref(re)}function H(){w||(fn.doOnStoreChange(v,async()=>{const re=await se.getConfigValueAsync("navigation.profile.logout"),oe=await se.getConfigValueAsync("userSettings"),Ce=oe||await se.getConfigValueAsync("settings.userSettings");t(12,p=!!Ce);const De={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const ce=Ce.userSettingsProfileMenuEntry;De.settings={...al.userSettingsProfileMenuEntry,...ce}}De.logout={...al.logout,...re},t(11,_=!!re),m=!1,ln.setProfileLogoutFn(null),re&&le.isFunction(re.customLogoutFn)&&(m=!0,ln.setProfileLogoutFn(re.customLogoutFn)),t(9,g=De)},["navigation.profile"]),w=!0)}async function F(){const re=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");re&&(ln.setUserInfo(o),t(7,o=re),l("userInfoUpdated",o))}function B(re){y().then(()=>{if(re.openNodeInModal){const oe=_e.buildRoute(re,`${re.link}`);N(oe,re.openNodeInModal===!0?{}:re.openNodeInModal)}else xe.navigateToLink(re)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?te():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Zr.openUserSettings(),l("toggleDropdownState")}function te(){ln.logout()}function Z({keyCode:re}){(re===wi||re===Yr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:J}=e;const j=re=>{Se.handleNavAnchorClickedWithoutMetaKey(re)},Y=re=>B(re),be=re=>Z(re);return i.$$set=re=>{"isHidden"in re&&t(1,r=re.isHidden),"addNavHrefForAnchor"in re&&t(2,s=re.addNavHrefForAnchor),"showUserInfo"in re&&t(0,J=re.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,J=!!(o&&(o.name||o.email)))},[J,r,s,B,G,ee,Z,o,c,g,h,_,p,n,k,I,A,R,E,O,H,F,te,j,Y,be]}class S_ extends Rt{constructor(e){super(),Et(this,e,iC,nC,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function qd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Gd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jd(qd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=qd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Jd(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Kd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),w,m,v,k,y,N;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?rC:lC}let A=I(i,-1),R=A(i);r=new xn({props:{node:i[12]}});let E=p&&jd(i);function O(){return i[10](i[12])}return{c(){e=C("li"),t=C("div"),R.c(),l=q(),We(r.$$.fragment),s=q(),o=C("div"),c=C("div"),h=Ne(g),_=q(),E&&E.c(),w=q(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(H,F){L(H,e,F),S(e,t),R.m(t,null),S(t,l),Be(r,t,null),S(e,s),S(e,o),S(o,c),S(c,h),S(o,_),E&&E.m(o,null),S(e,w),k=!0,y||(N=ae(e,"click",O),y=!0)},p(H,F){i=H,A===(A=I(i,F))&&R?R.p(i,F):(R.d(1),R=A(i),R&&(R.c(),R.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!k||F&18)&&g!==(g=i[4](i[12])+"")&&Ie(h,g),F&34&&(p=i[5](i[12])),p?E?E.p(i,F):(E=jd(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!k||F&66&&m!==(m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!k||F&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(H){k||(M(r.$$.fragment,H),k=!0)},o(H){z(r.$$.fragment,H),k=!1},d(H){H&&T(e),R.d(),He(r),E&&E.d(),y=!1,N()}}}function lC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function rC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&T(e)}}}function jd(i){let e,t=i[5](i[12])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Jd(i){let e,t,n=i[12].label&&Kd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=Kd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function sC(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A=i[1]&&Gd(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),o=Ne(i[0]),c=q(),g=C("div"),h=C("div"),_=C("ul"),A&&A.c(),p=q(),w=C("footer"),m=C("div"),v=C("div"),k=C("button"),k.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(w,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,c),S(t,g),S(g,h),S(h,_),A&&A.m(_,null),S(t,p),S(t,w),S(w,m),S(m,v),S(v,k),y=!0,N||(I=[ae(k,"click",i[9]),ae(e,"click",Ut(aC))],N=!0)},p(R,[E]){(!y||E&1)&&Ie(o,R[0]),R[1]?A?(A.p(R,E),E&2&&M(A,1)):(A=Gd(R),A.c(),M(A,1),A.m(_,null)):A&&(ye(),z(A,1,1,()=>{A=null}),Pe())},i(R){y||(M(A),y=!0)},o(R){z(A),y=!1},d(R){R&&T(e),A&&A.d(),N=!1,Qe(I)}}}const aC=()=>{};function oC(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(v){return Se.renderIconClassName(v)}function p(v){n("listClick",v)}function w(v){Ll.call(this,i,v)}const m=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,s=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,g=v.getNodeSubtitle),"noSubTitle"in v&&t(6,h=v.noSubTitle)},[l,r,s,o,c,g,h,p,_,w,m]}class C_ extends Rt{constructor(e){super(),Et(this,e,oC,sC,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:uC}=ul;function Yd(i,e,t){const n=i.slice();return n[7]=e[t],n}function Qd(i){let e,t,n,l=i[0]&&Zd(i);return{c(){e=C("nav"),t=C("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&M(l,1)):(l=Zd(r),l.c(),M(l,1),l.m(t,null)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){z(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Zd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=$d(Yd(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o&15885){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=$d(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[11](i[7])+"",h,_,p,w,m,v,k;function y(R,E){return E&1&&(l=null),l==null&&(l=!!(R[7].icon&&R[9](R[7]))),l?cC:fC}let N=y(i,-1),I=N(i);s=new xn({props:{node:i[7]}});function A(){return i[15](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),I.c(),r=q(),We(s.$$.fragment),o=q(),c=C("span"),h=Ne(g),p=q(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[13](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",w=i[12](i[7]))},m(R,E){L(R,e,E),S(e,t),S(t,n),I.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,p),m=!0,v||(k=[ae(t,"click",i[14]),ae(e,"click",A)],v=!0)},p(R,E){i=R,N===(N=y(i,E))&&I?I.p(i,E):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const O={};E&1&&(O.node=i[7]),s.$set(O),(!m||E&1)&&g!==(g=i[11](i[7])+"")&&Ie(h,g),(!m||E&5&&_!==(_=i[2]?i[13](i[7]):void 0))&&f(t,"href",_),(!m||E&1&&w!==(w=i[12](i[7])))&&f(e,"data-testid",w)},i(R){m||(M(s.$$.fragment,R),m=!0)},o(R){z(s.$$.fragment,R),m=!1},d(R){R&&T(e),I.d(),He(s),v=!1,Qe(k)}}}function fC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1811tf3"),it(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function $d(i){let e,t,n=i[7].label&&Xd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Xd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function xd(i){let e,t;return e=new C_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function dC(i){let e,t,n,l,r,s=!i[1]&&Qd(i),o=i[1]&&xd(i);return{c(){s&&s.c(),e=q(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),L(c,e,g),o&&o.m(c,g),L(c,t,g),n=!0,l||(r=ae(uC,"resize",aa),l=!0)},p(c,[g]){c[1]?s&&(ye(),z(s,1,1,()=>{s=null}),Pe()):s?(s.p(c,g),g&2&&M(s,1)):(s=Qd(c),s.c(),M(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&M(o,1)):(o=xd(c),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(ye(),z(o,1,1,()=>{o=null}),Pe())},i(c){n||(M(s),M(o),n=!0)},o(c){z(s),z(o),n=!1},d(c){s&&s.d(c),c&&T(e),o&&o.d(c),c&&T(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function hC(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=gt("getUnsavedChangesModalPromise"),g=gt("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});jt(async()=>{aa()}),Hn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function w(O){c().then(()=>{if(O.openNodeInModal){const H=_e.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else xe.handleRouteClick(O,p())},()=>{}),v()}function m(O){w(O.detail)}function v(){n("close")}function k(O){return Se.isOpenUIiconName(O.icon)}function y(O){return Se.renderIconClassName(O)}function N(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function A(O){return _e.getNodeHref(O,o)}const R=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>w(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(7,s=O.node),"addNavHrefForAnchor"in O&&t(2,h=O.addNavHrefForAnchor)},[r,l,h,w,m,v,aa,s,_,k,y,N,I,A,R,E]}class k_ extends Rt{constructor(e){super(),Et(this,e,hC,dC,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return aa}}const gn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(xe.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=gn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!gn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=gn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await gn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await gn.generateSwitcherNav(e,t)}};function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i,e,t){const n=i.slice();return n[21]=e[t],n}function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ih(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh(nh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=rh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function lh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Mt(wC)),ae(e,"click",_)],g=!0)},p(p,w){i=p,w&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),w&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),w&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,Qe(h)}}}function rh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&lh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=lh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function sh(i){let e;return{c(){e=C("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
55
55
|
<div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ah(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(th(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);L(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=th(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){dt(n,l),l&&T(e)}}}function gC(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function _C(i){let e,t,n,l,r;function s(h,_){return h[2]?mC:pC}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=C("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){L(h,e,_),c.m(e,null),L(h,n,_),l||(r=ae(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&T(e),c.d(),h&&T(n),l=!1,r()}}}function pC(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){L(h,e,_),S(e,t),S(t,l),c||(g=ae(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ie(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&T(e),c=!1,g()}}}function mC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function bC(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function oh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:bC,then:_C,catch:gC,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&na(t,n)||s_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(eh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ch(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l)}}}function fh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",i[18]),ae(e,"click",_)],g=!0)},p(p,w){i=p,w&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),w&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),w&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),g=!1,Qe(h)}}}function ch(i){let e,t=i[21].position==="bottom"&&fh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=fh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function vC(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&ih(i),c=i[3]&&i[3].length===0&&i[11]&&sh(),g=i[3]&&i[3].length&&ah(i),h=i[0]&&i[0].length&&uh(i);return{c(){e=C("nav"),o&&o.c(),t=q(),n=C("ul"),c&&c.c(),l=q(),g&&g.c(),r=q(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(_,p){L(_,e,p),o&&o.m(e,null),S(e,t),S(e,n),c&&c.m(n,null),S(n,l),g&&g.m(n,null),S(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=ih(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=sh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=ah(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=uh(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&T(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const wC=()=>{};function SC(i,e,t){let n,l=Fe,r=()=>(l(),l=Ao(k,B=>t(14,n=B)),k);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:w}=e,{getRouteLink:m}=e,{getTestId:v}=e,{getTranslation:k}=e;r();let{isContextSwitcherDropdownShown:y}=e;const N=Ht();function I(B){N("onActionClick",{node:B})}function A(B,G){N("goToOption",{option:B,selectedOption:G})}const R=B=>I(B),E=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>A(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>I(B);return i.$$set=B=>{"actions"in B&&t(0,s=B.actions),"config"in B&&t(1,o=B.config),"customOptionsRenderer"in B&&t(2,c=B.customOptionsRenderer),"options"in B&&t(3,g=B.options),"selectedLabel"in B&&t(4,h=B.selectedLabel),"selectedOption"in B&&t(5,_=B.selectedOption),"isMobile"in B&&t(6,p=B.isMobile),"getNodeName"in B&&t(7,w=B.getNodeName),"getRouteLink"in B&&t(8,m=B.getRouteLink),"getTestId"in B&&t(9,v=B.getTestId),"getTranslation"in B&&r(t(10,k=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,y=B.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,w,m,v,k,y,I,A,n,R,E,O,H,F]}class y_ extends Rt{constructor(e){super(),Et(this,e,SC,vC,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function dh(i){let e,t,n,l=!i[9]&&hh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&gh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[9]?l&&(ye(),z(l,1,1,()=>{l=null}),Pe()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=hh(s),l.c(),M(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&M(r,1)):(r=gh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function hh(i){let e,t,n,l,r,s,o,c,g,h;function _(m,v){return m[10]&&m[2]!==m[5].defaultLabel?kC:CC}let p=_(i),w=p(i);return s=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),w.c(),l=q(),r=C("div"),We(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),S(e,t),S(t,n),w.m(n,null),S(t,l),S(t,r),Be(s,r,null),c=!0,g||(h=ae(n,"click",Ut(DC)),g=!0)},p(m,v){p===(p=_(m))&&w?w.p(m,v):(w.d(1),w=p(m),w&&(w.c(),w.m(n,null)));const k={};v[0]&1&&(k.actions=m[0]),v[0]&32&&(k.config=m[5]),v[0]&64&&(k.customOptionsRenderer=m[6]),v[0]&2&&(k.options=m[1]),v[0]&16&&(k.selectedLabel=m[4]),v[0]&4&&(k.selectedOption=m[2]),v[0]&512&&(k.isMobile=m[9]),v[0]&16384&&(k.isContextSwitcherDropdownShown=m[14]),s.$set(k),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(M(s.$$.fragment,m),c=!0)},o(m){z(s.$$.fragment,m),c=!1},d(m){m&&T(e),w.d(),He(s),g=!1,h()}}}function CC(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?PC:yC}let c=o(i),g=c(i);return{c(){e=C("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){L(h,e,_),g.m(e,null),r||(s=ae(e,"click",i[30]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&T(e),g.d(),r=!1,s()}}}function kC(i){let e,t,n,l,r,s,o;function c(_,p){return _[2]&&_[7]?LC:TC}let g=c(i),h=g(i);return{c(){e=C("a"),h.c(),f(e,"href",t=i[2]?i[20](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){L(_,e,p),h.m(e,null),s||(o=ae(e,"click",Mt(i[29])),s=!0)},p(_,p){g===(g=c(_))&&h?h.p(_,p):(h.d(1),h=g(_),h&&(h.c(),h.m(e,null))),p[0]&4&&t!==(t=_[2]?_[20](_[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&T(e),h.d(),s=!1,o()}}}function yC(i){let e,t;function n(s,o){return s[4]?NC:IC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),L(s,e,o),L(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&T(e),s&&T(t)}}}function PC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function NC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function IC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function TC(i){let e,t;function n(s,o){return s[4]?AC:EC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),L(s,e,o),L(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&T(e),s&&T(t)}}}function LC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function AC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function EC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I=!i[4]&&_h(i),A=i[4]&&ph(i);return h=new y_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[11]),h.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),I&&I.c(),o=q(),A&&A.c(),c=q(),g=C("div"),We(h.$$.fragment),_=q(),p=C("footer"),w=C("div"),m=C("div"),v=C("button"),v.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(w,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),I&&I.m(s,null),S(s,o),A&&A.m(s,null),S(t,c),S(t,g),Be(h,g,null),S(t,_),S(t,p),S(p,w),S(w,m),S(m,v),k=!0,y||(N=[ae(v,"click",i[13]),ae(e,"click",Ut(VC))],y=!0)},p(R,E){R[4]?I&&(I.d(1),I=null):I?I.p(R,E):(I=_h(R),I.c(),I.m(s,o)),R[4]?A?A.p(R,E):(A=ph(R),A.c(),A.m(s,null)):A&&(A.d(1),A=null);const O={};E[0]&1&&(O.actions=R[0]),E[0]&32&&(O.config=R[5]),E[0]&64&&(O.customOptionsRenderer=R[6]),E[0]&2&&(O.options=R[1]),E[0]&16&&(O.selectedLabel=R[4]),E[0]&4&&(O.selectedOption=R[2]),E[0]&512&&(O.isMobile=R[9]),E[0]&16384&&(O.isContextSwitcherDropdownShown=R[14]),h.$set(O)},i(R){k||(M(h.$$.fragment,R),k=!0)},o(R){z(h.$$.fragment,R),k=!1},d(R){R&&T(e),I&&I.d(),A&&A.d(),He(h),y=!1,Qe(N)}}}function _h(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function ph(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function RC(i){let e,t,n=i[3]&&dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=dh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),z(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}const DC=()=>{},VC=()=>{};function MC(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:w}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:k}=e,{customSelectedOptionRenderer:y}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:A}=e,R,E=gt("getUnsavedChangesModalPromise"),O=gt("store"),H=gt("getTranslation");Si(i,H,ce=>t(16,l=ce));let F=!1,{addNavHrefForAnchor:B}=e,G;jt(async()=>{fn.doOnStoreChange(O,async()=>{const ce=se.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,k=le.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,y=le.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(28,p=ce.alwaysShowDropdown!==!1),t(0,h=await se.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=xe.getCurrentPath();t(21,m=ce.fallbackLabelResolver),gn.resetFallbackLabelCache(),ce.lazyloadOptions||await J(),gn.isContextSwitcherDetailsView(Re,ce.parentNodePath)&&await j(Re)}},["navigation.contextSwitcher"]),_e.addRouteChangeListener(ce=>j(ce)),Ln.addEventListener("message",ce=>{Te.getValidMessageSource(ce)&&ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),J())}),t(22,A=g.defaultLabel)}),Hn(()=>{F!==I&&(F=I,J()),t(14,G=o.contextSwitcherPopover||!1)});function ee(ce,Re,ne){return ce?Promise.resolve(ce):gn.getFallbackLabel(Re,ne)}function te(ce){return ce.testId?ce.testId:Se.prepareForTests(ce.pathSegment,ce.label)}function Z(ce){return _e.getNodeHref(ce,v)}async function J(){t(1,_=await gn.fetchOptions(_));const ce=g||{},Re=ce.parentNodePath,ne=ce.fallbackLabelResolver,x=xe.getCurrentPath();t(2,w=await gn.getSelectedOption(x,_,Re)),t(4,c=await gn.getSelectedLabel(x,_,Re,ne)),await gn.getSelectedNode(x,_,Re),R=ce.preserveSubPathOnSwitch}async function j(ce){const Re=g||{},ne=Re.parentNodePath,x=Re.fallbackLabelResolver;t(2,w=await gn.getSelectedOption(ce,_,ne)),t(4,c=await gn.getSelectedLabel(ce,_,ne,x)),await gn.getSelectedNode(ce,_,ne)}async function Y(ce){let Re=ce.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{be(Re.link)}),N&&r("toggleDropdownState"))}function be(ce){E().then(()=>{xe.navigateTo(ce)},()=>{})}function re(ce){let Re=ce.detail.option,ne=ce.detail.selectedOption;E().then(()=>{R&&ne?xe.navigateTo(gn.getNodePathFromCurrentPath(Re,ne)):xe.navigateTo(Re.link),N&&r("toggleDropdownState")},()=>{})}function oe(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&J()}const Ce=()=>{n&&oe()},De=()=>{n&&oe()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,w=ce.selectedOption),"fallbackLabelResolver"in ce&&t(21,m=ce.fallbackLabelResolver),"pathParams"in ce&&t(23,v=ce.pathParams),"customOptionsRenderer"in ce&&t(6,k=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,y=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(24,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(22,A=ce.defaultLabel),"addNavHrefForAnchor"in ce&&t(10,B=ce.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||h&&h.length>0||_&&_.length>1||!w)},[h,_,w,s,c,g,k,y,o,N,B,Y,re,oe,G,n,l,H,ee,te,Z,m,A,v,I,J,j,be,p,Ce,De]}class P_ extends Rt{constructor(e){super(),Et(this,e,MC,RC,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:OC}=ul;function mh(i,e,t){const n=i.slice();return n[22]=e[t],n}function bh(i){let e,t,n,l=!i[2]&&vh(i),r=i[2]&&i[3].productSwitcherPopover&&yh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=vh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=yh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function vh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y;function N(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?UC:FC}let I=N(i,-1),A=I(i),R=i[0],E=[];for(let O=0;O<R.length;O+=1)E[O]=kh(mh(i,R,O));return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),A.c(),h=q(),_=C("div"),p=C("div"),w=C("ul");for(let O=0;O<E.length;O+=1)E[O].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(w,"class","fd-product-switch__list"),f(p,"class",m=$n(i[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,H){L(O,e,H),S(e,t),S(t,n),S(n,l),S(l,r),A.m(r,null),S(n,h),S(n,_),S(_,p),S(p,w);for(let F=0;F<E.length;F+=1)E[F].m(w,null);k||(y=[ae(r,"click",Ut(i[7])),ae(l,"click",Ut(jC))],k=!0)},p(O,H){if(I===(I=N(O,H))&&A?A.p(O,H):(A.d(1),A=I(O),A&&(A.c(),A.m(r,null))),H&8&&o!==(o=O[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),H&2&&c!==(c=O[1].label)&&f(r,"title",c),H&2&&g!==(g=O[14](O[1]))&&f(r,"data-testid",g),H&64561){R=O[0];let F;for(F=0;F<R.length;F+=1){const B=mh(O,R,F);E[F]?E[F].p(B,H):(E[F]=kh(B),E[F].c(),E[F].m(w,null))}for(;F<E.length;F+=1)E[F].d(1);E.length=R.length}H&512&&m!==(m=$n(O[9])+" svelte-156h3yc")&&f(p,"class",m),H&8&&v!==(v=!O[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(O){O&&T(e),A.d(),dt(E,O),k=!1,Qe(y)}}}function FC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function UC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function wh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?HC:BC}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=C("li"),g.c(),t=q(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){L(_,e,p),g.m(e,null),S(e,t),r||(s=ae(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&T(e),g.d(),r=!1,s()}}}function BC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?zC:WC}let _=h(i,-1),p=_(i),w=g&&Sh(i);return{c(){e=C("div"),p.c(),n=q(),l=C("div"),r=C("div"),o=Ne(s),c=q(),w&&w.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),S(l,r),S(r,o),S(l,c),w&&w.m(l,null)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&s!==(s=m[12](m[22])+"")&&Ie(o,s),v&1&&(g=m[13](m[22])),g?w?w.p(m,v):(w=Sh(m),w.c(),w.m(l,null)):w&&(w.d(1),w=null)},d(m){m&&T(e),p.d(),m&&T(n),m&&T(l),w&&w.d()}}}function HC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,w;function m(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?GC:qC}let v=m(i,-1),k=v(i),y=h&&Ch(i);return{c(){e=C("a"),t=C("div"),k.c(),l=q(),r=C("div"),s=C("div"),c=Ne(o),g=q(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){L(N,e,I),S(e,t),k.m(t,null),S(e,l),S(e,r),S(r,s),S(s,c),S(r,g),y&&y.m(r,null),p||(w=ae(e,"click",i[16]),p=!0)},p(N,I){v===(v=m(N,I))&&k?k.p(N,I):(k.d(1),k=v(N),k&&(k.c(),k.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ie(c,o),I&1&&(h=N[13](N[22])),h?y?y.p(N,I):(y=Ch(N),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&T(e),k.d(),y&&y.d(),p=!1,w()}}}function WC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function zC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function qC(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function GC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ch(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function kh(i){let e,t=i[22].label&&wh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=wh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function yh(i){let e,t;return e=new C_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function KC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&bh(i);return{c(){s&&s.c(),t=ke()},m(o,c){s&&s.m(o,c),L(o,t,c),n=!0,l||(r=ae(OC,"resize",oa),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&M(s,1)):(s=bh(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(ye(),z(s,1,1,()=>{s=null}),Pe())},i(o){n||(M(s),n=!0)},o(o){z(s),n=!1},d(o){s&&s.d(o),o&&T(t),l=!1,r()}}}function oa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const jC=()=>{};function JC(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=gt("store"),g=gt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;jt(async()=>{fn.doOnStoreChange(c,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await se.getConfigValueAsync("navigation.productSwitcher.items")),I()),oa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{xe.navigateToLink(H)},()=>{}),m()}function w(H){p(H.detail)}function m(){n("toggleDropdownState")}function v(H){return Se.renderIconClassName(H)}function k(H){return Se.isOpenUIiconName(H.icon)}function y(H){return pt.getTranslation(H.label)}function N(H){return pt.getTranslation(H.subTitle)}function I(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function A(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function R(H){return _e.getNodeHref(H)}const E=H=>{Se.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>p(H);return i.$$set=H=>{"productSwitcherItems"in H&&t(0,l=H.productSwitcherItems),"isMobile"in H&&t(2,r=H.isMobile),"config"in H&&t(1,s=H.config),"dropDownStates"in H&&t(3,o=H.dropDownStates),"addNavHrefForAnchor"in H&&t(4,_=H.addNavHrefForAnchor)},[l,s,r,o,_,p,w,m,oa,h,v,k,y,N,A,R,E,O]}class N_ extends Rt{constructor(e){super(),Et(this,e,JC,KC,Tt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return oa}}function Ph(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function YC(i){let e,t,n;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){L(l,e,r),i[18](e),e.focus(),t||(n=ae(e,"keyup",i[17]),t=!0)},p:Fe,d(l){l&&T(e),i[18](null),t=!1,n()}}}function QC(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-ethf4i"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){L(t,e,n),e.focus()},p:Fe,d(t){t&&T(e)}}}function ZC(i){let e;return{c(){e=C("div")},m(t,n){L(t,e,n),i[22](e)},p:Fe,d(t){t&&T(e),i[22](null)}}}function XC(i){let e,t,n,l=i[5]&&Nh(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu svelte-ethf4i"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-ethf4i"),f(e,"aria-hidden",n=!i[0])},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Nh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function Nh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ih(Ph(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ph(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l),i[21](null)}}}function $C(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function xC(i){let e,t,n,l=i[30].label+"",r,s,o,c=i[30].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=q(),o=C("div"),g=Ne(c),f(n,"class","fd-product-switch__title svelte-ethf4i"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-ethf4i")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(tk)),h=!0)},p(p,w){w[0]&32&&l!==(l=p[30].label+"")&&Ie(r,l),w[0]&32&&c!==(c=p[30].description+"")&&Ie(g,c)},d(p){p&&T(e),h=!1,_()}}}function Ih(i){let e,t,n,l;function r(h,_){return h[9]?$C:xC}let s=r(i),o=s(i);function c(...h){return i[19](i[30],...h)}function g(...h){return i[20](i[30],...h)}return{c(){e=C("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-ethf4i"),f(e,"tabindex","0")},m(h,_){L(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&T(e),o.d(),n=!1,Qe(l)}}}function ek(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v;function k(E,O){return E[7]&&E[7].disableInputHandlers?QC:YC}let y=k(i),N=y(i);function I(E,O){return E[8]?ZC:XC}let A=I(i),R=A(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),N.c(),r=q(),R.c(),c=q(),g=C("div"),h=C("div"),_=C("button"),p=C("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-ethf4i"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-ethf4i"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",w=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(E,O){L(E,e,O),S(e,t),S(t,n),S(n,l),N.m(l,null),S(n,r),R.m(n,null),L(E,c,O),L(E,g,O),S(g,h),S(h,_),S(_,p),m||(v=[ae(window,"click",i[11]),ae(window,"blur",i[11]),ae(n,"click",Ut(nk)),ae(_,"click",i[6]),ae(h,"click",Ut(ik))],m=!0)},p(E,O){y===(y=k(E))&&N?N.p(E,O):(N.d(1),N=y(E),N&&(N.c(),N.m(l,null))),A===(A=I(E))&&R?R.p(E,O):(R.d(1),R=A(E),R&&(R.c(),R.m(n,null))),O[0]&16&&s!==(s=!E[4])&&f(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(E[4]?"luigi-search-shell__mobile":"")+" svelte-ethf4i")&&f(e,"class",o),O[0]&16&&w!==(w=!E[4])&&f(_,"aria-expanded",w)},i:Fe,o:Fe,d(E){E&&T(e),N.d(),R.d(),E&&T(c),E&&T(g),m=!1,Qe(v)}}}const tk=()=>{},nk=()=>{},ik=()=>{};function lk(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=Ht(),_={fireItemSelected:Y=>{p.searchProvider.onSearchResultItemSelected(Y)}};let p={},w,m;jt(async()=>{t(7,p=g);let Y=s;const be=k(p.searchProvider);be&&(Y.placeholder=be),v()}),Hn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,w=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function k(Y){if(!Y||!Y.inputPlaceholder)return;const be=pt.getCurrentLocale();if(le.isFunction(Y.inputPlaceholder))return Y.inputPlaceholder();if(typeof Y.inputPlaceholder=="string"){const re=pt.getTranslation(Y.inputPlaceholder);return re&&re.trim().length>0?re:Y.inputPlaceholder}if(typeof Y.inputPlaceholder=="object")return Y.inputPlaceholder[be]}function y(Y,be,re){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(Y,be.children[re],_)}),""}function N(){h("closeSearchResult")}function I({keyCode:Y}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&Y===wi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&Y===vi?p.searchProvider.onEscape():Y===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function A(Y){let be=c.children;if(be)for(let re=0;re<be.length;re++){let{childNodes:oe,nextSibling:Ce,previousSibling:De}=be[re],ce;if(oe[0].getAttribute("aria-selected")==="true"){Y===Oi&&(ce=Ce!==null?Ce:be[0]),Y===El&&(ce=De!==null?De:be[be.length-1]),oe[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function R(){let Y=c.children;if(Y)for(let be=0;be<Y.length;be++){let re=Y[be];re.childNodes[0].getAttribute("aria-selected")==="true"&&re.childNodes[0].setAttribute("aria-selected","false")}}function E(Y){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(Y):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===vi&&p.searchProvider.onEscape()}function O(Y,{keyCode:be}){be===wi&&p.searchProvider.onSearchResultItemSelected(Y),be===El||be===Oi?A(be):le.isFunction(p.searchProvider.onEscape)&&be===vi&&(R(),setTimeout(()=>{s.focus()}),p.searchProvider.onEscape())}function H(Y){let be=Y.pathObject;be.externalLink?xe.navigateToLink(be):h("handleSearchNavigation",{node:be})}function F(){s&&s.focus()}function B(){if(n?t(0,r=!1):setTimeout(()=>{F()}),h("toggleSearch",{isSearchFieldVisible:n,inputElem:s,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const Y=n===void 0?!0:!n;p.searchProvider.toggleSearch(s,Y)}}const G=Y=>I(Y);function ee(Y){tt[Y?"unshift":"push"](()=>{s=Y,t(1,s)})}const te=(Y,be)=>E(Y),Z=(Y,be)=>O(Y,be);function J(Y){tt[Y?"unshift":"push"](()=>{c=Y,t(3,c)})}function j(Y){tt[Y?"unshift":"push"](()=>{o=Y,t(2,o)})}return i.$$set=Y=>{"isSearchFieldVisible"in Y&&t(4,n=Y.isSearchFieldVisible),"searchResult"in Y&&t(5,l=Y.searchResult),"displaySearchResult"in Y&&t(0,r=Y.displaySearchResult),"inputElem"in Y&&t(1,s=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(2,o=Y.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in Y&&t(3,c=Y.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in Y&&t(15,g=Y.globalSearchConfig)},[r,s,o,c,n,l,B,p,w,m,y,N,I,E,O,g,H,G,ee,te,Z,J,j]}class rk extends Rt{constructor(e){super(),Et(this,e,lk,ek,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function Th(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function sk(i){let e,t,n,l,r,s,o,c=i[11]&&Lh(i);return{c(){e=C("input"),t=q(),n=C("span"),c&&c.c(),l=q(),r=C("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-y7ufaq"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-y7ufaq"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-y7ufaq")},m(g,h){L(g,e,h),i[25](e),L(g,t,h),L(g,n,h),c&&c.m(n,null),S(n,l),S(n,r),s||(o=[ae(e,"keyup",i[24]),ae(e,"input",i[26]),ae(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Lh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&T(e),i[25](null),g&&T(t),g&&T(n),c&&c.d(),s=!1,Qe(o)}}}function ak(i){let e;return{c(){e=C("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-y7ufaq"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){L(t,e,n)},p:Fe,d(t){t&&T(e)}}}function Lh(i){let e,t,n;return{c(){e=C("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-y7ufaq"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-y7ufaq")},m(l,r){L(l,e,r),t||(n=ae(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&T(e),t=!1,n()}}}function ok(i){let e;return{c(){e=C("div")},m(t,n){L(t,e,n),i[30](e)},p:Fe,d(t){t&&T(e),i[30](null)}}}function uk(i){let e,t,n,l=i[4]&&Ah(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-y7ufaq"),f(e,"aria-hidden",n=!i[0])},m(r,s){L(r,e,s),S(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Ah(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function Ah(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eh(Th(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[29](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Th(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&T(e),dt(n,l),i[29](null)}}}function fk(i){let e,t=i[14](i[39],i[3],i[41])+"",n;return{c(){e=new cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function ck(i){let e,t,n,l=i[39].label+"",r,s,o,c=i[39].description+"",g,h,_;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ne(l),s=q(),o=C("div"),g=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,w){L(p,e,w),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(hk)),h=!0)},p(p,w){w[0]&16&&l!==(l=p[39].label+"")&&Ie(r,l),w[0]&16&&c!==(c=p[39].description+"")&&Ie(g,c)},d(p){p&&T(e),h=!1,_()}}}function Eh(i){let e,t,n,l;function r(h,_){return h[10]?fk:ck}let s=r(i),o=s(i);function c(...h){return i[27](i[39],...h)}function g(...h){return i[28](i[39],...h)}return{c(){e=C("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-y7ufaq"),f(e,"tabindex","0")},m(h,_){L(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",c),ae(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&T(e),o.d(),n=!1,Qe(l)}}}function Rh(i){let e,t,n,l,r,s,o;return{c(){e=C("div"),t=C("div"),n=C("button"),l=C("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-y7ufaq")},m(c,g){L(c,e,g),S(e,t),S(t,n),S(n,l),s||(o=[ae(n,"click",i[6]),ae(t,"click",Ut(_k))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),s=!1,Qe(o)}}}function Dh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=C("div"),t=C("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-y7ufaq"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-y7ufaq")},m(g,h){L(g,e,h),S(e,t),S(t,l),o||(c=ae(t,"click",Ut(i[31])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ie(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-y7ufaq")&&f(e,"class",s)},d(g){g&&T(e),o=!1,c()}}}function dk(i){let e,t,n,l,r,s,o,c,g,h,_,p;function w(R,E){return R[8]&&R[8].disableInputHandlers?ak:sk}let m=w(i),v=m(i);function k(R,E){return R[9]?ok:uk}let y=k(i),N=y(i),I=!i[5]&&Rh(i),A=i[5]&&Dh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),v.c(),r=q(),N.c(),c=q(),I&&I.c(),g=q(),A&&A.c(),h=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-y7ufaq"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-y7ufaq"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-y7ufaq"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")},m(R,E){L(R,e,E),S(e,t),S(t,n),S(n,l),v.m(l,null),S(n,r),N.m(n,null),L(R,c,E),I&&I.m(R,E),L(R,g,E),A&&A.m(R,E),L(R,h,E),_||(p=[ae(window,"click",i[15]),ae(window,"blur",i[15]),ae(n,"click",Ut(gk))],_=!0)},p(R,E){m===(m=w(R))&&v?v.p(R,E):(v.d(1),v=m(R),v&&(v.c(),v.m(l,null))),y===(y=k(R))&&N?N.p(R,E):(N.d(1),N=y(R),N&&(N.c(),N.m(n,null))),E[0]&32&&s!==(s=!R[5])&&f(n,"aria-hidden",s),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(R[5]?"lui-global-search-mobile--active":"")+" svelte-y7ufaq")&&f(e,"class",o),R[5]?I&&(I.d(1),I=null):I?I.p(R,E):(I=Rh(R),I.c(),I.m(g.parentNode,g)),R[5]?A?A.p(R,E):(A=Dh(R),A.c(),A.m(h.parentNode,h)):A&&(A.d(1),A=null)},i:Fe,o:Fe,d(R){R&&T(e),v.d(),N.d(),R&&T(c),I&&I.d(R),R&&T(g),A&&A.d(R),R&&T(h),_=!1,Qe(p)}}}const hk=()=>{},gk=()=>{},_k=()=>{};function pk(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:s}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const h=Ht(),_={fireItemSelected:x=>{m.searchProvider.onSearchResultItemSelected(x)}};let p=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:w}=e,m={},v,k,y=!1,N=gt("getTranslation");Si(i,N,x=>t(12,n=x)),jt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let x=s;const me=A(m.searchProvider);me&&(x.placeholder=me),I(),Wf.handleVisibilityGlobalSearch();const je=document.querySelector(".lui-global-search");je&&new ResizeObserver(pe=>{Wf.handleVisibilityGlobalSearch()}).observe(je)}),Hn(()=>{t(8,m=g),I(),F()});function I(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,k=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function A(x){if(!x||!x.inputPlaceholder)return;const me=pt.getCurrentLocale();if(le.isFunction(x.inputPlaceholder))return x.inputPlaceholder();if(typeof x.inputPlaceholder=="string"){const je=pt.getTranslation(x.inputPlaceholder);return je&&je.trim().length>0?je:x.inputPlaceholder}if(typeof x.inputPlaceholder=="object")return x.inputPlaceholder[me]}function R(x,me,je){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(x,me.children[je],_)}),""}function E(){h("closeSearchResult")}function O({keyCode:x}){m?le.isFunction(m.searchProvider.onEnter)&&x===wi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&x===vi?m.searchProvider.onEscape():x===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function H(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function F(){s&&s.value?t(11,y=!0):t(11,y=!1)}function B(){t(1,s.value="",s),E(),t(11,y=!1)}function G(x){let me=c.children;if(me)for(let je=0;je<me.length;je++){let{childNodes:Ze,nextSibling:pe,previousSibling:qe}=me[je],mt;if(Ze[0].getAttribute("aria-selected")==="true"){x===Oi&&(mt=pe!==null?pe:me[0]),x===El&&(mt=qe!==null?qe:me[me.length-1]),Ze[0].setAttribute("aria-selected","false"),mt.childNodes[0].setAttribute("aria-selected","true"),mt.focus();break}}}function ee(){let x=c.children;if(x)for(let me=0;me<x.length;me++){let je=x[me];je.childNodes[0].getAttribute("aria-selected")==="true"&&je.childNodes[0].setAttribute("aria-selected","false")}}function te(x){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(x):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===vi&&m.searchProvider.onEscape()}function Z(x,{keyCode:me}){me===wi&&m.searchProvider.onSearchResultItemSelected(x),me===El||me===Oi?G(me):le.isFunction(m.searchProvider.onEscape)&&me===vi&&(ee(),setTimeout(()=>{s.focus()}),m.searchProvider.onEscape())}function J(x){let me=x.pathObject;me.externalLink?xe.navigateToLink(me):h("handleSearchNavigation",{node:me})}function j(){s&&s.focus()}function Y(){if(w?t(0,r=!1):setTimeout(()=>{j()}),h("toggleSearch",{isSearchFieldVisible:w,inputElem:s,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const x=w===void 0?!0:!w;m.searchProvider.toggleSearch(s,x)}}const be=x=>O(x);function re(x){tt[x?"unshift":"push"](()=>{s=x,t(1,s)})}const oe=()=>F(),Ce=(x,me)=>te(x),De=(x,me)=>Z(x,me);function ce(x){tt[x?"unshift":"push"](()=>{c=x,t(3,c)})}function Re(x){tt[x?"unshift":"push"](()=>{o=x,t(2,o)})}const ne=()=>Y();return i.$$set=x=>{"searchResult"in x&&t(4,l=x.searchResult),"displaySearchResult"in x&&t(0,r=x.displaySearchResult),"inputElem"in x&&t(1,s=x.inputElem),"luigiCustomSearchRenderer__slot"in x&&t(2,o=x.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in x&&t(3,c=x.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in x&&t(22,g=x.globalSearchConfig),"isSearchFieldVisible"in x&&t(5,w=x.isSearchFieldVisible)},[r,s,o,c,l,w,Y,p,m,v,k,y,n,N,R,E,O,H,F,B,te,Z,g,J,be,re,oe,Ce,De,ce,Re,ne]}class mk extends Rt{constructor(e){super(),Et(this,e,pk,dk,Tt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:22,isSearchFieldVisible:5,onActionClick:23,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[23]}get toggleSearch(){return this.$$.ctx[6]}}function Vh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?vk:bk}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),L(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&T(t)}}}function bk(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function vk(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Mh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Fi({props:{node:i[0]}}),{c(){e=C("span"),n=Ne(t),l=q(),We(r.$$.fragment)},m(o,c){L(o,e,c),S(e,n),S(e,l),Be(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ie(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){z(r.$$.fragment,o),s=!1},d(o){o&&T(e),He(r)}}}function wk(i){let e,t,n,l=i[0].icon&&Vh(i),r=(!i[0].icon||i[0].showLabel)&&Mh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Vh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&M(r,1)):(r=Mh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function Sk(i,e,t){let{node:n}=e;function l(o){return Se.isOpenUIiconName(o.icon)}function r(o){return Se.renderIconClassName(o)}function s(o){return Se.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Do extends Rt{constructor(e){super(),Et(this,e,Sk,wk,Tt,{node:0})}}const{Boolean:I_,window:Oh}=ul;function Fh(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function Uh(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function Ck(i){let e,t;return e=new S_({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function kk(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Bh(i);function v(E){i[57](E)}let k={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(k.dropDownStates=i[6]),l=new HS({props:k}),tt.push(()=>It(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&Hh(i),N=(!i[0]||i[1])&&Wh(i),I=(i[18]||i[7]&&i[29].length>0)&&qh(i),A=(i[0]||i[16])&&rg(i),R=i[12]&&sg(i);return{c(){e=C("div"),t=C("div"),m&&m.c(),n=q(),We(l.$$.fragment),s=q(),y&&y.c(),o=q(),c=C("div"),N&&N.c(),g=q(),I&&I.c(),h=q(),A&&A.c(),_=q(),R&&R.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1x7zmlo"),f(e,"tabindex","0")},m(E,O){L(E,e,O),S(e,t),m&&m.m(t,null),S(t,n),Be(l,t,null),S(e,s),y&&y.m(e,null),S(e,o),S(e,c),N&&N.m(c,null),S(c,g),I&&I.m(c,null),S(c,h),A&&A.m(c,null),S(c,_),R&&R.m(c,null),w=!0},p(E,O){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,O):(m=Bh(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const H={};O[0]&536870912&&(H.pathData=E[29]),O[0]&1073741824&&(H.pathParams=E[30]),O[0]&134217728&&(H.addNavHrefForAnchor=E[27]),!r&&O[0]&64&&(r=!0,H.dropDownStates=E[6],Nt(()=>r=!1)),l.$set(H),E[18]&&E[19]?y?(y.p(E,O),O[0]&786432&&M(y,1)):(y=Hh(E),y.c(),M(y,1),y.m(e,o)):y&&(ye(),z(y,1,1,()=>{y=null}),Pe()),!E[0]||E[1]?N?(N.p(E,O),O[0]&3&&M(N,1)):(N=Wh(E),N.c(),M(N,1),N.m(c,g)):N&&(ye(),z(N,1,1,()=>{N=null}),Pe()),E[18]||E[7]&&E[29].length>0?I?(I.p(E,O),O[0]&537133184&&M(I,1)):(I=qh(E),I.c(),M(I,1),I.m(c,h)):I&&(ye(),z(I,1,1,()=>{I=null}),Pe()),E[0]||E[16]?A?(A.p(E,O),O[0]&65537&&M(A,1)):(A=rg(E),A.c(),M(A,1),A.m(c,_)):A&&(ye(),z(A,1,1,()=>{A=null}),Pe()),E[12]?R?(R.p(E,O),O[0]&4096&&M(R,1)):(R=sg(E),R.c(),M(R,1),R.m(c,null)):R&&(ye(),z(R,1,1,()=>{R=null}),Pe()),(!w||O[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-1x7zmlo"))&&f(e,"class",p)},i(E){w||(M(l.$$.fragment,E),M(y),M(N),M(I),M(A),M(R),w=!0)},o(E){z(l.$$.fragment,E),z(y),z(N),z(I),z(A),z(R),w=!1},d(E){E&&T(e),m&&m.d(),He(l),y&&y.d(),N&&N.d(),I&&I.d(),A&&A.d(),R&&R.d()}}}function Bh(i){let e,t,n,l;return{c(){e=C("button"),t=C("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1x7zmlo"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,s){L(r,e,s),S(e,t),n||(l=ae(e,"click",i[52]),n=!0)},p(r,s){s[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Hh(i){let e,t,n,l,r,s,o,c;function g(v){i[58](v)}function h(v){i[59](v)}function _(v){i[60](v)}function p(v){i[61](v)}function w(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new mk({props:m}),tt.push(()=>It(t,"isSearchFieldVisible",g,i[20])),tt.push(()=>It(t,"searchResult",h,i[24])),tt.push(()=>It(t,"displaySearchResult",_,i[23])),tt.push(()=>It(t,"inputElem",p,i[21])),tt.push(()=>It(t,"luigiCustomSearchRenderer__slot",w,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=C("div"),We(t.$$.fragment),f(e,"class","lui-global-search")},m(v,k){L(v,e,k),Be(t,e,null),c=!0},p(v,k){const y={};k[0]&262144&&(y.globalSearchConfig=v[18]),!n&&k[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Nt(()=>n=!1)),!l&&k[0]&16777216&&(l=!0,y.searchResult=v[24],Nt(()=>l=!1)),!r&&k[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Nt(()=>r=!1)),!s&&k[0]&2097152&&(s=!0,y.inputElem=v[21],Nt(()=>s=!1)),!o&&k[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],Nt(()=>o=!1)),t.$set(y)},i(v){c||(M(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&T(e),He(t)}}}function Wh(i){let e,t,n,l,r=i[18]&&!i[19]&&zh(i);function s(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new P_({props:o}),tt.push(()=>It(t,"dropDownStates",s,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=q(),We(t.$$.fragment)},m(c,g){r&&r.m(c,g),L(c,e,g),Be(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&M(r,1)):(r=zh(c),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe());const h={};g[0]&134217728&&(h.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],Nt(()=>n=!1)),t.$set(h)},i(c){l||(M(r),M(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&T(e),He(t,c)}}}function zh(i){let e,t,n,l,r,s,o;function c(m){i[66](m)}function g(m){i[67](m)}function h(m){i[68](m)}function _(m){i[69](m)}function p(m){i[70](m)}let w={globalSearchConfig:i[18]};return i[20]!==void 0&&(w.isSearchFieldVisible=i[20]),i[24]!==void 0&&(w.searchResult=i[24]),i[23]!==void 0&&(w.displaySearchResult=i[23]),i[21]!==void 0&&(w.inputElem=i[21]),i[22]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[22]),e=new rk({props:w}),tt.push(()=>It(e,"isSearchFieldVisible",c,i[20])),tt.push(()=>It(e,"searchResult",g,i[24])),tt.push(()=>It(e,"displaySearchResult",h,i[23])),tt.push(()=>It(e,"inputElem",_,i[21])),tt.push(()=>It(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){We(e.$$.fragment)},m(m,v){Be(e,m,v),o=!0},p(m,v){const k={};v[0]&262144&&(k.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,k.isSearchFieldVisible=m[20],Nt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,k.searchResult=m[24],Nt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,k.displaySearchResult=m[23],Nt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,k.inputElem=m[21],Nt(()=>r=!1)),!s&&v[0]&4194304&&(s=!0,k.luigiCustomSearchRenderer__slot=m[22],Nt(()=>s=!1)),e.$set(k)},i(m){o||(M(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){He(e,m)}}}function qh(i){let e,t,n,l=i[7]&&i[29].length>0&&Gh(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Yh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),L(s,e,o),r&&r.m(s,o),L(s,t,o),n=!0},p(s,o){s[7]&&s[29].length>0?l?(l.p(s,o),o[0]&536871040&&M(l,1)):(l=Gh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe()),s[9]-s[10]>0||s[12]||s[45]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&16384&&M(r,1)):(r=Yh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(ye(),z(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){z(l),z(r),n=!1},d(s){l&&l.d(s),s&&T(e),r&&r.d(s),s&&T(t)}}}function Gh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Jh(Uh(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&1207960032|o[1]&1966160){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Uh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=Jh(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function Kh(i){let e,t,n,l;const r=[Pk,yk],s=[];function o(c,g){return c[107].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),L(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(ye(),z(s[h],1,1,()=>{s[h]=null}),Pe(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),M(t,1),t.m(n.parentNode,n))},i(c){l||(M(t),l=!0)},o(c){z(t),l=!1},d(c){s[e].d(c),c&&T(n)}}}function yk(i){let e,t,n,l,r;const s=[Ik,Nk],o=[];function c(g,h){return g[27]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=C("div"),n.c(),l=q(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){L(g,e,h),o[t].m(e,null),S(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(e,l))},i(g){r||(M(n),r=!0)},o(g){z(n),r=!1},d(g){g&&T(e),o[t].d()}}}function Pk(i){let e=i[107].visibleChildren.filter(ag).length>0,t,n,l=e&&jh(i);return{c(){l&&l.c(),t=ke()},m(r,s){l&&l.m(r,s),L(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[107].visibleChildren.filter(ag).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=jh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(ye(),z(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&T(t)}}}function Nk(i){let e,t,n,l,r,s,o,c,g,h,_;function p(v){i[80](v,i[107],i[110],i[109])}let w={};i[107]!==void 0&&(w.node=i[107]),t=new Do({props:w}),tt.push(()=>It(t,"node",p,i[107])),r=new xn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=C("button"),We(t.$$.fragment),l=q(),We(r.$$.fragment),f(e,"title",s=i[51](i[107],i[48](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[49](i[107]))},m(v,k){L(v,e,k),Be(t,e,null),S(e,l),Be(r,e,null),g=!0,h||(_=ae(e,"click",m),h=!0)},p(v,k){i=v;const y={};!n&&k[0]&128&&(n=!0,y.node=i[107],Nt(()=>n=!1)),t.$set(y);const N={};k[0]&128&&(N.node=i[107]),r.$set(N),(!g||k[0]&128&&s!==(s=i[51](i[107],i[48](i[107]))))&&f(e,"title",s),(!g||k[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||k[0]&128&&c!==(c=i[49](i[107])))&&f(e,"data-testid",c)},i(v){g||(M(t.$$.fragment,v),M(r.$$.fragment,v),g=!0)},o(v){z(t.$$.fragment,v),z(r.$$.fragment,v),g=!1},d(v){v&&T(e),He(t),He(r),h=!1,_()}}}function Ik(i){let e,t,n,l,r,s,o,c,g,h,_,p;function w(k){i[78](k,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new Do({props:m}),tt.push(()=>It(t,"node",w,i[107])),r=new xn({props:{node:i[107]}});function v(...k){return i[79](i[107],...k)}return{c(){e=C("a"),We(t.$$.fragment),l=q(),We(r.$$.fragment),f(e,"href",s=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(e,"title",c=i[51](i[107],i[48](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[49](i[107]))},m(k,y){L(k,e,y),Be(t,e,null),S(e,l),Be(r,e,null),h=!0,_||(p=ae(e,"click",v),_=!0)},p(k,y){i=k;const N={};!n&&y[0]&128&&(n=!0,N.node=i[107],Nt(()=>n=!1)),t.$set(N);const I={};y[0]&128&&(I.node=i[107]),r.$set(I),(!h||y[0]&128&&s!==(s=i[50](i[107])))&&f(e,"href",s),(!h||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||y[0]&128&&c!==(c=i[51](i[107],i[48](i[107]))))&&f(e,"title",c),(!h||y[0]&128&&g!==(g=i[49](i[107])))&&f(e,"data-testid",g)},i(k){h||(M(t.$$.fragment,k),M(r.$$.fragment,k),h=!0)},o(k){z(t.$$.fragment,k),z(r.$$.fragment,k),h=!1},d(k){k&&T(e),He(t),He(r),_=!1,p()}}}function jh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A;function R(H){i[76](H,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Do({props:E}),tt.push(()=>It(r,"node",R,i[107])),c=new xn({props:{node:i[107]}});function O(){return i[77](i[109])}return v=new k_({props:{node:i[107],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("button"),We(r.$$.fragment),o=q(),We(c.$$.fragment),w=q(),m=C("div"),We(v.$$.fragment),y=q(),f(l,"title",g=i[51](i[107],i[48](i[107]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[49](i[107])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",k=!i[6][`dropDownPopover-${i[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(H,F){L(H,e,F),S(e,t),S(t,n),S(n,l),Be(r,l,null),S(l,o),Be(c,l,null),S(t,w),S(t,m),Be(v,m,null),S(e,y),N=!0,I||(A=[ae(l,"click",O),ae(n,"click",Ut(zk))],I=!0)},p(H,F){i=H;const B={};!s&&F[0]&128&&(s=!0,B.node=i[107],Nt(()=>s=!1)),r.$set(B);const G={};F[0]&128&&(G.node=i[107]),c.$set(G),(!N||F[0]&128&&g!==(g=i[51](i[107],i[48](i[107]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[49](i[107])))&&f(l,"data-testid",p);const ee={};F[0]&128&&(ee.node=i[107]),F[0]&1073741824&&(ee.pathParams=i[30]),F[0]&134217728&&(ee.addNavHrefForAnchor=i[27]),v.$set(ee),(!N||F[0]&64&&k!==(k=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",k)},i(H){N||(M(r.$$.fragment,H),M(c.$$.fragment,H),M(v.$$.fragment,H),N=!0)},o(H){z(r.$$.fragment,H),z(c.$$.fragment,H),z(v.$$.fragment,H),N=!1},d(H){H&&T(e),He(r),He(c),He(v),I=!1,Qe(A)}}}function Jh(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Kh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Kh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Yh(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N,I,A,R,E,O,H;g=new xn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Qh(i),B=i[45]&&(!i[0]||i[1])&&Zh(i),G=i[7]&&Xh(i),ee=i[12]&&tg(i),te=i[12]&&ng(i),Z=i[14]&&ig(i),J=(!i[0]||i[1])&&lg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("button"),o=C("i"),c=q(),We(g.$$.fragment),_=q(),p=C("div"),w=C("nav"),m=C("ul"),F&&F.c(),v=q(),B&&B.c(),k=q(),G&&G.c(),y=q(),ee&&ee.c(),I=q(),te&&te.c(),A=q(),Z&&Z.c(),R=q(),J&&J.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(w,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1x7zmlo"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,Y){L(j,e,Y),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(s,c),Be(g,s,null),S(n,_),S(n,p),S(p,w),S(w,m),F&&F.m(m,null),S(m,v),B&&B.m(m,null),S(m,k),G&&G.m(m,null),S(m,y),ee&&ee.m(m,null),S(n,I),te&&te.m(n,null),S(n,A),Z&&Z.m(n,null),S(n,R),J&&J.m(n,null),E=!0,O||(H=[ae(s,"click",i[82]),ae(l,"click",Ut(qk))],O=!0)},p(j,Y){const be={};Y[0]&2048&&(be.node=j[11]),g.$set(be),(!E||Y[0]&64&&h!==(h=j[6].overflowPopover||!1))&&f(s,"aria-expanded",h),j[18]&&!j[19]?F?F.p(j,Y):(F=Qh(j),F.c(),F.m(m,v)):F&&(F.d(1),F=null),j[45]&&(!j[0]||j[1])?B?B.p(j,Y):(B=Zh(j),B.c(),B.m(m,k)):B&&(B.d(1),B=null),j[7]?G?(G.p(j,Y),Y[0]&128&&M(G,1)):(G=Xh(j),G.c(),M(G,1),G.m(m,y)):G&&(ye(),z(G,1,1,()=>{G=null}),Pe()),j[12]?ee?ee.p(j,Y):(ee=tg(j),ee.c(),ee.m(m,null)):ee&&(ee.d(1),ee=null),(!E||Y[0]&64&&N!==(N=!j[6].overflowPopover))&&f(p,"aria-hidden",N),j[12]?te?(te.p(j,Y),Y[0]&4096&&M(te,1)):(te=ng(j),te.c(),M(te,1),te.m(n,A)):te&&(ye(),z(te,1,1,()=>{te=null}),Pe()),j[14]?Z?(Z.p(j,Y),Y[0]&16384&&M(Z,1)):(Z=ig(j),Z.c(),M(Z,1),Z.m(n,R)):Z&&(ye(),z(Z,1,1,()=>{Z=null}),Pe()),!j[0]||j[1]?J?(J.p(j,Y),Y[0]&3&&M(J,1)):(J=lg(j),J.c(),M(J,1),J.m(n,null)):J&&(ye(),z(J,1,1,()=>{J=null}),Pe())},i(j){E||(M(g.$$.fragment,j),M(G),M(te),M(Z),M(J),E=!0)},o(j){z(g.$$.fragment,j),z(G),z(te),z(Z),z(J),E=!1},d(j){j&&T(e),He(g),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),te&&te.d(),Z&&Z.d(),J&&J.d(),O=!1,Qe(H)}}}function Qh(i){let e,t,n,l;return{c(){e=C("li"),t=C("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1x7zmlo"></i>
|
|
57
57
|
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,s){L(r,e,s),S(e,t),n||(l=ae(t,"click",Ut(i[83])),n=!0)},p:Fe,d(r){r&&T(e),n=!1,l()}}}function Zh(i){let e,t,n,l,r,s,o=(i[43]?i[43]:i[44])+"",c,g,h;return{c(){e=C("li"),t=C("a"),n=C("i"),r=q(),s=C("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),S(e,t),S(t,n),S(t,r),S(t,s),S(s,c),g||(h=ae(t,"click",Ut(i[32])),g=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-1x7zmlo")&&f(n,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Ie(c,o)},d(_){_&&T(e),g=!1,h()}}}function Xh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=eg(Fh(i,n,s));const r=s=>z(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);L(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&2064404){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Fh(s,n,c);l[c]?(l[c].p(g,o),M(l[c],1)):(l[c]=eg(g),l[c].c(),M(l[c],1),l[c].m(e.parentNode,e))}for(ye(),c=n.length;c<l.length;c+=1)r(c);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(I_);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(s){dt(l,s),s&&T(e)}}}function $h(i){let e,t,n,l,r;const s=[Lk,Tk],o=[];function c(g,h){return h[0]&128&&(e=null),g[107].isCat?(e==null&&(e=g[107].visibleChildren.filter(Wk).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=ke()},m(g,h){~t&&o[t].m(g,h),L(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(M(n),r=!0)},o(g){z(n),r=!1},d(g){~t&&o[t].d(g),g&&T(l)}}}function Tk(i){let e,t,n,l,r,s,o,c,g=i[48](i[107])+"",h,_,p,w,m,v,k;function y(R,E){return E[0]&128&&(l=null),l==null&&(l=!!R[47](R[107])),l?Ek:Ak}let N=y(i,[-1,-1,-1,-1]),I=N(i);s=new xn({props:{node:i[107]}});function A(){return i[85](i[107])}return{c(){e=C("li"),t=C("a"),n=C("span"),I.c(),r=q(),We(s.$$.fragment),o=q(),c=C("span"),h=Ne(g),w=q(),f(n,"class","fd-top-nav__icon svelte-1x7zmlo"),f(c,"class","fd-list__title"),f(t,"href",_=i[50](i[107])),f(t,"title",p=i[51](i[107],i[48](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(R,E){L(R,e,E),S(e,t),S(t,n),I.m(n,null),S(n,r),Be(s,n,null),S(t,o),S(t,c),S(c,h),S(e,w),m=!0,v||(k=ae(t,"click",Mt(A)),v=!0)},p(R,E){i=R,N===(N=y(i,E))&&I?I.p(i,E):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const O={};E[0]&128&&(O.node=i[107]),s.$set(O),(!m||E[0]&128)&&g!==(g=i[48](i[107])+"")&&Ie(h,g),(!m||E[0]&128&&_!==(_=i[50](i[107])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[51](i[107],i[48](i[107]))))&&f(t,"title",p)},i(R){m||(M(s.$$.fragment,R),m=!0)},o(R){z(s.$$.fragment,R),m=!1},d(R){R&&T(e),I.d(),He(s),v=!1,k()}}}function Lk(i){let e,t,n,l=!i[47](i[107]),r,s,o,c,g,h=i[48](i[107])+"",_,p,w,m,v,k,y,N,I=l&&xh(i);s=new xn({props:{node:i[107]}});function A(){return i[84](i[107])}return{c(){e=C("li"),t=C("a"),n=C("span"),I&&I.c(),r=q(),We(s.$$.fragment),c=q(),g=C("span"),_=Ne(h),v=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo"),f(g,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",w="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=i[49](i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(R,E){L(R,e,E),S(e,t),S(t,n),I&&I.m(n,null),S(n,r),Be(s,n,null),S(t,c),S(t,g),S(g,_),S(e,v),k=!0,y||(N=ae(t,"click",Mt(A)),y=!0)},p(R,E){i=R,E[0]&128&&(l=!i[47](i[107])),l?I?I.p(i,E):(I=xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};E[0]&128&&(O.node=i[107]),s.$set(O),(!k||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo"))&&f(n,"class",o),(!k||E[0]&128)&&h!==(h=i[48](i[107])+"")&&Ie(_,h),(!k||E[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!k||E[0]&384&&w!==(w="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",w),(!k||E[0]&128&&m!==(m=i[49](i[107])+"-mobile"))&&f(t,"data-testid",m)},i(R){k||(M(s.$$.fragment,R),k=!0)},o(R){z(s.$$.fragment,R),k=!1},d(R){R&&T(e),I&&I.d(),He(s),y=!1,N()}}}function Ak(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Ek(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[47](i[107])?i[46](i[107].icon):"")+" svelte-1x7zmlo")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[47](n[107])?n[46](n[107].icon):"")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&T(e)}}}function xh(i){let e,t,n;return{c(){e=C("img"),it(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-1x7zmlo")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function eg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&$h(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ye(),z(n,1,1,()=>{n=null}),Pe()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=$h(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function tg(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(w,m){return m[0]&8192&&(n=null),n==null&&(n=!!(w[47](w[13])||!w[13].icon)),n?Dk:Rk}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=C("li"),t=C("a"),p.c(),l=q(),r=C("span"),o=Ne(s),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(w,m){L(w,e,m),S(e,t),p.m(t,null),S(t,l),S(t,r),S(r,o),c||(g=ae(t,"click",Ut(i[31])),c=!0)},p(w,m){_===(_=h(w,m))&&p?p.p(w,m):(p.d(1),p=_(w),p&&(p.c(),p.m(t,l))),m[0]&8192&&s!==(s=w[13].label+"")&&Ie(o,s)},d(w){w&&T(e),p.d(),c=!1,g()}}}function Rk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1x7zmlo"),f(e,"class","fd-top-nav__icon sap-icon svelte-1x7zmlo")},m(r,s){L(r,e,s),S(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Dk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-1x7zmlo")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-1x7zmlo")&&f(e,"class",t)},d(n){n&&T(e)}}}function ng(i){let e,t,n;function l(s){i[86](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[87]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function ig(i){let e,t;return e=new k_({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){We(e.$$.fragment)},m(n,l){Be(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function lg(i){let e,t,n,l,r;function s(h){i[88](h)}function o(h){i[89](h)}function c(h){i[90](h)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new P_({props:g}),tt.push(()=>It(e,"dropDownStates",s,i[6])),tt.push(()=>It(e,"selectedLabel",o,i[43])),tt.push(()=>It(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[91]),{c(){We(e.$$.fragment)},m(h,_){Be(e,h,_),r=!0},p(h,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=h[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],Nt(()=>t=!1)),!n&&_[1]&4096&&(n=!0,p.selectedLabel=h[43],Nt(()=>n=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=h[44],Nt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){z(e.$$.fragment,h),r=!1},d(h){He(e,h)}}}function rg(i){let e,t,n,l,r;const s=[Mk,Vk],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=C("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){L(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(ye(),z(o[_],1,1,()=>{o[_]=null}),Pe(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),M(l,1),l.m(e,null))},i(g){r||(M(l),r=!0)},o(g){z(l),r=!1},d(g){g&&T(e),o[n].d()}}}function Vk(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v;function k(I,A){return I[17].picture?Fk:Ok}let y=k(i),N=y(i);return _=new S_({props:{addNavHrefForAnchor:i[27]}}),_.$on("toggleDropdownState",i[96]),_.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),N.c(),g=q(),h=C("div"),We(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1x7zmlo"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1x7zmlo")},m(I,A){L(I,e,A),S(e,t),S(t,n),S(n,l),S(l,r),N.m(r,null),S(t,g),S(t,h),Be(_,h,null),w=!0,m||(v=[ae(r,"click",i[95]),ae(n,"click",Ut(Kk))],m=!0)},p(I,A){y===(y=k(I))&&N?N.p(I,A):(N.d(1),N=y(I),N&&(N.c(),N.m(r,null))),(!w||A[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!w||A[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!w||A[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const R={};A[0]&134217728&&(R.addNavHrefForAnchor=I[27]),_.$set(R),(!w||A[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){w||(M(_.$$.fragment,I),w=!0)},o(I){z(_.$$.fragment,I),w=!1},d(I){I&&T(e),N.d(),He(_),m=!1,Qe(v)}}}function Mk(i){let e,t,n,l,r,s,o,c,g;function h(w,m){return w[17].picture?Bk:Uk}let _=h(i),p=_(i);return r=new QS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[41]),{c(){e=C("div"),t=C("div"),p.c(),n=q(),l=C("div"),We(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1x7zmlo")},m(w,m){L(w,e,m),S(e,t),p.m(t,null),S(e,n),S(e,l),Be(r,l,null),o=!0,c||(g=ae(t,"click",Ut(Gk)),c=!0)},p(w,m){_===(_=h(w))&&p?p.p(w,m):(p.d(1),p=_(w),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=w[27]),r.$set(v),(!o||m[0]&64&&s!==(s=!w[6].profilePopover))&&f(l,"aria-hidden",s)},i(w){o||(M(r.$$.fragment,w),o=!0)},o(w){z(r.$$.fragment,w),o=!1},d(w){w&&T(e),p.d(),He(r),c=!1,g()}}}function Ok(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function Fk(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1x7zmlo"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Uk(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=C("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),S(e,n),r||(s=ae(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ie(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,s()}}}function Bk(i){let e,t,n,l;return{c(){e=C("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1x7zmlo"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),oi(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){L(r,e,s),n||(l=ae(e,"click",i[92]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function sg(i){let e,t,n;function l(s){i[97](s)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new N_({props:r}),tt.push(()=>It(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[98]),{c(){We(e.$$.fragment)},m(s,o){Be(e,s,o),n=!0},p(s,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=s[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],Nt(()=>t=!1)),e.$set(c)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){z(e.$$.fragment,s),n=!1},d(s){He(e,s)}}}function Hk(i){let e,t,n,l,r,s;const o=[kk,Ck],c=[];function g(h,_){return h[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){c[e].m(h,_),L(h,n,_),l=!0,r||(s=[ae(Oh,"click",i[40]),ae(Oh,"blur",i[40])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(ye(),z(c[p],1,1,()=>{c[p]=null}),Pe(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),M(t,1),t.m(n.parentNode,n))},i(h){l||(M(t),l=!0)},o(h){z(t),l=!1},d(h){c[e].d(h),h&&T(n),r=!1,Qe(s)}}}const Wk=i=>!i.hideFromNav&&i.label,ag=i=>!i.hideFromNav&&i.label,zk=()=>{},qk=()=>{},Gk=()=>{},Kk=()=>{};function jk(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:w}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:k}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:A}=e,{productSwitcherConfig:R}=e,{openMobileDropDown:E}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{globalSearchConfig:B}=e,{isGlobalSearchCentered:G}=e,{isSearchFieldVisible:ee}=e,{inputElem:te}=e,{luigiCustomSearchRenderer__slot:Z}=e,{displaySearchResult:J}=e,{searchResult:j}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:be}=e,re=gt("store"),oe=!1,Ce,De,ce=se.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Re=se.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ne=async()=>{if(_&&0<_.length){const X=await Se.generateTopNavNodes(_);t(7,v=X.children),t(8,k=X.selectedNode),t(9,y=X.visibleNodeCount),t(11,I=X.totalBadgeNode),t(10,N=X.globalNavNodeCount),window.TOPNAVDATA=X.children,p=_}},x=()=>{t(1,s=sl.isLoggedIn())};jt(()=>{fn.doOnStoreChange(re,()=>{t(0,l=bi.isAuthorizationEnabled()),t(16,H=se.getConfigValue("navigation.profile")),t(53,r=!se.getConfigValue("auth.disableAutoLogin")),t(12,A=se.getConfigValue("navigation.productSwitcher")),t(2,o=se.getConfigBooleanValue("settings.hideNavigation")),t(3,c=se.getConfigValue("settings.responsiveNavigation")),t(4,g=se.getConfigValue("settings.profileType")),t(26,be=se.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,R=Se.getProductSwitcherConfig()),t(18,B=se.getConfigValue("globalSearch")),t(19,G=B&&B.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=se.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Re=se.getConfigBooleanValue("navigation.addNavHrefs")),t(45,ce=se.getConfigValue("navigation.contextSwitcher"))},["navigation"]),fn.doOnStoreChange(re,()=>{ne()},["navigation.viewgroupdata"]),Ln.addEventListener("message",X=>{X.data.msg==="luigi.navigation.update-badge-counters"&&ne()})}),Hn(()=>{(!p||p!=_)&&ne(),x()});let{showTopNav:me}=e;function je(X){return Se.renderIconClassName(X)}function Ze(X){return Se.isOpenUIiconName(X.icon)}const pe=X=>Se.getNodeLabel(X);function qe(X){return X.testId?X.testId:Se.prepareForTests(X.pathSegment,X.label)}function mt(X){return _e.getNodeHref(X,w)}function rn(X,Lt){return Se.generateTooltipText(X,Lt)}function vt(){ut("productSwitcherPopover")}function Zt(){t(42,oe=!oe),ut("contextSwitcherPopover")}function An(X){t(14,E=!0),t(15,O=X)}function Wt(){t(14,E=!1)}function Wn(X){n("handleClick",{node:X})}function fl(X){n("handleSearchNavigation",{node:X})}function Cn(X){Wn(X.detail.node)}function ut(X){const Lt=m||{},pn=!Lt[X];Jt(),Wt(),Lt[X]=pn,t(6,m=Lt)}function ei(X){ut(X.detail.name)}function fi(){te&&te.focus()}function _n(){ee||setTimeout(()=>{fi()}),n("toggleSearch",{isSearchFieldVisible:ee,inputElem:te,luigiCustomSearchRenderer__slot:Z})}function Jt(){const X=m||{},Lt=Object.keys(X);Lt&&Lt.length>0&&Lt.forEach(pn=>{X[pn]=!1,t(6,m=X)})}function cl(){c==="simple"||c==="simpleMobileOnly"?en():ci(),Yt()}function Yt(){if(!Se.getBurgerTooltipConfig())return;const[X,Lt]=Se.getBurgerTooltipConfig();X&&Lt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,Y=document.body.classList.contains("lui-leftNavToggle")?X:Lt),document.body.classList.contains("lui-semiCollapsible")&&t(25,Y=document.body.classList.contains("semiCollapsed")?X:Lt))}function en(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){pi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Ci(X){const Lt=X.detail;t(17,F=Lt||{})}function cn(X){m=X,t(6,m)}function ki(X){ee=X,t(20,ee)}function yi(X){j=X,t(24,j)}function ie(X){J=X,t(23,J)}function Le(X){te=X,t(21,te)}function st(X){Z=X,t(22,Z)}function yt(X){Ll.call(this,i,X)}function St(X){Ll.call(this,i,X)}function sn(X){Ll.call(this,i,X)}function kn(X){ee=X,t(20,ee)}function ti(X){j=X,t(24,j)}function zn(X){J=X,t(23,J)}function Ui(X){te=X,t(21,te)}function dr(X){Z=X,t(22,Z)}function hr(X){Ll.call(this,i,X)}function gr(X){Ll.call(this,i,X)}function Dl(X){Ll.call(this,i,X)}function _r(X){m=X,t(6,m)}const pr=()=>ut("contextSwitcherPopover");function mr(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const dl=X=>ut(`dropDownPopover-${X}`);function hl(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const di=(X,Lt)=>{Se.handleNavAnchorClickedWithoutMetaKey(Lt)&&Wn(X)};function gl(X,Lt,pn,mn){pn[mn]=X,t(7,v)}const Bi=X=>Wn(X),Vl=()=>ut("overflowPopover"),Ml=()=>{_n(),ut("overflowPopover")},Ol=X=>Wn(X),br=X=>An(X);function yn(X){m=X,t(6,m)}const _l=()=>ut("productSwitcherPopover");function Hi(X){m=X,t(6,m)}function Fl(X){Ce=X,t(43,Ce)}function vr(X){De=X,t(44,De)}const Wi=()=>ut("contextSwitcherPopover"),pl=()=>ut("profilePopover"),ml=()=>ut("profilePopover"),bl=()=>ut("profilePopover"),Pi=()=>ut("profilePopover"),Ul=()=>ut("profilePopover");function zi(X){m=X,t(6,m)}const ft=()=>ut("productSwitcherPopover"),vl=()=>ut("profilePopover");return i.$$set=X=>{"authorizationEnabled"in X&&t(0,l=X.authorizationEnabled),"autologinEnabled"in X&&t(53,r=X.autologinEnabled),"isLoggedIn"in X&&t(1,s=X.isLoggedIn),"hideNavComponent"in X&&t(2,o=X.hideNavComponent),"responsiveNavSetting"in X&&t(3,c=X.responsiveNavSetting),"profileTypeSettings"in X&&t(4,g=X.profileTypeSettings),"showGlobalNav"in X&&t(5,h=X.showGlobalNav),"pathData"in X&&t(29,_=X.pathData),"pathParams"in X&&t(30,w=X.pathParams),"dropDownStates"in X&&t(6,m=X.dropDownStates),"children"in X&&t(7,v=X.children),"selectedNode"in X&&t(8,k=X.selectedNode),"visibleNodeCount"in X&&t(9,y=X.visibleNodeCount),"globalNavNodeCount"in X&&t(10,N=X.globalNavNodeCount),"totalBadgeNode"in X&&t(11,I=X.totalBadgeNode),"isProductSwitcherAvailable"in X&&t(12,A=X.isProductSwitcherAvailable),"productSwitcherConfig"in X&&t(13,R=X.productSwitcherConfig),"openMobileDropDown"in X&&t(14,E=X.openMobileDropDown),"nodeForMobile"in X&&t(15,O=X.nodeForMobile),"profileItemsAvailable"in X&&t(16,H=X.profileItemsAvailable),"userInfo"in X&&t(17,F=X.userInfo),"globalSearchConfig"in X&&t(18,B=X.globalSearchConfig),"isGlobalSearchCentered"in X&&t(19,G=X.isGlobalSearchCentered),"isSearchFieldVisible"in X&&t(20,ee=X.isSearchFieldVisible),"inputElem"in X&&t(21,te=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(22,Z=X.luigiCustomSearchRenderer__slot),"displaySearchResult"in X&&t(23,J=X.displaySearchResult),"searchResult"in X&&t(24,j=X.searchResult),"burgerTooltip"in X&&t(25,Y=X.burgerTooltip),"responsiveShellbarPadding"in X&&t(26,be=X.responsiveShellbarPadding),"addNavHrefForAnchor"in X&&t(27,Re=X.addNavHrefForAnchor),"showTopNav"in X&&t(28,me=X.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,me=l&&(!r||s)||!l)},[l,s,o,c,g,h,m,v,k,y,N,I,A,R,E,O,H,F,B,G,ee,te,Z,J,j,Y,be,Re,me,_,w,vt,Zt,An,Wt,Wn,Cn,ut,ei,_n,Jt,Ci,oe,Ce,De,ce,je,Ze,pe,qe,mt,rn,cl,r,fl,en,ci,cn,ki,yi,ie,Le,st,yt,St,sn,kn,ti,zn,Ui,dr,hr,gr,Dl,_r,pr,mr,dl,hl,di,gl,Bi,Vl,Ml,Ol,br,yn,_l,Hi,Fl,vr,Wi,pl,ml,bl,Pi,Ul,zi,ft,vl]}class Jk extends Rt{constructor(e){super(),Et(this,e,jk,Hk,Tt,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:54,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:55,semicollapsedNav:56,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[41]}}function og(i){let e;return{c(){e=C("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Yk(i){let e,t=i[0]&&og();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=og(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&T(e)}}}function Qk(i,e,t){let{node:n}=e;async function l(){var o,c;const r=_e.mapPathToNode(xe.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return{context:((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context,pathParams:((c=s.pathData)==null?void 0:c.pathParams)||{},clientPermissions:s.nodeObject.clientPermissions||{}}}return jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");ar.renderWebComponent(n.viewUrl,s,r,n),s.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class Zk extends Rt{constructor(e){super(),Et(this,e,Qk,Yk,Tt,{node:0})}}const{window:yo}=ul;function ug(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function fg(i,e,t){const n=i.slice();return n[43]=e[t],n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function hg(i,e,t){const n=i.slice();return n[43]=e[t],n}function gg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function _g(i){let e,t,n,l,r,s,o,c,g,h,_,p,w,m,v,k,y,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&pg(i),I=Object.entries(i[0]),A=[];for(let F=0;F<I.length;F+=1)A[F]=kg(dg(i,I,F));const R=F=>z(A[F],1,1,()=>{A[F]=null});let E=Object.entries(i[0]),O=[];for(let F=0;F<E.length;F+=1)O[F]=Ig(ug(i,E,F));const H=F=>z(O[F],1,1,()=>{O[F]=null});return{c(){e=C("div"),N&&N.c(),t=q(),n=C("nav"),l=C("div"),r=C("div");for(let F=0;F<A.length;F+=1)A[F].c();s=q(),o=C("div"),c=C("span"),g=C("div"),h=C("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-ujogtf">More</span>
|