@luigi-project/core 2.7.2-dev.202310271234 → 2.7.2-dev.202310301736

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/luigi.js CHANGED
@@ -51,7 +51,7 @@ function print() { __p += __j.call(arguments, '') }
51
51
  `)+Ce+`return __p
52
52
  }`;var lt=Vf(function(){return wt(F,Ke+"return "+Ce).apply(t,G)});if(lt.source=Ce,po(lt))throw lt;return lt}function X0(s){return Ct(s).toLowerCase()}function $0(s){return Ct(s).toUpperCase()}function x0(s,u,g){if(s=Ct(s),s&&(g||u===t))return zo(s);if(!s||!(u=On(u)))return s;var k=ni(s),I=ni(u),F=qo(k,I),G=Go(k,I)+1;return rl(k,F,G).join("")}function e2(s,u,g){if(s=Ct(s),s&&(g||u===t))return s.slice(0,Jo(s)+1);if(!s||!(u=On(u)))return s;var k=ni(s),I=Go(k,ni(u))+1;return rl(k,0,I).join("")}function t2(s,u,g){if(s=Ct(s),s&&(g||u===t))return s.replace(Gn,"");if(!s||!(u=On(u)))return s;var k=ni(s),I=qo(k,ni(u));return rl(k,I).join("")}function n2(s,u){var g=W,k=K;if(Wt(u)){var I="separator"in u?u.separator:I;g="length"in u?it(u.length):g,k="omission"in u?On(u.omission):k}s=Ct(s);var F=s.length;if(Ql(s)){var G=ni(s);F=G.length}if(g>=F)return s;var J=g-Zl(k);if(J<1)return k;var x=G?rl(G,0,J).join(""):s.slice(0,J);if(I===t)return x+k;if(G&&(J+=x.length-J),mo(I)){if(s.slice(J).search(I)){var pe,me=x;for(I.global||(I=Es(I.source,Ct(wn.exec(I))+"g")),I.lastIndex=0;pe=I.exec(me);)var Ce=pe.index;x=x.slice(0,Ce===t?J:Ce)}}else if(s.indexOf(On(I),J)!=J){var Ve=x.lastIndexOf(I);Ve>-1&&(x=x.slice(0,Ve))}return x+k}function i2(s){return s=Ct(s),s&&pl.test(s)?s.replace(Wi,Ep):s}var l2=ir(function(s,u,g){return s+(g?" ":"")+u.toUpperCase()}),wo=Vu("toUpperCase");function Df(s,u,g){return s=Ct(s),u=g?t:u,u===t?Ip(s)?Mp(s):bp(s):s.match(u)||[]}var Vf=rt(function(s,u){try{return tn(s,t,u)}catch(g){return po(g)?g:new xe(g)}}),r2=Di(function(s,u){return Dt(u,function(g){g=_i(g),Ri(s,g,go(s[g],s))}),s});function a2(s){var u=s==null?0:s.length,g=Ye();return s=u?Ht(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[g(k[0]),k[1]]}):[],rt(function(k){for(var I=-1;++I<u;){var F=s[I];if(tn(F[0],this,k))return tn(F[1],this,k)}})}function s2(s){return Em(Qn(s,_))}function ko(s){return function(){return s}}function o2(s,u){return s==null||s!==s?u:s}var u2=Ou(),f2=Ou(!0);function Rn(s){return s}function So(s){return du(typeof s=="function"?s:Qn(s,_))}function c2(s){return gu(Qn(s,_))}function d2(s,u){return _u(s,Qn(u,_))}var h2=rt(function(s,u){return function(g){return Fr(g,s,u)}}),g2=rt(function(s,u){return function(g){return Fr(s,g,u)}});function Co(s,u,g){var k=nn(u),I=Ea(u,k);g==null&&!(Wt(u)&&(I.length||!k.length))&&(g=u,u=s,s=this,I=Ea(u,nn(u)));var F=!(Wt(g)&&"chain"in g)||!!g.chain,G=Mi(s);return Dt(I,function(J){var x=u[J];s[J]=x,G&&(s.prototype[J]=function(){var pe=this.__chain__;if(F||pe){var me=s(this.__wrapped__),Ce=me.__actions__=Tn(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),me.__chain__=pe,me}return x.apply(s,xi([this.value()],arguments))})}),s}function _2(){return Be._===this&&(Be._=Wp),this}function yo(){}function p2(s){return s=it(s),rt(function(u){return pu(u,s)})}var m2=eo(Ht),b2=eo(da),v2=eo(Ps);function Mf(s){return so(s)?Ns(_i(s)):Qm(s)}function w2(s){return function(u){return s==null?t:Rl(s,u)}}var k2=Uu(),S2=Uu(!0);function Po(){return[]}function No(){return!1}function C2(){return{}}function y2(){return""}function P2(){return!0}function N2(s,u){if(s=it(s),s<1||s>ie)return[];var g=re,k=cn(s,re);u=Ye(u),s-=re;for(var I=Ls(k,u);++g<s;)u(g);return I}function I2(s){return tt(s)?Ht(s,_i):Fn(s)?[s]:Tn(ef(Ct(s)))}function T2(s){var u=++Bp;return Ct(s)+u}var L2=Ua(function(s,u){return s+u},0),A2=to("ceil"),R2=Ua(function(s,u){return s/u},1),E2=to("floor");function D2(s){return s&&s.length?Ra(s,Rn,Hs):t}function V2(s,u){return s&&s.length?Ra(s,Ye(u,2),Hs):t}function M2(s){return Ho(s,Rn)}function O2(s,u){return Ho(s,Ye(u,2))}function F2(s){return s&&s.length?Ra(s,Rn,Gs):t}function U2(s,u){return s&&s.length?Ra(s,Ye(u,2),Gs):t}var B2=Ua(function(s,u){return s*u},1),H2=to("round"),W2=Ua(function(s,u){return s-u},0);function z2(s){return s&&s.length?Ts(s,Rn):0}function q2(s,u){return s&&s.length?Ts(s,Ye(u,2)):0}return M.after=cv,M.ary=df,M.assign=$v,M.assignIn=Nf,M.assignInWith=Xa,M.assignWith=xv,M.at=e0,M.before=hf,M.bind=go,M.bindAll=r2,M.bindKey=gf,M.castArray=Cv,M.chain=uf,M.chunk=E1,M.compact=D1,M.concat=V1,M.cond=a2,M.conforms=s2,M.constant=ko,M.countBy=zb,M.create=t0,M.curry=_f,M.curryRight=pf,M.debounce=mf,M.defaults=n0,M.defaultsDeep=i0,M.defer=dv,M.delay=hv,M.difference=M1,M.differenceBy=O1,M.differenceWith=F1,M.drop=U1,M.dropRight=B1,M.dropRightWhile=H1,M.dropWhile=W1,M.fill=z1,M.filter=Gb,M.flatMap=jb,M.flatMapDeep=Yb,M.flatMapDepth=Qb,M.flatten=rf,M.flattenDeep=q1,M.flattenDepth=G1,M.flip=gv,M.flow=u2,M.flowRight=f2,M.fromPairs=K1,M.functions=f0,M.functionsIn=c0,M.groupBy=Zb,M.initial=j1,M.intersection=Y1,M.intersectionBy=Q1,M.intersectionWith=Z1,M.invert=h0,M.invertBy=g0,M.invokeMap=$b,M.iteratee=So,M.keyBy=xb,M.keys=nn,M.keysIn=An,M.map=Ka,M.mapKeys=p0,M.mapValues=m0,M.matches=c2,M.matchesProperty=d2,M.memoize=ja,M.merge=b0,M.mergeWith=If,M.method=h2,M.methodOf=g2,M.mixin=Co,M.negate=Ya,M.nthArg=p2,M.omit=v0,M.omitBy=w0,M.once=_v,M.orderBy=ev,M.over=m2,M.overArgs=pv,M.overEvery=b2,M.overSome=v2,M.partial=_o,M.partialRight=bf,M.partition=tv,M.pick=k0,M.pickBy=Tf,M.property=Mf,M.propertyOf=w2,M.pull=eb,M.pullAll=sf,M.pullAllBy=tb,M.pullAllWith=nb,M.pullAt=ib,M.range=k2,M.rangeRight=S2,M.rearg=mv,M.reject=lv,M.remove=lb,M.rest=bv,M.reverse=co,M.sampleSize=av,M.set=C0,M.setWith=y0,M.shuffle=sv,M.slice=rb,M.sortBy=fv,M.sortedUniq=db,M.sortedUniqBy=hb,M.split=j0,M.spread=vv,M.tail=gb,M.take=_b,M.takeRight=pb,M.takeRightWhile=mb,M.takeWhile=bb,M.tap=Db,M.throttle=wv,M.thru=Ga,M.toArray=Cf,M.toPairs=Lf,M.toPairsIn=Af,M.toPath=I2,M.toPlainObject=Pf,M.transform=P0,M.unary=kv,M.union=vb,M.unionBy=wb,M.unionWith=kb,M.uniq=Sb,M.uniqBy=Cb,M.uniqWith=yb,M.unset=N0,M.unzip=ho,M.unzipWith=of,M.update=I0,M.updateWith=T0,M.values=ar,M.valuesIn=L0,M.without=Pb,M.words=Df,M.wrap=Sv,M.xor=Nb,M.xorBy=Ib,M.xorWith=Tb,M.zip=Lb,M.zipObject=Ab,M.zipObjectDeep=Rb,M.zipWith=Eb,M.entries=Lf,M.entriesIn=Af,M.extend=Nf,M.extendWith=Xa,Co(M,M),M.add=L2,M.attempt=Vf,M.camelCase=D0,M.capitalize=Rf,M.ceil=A2,M.clamp=A0,M.clone=yv,M.cloneDeep=Nv,M.cloneDeepWith=Iv,M.cloneWith=Pv,M.conformsTo=Tv,M.deburr=Ef,M.defaultTo=o2,M.divide=R2,M.endsWith=V0,M.eq=li,M.escape=M0,M.escapeRegExp=O0,M.every=qb,M.find=Kb,M.findIndex=nf,M.findKey=l0,M.findLast=Jb,M.findLastIndex=lf,M.findLastKey=r0,M.floor=E2,M.forEach=ff,M.forEachRight=cf,M.forIn=a0,M.forInRight=s0,M.forOwn=o0,M.forOwnRight=u0,M.get=bo,M.gt=Lv,M.gte=Av,M.has=d0,M.hasIn=vo,M.head=af,M.identity=Rn,M.includes=Xb,M.indexOf=J1,M.inRange=R0,M.invoke=_0,M.isArguments=Vl,M.isArray=tt,M.isArrayBuffer=Rv,M.isArrayLike=Ln,M.isArrayLikeObject=Jt,M.isBoolean=Ev,M.isBuffer=al,M.isDate=Dv,M.isElement=Vv,M.isEmpty=Mv,M.isEqual=Ov,M.isEqualWith=Fv,M.isError=po,M.isFinite=Uv,M.isFunction=Mi,M.isInteger=vf,M.isLength=Qa,M.isMap=wf,M.isMatch=Bv,M.isMatchWith=Hv,M.isNaN=Wv,M.isNative=zv,M.isNil=Gv,M.isNull=qv,M.isNumber=kf,M.isObject=Wt,M.isObjectLike=Gt,M.isPlainObject=qr,M.isRegExp=mo,M.isSafeInteger=Kv,M.isSet=Sf,M.isString=Za,M.isSymbol=Fn,M.isTypedArray=rr,M.isUndefined=Jv,M.isWeakMap=jv,M.isWeakSet=Yv,M.join=X1,M.kebabCase=F0,M.last=Xn,M.lastIndexOf=$1,M.lowerCase=U0,M.lowerFirst=B0,M.lt=Qv,M.lte=Zv,M.max=D2,M.maxBy=V2,M.mean=M2,M.meanBy=O2,M.min=F2,M.minBy=U2,M.stubArray=Po,M.stubFalse=No,M.stubObject=C2,M.stubString=y2,M.stubTrue=P2,M.multiply=B2,M.nth=x1,M.noConflict=_2,M.noop=yo,M.now=Ja,M.pad=H0,M.padEnd=W0,M.padStart=z0,M.parseInt=q0,M.random=E0,M.reduce=nv,M.reduceRight=iv,M.repeat=G0,M.replace=K0,M.result=S0,M.round=H2,M.runInContext=Z,M.sample=rv,M.size=ov,M.snakeCase=J0,M.some=uv,M.sortedIndex=ab,M.sortedIndexBy=sb,M.sortedIndexOf=ob,M.sortedLastIndex=ub,M.sortedLastIndexBy=fb,M.sortedLastIndexOf=cb,M.startCase=Y0,M.startsWith=Q0,M.subtract=W2,M.sum=z2,M.sumBy=q2,M.template=Z0,M.times=N2,M.toFinite=Oi,M.toInteger=it,M.toLength=yf,M.toLower=X0,M.toNumber=$n,M.toSafeInteger=Xv,M.toString=Ct,M.toUpper=$0,M.trim=x0,M.trimEnd=e2,M.trimStart=t2,M.truncate=n2,M.unescape=i2,M.uniqueId=T2,M.upperCase=l2,M.upperFirst=wo,M.each=ff,M.eachRight=cf,M.first=af,Co(M,function(){var s={};return hi(M,function(u,g){Nt.call(M.prototype,g)||(s[g]=u)}),s}(),{chain:!1}),M.VERSION=n,Dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Dt(["drop","take"],function(s,u){dt.prototype[s]=function(g){g=g===t?1:$t(it(g),0);var k=this.__filtered__&&!u?new dt(this):this.clone();return k.__filtered__?k.__takeCount__=cn(g,k.__takeCount__):k.__views__.push({size:cn(g,re),type:s+(k.__dir__<0?"Right":"")}),k},dt.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),Dt(["filter","map","takeWhile"],function(s,u){var g=u+1,k=g==Pe||g==z;dt.prototype[s]=function(I){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(I,3),type:g}),F.__filtered__=F.__filtered__||k,F}}),Dt(["head","last"],function(s,u){var g="take"+(u?"Right":"");dt.prototype[s]=function(){return this[g](1).value()[0]}}),Dt(["initial","tail"],function(s,u){var g="drop"+(u?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[g](1)}}),dt.prototype.compact=function(){return this.filter(Rn)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=rt(function(s,u){return typeof s=="function"?new dt(this):this.map(function(g){return Fr(g,s,u)})}),dt.prototype.reject=function(s){return this.filter(Ya(Ye(s)))},dt.prototype.slice=function(s,u){s=it(s);var g=this;return g.__filtered__&&(s>0||u<0)?new dt(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),u!==t&&(u=it(u),g=u<0?g.dropRight(-u):g.take(u-s)),g)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(re)},hi(dt.prototype,function(s,u){var g=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),I=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);!I||(M.prototype[u]=function(){var G=this.__wrapped__,J=k?[1]:arguments,x=G instanceof dt,pe=J[0],me=x||tt(G),Ce=function(ot){var ht=I.apply(M,xi([ot],J));return k&&Ve?ht[0]:ht};me&&g&&typeof pe=="function"&&pe.length!=1&&(x=me=!1);var Ve=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!Ve,lt=x&&!Ke;if(!F&&me){G=lt?G:new dt(this);var Ze=s.apply(G,J);return Ze.__actions__.push({func:Ga,args:[Ce],thisArg:t}),new Yn(Ze,Ve)}return Qe&&lt?s.apply(this,J):(Ze=this.thru(Ce),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Dt(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var I=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(tt(F)?F:[],I)}return this[g](function(G){return u.apply(tt(G)?G:[],I)})}}),hi(dt.prototype,function(s,u){var g=M[u];if(g){var k=g.name+"";Nt.call(er,k)||(er[k]=[]),er[k].push({name:u,func:g})}}),er[Fa(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=im,dt.prototype.reverse=lm,dt.prototype.value=rm,M.prototype.at=Vb,M.prototype.chain=Mb,M.prototype.commit=Ob,M.prototype.next=Fb,M.prototype.plant=Bb,M.prototype.reverse=Hb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Wb,M.prototype.first=M.prototype.head,Ar&&(M.prototype[Ar]=Ub),M},Xl=Op();bt?((bt.exports=Xl)._=Xl,St._=Xl):Be._=Xl}).call(Kr)})(Ul,Ul.exports);class Ew{getNodePath(e,t){return e?be.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=se.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 Ft.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ft.shouldPreventNavigation(n)||se.trimLeadingSlash(this.getWindowPath())===se.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),h=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?be.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const _=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?se.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=se.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=se.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(se.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=be.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?se.trimLeadingSlash(window.location.pathname)+window.location.search:se.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),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(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!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 d=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),_=await be.getDefaultChildNode(d);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await be.getDefaultChildNode(n,async(h,d)=>await Ft.getChildren(h,d));if(n.isExistingRoute){const h=se.getTrimmedUrl(l);this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,se.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await be.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!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 h=o&&o.length?se.getPathWithoutHash(o):"",{nodeObject:d,pathData:_}=await Ft.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,_,o,t,h,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(h.split("?")[1]),v=be.getNodeParams(m),C=be.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let A=!1,N=P;for(;N;){if(N.tabNav===!0){A=!0;break}else if(N.tabNav===!1){A=!1;break}else if(se.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){A=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){A=!1;break}else{A=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=ye.getParentNode(N,_.navigationPath)}let D=P,E=d.hideSideNav;if(E===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){E=!0;break}if(D.hideSideNav===!1){E=!1;break}D=ye.getParentNode(D,_.navigationPath)}const V=be.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=V;const U={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:V,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:A};t.set(Object.assign({},U,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(A?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),d.compound)En.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)En.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const K=document.querySelector(".wcContainer");if(K&&(K.configChangedRequest=!1),O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await En.navigateIframe(l,t,n);else{const X=t.get(),ne=await t.prepareInternalData(l);Re.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(X.context),nodeParams:JSON.stringify(X.nodeParams),pathParams:JSON.stringify(X.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ne),withoutSync:!0})}}const W=document.querySelector(".lui-tab-header");W&&W.dispatchEvent(new Event("lui_ctx_update")),Ft.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Ft.extractDataFromPath(e);$_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){Hn.deleteNodesRecursively(c);break}}else r=!1}}else Hn.deleteCache()}handleRouteClick(e,t){const n=be.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(se.trimLeadingSlash(this.getWindowPath())===se.trimLeadingSlash(n)){const r=Re.getIframeContainer(),a=En.getActiveIframe(r);a&&a.vg&&En.canCache(a.vg)?(En.switchActiveIframe(Re.getIframeContainer(),void 0,!1),setTimeout(()=>{En.switchActiveIframe(Re.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=be.getPageNotFoundRedirectResult(n,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Re.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(se.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={...Iw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=be.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else se.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=be.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&hr.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ul.exports.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ye.checkVisibleForFeatureToggles(a))),hr.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=be.getHashQueryParamSeparator();const r=be.getQueryParams(),a=be.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,_;if(c){let[p,b]=o.hash.split("?");d=p,_=be.getURLWithoutModalData(b,r),_&&(d+="?"+_)}else d=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(d+="?"+be.getURLWithoutModalData(o.search,r));if(h=be.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${be.encodeParams(l)}`}else o.search=`?${be.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=be.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),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 nt=new Ew;class Dw{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=be.substituteViewUrl(e,t));const l=Re.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?se.getPathWithoutHash(t):"",l=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),a=be.getNodeParams(r),o=be.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){hr.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 a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,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(se.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(se.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(se.computePxFromPercent(t.rightContentHeight,100-e))+se.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:se.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,se.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}),Re.getIframeContainer().style.marginBottom="",at.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`,Re.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="",Re.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Re.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const at=new Dw;class Vw{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const Mw=new Vw;class Ow{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=ae.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 Ow;class Fw{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),n=ul.parseUrlAuthErrors()||{};if(!!await ul.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),se.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=ul.getStoredAuthData();if(!t||!ul.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&se.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):se.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),se.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),se.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),se.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=ul.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);se.isFunction(n)?n(this.idpProviderInstance.settings,e,t):se.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=se.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!se.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(se.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&se.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const rn=new Fw;class Uw{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(se.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const jr=new Uw;class Bw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=se.getUrlParameter("error"),t=se.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ul=new Bw;class Hw{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),_=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(_,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,_),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new Hw;class Ww{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ul.exports.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ul.exports.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return si.isCustomLuigiContainer()?si.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(si.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,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(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 a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(ae.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=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._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 ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const se=new Ww;class zw{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=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return rw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:se.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(se.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){Re.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=jr.hasDecorators()?jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:se.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const _=ae.getConfigValue("settings.iframeCreationInterceptor");if(se.isFunction(_))try{_(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Re.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));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 Re.specialIframeTypes.filter(n=>Re.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:Oo.getActiveFeatureToggleList(),currentLocale:vt.getCurrentLocale(),currentTheme:Eo.getCurrentTheme()}}}const Re=new zw;class qw{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.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 se.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=Oo.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(mi.isAuthorizationEnabled()){const r=ul.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.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=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,_)=>{const p=d.order||0,b=_.order||0;return p-b})};return e.forEach(h=>{let d,_;const p=h[t];se.isObject(p)?(d=p.id?p.id:p.label,_=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),_={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=_),se.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),se.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),h.hideFromNav||b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":vt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ft.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let _;const p=!!d.badgeCounter;if(p&&(_=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>_};else if(p){const m=a[b].badgeCounter.count()+_;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(a[b]);a[b].children.push(d)}else o.push(d);_&&c.push(_)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ft.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((_,p)=>_+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ae.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(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,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||"/";nt.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(se.isObject(e)||e===!0){const t=e.navExpanded?vt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?vt.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 Ft.extractDataFromPath(e);return!!await Ft.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Ul.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||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 a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const _=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(h=>{l(h)})}).catch(n=>{Ul.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=vt.getTranslation(e.label);const n=be.findViewGroup(e);if(n){const l=En.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=se.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const ye=new qw;class Gw{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 ls.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.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 a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Re.getLocation(e.viewUrl)===Re.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.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=ae.getConfigValue("routing.useHashRouting");Vn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?nt.getHashPath():nt.getModifiedPathname();e(l)}}),Vn.addEventListener("popstate",n=>{const l=t?nt.getHashPath(location.href):nt.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 a=e.externalLink.url,o={context:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:nt.buildFromRelativePath(e);return l+a}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+se.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=se.trimLeadingSlash(e).split("/"),l=be.buildRoute(t,`/${t.pathSegment}`),r=se.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}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=vt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=se.replaceVars(e,t.pathParams,":",!1),e=se.replaceVars(e,t.context,n),e=se.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ol.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ol.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Oo.setFeatureToggle(a,!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=ae.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 a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}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 a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${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 ol.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ol.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!se.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ol.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ae.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:vt.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 a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const be=new Gw;class Kw{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 un=new Kw;class Jw{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 Vn=new Jw;class jw{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 a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}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}};Re.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Re.sendMessageToIframe(a,r))}}const Yw=new jw;class Qw{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(se.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Re.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 cr=new Qw;class Zw{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 Zw;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,a,o,c,h;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=q(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=q(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(h=le(r,"click",d),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&T(e),c=!1,h()}}}function Xw(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=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=qf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:qe,o:qe,d(l){l&&T(e),st(n,l),i[5](null)}}}function $w(i,e,t){const n=zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=_t("getUnsavedChangesModalPromise"),c=_t("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=pr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Yt(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,_]}class xw extends Ot{constructor(e){super(),Mt(this,e,$w,Xw,At,{alertQueue:0,alertTypeMap:1})}}const Fl=38,Bi=40,vi=13,bi=27,Yr=32,ek=36,tk=35;function Gf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&T(e)}}}function Kf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("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),w(e,t),w(t,l),r||(a=le(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,a()}}}function nk(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,_,p=i[0].body+"",b,m,v,C,y,P,A=i[0].buttonDismiss+"",N,D,E,V,U,O=i[0].type&&Gf(i),W=i[0].buttonConfirm!==!1&&Kf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=q(),o=S("h2"),h=Ne(c),d=q(),_=S("div"),b=q(),m=S("footer"),v=S("div"),W&&W.c(),C=q(),y=S("div"),P=S("button"),N=Ne(A),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",D="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(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-1d21c96"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(K,X){L(K,e,X),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,_),_.innerHTML=p,w(t,b),w(t,m),w(m,v),W&&W.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),V||(U=[le(window,"keydown",i[1]),le(P,"click",i[5])],V=!0)},p(K,[X]){K[0].type?O?O.p(K,X):(O=Gf(K),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=K[0].header+"")&&Ie(h,c),X&1&&p!==(p=K[0].body+"")&&(_.innerHTML=p),K[0].buttonConfirm!==!1?W?W.p(K,X):(W=Kf(K),W.c(),W.m(v,C)):W&&(W.d(1),W=null),X&1&&A!==(A=K[0].buttonDismiss+"")&&Ie(N,A),X&1&&D!==(D="fd-button "+(K[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",D),X&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+K[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",E)},i:qe,o:qe,d(K){K&&T(e),O&&O.d(),W&&W.d(),V=!1,$e(U)}}}function ik(i,e,t){const n=zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{const d={icon:r[l.type],header:vt.getTranslation("luigi.confirmationModal.header"),body:vt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:vt.getTranslation("luigi.button.dismiss"),buttonConfirm:vt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Re.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 a(d){return ye.renderIconClassName(d)}function o(d){d.keyCode===bi&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class lk extends Ot{constructor(e){super(),Mt(this,e,ik,nk,At,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function rk(i){let e,t,n;const l=i[5].default,r=O_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&B_(r,l,a,a[4],n?U_(l,a[4],o,null):H_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){B(r,a),n=!1},d(a){a&&T(e),r&&r.d(a)}}}function ak(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=zt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Re.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return Yt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Vn.addEventListener("message",v=>{const C=Re.getValidMessageSource(v);!C||_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Re.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Re.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,_,l,n]}class Bl extends Ot{constructor(e){super(),Mt(this,e,ak,rk,At,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:sk}=Hi;function Jf(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m;t=new Bl({props:{disable:i[2]}});let v=i[0].title&&jf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=S("div"),v&&v.c(),a=q(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(C,y){L(C,e,y),Oe(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=le(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=jf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&_!==(_=C[0].closebtn_data_testid&&C[6]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",_)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){B(t.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function jf(i){let e,t=i[0].title+"",n;return{c(){e=S("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),w(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[11].default,n=O_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&B_(n,t,l,l[10],e?U_(t,l[10],r,null):H_(l[10]),null)},i(l){e||(R(n,l),e=!0)},o(l){B(n,l),e=!1},d(l){n&&n.d(l)}}}function Qf(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
53
53
  <div class="fd-busy-indicator__circle"></div>
54
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ok(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y=(i[6]||i[5]&&i[0].header)&&Jf(i),P=i[5]&&Yf(i),A=i[4]&&Qf();return{c(){e=S("div"),t=S("div"),y&&y.c(),n=q(),l=S("div"),P&&P.c(),r=q(),a=S("div"),h=q(),A&&A.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(N,D){L(N,e,D),w(e,t),y&&y.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,a),w(t,h),A&&A.m(t,null),m=!0,v||(C=le(sk,"keydown",i[3]),v=!0)},p(N,[D]){N[6]||N[5]&&N[0].header?y?(y.p(N,D),D&97&&R(y,1)):(y=Jf(N),y.c(),R(y,1),y.m(t,n)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),N[5]?P?(P.p(N,D),D&32&&R(P,1)):(P=Yf(N),P.c(),R(P,1),P.m(l,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),(!m||D&32&&o!==(o="iframeModalCtn "+(N[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(a,"class",o),(!m||D&34&&c!==(c=N[5]?void 0:N[1]))&&f(a,"modal-container-index",c),N[4]?A||(A=Qf(),A.c(),A.m(t,null)):A&&(A.d(1),A=null),(!m||D&35&&d!==(d="fd-dialog__content "+(N[5]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-k9bftu"))&&f(t,"class",d),(!m||D&64&&_!==(_=N[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||D&97&&p!==(p=ei(N[6]||N[5]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!m||D&64&&b!==(b=N[6]?"z-index:1001":""))&&f(e,"style",b)},i(N){m||(R(y),R(P),m=!0)},o(N){B(y),B(P),m=!1},d(N){N&&T(e),y&&y.d(),P&&P.d(),A&&A.d(),v=!1,C()}}}function uk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=zt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,N,D=_t("store");const E=z=>ye.getNodeLabel(z),V=async z=>{const oe=z&&z.length?se.getPathWithoutHash(z):"",ie=be.parseParams(oe.split("?")[1]);b=be.getNodeParams(ie);const j=await Ft.extractDataFromPath(z);_=j.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),N=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(6,A=!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),d("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=j.pathData,t(8,a=!0)},U=async z=>{if(!(m||v))if(a)if(_.webcomponent)t(4,C=!1),P?await K():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(N),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(N),modalWCData:{...p,nodeParams:b}}),v=!0;else{const oe=await W(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:oe,modalIframeData:{...p,nodeParams:b}}),m=!0}else await V(z)},O=async()=>{let z,oe;const ie=document.querySelector(".lui-modal-index-"+c),{size:j,width:Le,height:re}=r,Ee=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ie.classList.remove("lui-modal-fullscreen"),Le&&Le.match(Ee)&&re&&re.match(Ee))z=re,oe=Le;else switch(j){case"fullscreen":z="100vh",oe="100vw",ie.classList.add("lui-modal-fullscreen");break;case"m":z="80%",oe="60%";break;case"s":z="80%",oe="40%";break;default:z="80%",oe="80%"}ie.setAttribute("style",`width:${oe};height:${z};`)},W=async(z,oe)=>{P?await K():await O(),z&&(z=be.substituteViewUrl(z,oe));const ie=await Re.createIframe(z,void 0,_,"modal",oe);return document.querySelector(N).appendChild(ie),ie};async function K(z){let oe="";const ie=document.getElementsByClassName("drawer"),j=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?oe="width:75%;":r.size==="m"?oe="width:50%;":r.size==="s"?oe="width:25%;":r.size==="xs"&&(oe="width:15.5%;")),r.backdrop?ie[0].setAttribute("style",oe):(j[0].setAttribute("style",oe),ie[0].setAttribute("style","width:100%"))}fs(()=>{U(o)});const X=async z=>{z.data.msg==="luigi.show-loading-indicator"&&t(4,C=!0),z.data.msg==="luigi.hide-loading-indicator"&&t(4,C=!1),z.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&Pe()),z.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),z.data.msg==="luigi.navigation.updateModalSettings"&&((z.data.updatedModalSettings.title||z.data.updatedModalSettings.title==="")&&t(0,r.title=z.data.updatedModalSettings.title,r),z.data.updatedModalSettings.size&&(t(0,r.size=z.data.updatedModalSettings.size,r),await O()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&nt.updateModalDataInUrl(be.getModalPathFromPath(),{title:r.title,size:r.size},z.data.addHistoryEntry))};Yt(()=>{un.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Vn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Re.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var z;!y&&!_.webcomponent&&((z=_.loadingIndicator)==null?void 0:z.enabled)!==!1&&t(4,C=!0)},250)}),Qr(()=>{Vn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Re.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ne(z){z.keyCode===bi&&d("close")}function Pe(){let z;A?z=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):z=document.querySelector(".drawer .spinnerContainer"),z&&z.classList.contains("fade-out")&&(z.classList.remove("fade-out"),setTimeout(()=>{t(4,C=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=z=>{"settings"in z&&t(0,r=z.settings),"isDataPrepared"in z&&t(8,a=z.isDataPrepared),"nodepath"in z&&t(9,o=z.nodepath),"modalIndex"in z&&t(1,c=z.modalIndex),"disableBackdrop"in z&&t(2,h=z.disableBackdrop),"$$scope"in z&&t(10,l=z.$$scope)},[r,c,h,ne,C,P,A,d,a,o,l,n,ee]}class ep extends Ot{constructor(e){super(),Mt(this,e,uk,ok,At,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Zf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Xf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function $f(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ve()},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=S("div"),t=S("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,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[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,a):(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),st(l,r)}}}function tc(i){let e;function t(r,a){return r[29].isEditable||r[29].isEditable===void 0?ck:fk}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function fk(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ie(n,t),a[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function ck(i){let e,t,n,l,r;function a(){i[18].call(e,i[28])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Uf(e,i[0][i[1][0]][i[28]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,h,d,_,p,b,m,v=Array.isArray(i[29].options),C,y;function P(...D){return i[19](i[28],i[31],i[29],...D)}function A(){return i[20](i[29])}let N=v&&ic(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=q(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=q(),m=S("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[31]),f(a,"disabled",h=!(i[29].isEditable===void 0||i[29].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-1tiapr5"),f(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[le(r,"keydown",P),le(n,"click",Ut(A))],C=!0)},p(D,E){i=D,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ie(c,o),E[0]&2&&h!==(h=!(i[29].isEditable===void 0||i[29].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[29].options)),v?N?N.p(i,E):(N=ic(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(D){D&&T(e),N&&N.d(),C=!1,$e(y)}}}function ic(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let a;for(a=0;a<t.length;a+=1){const o=$f(l,t,a);n[a]?n[a].p(o,r):(n[a]=lc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function lc(i){let e,t,n=i[12](i[32])+"",l,r,a,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=S("li"),t=S("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[31]+"_"+i[34]),f(e,"tabindex","0"),Dn(e,"is-selected",i[4]===i[34]),Dn(e,"is-focus",i[4]===i[34])},m(h,d){L(h,e,d),w(e,t),w(t,l),w(e,r),a||(o=[le(e,"click",c),le(e,"keydown",i[22])],a=!0)},p(h,d){i=h,d[0]&2&&n!==(n=i[12](i[32])+"")&&Ie(l,n),d[0]&16&&Dn(e,"is-selected",i[4]===i[34]),d[0]&16&&Dn(e,"is-focus",i[4]===i[34])},d(h){h&&T(e),a=!1,$e(o)}}}function rc(i){let e,t,n,l=i[29].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=ac(Xf(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[29].options;let c;for(c=0;c<l.length;c+=1){const h=Xf(a,l,c);r[c]?r[c].p(h,o):(r[c]=ac(h),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-"+a[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(a){a&&T(e),st(r,a)}}}function ac(i){let e,t=i[12](i[32])+"",n,l,r,a,o,c,h,d;function _(){return i[23](i[28],i[32])}return{c(){e=S("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[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=le(e,"click",_),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Ie(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function sc(i){let e,t,n,l,r,a,o,c,h,d;function _(){i[24].call(n,i[28])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=q(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,a),w(t,o),h||(d=le(n,"change",_),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function oc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(a){a&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[29].label)+"",r,a,o,c,h,d,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,m,v=i[29].type==="string"&&tc(i),C=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&nc(i),y=_&&rc(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&sc(i),A=i[29].type==="boolean"&&i[29].style==="checkbox"&&oc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=q(),c=S("div"),v&&v.c(),h=q(),C&&C.c(),d=q(),y&&y.c(),p=q(),P&&P.c(),b=q(),A&&A.c(),m=q(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(N,D){L(N,e,D),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),A&&A.m(c,null),w(e,m)},p(N,D){D[0]&34&&l!==(l=N[5](N[29].label)+"")&&Ie(r,l),N[29].type==="string"?v?v.p(N,D):(v=tc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[29].type==="enum"&&(N[29].style===void 0||N[29].style==="list")?C?C.p(N,D):(C=nc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),D[0]&2&&(_=N[29].type==="enum"&&N[29].style==="button"&&Array.isArray(N[29].options)),_?y?y.p(N,D):(y=rc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[29].type==="boolean"&&(!N[29].style||N[29].style==="switch")?P?P.p(N,D):(P=sc(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[29].type==="boolean"&&N[29].style==="checkbox"?A?A.p(N,D):(A=oc(N),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&T(e),l&&l.d(),t=!1,$e(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function hk(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:a}=e;const o=zt();let c=_t("getTranslation");wi(i,c,ee=>t(5,n=ee));let h,{isComboOpen:d}=e;function _(){o("updateSettingsObject",{storedUserSettingData:a})}const p=()=>{b()};function b(ee){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(z=>{v(z,!1)})}function m(ee,z){let oe=ns(ee.target,".fd-popover__control",20),ie=oe.getAttribute("aria-expanded")==="true";(z||z===void 0)&&(b(),v(oe,!ie))}function v(ee,z){const oe=ee.querySelector(".lui-activate-dropdown"),ie=ee.parentNode.querySelector(".fd-popover__body"),j=ee.parentNode.querySelector(".fd-select__control");ee.setAttribute("aria-expanded",z),ie.setAttribute("aria-hidden",!z),j.setAttribute("aria-expanded",z),oe.setAttribute("aria-expanded",z),t(14,d=z)}function C(ee,z,oe){t(4,h=oe),t(0,a[l[0]][ee]=z.value||z,a)}function y(ee,z){document.querySelectorAll(".enum-buttons-container-"+ee+" button").forEach(oe=>{const ie=oe.getAttribute("id"),j=`lui-us-enum_button_${ee}_option`;ie===j?oe.classList.add("fd-button--emphasized"):oe.classList.remove("fd-button--emphasized")}),t(0,a[l[0]][ee]=z.value||z,a)}function P(ee,z){let oe;if(Array.isArray(z)){for(let ie=0;ie<z.length;ie++)if(se.isObject(z[ie])){if(z[ie].value&&z[ie].value===ee){oe=z[ie].label,t(4,h=ie);break}}else{oe=ee,t(4,h=z.indexOf(ee));break}return n(oe)}}function A(ee){return n(se.isObject(ee)?ee.label:ee)}function N(ee,z,oe){return se.isObject(oe)?`${ee}_${z}_${oe.value}`:`${ee}_${z}_${oe}`}function D(ee,z,oe,ie){let j=ns(ee.target,".lui-anchor-node",20);const Le=document.getElementById(`fd-form-input-dropdown-${oe}`).children;let re=-1;if([...Le].forEach((Ee,Se)=>{Ee.classList.contains("is-focus")&&(re=Se)}),d){if(ee.keyCode===Fl&&ee.altKey&&(j.click(),j.focus()),ee.keyCode===Bi&&!ee.altKey){if(re===-1){re=0,Le.item(re).classList.add("is-focus");return}re<ie.options.length-1&&(Le.item(re).classList.remove("is-focus"),re+=1,Le.item(re).classList.add("is-focus"))}if(ee.keyCode===Fl&&!ee.altKey){if(re===-1){re=re.length-1,Le.item(re).classList.add("is-focus");return}re>0&&re<ie.options.length&&(Le.item(re).classList.remove("is-focus"),re-=1,Le.item(re).classList.add("is-focus"))}(ee.keyCode===vi||ee.keyCode===Yr)&&C(z,ie.options[re],re)}else j.focus(),ee.keyCode===Bi&&ee.altKey&&j.click(),ee.keyCode===Bi&&!ee.altKey&&re<ie.options.length-1&&C(z,ie.options[re+1],re+1),ee.keyCode===Fl&&!ee.altKey&&re>0&&re<ie.options.length&&C(z,ie.options[re-1],re-1)}function E(ee){if(d){let z=ns(ee.target,".fd-popover",20);z.blur(),(ee.keyCode===Yr||ee.keyCode===vi)&&(ee.target.click(),b(),setTimeout(()=>{z.focus()},0))}}P();function V(ee){a[l[0]][ee]=this.value,t(0,a)}const U=(ee,z,oe,ie)=>D(ie,ee,z,oe),O=ee=>m(event,ee.isEditable),W=(ee,z,oe)=>C(ee,z,oe),K=ee=>E(ee),X=(ee,z)=>y(ee,z);function ne(ee){a[l[0]][ee]=this.checked,t(0,a)}function Pe(ee){a[l[0]][ee]=this.checked,t(0,a)}return i.$$set=ee=>{"userSettingGroup"in ee&&t(1,l=ee.userSettingGroup),"userSettingsGroupKey"in ee&&t(15,r=ee.userSettingsGroupKey),"storedUserSettingData"in ee&&t(0,a=ee.storedUserSettingData),"isComboOpen"in ee&&t(14,d=ee.isComboOpen)},[a,l,D,E,h,n,c,b,m,C,y,P,A,N,d,r,_,p,V,U,O,W,K,X,ne,Pe]}class gk extends Ot{constructor(e){super(),Mt(this,e,hk,dk,At,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=Hi;function cc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function dc(i,e,t){const n=i.slice();return n[38]=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[38][1])),e?pk:_k}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=q(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&T(t),o&&T(n)}}}function _k(i){let e,t,n,l,r,a=i[38][1].initials&&gc(i);return{c(){e=S("span"),l=q(),a&&a.c(),r=ve(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Pn(e,"background-image","url('"+i[38][1].icon+"')"),Pn(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Pn(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=gc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&T(e),o&&T(l),a&&a.d(o),o&&T(r)}}}function pk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=ei(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function _c(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,m,v=i[38][1].icon&&hc(i);function C(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=q(),l=S("div"),r=S("div"),o=Ne(a),c=q(),h=S("div"),_=Ne(d),p=q(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,_),w(e,p),b||(m=[le(e,"click",Lt(C)),le(e,"keydown",y)],b=!0)},p(P,A){i=P,i[38][1].icon?v?v.p(i,A):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ie(o,a),A[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ie(_,d)},d(P){P&&T(e),v&&v.d(),b=!1,$e(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=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=dc(l,t,a);n[a]?n[a].p(o,r):(n[a]=_c(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[24](c)}function a(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new gk({props:o}),Xe.push(()=>ft(e,"closeDropDown",r)),Xe.push(()=>ft(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,h){Oe(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],ut(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],ut(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function mk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,_,p,b,m,v,C,y,P=i[10](i[7])+"",A,N,D,E,V,U,O,W,K,X,ne,Pe=i[10](i[5])+"",ee,z,oe,ie,j=i[10](i[6])+"",Le,re,Ee,Se,de=Object.entries(i[1]),Y=[];for(let te=0;te<de.length;te+=1)Y[te]=pc(cc(i,de,te));let ce=i[11]&&mc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=q(),_=S("div"),p=S("ul");for(let te=0;te<Y.length;te+=1)Y[te].c();b=q(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=q(),y=S("h2"),A=Ne(P),N=q(),D=S("div"),E=S("div"),ce&&ce.c(),V=q(),U=S("div"),O=q(),W=S("footer"),K=S("div"),X=S("div"),ne=S("button"),ee=Ne(Pe),z=q(),oe=S("div"),ie=S("button"),Le=Ne(j),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(y,"class","fd-title fd-title--h5 svelte-yylqtk"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(E,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(D,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(ne,"data-testid","lui-us-saveBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(ie,"data-testid","lui-us-dismissBtn"),f(ie,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(oe,"class","fd-bar__element"),f(K,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(te,We){L(te,e,We),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,_),w(_,p);for(let Ge=0;Ge<Y.length;Ge+=1)Y[Ge].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,A),w(n,N),w(n,D),w(D,E),ce&&ce.m(E,null),w(D,V),w(D,U),w(t,O),w(t,W),w(W,K),w(K,X),w(X,ne),w(ne,ee),w(K,z),w(K,oe),w(oe,ie),w(ie,Le),re=!0,Ee||(Se=[le(fc,"resize",i[20]),le(fc,"keydown",i[3]),le(v,"click",i[17]),le(ne,"click",i[26]),le(ie,"click",i[27])],Ee=!0)},p(te,We){if((!re||We[0]&1040)&&c!==(c=te[10](te[4])+"")&&Ie(h,c),We[0]&803846){de=Object.entries(te[1]);let Ge;for(Ge=0;Ge<de.length;Ge+=1){const _e=cc(te,de,Ge);Y[Ge]?Y[Ge].p(_e,We):(Y[Ge]=pc(_e),Y[Ge].c(),Y[Ge].m(p,null))}for(;Ge<Y.length;Ge+=1)Y[Ge].d(1);Y.length=de.length}(!re||We[0]&1152)&&P!==(P=te[10](te[7])+"")&&Ie(A,P),te[11]?ce?(ce.p(te,We),We[0]&2048&&R(ce,1)):(ce=mc(te),ce.c(),R(ce,1),ce.m(E,null)):ce&&(we(),B(ce,1,1,()=>{ce=null}),ke()),(!re||We[0]&1056)&&Pe!==(Pe=te[10](te[5])+"")&&Ie(ee,Pe),(!re||We[0]&1088)&&j!==(j=te[10](te[6])+"")&&Ie(Le,j)},i(te){re||(R(ce),re=!0)},o(te){B(ce),re=!1},d(te){te&&T(e),st(Y,te),ce&&ce.d(),Ee=!1,$e(Se)}}}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 bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function tp(i,e,t){if(i&&t>0)return i.matches(e)?i:tp(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 wk(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const a=zt();let o,{storedUserSettings:c={}}=e,h={},d=_t("getTranslation");wi(i,d,re=>t(10,n=re));let _=fl.userSettingsDialog.dialogHeader,p=fl.userSettingsDialog.saveBtn,b=fl.userSettingsDialog.dismissBtn,m={},v,C,y,P;Qr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const re=ae.getConfigValue("userSettings.userSettingsDialog"),Ee=re||ae.getConfigValue("settings.userSettings.userSettingsDialog");Ee&&(t(4,_=Ee.dialogHeader?Ee.dialogHeader:_),t(5,p=Ee.saveBtn?Ee.saveBtn:p),t(6,b=Ee.dismissBtn?Ee.dismissBtn:b)),v=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Vn.addEventListener("message",Se=>{const de=Re.getValidMessageSource(Se);if(!de||Se.data.msg!=="custom")return;de._ready=!0;const Y=rs.convertCustomMessageInternalToUser(Se.data),ce="luigi.updateUserSettings";if(Y.id===ce){const te=cr.findActiveCustomUserSettingsIframe(Se.source);if(te){let We=te.getAttribute("userSettingsGroup");t(0,c[We]=Y.data,c)}}Y.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&U()}),ae.readUserSettings().then(Se=>{h=JSON.parse(JSON.stringify(Se)),Se===null?t(0,c=bc(JSON.parse(JSON.stringify(r)),{})):t(0,c=bc(JSON.parse(JSON.stringify(r)),Se)),N([v,r[0][v]])}).catch(Se=>{Se&&Se.message&&console.error(Se.message),Se&&Se.closeDialog&&a("close")}),Re.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function A(re){if(t(7,C=re.title?re.title:""),!!se.isObject(re.settings))for(let Ee in re.settings){let Se=re.settings[Ee];Se.type==="enum"?Array.isArray(Se.options)||console.error(`There is no options array for '${Ee}' defined in the Luigi userSettings config.`):Se.type===void 0&&console.error(`There is no data type defined for '${Ee}' in the Luigi userSettings config.`)}}function N(re,Ee){t(11,o=re);let Se=re[0],de=re[1];if(A(de),Ee?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ce=>{ce.classList.remove("is-selected")}),tp(Ee.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),de.viewUrl){if(cr.hideUserSettingsIframe(),m.hasOwnProperty(Se))cr.getUserSettingsIframesInDom().forEach(Y=>{Y.userSettingsGroup===Se&&(Y.style.display="block")});else{const Y=jr.hasDecorators()?jr.applyDecorators(de.viewUrl):de.viewUrl;let ce=cr.createIframe(Y,Se);m[Se]=ce}bk()}else vk()}const D=re=>{t(0,c=re.detail.userSettings)};function E(){ae.storeUserSettings(c,h).then(()=>{a("close")}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&a("close")})}function V(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function O(re){return ye.renderIconClassName(re)}function W(re){return ye.isOpenUIiconName(re.icon)}let K;const X=()=>{const re=window.innerWidth>=xt.desktopMinWidth&&K<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&K>=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"),re&&(document.querySelector(".confirm-button").style.display="block"),!K){let Se=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?Se.style.display="none":Se.style.display="block"}K=window.innerWidth};function ne(re,Ee){let Se=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(re.keyCode===vi||re.keyCode===Yr)&&Se[Ee].click(),re.keyCode===tk&&Se[Object.keys(r).length-1].focus(),re.keyCode===ek&&Se[0].focus()}function Pe(re){re.keyCode===bi&&y?P():re.keyCode===bi&&!y&&a("close")}const ee=re=>N(re,event),z=(re,Ee)=>ne(Ee,[re]);function oe(re){P=re,t(9,P)}function ie(re){y=re,t(8,y)}const j=()=>E(),Le=()=>a("close");return i.$$set=re=>{"schemaObj"in re&&t(21,l=re.schemaObj),"userSettingGroups"in re&&t(1,r=re.userSettingGroups),"storedUserSettings"in re&&t(0,c=re.storedUserSettings)},[c,r,ne,Pe,_,p,b,C,y,P,n,o,a,d,N,D,E,U,O,W,X,l,ee,z,oe,ie,j,Le]}class kk extends Ot{constructor(e){super(),Mt(this,e,wk,mk,At,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=Hi;function Ck(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){L(t,e,n)},p:qe,d(t){t&&T(e)}}}function yk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=le(t,"click",Ut(Lt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ie(a,r)},d(h){h&&T(e),h&&T(n),h&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=q(),n=S("div"),l=S("div"),r=q(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[le(a,"click",Ut(Lt(i[3]))),le(n,"mousedown",Ut(i[6]))],o=!0)},p:qe,d(h){h&&T(e),h&&T(t),h&&T(n),o=!1,$e(c)}}}function Pk(i){let e,t,n,l,r,a,o,c,h,d;t=new Bl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,C){return v[0]?yk:Ck}let p=_(i),b=p(i),m=!i[0]&&wc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),b.c(),a=q(),m&&m.c(),o=ve(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,C){L(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=le(Sk,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&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,C):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t),b.d(),v&&T(a),m&&m.d(v),v&&T(o),h=!1,d()}}}function Nk(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,N=_t("getUnsavedChangesModalPromise");const D=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:z=>{z&&Object.getOwnPropertyNames(z).forEach(oe=>{oe==="splitViewSettings"?t(1,C=z.splitViewSettings):oe==="lastNode"?r=z.lastNode:oe==="pathData"?a=z.pathData:oe==="nodeParams"?o=z.nodeParams:oe==="collapsed"?t(0,v=z.collapsed):oe==="isDataPrepared"?t(8,y=z.isDataPrepared):oe==="currentNode"?c=z.currentNode:oe==="splitViewIframe"?d=z.splitViewIframe:oe==="splitViewIframeData"?_=z.splitViewIframeData:oe==="splitViewWC"?p=z.splitViewWC:oe==="splitViewWCData"&&(b=z.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||at.createAndSetView(D()):await at.prepareSplitViewData(D(),m)},V=()=>{l.split=at.getContainer(),l.iframe=Re.getIframeContainer(),l.draggable=at.getDragger()},U=()=>{const z=at.getDraggerBackdrop();z&&(z.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${at.splitViewValues.top}px`),l.split.style.top=`${at.splitViewValues.top}px`,l.iframe.style.marginBottom=`${at.splitViewValues.bottom}px`};function O(z){if(!!Re.getValidMessageSource(z)&&(z.data.msg==="luigi.navigation.splitview.close"&&at.close(D()),z.data.msg==="luigi.navigation.splitview.collapse"&&W(),z.data.msg==="luigi.navigation.splitview.expand"&&K(),z.data.msg==="luigi.navigation.splitview.resize")){const oe=parseInt(z.data.data);if(at.calculateAndSetSplitViewValues(oe,at.internalValues),v)return;U(),at.sendMessageToClients("resize.ok",at.splitViewValues.percent)}}Yt(()=>{X(),h=O.bind(this),Vn.addEventListener("message",h)}),fs(()=>{E(),A!==y&&!v&&(A=y,U())}),Qr(()=>{window.removeEventListener("message",h)});function W(){at.collapse(D())}async function K(){await at.expand(D()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const z=se.getShellbarHeight();at.internalValues.innerHeight=se.getInnerHeight(),at.internalValues.rightContentHeight=at.internalValues.innerHeight-z,at.internalValues.thresholdBottom=30,at.internalValues.thresholdTop=z+30,at.calculateAndSetSplitViewValues(at.splitViewValues.percent,at.internalValues),v||U()}function ne(z){let oe=z.y,ie={};const j=function(de){const Y=oe-de.y,ce=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ce)||Y===0)return;const te=ce-Y,We=at.internalValues.innerHeight-te,Ge=at.enforceTresholds(te,We);te<Ge.top||We<Ge.bottom||(ie=Ge,oe=de.y,l.draggable.style.top=`${ie.top}px`)},Le=function(){if(re(),!ie.top||!ie.bottom||ie.top==at.internalValues.m_pos_prev){at.getDraggerBackdrop().style.display="none";return}at.internalValues.m_pos_prev=ie.top,at.splitViewValues=ie,U(),at.sendMessageToClients("resize.ok",ie.percent)},re=function(){document.removeEventListener("mouseup",Le),document.removeEventListener("mousemove",j)},Ee=function(){document.addEventListener("mouseup",Le),document.addEventListener("mousemove",j)};V(),re(),Ee(),at.getDraggerBackdrop().style.display="block"}const Pe=z=>{let oe=at.getDraggerButton();oe&&(oe.style.display=z?"block":"none"),oe=at.getCollapsedDraggerButton(),oe&&(oe.style.display=z?"block":"none")},ee=z=>{Pe(!z.detail||z.detail.backdropActive!==!0)};return i.$$set=z=>{"nodepath"in z&&t(9,m=z.nodepath),"collapsed"in z&&t(0,v=z.collapsed),"splitViewSettings"in z&&t(1,C=z.splitViewSettings),"isDataPrepared"in z&&t(8,y=z.isDataPrepared),"disableBackdrop"in z&&t(2,P=z.disableBackdrop)},[v,C,P,W,K,X,ne,ee,y,m]}class np extends Ot{constructor(e){super(),Mt(this,e,Nk,Pk,At,{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 kc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Lk,then:Tk,catch:Ik,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=ve(),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())&&is(t,n)||z_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Ik(i){return{c:qe,m:qe,p:qe,d:qe}}function Tk(i){let e,t=i[1]>0&&Sc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Sc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-i2n6n9"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ie(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Lk(i){return{c:qe,m:qe,p:qe,d:qe}}function Ak(i){let e,t=i[0]&&i[0].badgeCounter&&kc(i);return{c(){t&&t.c(),e=ve()},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=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Rk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class gn extends Ot{constructor(e){super(),Mt(this,e,Rk,Ak,At,{node:0})}}function Cc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Ek(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Cc(i);return{c(){t&&t.c(),e=ve()},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=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Dk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class Wn extends Ot{constructor(e){super(),Mt(this,e,Dk,Ek,At,{node:0})}}const{window:xa}=Hi;function yc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Pc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[82]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Ac(i,e,t){const n=i.slice();return n[82]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[82]=e[t],n}function Vk(i){let e,t,n,l,r,a,o,c,h,d,_=i[12]&&Dc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Oc(i),b=(i[2]||i[3])&&sd(i);return{c(){e=S("div"),_&&_.c(),t=q(),n=S("nav"),l=S("div"),p&&p.c(),r=q(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-128n3rz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-128n3rz")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=le(n,"keyup",i[18]),h=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Dc(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&&R(p,1)):(p=Oc(m),p.c(),R(p,1),p.m(l,null)):p&&(we(),B(p,1,1,()=>{p=null}),ke()),m[2]||m[3]?b?b.p(m,v):(b=sd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-128n3rz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){B(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Mk(i){let e,t,n,l,r,a,o=i[12]&&ud(i),c=i[0]&&i[5].length>1&&dd(i);return{c(){e=S("div"),o&&o.c(),t=q(),c&&c.c(),n=q(),l=S("div"),l.innerHTML=`<ul class="fd-navigation__list" role="tree" aria-roledescription="Navigation List Tree" tabindex="-1"><li class="fd-navigation__list-item" aria-hidden="true"><div class="fd-navigation__item" aria-level="1" role="treeitem" title="Help" aria-roledescription="Navigation List Tree Item" aria-selected="false" aria-expanded="false"><a class="fd-navigation__link svelte-128n3rz" role="link" tabindex="-1" href="#"><span class="fd-navigation__icon sap-icon--sys-help" role="presentation" aria-hidden="true"></span>
54
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ok(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y=(i[6]||i[5]&&i[0].header)&&Jf(i),P=i[5]&&Yf(i),A=i[4]&&Qf();return{c(){e=S("div"),t=S("div"),y&&y.c(),n=q(),l=S("div"),P&&P.c(),r=q(),a=S("div"),h=q(),A&&A.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(N,D){L(N,e,D),w(e,t),y&&y.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,a),w(t,h),A&&A.m(t,null),m=!0,v||(C=le(sk,"keydown",i[3]),v=!0)},p(N,[D]){N[6]||N[5]&&N[0].header?y?(y.p(N,D),D&97&&R(y,1)):(y=Jf(N),y.c(),R(y,1),y.m(t,n)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),N[5]?P?(P.p(N,D),D&32&&R(P,1)):(P=Yf(N),P.c(),R(P,1),P.m(l,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),(!m||D&32&&o!==(o="iframeModalCtn "+(N[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(a,"class",o),(!m||D&34&&c!==(c=N[5]?void 0:N[1]))&&f(a,"modal-container-index",c),N[4]?A||(A=Qf(),A.c(),A.m(t,null)):A&&(A.d(1),A=null),(!m||D&35&&d!==(d="fd-dialog__content "+(N[5]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-k9bftu"))&&f(t,"class",d),(!m||D&64&&_!==(_=N[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||D&97&&p!==(p=ei(N[6]||N[5]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!m||D&64&&b!==(b=N[6]?"z-index:1001":""))&&f(e,"style",b)},i(N){m||(R(y),R(P),m=!0)},o(N){B(y),B(P),m=!1},d(N){N&&T(e),y&&y.d(),P&&P.d(),A&&A.d(),v=!1,C()}}}function uk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=zt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,N,D=_t("store");const E=z=>ye.getNodeLabel(z),V=async z=>{const oe=z&&z.length?se.getPathWithoutHash(z):"",ie=be.parseParams(oe.split("?")[1]);b=be.getNodeParams(ie);const j=await Ft.extractDataFromPath(z);_=j.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),N=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(6,A=!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),d("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=j.pathData,t(8,a=!0)},U=async z=>{if(!(m||v))if(a)if(_.webcomponent)t(4,C=!1),P?await K():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(N),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(N),modalWCData:{...p,nodeParams:b}}),v=!0;else{const oe=await W(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:oe,modalIframeData:{...p,nodeParams:b}}),m=!0}else await V(z)},O=async()=>{let z,oe;const ie=document.querySelector(".lui-modal-index-"+c),{size:j,width:Le,height:re}=r,Ee=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ie.classList.remove("lui-modal-fullscreen"),Le&&Le.match(Ee)&&re&&re.match(Ee))z=re,oe=Le;else switch(j){case"fullscreen":z="100vh",oe="100vw",ie.classList.add("lui-modal-fullscreen");break;case"m":z="80%",oe="60%";break;case"s":z="80%",oe="40%";break;default:z="80%",oe="80%"}ie.setAttribute("style",`width:${oe};height:${z};`)},W=async(z,oe)=>{P?await K():await O(),z&&(z=be.substituteViewUrl(z,oe));const ie=await Re.createIframe(z,void 0,_,"modal",oe);return document.querySelector(N).appendChild(ie),ie};async function K(z){let oe="";const ie=document.getElementsByClassName("drawer"),j=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?oe="width:75%;":r.size==="m"?oe="width:50%;":r.size==="s"?oe="width:25%;":r.size==="xs"&&(oe="width:15.5%;")),r.backdrop?ie[0].setAttribute("style",oe):(j[0].setAttribute("style",oe),ie[0].setAttribute("style","width:100%"))}fs(()=>{U(o)});const X=async z=>{z.data.msg==="luigi.show-loading-indicator"&&t(4,C=!0),z.data.msg==="luigi.hide-loading-indicator"&&t(4,C=!1),z.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&Pe()),z.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),z.data.msg==="luigi.navigation.updateModalSettings"&&((z.data.updatedModalSettings.title||z.data.updatedModalSettings.title==="")&&t(0,r.title=z.data.updatedModalSettings.title,r),z.data.updatedModalSettings.size&&(t(0,r.size=z.data.updatedModalSettings.size,r),await O()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&nt.updateModalDataInUrl(be.getModalPathFromPath(),{title:r.title,size:r.size},z.data.addHistoryEntry))};Yt(()=>{un.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Vn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Re.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var z;!y&&!_.webcomponent&&((z=_.loadingIndicator)==null?void 0:z.enabled)!==!1&&t(4,C=!0)},250)}),Qr(()=>{Vn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Re.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ne(z){z.keyCode===bi&&d("close")}function Pe(){let z;A?z=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):z=document.querySelector(".drawer .spinnerContainer"),z&&z.classList.contains("fade-out")&&(z.classList.remove("fade-out"),setTimeout(()=>{t(4,C=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=z=>{"settings"in z&&t(0,r=z.settings),"isDataPrepared"in z&&t(8,a=z.isDataPrepared),"nodepath"in z&&t(9,o=z.nodepath),"modalIndex"in z&&t(1,c=z.modalIndex),"disableBackdrop"in z&&t(2,h=z.disableBackdrop),"$$scope"in z&&t(10,l=z.$$scope)},[r,c,h,ne,C,P,A,d,a,o,l,n,ee]}class ep extends Ot{constructor(e){super(),Mt(this,e,uk,ok,At,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Zf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Xf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function $f(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ve()},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=S("div"),t=S("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,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[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,a):(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),st(l,r)}}}function tc(i){let e;function t(r,a){return r[29].isEditable||r[29].isEditable===void 0?ck:fk}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function fk(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ie(n,t),a[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function ck(i){let e,t,n,l,r;function a(){i[18].call(e,i[28])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Uf(e,i[0][i[1][0]][i[28]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,h,d,_,p,b,m,v=Array.isArray(i[29].options),C,y;function P(...D){return i[19](i[28],i[31],i[29],...D)}function A(){return i[20](i[29])}let N=v&&ic(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=q(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=q(),m=S("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[31]),f(a,"disabled",h=!(i[29].isEditable===void 0||i[29].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-1tiapr5"),f(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[le(r,"keydown",P),le(n,"click",Ut(A))],C=!0)},p(D,E){i=D,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ie(c,o),E[0]&2&&h!==(h=!(i[29].isEditable===void 0||i[29].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[29].options)),v?N?N.p(i,E):(N=ic(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(D){D&&T(e),N&&N.d(),C=!1,$e(y)}}}function ic(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let a;for(a=0;a<t.length;a+=1){const o=$f(l,t,a);n[a]?n[a].p(o,r):(n[a]=lc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function lc(i){let e,t,n=i[12](i[32])+"",l,r,a,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=S("li"),t=S("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[31]+"_"+i[34]),f(e,"tabindex","0"),Dn(e,"is-selected",i[4]===i[34]),Dn(e,"is-focus",i[4]===i[34])},m(h,d){L(h,e,d),w(e,t),w(t,l),w(e,r),a||(o=[le(e,"click",c),le(e,"keydown",i[22])],a=!0)},p(h,d){i=h,d[0]&2&&n!==(n=i[12](i[32])+"")&&Ie(l,n),d[0]&16&&Dn(e,"is-selected",i[4]===i[34]),d[0]&16&&Dn(e,"is-focus",i[4]===i[34])},d(h){h&&T(e),a=!1,$e(o)}}}function rc(i){let e,t,n,l=i[29].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=ac(Xf(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[29].options;let c;for(c=0;c<l.length;c+=1){const h=Xf(a,l,c);r[c]?r[c].p(h,o):(r[c]=ac(h),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-"+a[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(a){a&&T(e),st(r,a)}}}function ac(i){let e,t=i[12](i[32])+"",n,l,r,a,o,c,h,d;function _(){return i[23](i[28],i[32])}return{c(){e=S("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[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=le(e,"click",_),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Ie(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function sc(i){let e,t,n,l,r,a,o,c,h,d;function _(){i[24].call(n,i[28])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=q(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,a),w(t,o),h||(d=le(n,"change",_),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function oc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(a){a&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[29].label)+"",r,a,o,c,h,d,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,m,v=i[29].type==="string"&&tc(i),C=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&nc(i),y=_&&rc(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&sc(i),A=i[29].type==="boolean"&&i[29].style==="checkbox"&&oc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=q(),c=S("div"),v&&v.c(),h=q(),C&&C.c(),d=q(),y&&y.c(),p=q(),P&&P.c(),b=q(),A&&A.c(),m=q(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(N,D){L(N,e,D),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),A&&A.m(c,null),w(e,m)},p(N,D){D[0]&34&&l!==(l=N[5](N[29].label)+"")&&Ie(r,l),N[29].type==="string"?v?v.p(N,D):(v=tc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[29].type==="enum"&&(N[29].style===void 0||N[29].style==="list")?C?C.p(N,D):(C=nc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),D[0]&2&&(_=N[29].type==="enum"&&N[29].style==="button"&&Array.isArray(N[29].options)),_?y?y.p(N,D):(y=rc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[29].type==="boolean"&&(!N[29].style||N[29].style==="switch")?P?P.p(N,D):(P=sc(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[29].type==="boolean"&&N[29].style==="checkbox"?A?A.p(N,D):(A=oc(N),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&T(e),l&&l.d(),t=!1,$e(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function hk(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:a}=e;const o=zt();let c=_t("getTranslation");wi(i,c,ee=>t(5,n=ee));let h,{isComboOpen:d}=e;function _(){o("updateSettingsObject",{storedUserSettingData:a})}const p=()=>{b()};function b(ee){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(z=>{v(z,!1)})}function m(ee,z){let oe=ns(ee.target,".fd-popover__control",20),ie=oe.getAttribute("aria-expanded")==="true";(z||z===void 0)&&(b(),v(oe,!ie))}function v(ee,z){const oe=ee.querySelector(".lui-activate-dropdown"),ie=ee.parentNode.querySelector(".fd-popover__body"),j=ee.parentNode.querySelector(".fd-select__control");ee.setAttribute("aria-expanded",z),ie.setAttribute("aria-hidden",!z),j.setAttribute("aria-expanded",z),oe.setAttribute("aria-expanded",z),t(14,d=z)}function C(ee,z,oe){t(4,h=oe),t(0,a[l[0]][ee]=z.value||z,a)}function y(ee,z){document.querySelectorAll(".enum-buttons-container-"+ee+" button").forEach(oe=>{const ie=oe.getAttribute("id"),j=`lui-us-enum_button_${ee}_option`;ie===j?oe.classList.add("fd-button--emphasized"):oe.classList.remove("fd-button--emphasized")}),t(0,a[l[0]][ee]=z.value||z,a)}function P(ee,z){let oe;if(Array.isArray(z)){for(let ie=0;ie<z.length;ie++)if(se.isObject(z[ie])){if(z[ie].value&&z[ie].value===ee){oe=z[ie].label,t(4,h=ie);break}}else{oe=ee,t(4,h=z.indexOf(ee));break}return n(oe)}}function A(ee){return n(se.isObject(ee)?ee.label:ee)}function N(ee,z,oe){return se.isObject(oe)?`${ee}_${z}_${oe.value}`:`${ee}_${z}_${oe}`}function D(ee,z,oe,ie){let j=ns(ee.target,".lui-anchor-node",20);const Le=document.getElementById(`fd-form-input-dropdown-${oe}`).children;let re=-1;if([...Le].forEach((Ee,Se)=>{Ee.classList.contains("is-focus")&&(re=Se)}),d){if(ee.keyCode===Fl&&ee.altKey&&(j.click(),j.focus()),ee.keyCode===Bi&&!ee.altKey){if(re===-1){re=0,Le.item(re).classList.add("is-focus");return}re<ie.options.length-1&&(Le.item(re).classList.remove("is-focus"),re+=1,Le.item(re).classList.add("is-focus"))}if(ee.keyCode===Fl&&!ee.altKey){if(re===-1){re=re.length-1,Le.item(re).classList.add("is-focus");return}re>0&&re<ie.options.length&&(Le.item(re).classList.remove("is-focus"),re-=1,Le.item(re).classList.add("is-focus"))}(ee.keyCode===vi||ee.keyCode===Yr)&&C(z,ie.options[re],re)}else j.focus(),ee.keyCode===Bi&&ee.altKey&&j.click(),ee.keyCode===Bi&&!ee.altKey&&re<ie.options.length-1&&C(z,ie.options[re+1],re+1),ee.keyCode===Fl&&!ee.altKey&&re>0&&re<ie.options.length&&C(z,ie.options[re-1],re-1)}function E(ee){if(d){let z=ns(ee.target,".fd-popover",20);z.blur(),(ee.keyCode===Yr||ee.keyCode===vi)&&(ee.target.click(),b(),setTimeout(()=>{z.focus()},0))}}P();function V(ee){a[l[0]][ee]=this.value,t(0,a)}const U=(ee,z,oe,ie)=>D(ie,ee,z,oe),O=ee=>m(event,ee.isEditable),W=(ee,z,oe)=>C(ee,z,oe),K=ee=>E(ee),X=(ee,z)=>y(ee,z);function ne(ee){a[l[0]][ee]=this.checked,t(0,a)}function Pe(ee){a[l[0]][ee]=this.checked,t(0,a)}return i.$$set=ee=>{"userSettingGroup"in ee&&t(1,l=ee.userSettingGroup),"userSettingsGroupKey"in ee&&t(15,r=ee.userSettingsGroupKey),"storedUserSettingData"in ee&&t(0,a=ee.storedUserSettingData),"isComboOpen"in ee&&t(14,d=ee.isComboOpen)},[a,l,D,E,h,n,c,b,m,C,y,P,A,N,d,r,_,p,V,U,O,W,K,X,ne,Pe]}class gk extends Ot{constructor(e){super(),Mt(this,e,hk,dk,At,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=Hi;function cc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function dc(i,e,t){const n=i.slice();return n[38]=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[38][1])),e?pk:_k}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=q(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&T(t),o&&T(n)}}}function _k(i){let e,t,n,l,r,a=i[38][1].initials&&gc(i);return{c(){e=S("span"),l=q(),a&&a.c(),r=ve(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Pn(e,"background-image","url('"+i[38][1].icon+"')"),Pn(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Pn(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=gc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&T(e),o&&T(l),a&&a.d(o),o&&T(r)}}}function pk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=ei(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function _c(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,m,v=i[38][1].icon&&hc(i);function C(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=q(),l=S("div"),r=S("div"),o=Ne(a),c=q(),h=S("div"),_=Ne(d),p=q(),f(r,"class","fd-list__title"),f(h,"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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,_),w(e,p),b||(m=[le(e,"click",Lt(C)),le(e,"keydown",y)],b=!0)},p(P,A){i=P,i[38][1].icon?v?v.p(i,A):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ie(o,a),A[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ie(_,d)},d(P){P&&T(e),v&&v.d(),b=!1,$e(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=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=dc(l,t,a);n[a]?n[a].p(o,r):(n[a]=_c(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[24](c)}function a(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new gk({props:o}),Xe.push(()=>ft(e,"closeDropDown",r)),Xe.push(()=>ft(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,h){Oe(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],ut(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],ut(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function mk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,_,p,b,m,v,C,y,P=i[10](i[7])+"",A,N,D,E,V,U,O,W,K,X,ne,Pe=i[10](i[5])+"",ee,z,oe,ie,j=i[10](i[6])+"",Le,re,Ee,Se,de=Object.entries(i[1]),Y=[];for(let te=0;te<de.length;te+=1)Y[te]=pc(cc(i,de,te));let ce=i[11]&&mc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=q(),_=S("div"),p=S("ul");for(let te=0;te<Y.length;te+=1)Y[te].c();b=q(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=q(),y=S("h2"),A=Ne(P),N=q(),D=S("div"),E=S("div"),ce&&ce.c(),V=q(),U=S("div"),O=q(),W=S("footer"),K=S("div"),X=S("div"),ne=S("button"),ee=Ne(Pe),z=q(),oe=S("div"),ie=S("button"),Le=Ne(j),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-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(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(D,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(ne,"data-testid","lui-us-saveBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(ie,"data-testid","lui-us-dismissBtn"),f(ie,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(oe,"class","fd-bar__element"),f(K,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-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(te,We){L(te,e,We),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,_),w(_,p);for(let Ge=0;Ge<Y.length;Ge+=1)Y[Ge].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,A),w(n,N),w(n,D),w(D,E),ce&&ce.m(E,null),w(D,V),w(D,U),w(t,O),w(t,W),w(W,K),w(K,X),w(X,ne),w(ne,ee),w(K,z),w(K,oe),w(oe,ie),w(ie,Le),re=!0,Ee||(Se=[le(fc,"resize",i[20]),le(fc,"keydown",i[3]),le(v,"click",i[17]),le(ne,"click",i[26]),le(ie,"click",i[27])],Ee=!0)},p(te,We){if((!re||We[0]&1040)&&c!==(c=te[10](te[4])+"")&&Ie(h,c),We[0]&803846){de=Object.entries(te[1]);let Ge;for(Ge=0;Ge<de.length;Ge+=1){const _e=cc(te,de,Ge);Y[Ge]?Y[Ge].p(_e,We):(Y[Ge]=pc(_e),Y[Ge].c(),Y[Ge].m(p,null))}for(;Ge<Y.length;Ge+=1)Y[Ge].d(1);Y.length=de.length}(!re||We[0]&1152)&&P!==(P=te[10](te[7])+"")&&Ie(A,P),te[11]?ce?(ce.p(te,We),We[0]&2048&&R(ce,1)):(ce=mc(te),ce.c(),R(ce,1),ce.m(E,null)):ce&&(we(),B(ce,1,1,()=>{ce=null}),ke()),(!re||We[0]&1056)&&Pe!==(Pe=te[10](te[5])+"")&&Ie(ee,Pe),(!re||We[0]&1088)&&j!==(j=te[10](te[6])+"")&&Ie(Le,j)},i(te){re||(R(ce),re=!0)},o(te){B(ce),re=!1},d(te){te&&T(e),st(Y,te),ce&&ce.d(),Ee=!1,$e(Se)}}}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 bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function tp(i,e,t){if(i&&t>0)return i.matches(e)?i:tp(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 wk(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const a=zt();let o,{storedUserSettings:c={}}=e,h={},d=_t("getTranslation");wi(i,d,re=>t(10,n=re));let _=fl.userSettingsDialog.dialogHeader,p=fl.userSettingsDialog.saveBtn,b=fl.userSettingsDialog.dismissBtn,m={},v,C,y,P;Qr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const re=ae.getConfigValue("userSettings.userSettingsDialog"),Ee=re||ae.getConfigValue("settings.userSettings.userSettingsDialog");Ee&&(t(4,_=Ee.dialogHeader?Ee.dialogHeader:_),t(5,p=Ee.saveBtn?Ee.saveBtn:p),t(6,b=Ee.dismissBtn?Ee.dismissBtn:b)),v=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Vn.addEventListener("message",Se=>{const de=Re.getValidMessageSource(Se);if(!de||Se.data.msg!=="custom")return;de._ready=!0;const Y=rs.convertCustomMessageInternalToUser(Se.data),ce="luigi.updateUserSettings";if(Y.id===ce){const te=cr.findActiveCustomUserSettingsIframe(Se.source);if(te){let We=te.getAttribute("userSettingsGroup");t(0,c[We]=Y.data,c)}}Y.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&U()}),ae.readUserSettings().then(Se=>{h=JSON.parse(JSON.stringify(Se)),Se===null?t(0,c=bc(JSON.parse(JSON.stringify(r)),{})):t(0,c=bc(JSON.parse(JSON.stringify(r)),Se)),N([v,r[0][v]])}).catch(Se=>{Se&&Se.message&&console.error(Se.message),Se&&Se.closeDialog&&a("close")}),Re.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function A(re){if(t(7,C=re.title?re.title:""),!!se.isObject(re.settings))for(let Ee in re.settings){let Se=re.settings[Ee];Se.type==="enum"?Array.isArray(Se.options)||console.error(`There is no options array for '${Ee}' defined in the Luigi userSettings config.`):Se.type===void 0&&console.error(`There is no data type defined for '${Ee}' in the Luigi userSettings config.`)}}function N(re,Ee){t(11,o=re);let Se=re[0],de=re[1];if(A(de),Ee?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ce=>{ce.classList.remove("is-selected")}),tp(Ee.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),de.viewUrl){if(cr.hideUserSettingsIframe(),m.hasOwnProperty(Se))cr.getUserSettingsIframesInDom().forEach(Y=>{Y.userSettingsGroup===Se&&(Y.style.display="block")});else{const Y=jr.hasDecorators()?jr.applyDecorators(de.viewUrl):de.viewUrl;let ce=cr.createIframe(Y,Se);m[Se]=ce}bk()}else vk()}const D=re=>{t(0,c=re.detail.userSettings)};function E(){ae.storeUserSettings(c,h).then(()=>{a("close")}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&a("close")})}function V(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function O(re){return ye.renderIconClassName(re)}function W(re){return ye.isOpenUIiconName(re.icon)}let K;const X=()=>{const re=window.innerWidth>=xt.desktopMinWidth&&K<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&K>=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"),re&&(document.querySelector(".confirm-button").style.display="block"),!K){let Se=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?Se.style.display="none":Se.style.display="block"}K=window.innerWidth};function ne(re,Ee){let Se=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(re.keyCode===vi||re.keyCode===Yr)&&Se[Ee].click(),re.keyCode===tk&&Se[Object.keys(r).length-1].focus(),re.keyCode===ek&&Se[0].focus()}function Pe(re){re.keyCode===bi&&y?P():re.keyCode===bi&&!y&&a("close")}const ee=re=>N(re,event),z=(re,Ee)=>ne(Ee,[re]);function oe(re){P=re,t(9,P)}function ie(re){y=re,t(8,y)}const j=()=>E(),Le=()=>a("close");return i.$$set=re=>{"schemaObj"in re&&t(21,l=re.schemaObj),"userSettingGroups"in re&&t(1,r=re.userSettingGroups),"storedUserSettings"in re&&t(0,c=re.storedUserSettings)},[c,r,ne,Pe,_,p,b,C,y,P,n,o,a,d,N,D,E,U,O,W,X,l,ee,z,oe,ie,j,Le]}class kk extends Ot{constructor(e){super(),Mt(this,e,wk,mk,At,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=Hi;function Ck(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){L(t,e,n)},p:qe,d(t){t&&T(e)}}}function yk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=le(t,"click",Ut(Lt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ie(a,r)},d(h){h&&T(e),h&&T(n),h&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=q(),n=S("div"),l=S("div"),r=q(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[le(a,"click",Ut(Lt(i[3]))),le(n,"mousedown",Ut(i[6]))],o=!0)},p:qe,d(h){h&&T(e),h&&T(t),h&&T(n),o=!1,$e(c)}}}function Pk(i){let e,t,n,l,r,a,o,c,h,d;t=new Bl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,C){return v[0]?yk:Ck}let p=_(i),b=p(i),m=!i[0]&&wc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),b.c(),a=q(),m&&m.c(),o=ve(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,C){L(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=le(Sk,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&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,C):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t),b.d(),v&&T(a),m&&m.d(v),v&&T(o),h=!1,d()}}}function Nk(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,N=_t("getUnsavedChangesModalPromise");const D=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:z=>{z&&Object.getOwnPropertyNames(z).forEach(oe=>{oe==="splitViewSettings"?t(1,C=z.splitViewSettings):oe==="lastNode"?r=z.lastNode:oe==="pathData"?a=z.pathData:oe==="nodeParams"?o=z.nodeParams:oe==="collapsed"?t(0,v=z.collapsed):oe==="isDataPrepared"?t(8,y=z.isDataPrepared):oe==="currentNode"?c=z.currentNode:oe==="splitViewIframe"?d=z.splitViewIframe:oe==="splitViewIframeData"?_=z.splitViewIframeData:oe==="splitViewWC"?p=z.splitViewWC:oe==="splitViewWCData"&&(b=z.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||at.createAndSetView(D()):await at.prepareSplitViewData(D(),m)},V=()=>{l.split=at.getContainer(),l.iframe=Re.getIframeContainer(),l.draggable=at.getDragger()},U=()=>{const z=at.getDraggerBackdrop();z&&(z.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${at.splitViewValues.top}px`),l.split.style.top=`${at.splitViewValues.top}px`,l.iframe.style.marginBottom=`${at.splitViewValues.bottom}px`};function O(z){if(!!Re.getValidMessageSource(z)&&(z.data.msg==="luigi.navigation.splitview.close"&&at.close(D()),z.data.msg==="luigi.navigation.splitview.collapse"&&W(),z.data.msg==="luigi.navigation.splitview.expand"&&K(),z.data.msg==="luigi.navigation.splitview.resize")){const oe=parseInt(z.data.data);if(at.calculateAndSetSplitViewValues(oe,at.internalValues),v)return;U(),at.sendMessageToClients("resize.ok",at.splitViewValues.percent)}}Yt(()=>{X(),h=O.bind(this),Vn.addEventListener("message",h)}),fs(()=>{E(),A!==y&&!v&&(A=y,U())}),Qr(()=>{window.removeEventListener("message",h)});function W(){at.collapse(D())}async function K(){await at.expand(D()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const z=se.getShellbarHeight();at.internalValues.innerHeight=se.getInnerHeight(),at.internalValues.rightContentHeight=at.internalValues.innerHeight-z,at.internalValues.thresholdBottom=30,at.internalValues.thresholdTop=z+30,at.calculateAndSetSplitViewValues(at.splitViewValues.percent,at.internalValues),v||U()}function ne(z){let oe=z.y,ie={};const j=function(de){const Y=oe-de.y,ce=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ce)||Y===0)return;const te=ce-Y,We=at.internalValues.innerHeight-te,Ge=at.enforceTresholds(te,We);te<Ge.top||We<Ge.bottom||(ie=Ge,oe=de.y,l.draggable.style.top=`${ie.top}px`)},Le=function(){if(re(),!ie.top||!ie.bottom||ie.top==at.internalValues.m_pos_prev){at.getDraggerBackdrop().style.display="none";return}at.internalValues.m_pos_prev=ie.top,at.splitViewValues=ie,U(),at.sendMessageToClients("resize.ok",ie.percent)},re=function(){document.removeEventListener("mouseup",Le),document.removeEventListener("mousemove",j)},Ee=function(){document.addEventListener("mouseup",Le),document.addEventListener("mousemove",j)};V(),re(),Ee(),at.getDraggerBackdrop().style.display="block"}const Pe=z=>{let oe=at.getDraggerButton();oe&&(oe.style.display=z?"block":"none"),oe=at.getCollapsedDraggerButton(),oe&&(oe.style.display=z?"block":"none")},ee=z=>{Pe(!z.detail||z.detail.backdropActive!==!0)};return i.$$set=z=>{"nodepath"in z&&t(9,m=z.nodepath),"collapsed"in z&&t(0,v=z.collapsed),"splitViewSettings"in z&&t(1,C=z.splitViewSettings),"isDataPrepared"in z&&t(8,y=z.isDataPrepared),"disableBackdrop"in z&&t(2,P=z.disableBackdrop)},[v,C,P,W,K,X,ne,ee,y,m]}class np extends Ot{constructor(e){super(),Mt(this,e,Nk,Pk,At,{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 kc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Lk,then:Tk,catch:Ik,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=ve(),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())&&is(t,n)||z_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Ik(i){return{c:qe,m:qe,p:qe,d:qe}}function Tk(i){let e,t=i[1]>0&&Sc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Sc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-i2n6n9"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ie(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Lk(i){return{c:qe,m:qe,p:qe,d:qe}}function Ak(i){let e,t=i[0]&&i[0].badgeCounter&&kc(i);return{c(){t&&t.c(),e=ve()},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=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Rk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class gn extends Ot{constructor(e){super(),Mt(this,e,Rk,Ak,At,{node:0})}}function Cc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Ek(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Cc(i);return{c(){t&&t.c(),e=ve()},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=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Dk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class Wn extends Ot{constructor(e){super(),Mt(this,e,Dk,Ek,At,{node:0})}}const{window:xa}=Hi;function yc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Pc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[82]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Ac(i,e,t){const n=i.slice();return n[82]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[82]=e[t],n}function Vk(i){let e,t,n,l,r,a,o,c,h,d,_=i[12]&&Dc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Oc(i),b=(i[2]||i[3])&&sd(i);return{c(){e=S("div"),_&&_.c(),t=q(),n=S("nav"),l=S("div"),p&&p.c(),r=q(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-128n3rz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-128n3rz")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=le(n,"keyup",i[18]),h=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Dc(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&&R(p,1)):(p=Oc(m),p.c(),R(p,1),p.m(l,null)):p&&(we(),B(p,1,1,()=>{p=null}),ke()),m[2]||m[3]?b?b.p(m,v):(b=sd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-128n3rz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){B(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Mk(i){let e,t,n,l,r,a,o=i[12]&&ud(i),c=i[0]&&i[5].length>1&&dd(i);return{c(){e=S("div"),o&&o.c(),t=q(),c&&c.c(),n=q(),l=S("div"),l.innerHTML=`<ul class="fd-navigation__list" role="tree" aria-roledescription="Navigation List Tree" tabindex="-1"><li class="fd-navigation__list-item" aria-hidden="true"><div class="fd-navigation__item" aria-level="1" role="treeitem" title="Help" aria-roledescription="Navigation List Tree Item" aria-selected="false" aria-expanded="false"><a class="fd-navigation__link svelte-128n3rz" role="link" tabindex="-1" href="#"><span class="fd-navigation__icon sap-icon--sys-help" role="presentation" aria-hidden="true"></span>
55
55
  <span class="fd-navigation__text">Help</span>
56
56
  <span class="fd-navigation__selection-indicator" aria-label="selection indicator"></span></a></div></li>
57
57
 
@@ -61,9 +61,9 @@ function print() { __p += __j.call(arguments, '') }
61
61
  <div class="fd-busy-indicator__circle"></div>
62
62
  <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 Uh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Eh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r&9150){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Eh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Bh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function _C(i){return{c:qe,m:qe,p:qe,d:qe}}function pC(i){let e,t,n,l,r;function a(d,_){return d[2]?bC:mC}let o=a(i),c=o(i);function h(){return i[17](i[21])}return{c(){e=S("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(d,_){L(d,e,_),c.m(e,null),L(d,n,_),l||(r=le(e,"click",h),l=!0)},p(d,_){i=d,o===(o=a(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(d){d&&T(e),c.d(),d&&T(n),l=!1,r()}}}function mC(i){let e,t,n=i[26]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",a="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(d,_){L(d,e,_),w(e,t),w(t,l),c||(h=le(e,"click",i[16]),c=!0)},p(d,_){_&138&&n!==(n=d[26]+"")&&Ie(l,n),_&264&&r!==(r=d[8](d[21]))&&f(e,"href",r),_&154&&a!==(a="fd-menu__link "+(d[26]===d[4]?"is-selected":""))&&f(e,"class",a),_&138&&o!==(o=d[26])&&f(e,"title",o)},d(d){d&&T(e),c=!1,h()}}}function bC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=ve(),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 vC(i){return{c:qe,m:qe,p:qe,d:qe}}function Bh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:vC,then:pC,catch:_C,value:26};return is(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ve(),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))&&is(t,n)||z_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Hh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Rh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&21249){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Rh(l,t,a);n[a]?n[a].p(o,r):(n[a]=zh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function Wh(i){let e,t,n,l=i[14](i[21].label)+"",r,a,o,c,h,d;function _(){return i[19](i[21])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[le(t,"click",i[18]),le(e,"click",_)],h=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),b&257&&a!==(a=i[8](i[21]))&&f(t,"href",a),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,$e(d)}}}function zh(i){let e,t=i[21].position==="bottom"&&Wh(i);return{c(){t&&t.c(),e=ve()},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=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 wC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Vh(i),c=i[3]&&i[3].length===0&&i[11]&&Fh(),h=i[3]&&i[3].length&&Uh(i),d=i[0]&&i[0].length&&Hh(i);return{c(){e=S("nav"),o&&o.c(),t=q(),n=S("ul"),c&&c.c(),l=q(),h&&h.c(),r=q(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){L(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=Vh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=Fh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?h?h.p(_,p):(h=Uh(_),h.c(),h.m(n,null)):h&&(h.d(1),h=null),_[0]&&_[0].length?d?d.p(_,p):(d=Hh(_),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",a)},i:qe,o:qe,d(_){_&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const kC=()=>{};function SC(i,e,t){let n,l=qe,r=()=>(l(),l=Vo(C,W=>t(14,n=W)),C);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTestId:v}=e,{getTranslation:C}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=zt();function A(W){P("onActionClick",{node:W})}function N(W,K){P("goToOption",{option:W,selectedOption:K})}const D=W=>A(W),E=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>N(W,_),U=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},O=W=>A(W);return i.$$set=W=>{"actions"in W&&t(0,a=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,h=W.options),"selectedLabel"in W&&t(4,d=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,b=W.getNodeName),"getRouteLink"in W&&t(8,m=W.getRouteLink),"getTestId"in W&&t(9,v=W.getTestId),"getTranslation"in W&&r(t(10,C=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,y=W.isContextSwitcherDropdownShown)},[a,o,c,h,d,_,p,b,m,v,C,y,A,N,n,D,E,V,U,O]}class op extends Ot{constructor(e){super(),Mt(this,e,SC,wC,At,{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 qh(i){let e,t,n,l=!i[9]&&Gh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Kh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(we(),B(l,1,1,()=>{l=null}),ke()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Gh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Kh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Gh(i){let e,t,n,l,r,a,o,c,h,d;function _(m,v){return m[18]&&m[2]!==m[5].defaultLabel?yC:CC}let p=_(i),b=p(i);return a=new op({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[10]),a.$on("goToOption",i[11]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=q(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Oe(a,r,null),c=!0,h||(d=le(n,"click",Ut(VC)),h=!0)},p(m,v){p===(p=_(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){B(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Fe(a),h=!1,d()}}}function CC(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?NC:PC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),h.m(e,null),r||(a=le(e,"click",i[31]),r=!0)},p(d,_){c===(c=o(d))&&h?h.p(d,_):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function yC(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?AC:LC}let c=o(i),h=c(i);return{c(){e=S("a"),h.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),h.m(e,null),r||(a=le(e,"click",Lt(i[30])),r=!0)},p(d,_){c===(c=o(d))&&h?h.p(d,_):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),_[0]&8192&&f(e,"href",d[13]),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function PC(i){let e,t;function n(a,o){return a[4]?IC:TC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&T(e),a&&T(t)}}}function NC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ve(),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 IC(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 TC(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 LC(i){let e,t;function n(a,o){return a[4]?RC:EC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&T(e),a&&T(t)}}}function AC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ve(),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 RC(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 Kh(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A=!i[4]&&Jh(i),N=i[4]&&jh(i);return d=new op({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[10]),d.$on("goToOption",i[11]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),A&&A.c(),o=q(),N&&N.c(),c=q(),h=S("div"),Ue(d.$$.fragment),_=q(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"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(h,"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(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),A&&A.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Oe(d,h,null),w(t,_),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[le(v,"click",i[12]),le(e,"click",Ut(MC))],y=!0)},p(D,E){D[4]?A&&(A.d(1),A=null):A?A.p(D,E):(A=Jh(D),A.c(),A.m(a,o)),D[4]?N?N.p(D,E):(N=jh(D),N.c(),N.m(a,null)):N&&(N.d(1),N=null);const V={};E[0]&1&&(V.actions=D[0]),E[0]&32&&(V.config=D[5]),E[0]&64&&(V.customOptionsRenderer=D[6]),E[0]&2&&(V.options=D[1]),E[0]&16&&(V.selectedLabel=D[4]),E[0]&4&&(V.selectedOption=D[2]),E[0]&512&&(V.isMobile=D[9]),E[0]&16384&&(V.isContextSwitcherDropdownShown=D[14]),d.$set(V)},i(D){C||(R(d.$$.fragment,D),C=!0)},o(D){B(d.$$.fragment,D),C=!1},d(D){D&&T(e),A&&A.d(),N&&N.d(),Fe(d),y=!1,$e(P)}}}function Jh(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 jh(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 DC(i){let e,t,n=i[3]&&qh(i);return{c(){n&&n.c(),e=ve()},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&&R(n,1)):(n=qh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}const VC=()=>{},MC=()=>{};function OC(i,e,t){let n,l;const r=zt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:A=!1}=e,{defaultLabel:N}=e,D,E=_t("getUnsavedChangesModalPromise"),V=_t("store"),U=_t("getTranslation");wi(i,U,de=>t(16,l=de));let O=!1,W,K,X;Yt(async()=>{un.doOnStoreChange(V,async()=>{const de=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!de),!!a&&(t(6,C=se.isFunction(de.customOptionsRenderer)?de.customOptionsRenderer:void 0),t(7,y=se.isFunction(de.customSelectedOptionRenderer)?de.customSelectedOptionRenderer:void 0),t(5,h=de),t(1,_=void 0),de)){t(29,p=de.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Y=nt.getCurrentPath();t(22,m=de.fallbackLabelResolver),hn.resetFallbackLabelCache(),de.lazyloadOptions||await z(),hn.isContextSwitcherDetailsView(Y,de.parentNodePath)&&await oe(Y)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(de=>oe(de)),Vn.addEventListener("message",de=>{!Re.getValidMessageSource(de)||de.data&&de.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),z())}),t(23,N=h.defaultLabel)}),zn(()=>{O!==A&&(O=A,z()),t(14,X=o.contextSwitcherPopover||!1)});function ne(de,Y,ce){return de?Promise.resolve(de):hn.getFallbackLabel(Y,ce)}function Pe(de){return de.testId?de.testId:ye.prepareForTests(de.pathSegment,de.label)}function ee(de){return be.getNodeHref(de,v)}async function z(){t(1,_=await hn.fetchOptions(_));const de=h||{},Y=de.parentNodePath,ce=de.fallbackLabelResolver,te=nt.getCurrentPath();t(2,b=await hn.getSelectedOption(te,_,Y)),t(4,c=await hn.getSelectedLabel(te,_,Y,ce)),t(13,W=await hn.getSelectedNode(te,_,Y)),D=de.preserveSubPathOnSwitch}async function oe(de){const Y=h||{},ce=Y.parentNodePath,te=Y.fallbackLabelResolver;t(2,b=await hn.getSelectedOption(de,_,ce)),t(4,c=await hn.getSelectedLabel(de,_,ce,te)),t(13,W=await hn.getSelectedNode(de,_,ce))}async function ie(de){let Y=de.detail.node;Y.clickHandler&&!await Y.clickHandler(Y)||(setTimeout(()=>{j(Y.link)}),P&&r("toggleDropdownState"))}function j(de){E().then(()=>{nt.navigateTo(de)},()=>{})}function Le(de){let Y=de.detail.option,ce=de.detail.selectedOption;E().then(()=>{D&&ce?nt.navigateTo(hn.getNodePathFromCurrentPath(Y,ce)):nt.navigateTo(Y.link),P&&r("toggleDropdownState")},()=>{})}function re(){r("toggleDropdownState");const de=o||{};JSON.parse(de.contextSwitcherPopover)&&z()}const Ee=()=>{n&&re()},Se=()=>{n&&re()};return i.$$set=de=>{"contextSwitcherEnabled"in de&&t(3,a=de.contextSwitcherEnabled),"dropDownStates"in de&&t(8,o=de.dropDownStates),"selectedLabel"in de&&t(4,c=de.selectedLabel),"config"in de&&t(5,h=de.config),"actions"in de&&t(0,d=de.actions),"options"in de&&t(1,_=de.options),"selectedOption"in de&&t(2,b=de.selectedOption),"fallbackLabelResolver"in de&&t(22,m=de.fallbackLabelResolver),"pathParams"in de&&t(24,v=de.pathParams),"customOptionsRenderer"in de&&t(6,C=de.customOptionsRenderer),"customSelectedOptionRenderer"in de&&t(7,y=de.customSelectedOptionRenderer),"isMobile"in de&&t(9,P=de.isMobile),"contextSwitcherToggle"in de&&t(25,A=de.contextSwitcherToggle),"defaultLabel"in de&&t(23,N=de.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||d&&d.length>0||_&&_.length>1||!b)},[d,_,b,a,c,h,C,y,o,P,ie,Le,re,W,X,n,l,U,K,ne,Pe,ee,m,N,v,A,z,oe,j,p,Ee,Se]}class up extends Ot{constructor(e){super(),Mt(this,e,OC,DC,At,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:FC}=Hi;function Yh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Qh(i){let e,t,n,l=!i[2]&&Zh(i),r=i[2]&&i[3].productSwitcherPopover&&tg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Zh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=tg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y;function P(V,U){return U&2&&(a=null),a==null&&(a=!!V[11](V[1])),a?BC:UC}let A=P(i,-1),N=A(i),D=i[0],E=[];for(let V=0;V<D.length;V+=1)E[V]=eg(Yh(i,D,V));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),N.c(),d=q(),_=S("div"),p=S("div"),b=S("ul");for(let V=0;V<E.length;V+=1)E[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-1e1qi56"),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(V,U){L(V,e,U),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(n,d),w(n,_),w(_,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[le(r,"click",Ut(i[7])),le(l,"click",Ut(jC))],C=!0)},p(V,U){if(A===(A=P(V,U))&&N?N.p(V,U):(N.d(1),N=A(V),N&&(N.c(),N.m(r,null))),U&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),U&2&&c!==(c=V[1].label)&&f(r,"title",c),U&2&&h!==(h=V[14](V[1]))&&f(r,"data-testid",h),U&64561){D=V[0];let O;for(O=0;O<D.length;O+=1){const W=Yh(V,D,O);E[O]?E[O].p(W,U):(E[O]=eg(W),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=D.length}U&512&&m!==(m=ei(V[9])+" svelte-1e1qi56")&&f(p,"class",m),U&8&&v!==(v=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(V){V&&T(e),N.d(),st(E,V),C=!1,$e(y)}}}function UC(i){let e,t,n;return{c(){e=S("img"),je(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&&!je(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 BC(i){let e,t;return{c(){e=S("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 Xh(i){let e,t,n,l,r,a;function o(_,p){return _[4]?WC:HC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.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),h.m(e,null),w(e,t),r||(a=le(e,"click",d),r=!0)},p(_,p){i=_,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.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),h.d(),r=!1,a()}}}function HC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?qC:zC}let _=d(i,-1),p=_(i),b=h&&$h(i);return{c(){e=S("div"),p.c(),n=q(),l=S("div"),r=S("div"),o=Ne(a),c=q(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){_===(_=d(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ie(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=$h(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&T(e),p.d(),m&&T(n),m&&T(l),b&&b.d()}}}function WC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),_,p,b;function m(P,A){return A&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?KC:GC}let v=m(i,-1),C=v(i),y=d&&xh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=q(),r=S("div"),a=S("div"),c=Ne(o),h=q(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,A){L(P,e,A),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=le(e,"click",i[16]),p=!0)},p(P,A){v===(v=m(P,A))&&C?C.p(P,A):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),A&1&&o!==(o=P[12](P[22])+"")&&Ie(c,o),A&1&&(d=P[13](P[22])),d?y?y.p(P,A):(y=xh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),A&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function zC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(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 qC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},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-1e1qi56")&&f(e,"class",t)},d(n){n&&T(e)}}}function $h(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function GC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(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 KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},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-1e1qi56")&&f(e,"class",t)},d(n){n&&T(e)}}}function xh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function eg(i){let e,t=i[22].label&&Xh(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Xh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function tg(i){let e,t;return e=new ap({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(){Ue(e.$$.fragment)},m(n,l){Oe(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||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function JC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Qh(i);return{c(){a&&a.c(),t=ve()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=le(FC,"resize",os),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Qh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(we(),B(a,1,1,()=>{a=null}),ke())},i(o){n||(R(a),n=!0)},o(o){B(a),n=!1},d(o){a&&a.d(o),o&&T(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const jC=()=>{};function YC(i,e,t){const n=zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=_t("store"),h=_t("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:_}=e;Yt(async()=>{un.doOnStoreChange(c,async()=>{t(1,a=ye.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),A()),os()},["navigation.productSwitcher"])});function p(U){h().then(()=>{nt.navigateToLink(U)},()=>{}),m()}function b(U){p(U.detail)}function m(){n("toggleDropdownState")}function v(U){return ye.renderIconClassName(U)}function C(U){return ye.isOpenUIiconName(U.icon)}function y(U){return vt.getTranslation(U.label)}function P(U){return vt.getTranslation(U.subTitle)}function A(){ye.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(U){return U.testId?U.testId:ye.prepareForTests(U.label)}function D(U){return be.getNodeHref(U)}const E=U=>{ye.handleNavAnchorClickedWithoutMetaKey(U)},V=U=>p(U);return i.$$set=U=>{"productSwitcherItems"in U&&t(0,l=U.productSwitcherItems),"isMobile"in U&&t(2,r=U.isMobile),"config"in U&&t(1,a=U.config),"dropDownStates"in U&&t(3,o=U.dropDownStates),"addNavHrefForAnchor"in U&&t(4,_=U.addNavHrefForAnchor)},[l,a,r,o,_,p,b,m,os,d,v,C,y,P,N,D,E,V]}class fp extends Ot{constructor(e){super(),Mt(this,e,YC,JC,At,{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 os}}function ng(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function QC(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){L(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:qe,d(l){l&&T(e),i[19](null),t=!1,n()}}}function ZC(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){L(t,e,n),e.focus()},p:qe,d(t){t&&T(e)}}}function XC(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[23](e)},p:qe,d(t){t&&T(e),i[23](null)}}}function $C(i){let e,t,n,l=i[5]&&ig(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=ig(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function ig(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=lg(ng(i,t,l));return{c(){e=S("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 a=0;a<n.length;a+=1)n[a].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=ng(l,t,a);n[a]?n[a].p(o,r):(n[a]=lg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l),i[22](null)}}}function xC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=ve(),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[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function e3(i){let e,t,n,l=i[31].label+"",r,a,o,c=i[31].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=q(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(_=le(e,"click",Lt(n3)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ie(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Ie(h,c)},d(p){p&&T(e),d=!1,_()}}}function lg(i){let e,t,n,l;function r(d,_){return d[9]?xC:e3}let a=r(i),o=a(i);function c(...d){return i[20](i[31],...d)}function h(...d){return i[21](i[31],...d)}return{c(){e=S("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",h)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,$e(l)}}}function t3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v;function C(E,V){return E[7]&&E[7].disableInputHandlers?ZC:QC}let y=C(i),P=y(i);function A(E,V){return E[8]?XC:$C}let N=A(i),D=N(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),P.c(),r=q(),D.c(),c=q(),h=S("div"),d=S("div"),_=S("button"),p=S("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",a=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(E,V){L(E,e,V),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),D.m(n,null),L(E,c,V),L(E,h,V),w(h,d),w(d,_),w(_,p),m||(v=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ut(i3)),le(_,"click",i[6]),le(d,"click",Ut(l3))],m=!0)},p(E,V){y===(y=C(E))&&P?P.p(E,V):(P.d(1),P=y(E),P&&(P.c(),P.m(l,null))),N===(N=A(E))&&D?D.p(E,V):(D.d(1),D=N(E),D&&(D.c(),D.m(n,null))),V[0]&16&&a!==(a=!E[4])&&f(n,"aria-hidden",a),V[0]&16&&o!==(o="fd-shellbar__action "+(E[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&b!==(b=!E[4])&&f(_,"aria-expanded",b)},i:qe,o:qe,d(E){E&&T(e),P.d(),D.d(),E&&T(c),E&&T(h),m=!1,$e(v)}}}const n3=()=>{},i3=()=>{},l3=()=>{};function r3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:h}=e,{globalSearchConfig:d}=e;const _=zt(),p={fireItemSelected:ie=>{b.searchProvider.onSearchResultItemSelected(ie)}};let b={},m,v;Yt(async()=>{t(7,b=d);let ie=o;const j=y(b.searchProvider);j&&(ie.placeholder=j),C()}),zn(()=>{t(7,b=d),C()});function C(){!b.searchProvider||(t(8,m=se.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,v=se.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function y(ie){if(!ie||!ie.inputPlaceholder)return;const j=vt.getCurrentLocale();if(se.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Le=vt.getTranslation(ie.inputPlaceholder);return!!Le&&Le.trim().length>0?Le:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[j]}function P(ie,j,Le){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ie,j.children[Le],p)}),""}function A(){_("closeSearchResult")}function N({keyCode:ie}){b&&b.searchProvider?se.isFunction(b.searchProvider.onEnter)&&ie===vi?b.searchProvider.onEnter():se.isFunction(b.searchProvider.onEscape)&&ie===bi?b.searchProvider.onEscape():ie===Bi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function D(ie){let j=h.children;if(j)for(let Le=0;Le<j.length;Le++){let{childNodes:re,nextSibling:Ee,previousSibling:Se}=j[Le],de;if(re[0].getAttribute("aria-selected")==="true"){ie===Bi&&(de=Ee!==null?Ee:j[0]),ie===Fl&&(de=Se!==null?Se:j[j.length-1]),re[0].setAttribute("aria-selected","false"),de.childNodes[0].setAttribute("aria-selected","true"),de.focus();break}}}function E(){let ie=h.children;if(ie)for(let j=0;j<ie.length;j++){let Le=ie[j];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function V(ie){b&&se.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ie):se.isFunction(b.searchProvider.onEscape)&&event.keyCode===bi&&b.searchProvider.onEscape()}function U(ie,{keyCode:j}){j===vi&&b.searchProvider.onSearchResultItemSelected(ie),j===Fl||j===Bi?D(j):se.isFunction(b.searchProvider.onEscape)&&j===bi&&(E(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function O(ie){let j=ie.pathObject;j.externalLink?nt.navigateToLink(j):_("handleSearchNavigation",{node:j})}function W(){o&&o.focus()}function K(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&se.isFunction(b.searchProvider.toggleSearch)){const ie=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ie)}}const X=ie=>N(ie);function ne(ie){Xe[ie?"unshift":"push"](()=>{o=ie,t(1,o)})}const Pe=(ie,j)=>V(ie),ee=(ie,j)=>U(ie,j);function z(ie){Xe[ie?"unshift":"push"](()=>{h=ie,t(3,h)})}function oe(ie){Xe[ie?"unshift":"push"](()=>{c=ie,t(2,c)})}return i.$$set=ie=>{"isSearchFieldVisible"in ie&&t(4,n=ie.isSearchFieldVisible),"searchResult"in ie&&t(5,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"displayCustomSearchResult"in ie&&t(15,a=ie.displayCustomSearchResult),"inputElem"in ie&&t(1,o=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,c=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,h=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(16,d=ie.globalSearchConfig)},[r,o,c,h,n,l,K,b,m,v,P,A,N,V,U,a,d,O,X,ne,Pe,ee,z,oe]}class a3 extends Ot{constructor(e){super(),Mt(this,e,r3,t3,At,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function rg(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function s3(i){let e,t,n,l,r,a,o,c=i[11]&&ag(i);return{c(){e=S("input"),t=q(),n=S("span"),c&&c.c(),l=q(),r=S("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(h,d){L(h,e,d),i[26](e),L(h,t,d),L(h,n,d),c&&c.m(n,null),w(n,l),w(n,r),a||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],a=!0)},p(h,d){h[11]?c?c.p(h,d):(c=ag(h),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(h){h&&T(e),i[26](null),h&&T(t),h&&T(n),c&&c.d(),a=!1,$e(o)}}}function o3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){L(t,e,n)},p:qe,d(t){t&&T(e)}}}function ag(i){let e,t,n;return{c(){e=S("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){L(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:qe,d(l){l&&T(e),t=!1,n()}}}function u3(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[31](e)},p:qe,d(t){t&&T(e),i[31](null)}}}function f3(i){let e,t,n,l=i[4]&&sg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=sg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function sg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=og(rg(i,t,l));return{c(){e=S("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 a=0;a<n.length;a+=1)n[a].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=rg(l,t,a);n[a]?n[a].p(o,r):(n[a]=og(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l),i[30](null)}}}function c3(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=ve(),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[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function d3(i){let e,t,n,l=i[40].label+"",r,a,o,c=i[40].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=q(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(_=le(e,"click",Lt(g3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ie(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Ie(h,c)},d(p){p&&T(e),d=!1,_()}}}function og(i){let e,t,n,l;function r(d,_){return d[10]?c3:d3}let a=r(i),o=a(i);function c(...d){return i[28](i[40],...d)}function h(...d){return i[29](i[40],...d)}return{c(){e=S("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",h)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,$e(l)}}}function ug(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[le(n,"click",i[6]),le(t,"click",Ut(p3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,$e(o)}}}function fg(i){let e,t,n=i[12](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=le(t,"click",Ut(i[32])),o=!0)},p(h,d){d[0]&4224&&n!==(n=h[12](h[7])+"")&&Ie(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function h3(i){let e,t,n,l,r,a,o,c,h,d,_,p;function b(D,E){return D[8]&&D[8].disableInputHandlers?o3:s3}let m=b(i),v=m(i);function C(D,E){return D[9]?u3:f3}let y=C(i),P=y(i),A=!i[5]&&ug(i),N=i[5]&&fg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=q(),P.c(),c=q(),A&&A.c(),h=q(),N&&N.c(),d=ve(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(D,c,E),A&&A.m(D,E),L(D,h,E),N&&N.m(D,E),L(D,d,E),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ut(_3))],_=!0)},p(D,E){m===(m=b(D))&&v?v.p(D,E):(v.d(1),v=m(D),v&&(v.c(),v.m(l,null))),y===(y=C(D))&&P?P.p(D,E):(P.d(1),P=y(D),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!D[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(D[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),D[5]?A&&(A.d(1),A=null):A?A.p(D,E):(A=ug(D),A.c(),A.m(h.parentNode,h)),D[5]?N?N.p(D,E):(N=fg(D),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:qe,o:qe,d(D){D&&T(e),v.d(),P.d(),D&&T(c),A&&A.d(D),D&&T(h),N&&N.d(D),D&&T(d),_=!1,$e(p)}}}const g3=()=>{},_3=()=>{},p3=()=>{};function m3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:h}=e,{globalSearchConfig:d}=e;const _=zt(),p={fireItemSelected:te=>{v.searchProvider.onSearchResultItemSelected(te)}};let b=fl.globalSearchCenteredCancelButton,{isSearchFieldVisible:m}=e,v={},C,y,P=!1,A=_t("getTranslation");wi(i,A,te=>t(12,n=te)),Yt(async()=>{t(8,v=d),t(7,b=v.globalSearchCenteredCancelButton?v.globalSearchCenteredCancelButton:b);let te=o;const We=D(v.searchProvider);We&&(te.placeholder=We),N(),Wf.handleVisibilityGlobalSearch();const Ge=document.querySelector(".lui-global-search");Ge&&new ResizeObserver(De=>{Wf.handleVisibilityGlobalSearch()}).observe(Ge)}),zn(()=>{t(8,v=d),N(),W()});function N(){t(9,C=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultRenderer)),t(10,y=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultItemRenderer))}function D(te){if(!te||!te.inputPlaceholder)return;const We=vt.getCurrentLocale();if(se.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Ge=vt.getTranslation(te.inputPlaceholder);return!!Ge&&Ge.trim().length>0?Ge:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[We]}function E(te,We,Ge){return setTimeout(()=>{v.searchProvider.customSearchResultItemRenderer(te,We.children[Ge],p)}),""}function V(){_("closeSearchResult")}function U({keyCode:te}){v?se.isFunction(v.searchProvider.onEnter)&&te===vi?v.searchProvider.onEnter():se.isFunction(v.searchProvider.onEscape)&&te===bi?v.searchProvider.onEscape():te===Bi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(v.searchProvider.onInput)&&v.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function O(){v&&se.isFunction(v.searchProvider.onSearchBtnClick)&&v.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,P=!0):t(11,P=!1)}function K(){t(1,o.value="",o),V(),t(11,P=!1)}function X(te){let We=h.children;if(We)for(let Ge=0;Ge<We.length;Ge++){let{childNodes:_e,nextSibling:De,previousSibling:et}=We[Ge],Rt;if(_e[0].getAttribute("aria-selected")==="true"){te===Bi&&(Rt=De!==null?De:We[0]),te===Fl&&(Rt=et!==null?et:We[We.length-1]),_e[0].setAttribute("aria-selected","false"),Rt.childNodes[0].setAttribute("aria-selected","true"),Rt.focus();break}}}function ne(){let te=h.children;if(te)for(let We=0;We<te.length;We++){let Ge=te[We];Ge.childNodes[0].getAttribute("aria-selected")==="true"&&Ge.childNodes[0].setAttribute("aria-selected","false")}}function Pe(te){v&&se.isFunction(v.searchProvider.onSearchResultItemSelected)?v.searchProvider.onSearchResultItemSelected(te):se.isFunction(v.searchProvider.onEscape)&&event.keyCode===bi&&v.searchProvider.onEscape()}function ee(te,{keyCode:We}){We===vi&&v.searchProvider.onSearchResultItemSelected(te),We===Fl||We===Bi?X(We):se.isFunction(v.searchProvider.onEscape)&&We===bi&&(ne(),setTimeout(()=>{o.focus()}),v.searchProvider.onEscape())}function z(te){let We=te.pathObject;We.externalLink?nt.navigateToLink(We):_("handleSearchNavigation",{node:We})}function oe(){o&&o.focus()}function ie(){if(m?t(0,r=!1):setTimeout(()=>{oe()}),_("toggleSearch",{isSearchFieldVisible:m,inputElem:o,luigiCustomSearchRenderer__slot:c}),se.isFunction(v.searchProvider.toggleSearch)){const te=m===void 0?!0:!m;v.searchProvider.toggleSearch(o,te)}}const j=te=>U(te);function Le(te){Xe[te?"unshift":"push"](()=>{o=te,t(1,o)})}const re=()=>W(),Ee=(te,We)=>Pe(te),Se=(te,We)=>ee(te,We);function de(te){Xe[te?"unshift":"push"](()=>{h=te,t(3,h)})}function Y(te){Xe[te?"unshift":"push"](()=>{c=te,t(2,c)})}const ce=()=>ie();return i.$$set=te=>{"searchResult"in te&&t(4,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"displayCustomSearchResult"in te&&t(22,a=te.displayCustomSearchResult),"inputElem"in te&&t(1,o=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,c=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,h=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(23,d=te.globalSearchConfig),"isSearchFieldVisible"in te&&t(5,m=te.isSearchFieldVisible)},[r,o,c,h,l,m,ie,b,v,C,y,P,n,A,E,V,U,O,W,K,Pe,ee,a,d,z,j,Le,re,Ee,Se,de,Y,ce]}class b3 extends Ot{constructor(e){super(),Mt(this,e,m3,h3,At,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function cg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?w3:v3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function v3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),je(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&&!je(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 w3(i){let e,t;return{c(){e=S("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 dg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new Wn({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=q(),Ue(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Oe(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ie(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){B(r.$$.fragment,o),a=!1},d(o){o&&T(e),Fe(r)}}}function k3(i){let e,t,n,l=i[0].icon&&cg(i),r=(!i[0].icon||i[0].showLabel)&&dg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=cg(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function S3(i,e,t){let{node:n}=e;function l(o){return ye.isOpenUIiconName(o.icon)}function r(o){return ye.renderIconClassName(o)}function a(o){return ye.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Fo extends Ot{constructor(e){super(),Mt(this,e,S3,k3,At,{node:0})}}const{Boolean:cp,window:hg}=Hi;function gg(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function _g(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function C3(i){let e,t;return e=new rp({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&pg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new WS({props:C}),Xe.push(()=>ft(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&mg(i),P=(!i[0]||i[1])&&bg(i),A=(i[18]||i[7]&&i[30].length>0)&&wg(i),N=(i[0]||i[16])&&Og(i),D=i[12]&&Fg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=q(),Ue(l.$$.fragment),a=q(),y&&y.c(),o=q(),c=S("div"),P&&P.c(),h=q(),A&&A.c(),d=q(),N&&N.c(),_=q(),D&&D.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(E,V){L(E,e,V),w(e,t),m&&m.m(t,null),w(t,n),Oe(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),A&&A.m(c,null),w(c,d),N&&N.m(c,null),w(c,_),D&&D.m(c,null),b=!0},p(E,V){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,V):(m=pg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const U={};V[0]&1073741824&&(U.pathData=E[30]),V[1]&1&&(U.pathParams=E[31]),V[0]&268435456&&(U.addNavHrefForAnchor=E[28]),!r&&V[0]&64&&(r=!0,U.dropDownStates=E[6],ut(()=>r=!1)),l.$set(U),E[18]&&E[19]?y?(y.p(E,V),V[0]&786432&&R(y,1)):(y=mg(E),y.c(),R(y,1),y.m(e,o)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),!E[0]||E[1]?P?(P.p(E,V),V[0]&3&&R(P,1)):(P=bg(E),P.c(),R(P,1),P.m(c,h)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),E[18]||E[7]&&E[30].length>0?A?(A.p(E,V),V[0]&1074004096&&R(A,1)):(A=wg(E),A.c(),R(A,1),A.m(c,d)):A&&(we(),B(A,1,1,()=>{A=null}),ke()),E[0]||E[16]?N?(N.p(E,V),V[0]&65537&&R(N,1)):(N=Og(E),N.c(),R(N,1),N.m(c,_)):N&&(we(),B(N,1,1,()=>{N=null}),ke()),E[12]?D?(D.p(E,V),V[0]&4096&&R(D,1)):(D=Fg(E),D.c(),R(D,1),D.m(c,null)):D&&(we(),B(D,1,1,()=>{D=null}),ke()),(!b||V[0]&134217732&&p!==(p="fd-shellbar "+(E[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(A),R(N),R(D),b=!0)},o(E){B(l.$$.fragment,E),B(y),B(P),B(A),B(N),B(D),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),A&&A.d(),N&&N.d(),D&&D.d()}}}function pg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,a){L(r,e,a),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,a){a[0]&67108864&&f(e,"title",r[26])},d(r){r&&T(e),n=!1,l()}}}function mg(i){let e,t,n,l,r,a,o,c,h;function d(y){i[60](y)}function _(y){i[61](y)}function p(y){i[62](y)}function b(y){i[63](y)}function m(y){i[64](y)}function v(y){i[65](y)}let C={globalSearchConfig:i[18]};return i[20]!==void 0&&(C.isSearchFieldVisible=i[20]),i[25]!==void 0&&(C.searchResult=i[25]),i[23]!==void 0&&(C.displaySearchResult=i[23]),i[24]!==void 0&&(C.displayCustomSearchResult=i[24]),i[21]!==void 0&&(C.inputElem=i[21]),i[22]!==void 0&&(C.luigiCustomSearchRenderer__slot=i[22]),t=new b3({props:C}),Xe.push(()=>ft(t,"isSearchFieldVisible",d)),Xe.push(()=>ft(t,"searchResult",_)),Xe.push(()=>ft(t,"displaySearchResult",p)),Xe.push(()=>ft(t,"displayCustomSearchResult",b)),Xe.push(()=>ft(t,"inputElem",m)),Xe.push(()=>ft(t,"luigiCustomSearchRenderer__slot",v)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(y,P){L(y,e,P),Oe(t,e,null),h=!0},p(y,P){const A={};P[0]&262144&&(A.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,A.isSearchFieldVisible=y[20],ut(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,A.searchResult=y[25],ut(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,A.displaySearchResult=y[23],ut(()=>r=!1)),!a&&P[0]&16777216&&(a=!0,A.displayCustomSearchResult=y[24],ut(()=>a=!1)),!o&&P[0]&2097152&&(o=!0,A.inputElem=y[21],ut(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,A.luigiCustomSearchRenderer__slot=y[22],ut(()=>c=!1)),t.$set(A)},i(y){h||(R(t.$$.fragment,y),h=!0)},o(y){B(t.$$.fragment,y),h=!1},d(y){y&&T(e),Fe(t)}}}function bg(i){let e,t,n,l,r=i[18]&&!i[19]&&vg(i);function a(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new up({props:o}),Xe.push(()=>ft(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=q(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Oe(t,c,h),l=!0},p(c,h){c[18]&&!c[19]?r?(r.p(c,h),h[0]&786432&&R(r,1)):(r=vg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),B(r,1,1,()=>{r=null}),ke());const d={};h[0]&268435456&&(d.addNavHrefForAnchor=c[28]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],ut(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&T(e),Fe(t,c)}}}function vg(i){let e,t,n,l,r,a,o,c;function h(C){i[69](C)}function d(C){i[70](C)}function _(C){i[71](C)}function p(C){i[72](C)}function b(C){i[73](C)}function m(C){i[74](C)}let v={globalSearchConfig:i[18]};return i[20]!==void 0&&(v.isSearchFieldVisible=i[20]),i[25]!==void 0&&(v.searchResult=i[25]),i[23]!==void 0&&(v.displaySearchResult=i[23]),i[24]!==void 0&&(v.displayCustomSearchResult=i[24]),i[21]!==void 0&&(v.inputElem=i[21]),i[22]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[22]),e=new a3({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"searchResult",d)),Xe.push(()=>ft(e,"displaySearchResult",_)),Xe.push(()=>ft(e,"displayCustomSearchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&262144&&(P.globalSearchConfig=C[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=C[20],ut(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=C[25],ut(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=C[23],ut(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=C[24],ut(()=>r=!1)),!a&&y[0]&2097152&&(a=!0,P.inputElem=C[21],ut(()=>a=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=C[22],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function wg(i){let e,t,n,l=i[7]&&i[30].length>0&&kg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Pg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=kg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(we(),B(l,1,1,()=>{l=null}),ke()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function kg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=yg(_g(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&268435936|o[1]&3932321){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=_g(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=yg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(cp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Sg(i){let e,t,n,l;const r=[N3,P3],a=[];function o(c,h){return c[111].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),B(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(n)}}}function P3(i){let e,t,n,l,r;const a=[T3,I3],o=[];function c(h,d){return h[28]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=q(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let _=t;t=c(h),t===_?o[t].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){h&&T(e),o[t].d()}}}function N3(i){let e=i[111].visibleChildren.filter(Ug).length>0,t,n,l=e&&Cg(i);return{c(){l&&l.c(),t=ve()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[111].visibleChildren.filter(Ug).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Cg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(we(),B(l,1,1,()=>{l=null}),ke())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){l&&l.d(r),r&&T(t)}}}function I3(i){let e,t,n,l,r,a,o,c,h,d,_;function p(v){i[84](v,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Fo({props:b}),Xe.push(()=>ft(t,"node",p)),r=new gn({props:{node:i[111]}});function m(){return i[85](i[111])}return{c(){e=S("button"),Ue(t.$$.fragment),l=q(),Ue(r.$$.fragment),f(e,"title",a=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(v,C){L(v,e,C),Oe(t,e,null),w(e,l),Oe(r,e,null),h=!0,d||(_=le(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[111],ut(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[111]),r.$set(P),(!h||C[0]&128&&a!==(a=i[52](i[111],i[49](i[111]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),h=!1},d(v){v&&T(e),Fe(t),Fe(r),d=!1,_()}}}function T3(i){let e,t,n,l,r,a,o,c,h,d,_,p;function b(C){i[82](C,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Fo({props:m}),Xe.push(()=>ft(t,"node",b)),r=new gn({props:{node:i[111]}});function v(...C){return i[83](i[111],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=q(),Ue(r.$$.fragment),f(e,"href",a=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=i[50](i[111]))},m(C,y){L(C,e,y),Oe(t,e,null),w(e,l),Oe(r,e,null),d=!0,_||(p=le(e,"click",v),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],ut(()=>n=!1)),t.$set(P);const A={};y[0]&128&&(A.node=i[111]),r.$set(A),(!d||y[0]&128&&a!==(a=i[51](i[111])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=i[50](i[111])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){B(t.$$.fragment,C),B(r.$$.fragment,C),d=!1},d(C){C&&T(e),Fe(t),Fe(r),_=!1,p()}}}function Cg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(U){i[80](U,i[111],i[114],i[113])}let E={};i[111]!==void 0&&(E.node=i[111]),r=new Fo({props:E}),Xe.push(()=>ft(r,"node",D)),c=new gn({props:{node:i[111]}});function V(){return i[81](i[113])}return v=new sp({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=q(),Ue(c.$$.fragment),b=q(),m=S("div"),Ue(v.$$.fragment),y=q(),f(l,"title",h=i[52](i[111],i[49](i[111]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[113]}`]),f(m,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(U,O){L(U,e,O),w(e,t),w(t,n),w(n,l),Oe(r,l,null),w(l,o),Oe(c,l,null),w(t,b),w(t,m),Oe(v,m,null),w(e,y),P=!0,A||(N=[le(l,"click",V),le(n,"click",Ut(q3))],A=!0)},p(U,O){i=U;const W={};!a&&O[0]&128&&(a=!0,W.node=i[111],ut(()=>a=!1)),r.$set(W);const K={};O[0]&128&&(K.node=i[111]),c.$set(K),(!P||O[0]&128&&h!==(h=i[52](i[111],i[49](i[111]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",d),(!P||O[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!P||O[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[111]),O[1]&1&&(X.pathParams=i[31]),O[0]&268435456&&(X.addNavHrefForAnchor=i[28]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[113]}`]))&&f(m,"aria-hidden",C)},i(U){P||(R(r.$$.fragment,U),R(c.$$.fragment,U),R(v.$$.fragment,U),P=!0)},o(U){B(r.$$.fragment,U),B(c.$$.fragment,U),B(v.$$.fragment,U),P=!1},d(U){U&&T(e),Fe(r),Fe(c),Fe(v),A=!1,$e(N)}}}function yg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Sg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Sg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Pg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,N,D,E,V,U;h=new gn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&Ng(i),W=i[46]&&(!i[0]||i[1])&&Ig(i),K=i[7]&&Tg(i),X=i[12]&&Eg(i),ne=i[12]&&Dg(i),Pe=i[14]&&Vg(i),ee=(!i[0]||i[1])&&Mg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=q(),Ue(h.$$.fragment),_=q(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=q(),W&&W.c(),C=q(),K&&K.c(),y=q(),X&&X.c(),A=q(),ne&&ne.c(),N=q(),Pe&&Pe.c(),D=q(),ee&&ee.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"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(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(z,oe){L(z,e,oe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Oe(h,a,null),w(n,_),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),W&&W.m(m,null),w(m,C),K&&K.m(m,null),w(m,y),X&&X.m(m,null),w(n,A),ne&&ne.m(n,null),w(n,N),Pe&&Pe.m(n,null),w(n,D),ee&&ee.m(n,null),E=!0,V||(U=[le(a,"click",i[86]),le(l,"click",Ut(G3))],V=!0)},p(z,oe){const ie={};oe[0]&2048&&(ie.node=z[11]),h.$set(ie),(!E||oe[0]&64&&d!==(d=z[6].overflowPopover||!1))&&f(a,"aria-expanded",d),z[18]&&!z[19]?O?O.p(z,oe):(O=Ng(z),O.c(),O.m(m,v)):O&&(O.d(1),O=null),z[46]&&(!z[0]||z[1])?W?W.p(z,oe):(W=Ig(z),W.c(),W.m(m,C)):W&&(W.d(1),W=null),z[7]?K?(K.p(z,oe),oe[0]&128&&R(K,1)):(K=Tg(z),K.c(),R(K,1),K.m(m,y)):K&&(we(),B(K,1,1,()=>{K=null}),ke()),z[12]?X?X.p(z,oe):(X=Eg(z),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||oe[0]&64&&P!==(P=!z[6].overflowPopover))&&f(p,"aria-hidden",P),z[12]?ne?(ne.p(z,oe),oe[0]&4096&&R(ne,1)):(ne=Dg(z),ne.c(),R(ne,1),ne.m(n,N)):ne&&(we(),B(ne,1,1,()=>{ne=null}),ke()),z[14]?Pe?(Pe.p(z,oe),oe[0]&16384&&R(Pe,1)):(Pe=Vg(z),Pe.c(),R(Pe,1),Pe.m(n,D)):Pe&&(we(),B(Pe,1,1,()=>{Pe=null}),ke()),!z[0]||z[1]?ee?(ee.p(z,oe),oe[0]&3&&R(ee,1)):(ee=Mg(z),ee.c(),R(ee,1),ee.m(n,null)):ee&&(we(),B(ee,1,1,()=>{ee=null}),ke())},i(z){E||(R(h.$$.fragment,z),R(K),R(ne),R(Pe),R(ee),E=!0)},o(z){B(h.$$.fragment,z),B(K),B(ne),B(Pe),B(ee),E=!1},d(z){z&&T(e),Fe(h),O&&O.d(),W&&W.d(),K&&K.d(),X&&X.d(),ne&&ne.d(),Pe&&Pe.d(),ee&&ee.d(),V=!1,$e(U)}}}function Ng(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
63
63
  <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,a){L(r,e,a),w(e,t),n||(l=le(t,"click",Ut(i[87])),n=!0)},p:qe,d(r){r&&T(e),n=!1,l()}}}function Ig(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=q(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=le(t,"click",Ut(i[33])),h=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ie(c,o)},d(_){_&&T(e),h=!1,d()}}}function Tg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(gg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&4128808){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=gg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(cp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Lg(i){let e,t,n,l,r;const a=[A3,L3],o=[];function c(h,d){return d[0]&128&&(e=null),h[111].isCat?(e==null&&(e=h[111].visibleChildren.filter(z3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ve()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?~t&&o[t].p(h,d):(n&&(we(),B(o[_],1,1,()=>{o[_]=null}),ke()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){~t&&o[t].d(h),h&&T(l)}}}function L3(i){let e,t,n,l,r,a,o,c,h=i[49](i[111])+"",d,_,p,b,m,v,C;function y(D,E){return E[0]&128&&(l=null),l==null&&(l=!!D[48](D[111])),l?E3:R3}let P=y(i,[-1,-1,-1,-1]),A=P(i);a=new gn({props:{node:i[111]}});function N(){return i[89](i[111])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=q(),Ue(a.$$.fragment),o=q(),c=S("span"),d=Ne(h),b=q(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(D,E){L(D,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Oe(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=le(t,"click",Lt(N)),v=!0)},p(D,E){i=D,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const V={};E[0]&128&&(V.node=i[111]),a.$set(V),(!m||E[0]&128)&&h!==(h=i[49](i[111])+"")&&Ie(d,h),(!m||E[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(D){m||(R(a.$$.fragment,D),m=!0)},o(D){B(a.$$.fragment,D),m=!1},d(D){D&&T(e),A.d(),Fe(a),v=!1,C()}}}function A3(i){let e,t,n,l=!i[48](i[111]),r,a,o,c,h,d=i[49](i[111])+"",_,p,b,m,v,C,y,P,A=l&&Ag(i);a=new gn({props:{node:i[111]}});function N(){return i[88](i[111])}return{c(){e=S("li"),t=S("a"),n=S("span"),A&&A.c(),r=q(),Ue(a.$$.fragment),c=q(),h=S("span"),_=Ne(d),v=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(h,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",m=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(D,E){L(D,e,E),w(e,t),w(t,n),A&&A.m(n,null),w(n,r),Oe(a,n,null),w(t,c),w(t,h),w(h,_),w(e,v),C=!0,y||(P=le(t,"click",Lt(N)),y=!0)},p(D,E){i=D,E[0]&128&&(l=!i[48](i[111])),l?A?A.p(i,E):(A=Ag(i),A.c(),A.m(n,r)):A&&(A.d(1),A=null);const V={};E[0]&128&&(V.node=i[111]),a.$set(V),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[49](i[111])+"")&&Ie(_,d),(!C||E[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=i[50](i[111])+"-mobile"))&&f(t,"data-testid",m)},i(D){C||(R(a.$$.fragment,D),C=!0)},o(D){B(a.$$.fragment,D),C=!1},d(D){D&&T(e),A&&A.d(),Fe(a),y=!1,P()}}}function R3(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function E3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ag(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Rg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Lg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Lg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Eg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?V3:D3}let _=d(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=S("li"),t=S("a"),p.c(),l=q(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=le(t,"click",Ut(i[32])),c=!0)},p(b,m){_===(_=d(b,m))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ie(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function D3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function V3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&T(e)}}}function Dg(i){let e,t,n;function l(a){i[90](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Xe.push(()=>ft(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Vg(i){let e,t;return e=new sp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Mg(i){let e,t,n,l,r;function a(d){i[92](d)}function o(d){i[93](d)}function c(d){i[94](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new up({props:h}),Xe.push(()=>ft(e,"dropDownStates",a)),Xe.push(()=>ft(e,"selectedLabel",o)),Xe.push(()=>ft(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){Ue(e.$$.fragment)},m(d,_){Oe(e,d,_),r=!0},p(d,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=d[6],ut(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=d[44],ut(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=d[45],ut(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Og(i){let e,t,n,l,r;const a=[O3,M3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&se.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let _=n;n=c(h,d),n===_?o[n].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){B(l),r=!1},d(h){h&&T(e),o[n].d()}}}function M3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v;function C(A,N){return A[17].picture?U3:F3}let y=C(i),P=y(i);return _=new rp({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=q(),d=S("div"),Ue(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",a=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(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(A,N){L(A,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Oe(_,d,null),b=!0,m||(v=[le(r,"click",i[99]),le(n,"click",Ut(J3))],m=!0)},p(A,N){y===(y=C(A))&&P?P.p(A,N):(P.d(1),P=y(A),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=A[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=A[17].name?A[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=A[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const D={};N[0]&268435456&&(D.addNavHrefForAnchor=A[28]),_.$set(D),(!b||N[0]&64&&p!==(p=!A[6].profilePopover))&&f(d,"aria-hidden",p)},i(A){b||(R(_.$$.fragment,A),b=!0)},o(A){B(_.$$.fragment,A),b=!1},d(A){A&&T(e),P.d(),Fe(_),m=!1,$e(v)}}}function O3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?H3:B3}let _=d(i),p=_(i);return r=new ZS({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=q(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Oe(r,l,null),o=!0,c||(h=le(t,"click",Ut(K3)),c=!0)},p(b,m){_===(_=d(b))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&268435456&&(v.addNavHrefForAnchor=b[28]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){B(r.$$.fragment,b),o=!1},d(b){b&&T(e),p.d(),Fe(r),c=!1,h()}}}function F3(i){let e,t;return{c(){e=S("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 U3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),Pn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&Pn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function B3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=le(e,"click",i[97]),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,a()}}}function H3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Pn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=le(e,"click",i[96]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Pn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function Fg(i){let e,t,n;function l(a){i[101](a)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Xe.push(()=>ft(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=a[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function W3(i){let e,t,n,l,r,a;const o=[y3,C3],c=[];function h(d,_){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ve()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[le(hg,"click",i[41]),le(hg,"blur",i[41])],r=!0)},p(d,_){let p=e;e=h(d),e===p?c[e].p(d,_):(we(),B(c[p],1,1,()=>{c[p]=null}),ke(),t=c[e],t?t.p(d,_):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&T(n),r=!1,$e(a)}}}const z3=i=>!i.hideFromNav&&i.label,Ug=i=>!i.hideFromNav&&i.label,q3=()=>{},G3=()=>{},K3=()=>{},J3=()=>{};function j3(i,e,t){const n=zt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:h}=e,{showGlobalNav:d}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:A}=e,{isProductSwitcherAvailable:N}=e,{productSwitcherConfig:D}=e,{openMobileDropDown:E}=e,{nodeForMobile:V}=e,{profileItemsAvailable:U}=e,{userInfo:O={}}=e,{urlAuthError:W}=e,{globalSearchConfig:K}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:ne}=e,{inputElem:Pe}=e,{luigiCustomSearchRenderer__slot:ee}=e,{displaySearchResult:z}=e,{displayCustomSearchResult:oe}=e,{searchResult:ie}=e,{burgerTooltip:j}=e,{responsiveShellbarPadding:Le}=e,re=_t("store"),Ee=!1,Se,de,Y=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ce=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const te=async()=>{if(_&&0<_.length){const Q=await ye.generateTopNavNodes(_);t(7,v=Q.children),t(8,C=Q.selectedNode),t(9,y=Q.visibleNodeCount),t(11,A=Q.totalBadgeNode),t(10,P=Q.globalNavNodeCount),window.TOPNAVDATA=Q.children,p=_}},We=()=>{t(1,a=ul.isLoggedIn())};Yt(()=>{un.doOnStoreChange(re,()=>{t(0,l=mi.isAuthorizationEnabled()),t(16,U=ae.getConfigValue("navigation.profile")),t(54,r=!Boolean(ae.getConfigValue("auth.disableAutoLogin"))),t(12,N=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,h=ae.getConfigValue("settings.profileType")),t(27,Le=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,D=ye.getProductSwitcherConfig()),t(18,K=ae.getConfigValue("globalSearch")),t(19,X=K&&K.searchFieldCentered&&se.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0)),t(28,ce=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Y=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),un.doOnStoreChange(re,()=>{te()},["navigation.viewgroupdata"]),Vn.addEventListener("message",Q=>{Q.data.msg==="luigi.navigation.update-badge-counters"&&te()})}),zn(()=>{(!p||p!=_)&&te(),We()});let{showTopNav:Ge}=e;function _e(Q){return ye.renderIconClassName(Q)}function De(Q){return ye.isOpenUIiconName(Q.icon)}const et=Q=>ye.getNodeLabel(Q);function Rt(Q){return Q.testId?Q.testId:ye.prepareForTests(Q.pathSegment,Q.label)}function gt(Q){return be.getNodeHref(Q,b)}function Kt(Q,Pt){return ye.generateTooltipText(Q,Pt)}function _n(){It("productSwitcherPopover")}function Et(){t(43,Ee=!Ee),It("contextSwitcherPopover")}function ui(Q){t(14,E=!0),t(15,V=Q)}function Nn(){t(14,E=!1)}function pn(Q){n("handleClick",{node:Q})}function an(Q){n("handleSearchNavigation",{node:Q})}function In(Q){pn(Q.detail.node)}function It(Q){const Pt=m||{},kt=!Pt[Q];Qt(),Nn(),Pt[Q]=kt,t(6,m=Pt)}function dl(Q){It(Q.detail.name)}function ti(){Pe&&Pe.focus()}function mn(){ne||setTimeout(()=>{ti()}),n("toggleSearch",{isSearchFieldVisible:ne,inputElem:Pe,luigiCustomSearchRenderer__slot:ee})}function Qt(){const Q=m||{},Pt=Object.keys(Q);Pt&&Pt.length>0&&Pt.forEach(kt=>{Q[kt]=!1,t(6,m=Q)})}function qn(){c==="simple"||c==="simpleMobileOnly"?bn():fi(),en()}function en(){if(!ye.getBurgerTooltipConfig())return;const[Q,Pt]=ye.getBurgerTooltipConfig();Q&&Pt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,j=document.body.classList.contains("lui-leftNavToggle")?Q:Pt),document.body.classList.contains("lui-semiCollapsible")&&t(26,j=document.body.classList.contains("semiCollapsed")?Q:Pt))}function bn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function fi(){pi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ki(Q){const Pt=Q.detail;t(17,O=Pt||{})}function fn(Q){m=Q,t(6,m)}function Si(Q){ne=Q,t(20,ne)}function Ci(Q){ie=Q,t(25,ie)}function yi(Q){z=Q,t(23,z)}function Pi(Q){oe=Q,t(24,oe)}function hl(Q){Pe=Q,t(21,Pe)}function gl(Q){ee=Q,t(22,ee)}function _l(Q){Ml.call(this,i,Q)}function Wi(Q){Ml.call(this,i,Q)}function Ni(Q){Ml.call(this,i,Q)}function pl(Q){ne=Q,t(20,ne)}function zi(Q){ie=Q,t(25,ie)}function $(Q){z=Q,t(23,z)}function Te(Q){oe=Q,t(24,oe)}function ct(Q){Pe=Q,t(21,Pe)}function Tt(Q){ee=Q,t(22,ee)}function yt(Q){Ml.call(this,i,Q)}function sn(Q){Ml.call(this,i,Q)}function vn(Q){Ml.call(this,i,Q)}function ci(Q){m=Q,t(6,m)}const Gn=()=>It("contextSwitcherPopover");function ml(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const qi=Q=>It(`dropDownPopover-${Q}`);function bl(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const Gi=(Q,Pt)=>{ye.handleNavAnchorClickedWithoutMetaKey(Pt)&&pn(Q)};function Hl(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const Wl=Q=>pn(Q),zl=()=>It("overflowPopover"),br=()=>{mn(),It("overflowPopover")},wn=Q=>pn(Q),vl=Q=>ui(Q);function wl(Q){m=Q,t(6,m)}const ql=()=>It("productSwitcherPopover");function vr(Q){m=Q,t(6,m)}function Ki(Q){Se=Q,t(44,Se)}function kl(Q){de=Q,t(45,de)}const di=()=>It("contextSwitcherPopover"),Sl=()=>It("profilePopover"),Ii=()=>It("profilePopover"),Gl=()=>It("profilePopover"),wr=()=>It("profilePopover"),pt=()=>It("profilePopover");function Ji(Q){m=Q,t(6,m)}const ji=()=>It("productSwitcherPopover"),Cl=()=>It("profilePopover");return i.$$set=Q=>{"authorizationEnabled"in Q&&t(0,l=Q.authorizationEnabled),"autologinEnabled"in Q&&t(54,r=Q.autologinEnabled),"isLoggedIn"in Q&&t(1,a=Q.isLoggedIn),"hideNavComponent"in Q&&t(2,o=Q.hideNavComponent),"responsiveNavSetting"in Q&&t(3,c=Q.responsiveNavSetting),"profileTypeSettings"in Q&&t(4,h=Q.profileTypeSettings),"showGlobalNav"in Q&&t(5,d=Q.showGlobalNav),"pathData"in Q&&t(30,_=Q.pathData),"pathParams"in Q&&t(31,b=Q.pathParams),"dropDownStates"in Q&&t(6,m=Q.dropDownStates),"children"in Q&&t(7,v=Q.children),"selectedNode"in Q&&t(8,C=Q.selectedNode),"visibleNodeCount"in Q&&t(9,y=Q.visibleNodeCount),"globalNavNodeCount"in Q&&t(10,P=Q.globalNavNodeCount),"totalBadgeNode"in Q&&t(11,A=Q.totalBadgeNode),"isProductSwitcherAvailable"in Q&&t(12,N=Q.isProductSwitcherAvailable),"productSwitcherConfig"in Q&&t(13,D=Q.productSwitcherConfig),"openMobileDropDown"in Q&&t(14,E=Q.openMobileDropDown),"nodeForMobile"in Q&&t(15,V=Q.nodeForMobile),"profileItemsAvailable"in Q&&t(16,U=Q.profileItemsAvailable),"userInfo"in Q&&t(17,O=Q.userInfo),"urlAuthError"in Q&&t(55,W=Q.urlAuthError),"globalSearchConfig"in Q&&t(18,K=Q.globalSearchConfig),"isGlobalSearchCentered"in Q&&t(19,X=Q.isGlobalSearchCentered),"isSearchFieldVisible"in Q&&t(20,ne=Q.isSearchFieldVisible),"inputElem"in Q&&t(21,Pe=Q.inputElem),"luigiCustomSearchRenderer__slot"in Q&&t(22,ee=Q.luigiCustomSearchRenderer__slot),"displaySearchResult"in Q&&t(23,z=Q.displaySearchResult),"displayCustomSearchResult"in Q&&t(24,oe=Q.displayCustomSearchResult),"searchResult"in Q&&t(25,ie=Q.searchResult),"burgerTooltip"in Q&&t(26,j=Q.burgerTooltip),"responsiveShellbarPadding"in Q&&t(27,Le=Q.responsiveShellbarPadding),"addNavHrefForAnchor"in Q&&t(28,ce=Q.addNavHrefForAnchor),"showTopNav"in Q&&t(29,Ge=Q.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ge=l&&(!r||a)||!l)},[l,a,o,c,h,d,m,v,C,y,P,A,N,D,E,V,U,O,K,X,ne,Pe,ee,z,oe,ie,j,Le,ce,Ge,_,b,_n,Et,ui,Nn,pn,In,It,dl,mn,Qt,ki,Ee,Se,de,Y,_e,De,et,Rt,gt,Kt,qn,r,W,an,bn,fi,fn,Si,Ci,yi,Pi,hl,gl,_l,Wi,Ni,pl,zi,$,Te,ct,Tt,yt,sn,vn,ci,Gn,ml,qi,bl,Gi,Hl,Wl,zl,br,wn,vl,wl,ql,vr,Ki,kl,di,Sl,Ii,Gl,wr,pt,Ji,ji,Cl]}class dp extends Ot{constructor(e){super(),Mt(this,e,j3,W3,At,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function Bg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Y3(i){let e,t=i[0]&&Bg();return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Bg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Q3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=be.mapPathToNode(nt.getCurrentPath(),n),a=await Ft.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");hr.renderWebComponent(n.viewUrl,a,r,n),a.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 Z3 extends Ot{constructor(e){super(),Mt(this,e,Q3,Y3,At,{node:0})}}const{window:To}=Hi;function Hg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Wg(i,e,t){const n=i.slice();return n[43]=e[t],n}function zg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function qg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Gg(i,e,t){const n=i.slice();return n[43]=e[t],n}function Kg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Jg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&jg(i),A=Object.entries(i[0]),N=[];for(let O=0;O<A.length;O+=1)N[O]=e_(qg(i,A,O));const D=O=>B(N[O],1,1,()=>{N[O]=null});let E=Object.entries(i[0]),V=[];for(let O=0;O<E.length;O+=1)V[O]=l_(Hg(i,E,O));const U=O=>B(V[O],1,1,()=>{V[O]=null});return{c(){e=S("div"),P&&P.c(),t=q(),n=S("nav"),l=S("div"),r=S("div");for(let O=0;O<N.length;O+=1)N[O].c();a=q(),o=S("div"),c=S("span"),h=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
64
- <span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=q(),p=S("div"),b=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),f(l,"class","tabsContainerWrapper svelte-16eupdq"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),f(p,"aria-hidden",m=!i[4]),f(h,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-16eupdq"),f(o,"class","luigi-tabsMoreButton svelte-16eupdq"),f(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-16eupdq"),f(e,"id","tabsContainer")},m(O,W){L(O,e,W),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let K=0;K<N.length;K+=1)N[K].m(r,null);w(n,a),w(n,o),w(o,c),w(c,h),w(h,d),w(h,_),w(h,p),w(p,b);for(let K=0;K<V.length;K+=1)V[K].m(b,null);v=!0,C||(y=[le(d,"click",Lt(i[10])),le(c,"click",ly),le(n,"toggleDropdownState",i[26])],C=!0)},p(O,W){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?P?(P.p(O,W),W[0]&2048&&R(P,1)):(P=jg(O),P.c(),R(P,1),P.m(e,t)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),W[0]&53485){A=Object.entries(O[0]);let K;for(K=0;K<A.length;K+=1){const X=qg(O,A,K);N[K]?(N[K].p(X,W),R(N[K],1)):(N[K]=e_(X),N[K].c(),R(N[K],1),N[K].m(r,null))}for(we(),K=A.length;K<N.length;K+=1)D(K);ke()}if(W[0]&53485){E=Object.entries(O[0]);let K;for(K=0;K<E.length;K+=1){const X=Hg(O,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=l_(X),V[K].c(),R(V[K],1),V[K].m(b,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!v||W[0]&16&&m!==(m=!O[4]))&&f(p,"aria-hidden",m)},i(O){if(!v){R(P);for(let W=0;W<A.length;W+=1)R(N[W]);for(let W=0;W<E.length;W+=1)R(V[W]);v=!0}},o(O){B(P),N=N.filter(Boolean);for(let W=0;W<N.length;W+=1)B(N[W]);V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);v=!1},d(O){O&&T(e),P&&P.d(),st(N,O),st(V,O),C=!1,$e(y)}}}function jg(i){let e,t;return e=new Z3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function X3(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[20](i[39])}let E=i[40],V=[];for(let O=0;O<E.length;O+=1)V[O]=Zg(Gg(i,E,O));const U=O=>B(V[O],1,1,()=>{V[O]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("span"),o=Ne(a),c=q(),h=S("span"),_=q(),p=S("div"),b=S("nav"),m=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=q(),f(r,"class","label fd-tabs__tag svelte-16eupdq"),f(h,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),f(l,"class","fd-tabs__link has-child svelte-16eupdq"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=dr(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-16eupdq"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=dr(i[39],i[2]))},m(O,W){L(O,e,W),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,h),w(t,_),w(t,p),w(p,b),w(b,m);for(let K=0;K<V.length;K+=1)V[K].m(m,null);w(e,C),P=!0,A||(N=[le(l,"click",Lt(D)),le(e,"click",iy)],A=!0)},p(O,W){if(i=O,(!P||W[0]&4097)&&a!==(a=i[12](i[39])+"")&&Ie(o,a),(!P||W[0]&5&&d!==(d=dr(i[39],i[2])))&&f(l,"aria-selected",d),W[0]&49221){E=i[40];let K;for(K=0;K<E.length;K+=1){const X=Gg(i,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=Zg(X),V[K].c(),R(V[K],1),V[K].m(m,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!P||W[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||W[0]&5&&y!==(y=dr(i[39],i[2])))&&f(e,"isselected",y)},i(O){if(!P){for(let W=0;W<E.length;W+=1)R(V[W]);P=!0}},o(O){V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);P=!1},d(O){O&&T(e),st(V,O),A=!1,$e(N)}}}function $3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=xg(Kg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=Kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=xg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Yg(i){let e,t,n=i[43].label&&Qg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[21](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-menu__item")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function Zg(i){let e,t,n=!i[43].hideFromNav&&Yg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Yg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xg(i){let e,t,n=i[43].label&&$g(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=$g(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $g(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b,m,v;o=new Wn({props:{node:i[43]}});function C(){return i[19](i[43])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),b=!0,m||(v=le(t,"click",Lt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const A={};P[0]&1&&(A.node=i[43]),o.$set(A),(!b||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!b||P[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&f(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){B(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[43].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function e_(i){let e,t,n,l,r,a;const o=[$3,X3],c=[];function h(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(ny).length>0),t?1:-1)}return~(n=h(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=h(d,_),n===p?~n&&c[n].p(d,_):(l&&(we(),B(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~n&&c[n].d(d),d&&T(r)}}}function x3(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let V=i[40],U=[];for(let W=0;W<V.length;W+=1)U[W]=n_(Wg(i,V,W));const O=W=>B(U[W],1,1,()=>{U[W]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=q(),d=S("button"),_=S("i"),m=q(),v=S("ul");for(let W=0;W<U.length;W+=1)U[W].c();y=q(),f(l,"class","fd-nested-list__title svelte-16eupdq"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=dr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-16eupdq"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(W,K){L(W,e,K),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,_),w(e,m),w(e,v);for(let X=0;X<U.length;X+=1)U[X].m(v,null);w(e,y),P=!0,A||(N=[le(n,"click",Lt(D)),le(d,"click",Lt(E))],A=!0)},p(W,K){if(i=W,(!P||K[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(a,r),(!P||K[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||K[0]&5&&c!==(c=dr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||K[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||K[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",b),K[0]&49221){V=i[40];let X;for(X=0;X<V.length;X+=1){const ne=Wg(i,V,X);U[X]?(U[X].p(ne,K),R(U[X],1)):(U[X]=n_(ne),U[X].c(),R(U[X],1),U[X].m(v,null))}for(we(),X=V.length;X<U.length;X+=1)O(X);ke()}(!P||K[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",C)},i(W){if(!P){for(let K=0;K<V.length;K+=1)R(U[K]);P=!0}},o(W){U=U.filter(Boolean);for(let K=0;K<U.length;K+=1)B(U[K]);P=!1},d(W){W&&T(e),st(U,W),A=!1,$e(N)}}}function ey(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=i_(zg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=i_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function t_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[25](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function n_(i){let e,t,n=i[43].label&&t_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function i_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[22](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function l_(i){let e,t,n,l,r;const a=[ey,x3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ve()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?o[t].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){o[t].d(h),h&&T(l)}}}function ty(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Jg(i);return{c(){r&&r.c(),e=ve()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Jg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&T(e),n=!1,$e(l)}}}function dr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ny=i=>!i.hideFromNav&&i.label,iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:h=ye.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=_t("getTranslation");wi(i,C,Y=>t(12,n=Y));let y=_t("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:h,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(ce=>{ce==="pathData"?t(1,r=Y.pathData):ce==="context"?context=Y.context:ce==="children"?t(0,l=Y.children):ce==="selectedNode"?t(11,d=Y.selectedNode):ce==="selectedNodeForTabNav"&&t(2,_=Y.selectedNodeForTabNav)})}},N=zt();function D(Y){return ye.getNodeLabel(Y)}const E=async()=>{const Y=A.get(),ce=await Ft.getTabNavData({...Y},Y);!ce||(A.set({...ce}),o=r,window.LEFTNAVDATA=ce.groupedChildren,setTimeout(V))},V=()=>{U();let Y=document.getElementsByClassName("luigi-tabsContainer")[0],ce=document.getElementsByClassName("luigi-tabsMoreButton")[0],te=document.getElementsByClassName("luigi__more")[0],We,Ge=0,_e=!1,De,et;te&&te.setAttribute("aria-selected","false"),Y&&(We=Y.offsetWidth,[...Y.children].forEach(gt=>{De=gt.currentStyle||window.getComputedStyle(gt),et=parseFloat(De.marginLeft)+parseFloat(De.marginRight),Ge+=gt.offsetWidth+et;let Kt=gt.getAttribute("uid");Ge>=We?(gt.classList.add("hide_element"),gt.getAttribute("isSelected")==="true"&&te.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Kt+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+Kt+'"]').classList.add("hide_element")}),_e?ce.classList.remove("hide_element"):ce.classList.add("hide_element"))},U=()=>{let Y=document.getElementsByClassName("luigi-tabsContainer")[0];Y!==void 0&&[...Y.children].forEach(te=>{te.classList.remove("hide_element")})},O=()=>{P=new ResizeObserver(Y=>{for(const ce of Y)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ce.contentRect.height+"px")}),setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)})},W=()=>{P&&P.disconnect()};Yt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),O(),un.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Qr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),fs(()=>{W(),P?setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)}):O()});function K(Y){return be.getNodeHref(Y,a)}function X(Y){Pe(),N("handleClick",{node:Y})}function ne(Y){let ce={};p[Y]||(ce[Y]=!0),t(3,p=ce)}function Pe(){t(3,p={}),t(4,b=!1)}function ee(){U(),V()}function z(){t(4,b=!b)}const oe=Y=>X(Y),ie=Y=>ne(Y),j=Y=>X(Y),Le=Y=>X(Y),re=(Y,ce)=>ne(Y+ce),Ee=(Y,ce)=>ne(Y+ce),Se=Y=>X(Y),de=Y=>ne(Y.name);return i.$$set=Y=>{"children"in Y&&t(0,l=Y.children),"pathData"in Y&&t(1,r=Y.pathData),"pathParams"in Y&&t(17,a=Y.pathParams),"hideNavComponent"in Y&&t(16,c=Y.hideNavComponent),"virtualGroupPrefix"in Y&&t(5,h=Y.virtualGroupPrefix),"selectedNodeForTabNav"in Y&&t(2,_=Y.selectedNodeForTabNav),"dropDownStates"in Y&&t(3,p=Y.dropDownStates),"isMoreBtnExpanded"in Y&&t(4,b=Y.isMoreBtnExpanded),"resizeTabNavToggle"in Y&&t(18,m=Y.resizeTabNavToggle)},[l,r,_,p,b,h,X,ne,Pe,ee,z,d,n,C,D,K,c,a,m,oe,ie,j,Le,re,Ee,Se,de]}class ay extends Ot{constructor(e){super(),Mt(this,e,ry,ty,At,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function r_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function a_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function s_(i){let e,t,n,l,r,a=i[0]&&i[3].length>0&&o_(i),o=i[0]&&i[3].length>0&&d_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=q(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>0?a?a.p(c,h):(a=o_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>0?o?o.p(c,h):(o=d_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function o_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=c_(a_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=a_(l,t,a);n[a]?n[a].p(o,r):(n[a]=c_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function u_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&f_(i);function P(...A){return i[18](i[24],...A)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(t,"click",P),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function f_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?oy:sy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function sy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function oy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function c_(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&u_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=u_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function d_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=__(r_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=r_(l,t,a);n[a]?n[a].p(o,r):(n[a]=__(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function h_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&g_(i);function P(){return i[19](i[24])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(n,"click",Lt(P)),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function g_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function uy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function fy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function __(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&h_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=h_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function cy(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=ve()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[le(window,"click",us),le(window,"blur",us)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=s_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){l&&l.d(r),r&&T(e),t=!1,$e(n)}}}function us(){}function dy(i,e,t){let n;const l=zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=_t("store"),_=_t("getTranslation");wi(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const W=await ye.generateTopNavNodes(r);t(0,c=W.children),t(1,h=W.selectedNode),a=r}};Yt(()=>{un.doOnStoreChange(d,()=>{t(14,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(15,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!ae.getConfigBooleanValue("settings.btpToolLayout")),ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(W){return ye.renderIconClassName(W)}function P(W){return ye.isOpenUIiconName(W.icon)}function A(W){return vt.getTranslation(W.label)}function N(W){return W.testId?W.testId:ye.prepareForTests(W.pathSegment,W.label)}function D(W){return be.getNodeHref(W,o)}function E(W){l("handleClick",{node:W})}function V(W){E(W.detail.node)}const U=(W,K)=>{ye.handleNavAnchorClickedWithoutMetaKey(K)&&E(W)},O=W=>E(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,h=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,b=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,m=W.responsiveNavSetting)},[c,h,p,r,E,us,v,n,_,y,P,A,N,D,b,m,o,V,U,O]}class hy extends Ot{constructor(e){super(),Mt(this,e,dy,cy,At,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return us}}function gy(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-1kit7ok")},m(t,n){L(t,e,n),i[6](e)},p:qe,i:qe,o:qe,d(t){t&&T(e),i[6](null)}}}function _y(i,e,t){const n=zt();let{pathData:l}=e,r,a={},o,c=_t("store"),{showBreadcrumb:h}=e,{hideNavComponent:d}=e,{responsiveNavSetting:_}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=y=>{y.last||v(y.node)};Yt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=ae.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!y),h&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,h=!1):P.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const A=y.omitRoot?2:1,N=nt.getCurrentPath();for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(a[V])P.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)P.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?vt.getTranslation(E.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:E,route:V,pending:!0});else{const U=await m(E);U&&P.push({label:U,node:E,route:V})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,b),P=[];for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(E.titleResolver){const O=await Ft.extractDataFromPath(V),W=be.substituteDynamicParamsInObject(Object.assign({},O.pathData.context,E.context),O.pathData.pathParams);try{const K=await ye.fetchNodeTitleData(E,W);P.push({label:K.label,node:E,route:V});continue}catch{}}const U=await m(E);U&&P.push({label:U,node:E,route:V})}N===nt.getCurrentPath()&&(y.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),y.renderer(o,P,b)):y.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},P.map(D=>{a[D.route]=D}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function m(y){if(y.label&&!y._virtualTree)return vt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=be.mapPathToNode(nt.getCurrentPath(),y),A=await Ft.extractDataFromPath(P);return be.getDynamicNodeValue(y,A.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function v(y){n("handleClick",{node:y})}function C(y){Xe[y?"unshift":"push"](()=>{o=y,t(0,o)})}return i.$$set=y=>{"pathData"in y&&t(2,l=y.pathData),"showBreadcrumb"in y&&t(1,h=y.showBreadcrumb),"hideNavComponent"in y&&t(3,d=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,_=y.responsiveNavSetting)},[o,h,l,d,_,v,C]}class hp extends Ot{constructor(e){super(),Mt(this,e,_y,gy,At,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Do="not_checked";Vn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Do="disabled"):i.data==="luigi.tpcEnabled"&&(Do="enabled")},!1);function py(){return Do}const{Boolean:my,window:by}=Hi;function p_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function m_(i){let e,t;return e=new xw({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function b_(i){let e,t;function n(){return i[69](i[156])}function l(...a){return i[70](i[156],...a)}function r(...a){return i[71](i[156],...a)}return e=new ep({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function v_(i){let e,t,n=i[154].mfModal.displayed&&b_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=b_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function w_(i){let e,t;return e=new ep({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[vy]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function vy(i){let e,t;return e=new Bl({props:{area:"drawer",disable:i[13]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k_(i){let e,t;return e=new lk({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new kk({props:r}),Xe.push(()=>ft(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&262144&&(c.userSettingGroups=a[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function wy(i){let e,t,n,l,r,a,o,c;e=new Bl({props:{disable:i[13],$$slots:{default:[Sy]},$$scope:{ctx:i}}});let h=i[11]&&y_(),d=!i[25]&&P_(i),_=!i[21]&&N_(i),p=!(i[21]||i[22])&&T_(i),b=i[16]&&!i[21]&&L_(i);return{c(){Ue(e.$$.fragment),t=q(),h&&h.c(),n=q(),d&&d.c(),l=q(),_&&_.c(),r=q(),p&&p.c(),a=q(),b&&b.c(),o=ve()},m(m,v){Oe(e,m,v),L(m,t,v),h&&h.m(m,v),L(m,n,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&8192&&(C.disable=m[13]),v[0]&12288|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[11]?h||(h=y_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(we(),B(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=P_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[21]?_&&(we(),B(_,1,1,()=>{_=null}),ke()):_?(_.p(m,v),v[0]&2097152&&R(_,1)):(_=N_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[21]||m[22]?p&&(we(),B(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&6291456&&R(p,1)):(p=T_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[16]&&!m[21]?b?(b.p(m,v),v[0]&2162688&&R(b,1)):(b=L_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(we(),B(b,1,1,()=>{b=null}),ke())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){B(e.$$.fragment,m),B(d),B(_),B(p),B(b),c=!1},d(m){Fe(e,m),m&&T(t),h&&h.d(m),m&&T(n),d&&d.d(m),m&&T(l),_&&_.d(m),m&&T(r),p&&p.d(m),m&&T(a),b&&b.d(m),m&&T(o)}}}function ky(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m=!i[25]&&A_(i),v=!(i[21]||i[22])&&R_(i),C=i[20]&&E_(i);_=new Bl({props:{disable:i[13],$$slots:{default:[Cy]},$$scope:{ctx:i}}});let y=i[11]&&V_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=q(),a=S("div"),v&&v.c(),o=q(),c=S("div"),C&&C.c(),h=q(),d=S("div"),Ue(_.$$.fragment),p=q(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-6yngnc"),f(c,"class","fd-tool-layout__content-container svelte-6yngnc"),f(a,"class","fd-tool-layout__container lui-main-content svelte-6yngnc"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-6yngnc"),f(e,"class","lui-core-layout svelte-6yngnc")},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,h),w(c,d),Oe(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[25]?m&&(we(),B(m,1,1,()=>{m=null}),ke()):m?(m.p(P,A),A[0]&33554432&&R(m,1)):(m=A_(P),m.c(),R(m,1),m.m(l,null)),P[21]||P[22]?v&&(we(),B(v,1,1,()=>{v=null}),ke()):v?(v.p(P,A),A[0]&6291456&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(a,o)),P[20]?C?(C.p(P,A),A[0]&1048576&&R(C,1)):(C=E_(P),C.c(),R(C,1),C.m(c,h)):C&&(we(),B(C,1,1,()=>{C=null}),ke());const N={};A[0]&8192&&(N.disable=P[13]),A[0]&12288|A[5]&4&&(N.$$scope={dirty:A,ctx:P}),_.$set(N),P[11]?y||(y=V_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){B(m),B(v),B(C),B(_.$$.fragment,P),b=!1},d(P){P&&T(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(_),y&&y.d()}}}function C_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Sy(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&C_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-6yngnc"),f(e,"class","fd-page iframeContainer svelte-6yngnc"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=C_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function y_(i){let e;return{c(){e=S("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>
64
+ <span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=q(),p=S("div"),b=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),f(l,"class","tabsContainerWrapper svelte-16eupdq"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),f(p,"aria-hidden",m=!i[4]),f(h,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-16eupdq"),f(o,"class","luigi-tabsMoreButton svelte-16eupdq"),f(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-16eupdq"),f(e,"id","tabsContainer")},m(O,W){L(O,e,W),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let K=0;K<N.length;K+=1)N[K].m(r,null);w(n,a),w(n,o),w(o,c),w(c,h),w(h,d),w(h,_),w(h,p),w(p,b);for(let K=0;K<V.length;K+=1)V[K].m(b,null);v=!0,C||(y=[le(d,"click",Lt(i[10])),le(c,"click",l8),le(n,"toggleDropdownState",i[26])],C=!0)},p(O,W){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?P?(P.p(O,W),W[0]&2048&&R(P,1)):(P=jg(O),P.c(),R(P,1),P.m(e,t)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),W[0]&53485){A=Object.entries(O[0]);let K;for(K=0;K<A.length;K+=1){const X=qg(O,A,K);N[K]?(N[K].p(X,W),R(N[K],1)):(N[K]=e_(X),N[K].c(),R(N[K],1),N[K].m(r,null))}for(we(),K=A.length;K<N.length;K+=1)D(K);ke()}if(W[0]&53485){E=Object.entries(O[0]);let K;for(K=0;K<E.length;K+=1){const X=Hg(O,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=l_(X),V[K].c(),R(V[K],1),V[K].m(b,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!v||W[0]&16&&m!==(m=!O[4]))&&f(p,"aria-hidden",m)},i(O){if(!v){R(P);for(let W=0;W<A.length;W+=1)R(N[W]);for(let W=0;W<E.length;W+=1)R(V[W]);v=!0}},o(O){B(P),N=N.filter(Boolean);for(let W=0;W<N.length;W+=1)B(N[W]);V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);v=!1},d(O){O&&T(e),P&&P.d(),st(N,O),st(V,O),C=!1,$e(y)}}}function jg(i){let e,t;return e=new Z3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function X3(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[20](i[39])}let E=i[40],V=[];for(let O=0;O<E.length;O+=1)V[O]=Zg(Gg(i,E,O));const U=O=>B(V[O],1,1,()=>{V[O]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("span"),o=Ne(a),c=q(),h=S("span"),_=q(),p=S("div"),b=S("nav"),m=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=q(),f(r,"class","label fd-tabs__tag svelte-16eupdq"),f(h,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),f(l,"class","fd-tabs__link has-child svelte-16eupdq"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=dr(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-16eupdq"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=dr(i[39],i[2]))},m(O,W){L(O,e,W),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,h),w(t,_),w(t,p),w(p,b),w(b,m);for(let K=0;K<V.length;K+=1)V[K].m(m,null);w(e,C),P=!0,A||(N=[le(l,"click",Lt(D)),le(e,"click",i8)],A=!0)},p(O,W){if(i=O,(!P||W[0]&4097)&&a!==(a=i[12](i[39])+"")&&Ie(o,a),(!P||W[0]&5&&d!==(d=dr(i[39],i[2])))&&f(l,"aria-selected",d),W[0]&49221){E=i[40];let K;for(K=0;K<E.length;K+=1){const X=Gg(i,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=Zg(X),V[K].c(),R(V[K],1),V[K].m(m,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!P||W[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||W[0]&5&&y!==(y=dr(i[39],i[2])))&&f(e,"isselected",y)},i(O){if(!P){for(let W=0;W<E.length;W+=1)R(V[W]);P=!0}},o(O){V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);P=!1},d(O){O&&T(e),st(V,O),A=!1,$e(N)}}}function $3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=xg(Kg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=Kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=xg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Yg(i){let e,t,n=i[43].label&&Qg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[21](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-menu__item")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function Zg(i){let e,t,n=!i[43].hideFromNav&&Yg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Yg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xg(i){let e,t,n=i[43].label&&$g(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=$g(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $g(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b,m,v;o=new Wn({props:{node:i[43]}});function C(){return i[19](i[43])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),b=!0,m||(v=le(t,"click",Lt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const A={};P[0]&1&&(A.node=i[43]),o.$set(A),(!b||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!b||P[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&f(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){B(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[43].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function e_(i){let e,t,n,l,r,a;const o=[$3,X3],c=[];function h(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(n8).length>0),t?1:-1)}return~(n=h(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=h(d,_),n===p?~n&&c[n].p(d,_):(l&&(we(),B(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~n&&c[n].d(d),d&&T(r)}}}function x3(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let V=i[40],U=[];for(let W=0;W<V.length;W+=1)U[W]=n_(Wg(i,V,W));const O=W=>B(U[W],1,1,()=>{U[W]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=q(),d=S("button"),_=S("i"),m=q(),v=S("ul");for(let W=0;W<U.length;W+=1)U[W].c();y=q(),f(l,"class","fd-nested-list__title svelte-16eupdq"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=dr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-16eupdq"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(W,K){L(W,e,K),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,_),w(e,m),w(e,v);for(let X=0;X<U.length;X+=1)U[X].m(v,null);w(e,y),P=!0,A||(N=[le(n,"click",Lt(D)),le(d,"click",Lt(E))],A=!0)},p(W,K){if(i=W,(!P||K[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(a,r),(!P||K[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||K[0]&5&&c!==(c=dr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||K[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||K[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",b),K[0]&49221){V=i[40];let X;for(X=0;X<V.length;X+=1){const ne=Wg(i,V,X);U[X]?(U[X].p(ne,K),R(U[X],1)):(U[X]=n_(ne),U[X].c(),R(U[X],1),U[X].m(v,null))}for(we(),X=V.length;X<U.length;X+=1)O(X);ke()}(!P||K[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",C)},i(W){if(!P){for(let K=0;K<V.length;K+=1)R(U[K]);P=!0}},o(W){U=U.filter(Boolean);for(let K=0;K<U.length;K+=1)B(U[K]);P=!1},d(W){W&&T(e),st(U,W),A=!1,$e(N)}}}function e8(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=i_(zg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=i_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function t_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[25](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function n_(i){let e,t,n=i[43].label&&t_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function i_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[22](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function l_(i){let e,t,n,l,r;const a=[e8,x3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ve()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?o[t].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){o[t].d(h),h&&T(l)}}}function t8(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Jg(i);return{c(){r&&r.c(),e=ve()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Jg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&T(e),n=!1,$e(l)}}}function dr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const n8=i=>!i.hideFromNav&&i.label,i8=i=>i.stopPropagation(),l8=i=>i.stopPropagation();function r8(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:h=ye.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=_t("getTranslation");wi(i,C,Y=>t(12,n=Y));let y=_t("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:h,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(ce=>{ce==="pathData"?t(1,r=Y.pathData):ce==="context"?context=Y.context:ce==="children"?t(0,l=Y.children):ce==="selectedNode"?t(11,d=Y.selectedNode):ce==="selectedNodeForTabNav"&&t(2,_=Y.selectedNodeForTabNav)})}},N=zt();function D(Y){return ye.getNodeLabel(Y)}const E=async()=>{const Y=A.get(),ce=await Ft.getTabNavData({...Y},Y);!ce||(A.set({...ce}),o=r,window.LEFTNAVDATA=ce.groupedChildren,setTimeout(V))},V=()=>{U();let Y=document.getElementsByClassName("luigi-tabsContainer")[0],ce=document.getElementsByClassName("luigi-tabsMoreButton")[0],te=document.getElementsByClassName("luigi__more")[0],We,Ge=0,_e=!1,De,et;te&&te.setAttribute("aria-selected","false"),Y&&(We=Y.offsetWidth,[...Y.children].forEach(gt=>{De=gt.currentStyle||window.getComputedStyle(gt),et=parseFloat(De.marginLeft)+parseFloat(De.marginRight),Ge+=gt.offsetWidth+et;let Kt=gt.getAttribute("uid");Ge>=We?(gt.classList.add("hide_element"),gt.getAttribute("isSelected")==="true"&&te.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Kt+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+Kt+'"]').classList.add("hide_element")}),_e?ce.classList.remove("hide_element"):ce.classList.add("hide_element"))},U=()=>{let Y=document.getElementsByClassName("luigi-tabsContainer")[0];Y!==void 0&&[...Y.children].forEach(te=>{te.classList.remove("hide_element")})},O=()=>{P=new ResizeObserver(Y=>{for(const ce of Y)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ce.contentRect.height+"px")}),setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)})},W=()=>{P&&P.disconnect()};Yt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),O(),un.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Qr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),fs(()=>{W(),P?setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)}):O()});function K(Y){return be.getNodeHref(Y,a)}function X(Y){Pe(),N("handleClick",{node:Y})}function ne(Y){let ce={};p[Y]||(ce[Y]=!0),t(3,p=ce)}function Pe(){t(3,p={}),t(4,b=!1)}function ee(){U(),V()}function z(){t(4,b=!b)}const oe=Y=>X(Y),ie=Y=>ne(Y),j=Y=>X(Y),Le=Y=>X(Y),re=(Y,ce)=>ne(Y+ce),Ee=(Y,ce)=>ne(Y+ce),Se=Y=>X(Y),de=Y=>ne(Y.name);return i.$$set=Y=>{"children"in Y&&t(0,l=Y.children),"pathData"in Y&&t(1,r=Y.pathData),"pathParams"in Y&&t(17,a=Y.pathParams),"hideNavComponent"in Y&&t(16,c=Y.hideNavComponent),"virtualGroupPrefix"in Y&&t(5,h=Y.virtualGroupPrefix),"selectedNodeForTabNav"in Y&&t(2,_=Y.selectedNodeForTabNav),"dropDownStates"in Y&&t(3,p=Y.dropDownStates),"isMoreBtnExpanded"in Y&&t(4,b=Y.isMoreBtnExpanded),"resizeTabNavToggle"in Y&&t(18,m=Y.resizeTabNavToggle)},[l,r,_,p,b,h,X,ne,Pe,ee,z,d,n,C,D,K,c,a,m,oe,ie,j,Le,re,Ee,Se,de]}class a8 extends Ot{constructor(e){super(),Mt(this,e,r8,t8,At,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function r_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function a_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function s_(i){let e,t,n,l,r,a=i[0]&&i[3].length>0&&o_(i),o=i[0]&&i[3].length>0&&d_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=q(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>0?a?a.p(c,h):(a=o_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>0?o?o.p(c,h):(o=d_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function o_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=c_(a_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=a_(l,t,a);n[a]?n[a].p(o,r):(n[a]=c_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function u_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&f_(i);function P(...A){return i[18](i[24],...A)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(t,"click",P),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function f_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?o8:s8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function s8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function o8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function c_(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&u_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=u_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function d_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=__(r_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=r_(l,t,a);n[a]?n[a].p(o,r):(n[a]=__(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function h_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&g_(i);function P(){return i[19](i[24])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(n,"click",Lt(P)),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function g_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?f8:u8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function u8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function f8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function __(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&h_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=h_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function c8(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=ve()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[le(window,"click",us),le(window,"blur",us)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=s_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){l&&l.d(r),r&&T(e),t=!1,$e(n)}}}function us(){}function d8(i,e,t){let n;const l=zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=_t("store"),_=_t("getTranslation");wi(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const W=await ye.generateTopNavNodes(r);t(0,c=W.children),t(1,h=W.selectedNode),a=r}};Yt(()=>{un.doOnStoreChange(d,()=>{t(14,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(15,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!ae.getConfigBooleanValue("settings.btpToolLayout")&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(W){return ye.renderIconClassName(W)}function P(W){return ye.isOpenUIiconName(W.icon)}function A(W){return vt.getTranslation(W.label)}function N(W){return W.testId?W.testId:ye.prepareForTests(W.pathSegment,W.label)}function D(W){return be.getNodeHref(W,o)}function E(W){l("handleClick",{node:W})}function V(W){E(W.detail.node)}const U=(W,K)=>{ye.handleNavAnchorClickedWithoutMetaKey(K)&&E(W)},O=W=>E(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,h=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,b=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,m=W.responsiveNavSetting)},[c,h,p,r,E,us,v,n,_,y,P,A,N,D,b,m,o,V,U,O]}class h8 extends Ot{constructor(e){super(),Mt(this,e,d8,c8,At,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return us}}function g8(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-1kit7ok")},m(t,n){L(t,e,n),i[6](e)},p:qe,i:qe,o:qe,d(t){t&&T(e),i[6](null)}}}function _8(i,e,t){const n=zt();let{pathData:l}=e,r,a={},o,c=_t("store"),{showBreadcrumb:h}=e,{hideNavComponent:d}=e,{responsiveNavSetting:_}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=y=>{y.last||v(y.node)};Yt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=ae.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!y),h&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,h=!1):P.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const A=y.omitRoot?2:1,N=nt.getCurrentPath();for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(a[V])P.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)P.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?vt.getTranslation(E.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:E,route:V,pending:!0});else{const U=await m(E);U&&P.push({label:U,node:E,route:V})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,b),P=[];for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(E.titleResolver){const O=await Ft.extractDataFromPath(V),W=be.substituteDynamicParamsInObject(Object.assign({},O.pathData.context,E.context),O.pathData.pathParams);try{const K=await ye.fetchNodeTitleData(E,W);P.push({label:K.label,node:E,route:V});continue}catch{}}const U=await m(E);U&&P.push({label:U,node:E,route:V})}N===nt.getCurrentPath()&&(y.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),y.renderer(o,P,b)):y.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},P.map(D=>{a[D.route]=D}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function m(y){if(y.label&&!y._virtualTree)return vt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=be.mapPathToNode(nt.getCurrentPath(),y),A=await Ft.extractDataFromPath(P);return be.getDynamicNodeValue(y,A.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function v(y){n("handleClick",{node:y})}function C(y){Xe[y?"unshift":"push"](()=>{o=y,t(0,o)})}return i.$$set=y=>{"pathData"in y&&t(2,l=y.pathData),"showBreadcrumb"in y&&t(1,h=y.showBreadcrumb),"hideNavComponent"in y&&t(3,d=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,_=y.responsiveNavSetting)},[o,h,l,d,_,v,C]}class hp extends Ot{constructor(e){super(),Mt(this,e,_8,g8,At,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Do="not_checked";Vn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Do="disabled"):i.data==="luigi.tpcEnabled"&&(Do="enabled")},!1);function p8(){return Do}const{Boolean:m8,window:b8}=Hi;function p_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function m_(i){let e,t;return e=new xw({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function b_(i){let e,t;function n(){return i[69](i[156])}function l(...a){return i[70](i[156],...a)}function r(...a){return i[71](i[156],...a)}return e=new ep({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function v_(i){let e,t,n=i[154].mfModal.displayed&&b_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=b_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function w_(i){let e,t;return e=new ep({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[v8]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function v8(i){let e,t;return e=new Bl({props:{area:"drawer",disable:i[13]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k_(i){let e,t;return e=new lk({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new kk({props:r}),Xe.push(()=>ft(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&262144&&(c.userSettingGroups=a[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function w8(i){let e,t,n,l,r,a,o,c;e=new Bl({props:{disable:i[13],$$slots:{default:[S8]},$$scope:{ctx:i}}});let h=i[11]&&y_(),d=!i[25]&&P_(i),_=!i[21]&&N_(i),p=!(i[21]||i[22])&&T_(i),b=i[16]&&!i[21]&&L_(i);return{c(){Ue(e.$$.fragment),t=q(),h&&h.c(),n=q(),d&&d.c(),l=q(),_&&_.c(),r=q(),p&&p.c(),a=q(),b&&b.c(),o=ve()},m(m,v){Oe(e,m,v),L(m,t,v),h&&h.m(m,v),L(m,n,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&8192&&(C.disable=m[13]),v[0]&12288|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[11]?h||(h=y_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(we(),B(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=P_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[21]?_&&(we(),B(_,1,1,()=>{_=null}),ke()):_?(_.p(m,v),v[0]&2097152&&R(_,1)):(_=N_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[21]||m[22]?p&&(we(),B(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&6291456&&R(p,1)):(p=T_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[16]&&!m[21]?b?(b.p(m,v),v[0]&2162688&&R(b,1)):(b=L_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(we(),B(b,1,1,()=>{b=null}),ke())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){B(e.$$.fragment,m),B(d),B(_),B(p),B(b),c=!1},d(m){Fe(e,m),m&&T(t),h&&h.d(m),m&&T(n),d&&d.d(m),m&&T(l),_&&_.d(m),m&&T(r),p&&p.d(m),m&&T(a),b&&b.d(m),m&&T(o)}}}function k8(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m=!i[25]&&A_(i),v=!(i[21]||i[22])&&R_(i),C=i[20]&&E_(i);_=new Bl({props:{disable:i[13],$$slots:{default:[C8]},$$scope:{ctx:i}}});let y=i[11]&&V_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=q(),a=S("div"),v&&v.c(),o=q(),c=S("div"),C&&C.c(),h=q(),d=S("div"),Ue(_.$$.fragment),p=q(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-19li1e6"),f(c,"class","fd-tool-layout__content-container svelte-19li1e6"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-19li1e6"),f(e,"class","lui-core-layout svelte-19li1e6")},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,h),w(c,d),Oe(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[25]?m&&(we(),B(m,1,1,()=>{m=null}),ke()):m?(m.p(P,A),A[0]&33554432&&R(m,1)):(m=A_(P),m.c(),R(m,1),m.m(l,null)),P[21]||P[22]?v&&(we(),B(v,1,1,()=>{v=null}),ke()):v?(v.p(P,A),A[0]&6291456&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(a,o)),P[20]?C?(C.p(P,A),A[0]&1048576&&R(C,1)):(C=E_(P),C.c(),R(C,1),C.m(c,h)):C&&(we(),B(C,1,1,()=>{C=null}),ke());const N={};A[0]&8192&&(N.disable=P[13]),A[0]&12288|A[5]&4&&(N.$$scope={dirty:A,ctx:P}),_.$set(N),P[11]?y||(y=V_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){B(m),B(v),B(C),B(_.$$.fragment,P),b=!1},d(P){P&&T(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(_),y&&y.d()}}}function C_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S8(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&C_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-19li1e6"),f(e,"class","fd-page iframeContainer svelte-19li1e6"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=C_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function y_(i){let e;return{c(){e=S("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>
65
65
  <div class="fd-busy-indicator__circle"></div>
66
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-6yngnc"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function P_(i){let e,t,n,l,r,a,o,c;function h(C){i[81](C)}function d(C){i[82](C)}function _(C){i[83](C)}function p(C){i[84](C)}function b(C){i[85](C)}function m(C){i[86](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function N_(i){let e,t,n,l;e=new hy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]);let r=i[20]&&I_(i);return{c(){Ue(e.$$.fragment),t=q(),r&&r.c(),n=ve()},m(a,o){Oe(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&32768&&(c.pathData=a[15]),o[0]&16384&&(c.pathParams=a[14]),e.$set(c),a[20]?r?(r.p(a,o),o[0]&1048576&&R(r,1)):(r=I_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){B(e.$$.fragment,a),B(r),l=!1},d(a){Fe(e,a),a&&T(t),r&&r.d(a),a&&T(n)}}}function I_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(i){let e,t;return e=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new ay({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t,n,l,r,a,o,c;function h(C){i[75](C)}function d(C){i[76](C)}function _(C){i[77](C)}function p(C){i[78](C)}function b(C){i[79](C)}function m(C){i[80](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function R_(i){let e,t,n,l;return n=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-6yngnc"),f(e,"class","fd-tool-layout__navigation-container svelte-6yngnc")},m(r,a){L(r,e,a),w(e,t),Oe(n,t,null),l=!0},p(r,a){const o={};a[0]&32768&&(o.pathData=r[15]),a[0]&16384&&(o.pathParams=r[14]),a[0]&524288&&(o.burgerTooltip=r[19]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){B(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function E_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Cy(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&D_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-6yngnc"),f(e,"class","fd-page iframeContainer svelte-6yngnc"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=D_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function V_(i){let e;return{c(){e=S("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>
66
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-19li1e6"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function P_(i){let e,t,n,l,r,a,o,c;function h(C){i[81](C)}function d(C){i[82](C)}function _(C){i[83](C)}function p(C){i[84](C)}function b(C){i[85](C)}function m(C){i[86](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function N_(i){let e,t,n,l;e=new h8({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]);let r=i[20]&&I_(i);return{c(){Ue(e.$$.fragment),t=q(),r&&r.c(),n=ve()},m(a,o){Oe(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&32768&&(c.pathData=a[15]),o[0]&16384&&(c.pathParams=a[14]),e.$set(c),a[20]?r?(r.p(a,o),o[0]&1048576&&R(r,1)):(r=I_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){B(e.$$.fragment,a),B(r),l=!1},d(a){Fe(e,a),a&&T(t),r&&r.d(a),a&&T(n)}}}function I_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(i){let e,t;return e=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new a8({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t,n,l,r,a,o,c;function h(C){i[75](C)}function d(C){i[76](C)}function _(C){i[77](C)}function p(C){i[78](C)}function b(C){i[79](C)}function m(C){i[80](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function R_(i){let e,t,n,l;return n=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-19li1e6"),f(e,"class","fd-tool-layout__navigation-container svelte-19li1e6")},m(r,a){L(r,e,a),w(e,t),Oe(n,t,null),l=!0},p(r,a){const o={};a[0]&32768&&(o.pathData=r[15]),a[0]&16384&&(o.pathParams=r[14]),a[0]&524288&&(o.burgerTooltip=r[19]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){B(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function E_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C8(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&D_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-19li1e6"),f(e,"class","fd-page iframeContainer svelte-19li1e6"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=D_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function V_(i){let e;return{c(){e=S("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>
67
67
  <div class="fd-busy-indicator__circle"></div>
68
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-6yngnc"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function yy(i){let e,t,n,l,r,a,o,c,h,d,_,p,b=i[26]&&i[26].length&&m_(i),m=i[28],v=[];for(let V=0;V<m.length;V+=1)v[V]=v_(p_(i,m,V));const C=V=>B(v[V],1,1,()=>{v[V]=null});let y=i[29].displayed&&i[29].settings.isDrawer&&w_(i),P=i[27].displayed&&k_(i),A=i[18].displayed&&S_(i);const N=[ky,wy],D=[];function E(V,U){return V[30]?0:1}return o=E(i),c=D[o]=N[o](i),{c(){e=S("div"),b&&b.c(),t=q();for(let V=0;V<v.length;V+=1)v[V].c();n=q(),y&&y.c(),l=q(),P&&P.c(),r=q(),A&&A.c(),a=q(),c.c(),f(e,"id","app"),f(e,"class",h=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-6yngnc"),f(e,"configversion",i[24])},m(V,U){L(V,e,U),b&&b.m(e,null),w(e,t);for(let O=0;O<v.length;O+=1)v[O].m(e,null);w(e,n),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),A&&A.m(e,null),w(e,a),D[o].m(e,null),d=!0,_||(p=le(by,"resize",i[36]),_=!0)},p(V,U){if(V[26]&&V[26].length?b?(b.p(V,U),U[0]&67108864&&R(b,1)):(b=m_(V),b.c(),R(b,1),b.m(e,t)):b&&(we(),B(b,1,1,()=>{b=null}),ke()),U[0]&268443648|U[1]&1792){m=V[28];let O;for(O=0;O<m.length;O+=1){const W=p_(V,m,O);v[O]?(v[O].p(W,U),R(v[O],1)):(v[O]=v_(W),v[O].c(),R(v[O],1),v[O].m(e,n))}for(we(),O=m.length;O<v.length;O+=1)C(O);ke()}V[29].displayed&&V[29].settings.isDrawer?y?(y.p(V,U),U[0]&536870912&&R(y,1)):(y=w_(V),y.c(),R(y,1),y.m(e,l)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),V[27].displayed?P?(P.p(V,U),U[0]&134217728&&R(P,1)):(P=k_(V),P.c(),R(P,1),P.m(e,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),V[18].displayed?A?(A.p(V,U),U[0]&262144&&R(A,1)):(A=S_(V),A.c(),R(A,1),A.m(e,a)):A&&(we(),B(A,1,1,()=>{A=null}),ke()),c.p(V,U),(!d||U[0]&48234496&&h!==(h=(V[21]?"no-nav":"")+" "+(V[22]?"no-side-nav":"")+" "+(V[25]?"no-top-nav":"")+" "+(V[23]?"no-animation":"")+" svelte-6yngnc"))&&f(e,"class",h),(!d||U[0]&16777216)&&f(e,"configversion",V[24])},i(V){if(!d){R(b);for(let U=0;U<m.length;U+=1)R(v[U]);R(y),R(P),R(A),R(c),d=!0}},o(V){B(b),v=v.filter(my);for(let U=0;U<v.length;U+=1)B(v[U]);B(y),B(P),B(A),B(c),d=!1},d(V){V&&T(e),b&&b.d(),st(v,V),y&&y.d(),P&&P.d(),A&&A.d(),D[o].d(),_=!1,p()}}}function Py(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,_,p,b,m,v,C,y,P,A,N,D,E,V,U,O,W,K,X,ne,Pe=!0,ee=!1,z,oe,ie,j=[],Le={isDirty:!1,persistUrl:null},re,Ee,Se=!1,de,Y,ce={},te,We,Ge,_e=ae.getConfigBooleanValue("settings.btpToolLayout"),{isSearchFieldVisible:De}=e,{inputElem:et}=e,{luigiCustomSearchRenderer__slot:Rt}=e,{displaySearchResult:gt}=e,{displayCustomSearchResult:Kt=!0}=e,{searchResult:_n}=e,{storedUserSettings:Et}=e;const ui=async H=>{const fe=H.iframe.luigi,Me=fe.currentNode&&fe.currentNode.userSettingsGroup,Je=await ae.readUserSettings(),Ae=Me&&typeof Je=="object"&&Je!==null,he=Re.applyCoreStateData({isNavigateBack:ee,viewStackSize:j.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ae?Je[Me]:null,anchor:ol.getAnchor(),cssVariables:await Eo.getCSSVariables()});return Re.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{he[He]=H[He]||!1}),he},Nn=async(H,fe={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const Me={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||N,fe)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||D)),pathParams:JSON.stringify(Object.assign({},H.pathParams||E)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await ui(H)),authData:ul.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=Me,Re.sendMessageToIframe(H.iframe,Me)},pn=H=>{const fe={msg:"luigi.auth.tokenIssued",authData:H};Re.broadcastMessageToAllIframes(fe)},an=(H,fe)=>{if(H.params.preserveView||H.params.viewgroup){const Me=bn(H.params),Je=nt.getNodePath(U,V);j.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?se.replaceVars(Je,fe.iframe.luigi.pathParams,":",!1):Je,nextPath:Me.startsWith("/")?Me:"/"+Me,context:N}),fe.iframe.pv="pv"}},In=(H,fe,Me,Je)=>{let Ae=bn(H.params,Me,Je);const{preventHistoryEntry:he,preserveQueryParams:He,preventContextUpdate:mt}=H.params,Bt={keepBrowserHistory:!he,navSync:Pe,preventContextUpdate:mt};return Ae=se.addLeadingSlash(Ae),Ae=He?be.composeSearchParamsToRoute(Ae):Ae,an(H,fe),nt.navigateTo(Ae,Bt)},It=H=>H.split("?")[0],dl=(H,fe)=>{if(H.length===0)return!1;const Me=fe.startsWith("/")?fe:`/${fe}`,Je=[...H].pop();return[It(Je.path),It(Je.nextPath)].includes(It(Me))},ti=H=>{Le&&Le.dirtySet&&(H?Le.dirtySet.delete(H):Le.dirtySet.clear())},mn=H=>new Promise((fe,Me)=>{Ii(H)?Gl().then(()=>{ti(),fe()},()=>{Me()}):fe()}),Qt=()=>({get:()=>({unsavedChanges:Le,hideNav:ml,viewUrl:O,nodeParams:D,viewGroup:W,urlParamsRaw:V,currentNode:U,navigationPath:oe,context:N,pathParams:E,hideSideNav:qi,isolateView:K,pageErrorHandler:X,previousNodeValues:ne,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:Ee,isNavigateBack:ee,goBackContext:z,isNavigationSyncEnabled:Pe}),set:H=>{H&&(t(23,bl=!1),Object.getOwnPropertyNames(H).forEach(fe=>{fe==="hideNav"?t(21,ml=H.hideNav):fe==="viewUrl"?O=H.viewUrl:fe==="nodeParams"?D=H.nodeParams:fe==="viewGroup"?W=H.viewGroup:fe==="urlParamsRaw"?V=H.urlParamsRaw:fe==="currentNode"?U=H.currentNode:fe==="navigationPath"?t(15,oe=H.navigationPath):fe==="context"?N=H.context:fe==="pathParams"?t(14,E=H.pathParams):fe==="hideSideNav"?(qi!=H.hideSideNav&&(t(23,bl=!0),setTimeout(()=>{const Me=document.querySelector("#app");Me&&Me.classList.remove("no-animation")})),t(22,qi=H.hideSideNav)):fe==="isolateView"?K=H.isolateView:fe==="pageErrorHandler"?X=H.pageErrorHandler:fe==="previousNodeValues"?ne=H.previousNodeValues:fe==="mfSplitView"?t(12,o=H.mfSplitView):fe==="splitViewValues"?c=H.splitViewValues:fe==="splitViewIframe"?C=H.splitViewIframe:fe=="splitViewWC"?P=H.splitViewWC:fe==="showLoadingIndicator"?H.showLoadingIndicator===!0?Ge=setTimeout(()=>{t(11,a=!0)},250):(t(11,a=!1),clearTimeout(Ge)):fe==="tabNav"?t(16,Ee=H.tabNav):fe==="isNavigateBack"?ee=H.isNavigateBack:fe==="goBackContext"?z=H.goBackContext:fe==="isNavigationSyncEnabled"&&(Pe=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ii,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:Gl,showAlert:wl,prepareInternalData:ui,dispatch:n}),qn=(H,fe)=>{un.doOnStoreChange(l,()=>{const Me=document.querySelector(".wcContainer");Me&&(Me.configChangedRequest=!0),Hn.deleteCache();const Je=nt.getCurrentPath();nt.handleRouteChange(Je,Qt(),H,fe)},["navigation.nodes"]),be.addRouteChangeListener((Me,Je)=>{const{withoutSync:Ae,preventContextUpdate:he}=Je||{};dl(j,Me)||(j=[],En.removeInactiveIframes(H));for(let mt=pt.length;mt--;)Pt(mt);Zr.removeBackdrop(),$(),nt.handleRouteChange(Me,Qt(),H,fe,Ae,he)})},en=(H,fe)=>se.replaceVars(nt.getNodePath(H),fe,":",!1),bn=(H,fe,Me)=>{const Je=fe||U,Ae=Me||E;let he=oe;if(fe){let mt=fe.parent;for(he=[fe];mt;)he.push(mt),mt=mt.parent;he=[...he].reverse()}let He=H.link;if(H.fromVirtualTreeRoot){const mt=[...he].reverse().find(Bt=>Bt.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromParent)He=nt.concatenatePath(en(Je.parent,Ae),H.link);else if(H.fromClosestContext){const mt=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromContext){const mt=H.fromContext,Bt=[...he].reverse().find(Nr=>mt===Nr.navigationContext);He=nt.concatenatePath(en(Bt,Ae),H.link)}else H.intent?He=be.getIntentPath(H.link):H.relative&&(He=nt.concatenatePath(en(Je,Ae),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Bt)=>{He+=encodeURIComponent(be.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Bt<Object.keys(H.nodeParams).length-1?"&":"")})),He},fi=H=>{const fe=H.detail.node;mn().then(()=>{if(zl(),fe.openNodeInModal){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);ji(Me,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,kr(Me,fe.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),nt.handleRouteClick(fe,Qt())},()=>{})},ki=()=>{t(17,Se=!Se)};Gr("handleNavigation",In);const fn=H=>H?!0:(console.warn("No search provider defined."),!1),Si=()=>{fn(Y)&&t(0,De=!1)},Ci=()=>{fn(Y)&&et&&(t(0,De=!0),et.focus())},yi=()=>{fn(Y)&&et&&(t(1,et.value="",et),Ni())},Pi=()=>{t(0,De=!De),Cw.clearSearchField()},hl=()=>{if(fn(Y)&&et)return et.value},gl=H=>{fn(Y)&&et&&(t(1,et.value=H,et),se.isFunction(Y.onInput)?Y.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{fn(Y)&&et&&t(1,et.placeholder=H,et)},Wi=H=>{if(fn(Y))if(H&&H.length>0)if(se.isFunction(Y.customSearchResultRenderer)){t(4,Kt=!0);let fe={fireItemSelected:Me=>{Y.onSearchResultItemSelected(Me)}};Y.customSearchResultRenderer(H,Rt,fe)}else t(3,gt=!0),t(5,_n=H);else console.warn("Search result array is empty.")},Ni=()=>{if(fn(Y)&&(t(3,gt=!1),t(5,_n=[]),Rt))for(;Rt.lastElementChild;)Rt.removeChild(Rt.lastElementChild)},pl=H=>{let fe=H.detail.node,Me={params:{link:fe.link,nodeParams:fe.params}};In(Me)},zi=(H,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=at.getDefaultData().mfSplitView),at.open(Qt(),H,fe)},$=()=>{at.close(Qt())},Te=()=>{at.collapse(Qt()),t(12,o.collapsed=!0,o)},ct=()=>{at.expand(Qt()),t(12,o.collapsed=!1,o)},Tt=()=>o.displayed?o.collapsed:!1,yt=()=>o.displayed?!o.collapsed:!1,sn=()=>o.displayed,vn=H=>{C=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(12,o.collapsed=H.detail.collapsed,o)},ci=H=>{H.detail.displayed!==void 0&&t(12,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(12,o.collapsed=H.detail.collapsed,o)},Gn=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(12,o.collapsed=H.detail.collapsed,o)};let ml,qi,bl,Gi,Hl,Wl;const zl=()=>{document.body.classList.remove("lui-leftNavToggle")},br=()=>{yl();const H=window.innerWidth>=xt.desktopMinWidth&&Gi<xt.desktopMinWidth,fe=window.innerWidth<xt.desktopMinWidth&&Gi>=xt.desktopMinWidth;(H||fe)&&zl(),Gi=window.innerWidth};let wn=[];const vl=(H,fe)=>{if(!(!H||!(H.length>0)))return H.filter(Me=>Me.settings.id===fe)[0]},wl=(H,fe=!1)=>{const Me=ae.getConfigValue("settings.customAlertHandler");if(se.isFunction(Me)){const Ae=Me(H,fe);if(Ae!==!1)return Ae}const Je=wn;return H.id||(H.id=se.getRandomId()),H.id&&Je&&vl(Je,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{vl(wn,H.id)&&ql(H.id)},H.closeAfter),new Promise((Ae,he)=>{t(26,wn=[...Je||[],{displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Ae}}])}))},ql=(H,fe)=>{const Me=vl(wn,H);if(!Me){console.error("An unexisting alert has been dismissed.",wn,H);return}if(t(26,wn=wn.filter(Je=>Je.settings.id!==H)),Me.openFromClient){const Je=En.getActiveIframe(ie),Ae={msg:"luigi.ux.alert.hide",id:H,dismissKey:fe};Re.sendMessageToIframe(Je,Ae)}else Me.promise&&Me.promise.resolve(fe||H)},vr=H=>{ql(H.detail.id,H.detail.dismissKey)};let Ki;const kl=()=>{t(27,Ki={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const di=(H,fe=!1,Me)=>new Promise((Je,Ae)=>{t(27,Ki={displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Je,reject:Ae},targetIframe:Me})}),Sl=H=>{const{promise:fe,openFromClient:Me,targetIframe:Je}=Ki;if(kl(),H?fe.resolve():fe.reject(),Me&&Je){const Ae={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Re.sendMessageToIframe(Je,Ae)}},Ii=H=>{if(Le.dirtySet){if(H)return Le.dirtySet.has(H);if(Le.dirtySet.size>0)return!0}return!1},Gl=()=>di({header:vt.getTranslation("luigi.unsavedChangesAlert.header"),body:vt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:vt.getTranslation("luigi.button.dismiss"),buttonConfirm:vt.getTranslation("luigi.button.confirm")}),wr=()=>Le.dirtySet?Le.dirtySet.size>0:Le.isDirty;Gr("getUnsavedChangesModalPromise",mn);let pt=[];const Ji=H=>{if(typeof H>"u"){t(28,pt=[]);return}t(28,pt=pt.filter((fe,Me)=>H!==Me))};Ji();const ji=async(H,fe)=>{if(await ye.shouldPreventNavigationForPath(H))return;const Me={mfModal:{displayed:!0,nodepath:H,settings:fe}};t(28,pt=[...pt,Me]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.appendModalDataToUrl(H,fe)},Cl=(H,fe)=>{t(28,pt[fe].modalIframe=H.detail.modalIframe,pt),t(28,pt[fe].modalIframeData=H.detail.modalIframeData,pt)},Q=(H,fe)=>{t(28,pt[fe].modalWC=H.detail.modalWC,pt),t(28,pt[fe].modalWCData=H.detail.modalWCData,pt)},Pt=(H,fe,Me)=>{const Je=(He,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.removeModalDataFromUrl(mt),Ji(He)},Ae=pt[H],he=se.getRemotePromise(Ae.mfModal.settings.onClosePromiseId);Ae&&Ae.modalIframe?mn(Ae.modalIframe.contentWindow).then(()=>{Je(H,fe),he&&he.doResolve(Me)},()=>{}):Ae&&Ae.modalWC&&(Je(H,fe),he&&he.doResolve(Me))};Gr("openViewInModal",ji);let kt={};const Kn=()=>{t(29,kt.displayed=!1,kt),t(29,kt.nodepath=void 0,kt),t(29,kt.settings={},kt),t(13,_=!1)};Kn();const kr=async(H,fe)=>{await ye.shouldPreventNavigationForPath(H)||(t(29,kt.displayed=!0,kt),t(29,kt.nodepath=H,kt),t(29,kt.settings=fe,kt),kt.settings&&kt.settings.backdrop&&t(13,_=!0))},Xr=()=>window.innerWidth>=xt.desktopMinWidth&&kt.displayed&&kt.settings&&!kt.settings.overlap,yl=()=>{if(!Xr())return;const H=document.querySelector(".iframeModalCtn._drawer"),fe=Re.getCurrentMicrofrontendIframe();if(H&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Me}=getComputedStyle(H),Je=fe.clientWidth;fe.setAttribute("style",`width: calc(${Je}px - ${Me})`)}},Sr=H=>{p=H.detail.modalIframe,b=H.detail.modalIframeData,yl()},cs=H=>{m=H.detail.modalWC,H.detail.modalWCData,yl()},$r=H=>{d=H.detail.activeDrawer},Yi=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{Kn()},()=>{}):m&&mn().then(()=>{Kn()},()=>{}),Re.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},xr=()=>{const H=cr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(18,ce.userSettingGroups=[...H],ce),t(18,ce.displayed=!0,ce)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(18,ce.displayed=!1,ce)},ea=async H=>{if(await ye.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},ta=H=>{let fe=oe;if(U){let Ae=U.parent;for(fe=[U];Ae;)fe.push(Ae),Ae=Ae.parent;fe=[...fe].reverse()}let Me=H.link,Je=en(U,E);if(H.fromVirtualTreeRoot){const Ae=[...fe].reverse().find(He=>He.virtualTree);if(!Ae){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromParent){const Ae=en(U.parent,E);Me=Je.split(Ae).join("")}else if(H.fromClosestContext){const Ae=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromContext){const Ae=H.fromContext,he=[...fe].reverse().find(mt=>Ae===mt.navigationContext),He=en(he,E);Me=Je.split(He).join("")}else Me=Je;return Me};function Cr(H){sessionStorage.removeItem("historyState"),ur.shouldPreload=!0,ur.preload(!0),ur.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),Me=ae.getConfigValue("navigation.defaults.pageErrorHandler"),Je=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ae={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Me};vt.addCurrentLocaleChangeListener(he=>{const He={msg:"luigi.current-locale-changed",currentLocale:he};Re.broadcastMessageToAllIframes(He)}),Vn.addEventListener("popstate",async he=>{const He=wn;if(!He||!(He.length>0))return;const mt=He.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(26,wn=mt)}),Vn.addEventListener("message",async he=>{const He=Re.getValidMessageSource(he),mt=pt[pt.length-1],Bt=mt&&mt.modalIframe,Nr=mt&&mt.modalIframeData,Zi={modalIframe:Bt,modalIframeData:Nr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!He)return;He._ready=!0;const Ir=Re.getSpecialIframeMessageSource(he,Zi),Ti=Ir&&Ir.length>0,Tr=ae.getConfigValue("communication.skipEventsWhenInactive");if(Tr&&Tr.length>0&&!Ti&&He.contentWindow!==window&&!se.isElementVisible(He)&&Tr.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=ae.getConfigValue("communication.customMessagesListeners")||{},St=rs.convertCustomMessageInternalToUser(he.data),bt=Be[St.id],Zt="luigi.updateUserSettings";if(ce&&St.id===Zt){bt&&console.warn(`The key "${Zt}" is not allowed to use for custom messages.`);return}if(typeof bt=="function"){const kn=si.getMicrofrontends().find(qt=>Re.isMessageSource(he,qt.container));bt(St,kn,se.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${St.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ae.navigateOk=!0,ur.preload()),he.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=he.data.clientVersion,He.luigi.initOk=!1,Ti)Ir.forEach(async Be=>{let St=Zi[Be.dataKey].context;const bt={...Ae,iframe:Zi[Be.iframeKey],context:St,pathParams:Zi[Be.dataKey].pathParams,nodeParams:Zi[Be.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Zi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Nn(bt,{})});else if(Ae.iframe&&Re.isMessageSource(he,Ae.iframe))await Nn(Ae,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&ia(),ur.preload();else if(He.luigi.preloading)await Nn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let St=Be.getAttribute("userSettingsGroup"),bt={context:{userSettingsData:Et[St]},iframe:Be};await Nn(bt)}}ur.viewGroupLoaded(He)}if(he.data.msg==="luigi.show-loading-indicator"&&t(11,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ge),t(11,a=!1)),he.data.msg==="luigi.navigation.open"){ee=!1;const Be=window.location.href,St=Ti?He.luigi.currentNode:void 0,bt=Ti?He.luigi.pathParams:void 0,Zt=he.data.params,{intent:kn,newTab:qt,modal:Xi,splitView:Jl,drawer:Pl,withoutSync:Ss}=Zt;let jl=qt||Xi||Jl||Pl;const ca=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doResolve()},tn=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doReject()},Nl=Jn=>{!Jn||Be!==window.location.href?ca():tn()};he.source!==window&&!kn&&Zt.link&&(Zt.link=Zt.link.split("?")[0]);let Dt=bn(he.data.params,St,bt);if(jl=jl||kn&&Dt.external,!jl)mn().then(()=>{Pe=!he.data.params.withoutSync,In(he.data,Ae,St,bt).then(()=>{Nl(!0)}).catch(()=>{tn()}),pt.forEach((Jn,da)=>{Pt(da)}),$(),Yi(),Pe=!0}).catch(()=>{tn()});else{if(kn&&Dt.external){nt.navigateToExternalLink({url:Dt.url,sameWindow:!Dt.openInNewTab});return}if(Dt=se.addLeadingSlash(Dt),qt){await ea(Dt),Nl();return}const Jn=await Kl(Dt);if(Dt=await be.handlePageNotFoundAndRetrieveRedirectPath(Qt(),Dt,Jn),!Dt){tn();return}ie=H,Xi!==void 0?(!Xi.keepPrevious&&Ji(),await ji(Dt,Xi===!0?{}:Xi),Nl()):Jl!==void 0?(await zi(Dt,Jl),Nl()):Pl!==void 0&&(Kn(),Pl.isDrawer=!0,await kr(Dt,Pl),Nl())}}if(he.data.msg==="luigi.navigation.back"){const Be=pt[pt.length-1],St=pt.length>1&&pt[pt.length-2],bt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Re.isMessageSource(he,Be&&Be.modalIframe)){Pt(pt.length-1,!0,bt);let Zt=Ae;if(St&&St.modalIframeData&&St.modalIframe){const kn=St,qt=kn.modalIframeData;Zt={pathParams:qt.pathParams,context:qt.context,iframe:kn.modalIframe}}Zt.iframe&&await Nn(Zt,{goBackContext:bt})}else Re.isMessageSource(he,C)?($(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):Re.isMessageSource(he,p)?(d&&(d=!d),Yi(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):j&&j.length>0?mn().then(()=>{En.setActiveIframeToPrevious(H);const Zt=j.pop();Ae.iframe=En.getActiveIframe(H),ee=!0,j=j,z=bt,In({params:{link:Zt.path}},Ae)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,bt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Be),correlationId:Be.id}};Re.sendMessageToIframe(He,bt)}if(he.data.msg==="luigi.auth.tokenIssued"&&pn(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ti){const Be=se.addLeadingSlash(bn(he.data.params,He.luigi.currentNode,He.luigi.pathParams));nt.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=He.luigi.currentNode,St=He.luigi.pathParams,bt=he.data.data,Zt=bn(bt,Be,St),kn=Zt?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Zt):!1,qt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:bt.id,pathExists:kn?kn.isExistingRoute:!1}};Re.sendMessageToIframe(He,qt)}if(he.data.msg==="luigi.set-page-dirty"){if(!Le.dirtySet){const Be=new Set;Be.add(he.source),Le={dirtySet:Be}}Le.persistUrl=window.location.href,he.data.dirty?Le.dirtySet.add(he.source):Le.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;ie=H,kl(),di(Be,!0,He).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!se.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ie=H,wl(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&vt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(de&&!de.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&Yw.process(He.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=He.luigi.currentNode;Be&&Be.runTimeErrorHandler&&se.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Je&&se.isFunction(Je.errorFn)&&Je.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:St}=he.data;be.addSearchParamsFromClient(He.luigi.currentNode,Be,St)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ti)return;const{data:Be,keepBrowserHistory:St}=he.data;ol.addNodeParams(Be,St)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ol.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,St=be.findViewGroup(He.luigi.currentNode);if(St){const bt=En.getViewGroupSettings(St);bt._liveCustomData=Be.data,ae.configChanged("navigation.viewgroupdata")}}}),qn(H,Ae)}Gr("store",l),Gr("getTranslation",r);const na=H=>{de&&de.thirdPartyCookieErrorHandling&&se.isFunction(de.thirdPartyCookieErrorHandling)&&de.thirdPartyCookieErrorHandling()};function ia(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ge),t(11,a=!1)},250)):clearTimeout(Ge)}const Kl=async H=>{const fe={link:H,relative:H[0]!=="/",intent:be.hasIntent(H)},Me=bn(fe),Je=Me?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Me):!1;return Je?Je.isExistingRoute:!1},yr=()=>pt.length>0||j.length!==0;Yt(()=>{if(Eo._init(),Y=ae.getConfigValue("globalSearch.searchProvider"),re=ae.getConfigValue("settings.responsiveNavigation"),Gi=window.innerWidth,re==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();H&&fe&&t(19,te=document.body.classList.contains("lui-leftNavToggle")?H:fe)}}else if(re==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();if(H&&fe){const Me=JSON.parse(localStorage.getItem(ye.COL_NAV_KEY));t(19,te=Me?H:fe)}}document.body.classList.add("lui-semiCollapsible")}de=ae.getConfigValue("settings.thirdPartyCookieCheck"),de&&de.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=de.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{py()==="disabled"&&na()}),document.body.removeChild(H)}})}),fs(()=>{yl()}),zn(()=>{t(20,We=ae.getConfigValue("navigation.breadcrumbs")),Y=ae.getConfigValue("globalSearch.searchProvider"),t(24,Hl=ae.getConfigValue("tag")),t(25,Wl=ae.getConfigValue("settings.header.disabled"))});const Qi=H=>Pt(H,!0),la=(H,fe)=>Cl(fe,H),ra=(H,fe)=>Q(fe,H),hs=()=>Sl(!0),aa=()=>Sl(!1);function sa(H){Et=H,t(6,Et)}function oa(H){De=H,t(0,De)}function ua(H){gt=H,t(3,gt)}function gs(H){Kt=H,t(4,Kt)}function _s(H){_n=H,t(5,_n)}function ps(H){et=H,t(1,et)}function fa(H){Rt=H,t(2,Rt)}function ms(H){De=H,t(0,De)}function bs(H){gt=H,t(3,gt)}function vs(H){Kt=H,t(4,Kt)}function ws(H){_n=H,t(5,_n)}function Pr(H){et=H,t(1,et)}function ks(H){Rt=H,t(2,Rt)}return i.$$set=H=>{"store"in H&&t(47,l=H.store),"getTranslation"in H&&t(48,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,De=H.isSearchFieldVisible),"inputElem"in H&&t(1,et=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,Rt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,gt=H.displaySearchResult),"displayCustomSearchResult"in H&&t(4,Kt=H.displayCustomSearchResult),"searchResult"in H&&t(5,_n=H.searchResult),"storedUserSettings"in H&&t(6,Et=H.storedUserSettings)},[De,et,Rt,gt,Kt,_n,Et,Pi,Ni,pl,ds,a,o,_,E,oe,Ee,Se,ce,te,We,ml,qi,bl,Hl,Wl,wn,Ki,pt,kt,_e,fi,ki,vn,ci,Gn,br,vr,Sl,Cl,Q,Pt,Sr,cs,$r,Yi,Cr,l,r,Si,Ci,yi,hl,gl,_l,Wi,zi,$,Te,ct,Tt,yt,sn,wl,di,wr,xr,Kl,yr,Qi,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,Pr,ks]}class Ny extends Ot{constructor(e){super(),Mt(this,e,Py,yy,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:7,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:8,handleSearchNavigation:9,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:10,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const Iy=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},gp=Iy(),Ty=pw((i,e,t)=>vt.getTranslation(i,e,t));Luigi._store=gp;const Ly=()=>new Promise(i=>{vt._init(),rn.init().then(()=>{setTimeout(()=>{let e;si.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ny({target:si.getLuigiContainer(),props:{store:gp,getTranslation:Ty}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});ae.setConfigCallbacks(Ly);
68
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-19li1e6"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function y8(i){let e,t,n,l,r,a,o,c,h,d,_,p,b=i[26]&&i[26].length&&m_(i),m=i[28],v=[];for(let V=0;V<m.length;V+=1)v[V]=v_(p_(i,m,V));const C=V=>B(v[V],1,1,()=>{v[V]=null});let y=i[29].displayed&&i[29].settings.isDrawer&&w_(i),P=i[27].displayed&&k_(i),A=i[18].displayed&&S_(i);const N=[k8,w8],D=[];function E(V,U){return V[30]?0:1}return o=E(i),c=D[o]=N[o](i),{c(){e=S("div"),b&&b.c(),t=q();for(let V=0;V<v.length;V+=1)v[V].c();n=q(),y&&y.c(),l=q(),P&&P.c(),r=q(),A&&A.c(),a=q(),c.c(),f(e,"id","app"),f(e,"class",h=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-19li1e6"),f(e,"configversion",i[24])},m(V,U){L(V,e,U),b&&b.m(e,null),w(e,t);for(let O=0;O<v.length;O+=1)v[O].m(e,null);w(e,n),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),A&&A.m(e,null),w(e,a),D[o].m(e,null),d=!0,_||(p=le(b8,"resize",i[36]),_=!0)},p(V,U){if(V[26]&&V[26].length?b?(b.p(V,U),U[0]&67108864&&R(b,1)):(b=m_(V),b.c(),R(b,1),b.m(e,t)):b&&(we(),B(b,1,1,()=>{b=null}),ke()),U[0]&268443648|U[1]&1792){m=V[28];let O;for(O=0;O<m.length;O+=1){const W=p_(V,m,O);v[O]?(v[O].p(W,U),R(v[O],1)):(v[O]=v_(W),v[O].c(),R(v[O],1),v[O].m(e,n))}for(we(),O=m.length;O<v.length;O+=1)C(O);ke()}V[29].displayed&&V[29].settings.isDrawer?y?(y.p(V,U),U[0]&536870912&&R(y,1)):(y=w_(V),y.c(),R(y,1),y.m(e,l)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),V[27].displayed?P?(P.p(V,U),U[0]&134217728&&R(P,1)):(P=k_(V),P.c(),R(P,1),P.m(e,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),V[18].displayed?A?(A.p(V,U),U[0]&262144&&R(A,1)):(A=S_(V),A.c(),R(A,1),A.m(e,a)):A&&(we(),B(A,1,1,()=>{A=null}),ke()),c.p(V,U),(!d||U[0]&48234496&&h!==(h=(V[21]?"no-nav":"")+" "+(V[22]?"no-side-nav":"")+" "+(V[25]?"no-top-nav":"")+" "+(V[23]?"no-animation":"")+" svelte-19li1e6"))&&f(e,"class",h),(!d||U[0]&16777216)&&f(e,"configversion",V[24])},i(V){if(!d){R(b);for(let U=0;U<m.length;U+=1)R(v[U]);R(y),R(P),R(A),R(c),d=!0}},o(V){B(b),v=v.filter(m8);for(let U=0;U<v.length;U+=1)B(v[U]);B(y),B(P),B(A),B(c),d=!1},d(V){V&&T(e),b&&b.d(),st(v,V),y&&y.d(),P&&P.d(),A&&A.d(),D[o].d(),_=!1,p()}}}function P8(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,_,p,b,m,v,C,y,P,A,N,D,E,V,U,O,W,K,X,ne,Pe=!0,ee=!1,z,oe,ie,j=[],Le={isDirty:!1,persistUrl:null},re,Ee,Se=!1,de,Y,ce={},te,We,Ge,_e=ae.getConfigBooleanValue("settings.btpToolLayout"),{isSearchFieldVisible:De}=e,{inputElem:et}=e,{luigiCustomSearchRenderer__slot:Rt}=e,{displaySearchResult:gt}=e,{displayCustomSearchResult:Kt=!0}=e,{searchResult:_n}=e,{storedUserSettings:Et}=e;const ui=async H=>{const fe=H.iframe.luigi,Me=fe.currentNode&&fe.currentNode.userSettingsGroup,Je=await ae.readUserSettings(),Ae=Me&&typeof Je=="object"&&Je!==null,he=Re.applyCoreStateData({isNavigateBack:ee,viewStackSize:j.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ae?Je[Me]:null,anchor:ol.getAnchor(),cssVariables:await Eo.getCSSVariables()});return Re.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{he[He]=H[He]||!1}),he},Nn=async(H,fe={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const Me={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||N,fe)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||D)),pathParams:JSON.stringify(Object.assign({},H.pathParams||E)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await ui(H)),authData:ul.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=Me,Re.sendMessageToIframe(H.iframe,Me)},pn=H=>{const fe={msg:"luigi.auth.tokenIssued",authData:H};Re.broadcastMessageToAllIframes(fe)},an=(H,fe)=>{if(H.params.preserveView||H.params.viewgroup){const Me=bn(H.params),Je=nt.getNodePath(U,V);j.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?se.replaceVars(Je,fe.iframe.luigi.pathParams,":",!1):Je,nextPath:Me.startsWith("/")?Me:"/"+Me,context:N}),fe.iframe.pv="pv"}},In=(H,fe,Me,Je)=>{let Ae=bn(H.params,Me,Je);const{preventHistoryEntry:he,preserveQueryParams:He,preventContextUpdate:mt}=H.params,Bt={keepBrowserHistory:!he,navSync:Pe,preventContextUpdate:mt};return Ae=se.addLeadingSlash(Ae),Ae=He?be.composeSearchParamsToRoute(Ae):Ae,an(H,fe),nt.navigateTo(Ae,Bt)},It=H=>H.split("?")[0],dl=(H,fe)=>{if(H.length===0)return!1;const Me=fe.startsWith("/")?fe:`/${fe}`,Je=[...H].pop();return[It(Je.path),It(Je.nextPath)].includes(It(Me))},ti=H=>{Le&&Le.dirtySet&&(H?Le.dirtySet.delete(H):Le.dirtySet.clear())},mn=H=>new Promise((fe,Me)=>{Ii(H)?Gl().then(()=>{ti(),fe()},()=>{Me()}):fe()}),Qt=()=>({get:()=>({unsavedChanges:Le,hideNav:ml,viewUrl:O,nodeParams:D,viewGroup:W,urlParamsRaw:V,currentNode:U,navigationPath:oe,context:N,pathParams:E,hideSideNav:qi,isolateView:K,pageErrorHandler:X,previousNodeValues:ne,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:Ee,isNavigateBack:ee,goBackContext:z,isNavigationSyncEnabled:Pe}),set:H=>{H&&(t(23,bl=!1),Object.getOwnPropertyNames(H).forEach(fe=>{fe==="hideNav"?t(21,ml=H.hideNav):fe==="viewUrl"?O=H.viewUrl:fe==="nodeParams"?D=H.nodeParams:fe==="viewGroup"?W=H.viewGroup:fe==="urlParamsRaw"?V=H.urlParamsRaw:fe==="currentNode"?U=H.currentNode:fe==="navigationPath"?t(15,oe=H.navigationPath):fe==="context"?N=H.context:fe==="pathParams"?t(14,E=H.pathParams):fe==="hideSideNav"?(qi!=H.hideSideNav&&(t(23,bl=!0),setTimeout(()=>{const Me=document.querySelector("#app");Me&&Me.classList.remove("no-animation")})),t(22,qi=H.hideSideNav)):fe==="isolateView"?K=H.isolateView:fe==="pageErrorHandler"?X=H.pageErrorHandler:fe==="previousNodeValues"?ne=H.previousNodeValues:fe==="mfSplitView"?t(12,o=H.mfSplitView):fe==="splitViewValues"?c=H.splitViewValues:fe==="splitViewIframe"?C=H.splitViewIframe:fe=="splitViewWC"?P=H.splitViewWC:fe==="showLoadingIndicator"?H.showLoadingIndicator===!0?Ge=setTimeout(()=>{t(11,a=!0)},250):(t(11,a=!1),clearTimeout(Ge)):fe==="tabNav"?t(16,Ee=H.tabNav):fe==="isNavigateBack"?ee=H.isNavigateBack:fe==="goBackContext"?z=H.goBackContext:fe==="isNavigationSyncEnabled"&&(Pe=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ii,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:Gl,showAlert:wl,prepareInternalData:ui,dispatch:n}),qn=(H,fe)=>{un.doOnStoreChange(l,()=>{const Me=document.querySelector(".wcContainer");Me&&(Me.configChangedRequest=!0),Hn.deleteCache();const Je=nt.getCurrentPath();nt.handleRouteChange(Je,Qt(),H,fe)},["navigation.nodes"]),be.addRouteChangeListener((Me,Je)=>{const{withoutSync:Ae,preventContextUpdate:he}=Je||{};dl(j,Me)||(j=[],En.removeInactiveIframes(H));for(let mt=pt.length;mt--;)Pt(mt);Zr.removeBackdrop(),$(),nt.handleRouteChange(Me,Qt(),H,fe,Ae,he)})},en=(H,fe)=>se.replaceVars(nt.getNodePath(H),fe,":",!1),bn=(H,fe,Me)=>{const Je=fe||U,Ae=Me||E;let he=oe;if(fe){let mt=fe.parent;for(he=[fe];mt;)he.push(mt),mt=mt.parent;he=[...he].reverse()}let He=H.link;if(H.fromVirtualTreeRoot){const mt=[...he].reverse().find(Bt=>Bt.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromParent)He=nt.concatenatePath(en(Je.parent,Ae),H.link);else if(H.fromClosestContext){const mt=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromContext){const mt=H.fromContext,Bt=[...he].reverse().find(Nr=>mt===Nr.navigationContext);He=nt.concatenatePath(en(Bt,Ae),H.link)}else H.intent?He=be.getIntentPath(H.link):H.relative&&(He=nt.concatenatePath(en(Je,Ae),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Bt)=>{He+=encodeURIComponent(be.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Bt<Object.keys(H.nodeParams).length-1?"&":"")})),He},fi=H=>{const fe=H.detail.node;mn().then(()=>{if(zl(),fe.openNodeInModal){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);ji(Me,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,kr(Me,fe.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),nt.handleRouteClick(fe,Qt())},()=>{})},ki=()=>{t(17,Se=!Se)};Gr("handleNavigation",In);const fn=H=>H?!0:(console.warn("No search provider defined."),!1),Si=()=>{fn(Y)&&t(0,De=!1)},Ci=()=>{fn(Y)&&et&&(t(0,De=!0),et.focus())},yi=()=>{fn(Y)&&et&&(t(1,et.value="",et),Ni())},Pi=()=>{t(0,De=!De),Cw.clearSearchField()},hl=()=>{if(fn(Y)&&et)return et.value},gl=H=>{fn(Y)&&et&&(t(1,et.value=H,et),se.isFunction(Y.onInput)?Y.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{fn(Y)&&et&&t(1,et.placeholder=H,et)},Wi=H=>{if(fn(Y))if(H&&H.length>0)if(se.isFunction(Y.customSearchResultRenderer)){t(4,Kt=!0);let fe={fireItemSelected:Me=>{Y.onSearchResultItemSelected(Me)}};Y.customSearchResultRenderer(H,Rt,fe)}else t(3,gt=!0),t(5,_n=H);else console.warn("Search result array is empty.")},Ni=()=>{if(fn(Y)&&(t(3,gt=!1),t(5,_n=[]),Rt))for(;Rt.lastElementChild;)Rt.removeChild(Rt.lastElementChild)},pl=H=>{let fe=H.detail.node,Me={params:{link:fe.link,nodeParams:fe.params}};In(Me)},zi=(H,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=at.getDefaultData().mfSplitView),at.open(Qt(),H,fe)},$=()=>{at.close(Qt())},Te=()=>{at.collapse(Qt()),t(12,o.collapsed=!0,o)},ct=()=>{at.expand(Qt()),t(12,o.collapsed=!1,o)},Tt=()=>o.displayed?o.collapsed:!1,yt=()=>o.displayed?!o.collapsed:!1,sn=()=>o.displayed,vn=H=>{C=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(12,o.collapsed=H.detail.collapsed,o)},ci=H=>{H.detail.displayed!==void 0&&t(12,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(12,o.collapsed=H.detail.collapsed,o)},Gn=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(12,o.collapsed=H.detail.collapsed,o)};let ml,qi,bl,Gi,Hl,Wl;const zl=()=>{document.body.classList.remove("lui-leftNavToggle")},br=()=>{yl();const H=window.innerWidth>=xt.desktopMinWidth&&Gi<xt.desktopMinWidth,fe=window.innerWidth<xt.desktopMinWidth&&Gi>=xt.desktopMinWidth;(H||fe)&&zl(),Gi=window.innerWidth};let wn=[];const vl=(H,fe)=>{if(!(!H||!(H.length>0)))return H.filter(Me=>Me.settings.id===fe)[0]},wl=(H,fe=!1)=>{const Me=ae.getConfigValue("settings.customAlertHandler");if(se.isFunction(Me)){const Ae=Me(H,fe);if(Ae!==!1)return Ae}const Je=wn;return H.id||(H.id=se.getRandomId()),H.id&&Je&&vl(Je,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{vl(wn,H.id)&&ql(H.id)},H.closeAfter),new Promise((Ae,he)=>{t(26,wn=[...Je||[],{displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Ae}}])}))},ql=(H,fe)=>{const Me=vl(wn,H);if(!Me){console.error("An unexisting alert has been dismissed.",wn,H);return}if(t(26,wn=wn.filter(Je=>Je.settings.id!==H)),Me.openFromClient){const Je=En.getActiveIframe(ie),Ae={msg:"luigi.ux.alert.hide",id:H,dismissKey:fe};Re.sendMessageToIframe(Je,Ae)}else Me.promise&&Me.promise.resolve(fe||H)},vr=H=>{ql(H.detail.id,H.detail.dismissKey)};let Ki;const kl=()=>{t(27,Ki={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const di=(H,fe=!1,Me)=>new Promise((Je,Ae)=>{t(27,Ki={displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Je,reject:Ae},targetIframe:Me})}),Sl=H=>{const{promise:fe,openFromClient:Me,targetIframe:Je}=Ki;if(kl(),H?fe.resolve():fe.reject(),Me&&Je){const Ae={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Re.sendMessageToIframe(Je,Ae)}},Ii=H=>{if(Le.dirtySet){if(H)return Le.dirtySet.has(H);if(Le.dirtySet.size>0)return!0}return!1},Gl=()=>di({header:vt.getTranslation("luigi.unsavedChangesAlert.header"),body:vt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:vt.getTranslation("luigi.button.dismiss"),buttonConfirm:vt.getTranslation("luigi.button.confirm")}),wr=()=>Le.dirtySet?Le.dirtySet.size>0:Le.isDirty;Gr("getUnsavedChangesModalPromise",mn);let pt=[];const Ji=H=>{if(typeof H>"u"){t(28,pt=[]);return}t(28,pt=pt.filter((fe,Me)=>H!==Me))};Ji();const ji=async(H,fe)=>{if(await ye.shouldPreventNavigationForPath(H))return;const Me={mfModal:{displayed:!0,nodepath:H,settings:fe}};t(28,pt=[...pt,Me]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.appendModalDataToUrl(H,fe)},Cl=(H,fe)=>{t(28,pt[fe].modalIframe=H.detail.modalIframe,pt),t(28,pt[fe].modalIframeData=H.detail.modalIframeData,pt)},Q=(H,fe)=>{t(28,pt[fe].modalWC=H.detail.modalWC,pt),t(28,pt[fe].modalWCData=H.detail.modalWCData,pt)},Pt=(H,fe,Me)=>{const Je=(He,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.removeModalDataFromUrl(mt),Ji(He)},Ae=pt[H],he=se.getRemotePromise(Ae.mfModal.settings.onClosePromiseId);Ae&&Ae.modalIframe?mn(Ae.modalIframe.contentWindow).then(()=>{Je(H,fe),he&&he.doResolve(Me)},()=>{}):Ae&&Ae.modalWC&&(Je(H,fe),he&&he.doResolve(Me))};Gr("openViewInModal",ji);let kt={};const Kn=()=>{t(29,kt.displayed=!1,kt),t(29,kt.nodepath=void 0,kt),t(29,kt.settings={},kt),t(13,_=!1)};Kn();const kr=async(H,fe)=>{await ye.shouldPreventNavigationForPath(H)||(t(29,kt.displayed=!0,kt),t(29,kt.nodepath=H,kt),t(29,kt.settings=fe,kt),kt.settings&&kt.settings.backdrop&&t(13,_=!0))},Xr=()=>window.innerWidth>=xt.desktopMinWidth&&kt.displayed&&kt.settings&&!kt.settings.overlap,yl=()=>{if(!Xr())return;const H=document.querySelector(".iframeModalCtn._drawer"),fe=Re.getCurrentMicrofrontendIframe();if(H&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Me}=getComputedStyle(H),Je=fe.clientWidth;fe.setAttribute("style",`width: calc(${Je}px - ${Me})`)}},Sr=H=>{p=H.detail.modalIframe,b=H.detail.modalIframeData,yl()},cs=H=>{m=H.detail.modalWC,H.detail.modalWCData,yl()},$r=H=>{d=H.detail.activeDrawer},Yi=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{Kn()},()=>{}):m&&mn().then(()=>{Kn()},()=>{}),Re.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},xr=()=>{const H=cr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(18,ce.userSettingGroups=[...H],ce),t(18,ce.displayed=!0,ce)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(18,ce.displayed=!1,ce)},ea=async H=>{if(await ye.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},ta=H=>{let fe=oe;if(U){let Ae=U.parent;for(fe=[U];Ae;)fe.push(Ae),Ae=Ae.parent;fe=[...fe].reverse()}let Me=H.link,Je=en(U,E);if(H.fromVirtualTreeRoot){const Ae=[...fe].reverse().find(He=>He.virtualTree);if(!Ae){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromParent){const Ae=en(U.parent,E);Me=Je.split(Ae).join("")}else if(H.fromClosestContext){const Ae=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromContext){const Ae=H.fromContext,he=[...fe].reverse().find(mt=>Ae===mt.navigationContext),He=en(he,E);Me=Je.split(He).join("")}else Me=Je;return Me};function Cr(H){sessionStorage.removeItem("historyState"),ur.shouldPreload=!0,ur.preload(!0),ur.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),Me=ae.getConfigValue("navigation.defaults.pageErrorHandler"),Je=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ae={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Me};vt.addCurrentLocaleChangeListener(he=>{const He={msg:"luigi.current-locale-changed",currentLocale:he};Re.broadcastMessageToAllIframes(He)}),Vn.addEventListener("popstate",async he=>{const He=wn;if(!He||!(He.length>0))return;const mt=He.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(26,wn=mt)}),Vn.addEventListener("message",async he=>{const He=Re.getValidMessageSource(he),mt=pt[pt.length-1],Bt=mt&&mt.modalIframe,Nr=mt&&mt.modalIframeData,Zi={modalIframe:Bt,modalIframeData:Nr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!He)return;He._ready=!0;const Ir=Re.getSpecialIframeMessageSource(he,Zi),Ti=Ir&&Ir.length>0,Tr=ae.getConfigValue("communication.skipEventsWhenInactive");if(Tr&&Tr.length>0&&!Ti&&He.contentWindow!==window&&!se.isElementVisible(He)&&Tr.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=ae.getConfigValue("communication.customMessagesListeners")||{},St=rs.convertCustomMessageInternalToUser(he.data),bt=Be[St.id],Zt="luigi.updateUserSettings";if(ce&&St.id===Zt){bt&&console.warn(`The key "${Zt}" is not allowed to use for custom messages.`);return}if(typeof bt=="function"){const kn=si.getMicrofrontends().find(qt=>Re.isMessageSource(he,qt.container));bt(St,kn,se.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${St.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ae.navigateOk=!0,ur.preload()),he.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=he.data.clientVersion,He.luigi.initOk=!1,Ti)Ir.forEach(async Be=>{let St=Zi[Be.dataKey].context;const bt={...Ae,iframe:Zi[Be.iframeKey],context:St,pathParams:Zi[Be.dataKey].pathParams,nodeParams:Zi[Be.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Zi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Nn(bt,{})});else if(Ae.iframe&&Re.isMessageSource(he,Ae.iframe))await Nn(Ae,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&ia(),ur.preload();else if(He.luigi.preloading)await Nn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let St=Be.getAttribute("userSettingsGroup"),bt={context:{userSettingsData:Et[St]},iframe:Be};await Nn(bt)}}ur.viewGroupLoaded(He)}if(he.data.msg==="luigi.show-loading-indicator"&&t(11,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ge),t(11,a=!1)),he.data.msg==="luigi.navigation.open"){ee=!1;const Be=window.location.href,St=Ti?He.luigi.currentNode:void 0,bt=Ti?He.luigi.pathParams:void 0,Zt=he.data.params,{intent:kn,newTab:qt,modal:Xi,splitView:Jl,drawer:Pl,withoutSync:Ss}=Zt;let jl=qt||Xi||Jl||Pl;const ca=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doResolve()},tn=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doReject()},Nl=Jn=>{!Jn||Be!==window.location.href?ca():tn()};he.source!==window&&!kn&&Zt.link&&(Zt.link=Zt.link.split("?")[0]);let Dt=bn(he.data.params,St,bt);if(jl=jl||kn&&Dt.external,!jl)mn().then(()=>{Pe=!he.data.params.withoutSync,In(he.data,Ae,St,bt).then(()=>{Nl(!0)}).catch(()=>{tn()}),pt.forEach((Jn,da)=>{Pt(da)}),$(),Yi(),Pe=!0}).catch(()=>{tn()});else{if(kn&&Dt.external){nt.navigateToExternalLink({url:Dt.url,sameWindow:!Dt.openInNewTab});return}if(Dt=se.addLeadingSlash(Dt),qt){await ea(Dt),Nl();return}const Jn=await Kl(Dt);if(Dt=await be.handlePageNotFoundAndRetrieveRedirectPath(Qt(),Dt,Jn),!Dt){tn();return}ie=H,Xi!==void 0?(!Xi.keepPrevious&&Ji(),await ji(Dt,Xi===!0?{}:Xi),Nl()):Jl!==void 0?(await zi(Dt,Jl),Nl()):Pl!==void 0&&(Kn(),Pl.isDrawer=!0,await kr(Dt,Pl),Nl())}}if(he.data.msg==="luigi.navigation.back"){const Be=pt[pt.length-1],St=pt.length>1&&pt[pt.length-2],bt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Re.isMessageSource(he,Be&&Be.modalIframe)){Pt(pt.length-1,!0,bt);let Zt=Ae;if(St&&St.modalIframeData&&St.modalIframe){const kn=St,qt=kn.modalIframeData;Zt={pathParams:qt.pathParams,context:qt.context,iframe:kn.modalIframe}}Zt.iframe&&await Nn(Zt,{goBackContext:bt})}else Re.isMessageSource(he,C)?($(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):Re.isMessageSource(he,p)?(d&&(d=!d),Yi(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):j&&j.length>0?mn().then(()=>{En.setActiveIframeToPrevious(H);const Zt=j.pop();Ae.iframe=En.getActiveIframe(H),ee=!0,j=j,z=bt,In({params:{link:Zt.path}},Ae)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,bt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Be),correlationId:Be.id}};Re.sendMessageToIframe(He,bt)}if(he.data.msg==="luigi.auth.tokenIssued"&&pn(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ti){const Be=se.addLeadingSlash(bn(he.data.params,He.luigi.currentNode,He.luigi.pathParams));nt.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=He.luigi.currentNode,St=He.luigi.pathParams,bt=he.data.data,Zt=bn(bt,Be,St),kn=Zt?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Zt):!1,qt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:bt.id,pathExists:kn?kn.isExistingRoute:!1}};Re.sendMessageToIframe(He,qt)}if(he.data.msg==="luigi.set-page-dirty"){if(!Le.dirtySet){const Be=new Set;Be.add(he.source),Le={dirtySet:Be}}Le.persistUrl=window.location.href,he.data.dirty?Le.dirtySet.add(he.source):Le.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;ie=H,kl(),di(Be,!0,He).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!se.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ie=H,wl(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&vt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(de&&!de.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&Yw.process(He.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=He.luigi.currentNode;Be&&Be.runTimeErrorHandler&&se.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Je&&se.isFunction(Je.errorFn)&&Je.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:St}=he.data;be.addSearchParamsFromClient(He.luigi.currentNode,Be,St)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ti)return;const{data:Be,keepBrowserHistory:St}=he.data;ol.addNodeParams(Be,St)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ol.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,St=be.findViewGroup(He.luigi.currentNode);if(St){const bt=En.getViewGroupSettings(St);bt._liveCustomData=Be.data,ae.configChanged("navigation.viewgroupdata")}}}),qn(H,Ae)}Gr("store",l),Gr("getTranslation",r);const na=H=>{de&&de.thirdPartyCookieErrorHandling&&se.isFunction(de.thirdPartyCookieErrorHandling)&&de.thirdPartyCookieErrorHandling()};function ia(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ge),t(11,a=!1)},250)):clearTimeout(Ge)}const Kl=async H=>{const fe={link:H,relative:H[0]!=="/",intent:be.hasIntent(H)},Me=bn(fe),Je=Me?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Me):!1;return Je?Je.isExistingRoute:!1},yr=()=>pt.length>0||j.length!==0;Yt(()=>{if(Eo._init(),Y=ae.getConfigValue("globalSearch.searchProvider"),re=ae.getConfigValue("settings.responsiveNavigation"),Gi=window.innerWidth,re==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();H&&fe&&t(19,te=document.body.classList.contains("lui-leftNavToggle")?H:fe)}}else if(re==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();if(H&&fe){const Me=JSON.parse(localStorage.getItem(ye.COL_NAV_KEY));t(19,te=Me?H:fe)}}document.body.classList.add("lui-semiCollapsible")}de=ae.getConfigValue("settings.thirdPartyCookieCheck"),de&&de.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=de.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{p8()==="disabled"&&na()}),document.body.removeChild(H)}})}),fs(()=>{yl()}),zn(()=>{t(20,We=ae.getConfigValue("navigation.breadcrumbs")),Y=ae.getConfigValue("globalSearch.searchProvider"),t(24,Hl=ae.getConfigValue("tag")),t(25,Wl=ae.getConfigValue("settings.header.disabled"))});const Qi=H=>Pt(H,!0),la=(H,fe)=>Cl(fe,H),ra=(H,fe)=>Q(fe,H),hs=()=>Sl(!0),aa=()=>Sl(!1);function sa(H){Et=H,t(6,Et)}function oa(H){De=H,t(0,De)}function ua(H){gt=H,t(3,gt)}function gs(H){Kt=H,t(4,Kt)}function _s(H){_n=H,t(5,_n)}function ps(H){et=H,t(1,et)}function fa(H){Rt=H,t(2,Rt)}function ms(H){De=H,t(0,De)}function bs(H){gt=H,t(3,gt)}function vs(H){Kt=H,t(4,Kt)}function ws(H){_n=H,t(5,_n)}function Pr(H){et=H,t(1,et)}function ks(H){Rt=H,t(2,Rt)}return i.$$set=H=>{"store"in H&&t(47,l=H.store),"getTranslation"in H&&t(48,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,De=H.isSearchFieldVisible),"inputElem"in H&&t(1,et=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,Rt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,gt=H.displaySearchResult),"displayCustomSearchResult"in H&&t(4,Kt=H.displayCustomSearchResult),"searchResult"in H&&t(5,_n=H.searchResult),"storedUserSettings"in H&&t(6,Et=H.storedUserSettings)},[De,et,Rt,gt,Kt,_n,Et,Pi,Ni,pl,ds,a,o,_,E,oe,Ee,Se,ce,te,We,ml,qi,bl,Hl,Wl,wn,Ki,pt,kt,_e,fi,ki,vn,ci,Gn,br,vr,Sl,Cl,Q,Pt,Sr,cs,$r,Yi,Cr,l,r,Si,Ci,yi,hl,gl,_l,Wi,zi,$,Te,ct,Tt,yt,sn,wl,di,wr,xr,Kl,yr,Qi,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,Pr,ks]}class N8 extends Ot{constructor(e){super(),Mt(this,e,P8,y8,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:7,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:8,handleSearchNavigation:9,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:10,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const I8=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},gp=I8(),T8=pw((i,e,t)=>vt.getTranslation(i,e,t));Luigi._store=gp;const L8=()=>new Promise(i=>{vt._init(),rn.init().then(()=>{setTimeout(()=>{let e;si.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new N8({target:si.getLuigiContainer(),props:{store:gp,getTranslation:T8}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});ae.setConfigCallbacks(L8);
69
69
  //# sourceMappingURL=luigi.js.map