@luigi-project/core 2.13.1-dev.20240620028 → 2.13.1-dev.202406201239

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/luigi.js +26 -26
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,11 +1,11 @@
1
- var Yw=Object.defineProperty;var Qw=(i,e,t)=>e in i?Yw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Hf=(i,e,t)=>(Qw(i,typeof e!="symbol"?e+"":e,t),t);function We(){}function Zw(i,e){for(const t in e)i[t]=e[t];return i}function Xw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function F_(i){return i()}function Wf(){return Object.create(null)}function Ye(i){i.forEach(F_)}function bi(i){return typeof i=="function"}function At(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xa;function Xe(i,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,i===Xa.href}function $w(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return We;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Mo(i,t=>e=t)(),e}function wi(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function U_(i,e,t,n){if(i){const l=B_(i,e,t,n);return i[0](l)}}function B_(i,e,t,n){return i[1]&&n?Zw(t.ctx.slice(),i[1](n(e))):t.ctx}function H_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function W_(i,e,t,n,l,r){if(l){const a=B_(e,t,n,r);i.p(a,l)}}function z_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function $n(i){return i??""}function q_(i){return i&&bi(i.destroy)?i.destroy:We}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ht(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function xw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Le(i){return document.createTextNode(i)}function W(){return Le(" ")}function Ce(){return Le("")}function te(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function wt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function e2(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function zf(i,e){i.value=e??""}function Vn(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function jt(i,e,t){i.classList[t?"add":"remove"](e)}function t2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class hr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=xw(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let zr;function Bi(i){zr=i}function hl(){if(!zr)throw new Error("Function called outside component initialization");return zr}function qn(i){hl().$$.before_update.push(i)}function $t(i){hl().$$.on_mount.push(i)}function jr(i){hl().$$.after_update.push(i)}function Jr(i){hl().$$.on_destroy.push(i)}function Jt(){const i=hl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=t2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Br(i,e){return hl().$$.context.set(i,e),e}function vt(i){return hl().$$.context.get(i)}function Ol(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Wr=[],Je=[],es=[],Ao=[],n2=Promise.resolve();let Eo=!1;function i2(){Eo||(Eo=!0,n2.then(Fo))}function Ro(i){es.push(i)}function mt(i){Ao.push(i)}const To=new Set;let $a=0;function Fo(){const i=zr;do{for(;$a<Wr.length;){const e=Wr[$a];$a++,Bi(e),l2(e.$$)}for(Bi(null),Wr.length=0,$a=0;Je.length;)Je.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];To.has(t)||(To.add(t),t())}es.length=0}while(Wr.length);for(;Ao.length;)Ao.pop()();Eo=!1,To.clear(),Bi(i)}function l2(i){if(i.fragment!==null){i.update(),Ye(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ro)}}const ts=new Set;let Ml;function ke(){Ml={r:0,c:[],p:Ml}}function Se(){Ml.r||Ye(Ml.c),Ml=Ml.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Ml.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==r&&h&&(ke(),U(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),Se())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[r]=g),d&&Fo()}if(Xw(i)){const l=hl();if(i.then(r=>{Bi(l),n(e.then,1,e.value,r),Bi(null)},r=>{if(Bi(l),n(e.catch,2,e.error,r),Bi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function G_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const gl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function bt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Me(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ro(()=>{const a=i.$$.on_mount.map(F_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Ye(a),i.$$.on_mount=[]}),r.forEach(Ro)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(Ye(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function r2(i,e){i.$$.dirty[0]===-1&&(Wr.push(i),i2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,r,a,o=[-1]){const c=zr;Bi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:We,not_equal:l,bound:Wf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Wf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(g.root);let d=!1;if(g.ctx=t?t(i,e.props||{},(h,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=m)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](m),d&&r2(i,h)),p}):[],g.update(),d=!0,Ye(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=e2(e.target);g.fragment&&g.fragment.l(h),h.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor,e.customElement),Fo()}Bi(c)}class Vt{$destroy(){Fe(this,1),this.$destroy=We}$on(e,t){if(!bi(t))return We;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!$w(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class a2{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ls=new a2;class s2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new s2;class o2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const zn=new o2;let u2=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{q2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=dn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Hi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return pi.isAuthorizationEnabled()}unload(){this.initialized=!1,fn.unload(),On.removeAllEventListeners();const e=Hi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){zn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ee.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ee.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ee.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const as=new u2;let f2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&fn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&fn.logout()}async handleAuthEvent(e,t,n,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ui.getStorageKey(),getStorageType:()=>ui.getStorageType(),getAuthData:()=>ui.getAuthData(),setAuthData:e=>ui.setAuthData(e),removeAuthData:()=>ui.removeAuthData(),setNewlyAuthorized:()=>ui.setNewlyAuthorized()}}};const K_=new f2,sn={desktopMinWidth:600},c2=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],d2={cssSelector:"[luigi-app-root]"},h2={cssSelector:"[luigi-app-loading-indicator]"};let g2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(d2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const j_=new g2;class _2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Xn extends _2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class p2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Xn().openAsDrawer(e,t)}fromContext(e){return new Xn().fromContext(e)}fromClosestContext(){return new Xn().fromClosestContext()}fromVirtualTreeRoot(){return new Xn().fromVirtualTreeRoot()}withParams(e){return new Xn().withParams(e)}pathExists(e){return new Xn().pathExists(e)}hasBack(){return new Xn().hasBack()}goBack(e){return new Xn().goBack(e)}}const J_=new p2,m2={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},b2=m2;class v2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=b2,this.listeners={}}_init(){dn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+dr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Y_=new v2;class w2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=rs.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const k2=new w2,ar=[];function S2(i,e){return{subscribe:fr(i,e).subscribe}}function fr(i,e=We){let t;const n=new Set;function l(o){if(At(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.length=0}}}function r(o){l(o(i))}function a(o,c=We){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||We),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class C2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(oe.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&this.previousWindowWidth>=sn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>sn.desktopMinWidth&&this.previousWindowWidth>=sn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(oe.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(oe.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const _i=new C2;let y2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(h2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){_i.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const Q_=new y2;let P2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const Z_=new P2;let N2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};dn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const X_=new N2;let T2=class{constructor(){this.featureToggleList=fr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const $_=new T2;let I2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const x_=new I2,ae=as,pi=K_,Hi=j_,ep=J_,yt=Y_,Yr=Q_,L2=Z_,Do=X_,Uo=$_,ul=x_;window.Luigi=as;window.Luigi.auth=()=>K_;window.Luigi.elements=()=>j_;window.Luigi.navigation=()=>J_;window.Luigi.i18n=()=>Y_;window.Luigi.customMessages=()=>k2;window.Luigi.ux=()=>Q_;window.Luigi.globalSearch=()=>Z_;window.Luigi.theming=()=>X_;window.Luigi.featureToggles=()=>$_;window.Luigi.routing=()=>x_;class A2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=oe.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:yt.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=oe.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:yt.getCurrentLocale()})};Ee.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):oe.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Ee.getMainIframes(),p=this.getPreservedViewsInDom(h);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ee.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(E=>{Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:E[T.userSettingsGroup]},internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const oi=new A2;class E2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=oe.getAllViewGroupSettings();if(!l)return;const r=Ee.getIframeContainer(),a=Ee.getMainIframes(),o=new Date().getTime();if(a.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=a.map(h=>h.vg).filter(Boolean),d=Object.entries(l).filter(([h,p])=>!g.includes(h)).filter(([h,p])=>p&&p.preloadUrl);t&&d.forEach(([h,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,h,r)}),!t&&d.filter((h,p)=>p<e).forEach(([h,p])=>{console.debug("preloading view group "+h+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,h,r)})}preloadIframeOnBackground(e,t,n){const l=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const sr=new E2;class R2{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(zn.hasRootNode()&&(l=zn.getRootNode().node),!l){const h=await e;le.isObject(h)?(l=h,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:h},l.children=await this.getChildren(l),zn.setRootNode(l)}const r=n.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),g=c.navigationPath.filter(h=>h.pathSegment).map(h=>h.pathSegment);c.isExistingRoute=!n||r.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((h,p)=>g[p]&&g[p].startsWith(":")||g[p]===h).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(zn.hasChildren(e)){let r=zn.getChildren(e);r&&(n=r.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return zn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return zn.hasChildren(e)?Mt.getChildrenFromCache(e):await Mt.getChildren(e)}getChildrenFromCache(e){let t=zn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>oe.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=oe.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),g=we.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,g);const h=e.slice(1);a=this.buildNode(h,t,d,g,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const h=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!h&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
1
+ var Jw=Object.defineProperty;var Yw=(i,e,t)=>e in i?Jw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Uf=(i,e,t)=>(Yw(i,typeof e!="symbol"?e+"":e,t),t);function We(){}function Qw(i,e){for(const t in e)i[t]=e[t];return i}function Zw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function O_(i){return i()}function Bf(){return Object.create(null)}function Qe(i){i.forEach(O_)}function pi(i){return typeof i=="function"}function Dt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Za;function et(i,e){return Za||(Za=document.createElement("a")),Za.href=e,i===Za.href}function Xw(i){return Object.keys(i).length===0}function Vo(i,...e){if(i==null)return We;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ul(i){let e;return Vo(i,t=>e=t)(),e}function bi(i,e,t){i.$$.on_destroy.push(Vo(e,t))}function M_(i,e,t,n){if(i){const l=F_(i,e,t,n);return i[0](l)}}function F_(i,e,t,n){return i[1]&&n?Qw(t.ctx.slice(),i[1](n(e))):t.ctx}function U_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function B_(i,e,t,n,l,r){if(l){const a=F_(e,t,n,r);i.p(a,l)}}function H_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function Xn(i){return i??""}function W_(i){return i&&pi(i.destroy)?i.destroy:We}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function _t(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function $w(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ie(i){return document.createTextNode(i)}function W(){return Ie(" ")}function Se(){return Ie("")}function te(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function yt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Wt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function xw(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Hf(i,e){i.value=e??""}function Vn(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Kt(i,e,t){i.classList[t?"add":"remove"](e)}function e2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class gr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=$w(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let zr;function Bi(i){zr=i}function gl(){if(!zr)throw new Error("Function called outside component initialization");return zr}function zn(i){gl().$$.before_update.push(i)}function xt(i){gl().$$.on_mount.push(i)}function jr(i){gl().$$.after_update.push(i)}function Jr(i){gl().$$.on_destroy.push(i)}function jt(){const i=gl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=e2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Br(i,e){return gl().$$.context.set(i,e),e}function Ct(i){return gl().$$.context.get(i)}function Ul(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Wr=[],Ye=[],xa=[],Lo=[],t2=Promise.resolve();let Ao=!1;function n2(){Ao||(Ao=!0,t2.then(Oo))}function Eo(i){xa.push(i)}function kt(i){Lo.push(i)}const No=new Set;let Xa=0;function Oo(){const i=zr;do{for(;Xa<Wr.length;){const e=Wr[Xa];Xa++,Bi(e),i2(e.$$)}for(Bi(null),Wr.length=0,Xa=0;Ye.length;)Ye.pop()();for(let e=0;e<xa.length;e+=1){const t=xa[e];No.has(t)||(No.add(t),t())}xa.length=0}while(Wr.length);for(;Lo.length;)Lo.pop()();Ao=!1,No.clear(),Bi(i)}function i2(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}const es=new Set;let Bl;function we(){Bl={r:0,c:[],p:Bl}}function ke(){Bl.r||Qe(Bl.c),Bl=Bl.p}function R(i,e){i&&i.i&&(es.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(es.has(i))return;es.add(i),Bl.c.push(()=>{es.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ns(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==r&&h&&(we(),U(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),ke())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[r]=g),d&&Oo()}if(Zw(i)){const l=gl();if(i.then(r=>{Bi(l),n(e.then,1,e.value,r),Bi(null)},r=>{if(Bi(l),n(e.catch,2,e.error,r),Bi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function z_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const _l=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function St(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Oe(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Eo(()=>{const a=i.$$.on_mount.map(O_).filter(pi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Qe(a),i.$$.on_mount=[]}),r.forEach(Eo)}function Me(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function l2(i,e){i.$$.dirty[0]===-1&&(Wr.push(i),n2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Mt(i,e,t,n,l,r,a,o=[-1]){const c=zr;Bi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:We,not_equal:l,bound:Bf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Bf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(g.root);let d=!1;if(g.ctx=t?t(i,e.props||{},(h,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=m)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](m),d&&l2(i,h)),p}):[],g.update(),d=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=xw(e.target);g.fragment&&g.fragment.l(h),h.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Oe(i,e.target,e.anchor,e.customElement),Oo()}Bi(c)}class Ft{$destroy(){Me(this,1),this.$destroy=We}$on(e,t){if(!pi(t))return We;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!Xw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class r2{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const is=new r2;class a2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ls=new a2;class s2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Hn=new s2;let o2=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{z2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=pn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Hi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return is.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await is.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return gi.isAuthorizationEnabled()}unload(){this.initialized=!1,cn.unload(),Wn.removeAllEventListeners();const e=Hi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Hn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ae.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ae.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},ve.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ae.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const rs=new o2;let u2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&cn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&cn.logout()}async handleAuthEvent(e,t,n,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>oi.getStorageKey(),getStorageType:()=>oi.getStorageType(),getAuthData:()=>oi.getAuthData(),setAuthData:e=>oi.setAuthData(e),removeAuthData:()=>oi.removeAuthData(),setNewlyAuthorized:()=>oi.setNewlyAuthorized()}}};const q_=new u2,sn={desktopMinWidth:600},f2=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],c2={cssSelector:"[luigi-app-root]"},d2={cssSelector:"[luigi-app-loading-indicator]"};let h2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(c2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const G_=new h2;class g2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Zn extends g2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class _2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Zn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Zn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Zn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Zn().openAsDrawer(e,t)}fromContext(e){return new Zn().fromContext(e)}fromClosestContext(){return new Zn().fromClosestContext()}fromVirtualTreeRoot(){return new Zn().fromVirtualTreeRoot()}withParams(e){return new Zn().withParams(e)}pathExists(e){return new Zn().pathExists(e)}hasBack(){return new Zn().hasBack()}goBack(e){return new Zn().goBack(e)}}const K_=new _2,p2={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},m2=p2;class b2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=m2,this.listeners={}}_init(){pn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),rs.configChanged()}_initCustomImplementation(){this.translationImpl=rs.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+hr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const j_=new b2;class v2{sendToAll(e){const t=ls.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=ls.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const w2=new v2,sr=[];function k2(i,e){return{subscribe:cr(i,e).subscribe}}function cr(i,e=We){let t;const n=new Set;function l(o){if(Dt(i,o)&&(i=o,t)){const c=!sr.length;for(const g of n)g[1](),sr.push(g,i);if(c){for(let g=0;g<sr.length;g+=2)sr[g][0](sr[g+1]);sr.length=0}}}function r(o){l(o(i))}function a(o,c=We){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||We),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class S2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(oe.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&this.previousWindowWidth>=sn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>sn.desktopMinWidth&&this.previousWindowWidth>=sn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(oe.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(oe.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const hi=new S2;let C2=class{constructor(){this.documentTitle=cr()}hideAppLoadingIndicator(){const e=document.querySelector(d2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ul(this.documentTitle)}collapseLeftSideNav(e){hi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Zn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const J_=new C2;let y2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const Y_=new y2;let P2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};pn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const Q_=new P2;let N2=class{constructor(){this.featureToggleList=cr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ul(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ul(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ul(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ul(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ul(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ul(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const Z_=new N2;let T2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=ve.addParamsOnHashRouting(e,n.hash):ve.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=ve.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=ve.addParamsOnHashRouting(e,l.hash,n):ve.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const X_=new T2,ae=rs,gi=q_,Hi=G_,$_=K_,Nt=j_,Yr=J_,I2=Y_,Ro=Q_,Mo=Z_,fl=X_;window.Luigi=rs;window.Luigi.auth=()=>q_;window.Luigi.elements=()=>G_;window.Luigi.navigation=()=>K_;window.Luigi.i18n=()=>j_;window.Luigi.customMessages=()=>w2;window.Luigi.ux=()=>J_;window.Luigi.globalSearch=()=>Y_;window.Luigi.theming=()=>Q_;window.Luigi.featureToggles=()=>Z_;window.Luigi.routing=()=>X_;class L2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=oe.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Nt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=oe.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Nt.getCurrentLocale()})};Ae.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):oe.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=ve.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Ae.getMainIframes(),p=this.getPreservedViewsInDom(h);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},ve.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(E=>{Ae.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:E[T.userSettingsGroup]},internal:Ae.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},ve.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const si=new L2;class A2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=oe.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=a.map(h=>h.vg).filter(Boolean),d=Object.entries(l).filter(([h,p])=>!g.includes(h)).filter(([h,p])=>p&&p.preloadUrl);t&&d.forEach(([h,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,h,r)}),!t&&d.filter((h,p)=>p<e).forEach(([h,p])=>{console.debug("preloading view group "+h+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,h,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const or=new A2;class E2{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Hn.hasRootNode()&&(l=Hn.getRootNode().node),!l){const h=await e;le.isObject(h)?(l=h,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:h},l.children=await this.getChildren(l),Hn.setRootNode(l)}const r=n.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),g=c.navigationPath.filter(h=>h.pathSegment).map(h=>h.pathSegment);c.isExistingRoute=!n||r.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((h,p)=>g[p]&&g[p].startsWith(":")||g[p]===h).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Hn.hasChildren(e)){let r=Hn.getChildren(e);r&&(n=r.children)}else try{n=await is.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Hn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Hn.hasChildren(e)?Bt.getChildrenFromCache(e):await Bt.getChildren(e)}getChildrenFromCache(e){let t=Hn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>oe.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=oe.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=hr.sanitizeParam(o)),g=ve.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,g);const h=e.slice(1);a=this.buildNode(h,t,d,g,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const h=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!h&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
2
2
  Children nodes are redundant and ignored when virtualTree is enabled.
3
3
  Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
4
4
  Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
5
5
  Remove the static node from the configuration to resolve this warning.
6
6
  Affected pathSegment:`,e,"Children:",t),t=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
7
7
  Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
8
- Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=ae.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(zn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?oe.groupNodesBy(n,"category",!0):{children:oe.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!we.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let a=[...r].pop(),o;(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const c=await this.getChildren(a,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(c,e);n.navParent=g.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=g.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,ae.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,oe.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&oe.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const a=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(a.tabNav?a:oe.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:we.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Mt=new R2,dl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},D2={externalLink:{sameWindow:!1}};class cr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class V2 extends cr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=tp({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class O2 extends cr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
8
+ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=ae.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Hn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?oe.groupNodesBy(n,"category",!0):{children:oe.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!ve.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let a=[...r].pop(),o;(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const c=await this.getChildren(a,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(c,e);n.navParent=g.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=g.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,ae.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,oe.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&oe.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const a=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(a.tabNav?a:oe.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:ve.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Bt=new E2,hl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},R2={externalLink:{sameWindow:!1}};class dr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class D2 extends dr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=x_({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class V2 extends dr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
9
9
  .${e} {
10
10
  grid-template-columns: ${l.columns||"auto"};
11
11
  grid-template-rows: ${l.rows||"auto"};
@@ -23,42 +23,42 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
23
23
  }
24
24
  ${n}
25
25
  </style>
26
- `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const tp=i=>{const e=i.use;if(e){if(e==="grid")return new O2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new V2(i)}else return new cr(i);return new cr(i)},qf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},M2=i=>Object.entries(i).reduce((e,t)=>(e[Gf(t[0])]=Gf(t[1]),e),{}),Gf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),F2="500px",U2="0px";class B2{constructor(){Hf(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(/* webpackIgnore: true */e)}attachWC(e,t,n,l,r,a,o,c){if(n&&n.contains(t)){const g=document.createElement(e);a&&g.setAttribute("nodeId",a),g.setAttribute("lui_web_component",!0),this.initWC(g,e,n,r,l,a,o),n.replaceChild(g,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,l,r,a,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:h=>{n.eventBus&&n.eventBus.onPublishEvent(h,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var h;return(h=e.extendedContext)!=null&&h.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const h={clientPermissions:e.extendedContext.clientPermissions};return we.prepareSearchParamsForClient(h)},getClientPermissions:()=>{var h;return(h=e.extendedContext)!=null&&h.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(h,p)=>{o||window.Luigi.routing().addNodeParams(h,p)},getNodeParams:h=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return h?M2(p):e.extendedContext.nodeParams},setAnchor:h=>{o||window.Luigi.routing().setAnchor(h)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:h=>{const p=oe.findViewGroup(n._luigi_node);if(p){const b=oe.getViewGroupSettings(p);b._liveCustomData=h,ae.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const h=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,h.origin+h.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g;const d=ae.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=we.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(a=>{try{if(!window.customElements.get(t)){let o=a.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(a);for(let g=0;g<c.length&&(o=a[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(a=>r(a)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,a)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,a)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=ae.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a,o){var p;const c=n.context,g=we.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(g),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,h,t,n,g,r,a,o):window.luigiWCFn?window.luigiWCFn(g,d,h,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,g,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):this.registerWCFromUrl(g,d).then(()=>{this.attachWC(d,h,t,n,g,r,a,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=n==null?void 0:n.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,a=this.wcContainerData.get(r);a?this.renderWebComponent(a.viewUrl,a.wc_container,a.extendedContext,a.node,a.nodeId,a.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=n.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||F2;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new cr,l.viewUrl=we.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=tp(e.compound.renderer):l=new cr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||U2})}renderWebComponentCompound(e,t,n){var c,g;const l=((g=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:g.enabled)===!0,r=n.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),t._luigi_node=e,new Promise(d=>{this.createCompoundContainerAsync(a,n,e).then(h=>{const p={};h.eventBus={listeners:p,onPublishEvent:(b,m,v)=>{const C=p[m+"."+b.type]||[];C.push(...p["*."+b.type]||[]),C.forEach(y=>{const P=y.wcElement||h.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(b.detail):b.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((b,m)=>{var P;const v={...r,...b.context},C=a.createCompoundItemContainer(b.layoutConfig),y=b.id||"gen_"+m;C.eventBus=h.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(h,C),this.wcContainerData.set(C,{viewUrl:b.viewUrl,wc_container:C,extendedContext:{context:v},node:b,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(C)):(a.attachCompoundItem(h,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),qf(p,b,y)}),t.appendChild(h),qf(p,e.compound,"_root",h),d(h)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ae.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const ur=new B2;var Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ss={exports:{}};/**
26
+ `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const x_=i=>{const e=i.use;if(e){if(e==="grid")return new V2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new D2(i)}else return new dr(i);return new dr(i)},Wf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},O2=i=>Object.entries(i).reduce((e,t)=>(e[zf(t[0])]=zf(t[1]),e),{}),zf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),M2="500px",F2="0px";class U2{constructor(){Uf(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(/* webpackIgnore: true */e)}attachWC(e,t,n,l,r,a,o,c){if(n&&n.contains(t)){const g=document.createElement(e);a&&g.setAttribute("nodeId",a),g.setAttribute("lui_web_component",!0),this.initWC(g,e,n,r,l,a,o),n.replaceChild(g,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,l,r,a,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:h=>{n.eventBus&&n.eventBus.onPublishEvent(h,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var h;return(h=e.extendedContext)!=null&&h.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const h={clientPermissions:e.extendedContext.clientPermissions};return ve.prepareSearchParamsForClient(h)},getClientPermissions:()=>{var h;return(h=e.extendedContext)!=null&&h.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(h,p)=>{o||window.Luigi.routing().addNodeParams(h,p)},getNodeParams:h=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return h?O2(p):e.extendedContext.nodeParams},setAnchor:h=>{o||window.Luigi.routing().setAnchor(h)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:h=>{const p=oe.findViewGroup(n._luigi_node);if(p){const b=oe.getViewGroupSettings(p);b._liveCustomData=h,ae.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const h=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,h.origin+h.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g;const d=ae.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=ve.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(a=>{try{if(!window.customElements.get(t)){let o=a.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(a);for(let g=0;g<c.length&&(o=a[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(a=>r(a)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,a)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,a)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=ae.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a,o){var p;const c=n.context,g=ve.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(g),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,h,t,n,g,r,a,o):window.luigiWCFn?window.luigiWCFn(g,d,h,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,g,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):this.registerWCFromUrl(g,d).then(()=>{this.attachWC(d,h,t,n,g,r,a,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=n==null?void 0:n.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,a=this.wcContainerData.get(r);a?this.renderWebComponent(a.viewUrl,a.wc_container,a.extendedContext,a.node,a.nodeId,a.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=n.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||M2;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new dr,l.viewUrl=ve.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=x_(e.compound.renderer):l=new dr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||F2})}renderWebComponentCompound(e,t,n){var c,g;const l=((g=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:g.enabled)===!0,r=n.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),t._luigi_node=e,new Promise(d=>{this.createCompoundContainerAsync(a,n,e).then(h=>{const p={};h.eventBus={listeners:p,onPublishEvent:(b,m,v)=>{const C=p[m+"."+b.type]||[];C.push(...p["*."+b.type]||[]),C.forEach(y=>{const P=y.wcElement||h.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(b.detail):b.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((b,m)=>{var P;const v={...r,...b.context},C=a.createCompoundItemContainer(b.layoutConfig),y=b.id||"gen_"+m;C.eventBus=h.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(h,C),this.wcContainerData.set(C,{viewUrl:b.viewUrl,wc_container:C,extendedContext:{context:v},node:b,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(C)):(a.attachCompoundItem(h,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),Wf(p,b,y)}),t.appendChild(h),Wf(p,e.compound,"_root",h),d(h)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ae.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:{};t(o)})}else n({})})}}const fr=new U2;var Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},as={exports:{}};/**
27
27
  * @license
28
28
  * Lodash <https://lodash.com/>
29
29
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
30
30
  * Released under MIT license <https://lodash.com/license>
31
31
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
32
32
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
33
- */ss.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",h=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,T=8,E=16,V=32,I=64,H=128,O=256,D=512,q=30,Z="...",$=800,pe=16,x=1,G=2,K=3,J=1/0,ge=9007199254740991,ie=17976931348623157e292,se=0/0,ve=4294967295,re=ve-1,Re=ve>>>1,ze=[["ary",H],["bind",C],["bindKey",y],["curry",T],["curryRight",E],["flip",D],["partial",V],["partialRight",I],["rearg",O]],ne="[object Arguments]",ce="[object Array]",Te="[object AsyncFunction]",tt="[object Boolean]",Be="[object Date]",rt="[object DOMException]",Pt="[object Error]",_e="[object Function]",$e="[object GeneratorFunction]",kt="[object Map]",qt="[object Number]",Nn="[object Null]",Ft="[object Object]",Ne="[object Promise]",ct="[object Proxy]",at="[object RegExp]",Ot="[object Set]",Bt="[object String]",wn="[object Symbol]",ei="[object Undefined]",xt="[object WeakMap]",kn="[object WeakSet]",Gn="[object ArrayBuffer]",Yt="[object DataView]",Tn="[object Float32Array]",ki="[object Float64Array]",Si="[object Int8Array]",hn="[object Int16Array]",Ci="[object Int32Array]",yi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Ti="[object Uint32Array]",_l=/\b__p \+= '';/g,pl=/\b(__p \+=) '' \+/g,ml=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ii=/&(?:amp|lt|gt|quot|#39);/g,zi=/[&<>"']/g,qi=RegExp(Ii.source),fi=RegExp(zi.source),bl=/<%-([\s\S]+?)%>/g,vl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,wl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kl=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ye=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(ye.source),ut=/^\s+/,St=/\s/,tn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,gn=/\{\n\/\* \[wrapped with (.+)\] \*/,ti=/,? & /,ni=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bl=/[()=,{}\[\]\/\s]/,gr=/\\(\\)?/g,In=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,Sl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,Cl=/^(?:0|[1-9]\d*)$/,yl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ci=/($^)/,Wl=/['\n\r\u2028\u2029\\]/g,Li="\\ud800-\\udfff",pr="\\u0300-\\u036f",Y="\\ufe20-\\ufe2f",Et="\\u20d0-\\u20ff",_n=pr+Y+Et,ii="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",en="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zl="\\u2000-\\u206f",Qr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",Xr=Ji+en+zl+Qr,br="['’]",cs="["+Li+"]",$r="["+Xr+"]",Qi="["+_n+"]",xr="\\d+",ds="["+ii+"]",ea="["+mr+"]",ta="[^"+Li+Xr+xr+ii+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",na="(?:"+Qi+"|"+vr+")",ia="[^"+Li+"]",ql="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",hs="(?:"+Zi+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=na+"?",ua="["+Yi+"]?",gs="(?:"+la+"(?:"+[ia,ql,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+gs,ms="(?:"+[ds,ql,wr].join("|")+")"+fa,bs="(?:"+[ia+Qi+"?",Qi,ql,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Qi,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),B=RegExp([Zi+"?"+ea+"+"+aa+"(?="+[$r,Zi,"$"].join("|")+")",hs+"+"+sa+"(?="+[$r,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,ps,_s,xr,ms].join("|"),"g"),fe=RegExp("["+la+Li+_n+Yi+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Oe=-1,de={};de[Tn]=de[ki]=de[Si]=de[hn]=de[Ci]=de[yi]=de[Pi]=de[Ni]=de[Ti]=!0,de[ne]=de[ce]=de[Gn]=de[tt]=de[Yt]=de[Be]=de[Pt]=de[_e]=de[kt]=de[qt]=de[Ft]=de[at]=de[Ot]=de[Bt]=de[xt]=!1;var Ie={};Ie[ne]=Ie[ce]=Ie[Gn]=Ie[Yt]=Ie[tt]=Ie[Be]=Ie[Tn]=Ie[ki]=Ie[Si]=Ie[hn]=Ie[Ci]=Ie[kt]=Ie[qt]=Ie[Ft]=Ie[at]=Ie[Ot]=Ie[Bt]=Ie[wn]=Ie[yi]=Ie[Pi]=Ie[Ni]=Ie[Ti]=!0,Ie[Pt]=Ie[_e]=Ie[xt]=!1;var Ct={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ht={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Sr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,$i=parseInt,Gl=typeof Hr=="object"&&Hr&&Hr.Object===Object&&Hr,Ke=typeof self=="object"&&self&&self.Object===Object&&self,xe=Gl||Ke||Function("return this")(),Lt=e&&!e.nodeType&&e,Wt=Lt&&!0&&i&&!i.nodeType&&i,Ln=Wt&&Wt.exports===Lt,Mn=Ln&&Gl.process,on=function(){try{var X=Wt&&Wt.require&&Wt.require("util").types;return X||Mn&&Mn.binding&&Mn.binding("util")}catch{}}(),Kl=on&&on.isArrayBuffer,Pl=on&&on.isDate,ks=on&&on.isMap,jl=on&&on.isRegExp,ca=on&&on.isSet,Nl=on&&on.isTypedArray;function nn(X,he,ue){switch(ue.length){case 0:return X.call(he);case 1:return X.call(he,ue[0]);case 2:return X.call(he,ue[0],ue[1]);case 3:return X.call(he,ue[0],ue[1],ue[2])}return X.apply(he,ue)}function pn(X,he,ue,He){for(var et=-1,Nt=X==null?0:X.length;++et<Nt;){var ln=X[et];he(He,ln,ue(ln),X)}return He}function Gt(X,he){for(var ue=-1,He=X==null?0:X.length;++ue<He&&he(X[ue],ue,X)!==!1;);return X}function Ss(X,he){for(var ue=X==null?0:X.length;ue--&&he(X[ue],ue,X)!==!1;);return X}function Ho(X,he){for(var ue=-1,He=X==null?0:X.length;++ue<He;)if(!he(X[ue],ue,X))return!1;return!0}function xi(X,he){for(var ue=-1,He=X==null?0:X.length,et=0,Nt=[];++ue<He;){var ln=X[ue];he(ln,ue,X)&&(Nt[et++]=ln)}return Nt}function da(X,he){var ue=X==null?0:X.length;return!!ue&&Jl(X,he,0)>-1}function Cs(X,he,ue){for(var He=-1,et=X==null?0:X.length;++He<et;)if(ue(he,X[He]))return!0;return!1}function zt(X,he){for(var ue=-1,He=X==null?0:X.length,et=Array(He);++ue<He;)et[ue]=he(X[ue],ue,X);return et}function el(X,he){for(var ue=-1,He=he.length,et=X.length;++ue<He;)X[et+ue]=he[ue];return X}function ys(X,he,ue,He){var et=-1,Nt=X==null?0:X.length;for(He&&Nt&&(ue=X[++et]);++et<Nt;)ue=he(ue,X[et],et,X);return ue}function vp(X,he,ue,He){var et=X==null?0:X.length;for(He&&et&&(ue=X[--et]);et--;)ue=he(ue,X[et],et,X);return ue}function Ps(X,he){for(var ue=-1,He=X==null?0:X.length;++ue<He;)if(he(X[ue],ue,X))return!0;return!1}var wp=Ns("length");function kp(X){return X.split("")}function Sp(X){return X.match(ni)||[]}function Wo(X,he,ue){var He;return ue(X,function(et,Nt,ln){if(he(et,Nt,ln))return He=Nt,!1}),He}function ha(X,he,ue,He){for(var et=X.length,Nt=ue+(He?1:-1);He?Nt--:++Nt<et;)if(he(X[Nt],Nt,X))return Nt;return-1}function Jl(X,he,ue){return he===he?Vp(X,he,ue):ha(X,zo,ue)}function Cp(X,he,ue,He){for(var et=ue-1,Nt=X.length;++et<Nt;)if(He(X[et],he))return et;return-1}function zo(X){return X!==X}function qo(X,he){var ue=X==null?0:X.length;return ue?Is(X,he)/ue:se}function Ns(X){return function(he){return he==null?t:he[X]}}function Ts(X){return function(he){return X==null?t:X[he]}}function Go(X,he,ue,He,et){return et(X,function(Nt,ln,Rt){ue=He?(He=!1,Nt):he(ue,Nt,ln,Rt)}),ue}function yp(X,he){var ue=X.length;for(X.sort(he);ue--;)X[ue]=X[ue].value;return X}function Is(X,he){for(var ue,He=-1,et=X.length;++He<et;){var Nt=he(X[He]);Nt!==t&&(ue=ue===t?Nt:ue+Nt)}return ue}function Ls(X,he){for(var ue=-1,He=Array(X);++ue<X;)He[ue]=he(ue);return He}function Pp(X,he){return zt(he,function(ue){return[ue,X[ue]]})}function Ko(X){return X&&X.slice(0,Qo(X)+1).replace(ut,"")}function Fn(X){return function(he){return X(he)}}function As(X,he){return zt(he,function(ue){return X[ue]})}function yr(X,he){return X.has(he)}function jo(X,he){for(var ue=-1,He=X.length;++ue<He&&Jl(he,X[ue],0)>-1;);return ue}function Jo(X,he){for(var ue=X.length;ue--&&Jl(he,X[ue],0)>-1;);return ue}function Np(X,he){for(var ue=X.length,He=0;ue--;)X[ue]===he&&++He;return He}var Tp=Ts(Ct),Ip=Ts(Ht);function Lp(X){return"\\"+Xi[X]}function Ap(X,he){return X==null?t:X[he]}function Yl(X){return fe.test(X)}function Ep(X){return De.test(X)}function Rp(X){for(var he,ue=[];!(he=X.next()).done;)ue.push(he.value);return ue}function Es(X){var he=-1,ue=Array(X.size);return X.forEach(function(He,et){ue[++he]=[et,He]}),ue}function Yo(X,he){return function(ue){return X(he(ue))}}function tl(X,he){for(var ue=-1,He=X.length,et=0,Nt=[];++ue<He;){var ln=X[ue];(ln===he||ln===d)&&(X[ue]=d,Nt[et++]=ue)}return Nt}function ga(X){var he=-1,ue=Array(X.size);return X.forEach(function(He){ue[++he]=He}),ue}function Dp(X){var he=-1,ue=Array(X.size);return X.forEach(function(He){ue[++he]=[He,He]}),ue}function Vp(X,he,ue){for(var He=ue-1,et=X.length;++He<et;)if(X[He]===he)return He;return-1}function Op(X,he,ue){for(var He=ue+1;He--;)if(X[He]===he)return He;return He}function Ql(X){return Yl(X)?Fp(X):wp(X)}function li(X){return Yl(X)?Up(X):kp(X)}function Qo(X){for(var he=X.length;he--&&St.test(X.charAt(he)););return he}var Mp=Ts(Sr);function Fp(X){for(var he=kr.lastIndex=0;kr.test(X);)++he;return he}function Up(X){return X.match(kr)||[]}function Bp(X){return X.match(B)||[]}var Hp=function X(he){he=he==null?xe:Zl.defaults(xe.Object(),he,Zl.pick(xe,qe));var ue=he.Array,He=he.Date,et=he.Error,Nt=he.Function,ln=he.Math,Rt=he.Object,Rs=he.RegExp,Wp=he.String,Kn=he.TypeError,_a=ue.prototype,zp=Nt.prototype,Xl=Rt.prototype,pa=he["__core-js_shared__"],ma=zp.toString,It=Xl.hasOwnProperty,qp=0,Zo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Xl.toString,Gp=ma.call(Rt),Kp=xe._,jp=Rs("^"+ma.call(It).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Ln?he.Buffer:t,nl=he.Symbol,wa=he.Uint8Array,Xo=va?va.allocUnsafe:t,ka=Yo(Rt.getPrototypeOf,Rt),$o=Rt.create,xo=Xl.propertyIsEnumerable,Sa=_a.splice,eu=nl?nl.isConcatSpreadable:t,Pr=nl?nl.iterator:t,Tl=nl?nl.toStringTag:t,Ca=function(){try{var s=Rl(Rt,"defineProperty");return s({},"",{}),s}catch{}}(),Jp=he.clearTimeout!==xe.clearTimeout&&he.clearTimeout,Yp=He&&He.now!==xe.Date.now&&He.now,Qp=he.setTimeout!==xe.setTimeout&&he.setTimeout,ya=ln.ceil,Pa=ln.floor,Ds=Rt.getOwnPropertySymbols,Zp=va?va.isBuffer:t,tu=he.isFinite,Xp=_a.join,$p=Yo(Rt.keys,Rt),rn=ln.max,mn=ln.min,xp=He.now,em=he.parseInt,nu=ln.random,tm=_a.reverse,Vs=Rl(he,"DataView"),Nr=Rl(he,"Map"),Os=Rl(he,"Promise"),$l=Rl(he,"Set"),Tr=Rl(he,"WeakMap"),Ir=Rl(Rt,"create"),Na=Tr&&new Tr,xl={},nm=Dl(Vs),im=Dl(Nr),lm=Dl(Os),rm=Dl($l),am=Dl(Tr),Ta=nl?nl.prototype:t,Lr=Ta?Ta.valueOf:t,iu=Ta?Ta.toString:t;function M(s){if(Qt(s)&&!it(s)&&!(s instanceof _t)){if(s instanceof jn)return s;if(It.call(s,"__wrapped__"))return rf(s)}return new jn(s)}var er=function(){function s(){}return function(u){if(!Kt(u))return{};if($o)return $o(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ia(){}function jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:bl,evaluate:vl,interpolate:Gi,variable:"",imports:{_:M}},M.prototype=Ia.prototype,M.prototype.constructor=M,jn.prototype=er(Ia.prototype),jn.prototype.constructor=jn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function sm(){var s=new _t(this.__wrapped__);return s.__actions__=An(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=An(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=An(this.__views__),s}function om(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function um(){var s=this.__wrapped__.value(),u=this.__dir__,_=it(s),k=u<0,N=_?s.length:0,F=k1(0,N,this.__views__),z=F.start,j=F.end,ee=j-z,me=k?j:z-1,be=this.__iteratees__,Pe=be.length,Ve=0,Ge=mn(ee,this.__takeCount__);if(!_||!k&&N==ee&&Ge==ee)return Tu(s,this.__actions__);var Qe=[];e:for(;ee--&&Ve<Ge;){me+=u;for(var ot=-1,Ze=s[me];++ot<Pe;){var gt=be[ot],pt=gt.iteratee,Hn=gt.type,yn=pt(Ze);if(Hn==G)Ze=yn;else if(!yn){if(Hn==x)continue e;break e}}Qe[Ve++]=Ze}return Qe}_t.prototype=er(Ia.prototype),_t.prototype.constructor=_t;function Il(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function fm(){this.__data__=Ir?Ir(null):{},this.size=0}function cm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function dm(s){var u=this.__data__;if(Ir){var _=u[s];return _===c?t:_}return It.call(u,s)?u[s]:t}function hm(s){var u=this.__data__;return Ir?u[s]!==t:It.call(u,s)}function gm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Ir&&u===t?c:u,this}Il.prototype.clear=fm,Il.prototype.delete=cm,Il.prototype.get=dm,Il.prototype.has=hm,Il.prototype.set=gm;function Ai(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function _m(){this.__data__=[],this.size=0}function pm(s){var u=this.__data__,_=La(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Sa.call(u,_,1),--this.size,!0}function mm(s){var u=this.__data__,_=La(u,s);return _<0?t:u[_][1]}function bm(s){return La(this.__data__,s)>-1}function vm(s,u){var _=this.__data__,k=La(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Ai.prototype.clear=_m,Ai.prototype.delete=pm,Ai.prototype.get=mm,Ai.prototype.has=bm,Ai.prototype.set=vm;function Ei(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function wm(){this.size=0,this.__data__={hash:new Il,map:new(Nr||Ai),string:new Il}}function km(s){var u=Wa(this,s).delete(s);return this.size-=u?1:0,u}function Sm(s){return Wa(this,s).get(s)}function Cm(s){return Wa(this,s).has(s)}function ym(s,u){var _=Wa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Ei.prototype.clear=wm,Ei.prototype.delete=km,Ei.prototype.get=Sm,Ei.prototype.has=Cm,Ei.prototype.set=ym;function Ll(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ei;++u<_;)this.add(s[u])}function Pm(s){return this.__data__.set(s,c),this}function Nm(s){return this.__data__.has(s)}Ll.prototype.add=Ll.prototype.push=Pm,Ll.prototype.has=Nm;function ri(s){var u=this.__data__=new Ai(s);this.size=u.size}function Tm(){this.__data__=new Ai,this.size=0}function Im(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Lm(s){return this.__data__.get(s)}function Am(s){return this.__data__.has(s)}function Em(s,u){var _=this.__data__;if(_ instanceof Ai){var k=_.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ei(k)}return _.set(s,u),this.size=_.size,this}ri.prototype.clear=Tm,ri.prototype.delete=Im,ri.prototype.get=Lm,ri.prototype.has=Am,ri.prototype.set=Em;function lu(s,u){var _=it(s),k=!_&&Vl(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&lr(s),z=_||k||N||F,j=z?Ls(s.length,Wp):[],ee=j.length;for(var me in s)(u||It.call(s,me))&&!(z&&(me=="length"||N&&(me=="offset"||me=="parent")||F&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Oi(me,ee)))&&j.push(me);return j}function ru(s){var u=s.length;return u?s[js(0,u-1)]:t}function Rm(s,u){return za(An(s),Al(u,0,s.length))}function Dm(s){return za(An(s))}function Ms(s,u,_){(_!==t&&!ai(s[u],_)||_===t&&!(u in s))&&Ri(s,u,_)}function Ar(s,u,_){var k=s[u];(!(It.call(s,u)&&ai(k,_))||_===t&&!(u in s))&&Ri(s,u,_)}function La(s,u){for(var _=s.length;_--;)if(ai(s[_][0],u))return _;return-1}function Vm(s,u,_,k){return il(s,function(N,F,z){u(k,N,_(N),z)}),k}function au(s,u){return s&&hi(u,un(u),s)}function Om(s,u){return s&&hi(u,Rn(u),s)}function Ri(s,u,_){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Fs(s,u){for(var _=-1,k=u.length,N=ue(k),F=s==null;++_<k;)N[_]=F?t:bo(s,u[_]);return N}function Al(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Jn(s,u,_,k,N,F){var z,j=u&h,ee=u&p,me=u&b;if(_&&(z=N?_(s,k,N,F):_(s)),z!==t)return z;if(!Kt(s))return s;var be=it(s);if(be){if(z=C1(s),!j)return An(s,z)}else{var Pe=bn(s),Ve=Pe==_e||Pe==$e;if(sl(s))return Au(s,j);if(Pe==Ft||Pe==ne||Ve&&!N){if(z=ee||Ve?{}:Qu(s),!j)return ee?d1(s,Om(z,s)):c1(s,au(z,s))}else{if(!Ie[Pe])return N?s:{};z=y1(s,Pe,j)}}F||(F=new ri);var Ge=F.get(s);if(Ge)return Ge;F.set(s,z),Pf(s)?s.forEach(function(Ze){z.add(Jn(Ze,u,_,Ze,s,F))}):Cf(s)&&s.forEach(function(Ze,gt){z.set(gt,Jn(Ze,u,_,gt,s,F))});var Qe=me?ee?io:no:ee?Rn:un,ot=be?t:Qe(s);return Gt(ot||s,function(Ze,gt){ot&&(gt=Ze,Ze=s[gt]),Ar(z,gt,Jn(Ze,u,_,gt,s,F))}),z}function Mm(s){var u=un(s);return function(_){return su(_,s,u)}}function su(s,u,_){var k=_.length;if(s==null)return!k;for(s=Rt(s);k--;){var N=_[k],F=u[N],z=s[N];if(z===t&&!(N in s)||!F(z))return!1}return!0}function ou(s,u,_){if(typeof s!="function")throw new Kn(a);return Fr(function(){s.apply(t,_)},u)}function Er(s,u,_,k){var N=-1,F=da,z=!0,j=s.length,ee=[],me=u.length;if(!j)return ee;_&&(u=zt(u,Fn(_))),k?(F=Cs,z=!1):u.length>=l&&(F=yr,z=!1,u=new Ll(u));e:for(;++N<j;){var be=s[N],Pe=_==null?be:_(be);if(be=k||be!==0?be:0,z&&Pe===Pe){for(var Ve=me;Ve--;)if(u[Ve]===Pe)continue e;ee.push(be)}else F(u,Pe,k)||ee.push(be)}return ee}var il=Ou(di),uu=Ou(Bs,!0);function Fm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Aa(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],z=u(F);if(z!=null&&(j===t?z===z&&!Bn(z):_(z,j)))var j=z,ee=F}return ee}function Um(s,u,_,k){var N=s.length;for(_=st(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:st(k),k<0&&(k+=N),k=_>k?0:Tf(k);_<k;)s[_++]=u;return s}function fu(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function cn(s,u,_,k,N){var F=-1,z=s.length;for(_||(_=N1),N||(N=[]);++F<z;){var j=s[F];u>0&&_(j)?u>1?cn(j,u-1,_,k,N):el(N,j):k||(N[N.length]=j)}return N}var Us=Mu(),cu=Mu(!0);function di(s,u){return s&&Us(s,u,un)}function Bs(s,u){return s&&cu(s,u,un)}function Ea(s,u){return xi(u,function(_){return Mi(s[_])})}function El(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[gi(u[_++])];return _&&_==k?s:t}function du(s,u,_){var k=u(s);return it(s)?k:el(k,_(s))}function Sn(s){return s==null?s===t?ei:Nn:Tl&&Tl in Rt(s)?w1(s):D1(s)}function Hs(s,u){return s>u}function Bm(s,u){return s!=null&&It.call(s,u)}function Hm(s,u){return s!=null&&u in Rt(s)}function Wm(s,u,_){return s>=mn(u,_)&&s<rn(u,_)}function Ws(s,u,_){for(var k=_?Cs:da,N=s[0].length,F=s.length,z=F,j=ue(F),ee=1/0,me=[];z--;){var be=s[z];z&&u&&(be=zt(be,Fn(u))),ee=mn(be.length,ee),j[z]=!_&&(u||N>=120&&be.length>=120)?new Ll(z&&be):t}be=s[0];var Pe=-1,Ve=j[0];e:for(;++Pe<N&&me.length<ee;){var Ge=be[Pe],Qe=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(Ve?yr(Ve,Qe):k(me,Qe,_))){for(z=F;--z;){var ot=j[z];if(!(ot?yr(ot,Qe):k(s[z],Qe,_)))continue e}Ve&&Ve.push(Qe),me.push(Ge)}}return me}function zm(s,u,_,k){return di(s,function(N,F,z){u(k,_(N),F,z)}),k}function Rr(s,u,_){u=rl(u,s),s=xu(s,u);var k=s==null?s:s[gi(Qn(u))];return k==null?t:nn(k,s,_)}function hu(s){return Qt(s)&&Sn(s)==ne}function qm(s){return Qt(s)&&Sn(s)==Gn}function Gm(s){return Qt(s)&&Sn(s)==Be}function Dr(s,u,_,k,N){return s===u?!0:s==null||u==null||!Qt(s)&&!Qt(u)?s!==s&&u!==u:Km(s,u,_,k,Dr,N)}function Km(s,u,_,k,N,F){var z=it(s),j=it(u),ee=z?ce:bn(s),me=j?ce:bn(u);ee=ee==ne?Ft:ee,me=me==ne?Ft:me;var be=ee==Ft,Pe=me==Ft,Ve=ee==me;if(Ve&&sl(s)){if(!sl(u))return!1;z=!0,be=!1}if(Ve&&!be)return F||(F=new ri),z||lr(s)?ju(s,u,_,k,N,F):b1(s,u,ee,_,k,N,F);if(!(_&m)){var Ge=be&&It.call(s,"__wrapped__"),Qe=Pe&&It.call(u,"__wrapped__");if(Ge||Qe){var ot=Ge?s.value():s,Ze=Qe?u.value():u;return F||(F=new ri),N(ot,Ze,_,k,F)}}return Ve?(F||(F=new ri),v1(s,u,_,k,N,F)):!1}function jm(s){return Qt(s)&&bn(s)==kt}function zs(s,u,_,k){var N=_.length,F=N,z=!k;if(s==null)return!F;for(s=Rt(s);N--;){var j=_[N];if(z&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++N<F;){j=_[N];var ee=j[0],me=s[ee],be=j[1];if(z&&j[2]){if(me===t&&!(ee in s))return!1}else{var Pe=new ri;if(k)var Ve=k(me,be,ee,s,u,Pe);if(!(Ve===t?Dr(be,me,m|v,k,Pe):Ve))return!1}}return!0}function gu(s){if(!Kt(s)||I1(s))return!1;var u=Mi(s)?jp:_r;return u.test(Dl(s))}function Jm(s){return Qt(s)&&Sn(s)==at}function Ym(s){return Qt(s)&&bn(s)==Ot}function Qm(s){return Qt(s)&&Ya(s.length)&&!!de[Sn(s)]}function _u(s){return typeof s=="function"?s:s==null?Dn:typeof s=="object"?it(s)?bu(s[0],s[1]):mu(s):Uf(s)}function qs(s){if(!Mr(s))return $p(s);var u=[];for(var _ in Rt(s))It.call(s,_)&&_!="constructor"&&u.push(_);return u}function Zm(s){if(!Kt(s))return R1(s);var u=Mr(s),_=[];for(var k in s)k=="constructor"&&(u||!It.call(s,k))||_.push(k);return _}function Gs(s,u){return s<u}function pu(s,u){var _=-1,k=En(s)?ue(s.length):[];return il(s,function(N,F,z){k[++_]=u(N,F,z)}),k}function mu(s){var u=ro(s);return u.length==1&&u[0][2]?Xu(u[0][0],u[0][1]):function(_){return _===s||zs(_,s,u)}}function bu(s,u){return so(s)&&Zu(u)?Xu(gi(s),u):function(_){var k=bo(_,s);return k===t&&k===u?vo(_,s):Dr(u,k,m|v)}}function Ra(s,u,_,k,N){s!==u&&Us(u,function(F,z){if(N||(N=new ri),Kt(F))Xm(s,u,z,_,Ra,k,N);else{var j=k?k(uo(s,z),F,z+"",s,u,N):t;j===t&&(j=F),Ms(s,z,j)}},Rn)}function Xm(s,u,_,k,N,F,z){var j=uo(s,_),ee=uo(u,_),me=z.get(ee);if(me){Ms(s,_,me);return}var be=F?F(j,ee,_+"",s,u,z):t,Pe=be===t;if(Pe){var Ve=it(ee),Ge=!Ve&&sl(ee),Qe=!Ve&&!Ge&&lr(ee);be=ee,Ve||Ge||Qe?it(j)?be=j:Zt(j)?be=An(j):Ge?(Pe=!1,be=Au(ee,!0)):Qe?(Pe=!1,be=Eu(ee,!0)):be=[]:Ur(ee)||Vl(ee)?(be=j,Vl(j)?be=If(j):(!Kt(j)||Mi(j))&&(be=Qu(ee))):Pe=!1}Pe&&(z.set(ee,be),N(be,ee,k,F,z),z.delete(ee)),Ms(s,_,be)}function vu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Oi(u,_)?s[u]:t}function wu(s,u,_){u.length?u=zt(u,function(F){return it(F)?function(z){return El(z,F.length===1?F[0]:F)}:F}):u=[Dn];var k=-1;u=zt(u,Fn(je()));var N=pu(s,function(F,z,j){var ee=zt(u,function(me){return me(F)});return{criteria:ee,index:++k,value:F}});return yp(N,function(F,z){return f1(F,z,_)})}function $m(s,u){return ku(s,u,function(_,k){return vo(s,k)})}function ku(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var z=u[k],j=El(s,z);_(j,z)&&Vr(F,rl(z,s),j)}return F}function xm(s){return function(u){return El(u,s)}}function Ks(s,u,_,k){var N=k?Cp:Jl,F=-1,z=u.length,j=s;for(s===u&&(u=An(u)),_&&(j=zt(s,Fn(_)));++F<z;)for(var ee=0,me=u[F],be=_?_(me):me;(ee=N(j,be,ee,k))>-1;)j!==s&&Sa.call(j,ee,1),Sa.call(s,ee,1);return s}function Su(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Oi(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(nu()*(u-s+1))}function e1(s,u,_,k){for(var N=-1,F=rn(ya((u-s)/(_||1)),0),z=ue(F);F--;)z[k?F:++N]=s,s+=_;return z}function Js(s,u){var _="";if(!s||u<1||u>ge)return _;do u%2&&(_+=s),u=Pa(u/2),u&&(s+=s);while(u);return _}function ft(s,u){return fo($u(s,u,Dn),s+"")}function t1(s){return ru(rr(s))}function n1(s,u){var _=rr(s);return za(_,Al(u,0,_.length))}function Vr(s,u,_,k){if(!Kt(s))return s;u=rl(u,s);for(var N=-1,F=u.length,z=F-1,j=s;j!=null&&++N<F;){var ee=gi(u[N]),me=_;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=z){var be=j[ee];me=k?k(be,ee,j):t,me===t&&(me=Kt(be)?be:Oi(u[N+1])?[]:{})}Ar(j,ee,me),j=j[ee]}return s}var Cu=Na?function(s,u){return Na.set(s,u),s}:Dn,i1=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Dn;function l1(s){return za(rr(s))}function Yn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=ue(N);++k<N;)F[k]=s[k+u];return F}function r1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Da(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Re){for(;k<N;){var F=k+N>>>1,z=s[F];z!==null&&!Bn(z)&&(_?z<=u:z<u)?k=F+1:N=F}return N}return Ys(s,u,Dn,_)}function Ys(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var z=u!==u,j=u===null,ee=Bn(u),me=u===t;N<F;){var be=Pa((N+F)/2),Pe=_(s[be]),Ve=Pe!==t,Ge=Pe===null,Qe=Pe===Pe,ot=Bn(Pe);if(z)var Ze=k||Qe;else me?Ze=Qe&&(k||Ve):j?Ze=Qe&&Ve&&(k||!Ge):ee?Ze=Qe&&Ve&&!Ge&&(k||!ot):Ge||ot?Ze=!1:Ze=k?Pe<=u:Pe<u;Ze?N=be+1:F=be}return mn(F,re)}function yu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var z=s[_],j=u?u(z):z;if(!_||!ai(j,ee)){var ee=j;F[N++]=z===0?0:z}}return F}function Pu(s){return typeof s=="number"?s:Bn(s)?se:+s}function Un(s){if(typeof s=="string")return s;if(it(s))return zt(s,Un)+"";if(Bn(s))return iu?iu.call(s):"";var u=s+"";return u=="0"&&1/s==-J?"-0":u}function ll(s,u,_){var k=-1,N=da,F=s.length,z=!0,j=[],ee=j;if(_)z=!1,N=Cs;else if(F>=l){var me=u?null:p1(s);if(me)return ga(me);z=!1,N=yr,ee=new Ll}else ee=u?[]:j;e:for(;++k<F;){var be=s[k],Pe=u?u(be):be;if(be=_||be!==0?be:0,z&&Pe===Pe){for(var Ve=ee.length;Ve--;)if(ee[Ve]===Pe)continue e;u&&ee.push(Pe),j.push(be)}else N(ee,Pe,_)||(ee!==j&&ee.push(Pe),j.push(be))}return j}function Qs(s,u){return u=rl(u,s),s=xu(s,u),s==null||delete s[gi(Qn(u))]}function Nu(s,u,_,k){return Vr(s,u,_(El(s,u)),k)}function Va(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Yn(s,k?0:F,k?F+1:N):Yn(s,k?F+1:0,k?N:F)}function Tu(s,u){var _=s;return _ instanceof _t&&(_=_.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function Zs(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=ue(k);++N<k;)for(var z=s[N],j=-1;++j<k;)j!=N&&(F[N]=Er(F[N]||z,s[j],u,_));return ll(cn(F,1),u,_)}function Iu(s,u,_){for(var k=-1,N=s.length,F=u.length,z={};++k<N;){var j=k<F?u[k]:t;_(z,s[k],j)}return z}function Xs(s){return Zt(s)?s:[]}function $s(s){return typeof s=="function"?s:Dn}function rl(s,u){return it(s)?s:so(s,u)?[s]:lf(Tt(s))}var a1=ft;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Yn(s,u,_)}var Lu=Jp||function(s){return xe.clearTimeout(s)};function Au(s,u){if(u)return s.slice();var _=s.length,k=Xo?Xo(_):new s.constructor(_);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function s1(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function o1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function u1(s){return Lr?Rt(Lr.call(s)):{}}function Eu(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Ru(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Bn(s),z=u!==t,j=u===null,ee=u===u,me=Bn(u);if(!j&&!me&&!F&&s>u||F&&z&&ee&&!j&&!me||k&&z&&ee||!_&&ee||!N)return 1;if(!k&&!F&&!me&&s<u||me&&_&&N&&!k&&!F||j&&_&&N||!z&&N||!ee)return-1}return 0}function f1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,z=N.length,j=_.length;++k<z;){var ee=Ru(N[k],F[k]);if(ee){if(k>=j)return ee;var me=_[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Du(s,u,_,k){for(var N=-1,F=s.length,z=_.length,j=-1,ee=u.length,me=rn(F-z,0),be=ue(ee+me),Pe=!k;++j<ee;)be[j]=u[j];for(;++N<z;)(Pe||N<F)&&(be[_[N]]=s[N]);for(;me--;)be[j++]=s[N++];return be}function Vu(s,u,_,k){for(var N=-1,F=s.length,z=-1,j=_.length,ee=-1,me=u.length,be=rn(F-j,0),Pe=ue(be+me),Ve=!k;++N<be;)Pe[N]=s[N];for(var Ge=N;++ee<me;)Pe[Ge+ee]=u[ee];for(;++z<j;)(Ve||N<F)&&(Pe[Ge+_[z]]=s[N++]);return Pe}function An(s,u){var _=-1,k=s.length;for(u||(u=ue(k));++_<k;)u[_]=s[_];return u}function hi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,z=u.length;++F<z;){var j=u[F],ee=k?k(_[j],s[j],j,_,s):t;ee===t&&(ee=s[j]),N?Ri(_,j,ee):Ar(_,j,ee)}return _}function c1(s,u){return hi(s,ao(s),u)}function d1(s,u){return hi(s,Ju(s),u)}function Oa(s,u){return function(_,k){var N=it(_)?pn:Vm,F=u?u():{};return N(_,s,je(k,2),F)}}function tr(s){return ft(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,z=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,z&&Cn(_[0],_[1],z)&&(F=N<3?t:F,N=1),u=Rt(u);++k<N;){var j=_[k];j&&s(u,j,k,F)}return u})}function Ou(s,u){return function(_,k){if(_==null)return _;if(!En(_))return s(_,k);for(var N=_.length,F=u?N:-1,z=Rt(_);(u?F--:++F<N)&&k(z[F],F,z)!==!1;);return _}}function Mu(s){return function(u,_,k){for(var N=-1,F=Rt(u),z=k(u),j=z.length;j--;){var ee=z[s?j:++N];if(_(F[ee],ee,F)===!1)break}return u}}function h1(s,u,_){var k=u&C,N=Or(s);function F(){var z=this&&this!==xe&&this instanceof F?N:s;return z.apply(k?_:this,arguments)}return F}function Fu(s){return function(u){u=Tt(u);var _=Yl(u)?li(u):t,k=_?_[0]:u.charAt(0),N=_?al(_,1).join(""):u.slice(1);return k[s]()+N}}function nr(s){return function(u){return ys(Mf(Of(u).replace(vs,"")),s,"")}}function Or(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=er(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function g1(s,u,_){var k=Or(s);function N(){for(var F=arguments.length,z=ue(F),j=F,ee=ir(N);j--;)z[j]=arguments[j];var me=F<3&&z[0]!==ee&&z[F-1]!==ee?[]:tl(z,ee);if(F-=me.length,F<_)return zu(s,u,Ma,N.placeholder,t,z,me,t,t,_-F);var be=this&&this!==xe&&this instanceof N?k:s;return nn(be,this,z)}return N}function Uu(s){return function(u,_,k){var N=Rt(u);if(!En(u)){var F=je(_,3);u=un(u),_=function(j){return F(N[j],j,N)}}var z=s(u,_,k);return z>-1?N[F?u[z]:z]:t}}function Bu(s){return Vi(function(u){var _=u.length,k=_,N=jn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Kn(a);if(N&&!z&&Ha(F)=="wrapper")var z=new jn([],!0)}for(k=z?k:_;++k<_;){F=u[k];var j=Ha(F),ee=j=="wrapper"?lo(F):t;ee&&oo(ee[0])&&ee[1]==(H|T|V|O)&&!ee[4].length&&ee[9]==1?z=z[Ha(ee[0])].apply(z,ee[3]):z=F.length==1&&oo(F)?z[j]():z.thru(F)}return function(){var me=arguments,be=me[0];if(z&&me.length==1&&it(be))return z.plant(be).value();for(var Pe=0,Ve=_?u[Pe].apply(this,me):be;++Pe<_;)Ve=u[Pe].call(this,Ve);return Ve}})}function Ma(s,u,_,k,N,F,z,j,ee,me){var be=u&H,Pe=u&C,Ve=u&y,Ge=u&(T|E),Qe=u&D,ot=Ve?t:Or(s);function Ze(){for(var gt=arguments.length,pt=ue(gt),Hn=gt;Hn--;)pt[Hn]=arguments[Hn];if(Ge)var yn=ir(Ze),Wn=Np(pt,yn);if(k&&(pt=Du(pt,k,N,Ge)),F&&(pt=Vu(pt,F,z,Ge)),gt-=Wn,Ge&&gt<me){var Xt=tl(pt,yn);return zu(s,u,Ma,Ze.placeholder,_,pt,Xt,j,ee,me-gt)}var si=Pe?_:this,Ui=Ve?si[s]:s;return gt=pt.length,j?pt=V1(pt,j):Qe&&gt>1&&pt.reverse(),be&&ee<gt&&(pt.length=ee),this&&this!==xe&&this instanceof Ze&&(Ui=ot||Or(Ui)),Ui.apply(si,pt)}return Ze}function Hu(s,u){return function(_,k){return zm(_,s,u(k),{})}}function Fa(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Un(_),k=Un(k)):(_=Pu(_),k=Pu(k)),N=s(_,k)}return N}}function eo(s){return Vi(function(u){return u=zt(u,Fn(je())),ft(function(_){var k=this;return s(u,function(N){return nn(N,k,_)})})})}function Ua(s,u){u=u===t?" ":Un(u);var _=u.length;if(_<2)return _?Js(u,s):u;var k=Js(u,ya(s/Ql(u)));return Yl(u)?al(li(k),0,s).join(""):k.slice(0,s)}function _1(s,u,_,k){var N=u&C,F=Or(s);function z(){for(var j=-1,ee=arguments.length,me=-1,be=k.length,Pe=ue(be+ee),Ve=this&&this!==xe&&this instanceof z?F:s;++me<be;)Pe[me]=k[me];for(;ee--;)Pe[me++]=arguments[++j];return nn(Ve,N?_:this,Pe)}return z}function Wu(s){return function(u,_,k){return k&&typeof k!="number"&&Cn(u,_,k)&&(_=k=t),u=Fi(u),_===t?(_=u,u=0):_=Fi(_),k=k===t?u<_?1:-1:Fi(k),e1(u,_,k,s)}}function Ba(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=Zn(u),_=Zn(_)),s(u,_)}}function zu(s,u,_,k,N,F,z,j,ee,me){var be=u&T,Pe=be?z:t,Ve=be?t:z,Ge=be?F:t,Qe=be?t:F;u|=be?V:I,u&=~(be?I:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ge,Pe,Qe,Ve,j,ee,me],Ze=_.apply(t,ot);return oo(s)&&ef(Ze,ot),Ze.placeholder=k,tf(Ze,s,u)}function to(s){var u=ln[s];return function(_,k){if(_=Zn(_),k=k==null?0:mn(st(k),292),k&&tu(_)){var N=(Tt(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(Tt(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var p1=$l&&1/ga(new $l([,-0]))[1]==J?function(s){return new $l(s)}:yo;function qu(s){return function(u){var _=bn(u);return _==kt?Es(u):_==Ot?Dp(u):Pp(u,s(u))}}function Di(s,u,_,k,N,F,z,j){var ee=u&y;if(!ee&&typeof s!="function")throw new Kn(a);var me=k?k.length:0;if(me||(u&=~(V|I),k=N=t),z=z===t?z:rn(st(z),0),j=j===t?j:st(j),me-=N?N.length:0,u&I){var be=k,Pe=N;k=N=t}var Ve=ee?t:lo(s),Ge=[s,u,_,k,N,be,Pe,F,z,j];if(Ve&&E1(Ge,Ve),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],j=Ge[9]=Ge[9]===t?ee?0:s.length:rn(Ge[9]-me,0),!j&&u&(T|E)&&(u&=~(T|E)),!u||u==C)var Qe=h1(s,u,_);else u==T||u==E?Qe=g1(s,u,j):(u==V||u==(C|V))&&!N.length?Qe=_1(s,u,_,k):Qe=Ma.apply(t,Ge);var ot=Ve?Cu:ef;return tf(ot(Qe,Ge),s,u)}function Gu(s,u,_,k){return s===t||ai(s,Xl[_])&&!It.call(k,_)?u:s}function Ku(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Ra(s,u,t,Ku,F),F.delete(u)),s}function m1(s){return Ur(s)?t:s}function ju(s,u,_,k,N,F){var z=_&m,j=s.length,ee=u.length;if(j!=ee&&!(z&&ee>j))return!1;var me=F.get(s),be=F.get(u);if(me&&be)return me==u&&be==s;var Pe=-1,Ve=!0,Ge=_&v?new Ll:t;for(F.set(s,u),F.set(u,s);++Pe<j;){var Qe=s[Pe],ot=u[Pe];if(k)var Ze=z?k(ot,Qe,Pe,u,s,F):k(Qe,ot,Pe,s,u,F);if(Ze!==t){if(Ze)continue;Ve=!1;break}if(Ge){if(!Ps(u,function(gt,pt){if(!yr(Ge,pt)&&(Qe===gt||N(Qe,gt,_,k,F)))return Ge.push(pt)})){Ve=!1;break}}else if(!(Qe===ot||N(Qe,ot,_,k,F))){Ve=!1;break}}return F.delete(s),F.delete(u),Ve}function b1(s,u,_,k,N,F,z){switch(_){case Yt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Gn:return!(s.byteLength!=u.byteLength||!F(new wa(s),new wa(u)));case tt:case Be:case qt:return ai(+s,+u);case Pt:return s.name==u.name&&s.message==u.message;case at:case Bt:return s==u+"";case kt:var j=Es;case Ot:var ee=k&m;if(j||(j=ga),s.size!=u.size&&!ee)return!1;var me=z.get(s);if(me)return me==u;k|=v,z.set(s,u);var be=ju(j(s),j(u),k,N,F,z);return z.delete(s),be;case wn:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function v1(s,u,_,k,N,F){var z=_&m,j=no(s),ee=j.length,me=no(u),be=me.length;if(ee!=be&&!z)return!1;for(var Pe=ee;Pe--;){var Ve=j[Pe];if(!(z?Ve in u:It.call(u,Ve)))return!1}var Ge=F.get(s),Qe=F.get(u);if(Ge&&Qe)return Ge==u&&Qe==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Ze=z;++Pe<ee;){Ve=j[Pe];var gt=s[Ve],pt=u[Ve];if(k)var Hn=z?k(pt,gt,Ve,u,s,F):k(gt,pt,Ve,s,u,F);if(!(Hn===t?gt===pt||N(gt,pt,_,k,F):Hn)){ot=!1;break}Ze||(Ze=Ve=="constructor")}if(ot&&!Ze){var yn=s.constructor,Wn=u.constructor;yn!=Wn&&"constructor"in s&&"constructor"in u&&!(typeof yn=="function"&&yn instanceof yn&&typeof Wn=="function"&&Wn instanceof Wn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Vi(s){return fo($u(s,t,of),s+"")}function no(s){return du(s,un,ao)}function io(s){return du(s,Rn,Ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ha(s){for(var u=s.name+"",_=xl[u],k=It.call(xl,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ir(s){var u=It.call(M,"placeholder")?M:s;return u.placeholder}function je(){var s=M.iteratee||So;return s=s===So?_u:s,arguments.length?s(arguments[0],arguments[1]):s}function Wa(s,u){var _=s.__data__;return T1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ro(s){for(var u=un(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,Zu(N)]}return u}function Rl(s,u){var _=Ap(s,u);return gu(_)?_:t}function w1(s){var u=It.call(s,Tl),_=s[Tl];try{s[Tl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[Tl]=_:delete s[Tl]),N}var ao=Ds?function(s){return s==null?[]:(s=Rt(s),xi(Ds(s),function(u){return xo.call(s,u)}))}:Po,Ju=Ds?function(s){for(var u=[];s;)el(u,ao(s)),s=ka(s);return u}:Po,bn=Sn;(Vs&&bn(new Vs(new ArrayBuffer(1)))!=Yt||Nr&&bn(new Nr)!=kt||Os&&bn(Os.resolve())!=Ne||$l&&bn(new $l)!=Ot||Tr&&bn(new Tr)!=xt)&&(bn=function(s){var u=Sn(s),_=u==Ft?s.constructor:t,k=_?Dl(_):"";if(k)switch(k){case nm:return Yt;case im:return kt;case lm:return Ne;case rm:return Ot;case am:return xt}return u});function k1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],z=F.size;switch(F.type){case"drop":s+=z;break;case"dropRight":u-=z;break;case"take":u=mn(u,s+z);break;case"takeRight":s=rn(s,u-z);break}}return{start:s,end:u}}function S1(s){var u=s.match(gn);return u?u[1].split(ti):[]}function Yu(s,u,_){u=rl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var z=gi(u[k]);if(!(F=s!=null&&_(s,z)))break;s=s[z]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Ya(N)&&Oi(z,N)&&(it(s)||Vl(s)))}function C1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&It.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function Qu(s){return typeof s.constructor=="function"&&!Mr(s)?er(ka(s)):{}}function y1(s,u,_){var k=s.constructor;switch(u){case Gn:return xs(s);case tt:case Be:return new k(+s);case Yt:return s1(s,_);case Tn:case ki:case Si:case hn:case Ci:case yi:case Pi:case Ni:case Ti:return Eu(s,_);case kt:return new k;case qt:case Bt:return new k(s);case at:return o1(s);case Ot:return new k;case wn:return u1(s)}}function P1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(tn,`{
33
+ */as.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",h=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,T=8,E=16,V=32,I=64,H=128,O=256,D=512,q=30,Q="...",X=800,ge=16,$=1,G=2,K=3,J=1/0,he=9007199254740991,ne=17976931348623157e292,se=0/0,be=4294967295,re=be-1,Ee=be>>>1,Be=[["ary",H],["bind",C],["bindKey",y],["curry",T],["curryRight",E],["flip",D],["partial",V],["partialRight",I],["rearg",O]],ie="[object Arguments]",ce="[object Array]",Ne="[object AsyncFunction]",tt="[object Boolean]",ze="[object Date]",Ze="[object DOMException]",ut="[object Error]",me="[object Function]",it="[object GeneratorFunction]",Pt="[object Map]",en="[object Number]",xn="[object Null]",Lt="[object Object]",Te="[object Promise]",ht="[object Proxy]",lt="[object RegExp]",Ht="[object Set]",Jt="[object String]",kn="[object Symbol]",on="[object Undefined]",Qt="[object WeakMap]",pl="[object WeakSet]",Zt="[object ArrayBuffer]",un="[object DataView]",vi="[object Float32Array]",wi="[object Float64Array]",mn="[object Int8Array]",ki="[object Int16Array]",Si="[object Int32Array]",Ci="[object Uint8Array]",yi="[object Uint8ClampedArray]",Pi="[object Uint16Array]",Ni="[object Uint32Array]",ml=/\b__p \+= '';/g,bl=/\b(__p \+=) '' \+/g,zi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qi=/&(?:amp|lt|gt|quot|#39);/g,Ti=/[&<>"']/g,ui=RegExp(qi.source),vl=RegExp(Ti.source),wl=/<%-([\s\S]+?)%>/g,kl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,Sl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cl=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ce=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(Ce.source),ft=/^\s+/,Tt=/\s/,tn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,In=/\{\n\/\* \[wrapped with (.+)\] \*/,ei=/,? & /,ti=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_r=/[()=,{}\[\]\/\s]/,Ln=/\\(\\)?/g,yl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,zl=/^[-+]0x[0-9a-f]+$/i,pr=/^0b[01]+$/i,ji=/^\[object .+?Constructor\]$/,Pl=/^0o[0-7]+$/i,Nl=/^(?:0|[1-9]\d*)$/,Tl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ii=/($^)/,ql=/['\n\r\u2028\u2029\\]/g,Ji="\\ud800-\\udfff",bt="\\u0300-\\u036f",ee="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",Sn=bt+ee+Vt,ni="\\u2700-\\u27bf",Li="a-z\\xdf-\\xf6\\xf8-\\xff",nn="\\xac\\xb1\\xd7\\xf7",Gl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qr="\\u2000-\\u206f",fs=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Yi="A-Z\\xc0-\\xd6\\xd8-\\xde",Zr="\\ufe0e\\ufe0f",Xr=nn+Gl+Qr+fs,mr="['’]",cs="["+Ji+"]",Kl="["+Xr+"]",jl="["+Sn+"]",$r="\\d+",ds="["+ni+"]",xr="["+Li+"]",ea="[^"+Ji+Xr+$r+ni+Li+Yi+"]",br="\\ud83c[\\udffb-\\udfff]",ta="(?:"+jl+"|"+br+")",na="[^"+Ji+"]",vr="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Qi="["+Yi+"]",ia="\\u200d",la="(?:"+xr+"|"+ea+")",hs="(?:"+Qi+"|"+ea+")",ra="(?:"+mr+"(?:d|ll|m|re|s|t|ve))?",aa="(?:"+mr+"(?:D|LL|M|RE|S|T|VE))?",sa=ta+"?",oa="["+Zr+"]?",gs="(?:"+ia+"(?:"+[na,vr,wr].join("|")+")"+oa+sa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ua=oa+sa+gs,ms="(?:"+[ds,vr,wr].join("|")+")"+ua,bs="(?:"+[na+jl+"?",jl,vr,wr,cs].join("|")+")",vs=RegExp(mr,"g"),B=RegExp(jl,"g"),fe=RegExp(br+"(?="+br+")|"+bs+ua,"g"),Re=RegExp([Qi+"?"+xr+"+"+ra+"(?="+[Kl,Qi,"$"].join("|")+")",hs+"+"+aa+"(?="+[Kl,Qi+la,"$"].join("|")+")",Qi+"?"+la+"+"+ra,Qi+"+"+aa,ps,_s,$r,ms].join("|"),"g"),qe=RegExp("["+ia+Ji+Sn+Zr+"]"),Ve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fe=-1,Ke={};Ke[vi]=Ke[wi]=Ke[mn]=Ke[ki]=Ke[Si]=Ke[Ci]=Ke[yi]=Ke[Pi]=Ke[Ni]=!0,Ke[ie]=Ke[ce]=Ke[Zt]=Ke[tt]=Ke[un]=Ke[ze]=Ke[ut]=Ke[me]=Ke[Pt]=Ke[en]=Ke[Lt]=Ke[lt]=Ke[Ht]=Ke[Jt]=Ke[Qt]=!1;var xe={};xe[ie]=xe[ce]=xe[Zt]=xe[un]=xe[tt]=xe[ze]=xe[vi]=xe[wi]=xe[mn]=xe[ki]=xe[Si]=xe[Pt]=xe[en]=xe[Lt]=xe[lt]=xe[Ht]=xe[Jt]=xe[kn]=xe[Ci]=xe[yi]=xe[Pi]=xe[Ni]=!0,xe[ut]=xe[me]=xe[Qt]=!1;var kr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Zi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Sr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,je=parseInt,Et=typeof Hr=="object"&&Hr&&Hr.Object===Object&&Hr,Ut=typeof self=="object"&&self&&self.Object===Object&&self,wt=Et||Ut||Function("return this")(),Cn=e&&!e.nodeType&&e,dn=Cn&&!0&&i&&!i.nodeType&&i,$i=dn&&dn.exports===Cn,Il=$i&&Et.process,hn=function(){try{var Z=dn&&dn.require&&dn.require("util").types;return Z||Il&&Il.binding&&Il.binding("util")}catch{}}(),ws=hn&&hn.isArrayBuffer,Jl=hn&&hn.isDate,fa=hn&&hn.isMap,Ll=hn&&hn.isRegExp,xi=hn&&hn.isSet,gn=hn&&hn.isTypedArray;function zt(Z,de,ue){switch(ue.length){case 0:return Z.call(de);case 1:return Z.call(de,ue[0]);case 2:return Z.call(de,ue[0],ue[1]);case 3:return Z.call(de,ue[0],ue[1],ue[2])}return Z.apply(de,ue)}function ks(Z,de,ue,He){for(var rt=-1,It=Z==null?0:Z.length;++rt<It;){var ln=Z[rt];de(He,ln,ue(ln),Z)}return He}function qn(Z,de){for(var ue=-1,He=Z==null?0:Z.length;++ue<He&&de(Z[ue],ue,Z)!==!1;);return Z}function mp(Z,de){for(var ue=Z==null?0:Z.length;ue--&&de(Z[ue],ue,Z)!==!1;);return Z}function Uo(Z,de){for(var ue=-1,He=Z==null?0:Z.length;++ue<He;)if(!de(Z[ue],ue,Z))return!1;return!0}function el(Z,de){for(var ue=-1,He=Z==null?0:Z.length,rt=0,It=[];++ue<He;){var ln=Z[ue];de(ln,ue,Z)&&(It[rt++]=ln)}return It}function ca(Z,de){var ue=Z==null?0:Z.length;return!!ue&&Yl(Z,de,0)>-1}function Ss(Z,de,ue){for(var He=-1,rt=Z==null?0:Z.length;++He<rt;)if(ue(de,Z[He]))return!0;return!1}function qt(Z,de){for(var ue=-1,He=Z==null?0:Z.length,rt=Array(He);++ue<He;)rt[ue]=de(Z[ue],ue,Z);return rt}function tl(Z,de){for(var ue=-1,He=de.length,rt=Z.length;++ue<He;)Z[rt+ue]=de[ue];return Z}function Cs(Z,de,ue,He){var rt=-1,It=Z==null?0:Z.length;for(He&&It&&(ue=Z[++rt]);++rt<It;)ue=de(ue,Z[rt],rt,Z);return ue}function bp(Z,de,ue,He){var rt=Z==null?0:Z.length;for(He&&rt&&(ue=Z[--rt]);rt--;)ue=de(ue,Z[rt],rt,Z);return ue}function ys(Z,de){for(var ue=-1,He=Z==null?0:Z.length;++ue<He;)if(de(Z[ue],ue,Z))return!0;return!1}var vp=Ps("length");function wp(Z){return Z.split("")}function kp(Z){return Z.match(ti)||[]}function Bo(Z,de,ue){var He;return ue(Z,function(rt,It,ln){if(de(rt,It,ln))return He=It,!1}),He}function da(Z,de,ue,He){for(var rt=Z.length,It=ue+(He?1:-1);He?It--:++It<rt;)if(de(Z[It],It,Z))return It;return-1}function Yl(Z,de,ue){return de===de?Dp(Z,de,ue):da(Z,Ho,ue)}function Sp(Z,de,ue,He){for(var rt=ue-1,It=Z.length;++rt<It;)if(He(Z[rt],de))return rt;return-1}function Ho(Z){return Z!==Z}function Wo(Z,de){var ue=Z==null?0:Z.length;return ue?Ts(Z,de)/ue:se}function Ps(Z){return function(de){return de==null?t:de[Z]}}function Ns(Z){return function(de){return Z==null?t:Z[de]}}function zo(Z,de,ue,He,rt){return rt(Z,function(It,ln,Ot){ue=He?(He=!1,It):de(ue,It,ln,Ot)}),ue}function Cp(Z,de){var ue=Z.length;for(Z.sort(de);ue--;)Z[ue]=Z[ue].value;return Z}function Ts(Z,de){for(var ue,He=-1,rt=Z.length;++He<rt;){var It=de(Z[He]);It!==t&&(ue=ue===t?It:ue+It)}return ue}function Is(Z,de){for(var ue=-1,He=Array(Z);++ue<Z;)He[ue]=de(ue);return He}function yp(Z,de){return qt(de,function(ue){return[ue,Z[ue]]})}function qo(Z){return Z&&Z.slice(0,Jo(Z)+1).replace(ft,"")}function On(Z){return function(de){return Z(de)}}function Ls(Z,de){return qt(de,function(ue){return Z[ue]})}function yr(Z,de){return Z.has(de)}function Go(Z,de){for(var ue=-1,He=Z.length;++ue<He&&Yl(de,Z[ue],0)>-1;);return ue}function Ko(Z,de){for(var ue=Z.length;ue--&&Yl(de,Z[ue],0)>-1;);return ue}function Pp(Z,de){for(var ue=Z.length,He=0;ue--;)Z[ue]===de&&++He;return He}var Np=Ns(kr),Tp=Ns(Zi);function Ip(Z){return"\\"+Xi[Z]}function Lp(Z,de){return Z==null?t:Z[de]}function Ql(Z){return qe.test(Z)}function Ap(Z){return Ve.test(Z)}function Ep(Z){for(var de,ue=[];!(de=Z.next()).done;)ue.push(de.value);return ue}function As(Z){var de=-1,ue=Array(Z.size);return Z.forEach(function(He,rt){ue[++de]=[rt,He]}),ue}function jo(Z,de){return function(ue){return Z(de(ue))}}function nl(Z,de){for(var ue=-1,He=Z.length,rt=0,It=[];++ue<He;){var ln=Z[ue];(ln===de||ln===d)&&(Z[ue]=d,It[rt++]=ue)}return It}function ha(Z){var de=-1,ue=Array(Z.size);return Z.forEach(function(He){ue[++de]=He}),ue}function Rp(Z){var de=-1,ue=Array(Z.size);return Z.forEach(function(He){ue[++de]=[He,He]}),ue}function Dp(Z,de,ue){for(var He=ue-1,rt=Z.length;++He<rt;)if(Z[He]===de)return He;return-1}function Vp(Z,de,ue){for(var He=ue+1;He--;)if(Z[He]===de)return He;return He}function Zl(Z){return Ql(Z)?Mp(Z):vp(Z)}function ii(Z){return Ql(Z)?Fp(Z):wp(Z)}function Jo(Z){for(var de=Z.length;de--&&Tt.test(Z.charAt(de)););return de}var Op=Ns(Sr);function Mp(Z){for(var de=fe.lastIndex=0;fe.test(Z);)++de;return de}function Fp(Z){return Z.match(fe)||[]}function Up(Z){return Z.match(Re)||[]}var Bp=function Z(de){de=de==null?wt:Xl.defaults(wt.Object(),de,Xl.pick(wt,Pe));var ue=de.Array,He=de.Date,rt=de.Error,It=de.Function,ln=de.Math,Ot=de.Object,Es=de.RegExp,Hp=de.String,Gn=de.TypeError,ga=ue.prototype,Wp=It.prototype,$l=Ot.prototype,_a=de["__core-js_shared__"],pa=Wp.toString,Rt=$l.hasOwnProperty,zp=0,Yo=function(){var s=/[^.]+$/.exec(_a&&_a.keys&&_a.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ma=$l.toString,qp=pa.call(Ot),Gp=wt._,Kp=Es("^"+pa.call(Rt).replace(Ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ba=$i?de.Buffer:t,il=de.Symbol,va=de.Uint8Array,Qo=ba?ba.allocUnsafe:t,wa=jo(Ot.getPrototypeOf,Ot),Zo=Ot.create,Xo=$l.propertyIsEnumerable,ka=ga.splice,$o=il?il.isConcatSpreadable:t,Pr=il?il.iterator:t,Al=il?il.toStringTag:t,Sa=function(){try{var s=Ol(Ot,"defineProperty");return s({},"",{}),s}catch{}}(),jp=de.clearTimeout!==wt.clearTimeout&&de.clearTimeout,Jp=He&&He.now!==wt.Date.now&&He.now,Yp=de.setTimeout!==wt.setTimeout&&de.setTimeout,Ca=ln.ceil,ya=ln.floor,Rs=Ot.getOwnPropertySymbols,Qp=ba?ba.isBuffer:t,xo=de.isFinite,Zp=ga.join,Xp=jo(Ot.keys,Ot),rn=ln.max,bn=ln.min,$p=He.now,xp=de.parseInt,eu=ln.random,em=ga.reverse,Ds=Ol(de,"DataView"),Nr=Ol(de,"Map"),Vs=Ol(de,"Promise"),xl=Ol(de,"Set"),Tr=Ol(de,"WeakMap"),Ir=Ol(Ot,"create"),Pa=Tr&&new Tr,er={},tm=Ml(Ds),nm=Ml(Nr),im=Ml(Vs),lm=Ml(xl),rm=Ml(Tr),Na=il?il.prototype:t,Lr=Na?Na.valueOf:t,tu=Na?Na.toString:t;function M(s){if(Yt(s)&&!at(s)&&!(s instanceof mt)){if(s instanceof Kn)return s;if(Rt.call(s,"__wrapped__"))return nf(s)}return new Kn(s)}var tr=function(){function s(){}return function(u){if(!Gt(u))return{};if(Zo)return Zo(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ta(){}function Kn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:wl,evaluate:kl,interpolate:Gi,variable:"",imports:{_:M}},M.prototype=Ta.prototype,M.prototype.constructor=M,Kn.prototype=tr(Ta.prototype),Kn.prototype.constructor=Kn;function mt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function am(){var s=new mt(this.__wrapped__);return s.__actions__=An(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=An(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=An(this.__views__),s}function sm(){if(this.__filtered__){var s=new mt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function om(){var s=this.__wrapped__.value(),u=this.__dir__,_=at(s),k=u<0,N=_?s.length:0,F=w1(0,N,this.__views__),z=F.start,j=F.end,x=j-z,_e=k?j:z-1,pe=this.__iteratees__,ye=pe.length,De=0,Ge=bn(x,this.__takeCount__);if(!_||!k&&N==x&&Ge==x)return Pu(s,this.__actions__);var Xe=[];e:for(;x--&&De<Ge;){_e+=u;for(var ct=-1,$e=s[_e];++ct<ye;){var pt=pe[ct],vt=pt.iteratee,Un=pt.type,Nn=vt($e);if(Un==G)$e=Nn;else if(!Nn){if(Un==$)continue e;break e}}Xe[De++]=$e}return Xe}mt.prototype=tr(Ta.prototype),mt.prototype.constructor=mt;function El(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function um(){this.__data__=Ir?Ir(null):{},this.size=0}function fm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function cm(s){var u=this.__data__;if(Ir){var _=u[s];return _===c?t:_}return Rt.call(u,s)?u[s]:t}function dm(s){var u=this.__data__;return Ir?u[s]!==t:Rt.call(u,s)}function hm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Ir&&u===t?c:u,this}El.prototype.clear=um,El.prototype.delete=fm,El.prototype.get=cm,El.prototype.has=dm,El.prototype.set=hm;function Ai(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.__data__=[],this.size=0}function _m(s){var u=this.__data__,_=Ia(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():ka.call(u,_,1),--this.size,!0}function pm(s){var u=this.__data__,_=Ia(u,s);return _<0?t:u[_][1]}function mm(s){return Ia(this.__data__,s)>-1}function bm(s,u){var _=this.__data__,k=Ia(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Ai.prototype.clear=gm,Ai.prototype.delete=_m,Ai.prototype.get=pm,Ai.prototype.has=mm,Ai.prototype.set=bm;function Ei(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function vm(){this.size=0,this.__data__={hash:new El,map:new(Nr||Ai),string:new El}}function wm(s){var u=Ha(this,s).delete(s);return this.size-=u?1:0,u}function km(s){return Ha(this,s).get(s)}function Sm(s){return Ha(this,s).has(s)}function Cm(s,u){var _=Ha(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Ei.prototype.clear=vm,Ei.prototype.delete=wm,Ei.prototype.get=km,Ei.prototype.has=Sm,Ei.prototype.set=Cm;function Rl(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ei;++u<_;)this.add(s[u])}function ym(s){return this.__data__.set(s,c),this}function Pm(s){return this.__data__.has(s)}Rl.prototype.add=Rl.prototype.push=ym,Rl.prototype.has=Pm;function li(s){var u=this.__data__=new Ai(s);this.size=u.size}function Nm(){this.__data__=new Ai,this.size=0}function Tm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Im(s){return this.__data__.get(s)}function Lm(s){return this.__data__.has(s)}function Am(s,u){var _=this.__data__;if(_ instanceof Ai){var k=_.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ei(k)}return _.set(s,u),this.size=_.size,this}li.prototype.clear=Nm,li.prototype.delete=Tm,li.prototype.get=Im,li.prototype.has=Lm,li.prototype.set=Am;function nu(s,u){var _=at(s),k=!_&&Fl(s),N=!_&&!k&&ol(s),F=!_&&!k&&!N&&rr(s),z=_||k||N||F,j=z?Is(s.length,Hp):[],x=j.length;for(var _e in s)(u||Rt.call(s,_e))&&!(z&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Oi(_e,x)))&&j.push(_e);return j}function iu(s){var u=s.length;return u?s[Ks(0,u-1)]:t}function Em(s,u){return Wa(An(s),Dl(u,0,s.length))}function Rm(s){return Wa(An(s))}function Os(s,u,_){(_!==t&&!ri(s[u],_)||_===t&&!(u in s))&&Ri(s,u,_)}function Ar(s,u,_){var k=s[u];(!(Rt.call(s,u)&&ri(k,_))||_===t&&!(u in s))&&Ri(s,u,_)}function Ia(s,u){for(var _=s.length;_--;)if(ri(s[_][0],u))return _;return-1}function Dm(s,u,_,k){return ll(s,function(N,F,z){u(k,N,_(N),z)}),k}function lu(s,u){return s&&ci(u,fn(u),s)}function Vm(s,u){return s&&ci(u,Rn(u),s)}function Ri(s,u,_){u=="__proto__"&&Sa?Sa(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Ms(s,u){for(var _=-1,k=u.length,N=ue(k),F=s==null;++_<k;)N[_]=F?t:mo(s,u[_]);return N}function Dl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function jn(s,u,_,k,N,F){var z,j=u&h,x=u&p,_e=u&b;if(_&&(z=N?_(s,k,N,F):_(s)),z!==t)return z;if(!Gt(s))return s;var pe=at(s);if(pe){if(z=S1(s),!j)return An(s,z)}else{var ye=vn(s),De=ye==me||ye==it;if(ol(s))return Iu(s,j);if(ye==Lt||ye==ie||De&&!N){if(z=x||De?{}:Ju(s),!j)return x?c1(s,Vm(z,s)):f1(s,lu(z,s))}else{if(!xe[ye])return N?s:{};z=C1(s,ye,j)}}F||(F=new li);var Ge=F.get(s);if(Ge)return Ge;F.set(s,z),Cf(s)?s.forEach(function($e){z.add(jn($e,u,_,$e,s,F))}):kf(s)&&s.forEach(function($e,pt){z.set(pt,jn($e,u,_,pt,s,F))});var Xe=_e?x?no:to:x?Rn:fn,ct=pe?t:Xe(s);return qn(ct||s,function($e,pt){ct&&(pt=$e,$e=s[pt]),Ar(z,pt,jn($e,u,_,pt,s,F))}),z}function Om(s){var u=fn(s);return function(_){return ru(_,s,u)}}function ru(s,u,_){var k=_.length;if(s==null)return!k;for(s=Ot(s);k--;){var N=_[k],F=u[N],z=s[N];if(z===t&&!(N in s)||!F(z))return!1}return!0}function au(s,u,_){if(typeof s!="function")throw new Gn(a);return Fr(function(){s.apply(t,_)},u)}function Er(s,u,_,k){var N=-1,F=ca,z=!0,j=s.length,x=[],_e=u.length;if(!j)return x;_&&(u=qt(u,On(_))),k?(F=Ss,z=!1):u.length>=l&&(F=yr,z=!1,u=new Rl(u));e:for(;++N<j;){var pe=s[N],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,z&&ye===ye){for(var De=_e;De--;)if(u[De]===ye)continue e;x.push(pe)}else F(u,ye,k)||x.push(pe)}return x}var ll=Du(fi),su=Du(Us,!0);function Mm(s,u){var _=!0;return ll(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function La(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],z=u(F);if(z!=null&&(j===t?z===z&&!Fn(z):_(z,j)))var j=z,x=F}return x}function Fm(s,u,_,k){var N=s.length;for(_=ot(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:ot(k),k<0&&(k+=N),k=_>k?0:Pf(k);_<k;)s[_++]=u;return s}function ou(s,u){var _=[];return ll(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function _n(s,u,_,k,N){var F=-1,z=s.length;for(_||(_=P1),N||(N=[]);++F<z;){var j=s[F];u>0&&_(j)?u>1?_n(j,u-1,_,k,N):tl(N,j):k||(N[N.length]=j)}return N}var Fs=Vu(),uu=Vu(!0);function fi(s,u){return s&&Fs(s,u,fn)}function Us(s,u){return s&&uu(s,u,fn)}function Aa(s,u){return el(u,function(_){return Mi(s[_])})}function Vl(s,u){u=al(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[di(u[_++])];return _&&_==k?s:t}function fu(s,u,_){var k=u(s);return at(s)?k:tl(k,_(s))}function yn(s){return s==null?s===t?on:xn:Al&&Al in Ot(s)?v1(s):R1(s)}function Bs(s,u){return s>u}function Um(s,u){return s!=null&&Rt.call(s,u)}function Bm(s,u){return s!=null&&u in Ot(s)}function Hm(s,u,_){return s>=bn(u,_)&&s<rn(u,_)}function Hs(s,u,_){for(var k=_?Ss:ca,N=s[0].length,F=s.length,z=F,j=ue(F),x=1/0,_e=[];z--;){var pe=s[z];z&&u&&(pe=qt(pe,On(u))),x=bn(pe.length,x),j[z]=!_&&(u||N>=120&&pe.length>=120)?new Rl(z&&pe):t}pe=s[0];var ye=-1,De=j[0];e:for(;++ye<N&&_e.length<x;){var Ge=pe[ye],Xe=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(De?yr(De,Xe):k(_e,Xe,_))){for(z=F;--z;){var ct=j[z];if(!(ct?yr(ct,Xe):k(s[z],Xe,_)))continue e}De&&De.push(Xe),_e.push(Ge)}}return _e}function Wm(s,u,_,k){return fi(s,function(N,F,z){u(k,_(N),F,z)}),k}function Rr(s,u,_){u=al(u,s),s=Xu(s,u);var k=s==null?s:s[di(Yn(u))];return k==null?t:zt(k,s,_)}function cu(s){return Yt(s)&&yn(s)==ie}function zm(s){return Yt(s)&&yn(s)==Zt}function qm(s){return Yt(s)&&yn(s)==ze}function Dr(s,u,_,k,N){return s===u?!0:s==null||u==null||!Yt(s)&&!Yt(u)?s!==s&&u!==u:Gm(s,u,_,k,Dr,N)}function Gm(s,u,_,k,N,F){var z=at(s),j=at(u),x=z?ce:vn(s),_e=j?ce:vn(u);x=x==ie?Lt:x,_e=_e==ie?Lt:_e;var pe=x==Lt,ye=_e==Lt,De=x==_e;if(De&&ol(s)){if(!ol(u))return!1;z=!0,pe=!1}if(De&&!pe)return F||(F=new li),z||rr(s)?Gu(s,u,_,k,N,F):m1(s,u,x,_,k,N,F);if(!(_&m)){var Ge=pe&&Rt.call(s,"__wrapped__"),Xe=ye&&Rt.call(u,"__wrapped__");if(Ge||Xe){var ct=Ge?s.value():s,$e=Xe?u.value():u;return F||(F=new li),N(ct,$e,_,k,F)}}return De?(F||(F=new li),b1(s,u,_,k,N,F)):!1}function Km(s){return Yt(s)&&vn(s)==Pt}function Ws(s,u,_,k){var N=_.length,F=N,z=!k;if(s==null)return!F;for(s=Ot(s);N--;){var j=_[N];if(z&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++N<F;){j=_[N];var x=j[0],_e=s[x],pe=j[1];if(z&&j[2]){if(_e===t&&!(x in s))return!1}else{var ye=new li;if(k)var De=k(_e,pe,x,s,u,ye);if(!(De===t?Dr(pe,_e,m|v,k,ye):De))return!1}}return!0}function du(s){if(!Gt(s)||T1(s))return!1;var u=Mi(s)?Kp:ji;return u.test(Ml(s))}function jm(s){return Yt(s)&&yn(s)==lt}function Jm(s){return Yt(s)&&vn(s)==Ht}function Ym(s){return Yt(s)&&Ja(s.length)&&!!Ke[yn(s)]}function hu(s){return typeof s=="function"?s:s==null?Dn:typeof s=="object"?at(s)?pu(s[0],s[1]):_u(s):Mf(s)}function zs(s){if(!Mr(s))return Xp(s);var u=[];for(var _ in Ot(s))Rt.call(s,_)&&_!="constructor"&&u.push(_);return u}function Qm(s){if(!Gt(s))return E1(s);var u=Mr(s),_=[];for(var k in s)k=="constructor"&&(u||!Rt.call(s,k))||_.push(k);return _}function qs(s,u){return s<u}function gu(s,u){var _=-1,k=En(s)?ue(s.length):[];return ll(s,function(N,F,z){k[++_]=u(N,F,z)}),k}function _u(s){var u=lo(s);return u.length==1&&u[0][2]?Qu(u[0][0],u[0][1]):function(_){return _===s||Ws(_,s,u)}}function pu(s,u){return ao(s)&&Yu(u)?Qu(di(s),u):function(_){var k=mo(_,s);return k===t&&k===u?bo(_,s):Dr(u,k,m|v)}}function Ea(s,u,_,k,N){s!==u&&Fs(u,function(F,z){if(N||(N=new li),Gt(F))Zm(s,u,z,_,Ea,k,N);else{var j=k?k(oo(s,z),F,z+"",s,u,N):t;j===t&&(j=F),Os(s,z,j)}},Rn)}function Zm(s,u,_,k,N,F,z){var j=oo(s,_),x=oo(u,_),_e=z.get(x);if(_e){Os(s,_,_e);return}var pe=F?F(j,x,_+"",s,u,z):t,ye=pe===t;if(ye){var De=at(x),Ge=!De&&ol(x),Xe=!De&&!Ge&&rr(x);pe=x,De||Ge||Xe?at(j)?pe=j:Xt(j)?pe=An(j):Ge?(ye=!1,pe=Iu(x,!0)):Xe?(ye=!1,pe=Lu(x,!0)):pe=[]:Ur(x)||Fl(x)?(pe=j,Fl(j)?pe=Nf(j):(!Gt(j)||Mi(j))&&(pe=Ju(x))):ye=!1}ye&&(z.set(x,pe),N(pe,x,k,F,z),z.delete(x)),Os(s,_,pe)}function mu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Oi(u,_)?s[u]:t}function bu(s,u,_){u.length?u=qt(u,function(F){return at(F)?function(z){return Vl(z,F.length===1?F[0]:F)}:F}):u=[Dn];var k=-1;u=qt(u,On(Je()));var N=gu(s,function(F,z,j){var x=qt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Cp(N,function(F,z){return u1(F,z,_)})}function Xm(s,u){return vu(s,u,function(_,k){return bo(s,k)})}function vu(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var z=u[k],j=Vl(s,z);_(j,z)&&Vr(F,al(z,s),j)}return F}function $m(s){return function(u){return Vl(u,s)}}function Gs(s,u,_,k){var N=k?Sp:Yl,F=-1,z=u.length,j=s;for(s===u&&(u=An(u)),_&&(j=qt(s,On(_)));++F<z;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=N(j,pe,x,k))>-1;)j!==s&&ka.call(j,x,1),ka.call(s,x,1);return s}function wu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Oi(N)?ka.call(s,N,1):Ys(s,N)}}return s}function Ks(s,u){return s+ya(eu()*(u-s+1))}function xm(s,u,_,k){for(var N=-1,F=rn(Ca((u-s)/(_||1)),0),z=ue(F);F--;)z[k?F:++N]=s,s+=_;return z}function js(s,u){var _="";if(!s||u<1||u>he)return _;do u%2&&(_+=s),u=ya(u/2),u&&(s+=s);while(u);return _}function dt(s,u){return uo(Zu(s,u,Dn),s+"")}function e1(s){return iu(ar(s))}function t1(s,u){var _=ar(s);return Wa(_,Dl(u,0,_.length))}function Vr(s,u,_,k){if(!Gt(s))return s;u=al(u,s);for(var N=-1,F=u.length,z=F-1,j=s;j!=null&&++N<F;){var x=di(u[N]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(N!=z){var pe=j[x];_e=k?k(pe,x,j):t,_e===t&&(_e=Gt(pe)?pe:Oi(u[N+1])?[]:{})}Ar(j,x,_e),j=j[x]}return s}var ku=Pa?function(s,u){return Pa.set(s,u),s}:Dn,n1=Sa?function(s,u){return Sa(s,"toString",{configurable:!0,enumerable:!1,value:wo(u),writable:!0})}:Dn;function i1(s){return Wa(ar(s))}function Jn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=ue(N);++k<N;)F[k]=s[k+u];return F}function l1(s,u){var _;return ll(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Ra(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Ee){for(;k<N;){var F=k+N>>>1,z=s[F];z!==null&&!Fn(z)&&(_?z<=u:z<u)?k=F+1:N=F}return N}return Js(s,u,Dn,_)}function Js(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var z=u!==u,j=u===null,x=Fn(u),_e=u===t;N<F;){var pe=ya((N+F)/2),ye=_(s[pe]),De=ye!==t,Ge=ye===null,Xe=ye===ye,ct=Fn(ye);if(z)var $e=k||Xe;else _e?$e=Xe&&(k||De):j?$e=Xe&&De&&(k||!Ge):x?$e=Xe&&De&&!Ge&&(k||!ct):Ge||ct?$e=!1:$e=k?ye<=u:ye<u;$e?N=pe+1:F=pe}return bn(F,re)}function Su(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var z=s[_],j=u?u(z):z;if(!_||!ri(j,x)){var x=j;F[N++]=z===0?0:z}}return F}function Cu(s){return typeof s=="number"?s:Fn(s)?se:+s}function Mn(s){if(typeof s=="string")return s;if(at(s))return qt(s,Mn)+"";if(Fn(s))return tu?tu.call(s):"";var u=s+"";return u=="0"&&1/s==-J?"-0":u}function rl(s,u,_){var k=-1,N=ca,F=s.length,z=!0,j=[],x=j;if(_)z=!1,N=Ss;else if(F>=l){var _e=u?null:_1(s);if(_e)return ha(_e);z=!1,N=yr,x=new Rl}else x=u?[]:j;e:for(;++k<F;){var pe=s[k],ye=u?u(pe):pe;if(pe=_||pe!==0?pe:0,z&&ye===ye){for(var De=x.length;De--;)if(x[De]===ye)continue e;u&&x.push(ye),j.push(pe)}else N(x,ye,_)||(x!==j&&x.push(ye),j.push(pe))}return j}function Ys(s,u){return u=al(u,s),s=Xu(s,u),s==null||delete s[di(Yn(u))]}function yu(s,u,_,k){return Vr(s,u,_(Vl(s,u)),k)}function Da(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Jn(s,k?0:F,k?F+1:N):Jn(s,k?F+1:0,k?N:F)}function Pu(s,u){var _=s;return _ instanceof mt&&(_=_.value()),Cs(u,function(k,N){return N.func.apply(N.thisArg,tl([k],N.args))},_)}function Qs(s,u,_){var k=s.length;if(k<2)return k?rl(s[0]):[];for(var N=-1,F=ue(k);++N<k;)for(var z=s[N],j=-1;++j<k;)j!=N&&(F[N]=Er(F[N]||z,s[j],u,_));return rl(_n(F,1),u,_)}function Nu(s,u,_){for(var k=-1,N=s.length,F=u.length,z={};++k<N;){var j=k<F?u[k]:t;_(z,s[k],j)}return z}function Zs(s){return Xt(s)?s:[]}function Xs(s){return typeof s=="function"?s:Dn}function al(s,u){return at(s)?s:ao(s,u)?[s]:tf(At(s))}var r1=dt;function sl(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Jn(s,u,_)}var Tu=jp||function(s){return wt.clearTimeout(s)};function Iu(s,u){if(u)return s.slice();var _=s.length,k=Qo?Qo(_):new s.constructor(_);return s.copy(k),k}function $s(s){var u=new s.constructor(s.byteLength);return new va(u).set(new va(s)),u}function a1(s,u){var _=u?$s(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function s1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function o1(s){return Lr?Ot(Lr.call(s)):{}}function Lu(s,u){var _=u?$s(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Au(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Fn(s),z=u!==t,j=u===null,x=u===u,_e=Fn(u);if(!j&&!_e&&!F&&s>u||F&&z&&x&&!j&&!_e||k&&z&&x||!_&&x||!N)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&N&&!k&&!F||j&&_&&N||!z&&N||!x)return-1}return 0}function u1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,z=N.length,j=_.length;++k<z;){var x=Au(N[k],F[k]);if(x){if(k>=j)return x;var _e=_[k];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Eu(s,u,_,k){for(var N=-1,F=s.length,z=_.length,j=-1,x=u.length,_e=rn(F-z,0),pe=ue(x+_e),ye=!k;++j<x;)pe[j]=u[j];for(;++N<z;)(ye||N<F)&&(pe[_[N]]=s[N]);for(;_e--;)pe[j++]=s[N++];return pe}function Ru(s,u,_,k){for(var N=-1,F=s.length,z=-1,j=_.length,x=-1,_e=u.length,pe=rn(F-j,0),ye=ue(pe+_e),De=!k;++N<pe;)ye[N]=s[N];for(var Ge=N;++x<_e;)ye[Ge+x]=u[x];for(;++z<j;)(De||N<F)&&(ye[Ge+_[z]]=s[N++]);return ye}function An(s,u){var _=-1,k=s.length;for(u||(u=ue(k));++_<k;)u[_]=s[_];return u}function ci(s,u,_,k){var N=!_;_||(_={});for(var F=-1,z=u.length;++F<z;){var j=u[F],x=k?k(_[j],s[j],j,_,s):t;x===t&&(x=s[j]),N?Ri(_,j,x):Ar(_,j,x)}return _}function f1(s,u){return ci(s,ro(s),u)}function c1(s,u){return ci(s,Ku(s),u)}function Va(s,u){return function(_,k){var N=at(_)?ks:Dm,F=u?u():{};return N(_,s,Je(k,2),F)}}function nr(s){return dt(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,z=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,z&&Pn(_[0],_[1],z)&&(F=N<3?t:F,N=1),u=Ot(u);++k<N;){var j=_[k];j&&s(u,j,k,F)}return u})}function Du(s,u){return function(_,k){if(_==null)return _;if(!En(_))return s(_,k);for(var N=_.length,F=u?N:-1,z=Ot(_);(u?F--:++F<N)&&k(z[F],F,z)!==!1;);return _}}function Vu(s){return function(u,_,k){for(var N=-1,F=Ot(u),z=k(u),j=z.length;j--;){var x=z[s?j:++N];if(_(F[x],x,F)===!1)break}return u}}function d1(s,u,_){var k=u&C,N=Or(s);function F(){var z=this&&this!==wt&&this instanceof F?N:s;return z.apply(k?_:this,arguments)}return F}function Ou(s){return function(u){u=At(u);var _=Ql(u)?ii(u):t,k=_?_[0]:u.charAt(0),N=_?sl(_,1).join(""):u.slice(1);return k[s]()+N}}function ir(s){return function(u){return Cs(Vf(Df(u).replace(vs,"")),s,"")}}function Or(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=tr(s.prototype),k=s.apply(_,u);return Gt(k)?k:_}}function h1(s,u,_){var k=Or(s);function N(){for(var F=arguments.length,z=ue(F),j=F,x=lr(N);j--;)z[j]=arguments[j];var _e=F<3&&z[0]!==x&&z[F-1]!==x?[]:nl(z,x);if(F-=_e.length,F<_)return Hu(s,u,Oa,N.placeholder,t,z,_e,t,t,_-F);var pe=this&&this!==wt&&this instanceof N?k:s;return zt(pe,this,z)}return N}function Mu(s){return function(u,_,k){var N=Ot(u);if(!En(u)){var F=Je(_,3);u=fn(u),_=function(j){return F(N[j],j,N)}}var z=s(u,_,k);return z>-1?N[F?u[z]:z]:t}}function Fu(s){return Vi(function(u){var _=u.length,k=_,N=Kn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Gn(a);if(N&&!z&&Ba(F)=="wrapper")var z=new Kn([],!0)}for(k=z?k:_;++k<_;){F=u[k];var j=Ba(F),x=j=="wrapper"?io(F):t;x&&so(x[0])&&x[1]==(H|T|V|O)&&!x[4].length&&x[9]==1?z=z[Ba(x[0])].apply(z,x[3]):z=F.length==1&&so(F)?z[j]():z.thru(F)}return function(){var _e=arguments,pe=_e[0];if(z&&_e.length==1&&at(pe))return z.plant(pe).value();for(var ye=0,De=_?u[ye].apply(this,_e):pe;++ye<_;)De=u[ye].call(this,De);return De}})}function Oa(s,u,_,k,N,F,z,j,x,_e){var pe=u&H,ye=u&C,De=u&y,Ge=u&(T|E),Xe=u&D,ct=De?t:Or(s);function $e(){for(var pt=arguments.length,vt=ue(pt),Un=pt;Un--;)vt[Un]=arguments[Un];if(Ge)var Nn=lr($e),Bn=Pp(vt,Nn);if(k&&(vt=Eu(vt,k,N,Ge)),F&&(vt=Ru(vt,F,z,Ge)),pt-=Bn,Ge&&pt<_e){var $t=nl(vt,Nn);return Hu(s,u,Oa,$e.placeholder,_,vt,$t,j,x,_e-pt)}var ai=ye?_:this,Ui=De?ai[s]:s;return pt=vt.length,j?vt=D1(vt,j):Xe&&pt>1&&vt.reverse(),pe&&x<pt&&(vt.length=x),this&&this!==wt&&this instanceof $e&&(Ui=ct||Or(Ui)),Ui.apply(ai,vt)}return $e}function Uu(s,u){return function(_,k){return Wm(_,s,u(k),{})}}function Ma(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Mn(_),k=Mn(k)):(_=Cu(_),k=Cu(k)),N=s(_,k)}return N}}function xs(s){return Vi(function(u){return u=qt(u,On(Je())),dt(function(_){var k=this;return s(u,function(N){return zt(N,k,_)})})})}function Fa(s,u){u=u===t?" ":Mn(u);var _=u.length;if(_<2)return _?js(u,s):u;var k=js(u,Ca(s/Zl(u)));return Ql(u)?sl(ii(k),0,s).join(""):k.slice(0,s)}function g1(s,u,_,k){var N=u&C,F=Or(s);function z(){for(var j=-1,x=arguments.length,_e=-1,pe=k.length,ye=ue(pe+x),De=this&&this!==wt&&this instanceof z?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++j];return zt(De,N?_:this,ye)}return z}function Bu(s){return function(u,_,k){return k&&typeof k!="number"&&Pn(u,_,k)&&(_=k=t),u=Fi(u),_===t?(_=u,u=0):_=Fi(_),k=k===t?u<_?1:-1:Fi(k),xm(u,_,k,s)}}function Ua(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=Qn(u),_=Qn(_)),s(u,_)}}function Hu(s,u,_,k,N,F,z,j,x,_e){var pe=u&T,ye=pe?z:t,De=pe?t:z,Ge=pe?F:t,Xe=pe?t:F;u|=pe?V:I,u&=~(pe?I:V),u&P||(u&=~(C|y));var ct=[s,u,N,Ge,ye,Xe,De,j,x,_e],$e=_.apply(t,ct);return so(s)&&$u($e,ct),$e.placeholder=k,xu($e,s,u)}function eo(s){var u=ln[s];return function(_,k){if(_=Qn(_),k=k==null?0:bn(ot(k),292),k&&xo(_)){var N=(At(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(At(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var _1=xl&&1/ha(new xl([,-0]))[1]==J?function(s){return new xl(s)}:Co;function Wu(s){return function(u){var _=vn(u);return _==Pt?As(u):_==Ht?Rp(u):yp(u,s(u))}}function Di(s,u,_,k,N,F,z,j){var x=u&y;if(!x&&typeof s!="function")throw new Gn(a);var _e=k?k.length:0;if(_e||(u&=~(V|I),k=N=t),z=z===t?z:rn(ot(z),0),j=j===t?j:ot(j),_e-=N?N.length:0,u&I){var pe=k,ye=N;k=N=t}var De=x?t:io(s),Ge=[s,u,_,k,N,pe,ye,F,z,j];if(De&&A1(Ge,De),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],j=Ge[9]=Ge[9]===t?x?0:s.length:rn(Ge[9]-_e,0),!j&&u&(T|E)&&(u&=~(T|E)),!u||u==C)var Xe=d1(s,u,_);else u==T||u==E?Xe=h1(s,u,j):(u==V||u==(C|V))&&!N.length?Xe=g1(s,u,_,k):Xe=Oa.apply(t,Ge);var ct=De?ku:$u;return xu(ct(Xe,Ge),s,u)}function zu(s,u,_,k){return s===t||ri(s,$l[_])&&!Rt.call(k,_)?u:s}function qu(s,u,_,k,N,F){return Gt(s)&&Gt(u)&&(F.set(u,s),Ea(s,u,t,qu,F),F.delete(u)),s}function p1(s){return Ur(s)?t:s}function Gu(s,u,_,k,N,F){var z=_&m,j=s.length,x=u.length;if(j!=x&&!(z&&x>j))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var ye=-1,De=!0,Ge=_&v?new Rl:t;for(F.set(s,u),F.set(u,s);++ye<j;){var Xe=s[ye],ct=u[ye];if(k)var $e=z?k(ct,Xe,ye,u,s,F):k(Xe,ct,ye,s,u,F);if($e!==t){if($e)continue;De=!1;break}if(Ge){if(!ys(u,function(pt,vt){if(!yr(Ge,vt)&&(Xe===pt||N(Xe,pt,_,k,F)))return Ge.push(vt)})){De=!1;break}}else if(!(Xe===ct||N(Xe,ct,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function m1(s,u,_,k,N,F,z){switch(_){case un:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Zt:return!(s.byteLength!=u.byteLength||!F(new va(s),new va(u)));case tt:case ze:case en:return ri(+s,+u);case ut:return s.name==u.name&&s.message==u.message;case lt:case Jt:return s==u+"";case Pt:var j=As;case Ht:var x=k&m;if(j||(j=ha),s.size!=u.size&&!x)return!1;var _e=z.get(s);if(_e)return _e==u;k|=v,z.set(s,u);var pe=Gu(j(s),j(u),k,N,F,z);return z.delete(s),pe;case kn:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function b1(s,u,_,k,N,F){var z=_&m,j=to(s),x=j.length,_e=to(u),pe=_e.length;if(x!=pe&&!z)return!1;for(var ye=x;ye--;){var De=j[ye];if(!(z?De in u:Rt.call(u,De)))return!1}var Ge=F.get(s),Xe=F.get(u);if(Ge&&Xe)return Ge==u&&Xe==s;var ct=!0;F.set(s,u),F.set(u,s);for(var $e=z;++ye<x;){De=j[ye];var pt=s[De],vt=u[De];if(k)var Un=z?k(vt,pt,De,u,s,F):k(pt,vt,De,s,u,F);if(!(Un===t?pt===vt||N(pt,vt,_,k,F):Un)){ct=!1;break}$e||($e=De=="constructor")}if(ct&&!$e){var Nn=s.constructor,Bn=u.constructor;Nn!=Bn&&"constructor"in s&&"constructor"in u&&!(typeof Nn=="function"&&Nn instanceof Nn&&typeof Bn=="function"&&Bn instanceof Bn)&&(ct=!1)}return F.delete(s),F.delete(u),ct}function Vi(s){return uo(Zu(s,t,af),s+"")}function to(s){return fu(s,fn,ro)}function no(s){return fu(s,Rn,Ku)}var io=Pa?function(s){return Pa.get(s)}:Co;function Ba(s){for(var u=s.name+"",_=er[u],k=Rt.call(er,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function lr(s){var u=Rt.call(M,"placeholder")?M:s;return u.placeholder}function Je(){var s=M.iteratee||ko;return s=s===ko?hu:s,arguments.length?s(arguments[0],arguments[1]):s}function Ha(s,u){var _=s.__data__;return N1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function lo(s){for(var u=fn(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,Yu(N)]}return u}function Ol(s,u){var _=Lp(s,u);return du(_)?_:t}function v1(s){var u=Rt.call(s,Al),_=s[Al];try{s[Al]=t;var k=!0}catch{}var N=ma.call(s);return k&&(u?s[Al]=_:delete s[Al]),N}var ro=Rs?function(s){return s==null?[]:(s=Ot(s),el(Rs(s),function(u){return Xo.call(s,u)}))}:yo,Ku=Rs?function(s){for(var u=[];s;)tl(u,ro(s)),s=wa(s);return u}:yo,vn=yn;(Ds&&vn(new Ds(new ArrayBuffer(1)))!=un||Nr&&vn(new Nr)!=Pt||Vs&&vn(Vs.resolve())!=Te||xl&&vn(new xl)!=Ht||Tr&&vn(new Tr)!=Qt)&&(vn=function(s){var u=yn(s),_=u==Lt?s.constructor:t,k=_?Ml(_):"";if(k)switch(k){case tm:return un;case nm:return Pt;case im:return Te;case lm:return Ht;case rm:return Qt}return u});function w1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],z=F.size;switch(F.type){case"drop":s+=z;break;case"dropRight":u-=z;break;case"take":u=bn(u,s+z);break;case"takeRight":s=rn(s,u-z);break}}return{start:s,end:u}}function k1(s){var u=s.match(In);return u?u[1].split(ei):[]}function ju(s,u,_){u=al(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var z=di(u[k]);if(!(F=s!=null&&_(s,z)))break;s=s[z]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Ja(N)&&Oi(z,N)&&(at(s)||Fl(s)))}function S1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Rt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function Ju(s){return typeof s.constructor=="function"&&!Mr(s)?tr(wa(s)):{}}function C1(s,u,_){var k=s.constructor;switch(u){case Zt:return $s(s);case tt:case ze:return new k(+s);case un:return a1(s,_);case vi:case wi:case mn:case ki:case Si:case Ci:case yi:case Pi:case Ni:return Lu(s,_);case Pt:return new k;case en:case Jt:return new k(s);case lt:return s1(s);case Ht:return new k;case kn:return o1(s)}}function y1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(tn,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function N1(s){return it(s)||Vl(s)||!!(eu&&s&&s[eu])}function Oi(s,u){var _=typeof s;return u=u??ge,!!u&&(_=="number"||_!="symbol"&&Cl.test(s))&&s>-1&&s%1==0&&s<u}function Cn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?En(_)&&Oi(u,_.length):k=="string"&&u in _)?ai(_[u],s):!1}function so(s,u){if(it(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Bn(s)?!0:kl.test(s)||!wl.test(s)||u!=null&&s in Rt(u)}function T1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ha(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=lo(_);return!!k&&s===k[0]}function I1(s){return!!Zo&&Zo in s}var L1=pa?Mi:No;function Mr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||Xl;return s===_}function Zu(s){return s===s&&!Kt(s)}function Xu(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Rt(_))}}function A1(s){var u=ja(s,function(k){return _.size===g&&_.clear(),k}),_=u.cache;return u}function E1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),z=k==H&&_==T||k==H&&_==O&&s[7].length<=u[8]||k==(H|O)&&u[7].length<=u[8]&&_==T;if(!(F||z))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var j=u[3];if(j){var ee=s[3];s[3]=ee?Du(ee,j,u[4]):j,s[4]=ee?tl(s[3],d):u[4]}return j=u[5],j&&(ee=s[5],s[5]=ee?Vu(ee,j,u[6]):j,s[6]=ee?tl(s[5],d):u[6]),j=u[7],j&&(s[7]=j),k&H&&(s[8]=s[8]==null?u[8]:mn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function R1(s){var u=[];if(s!=null)for(var _ in Rt(s))u.push(_);return u}function D1(s){return ba.call(s)}function $u(s,u,_){return u=rn(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=rn(k.length-u,0),z=ue(F);++N<F;)z[N]=k[u+N];N=-1;for(var j=ue(u+1);++N<u;)j[N]=k[N];return j[u]=_(z),nn(s,this,j)}}function xu(s,u){return u.length<2?s:El(s,Yn(u,0,-1))}function V1(s,u){for(var _=s.length,k=mn(u.length,_),N=An(s);k--;){var F=u[k];s[k]=Oi(F,_)?N[F]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var ef=nf(Cu),Fr=Qp||function(s,u){return xe.setTimeout(s,u)},fo=nf(i1);function tf(s,u,_){var k=u+"";return fo(s,P1(k,O1(S1(k),_)))}function nf(s){var u=0,_=0;return function(){var k=xp(),N=pe-(k-_);if(_=k,N>0){if(++u>=$)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=js(_,N),z=s[F];s[F]=s[_],s[_]=z}return s.length=u,s}var lf=A1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Q,function(_,k,N,F){u.push(N?F.replace(gr,"$1"):k||_)}),u});function gi(s){if(typeof s=="string"||Bn(s))return s;var u=s+"";return u=="0"&&1/s==-J?"-0":u}function Dl(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function O1(s,u){return Gt(ze,function(_){var k="_."+_[0];u&_[1]&&!da(s,k)&&s.push(k)}),s.sort()}function rf(s){if(s instanceof _t)return s.clone();var u=new jn(s.__wrapped__,s.__chain__);return u.__actions__=An(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function M1(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=rn(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,z=ue(ya(k/u));N<k;)z[F++]=Yn(s,N,N+=u);return z}function F1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function U1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(it(_)?An(_):[_],cn(u,1))}var B1=ft(function(s,u){return Zt(s)?Er(s,cn(u,1,Zt,!0)):[]}),H1=ft(function(s,u){var _=Qn(u);return Zt(_)&&(_=t),Zt(s)?Er(s,cn(u,1,Zt,!0),je(_,2)):[]}),W1=ft(function(s,u){var _=Qn(u);return Zt(_)&&(_=t),Zt(s)?Er(s,cn(u,1,Zt,!0),t,_):[]});function z1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Yn(s,u<0?0:u,k)):[]}function q1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Yn(s,0,u<0?0:u)):[]}function G1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function K1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function j1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Cn(s,u,_)&&(_=0,k=N),Um(s,u,_,k)):[]}function af(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=rn(k+N,0)),ha(s,je(u,3),N)}function sf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?rn(k+N,0):mn(N,k-1)),ha(s,je(u,3),N,!0)}function of(s){var u=s==null?0:s.length;return u?cn(s,1):[]}function J1(s){var u=s==null?0:s.length;return u?cn(s,J):[]}function Y1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),cn(s,u)):[]}function Q1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function uf(s){return s&&s.length?s[0]:t}function Z1(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=rn(k+N,0)),Jl(s,u,N)}function X1(s){var u=s==null?0:s.length;return u?Yn(s,0,-1):[]}var $1=ft(function(s){var u=zt(s,Xs);return u.length&&u[0]===s[0]?Ws(u):[]}),x1=ft(function(s){var u=Qn(s),_=zt(s,Xs);return u===Qn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ws(_,je(u,2)):[]}),eb=ft(function(s){var u=Qn(s),_=zt(s,Xs);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ws(_,t,u):[]});function tb(s,u){return s==null?"":Xp.call(s,u)}function Qn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function nb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?rn(k+N,0):mn(N,k-1)),u===u?Op(s,u,N):ha(s,zo,N,!0)}function ib(s,u){return s&&s.length?vu(s,st(u)):t}var lb=ft(ff);function ff(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function rb(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,je(_,2)):s}function ab(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,t,_):s}var sb=Vi(function(s,u){var _=s==null?0:s.length,k=Fs(s,u);return Su(s,zt(u,function(N){return Oi(N,_)?+N:N}).sort(Ru)),k});function ob(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=je(u,3);++k<F;){var z=s[k];u(z,k,s)&&(_.push(z),N.push(k))}return Su(s,N),_}function co(s){return s==null?s:tm.call(s)}function ub(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Cn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Yn(s,u,_)):[]}function fb(s,u){return Da(s,u)}function cb(s,u,_){return Ys(s,u,je(_,2))}function db(s,u){var _=s==null?0:s.length;if(_){var k=Da(s,u);if(k<_&&ai(s[k],u))return k}return-1}function hb(s,u){return Da(s,u,!0)}function gb(s,u,_){return Ys(s,u,je(_,2),!0)}function _b(s,u){var _=s==null?0:s.length;if(_){var k=Da(s,u,!0)-1;if(ai(s[k],u))return k}return-1}function pb(s){return s&&s.length?yu(s):[]}function mb(s,u){return s&&s.length?yu(s,je(u,2)):[]}function bb(s){var u=s==null?0:s.length;return u?Yn(s,1,u):[]}function vb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Yn(s,0,u<0?0:u)):[]}function wb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Yn(s,u<0?0:u,k)):[]}function kb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function Sb(s,u){return s&&s.length?Va(s,je(u,3)):[]}var Cb=ft(function(s){return ll(cn(s,1,Zt,!0))}),yb=ft(function(s){var u=Qn(s);return Zt(u)&&(u=t),ll(cn(s,1,Zt,!0),je(u,2))}),Pb=ft(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,ll(cn(s,1,Zt,!0),t,u)});function Nb(s){return s&&s.length?ll(s):[]}function Tb(s,u){return s&&s.length?ll(s,je(u,2)):[]}function Ib(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(Zt(_))return u=rn(_.length,u),!0}),Ls(u,function(_){return zt(s,Ns(_))})}function cf(s,u){if(!(s&&s.length))return[];var _=ho(s);return u==null?_:zt(_,function(k){return nn(u,t,k)})}var Lb=ft(function(s,u){return Zt(s)?Er(s,u):[]}),Ab=ft(function(s){return Zs(xi(s,Zt))}),Eb=ft(function(s){var u=Qn(s);return Zt(u)&&(u=t),Zs(xi(s,Zt),je(u,2))}),Rb=ft(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,Zs(xi(s,Zt),t,u)}),Db=ft(ho);function Vb(s,u){return Iu(s||[],u||[],Ar)}function Ob(s,u){return Iu(s||[],u||[],Vr)}var Mb=ft(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,cf(s,_)});function df(s){var u=M(s);return u.__chain__=!0,u}function Fb(s,u){return u(s),s}function qa(s,u){return u(s)}var Ub=Vi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return Fs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Oi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new jn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Bb(){return df(this)}function Hb(){return new jn(this.value(),this.__chain__)}function Wb(){this.__values__===t&&(this.__values__=Nf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function zb(){return this}function qb(s){for(var u,_=this;_ instanceof Ia;){var k=rf(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Gb(){var s=this.__wrapped__;if(s instanceof _t){var u=s;return this.__actions__.length&&(u=new _t(this)),u=u.reverse(),u.__actions__.push({func:qa,args:[co],thisArg:t}),new jn(u,this.__chain__)}return this.thru(co)}function Kb(){return Tu(this.__wrapped__,this.__actions__)}var jb=Oa(function(s,u,_){It.call(s,_)?++s[_]:Ri(s,_,1)});function Jb(s,u,_){var k=it(s)?Ho:Fm;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}function Yb(s,u){var _=it(s)?xi:fu;return _(s,je(u,3))}var Qb=Uu(af),Zb=Uu(sf);function Xb(s,u){return cn(Ga(s,u),1)}function $b(s,u){return cn(Ga(s,u),J)}function xb(s,u,_){return _=_===t?1:st(_),cn(Ga(s,u),_)}function hf(s,u){var _=it(s)?Gt:il;return _(s,je(u,3))}function gf(s,u){var _=it(s)?Ss:uu;return _(s,je(u,3))}var ev=Oa(function(s,u,_){It.call(s,_)?s[_].push(u):Ri(s,_,[u])});function tv(s,u,_,k){s=En(s)?s:rr(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=rn(N+_,0)),Qa(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Jl(s,u,_)>-1}var nv=ft(function(s,u,_){var k=-1,N=typeof u=="function",F=En(s)?ue(s.length):[];return il(s,function(z){F[++k]=N?nn(u,z,_):Rr(z,u,_)}),F}),iv=Oa(function(s,u,_){Ri(s,_,u)});function Ga(s,u){var _=it(s)?zt:pu;return _(s,je(u,3))}function lv(s,u,_,k){return s==null?[]:(it(u)||(u=u==null?[]:[u]),_=k?t:_,it(_)||(_=_==null?[]:[_]),wu(s,u,_))}var rv=Oa(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function av(s,u,_){var k=it(s)?ys:Go,N=arguments.length<3;return k(s,je(u,4),_,N,il)}function sv(s,u,_){var k=it(s)?vp:Go,N=arguments.length<3;return k(s,je(u,4),_,N,uu)}function ov(s,u){var _=it(s)?xi:fu;return _(s,Ja(je(u,3)))}function uv(s){var u=it(s)?ru:t1;return u(s)}function fv(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=st(u);var k=it(s)?Rm:n1;return k(s,u)}function cv(s){var u=it(s)?Dm:l1;return u(s)}function dv(s){if(s==null)return 0;if(En(s))return Qa(s)?Ql(s):s.length;var u=bn(s);return u==kt||u==Ot?s.size:qs(s).length}function hv(s,u,_){var k=it(s)?Ps:r1;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}var gv=ft(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Cn(s,u[0],u[1])?u=[]:_>2&&Cn(u[0],u[1],u[2])&&(u=[u[0]]),wu(s,cn(u,1),[])}),Ka=Yp||function(){return xe.Date.now()};function _v(s,u){if(typeof u!="function")throw new Kn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function _f(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Di(s,H,t,t,t,t,u)}function pf(s,u){var _;if(typeof u!="function")throw new Kn(a);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var go=ft(function(s,u,_){var k=C;if(_.length){var N=tl(_,ir(go));k|=V}return Di(s,k,u,_,N)}),mf=ft(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,ir(mf));k|=V}return Di(u,k,s,_,N)});function bf(s,u,_){u=_?t:u;var k=Di(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,_){u=_?t:u;var k=Di(s,E,t,t,t,t,t,u);return k.placeholder=vf.placeholder,k}function wf(s,u,_){var k,N,F,z,j,ee,me=0,be=!1,Pe=!1,Ve=!0;if(typeof s!="function")throw new Kn(a);u=Zn(u)||0,Kt(_)&&(be=!!_.leading,Pe="maxWait"in _,F=Pe?rn(Zn(_.maxWait)||0,u):F,Ve="trailing"in _?!!_.trailing:Ve);function Ge(Xt){var si=k,Ui=N;return k=N=t,me=Xt,z=s.apply(Ui,si),z}function Qe(Xt){return me=Xt,j=Fr(gt,u),be?Ge(Xt):z}function ot(Xt){var si=Xt-ee,Ui=Xt-me,Bf=u-si;return Pe?mn(Bf,F-Ui):Bf}function Ze(Xt){var si=Xt-ee,Ui=Xt-me;return ee===t||si>=u||si<0||Pe&&Ui>=F}function gt(){var Xt=Ka();if(Ze(Xt))return pt(Xt);j=Fr(gt,ot(Xt))}function pt(Xt){return j=t,Ve&&k?Ge(Xt):(k=N=t,z)}function Hn(){j!==t&&Lu(j),me=0,k=ee=N=j=t}function yn(){return j===t?z:pt(Ka())}function Wn(){var Xt=Ka(),si=Ze(Xt);if(k=arguments,N=this,ee=Xt,si){if(j===t)return Qe(ee);if(Pe)return Lu(j),j=Fr(gt,u),Ge(ee)}return j===t&&(j=Fr(gt,u)),z}return Wn.cancel=Hn,Wn.flush=yn,Wn}var pv=ft(function(s,u){return ou(s,1,u)}),mv=ft(function(s,u,_){return ou(s,Zn(u)||0,_)});function bv(s){return Di(s,D)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Kn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var z=s.apply(this,k);return _.cache=F.set(N,z)||F,z};return _.cache=new(ja.Cache||Ei),_}ja.Cache=Ei;function Ja(s){if(typeof s!="function")throw new Kn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function vv(s){return pf(2,s)}var wv=a1(function(s,u){u=u.length==1&&it(u[0])?zt(u[0],Fn(je())):zt(cn(u,1),Fn(je()));var _=u.length;return ft(function(k){for(var N=-1,F=mn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return nn(s,this,k)})}),_o=ft(function(s,u){var _=tl(u,ir(_o));return Di(s,V,t,u,_)}),kf=ft(function(s,u){var _=tl(u,ir(kf));return Di(s,I,t,u,_)}),kv=Vi(function(s,u){return Di(s,O,t,t,t,u)});function Sv(s,u){if(typeof s!="function")throw new Kn(a);return u=u===t?u:st(u),ft(s,u)}function Cv(s,u){if(typeof s!="function")throw new Kn(a);return u=u==null?0:rn(st(u),0),ft(function(_){var k=_[u],N=al(_,0,u);return k&&el(N,k),nn(s,this,N)})}function yv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new Kn(a);return Kt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),wf(s,u,{leading:k,maxWait:u,trailing:N})}function Pv(s){return _f(s,1)}function Nv(s,u){return _o($s(u),s)}function Tv(){if(!arguments.length)return[];var s=arguments[0];return it(s)?s:[s]}function Iv(s){return Jn(s,b)}function Lv(s,u){return u=typeof u=="function"?u:t,Jn(s,b,u)}function Av(s){return Jn(s,h|b)}function Ev(s,u){return u=typeof u=="function"?u:t,Jn(s,h|b,u)}function Rv(s,u){return u==null||su(s,u,un(u))}function ai(s,u){return s===u||s!==s&&u!==u}var Dv=Ba(Hs),Vv=Ba(function(s,u){return s>=u}),Vl=hu(function(){return arguments}())?hu:function(s){return Qt(s)&&It.call(s,"callee")&&!xo.call(s,"callee")},it=ue.isArray,Ov=Kl?Fn(Kl):qm;function En(s){return s!=null&&Ya(s.length)&&!Mi(s)}function Zt(s){return Qt(s)&&En(s)}function Mv(s){return s===!0||s===!1||Qt(s)&&Sn(s)==tt}var sl=Zp||No,Fv=Pl?Fn(Pl):Gm;function Uv(s){return Qt(s)&&s.nodeType===1&&!Ur(s)}function Bv(s){if(s==null)return!0;if(En(s)&&(it(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||lr(s)||Vl(s)))return!s.length;var u=bn(s);if(u==kt||u==Ot)return!s.size;if(Mr(s))return!qs(s).length;for(var _ in s)if(It.call(s,_))return!1;return!0}function Hv(s,u){return Dr(s,u)}function Wv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Dr(s,u,t,_):!!k}function po(s){if(!Qt(s))return!1;var u=Sn(s);return u==Pt||u==rt||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function zv(s){return typeof s=="number"&&tu(s)}function Mi(s){if(!Kt(s))return!1;var u=Sn(s);return u==_e||u==$e||u==Te||u==ct}function Sf(s){return typeof s=="number"&&s==st(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ge}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Qt(s){return s!=null&&typeof s=="object"}var Cf=ks?Fn(ks):jm;function qv(s,u){return s===u||zs(s,u,ro(u))}function Gv(s,u,_){return _=typeof _=="function"?_:t,zs(s,u,ro(u),_)}function Kv(s){return yf(s)&&s!=+s}function jv(s){if(L1(s))throw new et(r);return gu(s)}function Jv(s){return s===null}function Yv(s){return s==null}function yf(s){return typeof s=="number"||Qt(s)&&Sn(s)==qt}function Ur(s){if(!Qt(s)||Sn(s)!=Ft)return!1;var u=ka(s);if(u===null)return!0;var _=It.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ma.call(_)==Gp}var mo=jl?Fn(jl):Jm;function Qv(s){return Sf(s)&&s>=-ge&&s<=ge}var Pf=ca?Fn(ca):Ym;function Qa(s){return typeof s=="string"||!it(s)&&Qt(s)&&Sn(s)==Bt}function Bn(s){return typeof s=="symbol"||Qt(s)&&Sn(s)==wn}var lr=Nl?Fn(Nl):Qm;function Zv(s){return s===t}function Xv(s){return Qt(s)&&bn(s)==xt}function $v(s){return Qt(s)&&Sn(s)==kn}var xv=Ba(Gs),e0=Ba(function(s,u){return s<=u});function Nf(s){if(!s)return[];if(En(s))return Qa(s)?li(s):An(s);if(Pr&&s[Pr])return Rp(s[Pr]());var u=bn(s),_=u==kt?Es:u==Ot?ga:rr;return _(s)}function Fi(s){if(!s)return s===0?s:0;if(s=Zn(s),s===J||s===-J){var u=s<0?-1:1;return u*ie}return s===s?s:0}function st(s){var u=Fi(s),_=u%1;return u===u?_?u-_:u:0}function Tf(s){return s?Al(st(s),0,ve):0}function Zn(s){if(typeof s=="number")return s;if(Bn(s))return se;if(Kt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Kt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Ko(s);var _=Hl.test(s);return _||ji.test(s)?$i(s.slice(2),_?2:8):Sl.test(s)?se:+s}function If(s){return hi(s,Rn(s))}function t0(s){return s?Al(st(s),-ge,ge):s===0?s:0}function Tt(s){return s==null?"":Un(s)}var n0=tr(function(s,u){if(Mr(u)||En(u)){hi(u,un(u),s);return}for(var _ in u)It.call(u,_)&&Ar(s,_,u[_])}),Lf=tr(function(s,u){hi(u,Rn(u),s)}),Za=tr(function(s,u,_,k){hi(u,Rn(u),s,k)}),i0=tr(function(s,u,_,k){hi(u,un(u),s,k)}),l0=Vi(Fs);function r0(s,u){var _=er(s);return u==null?_:au(_,u)}var a0=ft(function(s,u){s=Rt(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Cn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],z=Rn(F),j=-1,ee=z.length;++j<ee;){var me=z[j],be=s[me];(be===t||ai(be,Xl[me])&&!It.call(s,me))&&(s[me]=F[me])}return s}),s0=ft(function(s){return s.push(t,Ku),nn(Af,t,s)});function o0(s,u){return Wo(s,je(u,3),di)}function u0(s,u){return Wo(s,je(u,3),Bs)}function f0(s,u){return s==null?s:Us(s,je(u,3),Rn)}function c0(s,u){return s==null?s:cu(s,je(u,3),Rn)}function d0(s,u){return s&&di(s,je(u,3))}function h0(s,u){return s&&Bs(s,je(u,3))}function g0(s){return s==null?[]:Ea(s,un(s))}function _0(s){return s==null?[]:Ea(s,Rn(s))}function bo(s,u,_){var k=s==null?t:El(s,u);return k===t?_:k}function p0(s,u){return s!=null&&Yu(s,u,Bm)}function vo(s,u){return s!=null&&Yu(s,u,Hm)}var m0=Hu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=_},ko(Dn)),b0=Hu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),It.call(s,u)?s[u].push(_):s[u]=[_]},je),v0=ft(Rr);function un(s){return En(s)?lu(s):qs(s)}function Rn(s){return En(s)?lu(s,!0):Zm(s)}function w0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,u(k,N,F),k)}),_}function k0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,N,u(k,N,F))}),_}var S0=tr(function(s,u,_){Ra(s,u,_)}),Af=tr(function(s,u,_,k){Ra(s,u,_,k)}),C0=Vi(function(s,u){var _={};if(s==null)return _;var k=!1;u=zt(u,function(F){return F=rl(F,s),k||(k=F.length>1),F}),hi(s,io(s),_),k&&(_=Jn(_,h|p|b,m1));for(var N=u.length;N--;)Qs(_,u[N]);return _});function y0(s,u){return Ef(s,Ja(je(u)))}var P0=Vi(function(s,u){return s==null?{}:$m(s,u)});function Ef(s,u){if(s==null)return{};var _=zt(io(s),function(k){return[k]});return u=je(u),ku(s,_,function(k,N){return u(k,N[0])})}function N0(s,u,_){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[gi(u[k])];F===t&&(k=N,F=_),s=Mi(F)?F.call(s):F}return s}function T0(s,u,_){return s==null?s:Vr(s,u,_)}function I0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,_,k)}var Rf=qu(un),Df=qu(Rn);function L0(s,u,_){var k=it(s),N=k||sl(s)||lr(s);if(u=je(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Mi(F)?er(ka(s)):{}:_={}}return(N?Gt:di)(s,function(z,j,ee){return u(_,z,j,ee)}),_}function A0(s,u){return s==null?!0:Qs(s,u)}function E0(s,u,_){return s==null?s:Nu(s,u,$s(_))}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Nu(s,u,$s(_),k)}function rr(s){return s==null?[]:As(s,un(s))}function D0(s){return s==null?[]:As(s,Rn(s))}function V0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=Zn(_),_=_===_?_:0),u!==t&&(u=Zn(u),u=u===u?u:0),Al(Zn(s),u,_)}function O0(s,u,_){return u=Fi(u),_===t?(_=u,u=0):_=Fi(_),s=Zn(s),Wm(s,u,_)}function M0(s,u,_){if(_&&typeof _!="boolean"&&Cn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Fi(s),u===t?(u=s,s=0):u=Fi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=nu();return mn(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var F0=nr(function(s,u,_){return u=u.toLowerCase(),s+(_?Vf(u):u)});function Vf(s){return wo(Tt(s).toLowerCase())}function Of(s){return s=Tt(s),s&&s.replace(yl,Tp).replace(ws,"")}function U0(s,u,_){s=Tt(s),u=Un(u);var k=s.length;_=_===t?k:Al(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function B0(s){return s=Tt(s),s&&fi.test(s)?s.replace(zi,Ip):s}function H0(s){return s=Tt(s),s&&nt.test(s)?s.replace(ye,"\\$&"):s}var W0=nr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),z0=nr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),q0=Fu("toLowerCase");function G0(s,u,_){s=Tt(s),u=st(u);var k=u?Ql(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),_)+s+Ua(ya(N),_)}function K0(s,u,_){s=Tt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?s+Ua(u-k,_):s}function j0(s,u,_){s=Tt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?Ua(u-k,_)+s:s}function J0(s,u,_){return _||u==null?u=0:u&&(u=+u),em(Tt(s).replace(ut,""),u||0)}function Y0(s,u,_){return(_?Cn(s,u,_):u===t)?u=1:u=st(u),Js(Tt(s),u)}function Q0(){var s=arguments,u=Tt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var Z0=nr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function X0(s,u,_){return _&&typeof _!="number"&&Cn(s,u,_)&&(u=_=t),_=_===t?ve:_>>>0,_?(s=Tt(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=Un(u),!u&&Yl(s))?al(li(s),0,_):s.split(u,_)):[]}var $0=nr(function(s,u,_){return s+(_?" ":"")+wo(u)});function x0(s,u,_){return s=Tt(s),_=_==null?0:Al(st(_),0,s.length),u=Un(u),s.slice(_,_+u.length)==u}function ew(s,u,_){var k=M.templateSettings;_&&Cn(s,u,_)&&(u=t),s=Tt(s),u=Za({},u,k,Gu);var N=Za({},u.imports,k.imports,Gu),F=un(N),z=As(N,F),j,ee,me=0,be=u.interpolate||ci,Pe="__p += '",Ve=Rs((u.escape||ci).source+"|"+be.source+"|"+(be===Gi?In:ci).source+"|"+(u.evaluate||ci).source+"|$","g"),Ge="//# sourceURL="+(It.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Oe+"]")+`
36
- `;s.replace(Ve,function(Ze,gt,pt,Hn,yn,Wn){return pt||(pt=Hn),Pe+=s.slice(me,Wn).replace(Wl,Lp),gt&&(j=!0,Pe+=`' +
37
- __e(`+gt+`) +
38
- '`),yn&&(ee=!0,Pe+=`';
39
- `+yn+`;
40
- __p += '`),pt&&(Pe+=`' +
41
- ((__t = (`+pt+`)) == null ? '' : __t) +
42
- '`),me=Wn+Ze.length,Ze}),Pe+=`';
43
- `;var Qe=It.call(u,"variable")&&u.variable;if(!Qe)Pe=`with (obj) {
44
- `+Pe+`
35
+ `)}function P1(s){return at(s)||Fl(s)||!!($o&&s&&s[$o])}function Oi(s,u){var _=typeof s;return u=u??he,!!u&&(_=="number"||_!="symbol"&&Nl.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Gt(_))return!1;var k=typeof u;return(k=="number"?En(_)&&Oi(u,_.length):k=="string"&&u in _)?ri(_[u],s):!1}function ao(s,u){if(at(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Fn(s)?!0:Cl.test(s)||!Sl.test(s)||u!=null&&s in Ot(u)}function N1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function so(s){var u=Ba(s),_=M[u];if(typeof _!="function"||!(u in mt.prototype))return!1;if(s===_)return!0;var k=io(_);return!!k&&s===k[0]}function T1(s){return!!Yo&&Yo in s}var I1=_a?Mi:Po;function Mr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||$l;return s===_}function Yu(s){return s===s&&!Gt(s)}function Qu(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Ot(_))}}function L1(s){var u=Ka(s,function(k){return _.size===g&&_.clear(),k}),_=u.cache;return u}function A1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),z=k==H&&_==T||k==H&&_==O&&s[7].length<=u[8]||k==(H|O)&&u[7].length<=u[8]&&_==T;if(!(F||z))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var j=u[3];if(j){var x=s[3];s[3]=x?Eu(x,j,u[4]):j,s[4]=x?nl(s[3],d):u[4]}return j=u[5],j&&(x=s[5],s[5]=x?Ru(x,j,u[6]):j,s[6]=x?nl(s[5],d):u[6]),j=u[7],j&&(s[7]=j),k&H&&(s[8]=s[8]==null?u[8]:bn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function E1(s){var u=[];if(s!=null)for(var _ in Ot(s))u.push(_);return u}function R1(s){return ma.call(s)}function Zu(s,u,_){return u=rn(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=rn(k.length-u,0),z=ue(F);++N<F;)z[N]=k[u+N];N=-1;for(var j=ue(u+1);++N<u;)j[N]=k[N];return j[u]=_(z),zt(s,this,j)}}function Xu(s,u){return u.length<2?s:Vl(s,Jn(u,0,-1))}function D1(s,u){for(var _=s.length,k=bn(u.length,_),N=An(s);k--;){var F=u[k];s[k]=Oi(F,_)?N[F]:t}return s}function oo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var $u=ef(ku),Fr=Yp||function(s,u){return wt.setTimeout(s,u)},uo=ef(n1);function xu(s,u,_){var k=u+"";return uo(s,y1(k,V1(k1(k),_)))}function ef(s){var u=0,_=0;return function(){var k=$p(),N=ge-(k-_);if(_=k,N>0){if(++u>=X)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Wa(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=Ks(_,N),z=s[F];s[F]=s[_],s[_]=z}return s.length=u,s}var tf=L1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Y,function(_,k,N,F){u.push(N?F.replace(Ln,"$1"):k||_)}),u});function di(s){if(typeof s=="string"||Fn(s))return s;var u=s+"";return u=="0"&&1/s==-J?"-0":u}function Ml(s){if(s!=null){try{return pa.call(s)}catch{}try{return s+""}catch{}}return""}function V1(s,u){return qn(Be,function(_){var k="_."+_[0];u&_[1]&&!ca(s,k)&&s.push(k)}),s.sort()}function nf(s){if(s instanceof mt)return s.clone();var u=new Kn(s.__wrapped__,s.__chain__);return u.__actions__=An(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function O1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=rn(ot(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,z=ue(Ca(k/u));N<k;)z[F++]=Jn(s,N,N+=u);return z}function M1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function F1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return tl(at(_)?An(_):[_],_n(u,1))}var U1=dt(function(s,u){return Xt(s)?Er(s,_n(u,1,Xt,!0)):[]}),B1=dt(function(s,u){var _=Yn(u);return Xt(_)&&(_=t),Xt(s)?Er(s,_n(u,1,Xt,!0),Je(_,2)):[]}),H1=dt(function(s,u){var _=Yn(u);return Xt(_)&&(_=t),Xt(s)?Er(s,_n(u,1,Xt,!0),t,_):[]});function W1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),Jn(s,u<0?0:u,k)):[]}function z1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),u=k-u,Jn(s,0,u<0?0:u)):[]}function q1(s,u){return s&&s.length?Da(s,Je(u,3),!0,!0):[]}function G1(s,u){return s&&s.length?Da(s,Je(u,3),!0):[]}function K1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,k=N),Fm(s,u,_,k)):[]}function lf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:ot(_);return N<0&&(N=rn(k+N,0)),da(s,Je(u,3),N)}function rf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=ot(_),N=_<0?rn(k+N,0):bn(N,k-1)),da(s,Je(u,3),N,!0)}function af(s){var u=s==null?0:s.length;return u?_n(s,1):[]}function j1(s){var u=s==null?0:s.length;return u?_n(s,J):[]}function J1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ot(u),_n(s,u)):[]}function Y1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function sf(s){return s&&s.length?s[0]:t}function Q1(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:ot(_);return N<0&&(N=rn(k+N,0)),Yl(s,u,N)}function Z1(s){var u=s==null?0:s.length;return u?Jn(s,0,-1):[]}var X1=dt(function(s){var u=qt(s,Zs);return u.length&&u[0]===s[0]?Hs(u):[]}),$1=dt(function(s){var u=Yn(s),_=qt(s,Zs);return u===Yn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Hs(_,Je(u,2)):[]}),x1=dt(function(s){var u=Yn(s),_=qt(s,Zs);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Hs(_,t,u):[]});function eb(s,u){return s==null?"":Zp.call(s,u)}function Yn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function tb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=ot(_),N=N<0?rn(k+N,0):bn(N,k-1)),u===u?Vp(s,u,N):da(s,Ho,N,!0)}function nb(s,u){return s&&s.length?mu(s,ot(u)):t}var ib=dt(of);function of(s,u){return s&&s.length&&u&&u.length?Gs(s,u):s}function lb(s,u,_){return s&&s.length&&u&&u.length?Gs(s,u,Je(_,2)):s}function rb(s,u,_){return s&&s.length&&u&&u.length?Gs(s,u,t,_):s}var ab=Vi(function(s,u){var _=s==null?0:s.length,k=Ms(s,u);return wu(s,qt(u,function(N){return Oi(N,_)?+N:N}).sort(Au)),k});function sb(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=Je(u,3);++k<F;){var z=s[k];u(z,k,s)&&(_.push(z),N.push(k))}return wu(s,N),_}function fo(s){return s==null?s:em.call(s)}function ob(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=k):(u=u==null?0:ot(u),_=_===t?k:ot(_)),Jn(s,u,_)):[]}function ub(s,u){return Ra(s,u)}function fb(s,u,_){return Js(s,u,Je(_,2))}function cb(s,u){var _=s==null?0:s.length;if(_){var k=Ra(s,u);if(k<_&&ri(s[k],u))return k}return-1}function db(s,u){return Ra(s,u,!0)}function hb(s,u,_){return Js(s,u,Je(_,2),!0)}function gb(s,u){var _=s==null?0:s.length;if(_){var k=Ra(s,u,!0)-1;if(ri(s[k],u))return k}return-1}function _b(s){return s&&s.length?Su(s):[]}function pb(s,u){return s&&s.length?Su(s,Je(u,2)):[]}function mb(s){var u=s==null?0:s.length;return u?Jn(s,1,u):[]}function bb(s,u,_){return s&&s.length?(u=_||u===t?1:ot(u),Jn(s,0,u<0?0:u)):[]}function vb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),u=k-u,Jn(s,u<0?0:u,k)):[]}function wb(s,u){return s&&s.length?Da(s,Je(u,3),!1,!0):[]}function kb(s,u){return s&&s.length?Da(s,Je(u,3)):[]}var Sb=dt(function(s){return rl(_n(s,1,Xt,!0))}),Cb=dt(function(s){var u=Yn(s);return Xt(u)&&(u=t),rl(_n(s,1,Xt,!0),Je(u,2))}),yb=dt(function(s){var u=Yn(s);return u=typeof u=="function"?u:t,rl(_n(s,1,Xt,!0),t,u)});function Pb(s){return s&&s.length?rl(s):[]}function Nb(s,u){return s&&s.length?rl(s,Je(u,2)):[]}function Tb(s,u){return u=typeof u=="function"?u:t,s&&s.length?rl(s,t,u):[]}function co(s){if(!(s&&s.length))return[];var u=0;return s=el(s,function(_){if(Xt(_))return u=rn(_.length,u),!0}),Is(u,function(_){return qt(s,Ps(_))})}function uf(s,u){if(!(s&&s.length))return[];var _=co(s);return u==null?_:qt(_,function(k){return zt(u,t,k)})}var Ib=dt(function(s,u){return Xt(s)?Er(s,u):[]}),Lb=dt(function(s){return Qs(el(s,Xt))}),Ab=dt(function(s){var u=Yn(s);return Xt(u)&&(u=t),Qs(el(s,Xt),Je(u,2))}),Eb=dt(function(s){var u=Yn(s);return u=typeof u=="function"?u:t,Qs(el(s,Xt),t,u)}),Rb=dt(co);function Db(s,u){return Nu(s||[],u||[],Ar)}function Vb(s,u){return Nu(s||[],u||[],Vr)}var Ob=dt(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,uf(s,_)});function ff(s){var u=M(s);return u.__chain__=!0,u}function Mb(s,u){return u(s),s}function za(s,u){return u(s)}var Fb=Vi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return Ms(F,s)};return u>1||this.__actions__.length||!(k instanceof mt)||!Oi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:za,args:[N],thisArg:t}),new Kn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Ub(){return ff(this)}function Bb(){return new Kn(this.value(),this.__chain__)}function Hb(){this.__values__===t&&(this.__values__=yf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Wb(){return this}function zb(s){for(var u,_=this;_ instanceof Ta;){var k=nf(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function qb(){var s=this.__wrapped__;if(s instanceof mt){var u=s;return this.__actions__.length&&(u=new mt(this)),u=u.reverse(),u.__actions__.push({func:za,args:[fo],thisArg:t}),new Kn(u,this.__chain__)}return this.thru(fo)}function Gb(){return Pu(this.__wrapped__,this.__actions__)}var Kb=Va(function(s,u,_){Rt.call(s,_)?++s[_]:Ri(s,_,1)});function jb(s,u,_){var k=at(s)?Uo:Mm;return _&&Pn(s,u,_)&&(u=t),k(s,Je(u,3))}function Jb(s,u){var _=at(s)?el:ou;return _(s,Je(u,3))}var Yb=Mu(lf),Qb=Mu(rf);function Zb(s,u){return _n(qa(s,u),1)}function Xb(s,u){return _n(qa(s,u),J)}function $b(s,u,_){return _=_===t?1:ot(_),_n(qa(s,u),_)}function cf(s,u){var _=at(s)?qn:ll;return _(s,Je(u,3))}function df(s,u){var _=at(s)?mp:su;return _(s,Je(u,3))}var xb=Va(function(s,u,_){Rt.call(s,_)?s[_].push(u):Ri(s,_,[u])});function ev(s,u,_,k){s=En(s)?s:ar(s),_=_&&!k?ot(_):0;var N=s.length;return _<0&&(_=rn(N+_,0)),Ya(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Yl(s,u,_)>-1}var tv=dt(function(s,u,_){var k=-1,N=typeof u=="function",F=En(s)?ue(s.length):[];return ll(s,function(z){F[++k]=N?zt(u,z,_):Rr(z,u,_)}),F}),nv=Va(function(s,u,_){Ri(s,_,u)});function qa(s,u){var _=at(s)?qt:gu;return _(s,Je(u,3))}function iv(s,u,_,k){return s==null?[]:(at(u)||(u=u==null?[]:[u]),_=k?t:_,at(_)||(_=_==null?[]:[_]),bu(s,u,_))}var lv=Va(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function rv(s,u,_){var k=at(s)?Cs:zo,N=arguments.length<3;return k(s,Je(u,4),_,N,ll)}function av(s,u,_){var k=at(s)?bp:zo,N=arguments.length<3;return k(s,Je(u,4),_,N,su)}function sv(s,u){var _=at(s)?el:ou;return _(s,ja(Je(u,3)))}function ov(s){var u=at(s)?iu:e1;return u(s)}function uv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=ot(u);var k=at(s)?Em:t1;return k(s,u)}function fv(s){var u=at(s)?Rm:i1;return u(s)}function cv(s){if(s==null)return 0;if(En(s))return Ya(s)?Zl(s):s.length;var u=vn(s);return u==Pt||u==Ht?s.size:zs(s).length}function dv(s,u,_){var k=at(s)?ys:l1;return _&&Pn(s,u,_)&&(u=t),k(s,Je(u,3))}var hv=dt(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Pn(s,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),bu(s,_n(u,1),[])}),Ga=Jp||function(){return wt.Date.now()};function gv(s,u){if(typeof u!="function")throw new Gn(a);return s=ot(s),function(){if(--s<1)return u.apply(this,arguments)}}function hf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Di(s,H,t,t,t,t,u)}function gf(s,u){var _;if(typeof u!="function")throw new Gn(a);return s=ot(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ho=dt(function(s,u,_){var k=C;if(_.length){var N=nl(_,lr(ho));k|=V}return Di(s,k,u,_,N)}),_f=dt(function(s,u,_){var k=C|y;if(_.length){var N=nl(_,lr(_f));k|=V}return Di(u,k,s,_,N)});function pf(s,u,_){u=_?t:u;var k=Di(s,T,t,t,t,t,t,u);return k.placeholder=pf.placeholder,k}function mf(s,u,_){u=_?t:u;var k=Di(s,E,t,t,t,t,t,u);return k.placeholder=mf.placeholder,k}function bf(s,u,_){var k,N,F,z,j,x,_e=0,pe=!1,ye=!1,De=!0;if(typeof s!="function")throw new Gn(a);u=Qn(u)||0,Gt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?rn(Qn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ge($t){var ai=k,Ui=N;return k=N=t,_e=$t,z=s.apply(Ui,ai),z}function Xe($t){return _e=$t,j=Fr(pt,u),pe?Ge($t):z}function ct($t){var ai=$t-x,Ui=$t-_e,Ff=u-ai;return ye?bn(Ff,F-Ui):Ff}function $e($t){var ai=$t-x,Ui=$t-_e;return x===t||ai>=u||ai<0||ye&&Ui>=F}function pt(){var $t=Ga();if($e($t))return vt($t);j=Fr(pt,ct($t))}function vt($t){return j=t,De&&k?Ge($t):(k=N=t,z)}function Un(){j!==t&&Tu(j),_e=0,k=x=N=j=t}function Nn(){return j===t?z:vt(Ga())}function Bn(){var $t=Ga(),ai=$e($t);if(k=arguments,N=this,x=$t,ai){if(j===t)return Xe(x);if(ye)return Tu(j),j=Fr(pt,u),Ge(x)}return j===t&&(j=Fr(pt,u)),z}return Bn.cancel=Un,Bn.flush=Nn,Bn}var _v=dt(function(s,u){return au(s,1,u)}),pv=dt(function(s,u,_){return au(s,Qn(u)||0,_)});function mv(s){return Di(s,D)}function Ka(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Gn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var z=s.apply(this,k);return _.cache=F.set(N,z)||F,z};return _.cache=new(Ka.Cache||Ei),_}Ka.Cache=Ei;function ja(s){if(typeof s!="function")throw new Gn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function bv(s){return gf(2,s)}var vv=r1(function(s,u){u=u.length==1&&at(u[0])?qt(u[0],On(Je())):qt(_n(u,1),On(Je()));var _=u.length;return dt(function(k){for(var N=-1,F=bn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return zt(s,this,k)})}),go=dt(function(s,u){var _=nl(u,lr(go));return Di(s,V,t,u,_)}),vf=dt(function(s,u){var _=nl(u,lr(vf));return Di(s,I,t,u,_)}),wv=Vi(function(s,u){return Di(s,O,t,t,t,u)});function kv(s,u){if(typeof s!="function")throw new Gn(a);return u=u===t?u:ot(u),dt(s,u)}function Sv(s,u){if(typeof s!="function")throw new Gn(a);return u=u==null?0:rn(ot(u),0),dt(function(_){var k=_[u],N=sl(_,0,u);return k&&tl(N,k),zt(s,this,N)})}function Cv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new Gn(a);return Gt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),bf(s,u,{leading:k,maxWait:u,trailing:N})}function yv(s){return hf(s,1)}function Pv(s,u){return go(Xs(u),s)}function Nv(){if(!arguments.length)return[];var s=arguments[0];return at(s)?s:[s]}function Tv(s){return jn(s,b)}function Iv(s,u){return u=typeof u=="function"?u:t,jn(s,b,u)}function Lv(s){return jn(s,h|b)}function Av(s,u){return u=typeof u=="function"?u:t,jn(s,h|b,u)}function Ev(s,u){return u==null||ru(s,u,fn(u))}function ri(s,u){return s===u||s!==s&&u!==u}var Rv=Ua(Bs),Dv=Ua(function(s,u){return s>=u}),Fl=cu(function(){return arguments}())?cu:function(s){return Yt(s)&&Rt.call(s,"callee")&&!Xo.call(s,"callee")},at=ue.isArray,Vv=ws?On(ws):zm;function En(s){return s!=null&&Ja(s.length)&&!Mi(s)}function Xt(s){return Yt(s)&&En(s)}function Ov(s){return s===!0||s===!1||Yt(s)&&yn(s)==tt}var ol=Qp||Po,Mv=Jl?On(Jl):qm;function Fv(s){return Yt(s)&&s.nodeType===1&&!Ur(s)}function Uv(s){if(s==null)return!0;if(En(s)&&(at(s)||typeof s=="string"||typeof s.splice=="function"||ol(s)||rr(s)||Fl(s)))return!s.length;var u=vn(s);if(u==Pt||u==Ht)return!s.size;if(Mr(s))return!zs(s).length;for(var _ in s)if(Rt.call(s,_))return!1;return!0}function Bv(s,u){return Dr(s,u)}function Hv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Dr(s,u,t,_):!!k}function _o(s){if(!Yt(s))return!1;var u=yn(s);return u==ut||u==Ze||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Wv(s){return typeof s=="number"&&xo(s)}function Mi(s){if(!Gt(s))return!1;var u=yn(s);return u==me||u==it||u==Ne||u==ht}function wf(s){return typeof s=="number"&&s==ot(s)}function Ja(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=he}function Gt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Yt(s){return s!=null&&typeof s=="object"}var kf=fa?On(fa):Km;function zv(s,u){return s===u||Ws(s,u,lo(u))}function qv(s,u,_){return _=typeof _=="function"?_:t,Ws(s,u,lo(u),_)}function Gv(s){return Sf(s)&&s!=+s}function Kv(s){if(I1(s))throw new rt(r);return du(s)}function jv(s){return s===null}function Jv(s){return s==null}function Sf(s){return typeof s=="number"||Yt(s)&&yn(s)==en}function Ur(s){if(!Yt(s)||yn(s)!=Lt)return!1;var u=wa(s);if(u===null)return!0;var _=Rt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&pa.call(_)==qp}var po=Ll?On(Ll):jm;function Yv(s){return wf(s)&&s>=-he&&s<=he}var Cf=xi?On(xi):Jm;function Ya(s){return typeof s=="string"||!at(s)&&Yt(s)&&yn(s)==Jt}function Fn(s){return typeof s=="symbol"||Yt(s)&&yn(s)==kn}var rr=gn?On(gn):Ym;function Qv(s){return s===t}function Zv(s){return Yt(s)&&vn(s)==Qt}function Xv(s){return Yt(s)&&yn(s)==pl}var $v=Ua(qs),xv=Ua(function(s,u){return s<=u});function yf(s){if(!s)return[];if(En(s))return Ya(s)?ii(s):An(s);if(Pr&&s[Pr])return Ep(s[Pr]());var u=vn(s),_=u==Pt?As:u==Ht?ha:ar;return _(s)}function Fi(s){if(!s)return s===0?s:0;if(s=Qn(s),s===J||s===-J){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ot(s){var u=Fi(s),_=u%1;return u===u?_?u-_:u:0}function Pf(s){return s?Dl(ot(s),0,be):0}function Qn(s){if(typeof s=="number")return s;if(Fn(s))return se;if(Gt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Gt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=qo(s);var _=pr.test(s);return _||Pl.test(s)?je(s.slice(2),_?2:8):zl.test(s)?se:+s}function Nf(s){return ci(s,Rn(s))}function e0(s){return s?Dl(ot(s),-he,he):s===0?s:0}function At(s){return s==null?"":Mn(s)}var t0=nr(function(s,u){if(Mr(u)||En(u)){ci(u,fn(u),s);return}for(var _ in u)Rt.call(u,_)&&Ar(s,_,u[_])}),Tf=nr(function(s,u){ci(u,Rn(u),s)}),Qa=nr(function(s,u,_,k){ci(u,Rn(u),s,k)}),n0=nr(function(s,u,_,k){ci(u,fn(u),s,k)}),i0=Vi(Ms);function l0(s,u){var _=tr(s);return u==null?_:lu(_,u)}var r0=dt(function(s,u){s=Ot(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Pn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],z=Rn(F),j=-1,x=z.length;++j<x;){var _e=z[j],pe=s[_e];(pe===t||ri(pe,$l[_e])&&!Rt.call(s,_e))&&(s[_e]=F[_e])}return s}),a0=dt(function(s){return s.push(t,qu),zt(If,t,s)});function s0(s,u){return Bo(s,Je(u,3),fi)}function o0(s,u){return Bo(s,Je(u,3),Us)}function u0(s,u){return s==null?s:Fs(s,Je(u,3),Rn)}function f0(s,u){return s==null?s:uu(s,Je(u,3),Rn)}function c0(s,u){return s&&fi(s,Je(u,3))}function d0(s,u){return s&&Us(s,Je(u,3))}function h0(s){return s==null?[]:Aa(s,fn(s))}function g0(s){return s==null?[]:Aa(s,Rn(s))}function mo(s,u,_){var k=s==null?t:Vl(s,u);return k===t?_:k}function _0(s,u){return s!=null&&ju(s,u,Um)}function bo(s,u){return s!=null&&ju(s,u,Bm)}var p0=Uu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ma.call(u)),s[u]=_},wo(Dn)),m0=Uu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ma.call(u)),Rt.call(s,u)?s[u].push(_):s[u]=[_]},Je),b0=dt(Rr);function fn(s){return En(s)?nu(s):zs(s)}function Rn(s){return En(s)?nu(s,!0):Qm(s)}function v0(s,u){var _={};return u=Je(u,3),fi(s,function(k,N,F){Ri(_,u(k,N,F),k)}),_}function w0(s,u){var _={};return u=Je(u,3),fi(s,function(k,N,F){Ri(_,N,u(k,N,F))}),_}var k0=nr(function(s,u,_){Ea(s,u,_)}),If=nr(function(s,u,_,k){Ea(s,u,_,k)}),S0=Vi(function(s,u){var _={};if(s==null)return _;var k=!1;u=qt(u,function(F){return F=al(F,s),k||(k=F.length>1),F}),ci(s,no(s),_),k&&(_=jn(_,h|p|b,p1));for(var N=u.length;N--;)Ys(_,u[N]);return _});function C0(s,u){return Lf(s,ja(Je(u)))}var y0=Vi(function(s,u){return s==null?{}:Xm(s,u)});function Lf(s,u){if(s==null)return{};var _=qt(no(s),function(k){return[k]});return u=Je(u),vu(s,_,function(k,N){return u(k,N[0])})}function P0(s,u,_){u=al(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[di(u[k])];F===t&&(k=N,F=_),s=Mi(F)?F.call(s):F}return s}function N0(s,u,_){return s==null?s:Vr(s,u,_)}function T0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,_,k)}var Af=Wu(fn),Ef=Wu(Rn);function I0(s,u,_){var k=at(s),N=k||ol(s)||rr(s);if(u=Je(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Gt(s)?_=Mi(F)?tr(wa(s)):{}:_={}}return(N?qn:fi)(s,function(z,j,x){return u(_,z,j,x)}),_}function L0(s,u){return s==null?!0:Ys(s,u)}function A0(s,u,_){return s==null?s:yu(s,u,Xs(_))}function E0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:yu(s,u,Xs(_),k)}function ar(s){return s==null?[]:Ls(s,fn(s))}function R0(s){return s==null?[]:Ls(s,Rn(s))}function D0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=Qn(_),_=_===_?_:0),u!==t&&(u=Qn(u),u=u===u?u:0),Dl(Qn(s),u,_)}function V0(s,u,_){return u=Fi(u),_===t?(_=u,u=0):_=Fi(_),s=Qn(s),Hm(s,u,_)}function O0(s,u,_){if(_&&typeof _!="boolean"&&Pn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Fi(s),u===t?(u=s,s=0):u=Fi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=eu();return bn(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return Ks(s,u)}var M0=ir(function(s,u,_){return u=u.toLowerCase(),s+(_?Rf(u):u)});function Rf(s){return vo(At(s).toLowerCase())}function Df(s){return s=At(s),s&&s.replace(Tl,Np).replace(B,"")}function F0(s,u,_){s=At(s),u=Mn(u);var k=s.length;_=_===t?k:Dl(ot(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function U0(s){return s=At(s),s&&vl.test(s)?s.replace(Ti,Tp):s}function B0(s){return s=At(s),s&&nt.test(s)?s.replace(Ce,"\\$&"):s}var H0=ir(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),W0=ir(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),z0=Ou("toLowerCase");function q0(s,u,_){s=At(s),u=ot(u);var k=u?Zl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Fa(ya(N),_)+s+Fa(Ca(N),_)}function G0(s,u,_){s=At(s),u=ot(u);var k=u?Zl(s):0;return u&&k<u?s+Fa(u-k,_):s}function K0(s,u,_){s=At(s),u=ot(u);var k=u?Zl(s):0;return u&&k<u?Fa(u-k,_)+s:s}function j0(s,u,_){return _||u==null?u=0:u&&(u=+u),xp(At(s).replace(ft,""),u||0)}function J0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=ot(u),js(At(s),u)}function Y0(){var s=arguments,u=At(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var Q0=ir(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function Z0(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?be:_>>>0,_?(s=At(s),s&&(typeof u=="string"||u!=null&&!po(u))&&(u=Mn(u),!u&&Ql(s))?sl(ii(s),0,_):s.split(u,_)):[]}var X0=ir(function(s,u,_){return s+(_?" ":"")+vo(u)});function $0(s,u,_){return s=At(s),_=_==null?0:Dl(ot(_),0,s.length),u=Mn(u),s.slice(_,_+u.length)==u}function x0(s,u,_){var k=M.templateSettings;_&&Pn(s,u,_)&&(u=t),s=At(s),u=Qa({},u,k,zu);var N=Qa({},u.imports,k.imports,zu),F=fn(N),z=Ls(N,F),j,x,_e=0,pe=u.interpolate||Ii,ye="__p += '",De=Es((u.escape||Ii).source+"|"+pe.source+"|"+(pe===Gi?yl:Ii).source+"|"+(u.evaluate||Ii).source+"|$","g"),Ge="//# sourceURL="+(Rt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fe+"]")+`
36
+ `;s.replace(De,function($e,pt,vt,Un,Nn,Bn){return vt||(vt=Un),ye+=s.slice(_e,Bn).replace(ql,Ip),pt&&(j=!0,ye+=`' +
37
+ __e(`+pt+`) +
38
+ '`),Nn&&(x=!0,ye+=`';
39
+ `+Nn+`;
40
+ __p += '`),vt&&(ye+=`' +
41
+ ((__t = (`+vt+`)) == null ? '' : __t) +
42
+ '`),_e=Bn+$e.length,$e}),ye+=`';
43
+ `;var Xe=Rt.call(u,"variable")&&u.variable;if(!Xe)ye=`with (obj) {
44
+ `+ye+`
45
45
  }
46
- `;else if(Bl.test(Qe))throw new et(o);Pe=(ee?Pe.replace(_l,""):Pe).replace(pl,"$1").replace(ml,"$1;"),Pe="function("+(Qe||"obj")+`) {
47
- `+(Qe?"":`obj || (obj = {});
48
- `)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(ee?`, __j = Array.prototype.join;
46
+ `;else if(_r.test(Xe))throw new rt(o);ye=(x?ye.replace(ml,""):ye).replace(bl,"$1").replace(zi,"$1;"),ye="function("+(Xe||"obj")+`) {
47
+ `+(Xe?"":`obj || (obj = {});
48
+ `)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
- `)+Pe+`return __p
52
- }`;var ot=Ff(function(){return Nt(F,Ge+"return "+Pe).apply(t,z)});if(ot.source=Pe,po(ot))throw ot;return ot}function tw(s){return Tt(s).toLowerCase()}function nw(s){return Tt(s).toUpperCase()}function iw(s,u,_){if(s=Tt(s),s&&(_||u===t))return Ko(s);if(!s||!(u=Un(u)))return s;var k=li(s),N=li(u),F=jo(k,N),z=Jo(k,N)+1;return al(k,F,z).join("")}function lw(s,u,_){if(s=Tt(s),s&&(_||u===t))return s.slice(0,Qo(s)+1);if(!s||!(u=Un(u)))return s;var k=li(s),N=Jo(k,li(u))+1;return al(k,0,N).join("")}function rw(s,u,_){if(s=Tt(s),s&&(_||u===t))return s.replace(ut,"");if(!s||!(u=Un(u)))return s;var k=li(s),N=jo(k,li(u));return al(k,N).join("")}function aw(s,u){var _=q,k=Z;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?Un(u.omission):k}s=Tt(s);var F=s.length;if(Yl(s)){var z=li(s);F=z.length}if(_>=F)return s;var j=_-Ql(k);if(j<1)return k;var ee=z?al(z,0,j).join(""):s.slice(0,j);if(N===t)return ee+k;if(z&&(j+=ee.length-j),mo(N)){if(s.slice(j).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,Tt(Ki.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var Pe=me.index;ee=ee.slice(0,Pe===t?j:Pe)}}else if(s.indexOf(Un(N),j)!=j){var Ve=ee.lastIndexOf(N);Ve>-1&&(ee=ee.slice(0,Ve))}return ee+k}function sw(s){return s=Tt(s),s&&qi.test(s)?s.replace(Ii,Mp):s}var ow=nr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),wo=Fu("toUpperCase");function Mf(s,u,_){return s=Tt(s),u=_?t:u,u===t?Ep(s)?Bp(s):Sp(s):s.match(u)||[]}var Ff=ft(function(s,u){try{return nn(s,t,u)}catch(_){return po(_)?_:new et(_)}}),uw=Vi(function(s,u){return Gt(u,function(_){_=gi(_),Ri(s,_,go(s[_],s))}),s});function fw(s){var u=s==null?0:s.length,_=je();return s=u?zt(s,function(k){if(typeof k[1]!="function")throw new Kn(a);return[_(k[0]),k[1]]}):[],ft(function(k){for(var N=-1;++N<u;){var F=s[N];if(nn(F[0],this,k))return nn(F[1],this,k)}})}function cw(s){return Mm(Jn(s,h))}function ko(s){return function(){return s}}function dw(s,u){return s==null||s!==s?u:s}var hw=Bu(),gw=Bu(!0);function Dn(s){return s}function So(s){return _u(typeof s=="function"?s:Jn(s,h))}function _w(s){return mu(Jn(s,h))}function pw(s,u){return bu(s,Jn(u,h))}var mw=ft(function(s,u){return function(_){return Rr(_,s,u)}}),bw=ft(function(s,u){return function(_){return Rr(s,_,u)}});function Co(s,u,_){var k=un(u),N=Ea(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ea(u,un(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,z=Mi(s);return Gt(N,function(j){var ee=u[j];s[j]=ee,z&&(s.prototype[j]=function(){var me=this.__chain__;if(F||me){var be=s(this.__wrapped__),Pe=be.__actions__=An(this.__actions__);return Pe.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,el([this.value()],arguments))})}),s}function vw(){return xe._===this&&(xe._=Kp),this}function yo(){}function ww(s){return s=st(s),ft(function(u){return vu(u,s)})}var kw=eo(zt),Sw=eo(Ho),Cw=eo(Ps);function Uf(s){return so(s)?Ns(gi(s)):xm(s)}function yw(s){return function(u){return s==null?t:El(s,u)}}var Pw=Wu(),Nw=Wu(!0);function Po(){return[]}function No(){return!1}function Tw(){return{}}function Iw(){return""}function Lw(){return!0}function Aw(s,u){if(s=st(s),s<1||s>ge)return[];var _=ve,k=mn(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++_<s;)u(_);return N}function Ew(s){return it(s)?zt(s,gi):Bn(s)?[s]:An(lf(Tt(s)))}function Rw(s){var u=++qp;return Tt(s)+u}var Dw=Fa(function(s,u){return s+u},0),Vw=to("ceil"),Ow=Fa(function(s,u){return s/u},1),Mw=to("floor");function Fw(s){return s&&s.length?Aa(s,Dn,Hs):t}function Uw(s,u){return s&&s.length?Aa(s,je(u,2),Hs):t}function Bw(s){return qo(s,Dn)}function Hw(s,u){return qo(s,je(u,2))}function Ww(s){return s&&s.length?Aa(s,Dn,Gs):t}function zw(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var qw=Fa(function(s,u){return s*u},1),Gw=to("round"),Kw=Fa(function(s,u){return s-u},0);function jw(s){return s&&s.length?Is(s,Dn):0}function Jw(s,u){return s&&s.length?Is(s,je(u,2)):0}return M.after=_v,M.ary=_f,M.assign=n0,M.assignIn=Lf,M.assignInWith=Za,M.assignWith=i0,M.at=l0,M.before=pf,M.bind=go,M.bindAll=uw,M.bindKey=mf,M.castArray=Tv,M.chain=df,M.chunk=M1,M.compact=F1,M.concat=U1,M.cond=fw,M.conforms=cw,M.constant=ko,M.countBy=jb,M.create=r0,M.curry=bf,M.curryRight=vf,M.debounce=wf,M.defaults=a0,M.defaultsDeep=s0,M.defer=pv,M.delay=mv,M.difference=B1,M.differenceBy=H1,M.differenceWith=W1,M.drop=z1,M.dropRight=q1,M.dropRightWhile=G1,M.dropWhile=K1,M.fill=j1,M.filter=Yb,M.flatMap=Xb,M.flatMapDeep=$b,M.flatMapDepth=xb,M.flatten=of,M.flattenDeep=J1,M.flattenDepth=Y1,M.flip=bv,M.flow=hw,M.flowRight=gw,M.fromPairs=Q1,M.functions=g0,M.functionsIn=_0,M.groupBy=ev,M.initial=X1,M.intersection=$1,M.intersectionBy=x1,M.intersectionWith=eb,M.invert=m0,M.invertBy=b0,M.invokeMap=nv,M.iteratee=So,M.keyBy=iv,M.keys=un,M.keysIn=Rn,M.map=Ga,M.mapKeys=w0,M.mapValues=k0,M.matches=_w,M.matchesProperty=pw,M.memoize=ja,M.merge=S0,M.mergeWith=Af,M.method=mw,M.methodOf=bw,M.mixin=Co,M.negate=Ja,M.nthArg=ww,M.omit=C0,M.omitBy=y0,M.once=vv,M.orderBy=lv,M.over=kw,M.overArgs=wv,M.overEvery=Sw,M.overSome=Cw,M.partial=_o,M.partialRight=kf,M.partition=rv,M.pick=P0,M.pickBy=Ef,M.property=Uf,M.propertyOf=yw,M.pull=lb,M.pullAll=ff,M.pullAllBy=rb,M.pullAllWith=ab,M.pullAt=sb,M.range=Pw,M.rangeRight=Nw,M.rearg=kv,M.reject=ov,M.remove=ob,M.rest=Sv,M.reverse=co,M.sampleSize=fv,M.set=T0,M.setWith=I0,M.shuffle=cv,M.slice=ub,M.sortBy=gv,M.sortedUniq=pb,M.sortedUniqBy=mb,M.split=X0,M.spread=Cv,M.tail=bb,M.take=vb,M.takeRight=wb,M.takeRightWhile=kb,M.takeWhile=Sb,M.tap=Fb,M.throttle=yv,M.thru=qa,M.toArray=Nf,M.toPairs=Rf,M.toPairsIn=Df,M.toPath=Ew,M.toPlainObject=If,M.transform=L0,M.unary=Pv,M.union=Cb,M.unionBy=yb,M.unionWith=Pb,M.uniq=Nb,M.uniqBy=Tb,M.uniqWith=Ib,M.unset=A0,M.unzip=ho,M.unzipWith=cf,M.update=E0,M.updateWith=R0,M.values=rr,M.valuesIn=D0,M.without=Lb,M.words=Mf,M.wrap=Nv,M.xor=Ab,M.xorBy=Eb,M.xorWith=Rb,M.zip=Db,M.zipObject=Vb,M.zipObjectDeep=Ob,M.zipWith=Mb,M.entries=Rf,M.entriesIn=Df,M.extend=Lf,M.extendWith=Za,Co(M,M),M.add=Dw,M.attempt=Ff,M.camelCase=F0,M.capitalize=Vf,M.ceil=Vw,M.clamp=V0,M.clone=Iv,M.cloneDeep=Av,M.cloneDeepWith=Ev,M.cloneWith=Lv,M.conformsTo=Rv,M.deburr=Of,M.defaultTo=dw,M.divide=Ow,M.endsWith=U0,M.eq=ai,M.escape=B0,M.escapeRegExp=H0,M.every=Jb,M.find=Qb,M.findIndex=af,M.findKey=o0,M.findLast=Zb,M.findLastIndex=sf,M.findLastKey=u0,M.floor=Mw,M.forEach=hf,M.forEachRight=gf,M.forIn=f0,M.forInRight=c0,M.forOwn=d0,M.forOwnRight=h0,M.get=bo,M.gt=Dv,M.gte=Vv,M.has=p0,M.hasIn=vo,M.head=uf,M.identity=Dn,M.includes=tv,M.indexOf=Z1,M.inRange=O0,M.invoke=v0,M.isArguments=Vl,M.isArray=it,M.isArrayBuffer=Ov,M.isArrayLike=En,M.isArrayLikeObject=Zt,M.isBoolean=Mv,M.isBuffer=sl,M.isDate=Fv,M.isElement=Uv,M.isEmpty=Bv,M.isEqual=Hv,M.isEqualWith=Wv,M.isError=po,M.isFinite=zv,M.isFunction=Mi,M.isInteger=Sf,M.isLength=Ya,M.isMap=Cf,M.isMatch=qv,M.isMatchWith=Gv,M.isNaN=Kv,M.isNative=jv,M.isNil=Yv,M.isNull=Jv,M.isNumber=yf,M.isObject=Kt,M.isObjectLike=Qt,M.isPlainObject=Ur,M.isRegExp=mo,M.isSafeInteger=Qv,M.isSet=Pf,M.isString=Qa,M.isSymbol=Bn,M.isTypedArray=lr,M.isUndefined=Zv,M.isWeakMap=Xv,M.isWeakSet=$v,M.join=tb,M.kebabCase=W0,M.last=Qn,M.lastIndexOf=nb,M.lowerCase=z0,M.lowerFirst=q0,M.lt=xv,M.lte=e0,M.max=Fw,M.maxBy=Uw,M.mean=Bw,M.meanBy=Hw,M.min=Ww,M.minBy=zw,M.stubArray=Po,M.stubFalse=No,M.stubObject=Tw,M.stubString=Iw,M.stubTrue=Lw,M.multiply=qw,M.nth=ib,M.noConflict=vw,M.noop=yo,M.now=Ka,M.pad=G0,M.padEnd=K0,M.padStart=j0,M.parseInt=J0,M.random=M0,M.reduce=av,M.reduceRight=sv,M.repeat=Y0,M.replace=Q0,M.result=N0,M.round=Gw,M.runInContext=X,M.sample=uv,M.size=dv,M.snakeCase=Z0,M.some=hv,M.sortedIndex=fb,M.sortedIndexBy=cb,M.sortedIndexOf=db,M.sortedLastIndex=hb,M.sortedLastIndexBy=gb,M.sortedLastIndexOf=_b,M.startCase=$0,M.startsWith=x0,M.subtract=Kw,M.sum=jw,M.sumBy=Jw,M.template=ew,M.times=Aw,M.toFinite=Fi,M.toInteger=st,M.toLength=Tf,M.toLower=tw,M.toNumber=Zn,M.toSafeInteger=t0,M.toString=Tt,M.toUpper=nw,M.trim=iw,M.trimEnd=lw,M.trimStart=rw,M.truncate=aw,M.unescape=sw,M.uniqueId=Rw,M.upperCase=ow,M.upperFirst=wo,M.each=hf,M.eachRight=gf,M.first=uf,Co(M,function(){var s={};return di(M,function(u,_){It.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Gt(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:rn(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=mn(_,k.__takeCount__):k.__views__.push({size:mn(_,ve),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Gt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==x||_==K;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:je(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Gt(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Gt(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");_t.prototype[s]=function(){return this.__filtered__?new _t(this):this[_](1)}}),_t.prototype.compact=function(){return this.filter(Dn)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ft(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Rr(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ja(je(s)))},_t.prototype.slice=function(s,u){s=st(s);var _=this;return _.__filtered__&&(s>0||u<0)?new _t(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=st(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},_t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},_t.prototype.toArray=function(){return this.take(ve)},di(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var z=this.__wrapped__,j=k?[1]:arguments,ee=z instanceof _t,me=j[0],be=ee||it(z),Pe=function(gt){var pt=N.apply(M,el([gt],j));return k&&Ve?pt[0]:pt};be&&_&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Ve=this.__chain__,Ge=!!this.__actions__.length,Qe=F&&!Ve,ot=ee&&!Ge;if(!F&&be){z=ot?z:new _t(this);var Ze=s.apply(z,j);return Ze.__actions__.push({func:qa,args:[Pe],thisArg:t}),new jn(Ze,Ve)}return Qe&&ot?s.apply(this,j):(Ze=this.thru(Pe),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(it(F)?F:[],N)}return this[_](function(z){return u.apply(it(z)?z:[],N)})}}),di(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";It.call(xl,k)||(xl[k]=[]),xl[k].push({name:u,func:_})}}),xl[Ma(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=sm,_t.prototype.reverse=om,_t.prototype.value=um,M.prototype.at=Ub,M.prototype.chain=Bb,M.prototype.commit=Hb,M.prototype.next=Wb,M.prototype.plant=qb,M.prototype.reverse=Gb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Kb,M.prototype.first=M.prototype.head,Pr&&(M.prototype[Pr]=zb),M},Zl=Hp();Wt?((Wt.exports=Zl)._=Zl,Lt._=Zl):xe._=Zl}).call(Hr)})(ss,ss.exports);var qr=ss.exports;class H2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Mt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Mt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),g=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const h=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;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")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=we.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=we.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=we.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?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.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,g=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),h=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,h,l),this.navigateTo(h)}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 we.getDefaultChildNode(n,async(g,d)=>await Mt.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);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 g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:h}=await Mt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,h,o,t,g,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(g.split("?")[1]),v=we.getNodeParams(m),C=oe.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,E=P;for(;E;){if(E.tabNav===!0){T=!0;break}else if(E.tabNav===!1){T=!1;break}else if(le.isObject(E.tabNav)){if(E.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in E.tabNav&&E.children)if(E.tabNav.hideTabNavAutomatically===!0&&E.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}E=oe.getParentNode(E,h.navigationPath)}let V=P,I=d.hideSideNav;if(I===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){I=!0;break}if(V.hideSideNav===!1){I=!1;break}V=oe.getParentNode(V,h.navigationPath)}const H=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=H;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:H,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:d.isolateView||!1,tabNav:T};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(T?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await oi.navigateIframe(l,t,n);else{const $=t.get(),pe=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify($.context),nodeParams:JSON.stringify($.nodeParams),pathParams:JSON.stringify($.pathParams),searchParams:JSON.stringify(we.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(pe),withoutSync:!0})}}const q=document.querySelector(".lui-tab-header");q&&q.dispatchEvent(new Event("lui_ctx_update")),Mt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=we.getModalPathFromPath();if(e){const t=we.getModalParamsFromPath(),{nodeObject:n}=await Mt.extractDataFromPath(e);ep.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(we.isDynamicNode(c)){if(!r||o!==we.getDynamicNodeValue(c,e.pathParams)){zn.deleteNodesRecursively(c);break}}else r=!1}}else zn.deleteCache()}handleRouteClick(e,t){const n=we.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=oi.getActiveIframe(r);a&&a.vg&&oi.canCache(a.vg)?(oi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.switchActiveIframe(Ee.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=we.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...D2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.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&&ur.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&&qr.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=>oe.checkVisibleForFeatureToggles(a))),ur.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=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.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 g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,h;if(c){let[p,b]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(b,r),h&&(d+="?"+h)}else d=o.pathname,h=we.getURLWithoutModalData(o.search,r),h&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(g=we.handleHistoryState(g,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}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,h&&(p.hash+="?"+h)}else p.search=h;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=we.getQueryParams(),n=we.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=we.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 lt=new H2;class W2{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=we.substituteViewUrl(e,t));const l=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(n.split("?")[1]),a=we.getNodeParams(r),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ur.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(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ee.getIframeContainer().style.marginBottom="",dt.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`,Ee.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="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const dt=new W2;class z2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const q2=new z2;class G2{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 ui=new G2;class K2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!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=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await pi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await pi.handleAuthEvent("onAuthSuccessful",e,t),ui.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ui.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await pi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await pi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const fn=new K2;class j2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const 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 Gr=new j2;class J2{getStoredAuthData(){return ui.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await pi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new J2;class Y2{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"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),h=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(g,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(h,`</${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 g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),h=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,h),links:a.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const dr=new Y2;class Q2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),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=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return c2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ee.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"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.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=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const h=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(h))try{h(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=[...Ee.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 Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Uo.getActiveFeatureToggleList(),currentLocale:yt.getCurrentLocale(),currentTheme:Do.getCurrentTheme()}}}const Ee=new Q2;class Z2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qr.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 Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Hi.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=!!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 le=new Z2;class X2{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 le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Uo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(pi.isAuthorizationEnabled()){const r=fl.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=g=>{g.sort((d,h)=>{const p=d.order||0,b=h.order||0;return p-b})};return e.forEach(g=>{let d,h;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,h=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),h={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=h),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.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=g.parent?this.getNodePath(g.parent)+":"+d:d),b.push(g)}),Object.keys(r).forEach(g=>{const d=r[g].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":yt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Mt.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 h;const p=!!d.badgeCounter;if(p&&(h=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:()=>h};else if(p){const m=a[b].badgeCounter.count()+h;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:()=>h}},o.push(a[b]);a[b].children.push(d)}else o.push(d);h&&c.push(h)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Mt.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((h,p)=>h+p);g.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return g}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||"/";lt.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?yt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?yt.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 Mt.extractDataFromPath(e);return!!await Mt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qr.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(g=>{g.json().then(d=>{try{const h=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:h},n(h)}catch(h){l(h)}})}).catch(g=>{l(g)})}).catch(n=>{qr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=yt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:oe.prepareForTests(e.pathSegment,e.label)}}const oe=new X2;class $2{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(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const 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}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=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.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");On.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?lt.getHashPath():lt.getModifiedPathname();e(l)}}),On.addEventListener("popstate",n=>{const l=t?lt.getHashPath(location.href):lt.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:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:lt.buildFromRelativePath(e);return l+a}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=we.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=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=le.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=yt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[dr.sanitizeParam(n[0])]=dr.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=>Uo.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,g],d)=>{r+=`${d>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const 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 ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(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&&ul.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||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}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:yt.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 we=new $2;class x2{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 dn=new x2;class ek{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 On=new ek;class tk{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}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const nk=new tk;class ik{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.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=Ee.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 or=new ik;class lk{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 Kf=new lk;function jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Jf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,a,o,c,g;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=W(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=W(),f(t,"class","fd-message-strip__text svelte-dkyena"),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-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){A(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=te(r,"click",d),c=!0)},p(h,p){i=h,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-dkyena")&&f(e,"class",o)},d(h){h&&L(e),c=!1,g()}}}function rk(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jf(jf(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-dkyena"),f(e,"aria-hidden","false")},m(l,r){A(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=jf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:We,o:We,d(l){l&&L(e),ht(n,l),i[5](null)}}}function ak(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=vt("getUnsavedChangesModalPromise"),c=vt("handleNavigation");qn(()=>{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=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(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)}),$t(()=>{});function g(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 h(p){Je[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,h]}class sk extends Vt{constructor(e){super(),Dt(this,e,ak,rk,At,{alertQueue:0,alertTypeMap:1})}}const Fl=38,Wi=40,vi=13,mi=27,Kr=32,ok=36,uk=35;function Yf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Le(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){A(o,e,c),w(e,t),w(t,l),r||(a=te(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&L(e),r=!1,a()}}}function fk(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,h,p=i[0].body+"",b,m,v,C,y,P,T=i[0].buttonDismiss+"",E,V,I,H,O,D=i[0].type&&Yf(i),q=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=W(),o=S("h2"),g=Le(c),d=W(),h=S("div"),b=W(),m=S("footer"),v=S("div"),q&&q.c(),C=W(),y=S("div"),P=S("button"),E=Le(T),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",I="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Z,$){A(Z,e,$),w(e,t),w(t,n),w(n,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,b),w(t,m),w(m,v),q&&q.m(v,null),w(v,C),w(v,y),w(y,P),w(P,E),H||(O=[te(window,"keydown",i[1]),te(P,"click",i[5])],H=!0)},p(Z,[$]){Z[0].type?D?D.p(Z,$):(D=Yf(Z),D.c(),D.m(r,a)):D&&(D.d(1),D=null),$&1&&c!==(c=Z[0].header+"")&&Ae(g,c),$&1&&p!==(p=Z[0].body+"")&&(h.innerHTML=p),Z[0].buttonConfirm!==!1?q?q.p(Z,$):(q=Qf(Z),q.c(),q.m(v,C)):q&&(q.d(1),q=null),$&1&&T!==(T=Z[0].buttonDismiss+"")&&Ae(E,T),$&1&&V!==(V="fd-button "+(Z[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),$&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+Z[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",I)},i:We,o:We,d(Z){Z&&L(e),D&&D.d(),q&&q.d(),H=!1,Ye(O)}}}function ck(i,e,t){const n=Jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),$t(()=>{const d={icon:r[l.type],header:yt.getTranslation("luigi.confirmationModal.header"),body:yt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:yt.getTranslation("luigi.button.dismiss"),buttonConfirm:yt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const h=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${h}`).focus()}catch{console.warn(`Couldn't focus ${h} in modal`)}});function a(d){return oe.renderIconClassName(d)}function o(d){d.keyCode===mi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,g]}class dk extends Vt{constructor(e){super(),Dt(this,e,ck,fk,At,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function hk(i){let e,t,n;const l=i[5].default,r=U_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&W_(r,l,a,a[4],n?H_(l,a[4],o,null):z_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function gk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=m+g.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return $t(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),On.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),qn(()=>{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,h=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,h,l,n]}class Ul extends Vt{constructor(e){super(),Dt(this,e,gk,hk,At,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Zf(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m;t=new Ul({props:{disable:i[2]}});let v=i[0].title&&Xf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),g=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(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",h=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){A(C,e,y),Me(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,g),w(g,d),p=!0,b||(m=te(g,"click",i[11]),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=Xf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",h)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(t),v&&v.d(),b=!1,m()}}}function Xf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Le(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $f(i){let e;const t=i[10].default,n=U_(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&W_(n,t,l,l[9],e?H_(t,l[9],r,null):z_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function xf(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>
51
+ `)+ye+`return __p
52
+ }`;var ct=Of(function(){return It(F,Ge+"return "+ye).apply(t,z)});if(ct.source=ye,_o(ct))throw ct;return ct}function ew(s){return At(s).toLowerCase()}function tw(s){return At(s).toUpperCase()}function nw(s,u,_){if(s=At(s),s&&(_||u===t))return qo(s);if(!s||!(u=Mn(u)))return s;var k=ii(s),N=ii(u),F=Go(k,N),z=Ko(k,N)+1;return sl(k,F,z).join("")}function iw(s,u,_){if(s=At(s),s&&(_||u===t))return s.slice(0,Jo(s)+1);if(!s||!(u=Mn(u)))return s;var k=ii(s),N=Ko(k,ii(u))+1;return sl(k,0,N).join("")}function lw(s,u,_){if(s=At(s),s&&(_||u===t))return s.replace(ft,"");if(!s||!(u=Mn(u)))return s;var k=ii(s),N=Go(k,ii(u));return sl(k,N).join("")}function rw(s,u){var _=q,k=Q;if(Gt(u)){var N="separator"in u?u.separator:N;_="length"in u?ot(u.length):_,k="omission"in u?Mn(u.omission):k}s=At(s);var F=s.length;if(Ql(s)){var z=ii(s);F=z.length}if(_>=F)return s;var j=_-Zl(k);if(j<1)return k;var x=z?sl(z,0,j).join(""):s.slice(0,j);if(N===t)return x+k;if(z&&(j+=x.length-j),po(N)){if(s.slice(j).search(N)){var _e,pe=x;for(N.global||(N=Es(N.source,At(Ki.exec(N))+"g")),N.lastIndex=0;_e=N.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?j:ye)}}else if(s.indexOf(Mn(N),j)!=j){var De=x.lastIndexOf(N);De>-1&&(x=x.slice(0,De))}return x+k}function aw(s){return s=At(s),s&&ui.test(s)?s.replace(qi,Op):s}var sw=ir(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),vo=Ou("toUpperCase");function Vf(s,u,_){return s=At(s),u=_?t:u,u===t?Ap(s)?Up(s):kp(s):s.match(u)||[]}var Of=dt(function(s,u){try{return zt(s,t,u)}catch(_){return _o(_)?_:new rt(_)}}),ow=Vi(function(s,u){return qn(u,function(_){_=di(_),Ri(s,_,ho(s[_],s))}),s});function uw(s){var u=s==null?0:s.length,_=Je();return s=u?qt(s,function(k){if(typeof k[1]!="function")throw new Gn(a);return[_(k[0]),k[1]]}):[],dt(function(k){for(var N=-1;++N<u;){var F=s[N];if(zt(F[0],this,k))return zt(F[1],this,k)}})}function fw(s){return Om(jn(s,h))}function wo(s){return function(){return s}}function cw(s,u){return s==null||s!==s?u:s}var dw=Fu(),hw=Fu(!0);function Dn(s){return s}function ko(s){return hu(typeof s=="function"?s:jn(s,h))}function gw(s){return _u(jn(s,h))}function _w(s,u){return pu(s,jn(u,h))}var pw=dt(function(s,u){return function(_){return Rr(_,s,u)}}),mw=dt(function(s,u){return function(_){return Rr(s,_,u)}});function So(s,u,_){var k=fn(u),N=Aa(u,k);_==null&&!(Gt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Aa(u,fn(u)));var F=!(Gt(_)&&"chain"in _)||!!_.chain,z=Mi(s);return qn(N,function(j){var x=u[j];s[j]=x,z&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=An(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,tl([this.value()],arguments))})}),s}function bw(){return wt._===this&&(wt._=Gp),this}function Co(){}function vw(s){return s=ot(s),dt(function(u){return mu(u,s)})}var ww=xs(qt),kw=xs(Uo),Sw=xs(ys);function Mf(s){return ao(s)?Ps(di(s)):$m(s)}function Cw(s){return function(u){return s==null?t:Vl(s,u)}}var yw=Bu(),Pw=Bu(!0);function yo(){return[]}function Po(){return!1}function Nw(){return{}}function Tw(){return""}function Iw(){return!0}function Lw(s,u){if(s=ot(s),s<1||s>he)return[];var _=be,k=bn(s,be);u=Je(u),s-=be;for(var N=Is(k,u);++_<s;)u(_);return N}function Aw(s){return at(s)?qt(s,di):Fn(s)?[s]:An(tf(At(s)))}function Ew(s){var u=++zp;return At(s)+u}var Rw=Ma(function(s,u){return s+u},0),Dw=eo("ceil"),Vw=Ma(function(s,u){return s/u},1),Ow=eo("floor");function Mw(s){return s&&s.length?La(s,Dn,Bs):t}function Fw(s,u){return s&&s.length?La(s,Je(u,2),Bs):t}function Uw(s){return Wo(s,Dn)}function Bw(s,u){return Wo(s,Je(u,2))}function Hw(s){return s&&s.length?La(s,Dn,qs):t}function Ww(s,u){return s&&s.length?La(s,Je(u,2),qs):t}var zw=Ma(function(s,u){return s*u},1),qw=eo("round"),Gw=Ma(function(s,u){return s-u},0);function Kw(s){return s&&s.length?Ts(s,Dn):0}function jw(s,u){return s&&s.length?Ts(s,Je(u,2)):0}return M.after=gv,M.ary=hf,M.assign=t0,M.assignIn=Tf,M.assignInWith=Qa,M.assignWith=n0,M.at=i0,M.before=gf,M.bind=ho,M.bindAll=ow,M.bindKey=_f,M.castArray=Nv,M.chain=ff,M.chunk=O1,M.compact=M1,M.concat=F1,M.cond=uw,M.conforms=fw,M.constant=wo,M.countBy=Kb,M.create=l0,M.curry=pf,M.curryRight=mf,M.debounce=bf,M.defaults=r0,M.defaultsDeep=a0,M.defer=_v,M.delay=pv,M.difference=U1,M.differenceBy=B1,M.differenceWith=H1,M.drop=W1,M.dropRight=z1,M.dropRightWhile=q1,M.dropWhile=G1,M.fill=K1,M.filter=Jb,M.flatMap=Zb,M.flatMapDeep=Xb,M.flatMapDepth=$b,M.flatten=af,M.flattenDeep=j1,M.flattenDepth=J1,M.flip=mv,M.flow=dw,M.flowRight=hw,M.fromPairs=Y1,M.functions=h0,M.functionsIn=g0,M.groupBy=xb,M.initial=Z1,M.intersection=X1,M.intersectionBy=$1,M.intersectionWith=x1,M.invert=p0,M.invertBy=m0,M.invokeMap=tv,M.iteratee=ko,M.keyBy=nv,M.keys=fn,M.keysIn=Rn,M.map=qa,M.mapKeys=v0,M.mapValues=w0,M.matches=gw,M.matchesProperty=_w,M.memoize=Ka,M.merge=k0,M.mergeWith=If,M.method=pw,M.methodOf=mw,M.mixin=So,M.negate=ja,M.nthArg=vw,M.omit=S0,M.omitBy=C0,M.once=bv,M.orderBy=iv,M.over=ww,M.overArgs=vv,M.overEvery=kw,M.overSome=Sw,M.partial=go,M.partialRight=vf,M.partition=lv,M.pick=y0,M.pickBy=Lf,M.property=Mf,M.propertyOf=Cw,M.pull=ib,M.pullAll=of,M.pullAllBy=lb,M.pullAllWith=rb,M.pullAt=ab,M.range=yw,M.rangeRight=Pw,M.rearg=wv,M.reject=sv,M.remove=sb,M.rest=kv,M.reverse=fo,M.sampleSize=uv,M.set=N0,M.setWith=T0,M.shuffle=fv,M.slice=ob,M.sortBy=hv,M.sortedUniq=_b,M.sortedUniqBy=pb,M.split=Z0,M.spread=Sv,M.tail=mb,M.take=bb,M.takeRight=vb,M.takeRightWhile=wb,M.takeWhile=kb,M.tap=Mb,M.throttle=Cv,M.thru=za,M.toArray=yf,M.toPairs=Af,M.toPairsIn=Ef,M.toPath=Aw,M.toPlainObject=Nf,M.transform=I0,M.unary=yv,M.union=Sb,M.unionBy=Cb,M.unionWith=yb,M.uniq=Pb,M.uniqBy=Nb,M.uniqWith=Tb,M.unset=L0,M.unzip=co,M.unzipWith=uf,M.update=A0,M.updateWith=E0,M.values=ar,M.valuesIn=R0,M.without=Ib,M.words=Vf,M.wrap=Pv,M.xor=Lb,M.xorBy=Ab,M.xorWith=Eb,M.zip=Rb,M.zipObject=Db,M.zipObjectDeep=Vb,M.zipWith=Ob,M.entries=Af,M.entriesIn=Ef,M.extend=Tf,M.extendWith=Qa,So(M,M),M.add=Rw,M.attempt=Of,M.camelCase=M0,M.capitalize=Rf,M.ceil=Dw,M.clamp=D0,M.clone=Tv,M.cloneDeep=Lv,M.cloneDeepWith=Av,M.cloneWith=Iv,M.conformsTo=Ev,M.deburr=Df,M.defaultTo=cw,M.divide=Vw,M.endsWith=F0,M.eq=ri,M.escape=U0,M.escapeRegExp=B0,M.every=jb,M.find=Yb,M.findIndex=lf,M.findKey=s0,M.findLast=Qb,M.findLastIndex=rf,M.findLastKey=o0,M.floor=Ow,M.forEach=cf,M.forEachRight=df,M.forIn=u0,M.forInRight=f0,M.forOwn=c0,M.forOwnRight=d0,M.get=mo,M.gt=Rv,M.gte=Dv,M.has=_0,M.hasIn=bo,M.head=sf,M.identity=Dn,M.includes=ev,M.indexOf=Q1,M.inRange=V0,M.invoke=b0,M.isArguments=Fl,M.isArray=at,M.isArrayBuffer=Vv,M.isArrayLike=En,M.isArrayLikeObject=Xt,M.isBoolean=Ov,M.isBuffer=ol,M.isDate=Mv,M.isElement=Fv,M.isEmpty=Uv,M.isEqual=Bv,M.isEqualWith=Hv,M.isError=_o,M.isFinite=Wv,M.isFunction=Mi,M.isInteger=wf,M.isLength=Ja,M.isMap=kf,M.isMatch=zv,M.isMatchWith=qv,M.isNaN=Gv,M.isNative=Kv,M.isNil=Jv,M.isNull=jv,M.isNumber=Sf,M.isObject=Gt,M.isObjectLike=Yt,M.isPlainObject=Ur,M.isRegExp=po,M.isSafeInteger=Yv,M.isSet=Cf,M.isString=Ya,M.isSymbol=Fn,M.isTypedArray=rr,M.isUndefined=Qv,M.isWeakMap=Zv,M.isWeakSet=Xv,M.join=eb,M.kebabCase=H0,M.last=Yn,M.lastIndexOf=tb,M.lowerCase=W0,M.lowerFirst=z0,M.lt=$v,M.lte=xv,M.max=Mw,M.maxBy=Fw,M.mean=Uw,M.meanBy=Bw,M.min=Hw,M.minBy=Ww,M.stubArray=yo,M.stubFalse=Po,M.stubObject=Nw,M.stubString=Tw,M.stubTrue=Iw,M.multiply=zw,M.nth=nb,M.noConflict=bw,M.noop=Co,M.now=Ga,M.pad=q0,M.padEnd=G0,M.padStart=K0,M.parseInt=j0,M.random=O0,M.reduce=rv,M.reduceRight=av,M.repeat=J0,M.replace=Y0,M.result=P0,M.round=qw,M.runInContext=Z,M.sample=ov,M.size=cv,M.snakeCase=Q0,M.some=dv,M.sortedIndex=ub,M.sortedIndexBy=fb,M.sortedIndexOf=cb,M.sortedLastIndex=db,M.sortedLastIndexBy=hb,M.sortedLastIndexOf=gb,M.startCase=X0,M.startsWith=$0,M.subtract=Gw,M.sum=Kw,M.sumBy=jw,M.template=x0,M.times=Lw,M.toFinite=Fi,M.toInteger=ot,M.toLength=Pf,M.toLower=ew,M.toNumber=Qn,M.toSafeInteger=e0,M.toString=At,M.toUpper=tw,M.trim=nw,M.trimEnd=iw,M.trimStart=lw,M.truncate=rw,M.unescape=aw,M.uniqueId=Ew,M.upperCase=sw,M.upperFirst=vo,M.each=cf,M.eachRight=df,M.first=sf,So(M,function(){var s={};return fi(M,function(u,_){Rt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,qn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),qn(["drop","take"],function(s,u){mt.prototype[s]=function(_){_=_===t?1:rn(ot(_),0);var k=this.__filtered__&&!u?new mt(this):this.clone();return k.__filtered__?k.__takeCount__=bn(_,k.__takeCount__):k.__views__.push({size:bn(_,be),type:s+(k.__dir__<0?"Right":"")}),k},mt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),qn(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==$||_==K;mt.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:Je(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),qn(["head","last"],function(s,u){var _="take"+(u?"Right":"");mt.prototype[s]=function(){return this[_](1).value()[0]}}),qn(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");mt.prototype[s]=function(){return this.__filtered__?new mt(this):this[_](1)}}),mt.prototype.compact=function(){return this.filter(Dn)},mt.prototype.find=function(s){return this.filter(s).head()},mt.prototype.findLast=function(s){return this.reverse().find(s)},mt.prototype.invokeMap=dt(function(s,u){return typeof s=="function"?new mt(this):this.map(function(_){return Rr(_,s,u)})}),mt.prototype.reject=function(s){return this.filter(ja(Je(s)))},mt.prototype.slice=function(s,u){s=ot(s);var _=this;return _.__filtered__&&(s>0||u<0)?new mt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ot(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},mt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},mt.prototype.toArray=function(){return this.take(be)},fi(mt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var z=this.__wrapped__,j=k?[1]:arguments,x=z instanceof mt,_e=j[0],pe=x||at(z),ye=function(pt){var vt=N.apply(M,tl([pt],j));return k&&De?vt[0]:vt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ge=!!this.__actions__.length,Xe=F&&!De,ct=x&&!Ge;if(!F&&pe){z=ct?z:new mt(this);var $e=s.apply(z,j);return $e.__actions__.push({func:za,args:[ye],thisArg:t}),new Kn($e,De)}return Xe&&ct?s.apply(this,j):($e=this.thru(ye),Xe?k?$e.value()[0]:$e.value():$e)})}),qn(["pop","push","shift","sort","splice","unshift"],function(s){var u=ga[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(at(F)?F:[],N)}return this[_](function(z){return u.apply(at(z)?z:[],N)})}}),fi(mt.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";Rt.call(er,k)||(er[k]=[]),er[k].push({name:u,func:_})}}),er[Oa(t,y).name]=[{name:"wrapper",func:t}],mt.prototype.clone=am,mt.prototype.reverse=sm,mt.prototype.value=om,M.prototype.at=Fb,M.prototype.chain=Ub,M.prototype.commit=Bb,M.prototype.next=Hb,M.prototype.plant=zb,M.prototype.reverse=qb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Gb,M.prototype.first=M.prototype.head,Pr&&(M.prototype[Pr]=Wb),M},Xl=Bp();dn?((dn.exports=Xl)._=Xl,Cn._=Xl):wt._=Xl}).call(Hr)})(as,as.exports);var qr=as.exports;class B2{getNodePath(e,t){return e?ve.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Bt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Bt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),g=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?ve.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const h=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;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")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=ve.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=ve.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=ve.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?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&ve.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,g=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Bt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),h=await ve.getDefaultChildNode(d);this.showPageNotFoundError(r,h,l),this.navigateTo(h)}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 ve.getDefaultChildNode(n,async(g,d)=>await Bt.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);return this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Bt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await ve.getDefaultChildNode(g);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 g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:h}=await Bt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,h,o,t,g,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=ve.parseParams(g.split("?")[1]),v=ve.getNodeParams(m),C=oe.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,E=P;for(;E;){if(E.tabNav===!0){T=!0;break}else if(E.tabNav===!1){T=!1;break}else if(le.isObject(E.tabNav)){if(E.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in E.tabNav&&E.children)if(E.tabNav.hideTabNavAutomatically===!0&&E.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}E=oe.getParentNode(E,h.navigationPath)}let V=P,I=d.hideSideNav;if(I===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){I=!0;break}if(V.hideSideNav===!1){I=!1;break}V=oe.getParentNode(V,h.navigationPath)}const H=ve.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=H;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:H,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:d.isolateView||!1,tabNav:T};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(T?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)si.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)si.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Q=document.querySelector(".wcContainer");if(Q&&(Q.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await si.navigateIframe(l,t,n);else{const X=t.get(),ge=await t.prepareInternalData(l);Ae.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(ve.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ge),withoutSync:!0})}}const q=document.querySelector(".lui-tab-header");q&&q.dispatchEvent(new Event("lui_ctx_update")),Bt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=ve.getModalPathFromPath();if(e){const t=ve.getModalParamsFromPath(),{nodeObject:n}=await Bt.extractDataFromPath(e);$_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(ve.isDynamicNode(c)){if(!r||o!==ve.getDynamicNodeValue(c,e.pathParams)){Hn.deleteNodesRecursively(c);break}}else r=!1}}else Hn.deleteCache()}handleRouteClick(e,t){const n=ve.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=si.getActiveIframe(r);a&&a.vg&&si.canCache(a.vg)?(si.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{si.switchActiveIframe(Ae.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=ve.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}ve.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...R2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=ve.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=ve.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:fr.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&&fr.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&&qr.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=>oe.checkVisibleForFeatureToggles(a))),fr.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=ve.getHashQueryParamSeparator();const r=ve.getQueryParams(),a=ve.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 g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${ve.encodeParams(r)}`}else o.search=`?${ve.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=ve.getHashQueryParamSeparator();const l=ve.getQueryParams(),r=ve.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,h;if(c){let[p,b]=o.hash.split("?");d=p,h=ve.getURLWithoutModalData(b,r),h&&(d+="?"+h)}else d=o.pathname,h=ve.getURLWithoutModalData(o.search,r),h&&(d+="?"+ve.getURLWithoutModalData(o.search,r));if(g=ve.handleHistoryState(g,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}${ve.encodeParams(l)}`}else o.search=`?${ve.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,h&&(p.hash+="?"+h)}else p.search=h;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=ve.getQueryParams(),n=ve.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=ve.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 st=new B2;class H2{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=ve.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Bt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=ve.parseParams(n.split("?")[1]),a=ve.getNodeParams(r),o=ve.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){fr.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(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",gt.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`,Ae.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="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const gt=new H2;class W2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const z2=new W2;class q2{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 oi=new q2;class G2{constructor(){return this._userInfoStore=cr({}),this._loggedInStore=cr(!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=cl.parseUrlAuthErrors()||{};if(await cl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=cl.getStoredAuthData();if(!t||!cl.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await gi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ul(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&oi.isNewlyAuthorized()&&await gi.handleAuthEvent("onAuthSuccessful",e,t),oi.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{oi.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=cl.getStoredAuthData(),t=async l=>{await gi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),oi.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await gi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const cn=new G2;class K2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const 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 Gr=new K2;class j2{getStoredAuthData(){return oi.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await gi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const cl=new j2;class J2{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"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),h=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(g,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(h,`</${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 g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),h=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,h),links:a.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const hr=new J2;class Y2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.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=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return f2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.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"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.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=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const h=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(h))try{h(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=[...Ae.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 Ae.specialIframeTypes.filter(n=>Ae.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:Mo.getActiveFeatureToggleList(),currentLocale:Nt.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ae=new Y2;class Q2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qr.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 Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Hi.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=!!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 le=new Q2;class Z2{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 le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Mo.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(gi.isAuthorizationEnabled()){const r=cl.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=g=>{g.sort((d,h)=>{const p=d.order||0,b=h.order||0;return p-b})};return e.forEach(g=>{let d,h;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,h=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),h={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=h),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.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=g.parent?this.getNodePath(g.parent)+":"+d:d),b.push(g)}),Object.keys(r).forEach(g=>{const d=r[g].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Nt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Bt.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 h;const p=!!d.badgeCounter;if(p&&(h=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:()=>h};else if(p){const m=a[b].badgeCounter.count()+h;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:()=>h}},o.push(a[b]);a[b].children.push(d)}else o.push(d);h&&c.push(h)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Bt.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((h,p)=>h+p);g.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return g}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||"/";st.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Nt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Nt.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 Bt.extractDataFromPath(e);return!!await Bt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qr.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(g=>{g.json().then(d=>{try{const h=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:h},n(h)}catch(h){l(h)}})}).catch(g=>{l(g)})}).catch(n=>{qr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Nt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:oe.prepareForTests(e.pathSegment,e.label)}}const oe=new Z2;class X2{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 is.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(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const 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}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=ve.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?ve.parseParams(ve.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return ve.getLocation().search?ve.parseParams(ve.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");Wn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?st.getHashPath():st.getModifiedPathname();e(l)}}),Wn.addEventListener("popstate",n=>{const l=t?st.getHashPath(location.href):st.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:ve.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:st.buildFromRelativePath(e);return l+a}const r=ve.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=ve.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=le.trimLeadingSlash(e).split("/"),l=ve.buildRoute(t,`/${t.pathSegment}`),r=le.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=Nt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];fl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,fl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[hr.sanitizeParam(n[0])]=hr.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=>Mo.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,g],d)=>{r+=`${d>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const 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 fl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=fl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(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&&fl.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||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}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:Nt.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 ve=new X2;class $2{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 pn=new $2;class x2{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 Wn=new x2;class ek{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}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const tk=new ek;class nk{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.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=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const ur=new nk;class ik{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 qf=new ik;function Gf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Kf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,a,o,c,g;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=W(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=W(),f(t,"class","fd-message-strip__text svelte-dkyena"),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-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){A(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=te(r,"click",d),c=!0)},p(h,p){i=h,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-dkyena")&&f(e,"class",o)},d(h){h&&L(e),c=!1,g()}}}function lk(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Kf(Gf(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-dkyena"),f(e,"aria-hidden","false")},m(l,r){A(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=Gf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:We,o:We,d(l){l&&L(e),_t(n,l),i[5](null)}}}function rk(i,e,t){const n=jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Ct("getUnsavedChangesModalPromise"),c=Ct("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=hr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(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)}),xt(()=>{});function g(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 h(p){Ye[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,h]}class ak extends Ft{constructor(e){super(),Mt(this,e,rk,lk,Dt,{alertQueue:0,alertTypeMap:1})}}const Hl=38,Wi=40,mi=13,_i=27,Kr=32,sk=36,ok=35;function jf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Xn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=Xn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Jf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ie(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){A(o,e,c),w(e,t),w(t,l),r||(a=te(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function uk(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,h,p=i[0].body+"",b,m,v,C,y,P,T=i[0].buttonDismiss+"",E,V,I,H,O,D=i[0].type&&jf(i),q=i[0].buttonConfirm!==!1&&Jf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=W(),o=S("h2"),g=Ie(c),d=W(),h=S("div"),b=W(),m=S("footer"),v=S("div"),q&&q.c(),C=W(),y=S("div"),P=S("button"),E=Ie(T),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",I="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,b),w(t,m),w(m,v),q&&q.m(v,null),w(v,C),w(v,y),w(y,P),w(P,E),H||(O=[te(window,"keydown",i[1]),te(P,"click",i[5])],H=!0)},p(Q,[X]){Q[0].type?D?D.p(Q,X):(D=jf(Q),D.c(),D.m(r,a)):D&&(D.d(1),D=null),X&1&&c!==(c=Q[0].header+"")&&Le(g,c),X&1&&p!==(p=Q[0].body+"")&&(h.innerHTML=p),Q[0].buttonConfirm!==!1?q?q.p(Q,X):(q=Jf(Q),q.c(),q.m(v,C)):q&&(q.d(1),q=null),X&1&&T!==(T=Q[0].buttonDismiss+"")&&Le(E,T),X&1&&V!==(V="fd-button "+(Q[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),X&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",I)},i:We,o:We,d(Q){Q&&L(e),D&&D.d(),q&&q.d(),H=!1,Qe(O)}}}function fk(i,e,t){const n=jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),xt(()=>{const d={icon:r[l.type],header:Nt.getTranslation("luigi.confirmationModal.header"),body:Nt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Nt.getTranslation("luigi.button.dismiss"),buttonConfirm:Nt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:hr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const h=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${h}`).focus()}catch{console.warn(`Couldn't focus ${h} in modal`)}});function a(d){return oe.renderIconClassName(d)}function o(d){d.keyCode===_i&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,g]}class ck extends Ft{constructor(e){super(),Mt(this,e,fk,uk,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function dk(i){let e,t,n;const l=i[5].default,r=M_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(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-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function hk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=m+g.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return xt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Wn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.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,h=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,h,l,n]}class Wl extends Ft{constructor(e){super(),Mt(this,e,hk,dk,Dt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Yf(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m;t=new Wl({props:{disable:i[2]}});let v=i[0].title&&Qf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),g=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(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",h=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){A(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,g),w(g,d),p=!0,b||(m=te(g,"click",i[11]),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=Qf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",h)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Me(t),v&&v.d(),b=!1,m()}}}function Qf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ie(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function Zf(i){let e;const t=i[10].default,n=M_(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&B_(n,t,l,l[9],e?U_(t,l[9],r,null):H_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function Xf(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-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function _k(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Zf(i),C=i[4]&&$f(i),y=i[3]&&xf();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),g=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",h=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,g),y&&y.m(t,null),m=!0},p(P,[T]){P[5]||P[4]&&P[0].header?v?(v.p(P,T),T&49&&R(v,1)):(v=Zf(P),v.c(),R(v,1),v.m(t,n)):v&&(ke(),U(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,T),T&16&&R(C,1)):(C=$f(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),(!m||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||T&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=xf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||T&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||T&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!m||T&49&&p!==(p=$n(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||T&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function pk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=Jt();let h,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,T=!0,E,V=vt("store");const I=G=>oe.getNodeLabel(G),H=async G=>{const K=G&&G.length?le.getPathWithoutHash(G):"",J=we.parseParams(K.split("?")[1]);b=we.getNodeParams(J);const ge=await Mt.extractDataFromPath(G);h=ge.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(h),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=I(h),r),t(0,r._liveLabel=!0,r)),p=ge.pathData,t(7,a=!0)},O=async G=>{if(!(m||v))if(a)if(h.webcomponent)t(3,C=!1),P?await Z():await D(),ur.renderWebComponent(h.viewUrl,document.querySelector(E),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),v=!0;else{const K=await q(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},D=async()=>{let G,K;const J=document.querySelector(".lui-modal-index-"+c),{size:ge,width:ie,height:se}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(J.classList.remove("lui-modal-fullscreen"),ie&&ie.match(ve)&&se&&se.match(ve))G=se,K=ie;else switch(ge){case"fullscreen":G="100vh",K="100vw",J.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}J.setAttribute("style",`width:${K};height:${G};`)},q=async(G,K)=>{P?await Z():await D(),G&&(G=we.substituteViewUrl(G,K));const J=await Ee.createIframe(G,void 0,h,"modal",K);return document.querySelector(E).appendChild(J),J};async function Z(G){let K="";const J=document.getElementsByClassName("drawer"),ge=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?J[0].setAttribute("style",K):(ge[0].setAttribute("style",K),J[0].setAttribute("style","width:100%"))}jr(()=>{O(o)});const $=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&pe()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&lt.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};$t(()=>{dn.doOnStoreChange(V,()=>{r._liveLabel&&h&&t(0,r.title=I(h),r)},["navigation.viewgroupdata"]),On.addEventListener("message",$),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!h.webcomponent&&((G=h.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{On.removeEventListener("message",$),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function pe(){let G;T?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const x=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,g=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,g,C,P,T,d,a,o,l,n,x]}class np extends Vt{constructor(e){super(),Dt(this,e,pk,_k,At,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ec(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function tc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function nc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function lc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(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){A(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=ec(r,n,o);l[o]?l[o].p(c,a):(l[o]=hc(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&&L(e),ht(l,r)}}}function rc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?bk:mk}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),A(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&&L(e)}}}function mk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function bk(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}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[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){A(o,e,c),zf(e,i[0][i[1][0]][i[27]]),l||(r=te(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&zf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function ac(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,d,h,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function T(){return i[19](i[28])}let E=v&&sc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Le(o),d=W(),h=S("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),E&&E.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(h,"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-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,h),w(t,b),w(t,m),E&&E.m(m,null),C||(y=[te(r,"keydown",P),te(n,"click",Ut(T))],C=!0)},p(V,I){i=V,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),I[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),I[0]&2&&(v=Array.isArray(i[28].options)),v?E?E.p(i,I):(E=sc(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(V){V&&L(e),E&&E.d(),C=!1,Ye(y)}}}function sc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(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[30]),f(e,"role","listbox")},m(l,r){A(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[28].options;let a;for(a=0;a<t.length;a+=1){const o=nc(l,t,a);n[a]?n[a].p(o,r):(n[a]=oc(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&&L(e),ht(n,l)}}}function oc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Le(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),jt(e,"is-selected",i[4]===i[33]),jt(e,"is-focus",i[4]===i[33])},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),o||(c=[te(e,"click",g),te(e,"keydown",i[21])],o=!0)},p(d,h){i=d,h[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),h[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),h[0]&16&&jt(e,"is-selected",i[4]===i[33]),h[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Ye(c)}}}function uc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=fc(tc(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[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){A(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[28].options;let c;for(c=0;c<l.length;c+=1){const g=tc(a,l,c);r[c]?r[c].p(g,o):(r[c]=fc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),ht(r,a)}}}function fc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,g,d;function h(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Le(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),g||(d=te(e,"click",h),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),g=!1,d()}}}function cc(i){let e,t,n,l,r,a,o,c,g,d;function h(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=W(),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[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),g||(d=te(n,"change",h),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,d()}}}function dc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){A(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=te(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&L(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,g,d,h=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&rc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&ac(i),y=h&&uc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&cc(i),T=i[28].type==="boolean"&&i[28].style==="checkbox"&&dc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Le(l),a=Le(":"),o=W(),c=S("div"),v&&v.c(),g=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),T&&T.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(E,V){A(E,e,V),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,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),T&&T.m(c,null),w(e,m)},p(E,V){V[0]&34&&l!==(l=E[5](E[28].label)+"")&&Ae(r,l),E[28].type==="string"?v?v.p(E,V):(v=rc(E),v.c(),v.m(c,g)):v&&(v.d(1),v=null),E[28].type==="enum"&&(E[28].style===void 0||E[28].style==="list")?C?C.p(E,V):(C=ac(E),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(h=E[28].type==="enum"&&E[28].style==="button"&&Array.isArray(E[28].options)),h?y?y.p(E,V):(y=uc(E),y.c(),y.m(c,p)):y&&(y.d(1),y=null),E[28].type==="boolean"&&(!E[28].style||E[28].style==="switch")?P?P.p(E,V):(P=cc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[28].type==="boolean"&&E[28].style==="checkbox"?T?T.p(E,V):(T=dc(E),T.c(),T.m(c,null)):T&&(T.d(1),T=null)},d(E){E&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.d()}}}function vk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(r,e,a),l&&l.m(e,null),t||(n=[te(window,"click",i[7]),te(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:We,o:We,d(r){r&&L(e),l&&l.d(),t=!1,Ye(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function wk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=vt("getTranslation");wi(i,o,x=>t(5,n=x));let c,{isComboOpen:g}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const h=()=>{p()};function p(x){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(x,G){let K=ns(x.target,".fd-popover__control",20),J=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!J))}function m(x,G){const K=x.querySelector(".lui-activate-dropdown"),J=x.parentNode.querySelector(".fd-popover__body"),ge=x.parentNode.querySelector(".fd-select__control");x.setAttribute("aria-expanded",G),J.setAttribute("aria-hidden",!G),ge.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,g=G)}function v(x,G,K){t(4,c=K),t(0,r[l[0]][x]=G.value||G,r)}function C(x,G){document.querySelectorAll(".enum-buttons-container-"+x+" button").forEach(K=>{const J=K.getAttribute("id"),ge=`lui-us-enum_button_${x}_option`;J===ge?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][x]=G.value||G,r)}function y(x,G){let K;if(Array.isArray(G)){for(let J=0;J<G.length;J++)if(le.isObject(G[J])){if(G[J].value&&G[J].value===x){K=G[J].label,t(4,c=J);break}}else{K=x,t(4,c=G.indexOf(x));break}return n(K)}}function P(x){return n(le.isObject(x)?x.label:x)}function T(x,G,K){return le.isObject(K)?`${x}_${G}_${K.value}`:`${x}_${G}_${K}`}function E(x,G,K,J){let ge=ns(x.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${K}`).children;let se=-1;if([...ie].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(se=re)}),g){if(x.keyCode===Fl&&x.altKey&&(ge.click(),ge.focus()),x.keyCode===Wi&&!x.altKey){if(se===-1){se=0,ie.item(se).classList.add("is-focus");return}se<J.options.length-1&&(ie.item(se).classList.remove("is-focus"),se+=1,ie.item(se).classList.add("is-focus"))}if(x.keyCode===Fl&&!x.altKey){if(se===-1){se=se.length-1,ie.item(se).classList.add("is-focus");return}se>0&&se<J.options.length&&(ie.item(se).classList.remove("is-focus"),se-=1,ie.item(se).classList.add("is-focus"))}(x.keyCode===vi||x.keyCode===Kr)&&v(G,J.options[se],se)}else ge.focus(),x.keyCode===Wi&&x.altKey&&ge.click(),x.keyCode===Wi&&!x.altKey&&se<J.options.length-1&&v(G,J.options[se+1],se+1),x.keyCode===Fl&&!x.altKey&&se>0&&se<J.options.length&&v(G,J.options[se-1],se-1)}function V(x){if(g){let G=ns(x.target,".fd-popover",20);G.blur(),(x.keyCode===Kr||x.keyCode===vi)&&(x.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function I(x){r[l[0]][x]=this.value,t(0,r)}const H=(x,G,K,J)=>E(J,x,G,K),O=x=>b(event,x.isEditable),D=(x,G,K)=>v(x,G,K),q=x=>V(x),Z=(x,G)=>C(x,G);function $(x){r[l[0]][x]=this.checked,t(0,r)}function pe(x){r[l[0]][x]=this.checked,t(0,r)}return i.$$set=x=>{"userSettingGroup"in x&&t(1,l=x.userSettingGroup),"storedUserSettingData"in x&&t(0,r=x.storedUserSettingData),"isComboOpen"in x&&t(14,g=x.isComboOpen)},[r,l,E,V,c,n,o,p,b,v,C,y,P,T,g,d,h,I,H,O,D,q,Z,$,pe]}class kk extends Vt{constructor(e){super(),Dt(this,e,wk,vk,At,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=gl;function _c(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function pc(i,e,t){const n=i.slice();return n[37]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?Ck:Sk}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),A(o,t,c),A(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&&L(t),o&&L(n)}}}function Sk(i){let e,t,n,l,r,a=i[37][1].initials&&bc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=Ce(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),Vn(e,"background-image","url('"+i[37][1].icon+"')"),Vn(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Vn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=bc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function Ck(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function bc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Le(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=$n(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function vc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",h,p,b,m,v=i[37][1].icon&&mc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Le(a),c=W(),g=S("div"),h=Le(d),p=W(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-12fj8b7"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,T){A(P,e,T),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,g),w(g,h),w(e,p),b||(m=[te(e,"click",wt(C)),te(e,"keydown",y)],b=!0)},p(P,T){i=P,i[37][1].icon?v?v.p(i,T):(v=mc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),T[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ae(o,a),T[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ae(h,d)},d(P){P&&L(e),v&&v.d(),b=!1,Ye(m)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(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=pc(l,t,a);n[a]?n[a].p(o,r):(n[a]=vc(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){ht(n,l),l&&L(e)}}}function kc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new kk({props:o}),Je.push(()=>bt(e,"closeDropDown",r,i[9])),Je.push(()=>bt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,g){Me(e,c,g),l=!0},p(c,g){const d={};g[0]&1&&(d.storedUserSettingData=c[0]),g[0]&2048&&(d.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,d.closeDropDown=c[9],mt(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],mt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function yk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,h,p,b,m,v,C,y,P=i[10](i[7])+"",T,E,V,I,H,O,D,q,Z,$,pe,x=i[10](i[5])+"",G,K,J,ge,ie=i[10](i[6])+"",se,ve,re,Re,ze=Object.entries(i[1]),ne=[];for(let Te=0;Te<ze.length;Te+=1)ne[Te]=wc(_c(i,ze,Te));let ce=i[11]&&kc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),g=Le(c),d=W(),h=S("div"),p=S("ul");for(let Te=0;Te<ne.length;Te+=1)ne[Te].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),T=Le(P),E=W(),V=S("div"),I=S("div"),ce&&ce.c(),H=W(),O=S("div"),D=W(),q=S("footer"),Z=S("div"),$=S("div"),pe=S("button"),G=Le(x),K=W(),J=S("div"),ge=S("button"),se=Le(ie),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(h,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(I,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(pe,"data-testid","lui-us-saveBtn"),f(pe,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f($,"class","fd-bar__element"),f(ge,"data-testid","lui-us-dismissBtn"),f(ge,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(J,"class","fd-bar__element"),f(Z,"class","fd-bar__right"),f(q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-12fj8b7"),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-12fj8b7"),f(e,"tabindex","0")},m(Te,tt){A(Te,e,tt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,g),w(r,d),w(r,h),w(h,p);for(let Be=0;Be<ne.length;Be+=1)ne[Be].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,T),w(n,E),w(n,V),w(V,I),ce&&ce.m(I,null),w(V,H),w(V,O),w(t,D),w(t,q),w(q,Z),w(Z,$),w($,pe),w(pe,G),w(Z,K),w(Z,J),w(J,ge),w(ge,se),ve=!0,re||(Re=[te(gc,"resize",i[20]),te(gc,"keydown",i[3]),te(v,"click",i[17]),te(pe,"click",i[25]),te(ge,"click",i[26])],re=!0)},p(Te,tt){if((!ve||tt[0]&1040)&&c!==(c=Te[10](Te[4])+"")&&Ae(g,c),tt[0]&803846){ze=Object.entries(Te[1]);let Be;for(Be=0;Be<ze.length;Be+=1){const rt=_c(Te,ze,Be);ne[Be]?ne[Be].p(rt,tt):(ne[Be]=wc(rt),ne[Be].c(),ne[Be].m(p,null))}for(;Be<ne.length;Be+=1)ne[Be].d(1);ne.length=ze.length}(!ve||tt[0]&1152)&&P!==(P=Te[10](Te[7])+"")&&Ae(T,P),Te[11]?ce?(ce.p(Te,tt),tt[0]&2048&&R(ce,1)):(ce=kc(Te),ce.c(),R(ce,1),ce.m(I,null)):ce&&(ke(),U(ce,1,1,()=>{ce=null}),Se()),(!ve||tt[0]&1056)&&x!==(x=Te[10](Te[5])+"")&&Ae(G,x),(!ve||tt[0]&1088)&&ie!==(ie=Te[10](Te[6])+"")&&Ae(se,ie)},i(Te){ve||(R(ce),ve=!0)},o(Te){U(ce),ve=!1},d(Te){Te&&L(e),ht(ne,Te),ce&&ce.d(),re=!1,Ye(Re)}}}function Sc(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 Pk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Nk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function ip(i,e,t){if(i&&t>0)return i.matches(e)?i:ip(i.parentNode,e,t-1)}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Tk(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},g=vt("getTranslation");wi(i,g,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,h=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),$t(()=>{const se=ae.getConfigValue("userSettings.userSettingsDialog"),ve=se||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,h=ve.saveBtn?ve.saveBtn:h),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,On.addEventListener("message",re=>{const Re=Ee.getValidMessageSource(re);if(!Re||re.data.msg!=="custom")return;Re._ready=!0;const ze=rs.convertCustomMessageInternalToUser(re.data),ne="luigi.updateUserSettings";if(ze.id===ne){const ce=or.findActiveCustomUserSettingsIframe(re.source);if(ce){let Te=ce.getAttribute("userSettingsGroup");t(0,o[Te]=ze.data,o)}}ze.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&H()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=Sc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Sc(JSON.parse(JSON.stringify(l)),re)),T([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let ve in se.settings){let re=se.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function T(se,ve){t(11,a=se);let re=se[0],Re=se[1];if(P(Re),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ne=>{ne.classList.remove("is-selected")}),ip(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<sn.desktopMinWidth&&I()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&Cc()),Re.viewUrl){if(or.hideUserSettingsIframe(),b.hasOwnProperty(re))or.getUserSettingsIframesInDom().forEach(ze=>{ze.userSettingsGroup===re&&(ze.style.display="block")});else{const ze=Gr.hasDecorators()?Gr.applyDecorators(Re.viewUrl):Re.viewUrl;let ne=or.createIframe(ze,re);b[re]=ne}Pk()}else Nk()}const E=se=>{t(0,o=se.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function I(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&Cc()}function O(se){return oe.renderIconClassName(se)}function D(se){return oe.isOpenUIiconName(se.icon)}let q;const Z=()=>{const se=window.innerWidth>=sn.desktopMinWidth&&q<sn.desktopMinWidth;if(window.innerWidth<sn.desktopMinWidth&&q>=sn.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"),se&&(document.querySelector(".confirm-button").style.display="block"),!q){let re=document.querySelector(".confirm-button");window.innerWidth<sn.desktopMinWidth?re.style.display="none":re.style.display="block"}q=window.innerWidth};function $(se,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===vi||se.keyCode===Kr)&&re[ve].click(),se.keyCode===uk&&re[Object.keys(l).length-1].focus(),se.keyCode===ok&&re[0].focus()}function pe(se){se.keyCode===mi&&C?y():se.keyCode===mi&&!C&&r("close")}const x=se=>T(se,event),G=(se,ve)=>$(ve,[se]);function K(se){y=se,t(9,y)}function J(se){C=se,t(8,C)}const ge=()=>V(),ie=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,$,pe,d,h,p,v,C,y,n,a,r,g,T,E,V,H,O,D,Z,x,G,K,J,ge,ie]}class Ik extends Vt{constructor(e){super(),Dt(this,e,Tk,yk,At,{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:Lk}=gl;function Ak(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1jkwjpc")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function Ek(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=W(),l=S("h1"),a=Le(r),f(t,"class","lui-collapse-btn svelte-1jkwjpc"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1jkwjpc"),f(l,"class","fd-splitView__title svelte-1jkwjpc")},m(g,d){A(g,e,d),w(e,t),A(g,n,d),A(g,l,d),w(l,a),o||(c=te(t,"click",Ut(wt(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Ae(a,r)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function yc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),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-1jkwjpc"),f(n,"id","splitViewDragger")},m(g,d){A(g,e,d),A(g,t,d),A(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[te(a,"click",Ut(wt(i[3]))),te(n,"mousedown",Ut(i[6]))],o=!0)},p:We,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ye(c)}}}function Rk(i){let e,t,n,l,r,a,o,c,g,d;t=new Ul({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,C){return v[0]?Ek:Ak}let p=h(i),b=p(i),m=!i[0]&&yc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1jkwjpc"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1jkwjpc")},m(v,C){A(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,g||(d=te(Lk,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=h(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":"")+" svelte-1jkwjpc"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=yc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),g=!1,d()}}}function Dk(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,h,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,E=vt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:b}),set:K=>{K&&Object.getOwnPropertyNames(K).forEach(J=>{J==="splitViewSettings"?t(1,C=K.splitViewSettings):J==="lastNode"?r=K.lastNode:J==="pathData"?a=K.pathData:J==="nodeParams"?o=K.nodeParams:J==="collapsed"?t(0,v=K.collapsed):J==="isDataPrepared"?t(8,y=K.isDataPrepared):J==="currentNode"?c=K.currentNode:J==="splitViewIframe"?d=K.splitViewIframe:J==="splitViewIframeData"?h=K.splitViewIframeData:J==="splitViewWC"?p=K.splitViewWC:J==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),I=async()=>{y?v||dt.createAndSetView(V()):await dt.prepareSplitViewData(V(),m)},H=()=>{l.split=dt.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=dt.getDragger()},O=()=>{const K=dt.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${dt.splitViewValues.top}px`),l.split.style.top=`${dt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(K){if(Ee.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&dt.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&q(),K.data.msg==="luigi.navigation.splitview.expand"&&Z(),K.data.msg==="luigi.navigation.splitview.resize")){const J=parseInt(K.data.data);if(dt.calculateAndSetSplitViewValues(J,dt.internalValues),v)return;O(),dt.sendMessageToClients("resize.ok",dt.splitViewValues.percent)}}$t(()=>{$(),g=D.bind(this),On.addEventListener("message",g)}),jr(()=>{I(),T!==y&&!v&&(T=y,O())}),Jr(()=>{window.removeEventListener("message",g)});function q(){dt.collapse(V())}async function Z(){await dt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function $(){const K=le.getShellbarHeight();dt.internalValues.innerHeight=le.getInnerHeight(),dt.internalValues.rightContentHeight=dt.internalValues.innerHeight-K,dt.internalValues.thresholdBottom=30,dt.internalValues.thresholdTop=K+30,dt.calculateAndSetSplitViewValues(dt.splitViewValues.percent,dt.internalValues),v||O()}function pe(K){let J=K.y,ge={};const ie=function(ze){const ne=J-ze.y,ce=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ce)||ne===0)return;const Te=ce-ne,tt=dt.internalValues.innerHeight-Te,Be=dt.enforceTresholds(Te,tt);Te<Be.top||tt<Be.bottom||(ge=Be,J=ze.y,l.draggable.style.top=`${ge.top}px`)},se=function(){if(ve(),!ge.top||!ge.bottom||ge.top==dt.internalValues.m_pos_prev){dt.getDraggerBackdrop().style.display="none";return}dt.internalValues.m_pos_prev=ge.top,dt.splitViewValues=ge,O(),dt.sendMessageToClients("resize.ok",ge.percent)},ve=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ie)},re=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ie)};H(),ve(),re(),dt.getDraggerBackdrop().style.display="block"}const x=K=>{let J=dt.getDraggerButton();J&&(J.style.display=K?"block":"none"),J=dt.getCollapsedDraggerButton(),J&&(J.style.display=K?"block":"none")},G=K=>{x(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,q,Z,$,pe,G,y,m]}class lp extends Vt{constructor(e){super(),Dt(this,e,Dk,Rk,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 Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Mk,then:Ok,catch:Vk,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),n.block.c()},m(l,r){A(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)||G_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Vk(i){return{c:We,m:We,p:We,d:We}}function Ok(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Nc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Le(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function Mk(i){return{c:We,m:We,p:We,d:We}}function Fk(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function Uk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Pn extends Vt{constructor(e){super(),Dt(this,e,Uk,Fk,At,{node:0})}}function Tc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Le(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&L(e)}}}function Bk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Tc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function Hk(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:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class xn extends Vt{constructor(e){super(),Dt(this,e,Hk,Bk,At,{node:0})}}const{window:xa}=gl;function Ic(i,e,t){const n=i.slice();return n[84]=e[t][0],n[85]=e[t][1],n[87]=t,n}function Lc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[88]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[88]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[84]=e[t][0],n[85]=e[t][1],n[87]=t,n}function Vc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Wk(i){let e,t,n,l,r,a,o,c,g,d,h=i[12]&&Mc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Bc(i),b=(i[2]||i[3])&&fd(i);return{c(){e=S("div"),h&&h.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1dtv1v6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1dtv1v6"),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-1dtv1v6")},m(m,v){A(m,e,v),h&&h.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,g||(d=te(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?h?h.p(m,v):(h=Mc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=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=Bc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=fd(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-1dtv1v6"))&&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-1dtv1v6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),h&&h.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function zk(i){let e,t,n,l,r=i[12]&&dd(i),a=i[0]&&i[5].length>1&&_d(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1dtv1v6"),f(e,"role","navigation"),Vn(e,"width","var(--luigi__left-sidenav--width)"),Vn(e,"height","100%")},m(o,c){A(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=dd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=_d(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),U(a,1,1,()=>{a=null}),Se()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1dtv1v6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Mc(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&Fc(i),p=i[12].showUpLink&&Uc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=W(),a=S("span"),c=Le(o),g=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(l,"class","fd-nested-list__link svelte-1dtv1v6"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-1dtv1v6"),f(t,"class","fd-nested-list svelte-1dtv1v6"),f(e,"class","lui-nav-title svelte-1dtv1v6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=Fc(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=Uc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function Fc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Gk:qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Gk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Uc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=te(e,"click",wt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Bc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=ud(Ic(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1dtv1v6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1dtv1v6")},m(c,g){A(c,e,g),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const h=Ic(c,r,d);a[d]?(a[d].p(h,g),R(a[d],1)):(a[d]=ud(h),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1dtv1v6"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(a[g]);l=!0}},o(c){a=a.filter(Boolean);for(let g=0;g<a.length;g+=1)U(a[g]);l=!1},d(c){c&&L(e),ht(a,c)}}}function Kk(i){let e,t,n,l;const r=[Yk,Jk],a=[];function o(c,g){return c[85].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),U(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(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){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function jk(i){let e,t,n=i[85],l=[];for(let a=0;a<n.length;a+=1)l[a]=od(Rc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[85];let c;for(c=0;c<n.length;c+=1){const g=Rc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=od(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function Jk(i){let e,t,n=i[25](i[84])+"",l,r,a,o,c,g,d=i[10]&&i[85].metaInfo.icon&&Hc(i),h=i[85],p=[];for(let m=0;m<h.length;m+=1)p[m]=jc(Lc(i,h,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Le(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-1dtv1v6"),f(e,"title",r=i[33](i[85],i[25](i[84]))),f(e,"data-testid",a=i[32](i[85].metaInfo,i[84])),f(e,"id","category_list_level1_"+i[87])},m(m,v){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),g=!0},p(m,v){if(m[10]&&m[85].metaInfo.icon?d?d.p(m,v):(d=Hc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[84])+"")&&Ae(l,n),(!g||v[0]&33562624&&r!==(r=m[33](m[85],m[25](m[84]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=m[32](m[85].metaInfo,m[84])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){h=m[85];let C;for(C=0;C<h.length;C+=1){const y=Lc(m,h,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=jc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=h.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);g=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ht(p,m),m&&L(c)}}}function Yk(i){let e,t,n,l,r,a,o=i[25](i[84])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H,O,D,q,Z,$,pe;function x(ne,ce){return ce[0]&8192&&(l=null),l==null&&(l=!!ne[30](ne[85].metaInfo.icon)),l?nS:tS}let G=x(i,[-1,-1,-1,-1]),K=G(i);function J(){return i[60](i[85])}function ge(){return i[61](i[85])}function ie(...ne){return i[62](i[85],...ne)}let se=i[85],ve=[];for(let ne=0;ne<se.length;ne+=1)ve[ne]=Xc(Ec(i,se,ne));const re=ne=>U(ve[ne],1,1,()=>{ve[ne]=null});let Re=i[85].metaInfo&&i[85].metaInfo.label===i[8]&&$c(i);function ze(){return i[67](i[85])}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),r=W(),a=S("span"),c=Le(o),m=W(),v=S("button"),C=S("i"),V=W(),I=S("ul");for(let ne=0;ne<ve.length;ne+=1)ve[ne].c();O=W(),Re&&Re.c(),D=W(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(n,"title",g=i[33](i[85],i[25](i[84]))),f(n,"class",d="fd-nested-list__link "+(an(i[85],i[9])?"is-expanded":"")+" svelte-1dtv1v6"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[87]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=an(i[85],i[9])),f(C,"class",y=an(i[85],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1dtv1v6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=an(i[85],i[9])),f(v,"title",T=i[39](i[85],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",E=i[6]?"0":"-1"),f(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1dtv1v6"),f(I,"aria-hidden",H=!an(i[85],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",q=i[32](i[85].metaInfo,i[84])),jt(e,"lui-item-expanded",an(i[85],i[9]))},m(ne,ce){A(ne,e,ce),w(e,t),w(t,n),K.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,I);for(let Te=0;Te<ve.length;Te+=1)ve[Te].m(I,null);w(e,O),Re&&Re.m(e,null),w(e,D),Z=!0,$||(pe=[te(n,"click",wt(J)),te(v,"click",wt(ge)),te(t,"keypress",ie),te(e,"click",Ut(ze))],$=!0)},p(ne,ce){if(i=ne,G===(G=x(i,ce))&&K?K.p(i,ce):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Z||ce[0]&33562624)&&o!==(o=i[25](i[84])+"")&&Ae(c,o),(!Z||ce[0]&33562624&&g!==(g=i[33](i[85],i[25](i[84]))))&&f(n,"title",g),(!Z||ce[0]&8704&&d!==(d="fd-nested-list__link "+(an(i[85],i[9])?"is-expanded":"")+" svelte-1dtv1v6"))&&f(n,"class",d),(!Z||ce[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!Z||ce[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!Z||ce[0]&8704&&b!==(b=an(i[85],i[9])))&&f(n,"aria-expanded",b),(!Z||ce[0]&8704&&y!==(y=an(i[85],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Z||ce[0]&8704&&P!==(P=an(i[85],i[9])))&&f(v,"aria-expanded",P),(!Z||ce[0]&8704&&T!==(T=i[39](i[85],i[9])))&&f(v,"title",T),(!Z||ce[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),ce[0]&276865152|ce[1]&133){se=i[85];let Te;for(Te=0;Te<se.length;Te+=1){const tt=Ec(i,se,Te);ve[Te]?(ve[Te].p(tt,ce),R(ve[Te],1)):(ve[Te]=Xc(tt),ve[Te].c(),R(ve[Te],1),ve[Te].m(I,null))}for(ke(),Te=se.length;Te<ve.length;Te+=1)re(Te);Se()}(!Z||ce[0]&8704&&H!==(H=!an(i[85],i[9])))&&f(I,"aria-hidden",H),i[85].metaInfo&&i[85].metaInfo.label===i[8]?Re?(Re.p(i,ce),ce[0]&8448&&R(Re,1)):(Re=$c(i),Re.c(),R(Re,1),Re.m(e,D)):Re&&(ke(),U(Re,1,1,()=>{Re=null}),Se()),(!Z||ce[0]&8192&&q!==(q=i[32](i[85].metaInfo,i[84])))&&f(e,"data-testid",q),(!Z||ce[0]&8704)&&jt(e,"lui-item-expanded",an(i[85],i[9]))},i(ne){if(!Z){for(let ce=0;ce<se.length;ce+=1)R(ve[ce]);R(Re),Z=!0}},o(ne){ve=ve.filter(Boolean);for(let ce=0;ce<ve.length;ce+=1)U(ve[ce]);U(Re),Z=!1},d(ne){ne&&L(e),K.d(),ht(ve,ne),Re&&Re.d(),$=!1,Ye(pe)}}}function Hc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].metaInfo.icon)),e?Zk:Qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function Qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[85].metaInfo.icon?i[29](i[85].metaInfo.icon):"")+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[85].metaInfo.icon?n[29](n[85].metaInfo.icon):"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Wc(i){let e,t,n=i[88].label&&zc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=zc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function zc(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T;function E($,pe){return $[88].icon?$k:Xk}let V=E(i),I=V(i),H=i[88].statusBadge&&qc(i),O=i[88].externalLink&&i[88].externalLink.url&&Gc(),D=i[88].badgeCounter&&Kc(i);function q(...$){return i[68](i[88],...$)}function Z(...$){return i[69](i[88],...$)}return{c(){e=S("li"),t=S("a"),I.c(),n=W(),l=S("span"),a=Le(r),o=W(),H&&H.c(),g=W(),O&&O.c(),d=W(),D&&D.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[88])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[88],i[28](i[88]))),f(e,"aria-labelledby","category_list_level1_"+i[87])},m($,pe){A($,e,pe),w(e,t),I.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,g),O&&O.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(T=[te(t,"click",q),te(t,"keyup",function(){bi(i[23]?void 0:Z)&&(i[23]?void 0:Z).apply(this,arguments)})],P=!0)},p($,pe){i=$,V===(V=E(i))&&I?I.p(i,pe):(I.d(1),I=V(i),I&&(I.c(),I.m(t,n))),(!y||pe[0]&8192)&&r!==(r=i[28](i[88])+"")&&Ae(a,r),i[88].statusBadge?H?(H.p(i,pe),pe[0]&8192&&R(H,1)):(H=qc(i),H.c(),R(H,1),H.m(l,null)):H&&(ke(),U(H,1,1,()=>{H=null}),Se()),(!y||pe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",c),i[88].externalLink&&i[88].externalLink.url?O||(O=Gc(),O.c(),O.m(t,d)):O&&(O.d(1),O=null),i[88].badgeCounter?D?(D.p(i,pe),pe[0]&8192&&R(D,1)):(D=Kc(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!y||pe[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||pe[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||pe[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||pe[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||pe[0]&8192&&C!==(C=i[33](i[88],i[28](i[88]))))&&f(e,"title",C)},i($){y||(R(H),R(D),y=!0)},o($){U(H),U(D),y=!1},d($){$&&L(e),I.d(),H&&H.d(),O&&O.d(),D&&D.d(),P=!1,Ye(T)}}}function Xk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Le(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ae(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function $k(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?eS:xk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function xk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function eS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[88].icon)+" svelte-1dtv1v6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function qc(i){let e,t;return e=new xn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Gc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Kc(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function jc(i){let e,t,n=!i[88].hideFromNav&&Wc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Wc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function tS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function nS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].metaInfo.icon)+" "+(i[6]&&!i[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].metaInfo.icon)+" "+(n[6]&&!n[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Jc(i){let e,t,n=i[88].label&&Yc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Yc(i){let e,t,n,l=i[28](i[88])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new xn({props:{node:i[88]}});let E=i[88].externalLink&&i[88].externalLink.url&&Qc(),V=i[88].badgeCounter&&Zc(i);function I(...O){return i[63](i[88],...O)}function H(...O){return i[64](i[88],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),g=W(),E&&E.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=oe.getTestId(i[88])),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[87])},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[te(t,"click",I),te(t,"keyup",function(){bi(i[23]?void 0:H)&&(i[23]?void 0:H).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[88])+"")&&Ae(r,l);const q={};D[0]&8192&&(q.node=i[88]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(n,"class",c),i[88].externalLink&&i[88].externalLink.url?E||(E=Qc(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[88].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Zc(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ye(T)}}}function Qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Zc(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Xc(i){let e,t,n=!i[88].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $c(i){let e,t,n,l=i[25](i[84])+"",r,a,o,c,g=i[85],d=[];for(let p=0;p<g.length;p+=1)d[p]=id(Ac(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Le(l),a=W(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1dtv1v6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1dtv1v6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1dtv1v6"),f(e,"class","lui-flyout-sublist svelte-1dtv1v6")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[84])+"")&&Ae(r,l),b[0]&276865152|b[1]&133){g=p[85];let m;for(m=0;m<g.length;m+=1){const v=Ac(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=id(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ht(d,p)}}}function xc(i){let e,t,n=i[88].label&&ed(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ed(i){let e,t,n,l=i[28](i[88])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new xn({props:{node:i[88]}});let E=i[88].externalLink&&i[88].externalLink.url&&td(),V=i[88].badgeCounter&&nd(i);function I(...O){return i[65](i[88],...O)}function H(...O){return i[66](i[88],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),g=W(),E&&E.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[88])),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(e,"class","fd-nested-list__item")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[te(t,"click",I),te(t,"keyup",function(){bi(i[23]?void 0:H)&&(i[23]?void 0:H).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[88])+"")&&Ae(r,l);const q={};D[0]&8192&&(q.node=i[88]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(n,"class",c),i[88].externalLink&&i[88].externalLink.url?E||(E=td(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[88].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ye(T)}}}function td(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function nd(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[88].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ld(i){let e,t,n=i[88].label&&rd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function rd(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V($,pe){return $[88].icon?lS:iS}let I=V(i),H=I(i);c=new xn({props:{node:i[88]}});let O=i[88].externalLink&&i[88].externalLink.url&&ad(),D=i[88].badgeCounter&&sd(i);function q(...$){return i[58](i[88],...$)}function Z(...$){return i[59](i[88],...$)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Le(r),o=W(),Ue(c.$$.fragment),d=W(),O&&O.c(),h=W(),D&&D.c(),y=W(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",p=i[31](i[88])),f(t,"title",b=i[33](i[88],i[28](i[88]))),f(t,"class",m="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=oe.getTestId(i[88])),f(e,"class","fd-nested-list__item")},m($,pe){A($,e,pe),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),O&&O.m(t,null),w(t,h),D&&D.m(t,null),w(e,y),P=!0,T||(E=[te(t,"click",q),te(t,"keyup",function(){bi(i[23]?void 0:Z)&&(i[23]?void 0:Z).apply(this,arguments)})],T=!0)},p($,pe){i=$,I===(I=V(i))&&H?H.p(i,pe):(H.d(1),H=I(i),H&&(H.c(),H.m(t,n))),(!P||pe[0]&8192)&&r!==(r=i[28](i[88])+"")&&Ae(a,r);const x={};pe[0]&8192&&(x.node=i[88]),c.$set(x),(!P||pe[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",g),i[88].externalLink&&i[88].externalLink.url?O||(O=ad(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[88].badgeCounter?D?(D.p(i,pe),pe[0]&8192&&R(D,1)):(D=sd(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!P||pe[0]&8192&&p!==(p=i[31](i[88])))&&f(t,"href",p),(!P||pe[0]&8192&&b!==(b=i[33](i[88],i[28](i[88]))))&&f(t,"title",b),(!P||pe[0]&8320&&m!==(m="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",m),(!P||pe[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||pe[0]&8192&&C!==(C=oe.getTestId(i[88])))&&f(t,"data-testid",C)},i($){P||(R(c.$$.fragment,$),R(D),P=!0)},o($){U(c.$$.fragment,$),U(D),P=!1},d($){$&&L(e),H.d(),Fe(c),O&&O.d(),D&&D.d(),T=!1,Ye(E)}}}function iS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function lS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?aS:rS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function rS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function aS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[88].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function ad(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function sd(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function od(i){let e,t,n=!i[88].hideFromNav&&ld(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n,l,r,a;const o=[jk,Kk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[84]==="undefined"||d[84].startsWith(d[14]))),e?0:(t==null&&(t=d[85].filter(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(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){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function fd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&cd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Le(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1dtv1v6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1dtv1v6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1dtv1v6")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(r,l),c[3]?o?o.p(c,g):(o=cd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function cd(i){let e;function t(r,a){return r[4]=="button"?oS:sS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),A(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&&L(e)}}}function sS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[te(e,"click",i[71]),te(e,"keydown",i[72])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Ye(l)}}}function oS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1dtv1v6")},m(a,o){A(a,e,o),w(e,t),l||(r=te(e,"click",i[70]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function dd(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&hd(i),p=i[12].showUpLink&&gd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=W(),a=S("span"),c=Le(o),g=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(l,"class","fd-nested-list__link svelte-1dtv1v6"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-1dtv1v6"),f(e,"class","lui-nav-title svelte-1dtv1v6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=hd(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=gd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function hd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?fS:uS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function fS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function gd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=te(e,"click",wt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function _d(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ed(Dc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
55
- <span class="fd-navigation__text">More Items</span>`,g=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1dtv1v6"></ul></div>',f(l,"class","lui-spacer svelte-1dtv1v6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1dtv1v6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1dtv1v6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1dtv1v6"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){A(y,e,P),w(e,t);for(let T=0;T<v.length;T+=1)v[T].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[57](e),h=!0,p||(b=[te(c,"click",i[40]),te(c,"keypress",i[40])],p=!0)},p(y,P){if(P[0]&1922164672|P[1]&199){m=y[13];let T;for(T=0;T<m.length;T+=1){const E=Dc(y,m,T);v[T]?(v[T].p(E,P),R(v[T],1)):(v[T]=Ed(E),v[T].c(),R(v[T],1),v[T].m(t,n))}for(ke(),T=m.length;T<v.length;T+=1)C(T);Se()}},i(y){if(!h){for(let P=0;P<m.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);h=!1},d(y){y&&L(e),ht(v,y),i[57](null),p=!1,Ye(b)}}}function cS(i){let e,t,n,l,r,a,o=i[25](i[84])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I;function H(G,K){return K[0]&8192&&(l=null),l==null&&(l=!!G[30](G[85].metaInfo.icon)),l?gS:hS}let O=H(i,[-1,-1,-1,-1]),D=O(i);function q(){return i[49](i[85])}function Z(){return i[50](i[85])}function $(...G){return i[51](i[85],...G)}function pe(...G){return i[52](i[85],...G)}let x=(!i[6]||i[85].metaInfo&&i[85].metaInfo.label===i[8])&&pd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),r=W(),a=S("span"),c=Le(o),g=W(),d=S("span"),h=W(),p=S("span"),y=W(),x&&x.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1dtv1v6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[85],i[25](i[84]))),f(t,"aria-expanded",v=i[6]?i[85].metaInfo&&i[85].metaInfo.label===i[8]:an(i[85],i[9])),f(t,"aria-selected",C=i[6]&&i[85].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1dtv1v6"),f(e,"aria-hidden","true"),f(e,"data-testid",T=i[32](i[85].metaInfo,i[84]))},m(G,K){A(G,e,K),w(e,t),w(t,n),D.m(n,null),w(n,r),w(n,a),w(a,c),w(n,g),w(n,d),w(n,h),w(n,p),w(e,y),x&&x.m(e,null),E=!0,V||(I=[te(n,"click",wt(q)),te(n,"keypress",wt(Z)),te(n,"keypress",wt($)),te(t,"click",Ut(pe))],V=!0)},p(G,K){i=G,O===(O=H(i,K))&&D?D.p(i,K):(D.d(1),D=O(i),D&&(D.c(),D.m(n,r))),(!E||K[0]&33562624)&&o!==(o=i[25](i[84])+"")&&Ae(c,o),(!E||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!E||K[0]&33562624&&m!==(m=i[33](i[85],i[25](i[84]))))&&f(t,"title",m),(!E||K[0]&9024&&v!==(v=i[6]?i[85].metaInfo&&i[85].metaInfo.label===i[8]:an(i[85],i[9])))&&f(t,"aria-expanded",v),(!E||K[0]&8384&&C!==(C=i[6]&&i[85].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[85].metaInfo&&i[85].metaInfo.label===i[8]?x?(x.p(i,K),K[0]&8512&&R(x,1)):(x=pd(i),x.c(),R(x,1),x.m(e,null)):x&&(ke(),U(x,1,1,()=>{x=null}),Se()),(!E||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1dtv1v6"))&&f(e,"class",P),(!E||K[0]&8192&&T!==(T=i[32](i[85].metaInfo,i[84])))&&f(e,"data-testid",T)},i(G){E||(R(x),E=!0)},o(G){U(x),E=!1},d(G){G&&L(e),D.d(),x&&x.d(),V=!1,Ye(I)}}}function dS(i){let e,t,n=i[85],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ad(Oc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[85];let c;for(c=0;c<n.length;c+=1){const g=Oc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ad(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function gS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[85].metaInfo.icon)+" "+(i[6]&&!i[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[85].metaInfo.icon)+" "+(n[6]&&!n[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function pd(i){let e,t,n,l,r,a,o,c=i[6]&&md(i),g=i[85],d=[];for(let p=0;p<g.length;p+=1)d[p]=Pd(Vc(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1dtv1v6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=md(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[85];let m;for(m=0;m<g.length;m+=1){const v=Vc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Pd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1dtv1v6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<g.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ht(d,p)}}}function md(i){let e,t,n,l,r=i[25](i[84])+"",a,o,c,g,d,h=i[10]&&i[85].metaInfo.icon&&bd(i);return{c(){e=S("div"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Le(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1dtv1v6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1dtv1v6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[85],i[25](i[84]))),f(e,"data-testid",d=i[32](i[85].metaInfo,i[84]))},m(p,b){A(p,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[85].metaInfo.icon?h?h.p(p,b):(h=bd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&33562624&&r!==(r=p[25](p[84])+"")&&Ae(a,r),b[0]&33562624&&g!==(g=p[33](p[85],p[25](p[84])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[85].metaInfo,p[84]))&&f(e,"data-testid",d)},d(p){p&&L(e),h&&h.d()}}}function bd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].metaInfo.icon)),e?pS:_S}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function _S(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function pS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[85].metaInfo.icon)+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[85].metaInfo.icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function vd(i){let e,t,n=i[88].label&&wd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=wd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function wd(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I=i[28](i[88])+"",H,O,D,q,Z,$,pe,x,G,K,J,ge,ie,se;c=new xn({props:{node:i[88]}});let ve=i[88].externalLink&&i[88].externalLink.url&&kd(),re=i[88].badgeCounter&&Sd(i);function Re(...Be){return i[53](i[88],...Be)}function ze(...Be){return i[54](i[88],...Be)}D=new xn({props:{node:i[88]}});let ne=i[88].externalLink&&i[88].externalLink.url&&Cd(),ce=i[88].badgeCounter&&yd(i);function Te(...Be){return i[55](i[88],...Be)}function tt(...Be){return i[56](i[88],...Be)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Le(r),o=W(),Ue(c.$$.fragment),d=W(),h=S("span"),p=W(),ve&&ve.c(),b=W(),re&&re.c(),P=W(),T=S("li"),E=S("a"),V=S("span"),H=Le(I),O=W(),Ue(D.$$.fragment),Z=W(),ne&&ne.c(),$=W(),ce&&ce.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(h,"class","fd-navigation__selection-indicator"),f(h,"role","presentation"),f(h,"aria-hidden","true"),f(h,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1dtv1v6"),f(n,"tabindex","0"),f(n,"href",m=i[31](i[88])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[88]===i[7]),f(t,"data-testid",y=oe.getTestId(i[88])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",q="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(E,"href",pe=i[31](i[88])),f(E,"class",x="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(E,"role",G=i[23]?void 0:"button"),f(E,"tabindex","0"),f(E,"data-testid",K=oe.getTestId(i[88])),f(E,"title",J=i[33](i[88],i[28](i[88]))),Vn(T,"display","none"),f(T,"class","fd-nested-list__item"),f(T,"aria-labelledby","collapsible_listnode_"+i[87])},m(Be,rt){A(Be,e,rt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,h),w(n,p),ve&&ve.m(n,null),w(n,b),re&&re.m(n,null),A(Be,P,rt),A(Be,T,rt),w(T,E),w(E,V),w(V,H),w(V,O),Me(D,V,null),w(E,Z),ne&&ne.m(E,null),w(E,$),ce&&ce.m(E,null),ge=!0,ie||(se=[te(n,"click",Re),te(n,"keyup",function(){bi(i[23]?void 0:ze)&&(i[23]?void 0:ze).apply(this,arguments)}),te(E,"click",Te),te(E,"keyup",function(){bi(i[23]?void 0:tt)&&(i[23]?void 0:tt).apply(this,arguments)})],ie=!0)},p(Be,rt){i=Be,(!ge||rt[0]&8192)&&r!==(r=i[28](i[88])+"")&&Ae(a,r);const Pt={};rt[0]&8192&&(Pt.node=i[88]),c.$set(Pt),(!ge||rt[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",g),i[88].externalLink&&i[88].externalLink.url?ve||(ve=kd(),ve.c(),ve.m(n,b)):ve&&(ve.d(1),ve=null),i[88].badgeCounter?re?(re.p(i,rt),rt[0]&8192&&R(re,1)):(re=Sd(i),re.c(),R(re,1),re.m(n,null)):re&&(ke(),U(re,1,1,()=>{re=null}),Se()),(!ge||rt[0]&8192&&m!==(m=i[31](i[88])))&&f(n,"href",m),(!ge||rt[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v),(!ge||rt[0]&8320&&C!==(C=i[88]===i[7]))&&f(t,"aria-selected",C),(!ge||rt[0]&8192&&y!==(y=oe.getTestId(i[88])))&&f(t,"data-testid",y),(!ge||rt[0]&8192)&&I!==(I=i[28](i[88])+"")&&Ae(H,I);const _e={};rt[0]&8192&&(_e.node=i[88]),D.$set(_e),(!ge||rt[0]&8192&&q!==(q="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(V,"class",q),i[88].externalLink&&i[88].externalLink.url?ne||(ne=Cd(),ne.c(),ne.m(E,$)):ne&&(ne.d(1),ne=null),i[88].badgeCounter?ce?(ce.p(i,rt),rt[0]&8192&&R(ce,1)):(ce=yd(i),ce.c(),R(ce,1),ce.m(E,null)):ce&&(ke(),U(ce,1,1,()=>{ce=null}),Se()),(!ge||rt[0]&8192&&pe!==(pe=i[31](i[88])))&&f(E,"href",pe),(!ge||rt[0]&8320&&x!==(x="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(E,"class",x),(!ge||rt[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(E,"role",G),(!ge||rt[0]&8192&&K!==(K=oe.getTestId(i[88])))&&f(E,"data-testid",K),(!ge||rt[0]&8192&&J!==(J=i[33](i[88],i[28](i[88]))))&&f(E,"title",J)},i(Be){ge||(R(c.$$.fragment,Be),R(re),R(D.$$.fragment,Be),R(ce),ge=!0)},o(Be){U(c.$$.fragment,Be),U(re),U(D.$$.fragment,Be),U(ce),ge=!1},d(Be){Be&&L(e),Fe(c),ve&&ve.d(),re&&re.d(),Be&&L(P),Be&&L(T),Fe(D),ne&&ne.d(),ce&&ce.d(),ie=!1,Ye(se)}}}function kd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Sd(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Cd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function yd(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Pd(i){let e,t,n=!i[88].hideFromNav&&vd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=vd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Nd(i){let e,t,n=i[88].label&&Td(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Td(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Td(i){let e,t,n,l,r,a=i[28](i[88])+"",o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H;function O(G,K){return G[88].icon?bS:mS}let D=O(i),q=D(i);g=new xn({props:{node:i[88]}});let Z=i[88].externalLink&&i[88].externalLink.url&&Id(),$=i[88].badgeCounter&&Ld(i);function pe(...G){return i[47](i[88],...G)}function x(...G){return i[48](i[88],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),q.c(),l=W(),r=S("span"),o=Le(a),c=W(),Ue(g.$$.fragment),h=W(),Z&&Z.c(),p=W(),$&&$.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[88]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1dtv1v6"),f(n,"tabindex","0"),f(n,"href",C=i[31](i[88])),f(n,"title",y=i[33](i[88],i[28](i[88]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",T=oe.getTestId(i[88])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",E=i[88]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,K){A(G,e,K),w(e,t),w(t,n),q.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(g,r,null),w(n,h),Z&&Z.m(n,null),w(n,p),$&&$.m(n,null),w(n,b),w(n,m),V=!0,I||(H=[te(n,"click",pe),te(n,"keyup",function(){bi(i[23]?void 0:x)&&(i[23]?void 0:x).apply(this,arguments)})],I=!0)},p(G,K){i=G,D===(D=O(i))&&q?q.p(i,K):(q.d(1),q=D(i),q&&(q.c(),q.m(n,l))),(!V||K[0]&8192)&&a!==(a=i[28](i[88])+"")&&Ae(o,a);const J={};K[0]&8192&&(J.node=i[88]),g.$set(J),(!V||K[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(r,"class",d),i[88].externalLink&&i[88].externalLink.url?Z||(Z=Id(),Z.c(),Z.m(n,p)):Z&&(Z.d(1),Z=null),i[88].badgeCounter?$?($.p(i,K),K[0]&8192&&R($,1)):($=Ld(i),$.c(),R($,1),$.m(n,b)):$&&(ke(),U($,1,1,()=>{$=null}),Se()),(!V||K[0]&8320&&v!==(v="fd-navigation__link "+(i[88]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1dtv1v6"))&&f(n,"class",v),(!V||K[0]&8192&&C!==(C=i[31](i[88])))&&f(n,"href",C),(!V||K[0]&8192&&y!==(y=i[33](i[88],i[28](i[88]))))&&f(n,"title",y),(!V||K[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&8192&&T!==(T=oe.getTestId(i[88])))&&f(n,"data-testid",T),(!V||K[0]&8320&&E!==(E=i[88]===i[7]))&&f(t,"aria-selected",E)},i(G){V||(R(g.$$.fragment,G),R($),V=!0)},o(G){U(g.$$.fragment,G),U($),V=!1},d(G){G&&L(e),q.d(),Fe(g),Z&&Z.d(),$&&$.d(),I=!1,Ye(H)}}}function mS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function bS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?wS:vS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function vS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function wS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[88].icon)+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Id(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Ld(i){let e,t;return e=new Pn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e,t,n=!i[88].hideFromNav&&Nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ed(i){let e,t,n,l,r,a;const o=[dS,cS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[84]==="undefined"||d[84].startsWith(d[14]))),e?0:(t==null&&(t=d[85].filter(SS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(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){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function kS(i){let e,t,n,l,r,a;const o=[zk,Wk],c=[];function g(d,h){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[te(xa,"resize",i[17]),te(xa,"click",i[21]),te(xa,"blur",i[21]),te(xa,"keydown",i[34])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Ye(a)}}}function an(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Vo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const SS=i=>!i.hideFromNav&&i.label,CS=i=>!i.hideFromNav&&i.label;function yS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:E,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:H}),set:async Q=>{Q&&(Object.getOwnPropertyNames(Q).forEach(async ye=>{if(ye==="pathData")t(5,p=Q.pathData);else if(ye==="context")O=Q.context;else if(ye==="children")t(0,a=Q.children);else if(ye==="selectedNode")t(7,C=Q.selectedNode);else if(ye==="hasCategoriesWithIcon")t(10,T=Q.hasCategoriesWithIcon);else if(ye==="navParent"){t(12,I=void 0);let nt=Q.navParent;if(t(43,H=nt),nt&&nt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ut=nt.navHeader,St=nt;if(ut==="inherit"){for(St=nt.parent;St&&St.navHeader==="inherit";)St=St.parent;ut=St?St.navHeader:void 0}if(ut instanceof Function){t(12,I={});let tn=ut(oe.stripNode(nt),oe.stripNode(St),O);tn instanceof Promise?tn.then(gn=>{t(12,I=gn)}):t(12,I=tn)}else if(ut==="auto")t(12,I={label:nt.label,icon:nt.icon});else if(ut&&ut.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,I={...ut,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,I=ut);const tn=we.mapPathToNode(lt.getCurrentPath(),St);Mt.extractDataFromPath(tn).then(gn=>{const ti=we.substituteDynamicParamsInObject(Object.assign({},gn.pathData.context,St.context),gn.pathData.pathParams);oe.fetchNodeTitleData(St,ti).then(ni=>{t(12,I={...ut,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...ut,label:nt.label,icon:nt.icon})})})}else t(12,I=await ne(ut,St))}}}),t(42,E=oe.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=oe.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:V}=e,{navHeader:I}=e,{navParentNode:H}=e,O,D,q,Z=vt("store"),$=vt("getTranslation");wi(i,$,Q=>t(25,n=Q));let pe=!1,x=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const K=Q=>oe.getNodeLabel(Q),J=async()=>{const Q=l.get(),ye=await Mt.getLeftNavData({...Q},Q);ye&&(l.set(ye),D=p,window.LEFTNAVDATA=ye.children)};$t(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,pe=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),dn.doOnStoreChange(Z,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),dn.doOnStoreChange(Z,()=>{J()},["navigation.viewgroupdata"]);let Q=_i.initial();t(6,v=Q.isSemiCollapsed),t(41,g=Q.semiCollapsible),_i.onValueChanged(ye=>{t(6,v=ye.isSemiCollapsed)}),On.addEventListener("message",ye=>{ye.data.msg==="luigi.navigation.update-badge-counters"&&J()})});const ge=()=>{if(G){const Q=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ye=G.querySelector(".fd-navigation__list"),nt=G.querySelector(".fd-navigation__list > .lui-spacer");Q==null||Q.forEach(ut=>{ye.insertBefore(ut,nt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ie=()=>{const Q=G.querySelector(".fd-navigation__list > .lui-spacer"),ye=G.querySelector(".lui-moreItems"),nt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(Q.clientHeight===0&&nt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ut=nt.length-1;ut>0&&(lastNode=nt[ut-1],ye.insertBefore(nt[ut],ye.firstChild),!(Q.clientHeight>0));ut--);}};jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Q;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ye,nt)=>{Q&&clearTimeout(Q),v&&(Q=setTimeout(()=>{ge(),ie()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):ge()}),qn(()=>{(!D||D!=p)&&J(),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:se}=e;function ve(Q){return oe.renderIconClassName(Q)}function re(Q){return oe.isOpenUIiconName(Q)}function Re(Q){return we.getNodeHref(Q,b)}function ze(Q,ye){return Q&&Q.testId?Q.testId:oe.prepareForTests(ye||Q.label)}async function ne(Q,ye){const nt=we.mapPathToNode(lt.getCurrentPath(),ye),St=(await Mt.extractDataFromPath(nt)).pathData.pathParams;return we.substituteDynamicParamsInObject(Q,St)}function ce(Q,ye){return oe.generateTooltipText(Q,ye)}function Te(Q){r("handleClick",{node:Q})}function tt(Q,ye){if(kt(),_i.getCollapsed()){let nt,ut=document.getElementsByClassName("fd-app__sidebar")[0];if(Q.metaInfo&&Q.metaInfo.label?nt=Q.metaInfo.label:nt=Q.category&&Q.category.label||Q.category,ut&&!ut.classList.contains("isBlocked")&&(ut.className+=" isBlocked"),nt===y){t(8,y=_i.closePopupMenu(y));return}t(8,y=nt),ut?Be(ye):x&&Vo(ye)}}function Be(Q){const ye=Q.closest(".fd-nested-list__item"),nt=ye.offsetTop,ut=Hi.getShellbar().offsetHeight;let St;Hi.isCustomLuigiContainer()?St=Hi.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const tn=ye.getElementsByClassName("lui-flyout-sublist")[0],gn=Q.closest(".lui-fd-side-nav-wrapper").scrollTop,ti=nt+ut-gn,ni=St-nt-ye.offsetHeight+gn-ut;ti+tn.offsetHeight>=St?(tn.style.bottom=ni+"px",tn.className+=" has-bottom-position"):tn.style.top=ti-ut+"px"})}function rt(){if(g){let Q=_i.onResize(y);t(6,v=Q.isSemiCollapsed),t(8,y=Q.selectedCategory)}}function Pt(Q){if(Q.code==="ArrowRight"){const nt=Ee.getCurrentMicrofrontendIframe();nt&&nt.contentWindow&&nt.contentWindow.focus()}}function _e(Q){let ye=H?H.parent:void 0;for(;ye;){if(ye.pathSegment&&ye.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ye});return}ye=ye.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ep.navigate("/")}function $e(Q,ye){_i.getCollapsed()||t(9,P=oe.storeExpandedState(Q.metaInfo.categoryUid,ye,E))}function kt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function qt(){t(8,y=_i.closePopupMenu(y)),kt()}function Nn(Q){Q&&Q.code==="Escape"&&qt()}function Ft(){t(6,v=_i.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),Ot()}function Ne(Q){const ye=Q.code;(ye==="Enter"||ye==="Space")&&Ft()}function ct(Q,ye){(Q.code==="Enter"||Q==="Space")&&tt(ye,Q.currentTarget)}function at(Q,ye){Q.keyCode===vi&&oe.handleNavAnchorClickedWithoutMetaKey(Q)&&Te(ye)}function Ot(){if(!oe.getBurgerTooltipConfig())return;const[Q,ye]=oe.getBurgerTooltipConfig(),nt=document.body.classList.contains("lui-semiCollapsible");Q&&ye&&nt&&t(11,V=document.body.classList.contains("semiCollapsed")?Q:ye)}function Bt(Q,ye){return an(Q,ye)?Q.metaInfo.titleCollapseButton?n(Q.metaInfo.titleCollapseButton):void 0:Q.metaInfo.titleExpandButton?n(Q.metaInfo.titleExpandButton):void 0}function wn(Q){if(!Q)return;const ye=Q.target.parentElement;ye.getAttribute("aria-expanded")==="true"?ye.setAttribute("aria-expanded","false"):(qt(),ye.setAttribute("aria-expanded","true")),Q.stopPropagation()}const ei=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},xt=(Q,ye)=>at(ye,Q),kn=Q=>$e(Q,!an(Q,P)),Gn=Q=>$e(Q,!an(Q,P)),Yt=(Q,ye)=>ct(ye,Q),Tn=(Q,ye)=>tt(Q,ye.currentTarget),ki=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},Si=(Q,ye)=>at(ye,Q),hn=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},Ci=(Q,ye)=>at(ye,Q);function yi(Q){Je[Q?"unshift":"push"](()=>{G=Q,t(24,G)})}const Pi=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},Ni=(Q,ye)=>at(ye,Q),Ti=Q=>$e(Q,!an(Q,P)),_l=Q=>$e(Q,!an(Q,P)),pl=(Q,ye)=>ct(ye,Q),ml=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},Ii=(Q,ye)=>at(ye,Q),zi=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},qi=(Q,ye)=>at(ye,Q),fi=Q=>tt(Q,event.currentTarget),bl=(Q,ye)=>{oe.handleNavAnchorClickedWithoutMetaKey(ye)&&Te(Q)},vl=(Q,ye)=>at(ye,Q),Gi=Q=>Ft(),wl=Q=>Ft(),kl=Q=>Ne(Q);return i.$$set=Q=>{"children"in Q&&t(0,a=Q.children),"hideNavComponent"in Q&&t(1,o=Q.hideNavComponent),"footerText"in Q&&t(2,c=Q.footerText),"semiCollapsible"in Q&&t(41,g=Q.semiCollapsible),"semiCollapsibleButton"in Q&&t(3,d=Q.semiCollapsibleButton),"semiCollapsibleButtonStyle"in Q&&t(4,h=Q.semiCollapsibleButtonStyle),"pathData"in Q&&t(5,p=Q.pathData),"pathParams"in Q&&t(44,b=Q.pathParams),"virtualGroupPrefix"in Q&&t(14,m=Q.virtualGroupPrefix),"isSemiCollapsed"in Q&&t(6,v=Q.isSemiCollapsed),"selectedNode"in Q&&t(7,C=Q.selectedNode),"selectedCategory"in Q&&t(8,y=Q.selectedCategory),"expandedCategories"in Q&&t(9,P=Q.expandedCategories),"hasCategoriesWithIcon"in Q&&t(10,T=Q.hasCategoriesWithIcon),"sideNavAccordionMode"in Q&&t(42,E=Q.sideNavAccordionMode),"burgerTooltip"in Q&&t(11,V=Q.burgerTooltip),"navHeader"in Q&&t(12,I=Q.navHeader),"navParentNode"in Q&&t(43,H=Q.navParentNode),"sortedChildrenEntries"in Q&&t(13,se=Q.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const Q=Object.entries(a);Q.sort((ye,nt)=>ye[1].metaInfo.order-nt[1].metaInfo.order),t(13,se=Q)}},[a,o,c,d,h,p,v,C,y,P,T,V,I,se,m,Te,tt,rt,Pt,_e,$e,qt,q,pe,G,n,$,x,K,ve,re,Re,ze,ce,Nn,Ft,Ne,ct,at,Bt,wn,g,E,H,b,Be,Vo,ei,xt,kn,Gn,Yt,Tn,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,zi,qi,fi,bl,vl,Gi,wl,kl]}class rp extends Vt{constructor(e){super(),Dt(this,e,yS,kS,At,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:41,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:44,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:42,burgerTooltip:11,navHeader:12,navParentNode:43,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:45,calculateBTPNavFlyoutPosition:46,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[45]}get calculateBTPNavFlyoutPosition(){return Vo}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const PS=i=>{dn.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),ap(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),ap=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!NS(d,t[h+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Yr.getDocumentTitle()||r;i.set({title:r}),document.title=yt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Rd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Dd(i,e,t){const n=i.slice();return n[45]=e[t],n}function TS(i){let e,t,n,l,r=i[1]&&Vd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=te(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function IS(i){let e,t,n,l,r=i[1]&&Od(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=te(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Od(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Vd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function Od(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function Md(i){let e,t,n,l=(!i[3]||i[4])&&Fd(i),r=i[3]&&Ud(i),a=i[12]&&i[5]&&Yd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Ce()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=Yd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Fd(i){let e;function t(r,a){return r[14]?AS:LS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),A(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&&L(e)}}}function LS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Le(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=te(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&L(e),r=!1,a()}}}function AS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Le(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,g){A(c,e,g),w(e,t),w(t,l),a||(o=te(e,"click",i[32]),a=!0)},p(c,g){g[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),g[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function Ud(i){let e,t,n,l,r,a,o,c,g,d,h;function p(y,P){return y[14]?RS:ES}let b=p(i),m=b(i),v=i[6]&&i[7]&&Gd(i),C=i[9]&&i[9].length>0&&Kd(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",g="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(h=te(t,"click",Ut(MS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=Gd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=Kd(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&g!==(g="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",g)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,h()}}}function ES(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("button"),t=S("span"),l=Le(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=te(e,"click",Ut(i[36])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[9]&&i[9].length===1&&Bd(i),r=i[9]&&i[9].length>1&&Hd(i),a=i[9].length>1&&!i[7]&&qd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Ce()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Bd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Hd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=qd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Bd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Le(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Ae(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Hd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=zd(Dd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Dd(l,t,a);n[a]?n[a].p(o,r):(n[a]=zd(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){ht(n,l),l&&L(e)}}}function Wd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g,d,h;return{c(){e=S("a"),t=S("span"),l=Le(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(h=te(e,"click",wt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&g!==(g=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),d=!1,h()}}}function zd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Wd(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Wd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=te(e,"click",wt(i[35])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function Gd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(g,d){A(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=te(t,"click",wt(i[16])),o=!0)},p(g,d){d[0]&524544&&l!==(l=g[19](g[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=g[22](g[8]))&&f(t,"data-testid",a)},d(g){g&&L(e),o=!1,c()}}}function Kd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jd(Rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Rd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jd(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){ht(n,l),l&&L(e)}}}function DS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,g,d;function h(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=te(t,"click",h),g=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),g=!1,d()}}}function VS(i){let e,t=i[18]&&jd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function jd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new hr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function Jd(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return VS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return DS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Ce()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function Yd(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function OS(i){let e,t;function n(o,c){return o[14]?IS:TS}let l=n(i),r=l(i),a=i[2]&&Md(i);return{c(){r.c(),e=W(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Md(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:We,o:We,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const MS=()=>{};function FS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:g}=e,{showSubTitle:d=!0}=e,{dropDownStates:h={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:T}=e,{pathData:E}=e,{addNavHrefForAnchor:V}=e,I,H,O=vt("getUnsavedChangesModalPromise"),D=vt("getTranslation");wi(i,D,_e=>t(19,n=_e));let q=vt("store");const Z={closeDropDown:()=>{J("appSwitcherPopover")}},$=()=>({get:()=>({pathData:E,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:T,showMainAppEntry:p,hasApps:c,keepMainTitle:g,showSubTitle:d,hasLogo:a,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach($e=>{$e==="pathData"?t(26,E=_e.pathData):$e==="appSwitcherItems"?t(9,v=_e.appSwitcherItems):$e==="itemRenderer"?t(10,C=_e.itemRenderer):$e==="pathParams"?t(11,y=_e.pathParams):$e==="selectedItem"?t(7,b=_e.selectedItem):$e==="title"?t(2,o=_e.title):$e==="defaultSubTitle"?t(25,T=_e.defaultSubTitle):$e==="subTitle"?t(12,P=_e.subTitle):$e==="defaultTitle"?t(8,m=_e.defaultTitle):$e==="subTitle"?t(12,P=_e.subTitle):$e==="showMainAppEntry"?t(6,p=_e.showMainAppEntry):$e==="hasApps"?t(3,c=_e.hasApps):$e==="keepMainTitle"?t(4,g=_e.keepMainTitle):$e==="showSubTitle"?t(5,d=_e.showSubTitle):$e==="hasLogo"&&t(1,a=_e.hasLogo)})},store:q});$t(()=>{PS($())}),qn(()=>{(!H||H!=E)&&(ap($()),H=E)});function pe(_e,$e,kt){return setTimeout(()=>{$e&&C(_e,$e.children[kt],Z)}),""}function x(_e){O().then(()=>{lt.navigateTo(we.applyPathParams(_e,y))},()=>{})}function G(){O().then(()=>{lt.navigateTo("/")},()=>{})}function K(_e){l("handleClick",{node:_e}),J("appSwitcherPopover")}function J(_e){l("toggleDropdownState",{name:_e})}function ge(_e){return _e.testId?_e.testId:oe.prepareForTests(_e.title||_e)}function ie(_e,$e){if(_e.link){const kt=we.applyPathParams(_e.link,$e);if(kt.indexOf(":")!==0&&kt.indexOf("/:")===-1)return!0}return!1}function se(_e){return we.getNodeHref(_e)}function ve(_e){Je[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const re=_e=>{oe.handleNavAnchorClickedWithoutMetaKey(_e)&&x("/")};function Re(_e){Je[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const ze=()=>x("/"),ne=_e=>{oe.handleNavAnchorClickedWithoutMetaKey(_e)&&x("/")},ce=()=>x("/"),Te=()=>J("appSwitcherPopover"),tt=()=>J("appSwitcherPopover"),Be=()=>J("appSwitcherPopover"),rt=(_e,$e)=>{oe.handleNavAnchorClickedWithoutMetaKey($e)&&x(_e.link)};function Pt(_e){Je[_e?"unshift":"push"](()=>{I=_e,t(18,I)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,a=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"keepMainTitle"in _e&&t(4,g=_e.keepMainTitle),"showSubTitle"in _e&&t(5,d=_e.showSubTitle),"dropDownStates"in _e&&t(13,h=_e.dropDownStates),"showMainAppEntry"in _e&&t(6,p=_e.showMainAppEntry),"selectedItem"in _e&&t(7,b=_e.selectedItem),"defaultTitle"in _e&&t(8,m=_e.defaultTitle),"appSwitcherItems"in _e&&t(9,v=_e.appSwitcherItems),"itemRenderer"in _e&&t(10,C=_e.itemRenderer),"pathParams"in _e&&t(11,y=_e.pathParams),"subTitle"in _e&&t(12,P=_e.subTitle),"defaultSubTitle"in _e&&t(25,T=_e.defaultSubTitle),"pathData"in _e&&t(26,E=_e.pathData),"addNavHrefForAnchor"in _e&&t(14,V=_e.addNavHrefForAnchor)},[r,a,o,c,g,d,p,b,m,v,C,y,P,h,V,x,G,J,I,n,D,pe,ge,ie,se,T,E,K,ve,re,Re,ze,ne,ce,Te,tt,Be,rt,Pt]}class US extends Vt{constructor(e){super(),Dt(this,e,FS,OS,At,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function Qd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Zd(i){let e,t,n,l,r,a,o=i[0]&&Xd(i),c=(i[10]||i[11])&&lh(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){A(g,e,d),o&&o.m(e,null),A(g,t,d),A(g,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(g,d){g[0]?o?o.p(g,d):(o=Xd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=lh(g),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function Xd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?HS:BS}let g=c(i),d=g(i),h=i[7].name&&$d(i),p=i[7].description&&xd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=th(Qd(i,b,C));let v=i[12]&&nh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),h&&h.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),h&&h.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?h?h.p(C,y):(h=$d(C),h.c(),h.m(n,l)):h&&(h.d(1),h=null),C[7].description?p?p.p(C,y):(p=xd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=Qd(C,b,P);m[P]?m[P].p(T,y):(m[P]=th(T),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=nh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),h&&h.d(),p&&p.d(),C&&L(r),C&&L(a),ht(m,C),v&&v.d()}}}function BS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Le(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&L(e)}}}function HS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Vn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&Vn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function $d(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&L(e)}}}function xd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&L(e)}}}function eh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?zS:WS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function WS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Vn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&Vn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function zS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function th(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&eh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Le(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[te(t,"click",i[23]),te(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=eh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Ye(d)}}}function nh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&ih(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Le(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,h){A(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[te(e,"click",wt(i[5])),te(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=ih(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&L(e),g&&g.d(),o=!1,Ye(c)}}}function ih(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function qS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function GS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function lh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&rh(i),l=i[10]&&!i[8]&&ah(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=rh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=ah(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function rh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Le(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){A(c,e,g),w(e,t),w(t,l),a||(o=te(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function ah(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[te(e,"click",i[15]),te(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Ye(r)}}}function KS(i){let e,t=!i[1]&&Zd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Zd(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function jS(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");$t(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function H(ie){return we.getNodeHref(ie)}function O(){b||(dn.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),ve=se||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Re=ve.userSettingsProfileMenuEntry;re.settings={...dl.userSettingsProfileMenuEntry,...Re}}re.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?pe():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function $(){Yr.openUserSettings(),l("toggleDropdownState")}function pe(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},J=ie=>q(ie),ge=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,q,Z,$,x,o,c,g,d,h,p,n,C,T,E,V,I,H,O,D,pe,K,J,ge]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,KS,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function sh(i,e,t){const n=i.slice();return n[34]=e[t],n}function oh(i){let e,t,n,l,r,a=i[0]&&uh(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=ch(sh(i,o,h));let g=i[12]&&dh(i),d=(i[10]||i[11])&&gh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let h=0;h<c.length;h+=1)c[h].c();l=W(),g&&g.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(h,p){A(h,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),d&&d.m(t,null)},p(h,p){if(h[0]?a?a.p(h,p):(a=uh(h),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=h[9].items;let b;for(b=0;b<o.length;b+=1){const m=sh(h,o,b);c[b]?c[b].p(m,p):(c[b]=ch(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=dh(h),g.c(),g.m(t,r)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=gh(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&L(e),a&&a.d(),ht(c,h),g&&g.d(),d&&d.d()}}}function uh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Le(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&L(e)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?QS:YS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function YS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function ch(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&fh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Le(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[te(t,"click",i[23]),te(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=fh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Ye(d)}}}function dh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&hh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Le(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[te(e,"click",wt(i[5])),te(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=hh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,Ye(g)}}}function hh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function ZS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function gh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&_h(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=_h(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function _h(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&ph(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Le(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=te(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=ph(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,g()}}}function ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function mh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=te(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function eC(i){let e,t=!i[1]&&oh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=oh(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");$t(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function H(ie){return we.getNodeHref(ie)}function O(){b||(dn.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),ve=se||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=ve.userSettingsProfileMenuEntry;re.settings={...dl.userSettingsProfileMenuEntry,...Re}}re.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=re)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?pe():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function $(){Yr.openUserSettings(),l("toggleDropdownState")}function pe(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},J=ie=>q(ie),ge=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,q,Z,$,x,o,c,g,d,h,p,n,C,T,E,V,I,H,O,D,pe,K,J,ge]}class sp extends Vt{constructor(e){super(),Dt(this,e,tC,eC,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function bh(i,e,t){const n=i.slice();return n[11]=e[t],n}function vh(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Sh(bh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const g=bh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Sh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function wh(i){let e,t,n,l,r,a,o,c,g=i[3](i[11])+"",d,h,p=i[4](i[11]),b,m,v,C,y,P;function T(O,D){return D&6&&(n=null),n==null&&(n=!!O[2](O[11])),n?iC:nC}let E=T(i,-1),V=E(i);r=new Pn({props:{node:i[11]}});let I=p&&kh(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Le(g),h=W(),I&&I.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=oe.getTestId(i[11]))},m(O,D){A(O,e,D),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,h),I&&I.m(o,null),w(e,b),C=!0,y||(P=te(e,"click",H),y=!0)},p(O,D){i=O,E===(E=T(i,D))&&V?V.p(i,D):(V.d(1),V=E(i),V&&(V.c(),V.m(t,l)));const q={};D&2&&(q.node=i[11]),r.$set(q),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Ae(d,g),D&18&&(p=i[4](i[11])),p?I?I.p(i,D):(I=kh(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||D&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||D&2&&v!==(v=oe.getTestId(i[11])))&&f(e,"data-testid",v)},i(O){C||(R(r.$$.fragment,O),C=!0)},o(O){U(r.$$.fragment,O),C=!1},d(O){O&&L(e),V.d(),Fe(r),I&&I.d(),y=!1,P()}}}function nC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!Xe(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function iC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function kh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function Sh(i){let e,t,n=i[11].label&&wh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=wh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function lC(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E=i[1]&&vh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Le(i[0]),c=W(),g=S("div"),d=S("div"),h=S("ul"),E&&E.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,g),w(g,d),w(d,h),E&&E.m(h,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(T=[te(C,"click",i[8]),te(e,"click",Ut(rC))],P=!0)},p(V,[I]){(!y||I&1)&&Ae(o,V[0]),V[1]?E?(E.p(V,I),I&2&&R(E,1)):(E=vh(V),E.c(),R(E,1),E.m(h,null)):E&&(ke(),U(E,1,1,()=>{E=null}),Se())},i(V){y||(R(E),y=!0)},o(V){U(E),y=!1},d(V){V&&L(e),E&&E.d(),P=!1,Ye(T)}}}const rC=()=>{};function aC(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return oe.renderIconClassName(m)}function h(m){n("listClick",m)}function p(m){Ol.call(this,i,m)}const b=m=>h(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,r,a,o,c,g,h,d,p,b]}class op extends Vt{constructor(e){super(),Dt(this,e,aC,lC,At,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:sC}=gl;function Ch(i,e,t){const n=i.slice();return n[7]=e[t],n}function yh(i){let e,t,n,l=i[0]&&Ph(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Ph(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Ph(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Th(Ch(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const g=Ch(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Th(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,h,p,b,m,v,C;function y(V,I){return I&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?uC:oC}let P=y(i,-1),T=P(i);a=new Pn({props:{node:i[7]}});function E(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Le(g),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",h=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=oe.getTestId(i[7]))},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[te(t,"click",i[13]),te(e,"click",E)],v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const H={};I&1&&(H.node=i[7]),a.$set(H),(!m||I&1)&&g!==(g=i[11](i[7])+"")&&Ae(d,g),(!m||I&5&&h!==(h=i[2]?i[12](i[7]):void 0))&&f(t,"href",h),(!m||I&1&&b!==(b=oe.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Fe(a),v=!1,Ye(C)}}}function oC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Xe(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function uC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Th(i){let e,t,n=i[7].label&&Nh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ih(i){let e,t;return e=new op({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function fC(i){let e,t,n,l,r,a=!i[1]&&yh(i),o=i[1]&&Ih(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Ce()},m(c,g){a&&a.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(r=te(sC,"resize",os),l=!0)},p(c,[g]){c[1]?a&&(ke(),U(a,1,1,()=>{a=null}),Se()):a?(a.p(c,g),g&2&&R(a,1)):(a=yh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Ih(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),U(o,1,1,()=>{o=null}),Se())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function cC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=vt("getUnsavedChangesModalPromise"),g=vt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:I=>{}});$t(async()=>{os()}),qn(async()=>{r||t(0,r=await Mt.getChildren(a)),t(0,r)});function b(I){c().then(()=>{if(I.openNodeInModal){const H=we.buildRoute(I,`/${I.pathSegment}`);g(H,I.openNodeInModal===!0?{}:I.openNodeInModal)}else lt.handleRouteClick(I,p())},()=>{}),v()}function m(I){b(I.detail)}function v(){n("close")}function C(I){return oe.isOpenUIiconName(I.icon)}function y(I){return oe.renderIconClassName(I)}function P(I){return yt.getTranslation(I.label)}function T(I){return we.getNodeHref(I,o)}const E=I=>{oe.handleNavAnchorClickedWithoutMetaKey(I)},V=I=>b(I);return i.$$set=I=>{"isMobile"in I&&t(1,l=I.isMobile),"children"in I&&t(0,r=I.children),"node"in I&&t(7,a=I.node),"addNavHrefForAnchor"in I&&t(2,d=I.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,h,C,y,P,T,E,V]}class up extends Vt{constructor(e){super(),Dt(this,e,cC,fC,At,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return os}}const vn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(lt.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=vn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!vn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=vn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await vn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await vn.generateSwitcherNav(e,t)}};function Lh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ah(i,e,t){const n=i.slice();return n[20]=e[t],n}function Eh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Rh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Eh(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 svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];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]=Vh(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&&L(e),ht(n,l)}}}function Dh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[te(t,"click",wt(bC)),te(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ye(d)}}}function Vh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Dh(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Dh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Oh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
54
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function gk(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Yf(i),C=i[4]&&Zf(i),y=i[3]&&Xf();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),g=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",h=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Xn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,g),y&&y.m(t,null),m=!0},p(P,[T]){P[5]||P[4]&&P[0].header?v?(v.p(P,T),T&49&&R(v,1)):(v=Yf(P),v.c(),R(v,1),v.m(t,n)):v&&(we(),U(v,1,1,()=>{v=null}),ke()),P[4]?C?(C.p(P,T),T&16&&R(C,1)):(C=Zf(P),C.c(),R(C,1),C.m(l,r)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),(!m||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||T&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=Xf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||T&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||T&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!m||T&49&&p!==(p=Xn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||T&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function _k(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=jt();let h,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,T=!0,E,V=Ct("store");const I=G=>oe.getNodeLabel(G),H=async G=>{const K=G&&G.length?le.getPathWithoutHash(G):"",J=ve.parseParams(K.split("?")[1]);b=ve.getNodeParams(J);const he=await Bt.extractDataFromPath(G);h=he.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(h),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=I(h),r),t(0,r._liveLabel=!0,r)),p=he.pathData,t(7,a=!0)},O=async G=>{if(!(m||v))if(a)if(h.webcomponent)t(3,C=!1),P?await Q():await D(),fr.renderWebComponent(h.viewUrl,document.querySelector(E),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),v=!0;else{const K=await q(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},D=async()=>{let G,K;const J=document.querySelector(".lui-modal-index-"+c),{size:he,width:ne,height:se}=r,be=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(J.classList.remove("lui-modal-fullscreen"),ne&&ne.match(be)&&se&&se.match(be))G=se,K=ne;else switch(he){case"fullscreen":G="100vh",K="100vw",J.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}J.setAttribute("style",`width:${K};height:${G};`)},q=async(G,K)=>{P?await Q():await D(),G&&(G=ve.substituteViewUrl(G,K));const J=await Ae.createIframe(G,void 0,h,"modal",K);return document.querySelector(E).appendChild(J),J};async function Q(G){let K="";const J=document.getElementsByClassName("drawer"),he=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?J[0].setAttribute("style",K):(he[0].setAttribute("style",K),J[0].setAttribute("style","width:100%"))}jr(()=>{O(o)});const X=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&ge()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&st.updateModalDataInUrl(ve.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};xt(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&h&&t(0,r.title=I(h),r)},["navigation.viewgroupdata"]),Wn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!h.webcomponent&&((G=h.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{Wn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ge(){let G;T?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const $=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,g=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,g,C,P,T,d,a,o,l,n,$]}class ep extends Ft{constructor(e){super(),Mt(this,e,_k,gk,Dt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function $f(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function xf(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ec(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function tc(i){let e,t=i[1][1].settings&&nc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function nc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=cc($f(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){A(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=$f(r,n,o);l[o]?l[o].p(c,a):(l[o]=cc(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&&L(e),_t(l,r)}}}function ic(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?mk:pk}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),A(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&&L(e)}}}function pk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function mk(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}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[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){A(o,e,c),Hf(e,i[0][i[1][0]][i[27]]),l||(r=te(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Hf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function lc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,d,h,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function T(){return i[19](i[28])}let E=v&&rc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ie(o),d=W(),h=S("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),E&&E.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(h,"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-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,h),w(t,b),w(t,m),E&&E.m(m,null),C||(y=[te(r,"keydown",P),te(n,"click",Wt(T))],C=!0)},p(V,I){i=V,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),I[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),I[0]&2&&(v=Array.isArray(i[28].options)),v?E?E.p(i,I):(E=rc(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(V){V&&L(e),E&&E.d(),C=!1,Qe(y)}}}function rc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=ac(ec(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[30]),f(e,"role","listbox")},m(l,r){A(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[28].options;let a;for(a=0;a<t.length;a+=1){const o=ec(l,t,a);n[a]?n[a].p(o,r):(n[a]=ac(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&&L(e),_t(n,l)}}}function ac(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ie(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Kt(e,"is-selected",i[4]===i[33]),Kt(e,"is-focus",i[4]===i[33])},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),o||(c=[te(e,"click",g),te(e,"keydown",i[21])],o=!0)},p(d,h){i=d,h[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),h[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),h[0]&16&&Kt(e,"is-selected",i[4]===i[33]),h[0]&16&&Kt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Qe(c)}}}function sc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=oc(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[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){A(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[28].options;let c;for(c=0;c<l.length;c+=1){const g=xf(a,l,c);r[c]?r[c].p(g,o):(r[c]=oc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),_t(r,a)}}}function oc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,g,d;function h(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ie(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),g||(d=te(e,"click",h),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),g=!1,d()}}}function uc(i){let e,t,n,l,r,a,o,c,g,d;function h(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=W(),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[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),g||(d=te(n,"change",h),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,d()}}}function fc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){A(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=te(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&L(e),n=!1,l()}}}function cc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,g,d,h=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&ic(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&lc(i),y=h&&sc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&uc(i),T=i[28].type==="boolean"&&i[28].style==="checkbox"&&fc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ie(l),a=Ie(":"),o=W(),c=S("div"),v&&v.c(),g=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),T&&T.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(E,V){A(E,e,V),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,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),T&&T.m(c,null),w(e,m)},p(E,V){V[0]&34&&l!==(l=E[5](E[28].label)+"")&&Le(r,l),E[28].type==="string"?v?v.p(E,V):(v=ic(E),v.c(),v.m(c,g)):v&&(v.d(1),v=null),E[28].type==="enum"&&(E[28].style===void 0||E[28].style==="list")?C?C.p(E,V):(C=lc(E),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(h=E[28].type==="enum"&&E[28].style==="button"&&Array.isArray(E[28].options)),h?y?y.p(E,V):(y=sc(E),y.c(),y.m(c,p)):y&&(y.d(1),y=null),E[28].type==="boolean"&&(!E[28].style||E[28].style==="switch")?P?P.p(E,V):(P=uc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[28].type==="boolean"&&E[28].style==="checkbox"?T?T.p(E,V):(T=fc(E),T.c(),T.m(c,null)):T&&(T.d(1),T=null)},d(E){E&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.d()}}}function bk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&tc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(r,e,a),l&&l.m(e,null),t||(n=[te(window,"click",i[7]),te(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=tc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:We,o:We,d(r){r&&L(e),l&&l.d(),t=!1,Qe(n)}}}function ts(i,e,t){if(i&&t>0)return i.matches(e)?i:ts(i.parentNode,e,t-1)}function vk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=jt();let o=Ct("getTranslation");bi(i,o,$=>t(5,n=$));let c,{isComboOpen:g}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const h=()=>{p()};function p($){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b($,G){let K=ts($.target,".fd-popover__control",20),J=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!J))}function m($,G){const K=$.querySelector(".lui-activate-dropdown"),J=$.parentNode.querySelector(".fd-popover__body"),he=$.parentNode.querySelector(".fd-select__control");$.setAttribute("aria-expanded",G),J.setAttribute("aria-hidden",!G),he.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,g=G)}function v($,G,K){t(4,c=K),t(0,r[l[0]][$]=G.value||G,r)}function C($,G){document.querySelectorAll(".enum-buttons-container-"+$+" button").forEach(K=>{const J=K.getAttribute("id"),he=`lui-us-enum_button_${$}_option`;J===he?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][$]=G.value||G,r)}function y($,G){let K;if(Array.isArray(G)){for(let J=0;J<G.length;J++)if(le.isObject(G[J])){if(G[J].value&&G[J].value===$){K=G[J].label,t(4,c=J);break}}else{K=$,t(4,c=G.indexOf($));break}return n(K)}}function P($){return n(le.isObject($)?$.label:$)}function T($,G,K){return le.isObject(K)?`${$}_${G}_${K.value}`:`${$}_${G}_${K}`}function E($,G,K,J){let he=ts($.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${K}`).children;let se=-1;if([...ne].forEach((be,re)=>{be.classList.contains("is-focus")&&(se=re)}),g){if($.keyCode===Hl&&$.altKey&&(he.click(),he.focus()),$.keyCode===Wi&&!$.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<J.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if($.keyCode===Hl&&!$.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<J.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}($.keyCode===mi||$.keyCode===Kr)&&v(G,J.options[se],se)}else he.focus(),$.keyCode===Wi&&$.altKey&&he.click(),$.keyCode===Wi&&!$.altKey&&se<J.options.length-1&&v(G,J.options[se+1],se+1),$.keyCode===Hl&&!$.altKey&&se>0&&se<J.options.length&&v(G,J.options[se-1],se-1)}function V($){if(g){let G=ts($.target,".fd-popover",20);G.blur(),($.keyCode===Kr||$.keyCode===mi)&&($.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function I($){r[l[0]][$]=this.value,t(0,r)}const H=($,G,K,J)=>E(J,$,G,K),O=$=>b(event,$.isEditable),D=($,G,K)=>v($,G,K),q=$=>V($),Q=($,G)=>C($,G);function X($){r[l[0]][$]=this.checked,t(0,r)}function ge($){r[l[0]][$]=this.checked,t(0,r)}return i.$$set=$=>{"userSettingGroup"in $&&t(1,l=$.userSettingGroup),"storedUserSettingData"in $&&t(0,r=$.storedUserSettingData),"isComboOpen"in $&&t(14,g=$.isComboOpen)},[r,l,E,V,c,n,o,p,b,v,C,y,P,T,g,d,h,I,H,O,D,q,Q,X,ge]}class wk extends Ft{constructor(e){super(),Mt(this,e,vk,bk,Dt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:dc}=_l;function hc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function gc(i,e,t){const n=i.slice();return n[37]=e[t],n}function _c(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?Sk:kk}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),A(o,t,c),A(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&&L(t),o&&L(n)}}}function kk(i){let e,t,n,l,r,a=i[37][1].initials&&pc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=Se(),f(e,"class",t=Xn(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),Vn(e,"background-image","url('"+i[37][1].icon+"')"),Vn(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=Xn(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Vn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=pc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function Sk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Xn(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=Xn(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function pc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ie(t),f(e,"class",l=Xn(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=Xn(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function mc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",h,p,b,m,v=i[37][1].icon&&_c(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ie(a),c=W(),g=S("div"),h=Ie(d),p=W(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-12fj8b7"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,T){A(P,e,T),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,g),w(g,h),w(e,p),b||(m=[te(e,"click",yt(C)),te(e,"keydown",y)],b=!0)},p(P,T){i=P,i[37][1].icon?v?v.p(i,T):(v=_c(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),T[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),T[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(h,d)},d(P){P&&L(e),v&&v.d(),b=!1,Qe(m)}}}function bc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=mc(gc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(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=gc(l,t,a);n[a]?n[a].p(o,r):(n[a]=mc(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){_t(n,l),l&&L(e)}}}function vc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new wk({props:o}),Ye.push(()=>St(e,"closeDropDown",r,i[9])),Ye.push(()=>St(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,g){Oe(e,c,g),l=!0},p(c,g){const d={};g[0]&1&&(d.storedUserSettingData=c[0]),g[0]&2048&&(d.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,d.closeDropDown=c[9],kt(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],kt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Me(e,c)}}}function Ck(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,h,p,b,m,v,C,y,P=i[10](i[7])+"",T,E,V,I,H,O,D,q,Q,X,ge,$=i[10](i[5])+"",G,K,J,he,ne=i[10](i[6])+"",se,be,re,Ee,Be=Object.entries(i[1]),ie=[];for(let Ne=0;Ne<Be.length;Ne+=1)ie[Ne]=bc(hc(i,Be,Ne));let ce=i[11]&&vc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),g=Ie(c),d=W(),h=S("div"),p=S("ul");for(let Ne=0;Ne<ie.length;Ne+=1)ie[Ne].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),T=Ie(P),E=W(),V=S("div"),I=S("div"),ce&&ce.c(),H=W(),O=S("div"),D=W(),q=S("footer"),Q=S("div"),X=S("div"),ge=S("button"),G=Ie($),K=W(),J=S("div"),he=S("button"),se=Ie(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(h,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(I,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ge,"data-testid","lui-us-saveBtn"),f(ge,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(he,"data-testid","lui-us-dismissBtn"),f(he,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(J,"class","fd-bar__element"),f(Q,"class","fd-bar__right"),f(q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-12fj8b7"),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-12fj8b7"),f(e,"tabindex","0")},m(Ne,tt){A(Ne,e,tt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,g),w(r,d),w(r,h),w(h,p);for(let ze=0;ze<ie.length;ze+=1)ie[ze].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,T),w(n,E),w(n,V),w(V,I),ce&&ce.m(I,null),w(V,H),w(V,O),w(t,D),w(t,q),w(q,Q),w(Q,X),w(X,ge),w(ge,G),w(Q,K),w(Q,J),w(J,he),w(he,se),be=!0,re||(Ee=[te(dc,"resize",i[20]),te(dc,"keydown",i[3]),te(v,"click",i[17]),te(ge,"click",i[25]),te(he,"click",i[26])],re=!0)},p(Ne,tt){if((!be||tt[0]&1040)&&c!==(c=Ne[10](Ne[4])+"")&&Le(g,c),tt[0]&803846){Be=Object.entries(Ne[1]);let ze;for(ze=0;ze<Be.length;ze+=1){const Ze=hc(Ne,Be,ze);ie[ze]?ie[ze].p(Ze,tt):(ie[ze]=bc(Ze),ie[ze].c(),ie[ze].m(p,null))}for(;ze<ie.length;ze+=1)ie[ze].d(1);ie.length=Be.length}(!be||tt[0]&1152)&&P!==(P=Ne[10](Ne[7])+"")&&Le(T,P),Ne[11]?ce?(ce.p(Ne,tt),tt[0]&2048&&R(ce,1)):(ce=vc(Ne),ce.c(),R(ce,1),ce.m(I,null)):ce&&(we(),U(ce,1,1,()=>{ce=null}),ke()),(!be||tt[0]&1056)&&$!==($=Ne[10](Ne[5])+"")&&Le(G,$),(!be||tt[0]&1088)&&ne!==(ne=Ne[10](Ne[6])+"")&&Le(se,ne)},i(Ne){be||(R(ce),be=!0)},o(Ne){U(ce),be=!1},d(Ne){Ne&&L(e),_t(ie,Ne),ce&&ce.d(),re=!1,Qe(Ee)}}}function wc(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 yk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Pk(){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 kc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Nk(i,e,t){let n,{userSettingGroups:l}=e;const r=jt();let a,{storedUserSettings:o={}}=e,c={},g=Ct("getTranslation");bi(i,g,se=>t(10,n=se));let d=hl.userSettingsDialog.dialogHeader,h=hl.userSettingsDialog.saveBtn,p=hl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),xt(()=>{const se=ae.getConfigValue("userSettings.userSettingsDialog"),be=se||ae.getConfigValue("settings.userSettings.userSettingsDialog");be&&(t(4,d=be.dialogHeader?be.dialogHeader:d),t(5,h=be.saveBtn?be.saveBtn:h),t(6,p=be.dismissBtn?be.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Wn.addEventListener("message",re=>{const Ee=Ae.getValidMessageSource(re);if(!Ee||re.data.msg!=="custom")return;Ee._ready=!0;const Be=ls.convertCustomMessageInternalToUser(re.data),ie="luigi.updateUserSettings";if(Be.id===ie){const ce=ur.findActiveCustomUserSettingsIframe(re.source);if(ce){let Ne=ce.getAttribute("userSettingsGroup");t(0,o[Ne]=Be.data,o)}}Be.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&H()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=wc(JSON.parse(JSON.stringify(l)),{})):t(0,o=wc(JSON.parse(JSON.stringify(l)),re)),T([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let be in se.settings){let re=se.settings[be];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${be}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${be}' in the Luigi userSettings config.`)}}function T(se,be){t(11,a=se);let re=se[0],Ee=se[1];if(P(Ee),be?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ie=>{ie.classList.remove("is-selected")}),tp(be.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<sn.desktopMinWidth&&I()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&kc()),Ee.viewUrl){if(ur.hideUserSettingsIframe(),b.hasOwnProperty(re))ur.getUserSettingsIframesInDom().forEach(Be=>{Be.userSettingsGroup===re&&(Be.style.display="block")});else{const Be=Gr.hasDecorators()?Gr.applyDecorators(Ee.viewUrl):Ee.viewUrl;let ie=ur.createIframe(Be,re);b[re]=ie}yk()}else Pk()}const E=se=>{t(0,o=se.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function I(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<sn.desktopMinWidth&&kc()}function O(se){return oe.renderIconClassName(se)}function D(se){return oe.isOpenUIiconName(se.icon)}let q;const Q=()=>{const se=window.innerWidth>=sn.desktopMinWidth&&q<sn.desktopMinWidth;if(window.innerWidth<sn.desktopMinWidth&&q>=sn.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"),se&&(document.querySelector(".confirm-button").style.display="block"),!q){let re=document.querySelector(".confirm-button");window.innerWidth<sn.desktopMinWidth?re.style.display="none":re.style.display="block"}q=window.innerWidth};function X(se,be){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===mi||se.keyCode===Kr)&&re[be].click(),se.keyCode===ok&&re[Object.keys(l).length-1].focus(),se.keyCode===sk&&re[0].focus()}function ge(se){se.keyCode===_i&&C?y():se.keyCode===_i&&!C&&r("close")}const $=se=>T(se,event),G=(se,be)=>X(be,[se]);function K(se){y=se,t(9,y)}function J(se){C=se,t(8,C)}const he=()=>V(),ne=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,X,ge,d,h,p,v,C,y,n,a,r,g,T,E,V,H,O,D,Q,$,G,K,J,he,ne]}class Tk extends Ft{constructor(e){super(),Mt(this,e,Nk,Ck,Dt,{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:Ik}=_l;function Lk(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1jkwjpc")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function Ak(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=W(),l=S("h1"),a=Ie(r),f(t,"class","lui-collapse-btn svelte-1jkwjpc"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1jkwjpc"),f(l,"class","fd-splitView__title svelte-1jkwjpc")},m(g,d){A(g,e,d),w(e,t),A(g,n,d),A(g,l,d),w(l,a),o||(c=te(t,"click",Wt(yt(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Le(a,r)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function Sc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),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-1jkwjpc"),f(n,"id","splitViewDragger")},m(g,d){A(g,e,d),A(g,t,d),A(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[te(a,"click",Wt(yt(i[3]))),te(n,"mousedown",Wt(i[6]))],o=!0)},p:We,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Qe(c)}}}function Ek(i){let e,t,n,l,r,a,o,c,g,d;t=new Wl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,C){return v[0]?Ak:Lk}let p=h(i),b=p(i),m=!i[0]&&Sc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=Se(),f(l,"class","lui-split-view svelte-1jkwjpc"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1jkwjpc")},m(v,C){A(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,g||(d=te(Ik,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=h(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":"")+" svelte-1jkwjpc"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Sc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Me(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),g=!1,d()}}}function Rk(i,e,t){const n=jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,h,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,E=Ct("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:b}),set:K=>{K&&Object.getOwnPropertyNames(K).forEach(J=>{J==="splitViewSettings"?t(1,C=K.splitViewSettings):J==="lastNode"?r=K.lastNode:J==="pathData"?a=K.pathData:J==="nodeParams"?o=K.nodeParams:J==="collapsed"?t(0,v=K.collapsed):J==="isDataPrepared"?t(8,y=K.isDataPrepared):J==="currentNode"?c=K.currentNode:J==="splitViewIframe"?d=K.splitViewIframe:J==="splitViewIframeData"?h=K.splitViewIframeData:J==="splitViewWC"?p=K.splitViewWC:J==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),I=async()=>{y?v||gt.createAndSetView(V()):await gt.prepareSplitViewData(V(),m)},H=()=>{l.split=gt.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=gt.getDragger()},O=()=>{const K=gt.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${gt.splitViewValues.top}px`),l.split.style.top=`${gt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(K){if(Ae.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&gt.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&q(),K.data.msg==="luigi.navigation.splitview.expand"&&Q(),K.data.msg==="luigi.navigation.splitview.resize")){const J=parseInt(K.data.data);if(gt.calculateAndSetSplitViewValues(J,gt.internalValues),v)return;O(),gt.sendMessageToClients("resize.ok",gt.splitViewValues.percent)}}xt(()=>{X(),g=D.bind(this),Wn.addEventListener("message",g)}),jr(()=>{I(),T!==y&&!v&&(T=y,O())}),Jr(()=>{window.removeEventListener("message",g)});function q(){gt.collapse(V())}async function Q(){await gt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const K=le.getShellbarHeight();gt.internalValues.innerHeight=le.getInnerHeight(),gt.internalValues.rightContentHeight=gt.internalValues.innerHeight-K,gt.internalValues.thresholdBottom=30,gt.internalValues.thresholdTop=K+30,gt.calculateAndSetSplitViewValues(gt.splitViewValues.percent,gt.internalValues),v||O()}function ge(K){let J=K.y,he={};const ne=function(Be){const ie=J-Be.y,ce=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ce)||ie===0)return;const Ne=ce-ie,tt=gt.internalValues.innerHeight-Ne,ze=gt.enforceTresholds(Ne,tt);Ne<ze.top||tt<ze.bottom||(he=ze,J=Be.y,l.draggable.style.top=`${he.top}px`)},se=function(){if(be(),!he.top||!he.bottom||he.top==gt.internalValues.m_pos_prev){gt.getDraggerBackdrop().style.display="none";return}gt.internalValues.m_pos_prev=he.top,gt.splitViewValues=he,O(),gt.sendMessageToClients("resize.ok",he.percent)},be=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},re=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),be(),re(),gt.getDraggerBackdrop().style.display="block"}const $=K=>{let J=gt.getDraggerButton();J&&(J.style.display=K?"block":"none"),J=gt.getCollapsedDraggerButton(),J&&(J.style.display=K?"block":"none")},G=K=>{$(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,q,Q,X,ge,G,y,m]}class np extends Ft{constructor(e){super(),Mt(this,e,Rk,Ek,Dt,{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 Cc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ok,then:Vk,catch:Dk,value:1};return ns(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){A(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())&&ns(t,n)||z_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Dk(i){return{c:We,m:We,p:We,d:We}}function Vk(i){let e,t=i[1]>0&&yc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=yc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function yc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ie(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function Ok(i){return{c:We,m:We,p:We,d:We}}function Mk(i){let e,t=i[0]&&i[0].badgeCounter&&Cc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function Fk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Ft{constructor(e){super(),Mt(this,e,Fk,Mk,Dt,{node:0})}}function Pc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ie(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function Uk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Pc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function Bk(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:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class $n extends Ft{constructor(e){super(),Mt(this,e,Bk,Uk,Dt,{node:0})}}const{window:$a}=_l;function Nc(i,e,t){const n=i.slice();return n[84]=e[t][0],n[85]=e[t][1],n[87]=t,n}function Tc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[88]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[88]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[84]=e[t][0],n[85]=e[t][1],n[87]=t,n}function Rc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Hk(i){let e,t,n,l,r,a,o,c,g,d,h=i[12]&&Vc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Fc(i),b=(i[2]||i[3])&&od(i);return{c(){e=S("div"),h&&h.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1dtv1v6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1dtv1v6"),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-1dtv1v6")},m(m,v){A(m,e,v),h&&h.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,g||(d=te(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?h?h.p(m,v):(h=Vc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=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=Fc(m),p.c(),R(p,1),p.m(l,null)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),m[2]||m[3]?b?b.p(m,v):(b=od(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-1dtv1v6"))&&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-1dtv1v6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),h&&h.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function Wk(i){let e,t,n,l,r=i[12]&&fd(i),a=i[0]&&i[5].length>1&&hd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1dtv1v6"),f(e,"role","navigation"),Vn(e,"width","var(--luigi__left-sidenav--width)"),Vn(e,"height","100%")},m(o,c){A(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=fd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=hd(o),a.c(),R(a,1),a.m(e,null)):a&&(we(),U(a,1,1,()=>{a=null}),ke()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1dtv1v6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Vc(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&Oc(i),p=i[12].showUpLink&&Mc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=W(),a=S("span"),c=Ie(o),g=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(l,"class","fd-nested-list__link svelte-1dtv1v6"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-1dtv1v6"),f(t,"class","fd-nested-list svelte-1dtv1v6"),f(e,"class","lui-nav-title svelte-1dtv1v6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=Oc(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=Mc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function Oc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?qk:zk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function zk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!et(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Mc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=te(e,"click",yt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Fc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=sd(Nc(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1dtv1v6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1dtv1v6")},m(c,g){A(c,e,g),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const h=Nc(c,r,d);a[d]?(a[d].p(h,g),R(a[d],1)):(a[d]=sd(h),a[d].c(),R(a[d],1),a[d].m(t,null))}for(we(),d=r.length;d<a.length;d+=1)o(d);ke()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1dtv1v6"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(a[g]);l=!0}},o(c){a=a.filter(Boolean);for(let g=0;g<a.length;g+=1)U(a[g]);l=!1},d(c){c&&L(e),_t(a,c)}}}function Gk(i){let e,t,n,l;const r=[Jk,jk],a=[];function o(c,g){return c[85].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,g):(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){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function Kk(i){let e,t,n=i[85],l=[];for(let a=0;a<n.length;a+=1)l[a]=ad(Ac(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[85];let c;for(c=0;c<n.length;c+=1){const g=Ac(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=ad(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function jk(i){let e,t,n=i[25](i[84])+"",l,r,a,o,c,g,d=i[10]&&i[85].metaInfo.icon&&Uc(i),h=i[85],p=[];for(let m=0;m<h.length;m+=1)p[m]=Gc(Tc(i,h,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ie(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1dtv1v6"),f(e,"title",r=i[33](i[85],i[25](i[84]))),f(e,"data-testid",a=i[32](i[85].metaInfo,i[84])),f(e,"id","category_list_level1_"+i[87])},m(m,v){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),g=!0},p(m,v){if(m[10]&&m[85].metaInfo.icon?d?d.p(m,v):(d=Uc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[84])+"")&&Le(l,n),(!g||v[0]&33562624&&r!==(r=m[33](m[85],m[25](m[84]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=m[32](m[85].metaInfo,m[84])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){h=m[85];let C;for(C=0;C<h.length;C+=1){const y=Tc(m,h,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Gc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(we(),C=h.length;C<p.length;C+=1)b(C);ke()}},i(m){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);g=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),_t(p,m),m&&L(c)}}}function Jk(i){let e,t,n,l,r,a,o=i[25](i[84])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H,O,D,q,Q,X,ge;function $(ie,ce){return ce[0]&8192&&(l=null),l==null&&(l=!!ie[30](ie[85].metaInfo.icon)),l?tS:eS}let G=$(i,[-1,-1,-1,-1]),K=G(i);function J(){return i[60](i[85])}function he(){return i[61](i[85])}function ne(...ie){return i[62](i[85],...ie)}let se=i[85],be=[];for(let ie=0;ie<se.length;ie+=1)be[ie]=Qc(Lc(i,se,ie));const re=ie=>U(be[ie],1,1,()=>{be[ie]=null});let Ee=i[85].metaInfo&&i[85].metaInfo.label===i[8]&&Zc(i);function Be(){return i[67](i[85])}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),r=W(),a=S("span"),c=Ie(o),m=W(),v=S("button"),C=S("i"),V=W(),I=S("ul");for(let ie=0;ie<be.length;ie+=1)be[ie].c();O=W(),Ee&&Ee.c(),D=W(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(n,"title",g=i[33](i[85],i[25](i[84]))),f(n,"class",d="fd-nested-list__link "+(an(i[85],i[9])?"is-expanded":"")+" svelte-1dtv1v6"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[87]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=an(i[85],i[9])),f(C,"class",y=an(i[85],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1dtv1v6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=an(i[85],i[9])),f(v,"title",T=i[39](i[85],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",E=i[6]?"0":"-1"),f(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1dtv1v6"),f(I,"aria-hidden",H=!an(i[85],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",q=i[32](i[85].metaInfo,i[84])),Kt(e,"lui-item-expanded",an(i[85],i[9]))},m(ie,ce){A(ie,e,ce),w(e,t),w(t,n),K.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,I);for(let Ne=0;Ne<be.length;Ne+=1)be[Ne].m(I,null);w(e,O),Ee&&Ee.m(e,null),w(e,D),Q=!0,X||(ge=[te(n,"click",yt(J)),te(v,"click",yt(he)),te(t,"keypress",ne),te(e,"click",Wt(Be))],X=!0)},p(ie,ce){if(i=ie,G===(G=$(i,ce))&&K?K.p(i,ce):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Q||ce[0]&33562624)&&o!==(o=i[25](i[84])+"")&&Le(c,o),(!Q||ce[0]&33562624&&g!==(g=i[33](i[85],i[25](i[84]))))&&f(n,"title",g),(!Q||ce[0]&8704&&d!==(d="fd-nested-list__link "+(an(i[85],i[9])?"is-expanded":"")+" svelte-1dtv1v6"))&&f(n,"class",d),(!Q||ce[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!Q||ce[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!Q||ce[0]&8704&&b!==(b=an(i[85],i[9])))&&f(n,"aria-expanded",b),(!Q||ce[0]&8704&&y!==(y=an(i[85],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||ce[0]&8704&&P!==(P=an(i[85],i[9])))&&f(v,"aria-expanded",P),(!Q||ce[0]&8704&&T!==(T=i[39](i[85],i[9])))&&f(v,"title",T),(!Q||ce[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),ce[0]&276865152|ce[1]&133){se=i[85];let Ne;for(Ne=0;Ne<se.length;Ne+=1){const tt=Lc(i,se,Ne);be[Ne]?(be[Ne].p(tt,ce),R(be[Ne],1)):(be[Ne]=Qc(tt),be[Ne].c(),R(be[Ne],1),be[Ne].m(I,null))}for(we(),Ne=se.length;Ne<be.length;Ne+=1)re(Ne);ke()}(!Q||ce[0]&8704&&H!==(H=!an(i[85],i[9])))&&f(I,"aria-hidden",H),i[85].metaInfo&&i[85].metaInfo.label===i[8]?Ee?(Ee.p(i,ce),ce[0]&8448&&R(Ee,1)):(Ee=Zc(i),Ee.c(),R(Ee,1),Ee.m(e,D)):Ee&&(we(),U(Ee,1,1,()=>{Ee=null}),ke()),(!Q||ce[0]&8192&&q!==(q=i[32](i[85].metaInfo,i[84])))&&f(e,"data-testid",q),(!Q||ce[0]&8704)&&Kt(e,"lui-item-expanded",an(i[85],i[9]))},i(ie){if(!Q){for(let ce=0;ce<se.length;ce+=1)R(be[ce]);R(Ee),Q=!0}},o(ie){be=be.filter(Boolean);for(let ce=0;ce<be.length;ce+=1)U(be[ce]);U(Ee),Q=!1},d(ie){ie&&L(e),K.d(),_t(be,ie),Ee&&Ee.d(),X=!1,Qe(ge)}}}function Uc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].metaInfo.icon)),e?Qk:Yk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function Yk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[85].metaInfo.icon?i[29](i[85].metaInfo.icon):"")+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[85].metaInfo.icon?n[29](n[85].metaInfo.icon):"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Bc(i){let e,t,n=i[88].label&&Hc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Hc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Hc(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T;function E(X,ge){return X[88].icon?Xk:Zk}let V=E(i),I=V(i),H=i[88].statusBadge&&Wc(i),O=i[88].externalLink&&i[88].externalLink.url&&zc(),D=i[88].badgeCounter&&qc(i);function q(...X){return i[68](i[88],...X)}function Q(...X){return i[69](i[88],...X)}return{c(){e=S("li"),t=S("a"),I.c(),n=W(),l=S("span"),a=Ie(r),o=W(),H&&H.c(),g=W(),O&&O.c(),d=W(),D&&D.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[88])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[88],i[28](i[88]))),f(e,"aria-labelledby","category_list_level1_"+i[87])},m(X,ge){A(X,e,ge),w(e,t),I.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,g),O&&O.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(T=[te(t,"click",q),te(t,"keyup",function(){pi(i[23]?void 0:Q)&&(i[23]?void 0:Q).apply(this,arguments)})],P=!0)},p(X,ge){i=X,V===(V=E(i))&&I?I.p(i,ge):(I.d(1),I=V(i),I&&(I.c(),I.m(t,n))),(!y||ge[0]&8192)&&r!==(r=i[28](i[88])+"")&&Le(a,r),i[88].statusBadge?H?(H.p(i,ge),ge[0]&8192&&R(H,1)):(H=Wc(i),H.c(),R(H,1),H.m(l,null)):H&&(we(),U(H,1,1,()=>{H=null}),ke()),(!y||ge[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",c),i[88].externalLink&&i[88].externalLink.url?O||(O=zc(),O.c(),O.m(t,d)):O&&(O.d(1),O=null),i[88].badgeCounter?D?(D.p(i,ge),ge[0]&8192&&R(D,1)):(D=qc(i),D.c(),R(D,1),D.m(t,null)):D&&(we(),U(D,1,1,()=>{D=null}),ke()),(!y||ge[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||ge[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||ge[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||ge[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||ge[0]&8192&&C!==(C=i[33](i[88],i[28](i[88]))))&&f(e,"title",C)},i(X){y||(R(H),R(D),y=!0)},o(X){U(H),U(D),y=!1},d(X){X&&L(e),I.d(),H&&H.d(),O&&O.d(),D&&D.d(),P=!1,Qe(T)}}}function Zk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ie(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function Xk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?xk:$k}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function $k(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function xk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[88].icon)+" svelte-1dtv1v6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Wc(i){let e,t;return e=new $n({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function zc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function qc(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Gc(i){let e,t,n=!i[88].hideFromNav&&Bc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Bc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function eS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function tS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].metaInfo.icon)+" "+(i[6]&&!i[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].metaInfo.icon)+" "+(n[6]&&!n[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Kc(i){let e,t,n=i[88].label&&jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function jc(i){let e,t,n,l=i[28](i[88])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new $n({props:{node:i[88]}});let E=i[88].externalLink&&i[88].externalLink.url&&Jc(),V=i[88].badgeCounter&&Yc(i);function I(...O){return i[63](i[88],...O)}function H(...O){return i[64](i[88],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),g=W(),E&&E.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=oe.getTestId(i[88])),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[87])},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[te(t,"click",I),te(t,"keyup",function(){pi(i[23]?void 0:H)&&(i[23]?void 0:H).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[88])+"")&&Le(r,l);const q={};D[0]&8192&&(q.node=i[88]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(n,"class",c),i[88].externalLink&&i[88].externalLink.url?E||(E=Jc(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[88].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Yc(i),V.c(),R(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||D[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Me(o),E&&E.d(),V&&V.d(),P=!1,Qe(T)}}}function Jc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Yc(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Qc(i){let e,t,n=!i[88].hideFromNav&&Kc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Kc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zc(i){let e,t,n,l=i[25](i[84])+"",r,a,o,c,g=i[85],d=[];for(let p=0;p<g.length;p+=1)d[p]=td(Ic(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ie(l),a=W(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1dtv1v6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1dtv1v6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1dtv1v6"),f(e,"class","lui-flyout-sublist svelte-1dtv1v6")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[84])+"")&&Le(r,l),b[0]&276865152|b[1]&133){g=p[85];let m;for(m=0;m<g.length;m+=1){const v=Ic(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=td(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(we(),m=g.length;m<d.length;m+=1)h(m);ke()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),_t(d,p)}}}function Xc(i){let e,t,n=i[88].label&&$c(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $c(i){let e,t,n,l=i[28](i[88])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new $n({props:{node:i[88]}});let E=i[88].externalLink&&i[88].externalLink.url&&xc(),V=i[88].badgeCounter&&ed(i);function I(...O){return i[65](i[88],...O)}function H(...O){return i[66](i[88],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),g=W(),E&&E.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",h=i[31](i[88])),f(t,"class",p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[88])),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(e,"class","fd-nested-list__item")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[te(t,"click",I),te(t,"keyup",function(){pi(i[23]?void 0:H)&&(i[23]?void 0:H).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[88])+"")&&Le(r,l);const q={};D[0]&8192&&(q.node=i[88]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(n,"class",c),i[88].externalLink&&i[88].externalLink.url?E||(E=xc(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[88].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=ed(i),V.c(),R(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||D[0]&8192&&h!==(h=i[31](i[88])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[88])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Me(o),E&&E.d(),V&&V.d(),P=!1,Qe(T)}}}function xc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function ed(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function td(i){let e,t,n=!i[88].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function nd(i){let e,t,n=i[88].label&&id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function id(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(X,ge){return X[88].icon?iS:nS}let I=V(i),H=I(i);c=new $n({props:{node:i[88]}});let O=i[88].externalLink&&i[88].externalLink.url&&ld(),D=i[88].badgeCounter&&rd(i);function q(...X){return i[58](i[88],...X)}function Q(...X){return i[59](i[88],...X)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ie(r),o=W(),Ue(c.$$.fragment),d=W(),O&&O.c(),h=W(),D&&D.c(),y=W(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(t,"href",p=i[31](i[88])),f(t,"title",b=i[33](i[88],i[28](i[88]))),f(t,"class",m="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=oe.getTestId(i[88])),f(e,"class","fd-nested-list__item")},m(X,ge){A(X,e,ge),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Oe(c,l,null),w(t,d),O&&O.m(t,null),w(t,h),D&&D.m(t,null),w(e,y),P=!0,T||(E=[te(t,"click",q),te(t,"keyup",function(){pi(i[23]?void 0:Q)&&(i[23]?void 0:Q).apply(this,arguments)})],T=!0)},p(X,ge){i=X,I===(I=V(i))&&H?H.p(i,ge):(H.d(1),H=I(i),H&&(H.c(),H.m(t,n))),(!P||ge[0]&8192)&&r!==(r=i[28](i[88])+"")&&Le(a,r);const $={};ge[0]&8192&&($.node=i[88]),c.$set($),(!P||ge[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",g),i[88].externalLink&&i[88].externalLink.url?O||(O=ld(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[88].badgeCounter?D?(D.p(i,ge),ge[0]&8192&&R(D,1)):(D=rd(i),D.c(),R(D,1),D.m(t,null)):D&&(we(),U(D,1,1,()=>{D=null}),ke()),(!P||ge[0]&8192&&p!==(p=i[31](i[88])))&&f(t,"href",p),(!P||ge[0]&8192&&b!==(b=i[33](i[88],i[28](i[88]))))&&f(t,"title",b),(!P||ge[0]&8320&&m!==(m="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(t,"class",m),(!P||ge[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ge[0]&8192&&C!==(C=oe.getTestId(i[88])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(D),P=!0)},o(X){U(c.$$.fragment,X),U(D),P=!1},d(X){X&&L(e),H.d(),Me(c),O&&O.d(),D&&D.d(),T=!1,Qe(E)}}}function nS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function iS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function lS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function rS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[88].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function ld(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function rd(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function ad(i){let e,t,n=!i[88].hideFromNav&&nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=nd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function sd(i){let e,t,n,l,r,a;const o=[Kk,Gk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[84]==="undefined"||d[84].startsWith(d[14]))),e?0:(t==null&&(t=d[85].filter(SS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,h):(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){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function od(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&ud(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ie(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1dtv1v6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1dtv1v6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1dtv1v6")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,g):(o=ud(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function ud(i){let e;function t(r,a){return r[4]=="button"?sS:aS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),A(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&&L(e)}}}function aS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[te(e,"click",i[71]),te(e,"keydown",i[72])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Qe(l)}}}function sS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1dtv1v6")},m(a,o){A(a,e,o),w(e,t),l||(r=te(e,"click",i[70]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1dtv1v6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function fd(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&cd(i),p=i[12].showUpLink&&dd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=W(),a=S("span"),c=Ie(o),g=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1dtv1v6"),f(l,"class","fd-nested-list__link svelte-1dtv1v6"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-1dtv1v6"),f(e,"class","lui-nav-title svelte-1dtv1v6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=cd(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=dd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function cd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!et(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function uS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-1dtv1v6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function dd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=te(e,"click",yt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function hd(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ld(Ec(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
55
+ <span class="fd-navigation__text">More Items</span>`,g=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1dtv1v6"></ul></div>',f(l,"class","lui-spacer svelte-1dtv1v6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1dtv1v6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1dtv1v6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1dtv1v6"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){A(y,e,P),w(e,t);for(let T=0;T<v.length;T+=1)v[T].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[57](e),h=!0,p||(b=[te(c,"click",i[40]),te(c,"keypress",i[40])],p=!0)},p(y,P){if(P[0]&1922164672|P[1]&199){m=y[13];let T;for(T=0;T<m.length;T+=1){const E=Ec(y,m,T);v[T]?(v[T].p(E,P),R(v[T],1)):(v[T]=Ld(E),v[T].c(),R(v[T],1),v[T].m(t,n))}for(we(),T=m.length;T<v.length;T+=1)C(T);ke()}},i(y){if(!h){for(let P=0;P<m.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);h=!1},d(y){y&&L(e),_t(v,y),i[57](null),p=!1,Qe(b)}}}function fS(i){let e,t,n,l,r,a,o=i[25](i[84])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I;function H(G,K){return K[0]&8192&&(l=null),l==null&&(l=!!G[30](G[85].metaInfo.icon)),l?hS:dS}let O=H(i,[-1,-1,-1,-1]),D=O(i);function q(){return i[49](i[85])}function Q(){return i[50](i[85])}function X(...G){return i[51](i[85],...G)}function ge(...G){return i[52](i[85],...G)}let $=(!i[6]||i[85].metaInfo&&i[85].metaInfo.label===i[8])&&gd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),r=W(),a=S("span"),c=Ie(o),g=W(),d=S("span"),h=W(),p=S("span"),y=W(),$&&$.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1dtv1v6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[85],i[25](i[84]))),f(t,"aria-expanded",v=i[6]?i[85].metaInfo&&i[85].metaInfo.label===i[8]:an(i[85],i[9])),f(t,"aria-selected",C=i[6]&&i[85].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1dtv1v6"),f(e,"aria-hidden","true"),f(e,"data-testid",T=i[32](i[85].metaInfo,i[84]))},m(G,K){A(G,e,K),w(e,t),w(t,n),D.m(n,null),w(n,r),w(n,a),w(a,c),w(n,g),w(n,d),w(n,h),w(n,p),w(e,y),$&&$.m(e,null),E=!0,V||(I=[te(n,"click",yt(q)),te(n,"keypress",yt(Q)),te(n,"keypress",yt(X)),te(t,"click",Wt(ge))],V=!0)},p(G,K){i=G,O===(O=H(i,K))&&D?D.p(i,K):(D.d(1),D=O(i),D&&(D.c(),D.m(n,r))),(!E||K[0]&33562624)&&o!==(o=i[25](i[84])+"")&&Le(c,o),(!E||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!E||K[0]&33562624&&m!==(m=i[33](i[85],i[25](i[84]))))&&f(t,"title",m),(!E||K[0]&9024&&v!==(v=i[6]?i[85].metaInfo&&i[85].metaInfo.label===i[8]:an(i[85],i[9])))&&f(t,"aria-expanded",v),(!E||K[0]&8384&&C!==(C=i[6]&&i[85].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[85].metaInfo&&i[85].metaInfo.label===i[8]?$?($.p(i,K),K[0]&8512&&R($,1)):($=gd(i),$.c(),R($,1),$.m(e,null)):$&&(we(),U($,1,1,()=>{$=null}),ke()),(!E||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1dtv1v6"))&&f(e,"class",P),(!E||K[0]&8192&&T!==(T=i[32](i[85].metaInfo,i[84])))&&f(e,"data-testid",T)},i(G){E||(R($),E=!0)},o(G){U($),E=!1},d(G){G&&L(e),D.d(),$&&$.d(),V=!1,Qe(I)}}}function cS(i){let e,t,n=i[85],l=[];for(let a=0;a<n.length;a+=1)l[a]=Id(Dc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[85];let c;for(c=0;c<n.length;c+=1){const g=Dc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Id(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function hS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[85].metaInfo.icon)+" "+(i[6]&&!i[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[85].metaInfo.icon)+" "+(n[6]&&!n[85].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function gd(i){let e,t,n,l,r,a,o,c=i[6]&&_d(i),g=i[85],d=[];for(let p=0;p<g.length;p+=1)d[p]=Cd(Rc(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1dtv1v6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=_d(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[85];let m;for(m=0;m<g.length;m+=1){const v=Rc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Cd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(we(),m=g.length;m<d.length;m+=1)h(m);ke()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1dtv1v6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<g.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),_t(d,p)}}}function _d(i){let e,t,n,l,r=i[25](i[84])+"",a,o,c,g,d,h=i[10]&&i[85].metaInfo.icon&&pd(i);return{c(){e=S("div"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ie(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1dtv1v6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1dtv1v6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[85],i[25](i[84]))),f(e,"data-testid",d=i[32](i[85].metaInfo,i[84]))},m(p,b){A(p,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[85].metaInfo.icon?h?h.p(p,b):(h=pd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&33562624&&r!==(r=p[25](p[84])+"")&&Le(a,r),b[0]&33562624&&g!==(g=p[33](p[85],p[25](p[84])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[85].metaInfo,p[84]))&&f(e,"data-testid",d)},d(p){p&&L(e),h&&h.d()}}}function pd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].metaInfo.icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function gS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[85].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[85].metaInfo.altText?i[85].metaInfo.altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[85].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].metaInfo.altText?r[85].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function _S(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[85].metaInfo.icon)+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[85].metaInfo.icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function md(i){let e,t,n=i[88].label&&bd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=bd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function bd(i){let e,t,n,l,r=i[28](i[88])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I=i[28](i[88])+"",H,O,D,q,Q,X,ge,$,G,K,J,he,ne,se;c=new $n({props:{node:i[88]}});let be=i[88].externalLink&&i[88].externalLink.url&&vd(),re=i[88].badgeCounter&&wd(i);function Ee(...ze){return i[53](i[88],...ze)}function Be(...ze){return i[54](i[88],...ze)}D=new $n({props:{node:i[88]}});let ie=i[88].externalLink&&i[88].externalLink.url&&kd(),ce=i[88].badgeCounter&&Sd(i);function Ne(...ze){return i[55](i[88],...ze)}function tt(...ze){return i[56](i[88],...ze)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ie(r),o=W(),Ue(c.$$.fragment),d=W(),h=S("span"),p=W(),be&&be.c(),b=W(),re&&re.c(),P=W(),T=S("li"),E=S("a"),V=S("span"),H=Ie(I),O=W(),Ue(D.$$.fragment),Q=W(),ie&&ie.c(),X=W(),ce&&ce.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(h,"class","fd-navigation__selection-indicator"),f(h,"role","presentation"),f(h,"aria-hidden","true"),f(h,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1dtv1v6"),f(n,"tabindex","0"),f(n,"href",m=i[31](i[88])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[88],i[28](i[88]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[88]===i[7]),f(t,"data-testid",y=oe.getTestId(i[88])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",q="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(E,"href",ge=i[31](i[88])),f(E,"class",$="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"),f(E,"role",G=i[23]?void 0:"button"),f(E,"tabindex","0"),f(E,"data-testid",K=oe.getTestId(i[88])),f(E,"title",J=i[33](i[88],i[28](i[88]))),Vn(T,"display","none"),f(T,"class","fd-nested-list__item"),f(T,"aria-labelledby","collapsible_listnode_"+i[87])},m(ze,Ze){A(ze,e,Ze),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Oe(c,l,null),w(n,d),w(n,h),w(n,p),be&&be.m(n,null),w(n,b),re&&re.m(n,null),A(ze,P,Ze),A(ze,T,Ze),w(T,E),w(E,V),w(V,H),w(V,O),Oe(D,V,null),w(E,Q),ie&&ie.m(E,null),w(E,X),ce&&ce.m(E,null),he=!0,ne||(se=[te(n,"click",Ee),te(n,"keyup",function(){pi(i[23]?void 0:Be)&&(i[23]?void 0:Be).apply(this,arguments)}),te(E,"click",Ne),te(E,"keyup",function(){pi(i[23]?void 0:tt)&&(i[23]?void 0:tt).apply(this,arguments)})],ne=!0)},p(ze,Ze){i=ze,(!he||Ze[0]&8192)&&r!==(r=i[28](i[88])+"")&&Le(a,r);const ut={};Ze[0]&8192&&(ut.node=i[88]),c.$set(ut),(!he||Ze[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(l,"class",g),i[88].externalLink&&i[88].externalLink.url?be||(be=vd(),be.c(),be.m(n,b)):be&&(be.d(1),be=null),i[88].badgeCounter?re?(re.p(i,Ze),Ze[0]&8192&&R(re,1)):(re=wd(i),re.c(),R(re,1),re.m(n,null)):re&&(we(),U(re,1,1,()=>{re=null}),ke()),(!he||Ze[0]&8192&&m!==(m=i[31](i[88])))&&f(n,"href",m),(!he||Ze[0]&8192&&v!==(v=i[33](i[88],i[28](i[88]))))&&f(t,"title",v),(!he||Ze[0]&8320&&C!==(C=i[88]===i[7]))&&f(t,"aria-selected",C),(!he||Ze[0]&8192&&y!==(y=oe.getTestId(i[88])))&&f(t,"data-testid",y),(!he||Ze[0]&8192)&&I!==(I=i[28](i[88])+"")&&Le(H,I);const me={};Ze[0]&8192&&(me.node=i[88]),D.$set(me),(!he||Ze[0]&8192&&q!==(q="fd-nested-list__title badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(V,"class",q),i[88].externalLink&&i[88].externalLink.url?ie||(ie=kd(),ie.c(),ie.m(E,X)):ie&&(ie.d(1),ie=null),i[88].badgeCounter?ce?(ce.p(i,Ze),Ze[0]&8192&&R(ce,1)):(ce=Sd(i),ce.c(),R(ce,1),ce.m(E,null)):ce&&(we(),U(ce,1,1,()=>{ce=null}),ke()),(!he||Ze[0]&8192&&ge!==(ge=i[31](i[88])))&&f(E,"href",ge),(!he||Ze[0]&8320&&$!==($="fd-nested-list__link "+(i[88]===i[7]?"is-selected":"")+" svelte-1dtv1v6"))&&f(E,"class",$),(!he||Ze[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(E,"role",G),(!he||Ze[0]&8192&&K!==(K=oe.getTestId(i[88])))&&f(E,"data-testid",K),(!he||Ze[0]&8192&&J!==(J=i[33](i[88],i[28](i[88]))))&&f(E,"title",J)},i(ze){he||(R(c.$$.fragment,ze),R(re),R(D.$$.fragment,ze),R(ce),he=!0)},o(ze){U(c.$$.fragment,ze),U(re),U(D.$$.fragment,ze),U(ce),he=!1},d(ze){ze&&L(e),Me(c),be&&be.d(),re&&re.d(),ze&&L(P),ze&&L(T),Me(D),ie&&ie.d(),ce&&ce.d(),ne=!1,Qe(se)}}}function vd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function wd(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function kd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Sd(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Cd(i){let e,t,n=!i[88].hideFromNav&&md(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=md(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function yd(i){let e,t,n=i[88].label&&Pd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Pd(i){let e,t,n,l,r,a=i[28](i[88])+"",o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H;function O(G,K){return G[88].icon?mS:pS}let D=O(i),q=D(i);g=new $n({props:{node:i[88]}});let Q=i[88].externalLink&&i[88].externalLink.url&&Nd(),X=i[88].badgeCounter&&Td(i);function ge(...G){return i[47](i[88],...G)}function $(...G){return i[48](i[88],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),q.c(),l=W(),r=S("span"),o=Ie(a),c=W(),Ue(g.$$.fragment),h=W(),Q&&Q.c(),p=W(),X&&X.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[88]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1dtv1v6"),f(n,"tabindex","0"),f(n,"href",C=i[31](i[88])),f(n,"title",y=i[33](i[88],i[28](i[88]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",T=oe.getTestId(i[88])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",E=i[88]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,K){A(G,e,K),w(e,t),w(t,n),q.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Oe(g,r,null),w(n,h),Q&&Q.m(n,null),w(n,p),X&&X.m(n,null),w(n,b),w(n,m),V=!0,I||(H=[te(n,"click",ge),te(n,"keyup",function(){pi(i[23]?void 0:$)&&(i[23]?void 0:$).apply(this,arguments)})],I=!0)},p(G,K){i=G,D===(D=O(i))&&q?q.p(i,K):(q.d(1),q=D(i),q&&(q.c(),q.m(n,l))),(!V||K[0]&8192)&&a!==(a=i[28](i[88])+"")&&Le(o,a);const J={};K[0]&8192&&(J.node=i[88]),g.$set(J),(!V||K[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[88].statusBadge&&i[88].statusBadge.align==="right"?"right":"left")+" svelte-1dtv1v6"))&&f(r,"class",d),i[88].externalLink&&i[88].externalLink.url?Q||(Q=Nd(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[88].badgeCounter?X?(X.p(i,K),K[0]&8192&&R(X,1)):(X=Td(i),X.c(),R(X,1),X.m(n,b)):X&&(we(),U(X,1,1,()=>{X=null}),ke()),(!V||K[0]&8320&&v!==(v="fd-navigation__link "+(i[88]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1dtv1v6"))&&f(n,"class",v),(!V||K[0]&8192&&C!==(C=i[31](i[88])))&&f(n,"href",C),(!V||K[0]&8192&&y!==(y=i[33](i[88],i[28](i[88]))))&&f(n,"title",y),(!V||K[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&8192&&T!==(T=oe.getTestId(i[88])))&&f(n,"data-testid",T),(!V||K[0]&8320&&E!==(E=i[88]===i[7]))&&f(t,"aria-selected",E)},i(G){V||(R(g.$$.fragment,G),R(X),V=!0)},o(G){U(g.$$.fragment,G),U(X),V=!1},d(G){G&&L(e),q.d(),Me(g),Q&&Q.d(),X&&X.d(),I=!1,Qe(H)}}}function pS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[88].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function bS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[88].icon)||f(t,"src",n),f(t,"alt",l=i[88].altText?i[88].altText:""),f(t,"class","svelte-1dtv1v6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1dtv1v6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[88].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[88].altText?r[88].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function vS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[88].icon)+" svelte-1dtv1v6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[88].icon)+" svelte-1dtv1v6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Nd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Tn({props:{node:i[88]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[88]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Id(i){let e,t,n=!i[88].hideFromNav&&yd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[88].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=yd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ld(i){let e,t,n,l,r,a;const o=[cS,fS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[84]==="undefined"||d[84].startsWith(d[14]))),e?0:(t==null&&(t=d[85].filter(kS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,h):(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){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function wS(i){let e,t,n,l,r,a;const o=[Wk,Hk],c=[];function g(d,h){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[te($a,"resize",i[17]),te($a,"click",i[21]),te($a,"blur",i[21]),te($a,"keydown",i[34])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Qe(a)}}}function an(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Do(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const kS=i=>!i.hideFromNav&&i.label,SS=i=>!i.hideFromNav&&i.label;function CS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:E,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:H}),set:async Y=>{Y&&(Object.getOwnPropertyNames(Y).forEach(async Ce=>{if(Ce==="pathData")t(5,p=Y.pathData);else if(Ce==="context")O=Y.context;else if(Ce==="children")t(0,a=Y.children);else if(Ce==="selectedNode")t(7,C=Y.selectedNode);else if(Ce==="hasCategoriesWithIcon")t(10,T=Y.hasCategoriesWithIcon);else if(Ce==="navParent"){t(12,I=void 0);let nt=Y.navParent;if(t(43,H=nt),nt&&nt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ft=nt.navHeader,Tt=nt;if(ft==="inherit"){for(Tt=nt.parent;Tt&&Tt.navHeader==="inherit";)Tt=Tt.parent;ft=Tt?Tt.navHeader:void 0}if(ft instanceof Function){t(12,I={});let tn=ft(oe.stripNode(nt),oe.stripNode(Tt),O);tn instanceof Promise?tn.then(In=>{t(12,I=In)}):t(12,I=tn)}else if(ft==="auto")t(12,I={label:nt.label,icon:nt.icon});else if(ft&&ft.useTitleResolver&&Tt.titleResolver){Tt.titleResolver.prerenderFallback?t(12,I={...ft,label:Tt.titleResolver.fallbackTitle||"",icon:Tt.titleResolver.fallbackIcon}):t(12,I=ft);const tn=ve.mapPathToNode(st.getCurrentPath(),Tt);Bt.extractDataFromPath(tn).then(In=>{const ei=ve.substituteDynamicParamsInObject(Object.assign({},In.pathData.context,Tt.context),In.pathData.pathParams);oe.fetchNodeTitleData(Tt,ei).then(ti=>{t(12,I={...ft,...ti})}).catch(ti=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...ft,label:nt.label,icon:nt.icon})})})}else t(12,I=await ie(ft,Tt))}}}),t(42,E=oe.getSideNavAccordionMode(C)))}},r=jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=oe.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:V}=e,{navHeader:I}=e,{navParentNode:H}=e,O,D,q,Q=Ct("store"),X=Ct("getTranslation");bi(i,X,Y=>t(25,n=Y));let ge=!1,$=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const K=Y=>oe.getNodeLabel(Y),J=async()=>{const Y=l.get(),Ce=await Bt.getLeftNavData({...Y},Y);Ce&&(l.set(Ce),D=p,window.LEFTNAVDATA=Ce.children)};xt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ge=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),pn.doOnStoreChange(Q,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Q,()=>{J()},["navigation.viewgroupdata"]);let Y=hi.initial();t(6,v=Y.isSemiCollapsed),t(41,g=Y.semiCollapsible),hi.onValueChanged(Ce=>{t(6,v=Ce.isSemiCollapsed)}),Wn.addEventListener("message",Ce=>{Ce.data.msg==="luigi.navigation.update-badge-counters"&&J()})});const he=()=>{if(G){const Y=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Ce=G.querySelector(".fd-navigation__list"),nt=G.querySelector(".fd-navigation__list > .lui-spacer");Y==null||Y.forEach(ft=>{Ce.insertBefore(ft,nt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ne=()=>{const Y=G.querySelector(".fd-navigation__list > .lui-spacer"),Ce=G.querySelector(".lui-moreItems"),nt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(Y.clientHeight===0&&nt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ft=nt.length-1;ft>0&&(lastNode=nt[ft-1],Ce.insertBefore(nt[ft],Ce.firstChild),!(Y.clientHeight>0));ft--);}};jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Y;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Ce,nt)=>{Y&&clearTimeout(Y),v&&(Y=setTimeout(()=>{he(),ne()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):he()}),zn(()=>{(!D||D!=p)&&J(),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:se}=e;function be(Y){return oe.renderIconClassName(Y)}function re(Y){return oe.isOpenUIiconName(Y)}function Ee(Y){return ve.getNodeHref(Y,b)}function Be(Y,Ce){return Y&&Y.testId?Y.testId:oe.prepareForTests(Ce||Y.label)}async function ie(Y,Ce){const nt=ve.mapPathToNode(st.getCurrentPath(),Ce),Tt=(await Bt.extractDataFromPath(nt)).pathData.pathParams;return ve.substituteDynamicParamsInObject(Y,Tt)}function ce(Y,Ce){return oe.generateTooltipText(Y,Ce)}function Ne(Y){r("handleClick",{node:Y})}function tt(Y,Ce){if(Pt(),hi.getCollapsed()){let nt,ft=document.getElementsByClassName("fd-app__sidebar")[0];if(Y.metaInfo&&Y.metaInfo.label?nt=Y.metaInfo.label:nt=Y.category&&Y.category.label||Y.category,ft&&!ft.classList.contains("isBlocked")&&(ft.className+=" isBlocked"),nt===y){t(8,y=hi.closePopupMenu(y));return}t(8,y=nt),ft?ze(Ce):$&&Do(Ce)}}function ze(Y){const Ce=Y.closest(".fd-nested-list__item"),nt=Ce.offsetTop,ft=Hi.getShellbar().offsetHeight;let Tt;Hi.isCustomLuigiContainer()?Tt=Hi.getCustomLuigiContainer().clientHeight:Tt=window.innerHeight,setTimeout(()=>{const tn=Ce.getElementsByClassName("lui-flyout-sublist")[0],In=Y.closest(".lui-fd-side-nav-wrapper").scrollTop,ei=nt+ft-In,ti=Tt-nt-Ce.offsetHeight+In-ft;ei+tn.offsetHeight>=Tt?(tn.style.bottom=ti+"px",tn.className+=" has-bottom-position"):tn.style.top=ei-ft+"px"})}function Ze(){if(g){let Y=hi.onResize(y);t(6,v=Y.isSemiCollapsed),t(8,y=Y.selectedCategory)}}function ut(Y){if(Y.code==="ArrowRight"){const nt=Ae.getCurrentMicrofrontendIframe();nt&&nt.contentWindow&&nt.contentWindow.focus()}}function me(Y){let Ce=H?H.parent:void 0;for(;Ce;){if(Ce.pathSegment&&Ce.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ce});return}Ce=Ce.parent}console.warn('Could not resolve "up"-node, redirecting to root'),$_.navigate("/")}function it(Y,Ce){hi.getCollapsed()||t(9,P=oe.storeExpandedState(Y.metaInfo.categoryUid,Ce,E))}function Pt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function en(){t(8,y=hi.closePopupMenu(y)),Pt()}function xn(Y){Y&&Y.code==="Escape"&&en()}function Lt(){t(6,v=hi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),Ht()}function Te(Y){const Ce=Y.code;(Ce==="Enter"||Ce==="Space")&&Lt()}function ht(Y,Ce){(Y.code==="Enter"||Y==="Space")&&tt(Ce,Y.currentTarget)}function lt(Y,Ce){Y.keyCode===mi&&oe.handleNavAnchorClickedWithoutMetaKey(Y)&&Ne(Ce)}function Ht(){if(!oe.getBurgerTooltipConfig())return;const[Y,Ce]=oe.getBurgerTooltipConfig(),nt=document.body.classList.contains("lui-semiCollapsible");Y&&Ce&&nt&&t(11,V=document.body.classList.contains("semiCollapsed")?Y:Ce)}function Jt(Y,Ce){return an(Y,Ce)?Y.metaInfo.titleCollapseButton?n(Y.metaInfo.titleCollapseButton):void 0:Y.metaInfo.titleExpandButton?n(Y.metaInfo.titleExpandButton):void 0}function kn(Y){if(!Y)return;const Ce=Y.target.parentElement;Ce.getAttribute("aria-expanded")==="true"?Ce.setAttribute("aria-expanded","false"):(en(),Ce.setAttribute("aria-expanded","true")),Y.stopPropagation()}const on=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},Qt=(Y,Ce)=>lt(Ce,Y),pl=Y=>it(Y,!an(Y,P)),Zt=Y=>it(Y,!an(Y,P)),un=(Y,Ce)=>ht(Ce,Y),vi=(Y,Ce)=>tt(Y,Ce.currentTarget),wi=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},mn=(Y,Ce)=>lt(Ce,Y),ki=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},Si=(Y,Ce)=>lt(Ce,Y);function Ci(Y){Ye[Y?"unshift":"push"](()=>{G=Y,t(24,G)})}const yi=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},Pi=(Y,Ce)=>lt(Ce,Y),Ni=Y=>it(Y,!an(Y,P)),ml=Y=>it(Y,!an(Y,P)),bl=(Y,Ce)=>ht(Ce,Y),zi=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},qi=(Y,Ce)=>lt(Ce,Y),Ti=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},ui=(Y,Ce)=>lt(Ce,Y),vl=Y=>tt(Y,event.currentTarget),wl=(Y,Ce)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ce)&&Ne(Y)},kl=(Y,Ce)=>lt(Ce,Y),Gi=Y=>Lt(),Sl=Y=>Lt(),Cl=Y=>Te(Y);return i.$$set=Y=>{"children"in Y&&t(0,a=Y.children),"hideNavComponent"in Y&&t(1,o=Y.hideNavComponent),"footerText"in Y&&t(2,c=Y.footerText),"semiCollapsible"in Y&&t(41,g=Y.semiCollapsible),"semiCollapsibleButton"in Y&&t(3,d=Y.semiCollapsibleButton),"semiCollapsibleButtonStyle"in Y&&t(4,h=Y.semiCollapsibleButtonStyle),"pathData"in Y&&t(5,p=Y.pathData),"pathParams"in Y&&t(44,b=Y.pathParams),"virtualGroupPrefix"in Y&&t(14,m=Y.virtualGroupPrefix),"isSemiCollapsed"in Y&&t(6,v=Y.isSemiCollapsed),"selectedNode"in Y&&t(7,C=Y.selectedNode),"selectedCategory"in Y&&t(8,y=Y.selectedCategory),"expandedCategories"in Y&&t(9,P=Y.expandedCategories),"hasCategoriesWithIcon"in Y&&t(10,T=Y.hasCategoriesWithIcon),"sideNavAccordionMode"in Y&&t(42,E=Y.sideNavAccordionMode),"burgerTooltip"in Y&&t(11,V=Y.burgerTooltip),"navHeader"in Y&&t(12,I=Y.navHeader),"navParentNode"in Y&&t(43,H=Y.navParentNode),"sortedChildrenEntries"in Y&&t(13,se=Y.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const Y=Object.entries(a);Y.sort((Ce,nt)=>Ce[1].metaInfo.order-nt[1].metaInfo.order),t(13,se=Y)}},[a,o,c,d,h,p,v,C,y,P,T,V,I,se,m,Ne,tt,Ze,ut,me,it,en,q,ge,G,n,X,$,K,be,re,Ee,Be,ce,xn,Lt,Te,ht,lt,Jt,kn,g,E,H,b,ze,Do,on,Qt,pl,Zt,un,vi,wi,mn,ki,Si,Ci,yi,Pi,Ni,ml,bl,zi,qi,Ti,ui,vl,wl,kl,Gi,Sl,Cl]}class ip extends Ft{constructor(e){super(),Mt(this,e,CS,wS,Dt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:41,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:44,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:42,burgerTooltip:11,navHeader:12,navParentNode:43,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:45,calculateBTPNavFlyoutPosition:46,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[45]}get calculateBTPNavFlyoutPosition(){return Do}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const yS=i=>{pn.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),lp(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},PS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),lp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!PS(d,t[h+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Yr.getDocumentTitle()||r;i.set({title:r}),document.title=Nt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Ad(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Ed(i,e,t){const n=i.slice();return n[45]=e[t],n}function NS(i){let e,t,n,l,r=i[1]&&Rd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=te(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Rd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function TS(i){let e,t,n,l,r=i[1]&&Dd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=te(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Dd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Rd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function Dd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function Vd(i){let e,t,n,l=(!i[3]||i[4])&&Od(i),r=i[3]&&Md(i),a=i[12]&&i[5]&&jd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Md(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=jd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Od(i){let e;function t(r,a){return r[14]?LS:IS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),A(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&&L(e)}}}function IS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ie(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=te(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function LS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ie(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,g){A(c,e,g),w(e,t),w(t,l),a||(o=te(e,"click",i[32]),a=!0)},p(c,g){g[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),g[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function Md(i){let e,t,n,l,r,a,o,c,g,d,h;function p(y,P){return y[14]?ES:AS}let b=p(i),m=b(i),v=i[6]&&i[7]&&zd(i),C=i[9]&&i[9].length>0&&qd(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",g="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(h=te(t,"click",Wt(OS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=zd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=qd(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&g!==(g="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",g)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,h()}}}function AS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("button"),t=S("span"),l=Ie(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=te(e,"click",Wt(i[36])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function ES(i){let e,t,n,l=i[9]&&i[9].length===1&&Fd(i),r=i[9]&&i[9].length>1&&Ud(i),a=i[9].length>1&&!i[7]&&Wd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=Wd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Fd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ie(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Ud(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hd(Ed(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Ed(l,t,a);n[a]?n[a].p(o,r):(n[a]=Hd(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){_t(n,l),l&&L(e)}}}function Bd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g,d,h;return{c(){e=S("a"),t=S("span"),l=Ie(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(h=te(e,"click",yt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&g!==(g=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),d=!1,h()}}}function Hd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Bd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Bd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Wd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Ie(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=te(e,"click",yt(i[35])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function zd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(g,d){A(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=te(t,"click",yt(i[16])),o=!0)},p(g,d){d[0]&524544&&l!==(l=g[19](g[8])+"")&&Le(r,l),d[0]&256&&a!==(a=g[22](g[8]))&&f(t,"data-testid",a)},d(g){g&&L(e),o=!1,c()}}}function qd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Kd(Ad(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Ad(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kd(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){_t(n,l),l&&L(e)}}}function RS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,g,d;function h(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=te(t,"click",h),g=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Le(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),g=!1,d()}}}function DS(i){let e,t=i[18]&&Gd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=Gd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Gd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new gr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function Kd(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return DS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return RS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Se()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function jd(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function VS(i){let e,t;function n(o,c){return o[14]?TS:NS}let l=n(i),r=l(i),a=i[2]&&Vd(i);return{c(){r.c(),e=W(),a&&a.c(),t=Se()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Vd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:We,o:We,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const OS=()=>{};function MS(i,e,t){let n;const l=jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:g}=e,{showSubTitle:d=!0}=e,{dropDownStates:h={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:T}=e,{pathData:E}=e,{addNavHrefForAnchor:V}=e,I,H,O=Ct("getUnsavedChangesModalPromise"),D=Ct("getTranslation");bi(i,D,me=>t(19,n=me));let q=Ct("store");const Q={closeDropDown:()=>{J("appSwitcherPopover")}},X=()=>({get:()=>({pathData:E,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:T,showMainAppEntry:p,hasApps:c,keepMainTitle:g,showSubTitle:d,hasLogo:a,logo:r}),set:me=>{me&&Object.getOwnPropertyNames(me).forEach(it=>{it==="pathData"?t(26,E=me.pathData):it==="appSwitcherItems"?t(9,v=me.appSwitcherItems):it==="itemRenderer"?t(10,C=me.itemRenderer):it==="pathParams"?t(11,y=me.pathParams):it==="selectedItem"?t(7,b=me.selectedItem):it==="title"?t(2,o=me.title):it==="defaultSubTitle"?t(25,T=me.defaultSubTitle):it==="subTitle"?t(12,P=me.subTitle):it==="defaultTitle"?t(8,m=me.defaultTitle):it==="subTitle"?t(12,P=me.subTitle):it==="showMainAppEntry"?t(6,p=me.showMainAppEntry):it==="hasApps"?t(3,c=me.hasApps):it==="keepMainTitle"?t(4,g=me.keepMainTitle):it==="showSubTitle"?t(5,d=me.showSubTitle):it==="hasLogo"&&t(1,a=me.hasLogo)})},store:q});xt(()=>{yS(X())}),zn(()=>{(!H||H!=E)&&(lp(X()),H=E)});function ge(me,it,Pt){return setTimeout(()=>{it&&C(me,it.children[Pt],Q)}),""}function $(me){O().then(()=>{st.navigateTo(ve.applyPathParams(me,y))},()=>{})}function G(){O().then(()=>{st.navigateTo("/")},()=>{})}function K(me){l("handleClick",{node:me}),J("appSwitcherPopover")}function J(me){l("toggleDropdownState",{name:me})}function he(me){return me.testId?me.testId:oe.prepareForTests(me.title||me)}function ne(me,it){if(me.link){const Pt=ve.applyPathParams(me.link,it);if(Pt.indexOf(":")!==0&&Pt.indexOf("/:")===-1)return!0}return!1}function se(me){return ve.getNodeHref(me)}function be(me){Ye[me?"unshift":"push"](()=>{r=me,t(0,r)})}const re=me=>{oe.handleNavAnchorClickedWithoutMetaKey(me)&&$("/")};function Ee(me){Ye[me?"unshift":"push"](()=>{r=me,t(0,r)})}const Be=()=>$("/"),ie=me=>{oe.handleNavAnchorClickedWithoutMetaKey(me)&&$("/")},ce=()=>$("/"),Ne=()=>J("appSwitcherPopover"),tt=()=>J("appSwitcherPopover"),ze=()=>J("appSwitcherPopover"),Ze=(me,it)=>{oe.handleNavAnchorClickedWithoutMetaKey(it)&&$(me.link)};function ut(me){Ye[me?"unshift":"push"](()=>{I=me,t(18,I)})}return i.$$set=me=>{"logo"in me&&t(0,r=me.logo),"hasLogo"in me&&t(1,a=me.hasLogo),"title"in me&&t(2,o=me.title),"hasApps"in me&&t(3,c=me.hasApps),"keepMainTitle"in me&&t(4,g=me.keepMainTitle),"showSubTitle"in me&&t(5,d=me.showSubTitle),"dropDownStates"in me&&t(13,h=me.dropDownStates),"showMainAppEntry"in me&&t(6,p=me.showMainAppEntry),"selectedItem"in me&&t(7,b=me.selectedItem),"defaultTitle"in me&&t(8,m=me.defaultTitle),"appSwitcherItems"in me&&t(9,v=me.appSwitcherItems),"itemRenderer"in me&&t(10,C=me.itemRenderer),"pathParams"in me&&t(11,y=me.pathParams),"subTitle"in me&&t(12,P=me.subTitle),"defaultSubTitle"in me&&t(25,T=me.defaultSubTitle),"pathData"in me&&t(26,E=me.pathData),"addNavHrefForAnchor"in me&&t(14,V=me.addNavHrefForAnchor)},[r,a,o,c,g,d,p,b,m,v,C,y,P,h,V,$,G,J,I,n,D,ge,he,ne,se,T,E,K,be,re,Ee,Be,ie,ce,Ne,tt,ze,Ze,ut]}class FS extends Ft{constructor(e){super(),Mt(this,e,MS,VS,Dt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function Jd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Yd(i){let e,t,n,l,r,a,o=i[0]&&Qd(i),c=(i[10]||i[11])&&nh(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){A(g,e,d),o&&o.m(e,null),A(g,t,d),A(g,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(g,d){g[0]?o?o.p(g,d):(o=Qd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=nh(g),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function Qd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?BS:US}let g=c(i),d=g(i),h=i[7].name&&Zd(i),p=i[7].description&&Xd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=xd(Jd(i,b,C));let v=i[12]&&eh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),h&&h.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),h&&h.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?h?h.p(C,y):(h=Zd(C),h.c(),h.m(n,l)):h&&(h.d(1),h=null),C[7].description?p?p.p(C,y):(p=Xd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=Jd(C,b,P);m[P]?m[P].p(T,y):(m[P]=xd(T),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=eh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),h&&h.d(),p&&p.d(),C&&L(r),C&&L(a),_t(m,C),v&&v.d()}}}function US(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ie(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function BS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Vn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&Vn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function Zd(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function Xd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function $d(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?WS:HS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function HS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Vn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&Vn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function WS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function xd(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&$d(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ie(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[te(t,"click",i[23]),te(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=$d(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Qe(d)}}}function eh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&th(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ie(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,h){A(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[te(e,"click",yt(i[5])),te(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=th(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),g&&g.d(),o=!1,Qe(c)}}}function th(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?qS:zS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function zS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),et(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function qS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function nh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ih(i),l=i[10]&&!i[8]&&lh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=ih(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=lh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function ih(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ie(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){A(c,e,g),w(e,t),w(t,l),a||(o=te(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function lh(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[te(e,"click",i[15]),te(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Qe(r)}}}function GS(i){let e,t=!i[1]&&Yd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Yd(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function KS(i,e,t){let n;const l=jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=Ct("store"),C=Ct("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");xt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function T(){cn.startAuthorization()}function E(ne){return oe.renderIconClassName(ne)}function V(ne){return oe.isOpenUIiconName(ne.icon)}function I(ne){return ne.testId?ne.testId:oe.prepareForTests(ne.label)}function H(ne){return ve.getNodeHref(ne)}function O(){b||(pn.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),be=se||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(be){const Ee=be.userSettingsProfileMenuEntry;re.settings={...hl.userSettingsProfileMenuEntry,...Ee}}re.logout={...hl.logout,...ne},t(11,h=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re),t(12,p=!!be)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function q(ne){y().then(()=>{if(ne.openNodeInModal){const se=ve.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else st.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ge():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){Yr.openUserSettings(),l("toggleDropdownState")}function ge(){cn.logout()}function $({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ne=>{oe.handleNavAnchorClickedWithoutMetaKey(ne)},J=ne=>q(ne),he=ne=>$(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,q,Q,X,$,o,c,g,d,h,p,n,C,T,E,V,I,H,O,D,ge,K,J,he]}class jS extends Ft{constructor(e){super(),Mt(this,e,KS,GS,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function rh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ah(i){let e,t,n,l,r,a=i[0]&&sh(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=uh(rh(i,o,h));let g=i[12]&&fh(i),d=(i[10]||i[11])&&dh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let h=0;h<c.length;h+=1)c[h].c();l=W(),g&&g.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(h,p){A(h,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),d&&d.m(t,null)},p(h,p){if(h[0]?a?a.p(h,p):(a=sh(h),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=h[9].items;let b;for(b=0;b<o.length;b+=1){const m=rh(h,o,b);c[b]?c[b].p(m,p):(c[b]=uh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=fh(h),g.c(),g.m(t,r)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=dh(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&L(e),a&&a.d(),_t(c,h),g&&g.d(),d&&d.d()}}}function sh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ie(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&L(e)}}}function oh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?YS:JS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function JS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function YS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function uh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&oh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ie(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[te(t,"click",i[23]),te(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=oh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Qe(d)}}}function fh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&ch(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ie(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[te(e,"click",yt(i[5])),te(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=ch(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,Qe(g)}}}function ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?ZS:QS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function QS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ZS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function dh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&hh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=hh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function hh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&gh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ie(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=te(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=gh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,g()}}}function gh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?$S:XS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function XS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function $S(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function _h(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=te(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function xS(i){let e,t=!i[1]&&ah(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ah(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function eC(i,e,t){let n;const l=jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=Ct("store"),C=Ct("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");xt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function T(){cn.startAuthorization()}function E(ne){return oe.renderIconClassName(ne)}function V(ne){return oe.isOpenUIiconName(ne.icon)}function I(ne){return ne.testId?ne.testId:oe.prepareForTests(ne.label)}function H(ne){return ve.getNodeHref(ne)}function O(){b||(pn.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),be=se||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!be);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ee=be.userSettingsProfileMenuEntry;re.settings={...hl.userSettingsProfileMenuEntry,...Ee}}re.logout={...hl.logout,...ne},t(11,h=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function q(ne){y().then(()=>{if(ne.openNodeInModal){const se=ve.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else st.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ge():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){Yr.openUserSettings(),l("toggleDropdownState")}function ge(){cn.logout()}function $({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ne=>{oe.handleNavAnchorClickedWithoutMetaKey(ne)},J=ne=>q(ne),he=ne=>$(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,q,Q,X,$,o,c,g,d,h,p,n,C,T,E,V,I,H,O,D,ge,K,J,he]}class rp extends Ft{constructor(e){super(),Mt(this,e,eC,xS,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function ph(i,e,t){const n=i.slice();return n[11]=e[t],n}function mh(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=wh(ph(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const g=ph(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=wh(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function bh(i){let e,t,n,l,r,a,o,c,g=i[3](i[11])+"",d,h,p=i[4](i[11]),b,m,v,C,y,P;function T(O,D){return D&6&&(n=null),n==null&&(n=!!O[2](O[11])),n?nC:tC}let E=T(i,-1),V=E(i);r=new Tn({props:{node:i[11]}});let I=p&&vh(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ie(g),h=W(),I&&I.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=oe.getTestId(i[11]))},m(O,D){A(O,e,D),w(e,t),V.m(t,null),w(t,l),Oe(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,h),I&&I.m(o,null),w(e,b),C=!0,y||(P=te(e,"click",H),y=!0)},p(O,D){i=O,E===(E=T(i,D))&&V?V.p(i,D):(V.d(1),V=E(i),V&&(V.c(),V.m(t,l)));const q={};D&2&&(q.node=i[11]),r.$set(q),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Le(d,g),D&18&&(p=i[4](i[11])),p?I?I.p(i,D):(I=vh(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||D&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||D&2&&v!==(v=oe.getTestId(i[11])))&&f(e,"data-testid",v)},i(O){C||(R(r.$$.fragment,O),C=!0)},o(O){U(r.$$.fragment,O),C=!1},d(O){O&&L(e),V.d(),Me(r),I&&I.d(),y=!1,P()}}}function tC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!et(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function nC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function vh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function wh(i){let e,t,n=i[11].label&&bh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=bh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function iC(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E=i[1]&&mh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ie(i[0]),c=W(),g=S("div"),d=S("div"),h=S("ul"),E&&E.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,g),w(g,d),w(d,h),E&&E.m(h,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(T=[te(C,"click",i[8]),te(e,"click",Wt(lC))],P=!0)},p(V,[I]){(!y||I&1)&&Le(o,V[0]),V[1]?E?(E.p(V,I),I&2&&R(E,1)):(E=mh(V),E.c(),R(E,1),E.m(h,null)):E&&(we(),U(E,1,1,()=>{E=null}),ke())},i(V){y||(R(E),y=!0)},o(V){U(E),y=!1},d(V){V&&L(e),E&&E.d(),P=!1,Qe(T)}}}const lC=()=>{};function rC(i,e,t){const n=jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return oe.renderIconClassName(m)}function h(m){n("listClick",m)}function p(m){Ul.call(this,i,m)}const b=m=>h(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,r,a,o,c,g,h,d,p,b]}class ap extends Ft{constructor(e){super(),Mt(this,e,rC,iC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:aC}=_l;function kh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Sh(i){let e,t,n,l=i[0]&&Ch(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Ch(r),l.c(),R(l,1),l.m(t,null)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Ch(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ph(kh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const g=kh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ph(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function yh(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,h,p,b,m,v,C;function y(V,I){return I&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?oC:sC}let P=y(i,-1),T=P(i);a=new Tn({props:{node:i[7]}});function E(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ie(g),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",h=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=oe.getTestId(i[7]))},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,r),Oe(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[te(t,"click",i[13]),te(e,"click",E)],v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const H={};I&1&&(H.node=i[7]),a.$set(H),(!m||I&1)&&g!==(g=i[11](i[7])+"")&&Le(d,g),(!m||I&5&&h!==(h=i[2]?i[12](i[7]):void 0))&&f(t,"href",h),(!m||I&1&&b!==(b=oe.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Me(a),v=!1,Qe(C)}}}function sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),et(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function oC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Ph(i){let e,t,n=i[7].label&&yh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Nh(i){let e,t;return e=new ap({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function uC(i){let e,t,n,l,r,a=!i[1]&&Sh(i),o=i[1]&&Nh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Se()},m(c,g){a&&a.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(r=te(aC,"resize",ss),l=!0)},p(c,[g]){c[1]?a&&(we(),U(a,1,1,()=>{a=null}),ke()):a?(a.p(c,g),g&2&&R(a,1)):(a=Sh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Nh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(we(),U(o,1,1,()=>{o=null}),ke())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function ss(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function fC(i,e,t){const n=jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Ct("getUnsavedChangesModalPromise"),g=Ct("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:I=>{}});xt(async()=>{ss()}),zn(async()=>{r||t(0,r=await Bt.getChildren(a)),t(0,r)});function b(I){c().then(()=>{if(I.openNodeInModal){const H=ve.buildRoute(I,`/${I.pathSegment}`);g(H,I.openNodeInModal===!0?{}:I.openNodeInModal)}else st.handleRouteClick(I,p())},()=>{}),v()}function m(I){b(I.detail)}function v(){n("close")}function C(I){return oe.isOpenUIiconName(I.icon)}function y(I){return oe.renderIconClassName(I)}function P(I){return Nt.getTranslation(I.label)}function T(I){return ve.getNodeHref(I,o)}const E=I=>{oe.handleNavAnchorClickedWithoutMetaKey(I)},V=I=>b(I);return i.$$set=I=>{"isMobile"in I&&t(1,l=I.isMobile),"children"in I&&t(0,r=I.children),"node"in I&&t(7,a=I.node),"addNavHrefForAnchor"in I&&t(2,d=I.addNavHrefForAnchor)},[r,l,d,b,m,v,ss,a,h,C,y,P,T,E,V]}class sp extends Ft{constructor(e){super(),Mt(this,e,fC,uC,Dt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return ss}}const wn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(st.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=wn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!wn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=wn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await wn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await wn.generateSwitcherNav(e,t)}};function Th(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ih(i,e,t){const n=i.slice();return n[20]=e[t],n}function Lh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ah(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Rh(Lh(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 svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Lh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Rh(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&&L(e),_t(n,l)}}}function Eh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[te(t,"click",yt(mC)),te(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Qe(d)}}}function Rh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Eh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Eh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Dh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
56
56
  <div class="fd-busy-indicator__circle"></div>
57
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Mh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Ah(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ah(l,t,a);n[a]?n[a].p(o,r):(n[a]=Fh(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){ht(n,l),l&&L(e)}}}function dC(i){return{c:We,m:We,p:We,d:We}}function hC(i){let e,t,n,l,r;function a(d,h){return d[2]?_C:gC}let o=a(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=oe.getTestId(i[20]))},m(d,h){A(d,e,h),c.m(e,null),A(d,n,h),l||(r=te(e,"click",g),l=!0)},p(d,h){i=d,o===(o=a(i))&&c?c.p(i,h):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),h&8&&t!==(t=oe.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function gC(i){let e,t,n=i[25]+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,h){A(d,e,h),w(e,t),w(t,l),c||(g=te(e,"click",i[15]),c=!0)},p(d,h){h&138&&n!==(n=d[25]+"")&&Ae(l,n),h&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),h&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),h&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,g()}}}function _C(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function pC(i){return{c:We,m:We,p:We,d:We}}function Fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:pC,then:hC,catch:dC,value:25};return is(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Ce(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&is(t,n)||G_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hh(Lh(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-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Lh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Hh(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&&L(e),ht(n,l)}}}function Bh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[te(t,"click",i[17]),te(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ye(d)}}}function Hh(i){let e,t=i[20].position==="bottom"&&Bh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Bh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function mC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Rh(i),c=i[3]&&i[3].length===0&&i[10]&&Oh(),g=i[3]&&i[3].length&&Mh(i),d=i[0]&&i[0].length&&Uh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),g&&g.c(),r=W(),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-3pems2")},m(h,p){A(h,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),d&&d.m(e,null)},p(h,[p]){h[0]&&h[0].length?o?o.p(h,p):(o=Rh(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[10]?c||(c=Oh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Mh(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Uh(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:We,o:We,d(h){h&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const bC=()=>{};function vC(i,e,t){let n,l=We,r=()=>(l(),l=Mo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(D){y("onActionClick",{node:D})}function T(D,q){y("goToOption",{option:D,selectedOption:q})}const E=D=>P(D),V=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},I=D=>T(D,h),H=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},O=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,h=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,g,d,h,p,b,m,v,C,P,T,n,E,V,I,H,O]}class fp extends Vt{constructor(e){super(),Dt(this,e,vC,mC,At,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Wh(i){let e,t,n,l=!i[9]&&zh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&qh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(ke(),U(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=zh(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=qh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function zh(i){let e,t,n,l,r,a,o,c,g,d;function h(m,v){return m[10]&&m[2]!==m[5].defaultLabel?kC:wC}let p=h(i),b=p(i);return a=new fp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,g||(d=te(n,"click",Ut(EC)),g=!0)},p(m,v){p===(p=h(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){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Fe(a),g=!1,d()}}}function wC(i){let e,t,n,l,r,a;function o(d,h){return d[2]&&d[7]?CC:SC}let c=o(i),g=c(i);return{c(){e=S("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,h){A(d,e,h),g.m(e,null),r||(a=te(e,"click",i[29]),r=!0)},p(d,h){c===(c=o(d))&&g?g.p(d,h):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),h[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),h[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),h[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),g.d(),r=!1,a()}}}function kC(i){let e,t,n,l,r,a,o;function c(h,p){return h[2]&&h[7]?TC:NC}let g=c(i),d=g(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,p){A(h,e,p),d.m(e,null),a||(o=te(e,"click",wt(i[28])),a=!0)},p(h,p){g===(g=c(h))&&d?d.p(h,p):(d.d(1),d=g(h),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=h[2]?h[19](h[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!h[15])&&f(e,"aria-disabled",r)},d(h){h&&L(e),d.d(),a=!1,o()}}}function SC(i){let e,t;function n(a,o){return a[4]?yC:PC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(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&&L(e),a&&L(t)}}}function CC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function PC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function NC(i){let e,t;function n(a,o){return a[4]?IC:LC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(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&&L(e),a&&L(t)}}}function TC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function IC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function LC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function qh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T=!i[4]&&Gh(i),E=i[4]&&Kh(i);return d=new fp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),T&&T.c(),o=W(),E&&E.c(),c=W(),g=S("div"),Ue(d.$$.fragment),h=W(),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(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(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(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),T&&T.m(a,null),w(a,o),E&&E.m(a,null),w(t,c),w(t,g),Me(d,g,null),w(t,h),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[te(v,"click",i[13]),te(e,"click",Ut(RC))],y=!0)},p(V,I){V[4]?T&&(T.d(1),T=null):T?T.p(V,I):(T=Gh(V),T.c(),T.m(a,o)),V[4]?E?E.p(V,I):(E=Kh(V),E.c(),E.m(a,null)):E&&(E.d(1),E=null);const H={};I[0]&1&&(H.actions=V[0]),I[0]&32&&(H.config=V[5]),I[0]&64&&(H.customOptionsRenderer=V[6]),I[0]&2&&(H.options=V[1]),I[0]&16&&(H.selectedLabel=V[4]),I[0]&4&&(H.selectedOption=V[2]),I[0]&512&&(H.isMobile=V[9]),I[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),E&&E.d(),Fe(d),y=!1,Ye(P)}}}function Gh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function Kh(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function AC(i){let e,t,n=i[3]&&Wh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Wh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const EC=()=>{},RC=()=>{};function DC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:E}=e,V,I=vt("getUnsavedChangesModalPromise"),H=vt("store"),O=vt("getTranslation");wi(i,O,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:q}=e,Z;$t(async()=>{dn.doOnStoreChange(H,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,h=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=lt.getCurrentPath();t(20,m=re.fallbackLabelResolver),vn.resetFallbackLabelCache(),re.lazyloadOptions||await x(),vn.isContextSwitcherDetailsView(Re,re.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>G(re)),On.addEventListener("message",re=>{Ee.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),x())}),t(21,E=g.defaultLabel)}),qn(()=>{D!==T&&(D=T,x()),t(14,Z=o.contextSwitcherPopover||!1)});function $(re,Re,ze){return re?Promise.resolve(re):vn.getFallbackLabel(Re,ze)}function pe(re){return we.getNodeHref(re,v)}async function x(){t(1,h=await vn.fetchOptions(h));const re=g||{},Re=re.parentNodePath,ze=re.fallbackLabelResolver,ne=lt.getCurrentPath();t(2,b=await vn.getSelectedOption(ne,h,Re)),t(4,c=await vn.getSelectedLabel(ne,h,Re,ze)),await vn.getSelectedNode(ne,h,Re),V=re.preserveSubPathOnSwitch}async function G(re){const Re=g||{},ze=Re.parentNodePath,ne=Re.fallbackLabelResolver;t(2,b=await vn.getSelectedOption(re,h,ze)),t(4,c=await vn.getSelectedLabel(re,h,ze,ne)),await vn.getSelectedNode(re,h,ze)}async function K(re){let Re=re.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{J(Re.link)}),P&&r("toggleDropdownState"))}function J(re){I().then(()=>{lt.navigateTo(re)},()=>{})}function ge(re){let Re=re.detail.option,ze=re.detail.selectedOption;I().then(()=>{V&&ze?lt.navigateTo(vn.getNodePathFromCurrentPath(Re,ze)):lt.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&x()}const se=()=>{n&&ie()},ve=()=>{n&&ie()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,g=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,h=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,T=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,E=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,q=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||h&&h.length>1||!b)},[d,h,b,a,c,g,C,y,o,P,q,K,ge,ie,Z,n,l,O,$,pe,m,E,v,T,x,G,J,p,se,ve]}class cp extends Vt{constructor(e){super(),Dt(this,e,DC,AC,At,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:VC}=gl;function jh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Jh(i){let e,t,n,l=!i[2]&&Yh(i),r=i[2]&&i[3].productSwitcherPopover&&xh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Yh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=xh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Yh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(H,O){return O&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?MC:OC}let T=P(i,-1),E=T(i),V=i[0],I=[];for(let H=0;H<V.length;H+=1)I[H]=$h(jh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),E.c(),d=W(),h=S("div"),p=S("div"),b=S("ul");for(let H=0;H<I.length;H+=1)I[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=$n(i[9])+" svelte-156h3yc"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",v=!i[3].productSwitcherPopover),f(h,"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(H,O){A(H,e,O),w(e,t),w(t,n),w(n,l),w(l,r),E.m(r,null),w(n,d),w(n,h),w(h,p),w(p,b);for(let D=0;D<I.length;D+=1)I[D].m(b,null);C||(y=[te(r,"click",Ut(i[7])),te(l,"click",Ut(GC))],C=!0)},p(H,O){if(T===(T=P(H,O))&&E?E.p(H,O):(E.d(1),E=T(H),E&&(E.c(),E.m(r,null))),O&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=H[1].label)&&f(r,"title",c),O&2&&g!==(g=H[14](H[1]))&&f(r,"data-testid",g),O&64561){V=H[0];let D;for(D=0;D<V.length;D+=1){const q=jh(H,V,D);I[D]?I[D].p(q,O):(I[D]=$h(q),I[D].c(),I[D].m(b,null))}for(;D<I.length;D+=1)I[D].d(1);I.length=V.length}O&512&&m!==(m=$n(H[9])+" svelte-156h3yc")&&f(p,"class",m),O&8&&v!==(v=!H[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(H){H&&L(e),E.d(),ht(I,H),C=!1,Ye(y)}}}function OC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!Xe(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&&L(e)}}}function MC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Qh(i){let e,t,n,l,r,a;function o(h,p){return h[4]?UC:FC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){A(h,e,p),g.m(e,null),w(e,t),r||(a=te(e,"click",d),r=!0)},p(h,p){i=h,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(h){h&&L(e),g.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?HC:BC}let h=d(i,-1),p=h(i),b=g&&Zh(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Le(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){h===(h=d(m,v))&&p?p.p(m,v):(p.d(1),p=h(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ae(o,a),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Zh(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function UC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,b;function m(P,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?zC:WC}let v=m(i,-1),C=v(i),y=d&&Xh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Le(o),g=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",h=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,T){A(P,e,T),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(b=te(e,"click",i[16]),p=!0)},p(P,T){v===(v=m(P,T))&&C?C.p(P,T):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),T&1&&(d=P[13](P[22])),d?y?y.p(P,T):(y=Xh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function BC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(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&&L(e)}}}function HC(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-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Zh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function WC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(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&&L(e)}}}function zC(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-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $h(i){let e,t=i[22].label&&Qh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Qh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xh(i){let e,t;return e=new op({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Ue(e.$$.fragment)},m(n,l){Me(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){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function qC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Jh(i);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=te(VC,"resize",us),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=Jh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const GC=()=>{};function KC(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=vt("store"),g=vt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;$t(async()=>{dn.doOnStoreChange(c,async()=>{t(1,a=oe.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),T()),us()},["navigation.productSwitcher"])});function p(O){g().then(()=>{lt.navigateToLink(O)},()=>{}),m()}function b(O){p(O.detail)}function m(){n("toggleDropdownState")}function v(O){return oe.renderIconClassName(O)}function C(O){return oe.isOpenUIiconName(O.icon)}function y(O){return yt.getTranslation(O.label)}function P(O){return yt.getTranslation(O.subTitle)}function T(){oe.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function E(O){return O.testId?O.testId:oe.prepareForTests(O.label)}function V(O){return we.getNodeHref(O)}const I=O=>{oe.handleNavAnchorClickedWithoutMetaKey(O)},H=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,a=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,h=O.addNavHrefForAnchor)},[l,a,r,o,h,p,b,m,us,d,v,C,y,P,E,V,I,H]}class dp extends Vt{constructor(e){super(),Dt(this,e,KC,qC,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 us}}function eg(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function jC(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 fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[18](e),e.focus(),t||(n=te(e,"keyup",i[17]),t=!0)},p:We,d(l){l&&L(e),i[18](null),t=!1,n()}}}function JC(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 fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:We,d(t){t&&L(e)}}}function YC(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[22](e)},p:We,d(t){t&&L(e),i[22](null)}}}function QC(i){let e,t,n,l=i[5]&&tg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[0])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=tg(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&&L(e),l&&l.d()}}}function tg(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=ng(eg(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=eg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ng(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&&L(e),ht(n,l),i[21](null)}}}function ZC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function XC(i){let e,t,n,l=i[30].label+"",r,a,o,c=i[30].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Le(l),a=W(),o=S("div"),g=Le(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=te(e,"click",wt(xC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Ae(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function ng(i){let e,t,n,l;function r(d,h){return d[9]?ZC:XC}let a=r(i),o=a(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[te(e,"click",c),te(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ye(l)}}}function $C(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(O,D){return O[7]&&O[7].disableInputHandlers?JC:jC}let T=P(i),E=T(i);function V(O,D){return O[8]?YC:QC}let I=V(i),H=I(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),E.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),h=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,l),E.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(O,d,D),A(O,h,D),w(h,p),w(p,b),w(b,m),C||(y=[te(window,"click",i[11]),te(window,"blur",i[11]),te(n,"click",Ut(e8)),te(b,"click",i[6]),te(p,"click",Ut(t8))],C=!0)},p(O,D){T===(T=P(O))&&E?E.p(O,D):(E.d(1),E=T(O),E&&(E.c(),E.m(l,r))),I===(I=V(O))&&H?H.p(O,D):(H.d(1),H=I(O),H&&(H.c(),H.m(n,null))),D[0]&16&&c!==(c=!O[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(O[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!O[4])&&f(b,"aria-expanded",v)},i:We,o:We,d(O){O&&L(e),E.d(),H.d(),O&&L(d),O&&L(h),C=!1,Ye(y)}}}const xC=()=>{},e8=()=>{},t8=()=>{};function n8(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:J=>{p.searchProvider.onSearchResultItemSelected(J)}};let p={},b,m;$t(async()=>{t(7,p=g);let J=a;const ge=C(p.searchProvider);ge&&(J.placeholder=ge),v()}),qn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(J){if(!J||!J.inputPlaceholder)return;const ge=yt.getCurrentLocale();if(le.isFunction(J.inputPlaceholder))return J.inputPlaceholder();if(typeof J.inputPlaceholder=="string"){const ie=yt.getTranslation(J.inputPlaceholder);return ie&&ie.trim().length>0?ie:J.inputPlaceholder}if(typeof J.inputPlaceholder=="object")return J.inputPlaceholder[ge]}function y(J,ge,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(J,ge.children[ie],h)}),""}function P(){d("closeSearchResult")}function T({keyCode:J}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&J===vi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&J===mi?p.searchProvider.onEscape():J===Wi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(J){let ge=c.children;if(ge)for(let ie=0;ie<ge.length;ie++){let{childNodes:se,nextSibling:ve,previousSibling:re}=ge[ie],Re;if(se[0].getAttribute("aria-selected")==="true"){J===Wi&&(Re=ve!==null?ve:ge[0]),J===Fl&&(Re=re!==null?re:ge[ge.length-1]),se[0].setAttribute("aria-selected","false"),Re.childNodes[0].setAttribute("aria-selected","true"),Re.focus();break}}}function V(){let J=c.children;if(J)for(let ge=0;ge<J.length;ge++){let ie=J[ge];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function I(J){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(J):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===mi&&p.searchProvider.onEscape()}function H(J,{keyCode:ge}){ge===vi&&p.searchProvider.onSearchResultItemSelected(J),ge===Fl||ge===Wi?E(ge):le.isFunction(p.searchProvider.onEscape)&&ge===mi&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function O(J){let ge=J.pathObject;ge.externalLink?lt.navigateToLink(ge):d("handleSearchNavigation",{node:ge})}function D(){a&&a.focus()}function q(){if(n?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const J=n===void 0?!0:!n;p.searchProvider.toggleSearch(a,J)}}const Z=J=>T(J);function $(J){Je[J?"unshift":"push"](()=>{a=J,t(1,a)})}const pe=(J,ge)=>I(J),x=(J,ge)=>H(J,ge);function G(J){Je[J?"unshift":"push"](()=>{c=J,t(3,c)})}function K(J){Je[J?"unshift":"push"](()=>{o=J,t(2,o)})}return i.$$set=J=>{"isSearchFieldVisible"in J&&t(4,n=J.isSearchFieldVisible),"searchResult"in J&&t(5,l=J.searchResult),"displaySearchResult"in J&&t(0,r=J.displaySearchResult),"inputElem"in J&&t(1,a=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(2,o=J.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in J&&t(3,c=J.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in J&&t(15,g=J.globalSearchConfig)},[r,a,o,c,n,l,q,p,b,m,y,P,T,I,H,g,O,Z,$,pe,x,G,K]}class i8 extends Vt{constructor(e){super(),Dt(this,e,n8,$C,At,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function ig(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function l8(i){let e,t,n,l,r,a,o,c,g,d,h;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),g=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(g,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[24](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,g,b),d||(h=[te(e,"keyup",i[23]),te(e,"input",i[25]),te(l,"click",i[18]),te(o,"click",i[16])],d=!0)},p:We,d(p){p&&L(e),i[24](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(g),d=!1,Ye(h)}}}function r8(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 fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function a8(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[29](e)},p:We,d(t){t&&L(e),i[29](null)}}}function s8(i){let e,t,n,l=i[4]&&lg(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-qeg9jv"),f(e,"aria-hidden",n=!i[0])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=lg(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&&L(e),l&&l.d()}}}function lg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=rg(ig(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=ig(l,t,a);n[a]?n[a].p(o,r):(n[a]=rg(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&&L(e),ht(n,l),i[28](null)}}}function o8(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function u8(i){let e,t,n,l=i[39].label+"",r,a,o,c=i[39].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Le(l),a=W(),o=S("div"),g=Le(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){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=te(e,"click",wt(c8)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Ae(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function rg(i){let e,t,n,l;function r(d,h){return d[10]?o8:u8}let a=r(i),o=a(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[te(e,"click",c),te(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ye(l)}}}function ag(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-qeg9jv")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[te(n,"click",i[6]),te(t,"click",Ut(h8))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Ye(o)}}}function sg(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Le(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(g,d){A(g,e,d),w(e,t),w(t,l),o||(c=te(t,"click",Ut(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Ae(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(g){g&&L(e),o=!1,c()}}}function f8(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(V,I){return V[8]&&V[8].disableInputHandlers?r8:l8}let m=b(i),v=m(i);function C(V,I){return V[9]?a8:s8}let y=C(i),P=y(i),T=!i[5]&&ag(i),E=i[5]&&sg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),T&&T.c(),g=W(),E&&E.c(),d=Ce(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,I),T&&T.m(V,I),A(V,g,I),E&&E.m(V,I),A(V,d,I),h||(p=[te(window,"click",i[14]),te(window,"blur",i[14]),te(n,"click",Ut(d8))],h=!0)},p(V,I){m===(m=b(V))&&v?v.p(V,I):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,I):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),I[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),I[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?T&&(T.d(1),T=null):T?T.p(V,I):(T=ag(V),T.c(),T.m(g.parentNode,g)),V[5]?E?E.p(V,I):(E=sg(V),E.c(),E.m(d.parentNode,d)):E&&(E.d(1),E=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),T&&T.d(V),V&&L(g),E&&E.d(V),V&&L(d),h=!1,Ye(p)}}}const c8=()=>{},d8=()=>{},h8=()=>{};function g8(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:ne=>{m.searchProvider.onSearchResultItemSelected(ne)}};let p=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=vt("getTranslation");wi(i,y,ne=>t(11,n=ne)),$t(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let ne=a;const ce=T(m.searchProvider);ce&&(ne.placeholder=ce),P(),Kf.handleVisibilityGlobalSearch();const Te=document.querySelector(".lui-global-search");Te&&new ResizeObserver(Be=>{Kf.handleVisibilityGlobalSearch()}).observe(Te)}),qn(()=>{t(8,m=g),P(),O()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function T(ne){if(!ne||!ne.inputPlaceholder)return;const ce=yt.getCurrentLocale();if(le.isFunction(ne.inputPlaceholder))return ne.inputPlaceholder();if(typeof ne.inputPlaceholder=="string"){const Te=yt.getTranslation(ne.inputPlaceholder);return Te&&Te.trim().length>0?Te:ne.inputPlaceholder}if(typeof ne.inputPlaceholder=="object")return ne.inputPlaceholder[ce]}function E(ne,ce,Te){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ne,ce.children[Te],h)}),""}function V(){d("closeSearchResult")}function I({keyCode:ne}){m?le.isFunction(m.searchProvider.onEnter)&&ne===vi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&ne===mi?m.searchProvider.onEscape():ne===Wi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function H(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function O(){a&&a.value}function D(){t(1,a.value="",a),V()}function q(ne){let ce=c.children;if(ce)for(let Te=0;Te<ce.length;Te++){let{childNodes:tt,nextSibling:Be,previousSibling:rt}=ce[Te],Pt;if(tt[0].getAttribute("aria-selected")==="true"){ne===Wi&&(Pt=Be!==null?Be:ce[0]),ne===Fl&&(Pt=rt!==null?rt:ce[ce.length-1]),tt[0].setAttribute("aria-selected","false"),Pt.childNodes[0].setAttribute("aria-selected","true"),Pt.focus();break}}}function Z(){let ne=c.children;if(ne)for(let ce=0;ce<ne.length;ce++){let Te=ne[ce];Te.childNodes[0].getAttribute("aria-selected")==="true"&&Te.childNodes[0].setAttribute("aria-selected","false")}}function $(ne){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ne):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===mi&&m.searchProvider.onEscape()}function pe(ne,{keyCode:ce}){ce===vi&&m.searchProvider.onSearchResultItemSelected(ne),ce===Fl||ce===Wi?q(ce):le.isFunction(m.searchProvider.onEscape)&&ce===mi&&(Z(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function x(ne){let ce=ne.pathObject;ce.externalLink?lt.navigateToLink(ce):d("handleSearchNavigation",{node:ce})}function G(){a&&a.focus()}function K(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const ne=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,ne)}}const J=ne=>I(ne);function ge(ne){Je[ne?"unshift":"push"](()=>{a=ne,t(1,a)})}const ie=()=>O(),se=(ne,ce)=>$(ne),ve=(ne,ce)=>pe(ne,ce);function re(ne){Je[ne?"unshift":"push"](()=>{c=ne,t(3,c)})}function Re(ne){Je[ne?"unshift":"push"](()=>{o=ne,t(2,o)})}const ze=()=>K();return i.$$set=ne=>{"searchResult"in ne&&t(4,l=ne.searchResult),"displaySearchResult"in ne&&t(0,r=ne.displaySearchResult),"inputElem"in ne&&t(1,a=ne.inputElem),"luigiCustomSearchRenderer__slot"in ne&&t(2,o=ne.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ne&&t(3,c=ne.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ne&&t(21,g=ne.globalSearchConfig),"isSearchFieldVisible"in ne&&t(5,b=ne.isSearchFieldVisible)},[r,a,o,c,l,b,K,p,m,v,C,n,y,E,V,I,H,O,D,$,pe,g,x,J,ge,ie,se,ve,re,Re,ze]}class _8 extends Vt{constructor(e){super(),Dt(this,e,g8,f8,At,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function og(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?m8:p8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function p8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Xe(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(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&&L(e)}}}function m8(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){A(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&&L(e)}}}function ug(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new xn({props:{node:i[0]}}),{c(){e=S("span"),n=Le(t),l=W(),Ue(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Fe(r)}}}function b8(i){let e,t,n,l=i[0].icon&&og(i),r=(!i[0].icon||i[0].showLabel)&&ug(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=og(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=ug(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function v8(i,e,t){let{node:n}=e;function l(o){return oe.isOpenUIiconName(o.icon)}function r(o){return oe.renderIconClassName(o)}function a(o){return oe.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Bo extends Vt{constructor(e){super(),Dt(this,e,v8,b8,At,{node:0})}}const{Boolean:hp,window:fg}=gl;function cg(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function dg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function w8(i){let e,t;return e=new sp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k8(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&hg(i);function v(I){i[56](I)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new US({props:C}),Je.push(()=>bt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&gg(i),P=(!i[0]||i[1])&&_g(i),T=(i[18]||i[7]&&i[29].length>0)&&mg(i),E=(i[0]||i[16])&&Dg(i),V=i[12]&&Vg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),g=W(),T&&T.c(),d=W(),E&&E.c(),h=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(I,H){A(I,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),T&&T.m(c,null),w(c,d),E&&E.m(c,null),w(c,h),V&&V.m(c,null),b=!0},p(I,H){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?m?m.p(I,H):(m=hg(I),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const O={};H[0]&536870912&&(O.pathData=I[29]),H[0]&1073741824&&(O.pathParams=I[30]),H[0]&134217728&&(O.addNavHrefForAnchor=I[27]),!r&&H[0]&64&&(r=!0,O.dropDownStates=I[6],mt(()=>r=!1)),l.$set(O),I[18]&&I[19]?y?(y.p(I,H),H[0]&786432&&R(y,1)):(y=gg(I),y.c(),R(y,1),y.m(e,o)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),!I[0]||I[1]?P?(P.p(I,H),H[0]&3&&R(P,1)):(P=_g(I),P.c(),R(P,1),P.m(c,g)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),I[18]||I[7]&&I[29].length>0?T?(T.p(I,H),H[0]&537133184&&R(T,1)):(T=mg(I),T.c(),R(T,1),T.m(c,d)):T&&(ke(),U(T,1,1,()=>{T=null}),Se()),I[0]||I[16]?E?(E.p(I,H),H[0]&65537&&R(E,1)):(E=Dg(I),E.c(),R(E,1),E.m(c,h)):E&&(ke(),U(E,1,1,()=>{E=null}),Se()),I[12]?V?(V.p(I,H),H[0]&4096&&R(V,1)):(V=Vg(I),V.c(),R(V,1),V.m(c,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(I[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(I){b||(R(l.$$.fragment,I),R(y),R(P),R(T),R(E),R(V),b=!0)},o(I){U(l.$$.fragment,I),U(y),U(P),U(T),U(E),U(V),b=!1},d(I){I&&L(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),T&&T.d(),E&&E.d(),V&&V.d()}}}function hg(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-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=te(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function gg(i){let e,t,n,l,r,a,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function h(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new _8({props:m}),Je.push(()=>bt(t,"isSearchFieldVisible",g,i[20])),Je.push(()=>bt(t,"searchResult",d,i[24])),Je.push(()=>bt(t,"displaySearchResult",h,i[23])),Je.push(()=>bt(t,"inputElem",p,i[21])),Je.push(()=>bt(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],mt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],mt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],mt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],mt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],mt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t)}}}function _g(i){let e,t,n,l,r=i[18]&&!i[19]&&pg(i);function a(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new cp({props:o}),Je.push(()=>bt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,g){r&&r.m(c,g),A(c,e,g),Me(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=pg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),U(r,1,1,()=>{r=null}),Se());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],mt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Fe(t,c)}}}function pg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function h(m){i[68](m)}function p(m){i[69](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[22]),e=new i8({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[20])),Je.push(()=>bt(e,"searchResult",g,i[24])),Je.push(()=>bt(e,"displaySearchResult",d,i[23])),Je.push(()=>bt(e,"inputElem",h,i[21])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],mt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],mt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],mt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],mt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function mg(i){let e,t,n,l=i[7]&&i[29].length>0&&bg(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Sg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=bg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),U(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=Sg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function bg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=kg(dg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=dg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=kg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function vg(i){let e,t,n,l;const r=[C8,S8],a=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),U(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(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){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function S8(i){let e,t,n,l,r;const a=[P8,y8],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){A(g,e,d),o[t].m(e,null),w(e,l),r=!0},p(g,d){let h=t;t=c(g),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){g&&L(e),o[t].d()}}}function C8(i){let e=i[106].visibleChildren.filter(Og).length>0,t,n,l=e&&wg(i);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Og).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=wg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function y8(i){let e,t,n,l,r,a,o,c,g,d,h;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Bo({props:b}),Je.push(()=>bt(t,"node",p,i[106])),r=new Pn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"title",a=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=oe.getTestId(i[106]))},m(v,C){A(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),g=!0,d||(h=te(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],mt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!g||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=oe.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),g=!1},d(v){v&&L(e),Fe(t),Fe(r),d=!1,h()}}}function P8(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new Bo({props:m}),Je.push(()=>bt(t,"node",b,i[106])),r=new Pn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"href",a=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=oe.getTestId(i[106]))},m(C,y){A(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,h||(p=te(e,"click",v),h=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],mt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[106]),r.$set(T),(!d||y[0]&128&&a!==(a=i[49](i[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=oe.getTestId(i[106])))&&f(e,"data-testid",g)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Fe(t),Fe(r),h=!1,p()}}}function wg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(O){i[75](O,i[106],i[109],i[108])}let I={};i[106]!==void 0&&(I.node=i[106]),r=new Bo({props:I}),Je.push(()=>bt(r,"node",V,i[106])),c=new Pn({props:{node:i[106]}});function H(){return i[76](i[108])}return v=new up({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=oe.getTestId(i[106])),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[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,T||(E=[te(l,"click",H),te(n,"click",Ut(H8))],T=!0)},p(O,D){i=O;const q={};!a&&D[0]&128&&(a=!0,q.node=i[106],mt(()=>a=!1)),r.$set(q);const Z={};D[0]&128&&(Z.node=i[106]),c.$set(Z),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&h!==(h=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",h),(!P||D[0]&128&&p!==(p=oe.getTestId(i[106])))&&f(l,"data-testid",p);const $={};D[0]&128&&($.node=i[106]),D[0]&1073741824&&($.pathParams=i[30]),D[0]&134217728&&($.addNavHrefForAnchor=i[27]),v.$set($),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(O){P||(R(r.$$.fragment,O),R(c.$$.fragment,O),R(v.$$.fragment,O),P=!0)},o(O){U(r.$$.fragment,O),U(c.$$.fragment,O),U(v.$$.fragment,O),P=!1},d(O){O&&L(e),Fe(r),Fe(c),Fe(v),T=!1,Ye(E)}}}function kg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&vg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=vg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Sg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H,O;g=new Pn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&Cg(i),q=i[45]&&(!i[0]||i[1])&&yg(i),Z=i[7]&&Pg(i),$=i[12]&&Lg(i),pe=i[12]&&Ag(i),x=i[14]&&Eg(i),G=(!i[0]||i[1])&&Rg(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=W(),Ue(g.$$.fragment),h=W(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=W(),q&&q.c(),C=W(),Z&&Z.c(),y=W(),$&&$.c(),T=W(),pe&&pe.c(),E=W(),x&&x.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),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-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,J){A(K,e,J),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(g,a,null),w(n,h),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),q&&q.m(m,null),w(m,C),Z&&Z.m(m,null),w(m,y),$&&$.m(m,null),w(n,T),pe&&pe.m(n,null),w(n,E),x&&x.m(n,null),w(n,V),G&&G.m(n,null),I=!0,H||(O=[te(a,"click",i[81]),te(l,"click",Ut(W8))],H=!0)},p(K,J){const ge={};J[0]&2048&&(ge.node=K[11]),g.$set(ge),(!I||J[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]?D?D.p(K,J):(D=Cg(K),D.c(),D.m(m,v)):D&&(D.d(1),D=null),K[45]&&(!K[0]||K[1])?q?q.p(K,J):(q=yg(K),q.c(),q.m(m,C)):q&&(q.d(1),q=null),K[7]?Z?(Z.p(K,J),J[0]&128&&R(Z,1)):(Z=Pg(K),Z.c(),R(Z,1),Z.m(m,y)):Z&&(ke(),U(Z,1,1,()=>{Z=null}),Se()),K[12]?$?$.p(K,J):($=Lg(K),$.c(),$.m(m,null)):$&&($.d(1),$=null),(!I||J[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?pe?(pe.p(K,J),J[0]&4096&&R(pe,1)):(pe=Ag(K),pe.c(),R(pe,1),pe.m(n,E)):pe&&(ke(),U(pe,1,1,()=>{pe=null}),Se()),K[14]?x?(x.p(K,J),J[0]&16384&&R(x,1)):(x=Eg(K),x.c(),R(x,1),x.m(n,V)):x&&(ke(),U(x,1,1,()=>{x=null}),Se()),!K[0]||K[1]?G?(G.p(K,J),J[0]&3&&R(G,1)):(G=Rg(K),G.c(),R(G,1),G.m(n,null)):G&&(ke(),U(G,1,1,()=>{G=null}),Se())},i(K){I||(R(g.$$.fragment,K),R(Z),R(pe),R(x),R(G),I=!0)},o(K){U(g.$$.fragment,K),U(Z),U(pe),U(x),U(G),I=!1},d(K){K&&L(e),Fe(g),D&&D.d(),q&&q.d(),Z&&Z.d(),$&&$.d(),pe&&pe.d(),x&&x.d(),G&&G.d(),H=!1,Ye(O)}}}function Cg(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-p1ljc7"></i>
58
- <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){A(r,e,a),w(e,t),n||(l=te(t,"click",Ut(i[82])),n=!0)},p:We,d(r){r&&L(e),n=!1,l()}}}function yg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Le(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){A(h,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=te(t,"click",Ut(i[32])),g=!0)},p(h,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(h[45].icon&&h[47](h[45])?h[46](h[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(h[43]?h[43]:h[44])+"")&&Ae(c,o)},d(h){h&&L(e),g=!1,d()}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ig(cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=cg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ig(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function Ng(i){let e,t,n,l,r;const a=[T8,N8],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(B8).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=Ce()},m(g,d){~t&&o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(ke(),U(o[h],1,1,()=>{o[h]=null}),Se()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function N8(i){let e,t,n,l,r,a,o,c,g=i[48](i[106])+"",d,h,p,b,m,v,C;function y(V,I){return I[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?L8:I8}let P=y(i,[-1,-1,-1,-1]),T=P(i);a=new Pn({props:{node:i[106]}});function E(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Le(g),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",h=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=te(t,"click",wt(E)),v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const H={};I[0]&128&&(H.node=i[106]),a.$set(H),(!m||I[0]&128)&&g!==(g=i[48](i[106])+"")&&Ae(d,g),(!m||I[0]&128&&h!==(h=i[49](i[106])))&&f(t,"href",h),(!m||I[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Fe(a),v=!1,C()}}}function T8(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,g,d=i[48](i[106])+"",h,p,b,m,v,C,y,P,T=l&&Tg(i);a=new Pn({props:{node:i[106]}});function E(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T&&T.c(),r=W(),Ue(a.$$.fragment),c=W(),g=S("span"),h=Le(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=oe.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T&&T.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,g),w(g,h),w(e,v),C=!0,y||(P=te(t,"click",wt(E)),y=!0)},p(V,I){i=V,I[0]&128&&(l=!i[47](i[106])),l?T?T.p(i,I):(T=Tg(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const H={};I[0]&128&&(H.node=i[106]),a.$set(H),(!C||I[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||I[0]&128)&&d!==(d=i[48](i[106])+"")&&Ae(h,d),(!C||I[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||I[0]&128&&m!==(m=oe.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),Fe(a),y=!1,P()}}}function I8(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function L8(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Tg(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Ig(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Ng(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ng(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?E8:A8}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Le(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){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=te(t,"click",Ut(i[31])),c=!0)},p(b,m){h===(h=d(b,m))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ae(o,a)},d(b){b&&L(e),p.d(),c=!1,g()}}}function A8(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(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&&L(e)}}}function E8(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ag(i){let e,t,n;function l(a){i[85](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new dp({props:r}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Eg(i){let e,t;return e=new up({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rg(i){let e,t,n,l,r;function a(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new cp({props:g}),Je.push(()=>bt(e,"dropDownStates",a,i[6])),Je.push(()=>bt(e,"selectedLabel",o,i[43])),Je.push(()=>bt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,h){Me(e,d,h),r=!0},p(d,h){const p={};h[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],mt(()=>t=!1)),!n&&h[1]&4096&&(n=!0,p.selectedLabel=d[43],mt(()=>n=!1)),!l&&h[1]&8192&&(l=!0,p.defaultLabel=d[44],mt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Dg(i){let e,t,n,l,r;const a=[D8,R8],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=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(g,d){A(g,e,d),o[n].m(e,null),r=!0},p(g,d){let h=n;n=c(g,d),n===h?o[n].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),l=o[n],l?l.p(g,d):(l=o[n]=a[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){U(l),r=!1},d(g){g&&L(e),o[n].d()}}}function R8(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v;function C(T,E){return T[17].picture?O8:V8}let y=C(i),P=y(i);return h=new sp({props:{addNavHrefForAnchor:i[27]}}),h.$on("toggleDropdownState",i[95]),h.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),g=W(),d=S("div"),Ue(h.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),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-p1ljc7")},m(T,E){A(T,e,E),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Me(h,d,null),b=!0,m||(v=[te(r,"click",i[94]),te(n,"click",Ut(q8))],m=!0)},p(T,E){y===(y=C(T))&&P?P.p(T,E):(P.d(1),P=y(T),P&&(P.c(),P.m(r,null))),(!b||E[0]&64&&a!==(a=T[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||E[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&f(r,"title",o),(!b||E[0]&131072&&c!==(c=T[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};E[0]&134217728&&(V.addNavHrefForAnchor=T[27]),h.$set(V),(!b||E[0]&64&&p!==(p=!T[6].profilePopover))&&f(d,"aria-hidden",p)},i(T){b||(R(h.$$.fragment,T),b=!0)},o(T){U(h.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),Fe(h),m=!1,Ye(v)}}}function D8(i){let e,t,n,l,r,a,o,c,g;function d(b,m){return b[17].picture?F8:M8}let h=d(i),p=h(i);return r=new JS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),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-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(g=te(t,"click",Ut(z8)),c=!0)},p(b,m){h===(h=d(b))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),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){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Fe(r),c=!1,g()}}}function V8(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){A(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&&L(e)}}}function O8(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Vn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&Vn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function M8(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Le(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),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){A(o,e,c),w(e,n),r||(a=te(e,"click",i[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,a()}}}function F8(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-p1ljc7"),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"),Vn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=te(e,"click",i[91]),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&&Vn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Vg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new dp({props:r}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function U8(i){let e,t,n,l,r,a;const o=[k8,w8],c=[];function g(d,h){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[te(fg,"click",i[40]),te(fg,"blur",i[40])],r=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(ke(),U(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,h):(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){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Ye(a)}}}const B8=i=>!i.hideFromNav&&i.label,Og=i=>!i.hideFromNav&&i.label,H8=()=>{},W8=()=>{},z8=()=>{},q8=()=>{};function G8(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:I}=e,{nodeForMobile:H}=e,{profileItemsAvailable:O}=e,{userInfo:D={}}=e,{globalSearchConfig:q}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:$}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:x}=e,{displaySearchResult:G}=e,{searchResult:K}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:ge}=e,ie=vt("store"),se=!1,ve,re,Re=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ze=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ne=async()=>{if(h&&0<h.length){const Y=await oe.generateTopNavNodes(h);t(7,v=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=h}},ce=()=>{t(1,a=fl.isLoggedIn())};$t(()=>{dn.doOnStoreChange(ie,()=>{t(0,l=pi.isAuthorizationEnabled()),t(16,O=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,E=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,g=ae.getConfigValue("settings.profileType")),t(26,ge=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=oe.getProductSwitcherConfig()),t(18,q=ae.getConfigValue("globalSearch")),t(19,Z=q&&q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,ze=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Re=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),dn.doOnStoreChange(ie,()=>{ne()},["navigation.viewgroupdata"]),On.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&ne()})}),qn(()=>{(!p||p!=h)&&ne(),ce()});let{showTopNav:Te}=e;function tt(Y){return oe.renderIconClassName(Y)}function Be(Y){return oe.isOpenUIiconName(Y.icon)}const rt=Y=>oe.getNodeLabel(Y);function Pt(Y){return we.getNodeHref(Y,b)}function _e(Y,Et){return oe.generateTooltipText(Y,Et)}function $e(){at("productSwitcherPopover")}function kt(){t(42,se=!se),at("contextSwitcherPopover")}function qt(Y){t(14,I=!0),t(15,H=Y)}function Nn(){t(14,I=!1)}function Ft(Y){n("handleClick",{node:Y})}function Ne(Y){n("handleSearchNavigation",{node:Y})}function ct(Y){Ft(Y.detail.node)}function at(Y){const Et=m||{},_n=!Et[Y];ei(),Nn(),Et[Y]=_n,t(6,m=Et)}function Ot(Y){at(Y.detail.name)}function Bt(){pe&&pe.focus()}function wn(){$||setTimeout(()=>{Bt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:pe,luigiCustomSearchRenderer__slot:x})}function ei(){const Y=m||{},Et=Object.keys(Y);Et&&Et.length>0&&Et.forEach(_n=>{Y[_n]=!1,t(6,m=Y)})}function xt(){c==="simple"||c==="simpleMobileOnly"?Gn():Yt(),kn()}function kn(){if(!oe.getBurgerTooltipConfig())return;const[Y,Et]=oe.getBurgerTooltipConfig();Y&&Et&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,J=document.body.classList.contains("lui-leftNavToggle")?Y:Et),document.body.classList.contains("lui-semiCollapsible")&&t(25,J=document.body.classList.contains("semiCollapsed")?Y:Et))}function Gn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Yt(){_i.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Tn(Y){const Et=Y.detail;t(17,D=Et||{})}function ki(Y){m=Y,t(6,m)}function Si(Y){$=Y,t(20,$)}function hn(Y){K=Y,t(24,K)}function Ci(Y){G=Y,t(23,G)}function yi(Y){pe=Y,t(21,pe)}function Pi(Y){x=Y,t(22,x)}function Ni(Y){Ol.call(this,i,Y)}function Ti(Y){Ol.call(this,i,Y)}function _l(Y){Ol.call(this,i,Y)}function pl(Y){$=Y,t(20,$)}function ml(Y){K=Y,t(24,K)}function Ii(Y){G=Y,t(23,G)}function zi(Y){pe=Y,t(21,pe)}function qi(Y){x=Y,t(22,x)}function fi(Y){Ol.call(this,i,Y)}function bl(Y){Ol.call(this,i,Y)}function vl(Y){Ol.call(this,i,Y)}function Gi(Y){m=Y,t(6,m)}const wl=()=>at("contextSwitcherPopover");function kl(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const Q=Y=>at(`dropDownPopover-${Y}`);function ye(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const nt=(Y,Et)=>{oe.handleNavAnchorClickedWithoutMetaKey(Et)&&Ft(Y)};function ut(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const St=Y=>Ft(Y),tn=()=>at("overflowPopover"),gn=()=>{wn(),at("overflowPopover")},ti=Y=>Ft(Y),ni=Y=>qt(Y);function Bl(Y){m=Y,t(6,m)}const gr=()=>at("productSwitcherPopover");function In(Y){m=Y,t(6,m)}function Ki(Y){ve=Y,t(43,ve)}function Sl(Y){re=Y,t(44,re)}const Hl=()=>at("contextSwitcherPopover"),_r=()=>at("profilePopover"),ji=()=>at("profilePopover"),Cl=()=>at("profilePopover"),yl=()=>at("profilePopover"),ci=()=>at("profilePopover");function Wl(Y){m=Y,t(6,m)}const Li=()=>at("productSwitcherPopover"),pr=()=>at("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(52,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,c=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,g=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,d=Y.showGlobalNav),"pathData"in Y&&t(29,h=Y.pathData),"pathParams"in Y&&t(30,b=Y.pathParams),"dropDownStates"in Y&&t(6,m=Y.dropDownStates),"children"in Y&&t(7,v=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,E=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,V=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,I=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,H=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,D=Y.userInfo),"globalSearchConfig"in Y&&t(18,q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,$=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,pe=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(22,x=Y.luigiCustomSearchRenderer__slot),"displaySearchResult"in Y&&t(23,G=Y.displaySearchResult),"searchResult"in Y&&t(24,K=Y.searchResult),"burgerTooltip"in Y&&t(25,J=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ge=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,ze=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Te=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Te=l&&(!r||a)||!l)},[l,a,o,c,g,d,m,v,C,y,P,T,E,V,I,H,O,D,q,Z,$,pe,x,G,K,J,ge,ze,Te,h,b,$e,kt,qt,Nn,Ft,ct,at,Ot,wn,ei,Tn,se,ve,re,Re,tt,Be,rt,Pt,_e,xt,r,Ne,Gn,Yt,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,zi,qi,fi,bl,vl,Gi,wl,kl,Q,ye,nt,ut,St,tn,gn,ti,ni,Bl,gr,In,Ki,Sl,Hl,_r,ji,Cl,yl,ci,Wl,Li,pr]}class gp extends Vt{constructor(e){super(),Dt(this,e,G8,U8,At,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Mg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function K8(i){let e,t=i[0]&&Mg();return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=Mg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function j8(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(lt.getCurrentPath(),n),a=await Mt.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 $t(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.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 J8 extends Vt{constructor(e){super(),Dt(this,e,j8,K8,At,{node:0})}}const{window:Io}=gl;function Fg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Ug(i,e,t){const n=i.slice();return n[56]=e[t],n}function Bg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Hg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Wg(i,e,t){const n=i.slice();return n[56]=e[t],n}function zg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Y8(i){const e=i.slice(),t=_p(e[53]);return e[66]=t,e}function qg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Lo(i){const e=i.slice(),t=e[56]===e[2];return e[63]=t,e}function Q8(i){const e=i.slice(),t=`${e[55]}-0`;e[64]=t;const n=`lui-${e[64]}-popover`;return e[65]=n,e}function Gg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Kg(i),P=Object.entries(i[0]),T=[];for(let O=0;O<P.length;O+=1)T[O]=e_(Hg(i,P,O));const E=O=>U(T[O],1,1,()=>{T[O]=null});let V=Object.entries(i[0]),I=[];for(let O=0;O<V.length;O+=1)I[O]=l_(Fg(i,V,O));const H=O=>U(I[O],1,1,()=>{I[O]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let O=0;O<T.length;O+=1)T[O].c();r=W(),a=S("span"),o=S("div"),c=S("div"),g=S("button"),g.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
59
- <span class="sap-icon--slim-arrow-down"></span>`,d=W(),h=S("div"),p=S("ul");for(let O=0;O<I.length;O+=1)I[O].c();f(g,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(h,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(h,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(O,D){A(O,e,D),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let q=0;q<T.length;q+=1)T[q].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,g),i[30](g),w(o,d),w(o,h),w(h,p);for(let q=0;q<I.length;q+=1)I[q].m(p,null);i[35](a),i[36](l),i[38](e),m=!0,v||(C=[te(g,"click",wt(i[10])),te(a,"click",s3),te(n,"toggleDropdownState",i[37])],v=!0)},p(O,D){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?y?(y.p(O,D),D[0]&2048&&R(y,1)):(y=Kg(O),y.c(),R(y,1),y.m(e,t)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),D[0]&1900749){P=Object.entries(O[0]);let q;for(q=0;q<P.length;q+=1){const Z=Hg(O,P,q);T[q]?(T[q].p(Z,D),R(T[q],1)):(T[q]=e_(Z),T[q].c(),R(T[q],1),T[q].m(l,r))}for(ke(),q=P.length;q<T.length;q+=1)E(q);Se()}if(D[0]&852205){V=Object.entries(O[0]);let q;for(q=0;q<V.length;q+=1){const Z=Fg(O,V,q);I[q]?(I[q].p(Z,D),R(I[q],1)):(I[q]=l_(Z),I[q].c(),R(I[q],1),I[q].m(p,null))}for(ke(),q=V.length;q<I.length;q+=1)H(q);Se()}(!m||D[0]&16&&b!==(b=!O[4]))&&f(h,"aria-hidden",b)},i(O){if(!m){R(y);for(let D=0;D<P.length;D+=1)R(T[D]);for(let D=0;D<V.length;D+=1)R(I[D]);m=!0}},o(O){U(y),T=T.filter(Boolean);for(let D=0;D<T.length;D+=1)U(T[D]);I=I.filter(Boolean);for(let D=0;D<I.length;D+=1)U(I[D]);m=!1},d(O){O&&L(e),y&&y.d(),ht(T,O),i[30](null),ht(I,O),i[35](null),i[36](null),i[38](null),v=!1,Ye(C)}}}function Kg(i){let e,t;return e=new J8({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(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){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Z8(i){let e,t,n,l,r;const a=[x8,$8],o=[];function c(d,h){return h[0]&1&&(e=null),e==null&&(e=!!l3(d[53])),e?0:1}function g(d,h){return h===0?Y8(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](g(i,t)),{c(){n.c(),l=Ce()},m(d,h){o[t].m(d,h),A(d,l,h),r=!0},p(d,h){let p=t;t=c(d,h),t===p?o[t].p(g(d,t),h):(ke(),U(o[p],1,1,()=>{o[p]=null}),Se(),n=o[t],n?n.p(g(d,t),h):(n=o[t]=a[t](g(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function X8(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=xg(qg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=qg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=xg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function $8(i){let e,t,n,l,r,a,o=i[16](i[52])+"",c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[28](i[52])}let I=i[53],H=[];for(let D=0;D<I.length;D+=1)H[D]=Yg(Wg(i,I,D));const O=D=>U(H[D],1,1,()=>{H[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Le(o),g=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let D=0;D<H.length;D+=1)H[D].c();C=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cl(i[52],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",v=!i[3][i[52]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[64]),f(e,"isselected",y=cl(i[52],i[2]))},m(D,q){A(D,e,q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,g),w(r,d),w(t,p),w(t,b),w(b,m);for(let Z=0;Z<H.length;Z+=1)H[Z].m(m,null);w(e,C),P=!0,T||(E=[te(l,"click",wt(V)),te(e,"click",a3)],T=!0)},p(D,q){if(i=D,(!P||q[0]&65537)&&o!==(o=i[16](i[52])+"")&&Ae(c,o),(!P||q[0]&5&&h!==(h=cl(i[52],i[2])))&&f(l,"aria-selected",h),q[0]&786501){I=i[53];let Z;for(Z=0;Z<I.length;Z+=1){const $=Wg(i,I,Z);H[Z]?(H[Z].p($,q),R(H[Z],1)):(H[Z]=Yg($),H[Z].c(),R(H[Z],1),H[Z].m(m,null))}for(ke(),Z=I.length;Z<H.length;Z+=1)O(Z);Se()}(!P||q[0]&9&&v!==(v=!i[3][i[52]]))&&f(b,"aria-hidden",v),(!P||q[0]&5&&y!==(y=cl(i[52],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let q=0;q<I.length;q+=1)R(H[q]);P=!0}},o(D){H=H.filter(Boolean);for(let q=0;q<H.length;q+=1)U(H[q]);P=!1},d(D){D&&L(e),ht(H,D),T=!1,Ye(E)}}}function x8(i){let e,t,n,l=i[16](i[52])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V;function I(){return i[25](i[66])}function H(){return i[26](i[52])}let O=i[53],D=[];for(let q=0;q<O.length;q+=1)D[q]=Zg(zg(i,O,q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Le(l),c=W(),g=S("div"),d=S("div"),h=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let q=0;q<D.length;q+=1)D[q].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=cl(i[52],i[2])),f(t,"href",o=i[19](i[66])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[65]),f(p,"aria-expanded",m=!!i[3][i[52]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(h,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",P=!i[3][i[52]]),f(C,"id",i[65]),f(g,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(q,Z){A(q,e,Z),w(e,t),w(t,n),w(n,r),w(e,c),w(e,g),w(g,d),w(d,h),w(h,p),w(p,b),w(g,v),w(g,C),w(C,y);for(let $=0;$<D.length;$+=1)D[$].m(y,null);w(e,T),E||(V=[te(t,"click",wt(I)),te(p,"click",wt(H)),te(e,"click",r3)],E=!0)},p(q,Z){if(i=q,Z[0]&65537&&l!==(l=i[16](i[52])+"")&&Ae(r,l),Z[0]&5&&a!==(a=cl(i[52],i[2]))&&f(t,"aria-selected",a),Z[0]&1&&o!==(o=i[19](i[66]))&&f(t,"href",o),Z[0]&9&&m!==(m=!!i[3][i[52]])&&f(p,"aria-expanded",m),Z[0]&786501){O=i[53];let $;for($=0;$<O.length;$+=1){const pe=zg(i,O,$);D[$]?D[$].p(pe,Z):(D[$]=Zg(pe),D[$].c(),D[$].m(y,null))}for(;$<D.length;$+=1)D[$].d(1);D.length=O.length}Z[0]&9&&P!==(P=!i[3][i[52]])&&f(C,"aria-hidden",P)},i:We,o:We,d(q){q&&L(e),ht(D,q),E=!1,Ye(V)}}}function jg(i){let e,t,n=i[56].label&&Jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new xn({props:{node:i[56]}});function v(){return i[29](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",wt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function Yg(i){let e,t,n=!i[56].hideFromNav&&jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=jg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Qg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d;function h(){return i[27](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[19](i[56])),f(t,"aria-selected",o=i[56]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=te(t,"click",wt(h)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[18](i[56])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[19](i[56]))&&f(t,"href",a),b[0]&5&&o!==(o=i[56]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),g=!1,d()}}}function Zg(i){let e,t=!i[56].hideFromNav&&i[56].label&&Qg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[56].hideFromNav&&n[56].label?t?t.p(n,l):(t=Qg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Xg(i){let e,t,n=i[56].label&&$g(Lo(i));return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(Lo(l),r),r[0]&1&&R(n,1)):(n=$g(Lo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $g(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m,v;o=new xn({props:{node:i[56]}});function C(){return i[24](i[56])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[63]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[55]+"-"+i[58]),f(e,"isselected",p=i[63])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),b=!0,m||(v=te(t,"click",wt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const T={};P[0]&1&&(T.node=i[56]),o.$set(T),(!b||P[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!b||P[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!b||P[0]&5&&d!==(d=i[63]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[63]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[56].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):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){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l,r,a;const o=[X8,Z8],c=[];function g(h,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!h[20](h[52],h[53])),e?0:(t==null&&(t=!!i3(h[53])),t?1:-1)}function d(h,p){return p===1?Q8(h):h}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Ce()},m(h,p){~n&&c[n].m(h,p),A(h,r,p),a=!0},p(h,p){let b=n;n=g(h,p),n===b?~n&&c[n].p(d(h,n),p):(l&&(ke(),U(c[b],1,1,()=>{c[b]=null}),Se()),~n?(l=c[n],l?l.p(d(h,n),p):(l=c[n]=o[n](d(h,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(h){a||(R(l),a=!0)},o(h){U(l),a=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function e3(i){let e,t,n,l,r=i[16](i[52])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[32](i[52],i[55])}function I(){return i[33](i[52],i[55])}let H=i[53],O=[];for(let q=0;q<H.length;q+=1)O[q]=n_(Ug(i,H,q));const D=q=>U(O[q],1,1,()=>{O[q]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Le(r),g=W(),d=S("button"),h=S("i"),m=W(),v=S("ul");for(let q=0;q<O.length;q+=1)O[q].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[55]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[52]+i[55]]),f(n,"aria-selected",c=cl(i[52],i[2])),f(h,"class",p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(h,"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[52]+i[55]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[52]+i[55]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-0")},m(q,Z){A(q,e,Z),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,h),w(e,m),w(e,v);for(let $=0;$<O.length;$+=1)O[$].m(v,null);w(e,y),P=!0,T||(E=[te(n,"click",wt(V)),te(d,"click",wt(I))],T=!0)},p(q,Z){if(i=q,(!P||Z[0]&65537)&&r!==(r=i[16](i[52])+"")&&Ae(a,r),(!P||Z[0]&9&&o!==(o=i[3][i[52]+i[55]]))&&f(n,"aria-expanded",o),(!P||Z[0]&5&&c!==(c=cl(i[52],i[2])))&&f(n,"aria-selected",c),(!P||Z[0]&9&&p!==(p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||Z[0]&9&&b!==(b=i[3][i[52]+i[55]]))&&f(d,"aria-expanded",b),Z[0]&786501){H=i[53];let $;for($=0;$<H.length;$+=1){const pe=Ug(i,H,$);O[$]?(O[$].p(pe,Z),R(O[$],1)):(O[$]=n_(pe),O[$].c(),R(O[$],1),O[$].m(v,null))}for(ke(),$=H.length;$<O.length;$+=1)D($);Se()}(!P||Z[0]&9&&C!==(C=!i[3][i[52]+i[55]]))&&f(v,"aria-hidden",C)},i(q){if(!P){for(let Z=0;Z<H.length;Z+=1)R(O[Z]);P=!0}},o(q){O=O.filter(Boolean);for(let Z=0;Z<O.length;Z+=1)U(O[Z]);P=!1},d(q){q&&L(e),ht(O,q),T=!1,Ye(E)}}}function t3(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=i_(Bg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=Bg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=i_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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)U(l[o]);t=!1},d(a){ht(l,a),a&&L(e)}}}function t_(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new xn({props:{node:i[56]}});function v(){return i[34](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[55])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",wt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function n_(i){let e,t,n=i[56].label&&t_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].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&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function i_(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new xn({props:{node:i[56]}});function v(){return i[31](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-"+i[58])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",wt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function l_(i){let e,t,n,l,r;const a=[t3,e3],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[52]==="undefined"||g[52].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=Ce()},m(g,d){o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){o[t].d(g),g&&L(l)}}}function n3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Gg(i);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[te(Io,"click",i[8]),te(Io,"blur",i[8]),te(Io,"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=Gg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Ye(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function i3(i){return i.some(e=>!e.hideFromNav&&e.label)}function _p(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function l3(i){return!!_p(i)}const r3=i=>i.stopPropagation(),a3=i=>i.stopPropagation(),s3=i=>i.stopPropagation();function o3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=oe.virtualGroupPrefix}=e,{selectedNodeForTabNav:g}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:h=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=vt("getTranslation");wi(i,C,Ne=>t(16,n=Ne));let y=vt("store"),P,T,E,V,I;const H={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:g,dropDownStates:d,isMoreBtnExpanded:h}),set:Ne=>{Ne&&Object.getOwnPropertyNames(Ne).forEach(ct=>{ct==="pathData"?t(1,r=Ne.pathData):ct==="context"?context=Ne.context:ct==="children"?t(0,l=Ne.children):ct==="selectedNode"?t(11,b=Ne.selectedNode):ct==="selectedNodeForTabNav"&&t(2,g=Ne.selectedNodeForTabNav)})}},O=Jt();function D(Ne){return oe.getNodeLabel(Ne)}const q=async()=>{const Ne=H.get(),ct=await Mt.getTabNavData({...Ne},Ne);ct&&(H.set({...ct}),m=r,window.LEFTNAVDATA=ct.groupedChildren,setTimeout(Z))},Z=()=>{if($(),E&&V&&I){I.classList.remove("is-active");const Ne=getComputedStyle(E),ct=E.offsetWidth-V.offsetWidth-parseFloat(Ne.paddingLeft)-parseFloat(Ne.paddingRight);let at=0,Ot=!1;[...E.children].forEach(Bt=>{const wn=Bt.getAttribute("uid");if(!wn)return;const ei=getComputedStyle(Bt),xt=parseFloat(ei.marginLeft)+parseFloat(ei.marginRight);at+=Bt.offsetWidth+xt,at>=ct?(Bt.classList.add("hide_element"),Bt.getAttribute("isSelected")==="true"&&I.classList.add("is-active"),document.querySelector('li[uid="'+wn+'"]').classList.remove("hide_element"),Ot=!0):document.querySelector('li[uid="'+wn+'"]').classList.add("hide_element")}),Ot?V.classList.remove("hide_element"):V.classList.add("hide_element")}},$=()=>{E!==void 0&&[...E.children].forEach(ct=>{ct.classList.remove("hide_element")})},pe=()=>{P=new ResizeObserver(Ne=>{for(const ct of Ne)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ct.contentRect.height+"px")}),setTimeout(()=>{T&&P.observe(T)})},x=()=>{P&&P.disconnect()};$t(()=>{t(21,o=ae.getConfigBooleanValue("settings.hideNavigation")),pe(),dn.doOnStoreChange(y,()=>{q()},["navigation.viewgroupdata"])}),Jr(()=>{x(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),qn(()=>{(!m||m!=r)&&q(),(v===void 0||v!==p)&&(v=p,q())}),jr(()=>{x(),P?setTimeout(()=>{T&&P.observe(T)}):pe()});function G(Ne){return we.getNodeHref(Ne,a)}function K(Ne){ge(),O("handleClick",{node:Ne})}function J(Ne){let ct={};d[Ne]||(ct[Ne]=!0),t(3,d=ct)}function ge(){t(3,d={}),t(4,h=!1)}function ie(){$(),Z()}function se(){t(4,h=!h)}function ve(Ne,ct){const at=Ne==="undefined",Ot=Ne.indexOf(c)===0;if(at||Ot||re(ct))return!0}function re(Ne){const ct=Ne.find(Bt=>le.isObject(Bt.category));if(!ct)return;const at=ct.category.label||ct.category.id;return Ne.filter(Bt=>Bt.category===at&&Bt.hideFromNav===!0).length===1}const Re=Ne=>K(Ne),ze=Ne=>K(Ne),ne=Ne=>J(Ne),ce=Ne=>K(Ne),Te=Ne=>J(Ne),tt=Ne=>K(Ne);function Be(Ne){Je[Ne?"unshift":"push"](()=>{I=Ne,t(15,I)})}const rt=Ne=>K(Ne),Pt=(Ne,ct)=>J(Ne+ct),_e=(Ne,ct)=>J(Ne+ct),$e=Ne=>K(Ne);function kt(Ne){Je[Ne?"unshift":"push"](()=>{V=Ne,t(14,V)})}function qt(Ne){Je[Ne?"unshift":"push"](()=>{E=Ne,t(13,E)})}const Nn=Ne=>J(Ne.name);function Ft(Ne){Je[Ne?"unshift":"push"](()=>{T=Ne,t(12,T)})}return i.$$set=Ne=>{"children"in Ne&&t(0,l=Ne.children),"pathData"in Ne&&t(1,r=Ne.pathData),"pathParams"in Ne&&t(22,a=Ne.pathParams),"hideNavComponent"in Ne&&t(21,o=Ne.hideNavComponent),"virtualGroupPrefix"in Ne&&t(5,c=Ne.virtualGroupPrefix),"selectedNodeForTabNav"in Ne&&t(2,g=Ne.selectedNodeForTabNav),"dropDownStates"in Ne&&t(3,d=Ne.dropDownStates),"isMoreBtnExpanded"in Ne&&t(4,h=Ne.isMoreBtnExpanded),"resizeTabNavToggle"in Ne&&t(23,p=Ne.resizeTabNavToggle)},[l,r,g,d,h,c,K,J,ge,ie,se,b,T,E,V,I,n,C,D,G,ve,o,a,p,Re,ze,ne,ce,Te,tt,Be,rt,Pt,_e,$e,kt,qt,Nn,Ft]}class pp extends Vt{constructor(e){super(),Dt(this,e,o3,n3,At,{children:0,pathData:1,pathParams:22,hideNavComponent:21,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:23,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-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[23]=e[t],n[25]=t,n}function a_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=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=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){A(c,e,g),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>=0?a?a.p(c,g):(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,g):(o=d_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(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-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){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&&L(e),ht(n,l)}}}function u_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&f_(i);function P(...T){return i[17](i[23],...T)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Le(a),c=W(),g=S("div"),p=W(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),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,g),w(e,p),v||(C=te(t,"click",P),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(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[23])),e?f3:u3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function u3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function f3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function c_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&u_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].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&&L(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-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){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&&L(e),ht(n,l)}}}function h_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&g_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Le(a),c=W(),g=S("div"),p=W(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),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,g),w(e,p),v||(C=te(n,"click",wt(P)),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(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[23])),e?d3:c3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),A(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&&L(t)}}}function c3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function d3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function __(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&h_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].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&&L(e)}}}function h3(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[te(window,"click",fs),te(window,"blur",fs)],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:We,o:We,d(r){l&&l.d(r),r&&L(e),t=!1,Ye(n)}}}function fs(){}function g3(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=vt("store"),h=vt("getTranslation");wi(i,h,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await oe.generateTopNavNodes(r);t(0,c=D.children),t(1,g=D.selectedNode),a=r}};$t(()=>{dn.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),qn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return oe.renderIconClassName(D)}function P(D){return oe.isOpenUIiconName(D.icon)}function T(D){return yt.getTranslation(D.label)}function E(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function I(D){V(D.detail.node)}const H=(D,q)=>{oe.handleNavAnchorClickedWithoutMetaKey(q)&&V(D)},O=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,r,V,fs,v,n,h,y,P,T,E,b,m,o,I,H,O]}class _3 extends Vt{constructor(e){super(),Dt(this,e,g3,h3,At,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function p3(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:We,i:We,o:We,d(t){t&&L(e),i[4](null)}}}function m3(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=vt("store"),{showBreadcrumb:g}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},h=v=>{v.last||b(v.node)};$t(()=>{dn.doOnStoreChange(c,()=>{},["navigation"])}),qn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=lt.getCurrentPath();for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(a[V])C.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)C.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?yt.getTranslation(E.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:E,route:V,pending:!0});else{const I=await p(E);I&&C.push({label:I,node:E,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,h),C=[];for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(E.titleResolver){const H=await Mt.extractDataFromPath(V),O=we.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,E.context),H.pathData.pathParams);try{const D=await oe.fetchNodeTitleData(E,O);C.push({label:D.label,node:E,route:V});continue}catch{}}const I=await p(E);I&&C.push({label:I,node:E,route:V})}P===lt.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,h)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(T=>{a[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return yt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(lt.getCurrentPath(),v),y=await Mt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class mp extends Vt{constructor(e){super(),Dt(this,e,m3,p3,At,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Oo="not_checked";On.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Oo="disabled"):i.data==="luigi.tpcEnabled"&&(Oo="enabled")},!1);function b3(){return Oo}const{Boolean:v3,window:p_}=gl;function m_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function b_(i){let e,t;return e=new sk({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function v_(i){let e,t;function n(){return i[69](i[155])}function l(...a){return i[70](i[155],...a)}function r(...a){return i[71](i[155],...a)}return e=new np({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function w_(i){let e,t,n=i[153].mfModal.displayed&&v_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=v_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function k_(i){let e,t;return e=new np({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[w3]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function w3(i){let e,t;return e=new Ul({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t;return e=new dk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new Ik({props:r}),Je.push(()=>bt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function k3(i){let e,t,n,l,r,a,o,c;e=new Ul({props:{disable:i[12],$$slots:{default:[C3]},$$scope:{ctx:i}}});let g=i[10]&&P_(),d=!i[24]&&N_(i),h=!i[20]&&T_(i),p=!(i[20]||i[21])&&L_(i),b=i[15]&&!i[20]&&A_(i);return{c(){Ue(e.$$.fragment),t=W(),g&&g.c(),n=W(),d&&d.c(),l=W(),h&&h.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=Ce()},m(m,v){Me(e,m,v),A(m,t,v),g&&g.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),h&&h.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=P_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(ke(),U(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=N_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?h&&(ke(),U(h,1,1,()=>{h=null}),Se()):h?(h.p(m,v),v[0]&1048576&&R(h,1)):(h=T_(m),h.c(),R(h,1),h.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),U(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=L_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=A_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),U(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(h),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(h),U(p),U(b),c=!1},d(m){Fe(e,m),m&&L(t),g&&g.d(m),m&&L(n),d&&d.d(m),m&&L(l),h&&h.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function S3(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=!i[24]&&E_(i),v=!(i[20]||i[21])&&R_(i),C=i[19]&&D_(i);h=new Ul({props:{disable:i[12],$$slots:{default:[y3]},$$scope:{ctx:i}}});let y=i[10]&&M_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),g=W(),d=S("div"),Ue(h.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1nk76lp"),f(c,"class","fd-tool-layout__content-container svelte-1nk76lp"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1nk76lp"),f(e,"class","lui-core-layout svelte-1nk76lp")},m(P,T){A(P,e,T),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,g),w(c,d),Me(h,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,T){P[24]?m&&(ke(),U(m,1,1,()=>{m=null}),Se()):m?(m.p(P,T),T[0]&16777216&&R(m,1)):(m=E_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),U(v,1,1,()=>{v=null}),Se()):v?(v.p(P,T),T[0]&3145728&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,T),T[0]&524288&&R(C,1)):(C=D_(P),C.c(),R(C,1),C.m(c,g)):C&&(ke(),U(C,1,1,()=>{C=null}),Se());const E={};T[0]&4096&&(E.disable=P[12]),T[0]&1177600|T[5]&2&&(E.$$scope={dirty:T,ctx:P}),h.$set(E),P[10]?y||(y=M_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(h.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(h.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(h),y&&y.d()}}}function y_(i){let e,t;return e=new lp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C3(i){let e,t,n,l,r,a,o,c,g;t=new Ul({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&y_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1nk76lp"),f(e,"class","fd-page iframeContainer svelte-1nk76lp"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(h,p){A(h,e,p),Me(t,e,null),w(e,n),w(e,l),A(h,r,p),d&&d.m(h,p),A(h,a,p),o=!0,c||(g=q_(i[45].call(null,e)),c=!0)},p(h,p){const b={};p[0]&4096&&(b.disable=h[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",h[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",h[11].collapsed),h[11].displayed?d?(d.p(h,p),p[0]&2048&&R(d,1)):(d=y_(h),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),U(d,1,1,()=>{d=null}),Se())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){U(t.$$.fragment,h),U(d),o=!1},d(h){h&&L(e),Fe(t),h&&L(r),d&&d.d(h),h&&L(a),c=!1,g()}}}function P_(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>
57
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Vh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Oh(Ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ih(l,t,a);n[a]?n[a].p(o,r):(n[a]=Oh(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){_t(n,l),l&&L(e)}}}function cC(i){return{c:We,m:We,p:We,d:We}}function dC(i){let e,t,n,l,r;function a(d,h){return d[2]?gC:hC}let o=a(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=oe.getTestId(i[20]))},m(d,h){A(d,e,h),c.m(e,null),A(d,n,h),l||(r=te(e,"click",g),l=!0)},p(d,h){i=d,o===(o=a(i))&&c?c.p(i,h):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),h&8&&t!==(t=oe.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function hC(i){let e,t,n=i[25]+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Ie(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,h){A(d,e,h),w(e,t),w(t,l),c||(g=te(e,"click",i[15]),c=!0)},p(d,h){h&138&&n!==(n=d[25]+"")&&Le(l,n),h&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),h&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),h&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,g()}}}function gC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function _C(i){return{c:We,m:We,p:We,d:We}}function Oh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:_C,then:dC,catch:cC,value:25};return ns(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Se(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&ns(t,n)||z_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Mh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Uh(Th(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-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Th(l,t,a);n[a]?n[a].p(o,r):(n[a]=Uh(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&&L(e),_t(n,l)}}}function Fh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[te(t,"click",i[17]),te(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Qe(d)}}}function Uh(i){let e,t=i[20].position==="bottom"&&Fh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Fh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function pC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Ah(i),c=i[3]&&i[3].length===0&&i[10]&&Dh(),g=i[3]&&i[3].length&&Vh(i),d=i[0]&&i[0].length&&Mh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),g&&g.c(),r=W(),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-3pems2")},m(h,p){A(h,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),d&&d.m(e,null)},p(h,[p]){h[0]&&h[0].length?o?o.p(h,p):(o=Ah(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[10]?c||(c=Dh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Vh(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Mh(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:We,o:We,d(h){h&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const mC=()=>{};function bC(i,e,t){let n,l=We,r=()=>(l(),l=Vo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=jt();function P(D){y("onActionClick",{node:D})}function T(D,q){y("goToOption",{option:D,selectedOption:q})}const E=D=>P(D),V=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},I=D=>T(D,h),H=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},O=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,h=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,g,d,h,p,b,m,v,C,P,T,n,E,V,I,H,O]}class op extends Ft{constructor(e){super(),Mt(this,e,bC,pC,Dt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Bh(i){let e,t,n,l=!i[9]&&Hh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Wh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(we(),U(l,1,1,()=>{l=null}),ke()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Hh(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=Wh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Hh(i){let e,t,n,l,r,a,o,c,g,d;function h(m,v){return m[10]&&m[2]!==m[5].defaultLabel?wC:vC}let p=h(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[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(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,g||(d=te(n,"click",Wt(AC)),g=!0)},p(m,v){p===(p=h(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){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Me(a),g=!1,d()}}}function vC(i){let e,t,n,l,r,a;function o(d,h){return d[2]&&d[7]?SC:kC}let c=o(i),g=c(i);return{c(){e=S("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,h){A(d,e,h),g.m(e,null),r||(a=te(e,"click",i[29]),r=!0)},p(d,h){c===(c=o(d))&&g?g.p(d,h):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),h[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),h[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),h[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),g.d(),r=!1,a()}}}function wC(i){let e,t,n,l,r,a,o;function c(h,p){return h[2]&&h[7]?NC:PC}let g=c(i),d=g(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,p){A(h,e,p),d.m(e,null),a||(o=te(e,"click",yt(i[28])),a=!0)},p(h,p){g===(g=c(h))&&d?d.p(h,p):(d.d(1),d=g(h),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=h[2]?h[19](h[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!h[15])&&f(e,"aria-disabled",r)},d(h){h&&L(e),d.d(),a=!1,o()}}}function kC(i){let e,t;function n(a,o){return a[4]?CC:yC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(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&&L(e),a&&L(t)}}}function SC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function CC(i){let e;return{c(){e=Ie(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function yC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function PC(i){let e,t;function n(a,o){return a[4]?TC:IC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(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&&L(e),a&&L(t)}}}function NC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function TC(i){let e;return{c(){e=Ie(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function IC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Wh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T=!i[4]&&zh(i),E=i[4]&&qh(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[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),T&&T.c(),o=W(),E&&E.c(),c=W(),g=S("div"),Ue(d.$$.fragment),h=W(),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(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(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(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),T&&T.m(a,null),w(a,o),E&&E.m(a,null),w(t,c),w(t,g),Oe(d,g,null),w(t,h),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[te(v,"click",i[13]),te(e,"click",Wt(EC))],y=!0)},p(V,I){V[4]?T&&(T.d(1),T=null):T?T.p(V,I):(T=zh(V),T.c(),T.m(a,o)),V[4]?E?E.p(V,I):(E=qh(V),E.c(),E.m(a,null)):E&&(E.d(1),E=null);const H={};I[0]&1&&(H.actions=V[0]),I[0]&32&&(H.config=V[5]),I[0]&64&&(H.customOptionsRenderer=V[6]),I[0]&2&&(H.options=V[1]),I[0]&16&&(H.selectedLabel=V[4]),I[0]&4&&(H.selectedOption=V[2]),I[0]&512&&(H.isMobile=V[9]),I[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),E&&E.d(),Me(d),y=!1,Qe(P)}}}function zh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function qh(i){let e;return{c(){e=Ie(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function LC(i){let e,t,n=i[3]&&Bh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Bh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const AC=()=>{},EC=()=>{};function RC(i,e,t){let n,l;const r=jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:E}=e,V,I=Ct("getUnsavedChangesModalPromise"),H=Ct("store"),O=Ct("getTranslation");bi(i,O,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:q}=e,Q;xt(async()=>{pn.doOnStoreChange(H,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,h=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ee=st.getCurrentPath();t(20,m=re.fallbackLabelResolver),wn.resetFallbackLabelCache(),re.lazyloadOptions||await $(),wn.isContextSwitcherDetailsView(Ee,re.parentNodePath)&&await G(Ee)}},["navigation.contextSwitcher"]),ve.addRouteChangeListener(re=>G(re)),Wn.addEventListener("message",re=>{Ae.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),$())}),t(21,E=g.defaultLabel)}),zn(()=>{D!==T&&(D=T,$()),t(14,Q=o.contextSwitcherPopover||!1)});function X(re,Ee,Be){return re?Promise.resolve(re):wn.getFallbackLabel(Ee,Be)}function ge(re){return ve.getNodeHref(re,v)}async function $(){t(1,h=await wn.fetchOptions(h));const re=g||{},Ee=re.parentNodePath,Be=re.fallbackLabelResolver,ie=st.getCurrentPath();t(2,b=await wn.getSelectedOption(ie,h,Ee)),t(4,c=await wn.getSelectedLabel(ie,h,Ee,Be)),await wn.getSelectedNode(ie,h,Ee),V=re.preserveSubPathOnSwitch}async function G(re){const Ee=g||{},Be=Ee.parentNodePath,ie=Ee.fallbackLabelResolver;t(2,b=await wn.getSelectedOption(re,h,Be)),t(4,c=await wn.getSelectedLabel(re,h,Be,ie)),await wn.getSelectedNode(re,h,Be)}async function K(re){let Ee=re.detail.node;Ee.clickHandler&&!await Ee.clickHandler(Ee)||(setTimeout(()=>{J(Ee.link)}),P&&r("toggleDropdownState"))}function J(re){I().then(()=>{st.navigateTo(re)},()=>{})}function he(re){let Ee=re.detail.option,Be=re.detail.selectedOption;I().then(()=>{V&&Be?st.navigateTo(wn.getNodePathFromCurrentPath(Ee,Be)):st.navigateTo(Ee.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&$()}const se=()=>{n&&ne()},be=()=>{n&&ne()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,g=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,h=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,T=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,E=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,q=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||h&&h.length>1||!b)},[d,h,b,a,c,g,C,y,o,P,q,K,he,ne,Q,n,l,O,X,ge,m,E,v,T,$,G,J,p,se,be]}class up extends Ft{constructor(e){super(),Mt(this,e,RC,LC,Dt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:DC}=_l;function Gh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Kh(i){let e,t,n,l=!i[2]&&jh(i),r=i[2]&&i[3].productSwitcherPopover&&Xh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=jh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=Xh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function jh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(H,O){return O&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?OC:VC}let T=P(i,-1),E=T(i),V=i[0],I=[];for(let H=0;H<V.length;H+=1)I[H]=Zh(Gh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),E.c(),d=W(),h=S("div"),p=S("div"),b=S("ul");for(let H=0;H<I.length;H+=1)I[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Xn(i[9])+" svelte-156h3yc"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",v=!i[3].productSwitcherPopover),f(h,"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(H,O){A(H,e,O),w(e,t),w(t,n),w(n,l),w(l,r),E.m(r,null),w(n,d),w(n,h),w(h,p),w(p,b);for(let D=0;D<I.length;D+=1)I[D].m(b,null);C||(y=[te(r,"click",Wt(i[7])),te(l,"click",Wt(qC))],C=!0)},p(H,O){if(T===(T=P(H,O))&&E?E.p(H,O):(E.d(1),E=T(H),E&&(E.c(),E.m(r,null))),O&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=H[1].label)&&f(r,"title",c),O&2&&g!==(g=H[14](H[1]))&&f(r,"data-testid",g),O&64561){V=H[0];let D;for(D=0;D<V.length;D+=1){const q=Gh(H,V,D);I[D]?I[D].p(q,O):(I[D]=Zh(q),I[D].c(),I[D].m(b,null))}for(;D<I.length;D+=1)I[D].d(1);I.length=V.length}O&512&&m!==(m=Xn(H[9])+" svelte-156h3yc")&&f(p,"class",m),O&8&&v!==(v=!H[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(H){H&&L(e),E.d(),_t(I,H),C=!1,Qe(y)}}}function VC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!et(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&&L(e)}}}function OC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Jh(i){let e,t,n,l,r,a;function o(h,p){return h[4]?FC:MC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){A(h,e,p),g.m(e,null),w(e,t),r||(a=te(e,"click",d),r=!0)},p(h,p){i=h,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(h){h&&L(e),g.d(),r=!1,a()}}}function MC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?BC:UC}let h=d(i,-1),p=h(i),b=g&&Yh(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ie(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){h===(h=d(m,v))&&p?p.p(m,v):(p.d(1),p=h(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Yh(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function FC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,b;function m(P,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?WC:HC}let v=m(i,-1),C=v(i),y=d&&Qh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ie(o),g=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",h=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,T){A(P,e,T),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(b=te(e,"click",i[16]),p=!0)},p(P,T){v===(v=m(P,T))&&C?C.p(P,T):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),T&1&&(d=P[13](P[22])),d?y?y.p(P,T):(y=Qh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function UC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(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&&L(e)}}}function BC(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-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function HC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(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&&L(e)}}}function WC(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-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Qh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Zh(i){let e,t=i[22].label&&Jh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Xh(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]}}),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){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function zC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Kh(i);return{c(){a&&a.c(),t=Se()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=te(DC,"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=Kh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(we(),U(a,1,1,()=>{a=null}),ke())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const qC=()=>{};function GC(i,e,t){const n=jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Ct("store"),g=Ct("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;xt(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=oe.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),T()),os()},["navigation.productSwitcher"])});function p(O){g().then(()=>{st.navigateToLink(O)},()=>{}),m()}function b(O){p(O.detail)}function m(){n("toggleDropdownState")}function v(O){return oe.renderIconClassName(O)}function C(O){return oe.isOpenUIiconName(O.icon)}function y(O){return Nt.getTranslation(O.label)}function P(O){return Nt.getTranslation(O.subTitle)}function T(){oe.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function E(O){return O.testId?O.testId:oe.prepareForTests(O.label)}function V(O){return ve.getNodeHref(O)}const I=O=>{oe.handleNavAnchorClickedWithoutMetaKey(O)},H=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,a=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,h=O.addNavHrefForAnchor)},[l,a,r,o,h,p,b,m,os,d,v,C,y,P,E,V,I,H]}class fp extends Ft{constructor(e){super(),Mt(this,e,GC,zC,Dt,{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 $h(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function KC(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 fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[18](e),e.focus(),t||(n=te(e,"keyup",i[17]),t=!0)},p:We,d(l){l&&L(e),i[18](null),t=!1,n()}}}function jC(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 fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:We,d(t){t&&L(e)}}}function JC(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[22](e)},p:We,d(t){t&&L(e),i[22](null)}}}function YC(i){let e,t,n,l=i[5]&&xh(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[0])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=xh(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&&L(e),l&&l.d()}}}function xh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=eg($h(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=$h(l,t,a);n[a]?n[a].p(o,r):(n[a]=eg(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&&L(e),_t(n,l),i[21](null)}}}function QC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function ZC(i){let e,t,n,l=i[30].label+"",r,a,o,c=i[30].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ie(l),a=W(),o=S("div"),g=Ie(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=te(e,"click",yt($C)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Le(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Le(g,c)},d(p){p&&L(e),d=!1,h()}}}function eg(i){let e,t,n,l;function r(d,h){return d[9]?QC:ZC}let a=r(i),o=a(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[te(e,"click",c),te(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Qe(l)}}}function XC(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(O,D){return O[7]&&O[7].disableInputHandlers?jC:KC}let T=P(i),E=T(i);function V(O,D){return O[8]?JC:YC}let I=V(i),H=I(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),E.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),h=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,l),E.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(O,d,D),A(O,h,D),w(h,p),w(p,b),w(b,m),C||(y=[te(window,"click",i[11]),te(window,"blur",i[11]),te(n,"click",Wt(xC)),te(b,"click",i[6]),te(p,"click",Wt(e8))],C=!0)},p(O,D){T===(T=P(O))&&E?E.p(O,D):(E.d(1),E=T(O),E&&(E.c(),E.m(l,r))),I===(I=V(O))&&H?H.p(O,D):(H.d(1),H=I(O),H&&(H.c(),H.m(n,null))),D[0]&16&&c!==(c=!O[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(O[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!O[4])&&f(b,"aria-expanded",v)},i:We,o:We,d(O){O&&L(e),E.d(),H.d(),O&&L(d),O&&L(h),C=!1,Qe(y)}}}const $C=()=>{},xC=()=>{},e8=()=>{};function t8(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=jt(),h={fireItemSelected:J=>{p.searchProvider.onSearchResultItemSelected(J)}};let p={},b,m;xt(async()=>{t(7,p=g);let J=a;const he=C(p.searchProvider);he&&(J.placeholder=he),v()}),zn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(J){if(!J||!J.inputPlaceholder)return;const he=Nt.getCurrentLocale();if(le.isFunction(J.inputPlaceholder))return J.inputPlaceholder();if(typeof J.inputPlaceholder=="string"){const ne=Nt.getTranslation(J.inputPlaceholder);return ne&&ne.trim().length>0?ne:J.inputPlaceholder}if(typeof J.inputPlaceholder=="object")return J.inputPlaceholder[he]}function y(J,he,ne){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(J,he.children[ne],h)}),""}function P(){d("closeSearchResult")}function T({keyCode:J}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&J===mi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&J===_i?p.searchProvider.onEscape():J===Wi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(J){let he=c.children;if(he)for(let ne=0;ne<he.length;ne++){let{childNodes:se,nextSibling:be,previousSibling:re}=he[ne],Ee;if(se[0].getAttribute("aria-selected")==="true"){J===Wi&&(Ee=be!==null?be:he[0]),J===Hl&&(Ee=re!==null?re:he[he.length-1]),se[0].setAttribute("aria-selected","false"),Ee.childNodes[0].setAttribute("aria-selected","true"),Ee.focus();break}}}function V(){let J=c.children;if(J)for(let he=0;he<J.length;he++){let ne=J[he];ne.childNodes[0].getAttribute("aria-selected")==="true"&&ne.childNodes[0].setAttribute("aria-selected","false")}}function I(J){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(J):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===_i&&p.searchProvider.onEscape()}function H(J,{keyCode:he}){he===mi&&p.searchProvider.onSearchResultItemSelected(J),he===Hl||he===Wi?E(he):le.isFunction(p.searchProvider.onEscape)&&he===_i&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function O(J){let he=J.pathObject;he.externalLink?st.navigateToLink(he):d("handleSearchNavigation",{node:he})}function D(){a&&a.focus()}function q(){if(n?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const J=n===void 0?!0:!n;p.searchProvider.toggleSearch(a,J)}}const Q=J=>T(J);function X(J){Ye[J?"unshift":"push"](()=>{a=J,t(1,a)})}const ge=(J,he)=>I(J),$=(J,he)=>H(J,he);function G(J){Ye[J?"unshift":"push"](()=>{c=J,t(3,c)})}function K(J){Ye[J?"unshift":"push"](()=>{o=J,t(2,o)})}return i.$$set=J=>{"isSearchFieldVisible"in J&&t(4,n=J.isSearchFieldVisible),"searchResult"in J&&t(5,l=J.searchResult),"displaySearchResult"in J&&t(0,r=J.displaySearchResult),"inputElem"in J&&t(1,a=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(2,o=J.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in J&&t(3,c=J.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in J&&t(15,g=J.globalSearchConfig)},[r,a,o,c,n,l,q,p,b,m,y,P,T,I,H,g,O,Q,X,ge,$,G,K]}class n8 extends Ft{constructor(e){super(),Mt(this,e,t8,XC,Dt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function tg(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function i8(i){let e,t,n,l,r,a,o,c,g,d,h;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),g=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(g,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[24](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,g,b),d||(h=[te(e,"keyup",i[23]),te(e,"input",i[25]),te(l,"click",i[18]),te(o,"click",i[16])],d=!0)},p:We,d(p){p&&L(e),i[24](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(g),d=!1,Qe(h)}}}function l8(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 fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function r8(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[29](e)},p:We,d(t){t&&L(e),i[29](null)}}}function a8(i){let e,t,n,l=i[4]&&ng(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-qeg9jv"),f(e,"aria-hidden",n=!i[0])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=ng(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&&L(e),l&&l.d()}}}function ng(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ig(tg(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=tg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ig(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&&L(e),_t(n,l),i[28](null)}}}function s8(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function o8(i){let e,t,n,l=i[39].label+"",r,a,o,c=i[39].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ie(l),a=W(),o=S("div"),g=Ie(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){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=te(e,"click",yt(f8)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Le(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Le(g,c)},d(p){p&&L(e),d=!1,h()}}}function ig(i){let e,t,n,l;function r(d,h){return d[10]?s8:o8}let a=r(i),o=a(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[te(e,"click",c),te(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Qe(l)}}}function lg(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-qeg9jv")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[te(n,"click",i[6]),te(t,"click",Wt(d8))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Qe(o)}}}function rg(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ie(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(g,d){A(g,e,d),w(e,t),w(t,l),o||(c=te(t,"click",Wt(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(g){g&&L(e),o=!1,c()}}}function u8(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(V,I){return V[8]&&V[8].disableInputHandlers?l8:i8}let m=b(i),v=m(i);function C(V,I){return V[9]?r8:a8}let y=C(i),P=y(i),T=!i[5]&&lg(i),E=i[5]&&rg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),T&&T.c(),g=W(),E&&E.c(),d=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,I){A(V,e,I),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,I),T&&T.m(V,I),A(V,g,I),E&&E.m(V,I),A(V,d,I),h||(p=[te(window,"click",i[14]),te(window,"blur",i[14]),te(n,"click",Wt(c8))],h=!0)},p(V,I){m===(m=b(V))&&v?v.p(V,I):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,I):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),I[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),I[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?T&&(T.d(1),T=null):T?T.p(V,I):(T=lg(V),T.c(),T.m(g.parentNode,g)),V[5]?E?E.p(V,I):(E=rg(V),E.c(),E.m(d.parentNode,d)):E&&(E.d(1),E=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),T&&T.d(V),V&&L(g),E&&E.d(V),V&&L(d),h=!1,Qe(p)}}}const f8=()=>{},c8=()=>{},d8=()=>{};function h8(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=jt(),h={fireItemSelected:ie=>{m.searchProvider.onSearchResultItemSelected(ie)}};let p=hl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=Ct("getTranslation");bi(i,y,ie=>t(11,n=ie)),xt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let ie=a;const ce=T(m.searchProvider);ce&&(ie.placeholder=ce),P(),qf.handleVisibilityGlobalSearch();const Ne=document.querySelector(".lui-global-search");Ne&&new ResizeObserver(ze=>{qf.handleVisibilityGlobalSearch()}).observe(Ne)}),zn(()=>{t(8,m=g),P(),O()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function T(ie){if(!ie||!ie.inputPlaceholder)return;const ce=Nt.getCurrentLocale();if(le.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Ne=Nt.getTranslation(ie.inputPlaceholder);return Ne&&Ne.trim().length>0?Ne:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[ce]}function E(ie,ce,Ne){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ie,ce.children[Ne],h)}),""}function V(){d("closeSearchResult")}function I({keyCode:ie}){m?le.isFunction(m.searchProvider.onEnter)&&ie===mi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&ie===_i?m.searchProvider.onEscape():ie===Wi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function H(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function O(){a&&a.value}function D(){t(1,a.value="",a),V()}function q(ie){let ce=c.children;if(ce)for(let Ne=0;Ne<ce.length;Ne++){let{childNodes:tt,nextSibling:ze,previousSibling:Ze}=ce[Ne],ut;if(tt[0].getAttribute("aria-selected")==="true"){ie===Wi&&(ut=ze!==null?ze:ce[0]),ie===Hl&&(ut=Ze!==null?Ze:ce[ce.length-1]),tt[0].setAttribute("aria-selected","false"),ut.childNodes[0].setAttribute("aria-selected","true"),ut.focus();break}}}function Q(){let ie=c.children;if(ie)for(let ce=0;ce<ie.length;ce++){let Ne=ie[ce];Ne.childNodes[0].getAttribute("aria-selected")==="true"&&Ne.childNodes[0].setAttribute("aria-selected","false")}}function X(ie){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ie):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===_i&&m.searchProvider.onEscape()}function ge(ie,{keyCode:ce}){ce===mi&&m.searchProvider.onSearchResultItemSelected(ie),ce===Hl||ce===Wi?q(ce):le.isFunction(m.searchProvider.onEscape)&&ce===_i&&(Q(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function $(ie){let ce=ie.pathObject;ce.externalLink?st.navigateToLink(ce):d("handleSearchNavigation",{node:ce})}function G(){a&&a.focus()}function K(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const ie=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,ie)}}const J=ie=>I(ie);function he(ie){Ye[ie?"unshift":"push"](()=>{a=ie,t(1,a)})}const ne=()=>O(),se=(ie,ce)=>X(ie),be=(ie,ce)=>ge(ie,ce);function re(ie){Ye[ie?"unshift":"push"](()=>{c=ie,t(3,c)})}function Ee(ie){Ye[ie?"unshift":"push"](()=>{o=ie,t(2,o)})}const Be=()=>K();return i.$$set=ie=>{"searchResult"in ie&&t(4,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"inputElem"in ie&&t(1,a=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,o=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,c=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(21,g=ie.globalSearchConfig),"isSearchFieldVisible"in ie&&t(5,b=ie.isSearchFieldVisible)},[r,a,o,c,l,b,K,p,m,v,C,n,y,E,V,I,H,O,D,X,ge,g,$,J,he,ne,se,be,re,Ee,Be]}class g8 extends Ft{constructor(e){super(),Mt(this,e,h8,u8,Dt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function ag(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?p8:_8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function _8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),et(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(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&&L(e)}}}function p8(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){A(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&&L(e)}}}function sg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new $n({props:{node:i[0]}}),{c(){e=S("span"),n=Ie(t),l=W(),Ue(r.$$.fragment)},m(o,c){A(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])+"")&&Le(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Me(r)}}}function m8(i){let e,t,n,l=i[0].icon&&ag(i),r=(!i[0].icon||i[0].showLabel)&&sg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=ag(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=sg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function b8(i,e,t){let{node:n}=e;function l(o){return oe.isOpenUIiconName(o.icon)}function r(o){return oe.renderIconClassName(o)}function a(o){return oe.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Fo extends Ft{constructor(e){super(),Mt(this,e,b8,m8,Dt,{node:0})}}const{Boolean:cp,window:og}=_l;function ug(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function fg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function v8(i){let e,t;return e=new rp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function w8(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&cg(i);function v(I){i[56](I)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new FS({props:C}),Ye.push(()=>St(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&dg(i),P=(!i[0]||i[1])&&hg(i),T=(i[18]||i[7]&&i[29].length>0)&&_g(i),E=(i[0]||i[16])&&Eg(i),V=i[12]&&Rg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),g=W(),T&&T.c(),d=W(),E&&E.c(),h=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(I,H){A(I,e,H),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,g),T&&T.m(c,null),w(c,d),E&&E.m(c,null),w(c,h),V&&V.m(c,null),b=!0},p(I,H){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?m?m.p(I,H):(m=cg(I),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const O={};H[0]&536870912&&(O.pathData=I[29]),H[0]&1073741824&&(O.pathParams=I[30]),H[0]&134217728&&(O.addNavHrefForAnchor=I[27]),!r&&H[0]&64&&(r=!0,O.dropDownStates=I[6],kt(()=>r=!1)),l.$set(O),I[18]&&I[19]?y?(y.p(I,H),H[0]&786432&&R(y,1)):(y=dg(I),y.c(),R(y,1),y.m(e,o)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),!I[0]||I[1]?P?(P.p(I,H),H[0]&3&&R(P,1)):(P=hg(I),P.c(),R(P,1),P.m(c,g)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),I[18]||I[7]&&I[29].length>0?T?(T.p(I,H),H[0]&537133184&&R(T,1)):(T=_g(I),T.c(),R(T,1),T.m(c,d)):T&&(we(),U(T,1,1,()=>{T=null}),ke()),I[0]||I[16]?E?(E.p(I,H),H[0]&65537&&R(E,1)):(E=Eg(I),E.c(),R(E,1),E.m(c,h)):E&&(we(),U(E,1,1,()=>{E=null}),ke()),I[12]?V?(V.p(I,H),H[0]&4096&&R(V,1)):(V=Rg(I),V.c(),R(V,1),V.m(c,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(I[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(I){b||(R(l.$$.fragment,I),R(y),R(P),R(T),R(E),R(V),b=!0)},o(I){U(l.$$.fragment,I),U(y),U(P),U(T),U(E),U(V),b=!1},d(I){I&&L(e),m&&m.d(),Me(l),y&&y.d(),P&&P.d(),T&&T.d(),E&&E.d(),V&&V.d()}}}function cg(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-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=te(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function dg(i){let e,t,n,l,r,a,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function h(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new g8({props:m}),Ye.push(()=>St(t,"isSearchFieldVisible",g,i[20])),Ye.push(()=>St(t,"searchResult",d,i[24])),Ye.push(()=>St(t,"displaySearchResult",h,i[23])),Ye.push(()=>St(t,"inputElem",p,i[21])),Ye.push(()=>St(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Oe(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],kt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],kt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],kt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],kt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],kt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Me(t)}}}function hg(i){let e,t,n,l,r=i[18]&&!i[19]&&gg(i);function a(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new up({props:o}),Ye.push(()=>St(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,g){r&&r.m(c,g),A(c,e,g),Oe(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=gg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],kt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Me(t,c)}}}function gg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function h(m){i[68](m)}function p(m){i[69](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[22]),e=new n8({props:b}),Ye.push(()=>St(e,"isSearchFieldVisible",c,i[20])),Ye.push(()=>St(e,"searchResult",g,i[24])),Ye.push(()=>St(e,"displaySearchResult",d,i[23])),Ye.push(()=>St(e,"inputElem",h,i[21])),Ye.push(()=>St(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Ue(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],kt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],kt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],kt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],kt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],kt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Me(e,m)}}}function _g(i){let e,t,n,l=i[7]&&i[29].length>0&&pg(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&wg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(we(),U(l,1,1,()=>{l=null}),ke()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=wg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=vg(fg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=fg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=vg(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function mg(i){let e,t,n,l;const r=[S8,k8],a=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,g):(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){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function k8(i){let e,t,n,l,r;const a=[y8,C8],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){A(g,e,d),o[t].m(e,null),w(e,l),r=!0},p(g,d){let h=t;t=c(g),t===h?o[t].p(g,d):(we(),U(o[h],1,1,()=>{o[h]=null}),ke(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){g&&L(e),o[t].d()}}}function S8(i){let e=i[106].visibleChildren.filter(Dg).length>0,t,n,l=e&&bg(i);return{c(){l&&l.c(),t=Se()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Dg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=bg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function C8(i){let e,t,n,l,r,a,o,c,g,d,h;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Fo({props:b}),Ye.push(()=>St(t,"node",p,i[106])),r=new Tn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"title",a=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=oe.getTestId(i[106]))},m(v,C){A(v,e,C),Oe(t,e,null),w(e,l),Oe(r,e,null),g=!0,d||(h=te(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],kt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!g||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=oe.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),g=!1},d(v){v&&L(e),Me(t),Me(r),d=!1,h()}}}function y8(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new Fo({props:m}),Ye.push(()=>St(t,"node",b,i[106])),r=new Tn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"href",a=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=oe.getTestId(i[106]))},m(C,y){A(C,e,y),Oe(t,e,null),w(e,l),Oe(r,e,null),d=!0,h||(p=te(e,"click",v),h=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],kt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[106]),r.$set(T),(!d||y[0]&128&&a!==(a=i[49](i[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=oe.getTestId(i[106])))&&f(e,"data-testid",g)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Me(t),Me(r),h=!1,p()}}}function bg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(O){i[75](O,i[106],i[109],i[108])}let I={};i[106]!==void 0&&(I.node=i[106]),r=new Fo({props:I}),Ye.push(()=>St(r,"node",V,i[106])),c=new Tn({props:{node:i[106]}});function H(){return i[76](i[108])}return v=new sp({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=oe.getTestId(i[106])),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[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,D){A(O,e,D),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,T||(E=[te(l,"click",H),te(n,"click",Wt(B8))],T=!0)},p(O,D){i=O;const q={};!a&&D[0]&128&&(a=!0,q.node=i[106],kt(()=>a=!1)),r.$set(q);const Q={};D[0]&128&&(Q.node=i[106]),c.$set(Q),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&h!==(h=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",h),(!P||D[0]&128&&p!==(p=oe.getTestId(i[106])))&&f(l,"data-testid",p);const X={};D[0]&128&&(X.node=i[106]),D[0]&1073741824&&(X.pathParams=i[30]),D[0]&134217728&&(X.addNavHrefForAnchor=i[27]),v.$set(X),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(O){P||(R(r.$$.fragment,O),R(c.$$.fragment,O),R(v.$$.fragment,O),P=!0)},o(O){U(r.$$.fragment,O),U(c.$$.fragment,O),U(v.$$.fragment,O),P=!1},d(O){O&&L(e),Me(r),Me(c),Me(v),T=!1,Qe(E)}}}function vg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&mg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=mg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function wg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,H,O;g=new Tn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&kg(i),q=i[45]&&(!i[0]||i[1])&&Sg(i),Q=i[7]&&Cg(i),X=i[12]&&Tg(i),ge=i[12]&&Ig(i),$=i[14]&&Lg(i),G=(!i[0]||i[1])&&Ag(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=W(),Ue(g.$$.fragment),h=W(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=W(),q&&q.c(),C=W(),Q&&Q.c(),y=W(),X&&X.c(),T=W(),ge&&ge.c(),E=W(),$&&$.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),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-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,J){A(K,e,J),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Oe(g,a,null),w(n,h),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),q&&q.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),X&&X.m(m,null),w(n,T),ge&&ge.m(n,null),w(n,E),$&&$.m(n,null),w(n,V),G&&G.m(n,null),I=!0,H||(O=[te(a,"click",i[81]),te(l,"click",Wt(H8))],H=!0)},p(K,J){const he={};J[0]&2048&&(he.node=K[11]),g.$set(he),(!I||J[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]?D?D.p(K,J):(D=kg(K),D.c(),D.m(m,v)):D&&(D.d(1),D=null),K[45]&&(!K[0]||K[1])?q?q.p(K,J):(q=Sg(K),q.c(),q.m(m,C)):q&&(q.d(1),q=null),K[7]?Q?(Q.p(K,J),J[0]&128&&R(Q,1)):(Q=Cg(K),Q.c(),R(Q,1),Q.m(m,y)):Q&&(we(),U(Q,1,1,()=>{Q=null}),ke()),K[12]?X?X.p(K,J):(X=Tg(K),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!I||J[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?ge?(ge.p(K,J),J[0]&4096&&R(ge,1)):(ge=Ig(K),ge.c(),R(ge,1),ge.m(n,E)):ge&&(we(),U(ge,1,1,()=>{ge=null}),ke()),K[14]?$?($.p(K,J),J[0]&16384&&R($,1)):($=Lg(K),$.c(),R($,1),$.m(n,V)):$&&(we(),U($,1,1,()=>{$=null}),ke()),!K[0]||K[1]?G?(G.p(K,J),J[0]&3&&R(G,1)):(G=Ag(K),G.c(),R(G,1),G.m(n,null)):G&&(we(),U(G,1,1,()=>{G=null}),ke())},i(K){I||(R(g.$$.fragment,K),R(Q),R(ge),R($),R(G),I=!0)},o(K){U(g.$$.fragment,K),U(Q),U(ge),U($),U(G),I=!1},d(K){K&&L(e),Me(g),D&&D.d(),q&&q.d(),Q&&Q.d(),X&&X.d(),ge&&ge.d(),$&&$.d(),G&&G.d(),H=!1,Qe(O)}}}function kg(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-p1ljc7"></i>
58
+ <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){A(r,e,a),w(e,t),n||(l=te(t,"click",Wt(i[82])),n=!0)},p:We,d(r){r&&L(e),n=!1,l()}}}function Sg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ie(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){A(h,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=te(t,"click",Wt(i[32])),g=!0)},p(h,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(h[45].icon&&h[47](h[45])?h[46](h[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(h[43]?h[43]:h[44])+"")&&Le(c,o)},d(h){h&&L(e),g=!1,d()}}}function Cg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ng(ug(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=ug(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ng(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function yg(i){let e,t,n,l,r;const a=[N8,P8],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(U8).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=Se()},m(g,d){~t&&o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(we(),U(o[h],1,1,()=>{o[h]=null}),ke()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function P8(i){let e,t,n,l,r,a,o,c,g=i[48](i[106])+"",d,h,p,b,m,v,C;function y(V,I){return I[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?I8:T8}let P=y(i,[-1,-1,-1,-1]),T=P(i);a=new Tn({props:{node:i[106]}});function E(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ie(g),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",h=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T.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=te(t,"click",yt(E)),v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const H={};I[0]&128&&(H.node=i[106]),a.$set(H),(!m||I[0]&128)&&g!==(g=i[48](i[106])+"")&&Le(d,g),(!m||I[0]&128&&h!==(h=i[49](i[106])))&&f(t,"href",h),(!m||I[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Me(a),v=!1,C()}}}function N8(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,g,d=i[48](i[106])+"",h,p,b,m,v,C,y,P,T=l&&Pg(i);a=new Tn({props:{node:i[106]}});function E(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T&&T.c(),r=W(),Ue(a.$$.fragment),c=W(),g=S("span"),h=Ie(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=oe.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T&&T.m(n,null),w(n,r),Oe(a,n,null),w(t,c),w(t,g),w(g,h),w(e,v),C=!0,y||(P=te(t,"click",yt(E)),y=!0)},p(V,I){i=V,I[0]&128&&(l=!i[47](i[106])),l?T?T.p(i,I):(T=Pg(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const H={};I[0]&128&&(H.node=i[106]),a.$set(H),(!C||I[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||I[0]&128)&&d!==(d=i[48](i[106])+"")&&Le(h,d),(!C||I[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||I[0]&128&&m!==(m=oe.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),Me(a),y=!1,P()}}}function T8(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!et(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function I8(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Pg(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!et(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Ng(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&yg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&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){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Tg(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?A8:L8}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ie(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){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=te(t,"click",Wt(i[31])),c=!0)},p(b,m){h===(h=d(b,m))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&L(e),p.d(),c=!1,g()}}}function L8(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(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&&L(e)}}}function A8(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ig(i){let e,t,n;function l(a){i[85](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Ye.push(()=>St(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{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],kt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Me(e,a)}}}function Lg(i){let e,t;return e=new sp({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{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[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Ag(i){let e,t,n,l,r;function a(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new up({props:g}),Ye.push(()=>St(e,"dropDownStates",a,i[6])),Ye.push(()=>St(e,"selectedLabel",o,i[43])),Ye.push(()=>St(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,h){Oe(e,d,h),r=!0},p(d,h){const p={};h[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],kt(()=>t=!1)),!n&&h[1]&4096&&(n=!0,p.selectedLabel=d[43],kt(()=>n=!1)),!l&&h[1]&8192&&(l=!0,p.defaultLabel=d[44],kt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Me(e,d)}}}function Eg(i){let e,t,n,l,r;const a=[R8,E8],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=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(g,d){A(g,e,d),o[n].m(e,null),r=!0},p(g,d){let h=n;n=c(g,d),n===h?o[n].p(g,d):(we(),U(o[h],1,1,()=>{o[h]=null}),ke(),l=o[n],l?l.p(g,d):(l=o[n]=a[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){U(l),r=!1},d(g){g&&L(e),o[n].d()}}}function E8(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v;function C(T,E){return T[17].picture?V8:D8}let y=C(i),P=y(i);return h=new rp({props:{addNavHrefForAnchor:i[27]}}),h.$on("toggleDropdownState",i[95]),h.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),g=W(),d=S("div"),Ue(h.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),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-p1ljc7")},m(T,E){A(T,e,E),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Oe(h,d,null),b=!0,m||(v=[te(r,"click",i[94]),te(n,"click",Wt(z8))],m=!0)},p(T,E){y===(y=C(T))&&P?P.p(T,E):(P.d(1),P=y(T),P&&(P.c(),P.m(r,null))),(!b||E[0]&64&&a!==(a=T[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||E[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&f(r,"title",o),(!b||E[0]&131072&&c!==(c=T[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};E[0]&134217728&&(V.addNavHrefForAnchor=T[27]),h.$set(V),(!b||E[0]&64&&p!==(p=!T[6].profilePopover))&&f(d,"aria-hidden",p)},i(T){b||(R(h.$$.fragment,T),b=!0)},o(T){U(h.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),Me(h),m=!1,Qe(v)}}}function R8(i){let e,t,n,l,r,a,o,c,g;function d(b,m){return b[17].picture?M8:O8}let h=d(i),p=h(i);return r=new jS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),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-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Oe(r,l,null),o=!0,c||(g=te(t,"click",Wt(W8)),c=!0)},p(b,m){h===(h=d(b))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),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){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Me(r),c=!1,g()}}}function D8(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){A(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&&L(e)}}}function V8(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Vn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&Vn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function O8(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ie(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),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){A(o,e,c),w(e,n),r||(a=te(e,"click",i[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,a()}}}function M8(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-p1ljc7"),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"),Vn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=te(e,"click",i[91]),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&&Vn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Rg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Ye.push(()=>St(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],kt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Me(e,a)}}}function F8(i){let e,t,n,l,r,a;const o=[w8,v8],c=[];function g(d,h){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[te(og,"click",i[40]),te(og,"blur",i[40])],r=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(we(),U(c[p],1,1,()=>{c[p]=null}),ke(),t=c[e],t?t.p(d,h):(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){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Qe(a)}}}const U8=i=>!i.hideFromNav&&i.label,Dg=i=>!i.hideFromNav&&i.label,B8=()=>{},H8=()=>{},W8=()=>{},z8=()=>{};function q8(i,e,t){const n=jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:I}=e,{nodeForMobile:H}=e,{profileItemsAvailable:O}=e,{userInfo:D={}}=e,{globalSearchConfig:q}=e,{isGlobalSearchCentered:Q}=e,{isSearchFieldVisible:X}=e,{inputElem:ge}=e,{luigiCustomSearchRenderer__slot:$}=e,{displaySearchResult:G}=e,{searchResult:K}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:he}=e,ne=Ct("store"),se=!1,be,re,Ee=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Be=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ie=async()=>{if(h&&0<h.length){const ee=await oe.generateTopNavNodes(h);t(7,v=ee.children),t(8,C=ee.selectedNode),t(9,y=ee.visibleNodeCount),t(11,T=ee.totalBadgeNode),t(10,P=ee.globalNavNodeCount),window.TOPNAVDATA=ee.children,p=h}},ce=()=>{t(1,a=cl.isLoggedIn())};xt(()=>{pn.doOnStoreChange(ne,()=>{t(0,l=gi.isAuthorizationEnabled()),t(16,O=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,E=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,g=ae.getConfigValue("settings.profileType")),t(26,he=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=oe.getProductSwitcherConfig()),t(18,q=ae.getConfigValue("globalSearch")),t(19,Q=q&&q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Be=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ee=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),pn.doOnStoreChange(ne,()=>{ie()},["navigation.viewgroupdata"]),Wn.addEventListener("message",ee=>{ee.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),zn(()=>{(!p||p!=h)&&ie(),ce()});let{showTopNav:Ne}=e;function tt(ee){return oe.renderIconClassName(ee)}function ze(ee){return oe.isOpenUIiconName(ee.icon)}const Ze=ee=>oe.getNodeLabel(ee);function ut(ee){return ve.getNodeHref(ee,b)}function me(ee,Vt){return oe.generateTooltipText(ee,Vt)}function it(){lt("productSwitcherPopover")}function Pt(){t(42,se=!se),lt("contextSwitcherPopover")}function en(ee){t(14,I=!0),t(15,H=ee)}function xn(){t(14,I=!1)}function Lt(ee){n("handleClick",{node:ee})}function Te(ee){n("handleSearchNavigation",{node:ee})}function ht(ee){Lt(ee.detail.node)}function lt(ee){const Vt=m||{},Sn=!Vt[ee];on(),xn(),Vt[ee]=Sn,t(6,m=Vt)}function Ht(ee){lt(ee.detail.name)}function Jt(){ge&&ge.focus()}function kn(){X||setTimeout(()=>{Jt()}),n("toggleSearch",{isSearchFieldVisible:X,inputElem:ge,luigiCustomSearchRenderer__slot:$})}function on(){const ee=m||{},Vt=Object.keys(ee);Vt&&Vt.length>0&&Vt.forEach(Sn=>{ee[Sn]=!1,t(6,m=ee)})}function Qt(){c==="simple"||c==="simpleMobileOnly"?Zt():un(),pl()}function pl(){if(!oe.getBurgerTooltipConfig())return;const[ee,Vt]=oe.getBurgerTooltipConfig();ee&&Vt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,J=document.body.classList.contains("lui-leftNavToggle")?ee:Vt),document.body.classList.contains("lui-semiCollapsible")&&t(25,J=document.body.classList.contains("semiCollapsed")?ee:Vt))}function Zt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function un(){hi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function vi(ee){const Vt=ee.detail;t(17,D=Vt||{})}function wi(ee){m=ee,t(6,m)}function mn(ee){X=ee,t(20,X)}function ki(ee){K=ee,t(24,K)}function Si(ee){G=ee,t(23,G)}function Ci(ee){ge=ee,t(21,ge)}function yi(ee){$=ee,t(22,$)}function Pi(ee){Ul.call(this,i,ee)}function Ni(ee){Ul.call(this,i,ee)}function ml(ee){Ul.call(this,i,ee)}function bl(ee){X=ee,t(20,X)}function zi(ee){K=ee,t(24,K)}function qi(ee){G=ee,t(23,G)}function Ti(ee){ge=ee,t(21,ge)}function ui(ee){$=ee,t(22,$)}function vl(ee){Ul.call(this,i,ee)}function wl(ee){Ul.call(this,i,ee)}function kl(ee){Ul.call(this,i,ee)}function Gi(ee){m=ee,t(6,m)}const Sl=()=>lt("contextSwitcherPopover");function Cl(ee,Vt,Sn,ni){Sn[ni]=ee,t(7,v)}const Y=ee=>lt(`dropDownPopover-${ee}`);function Ce(ee,Vt,Sn,ni){Sn[ni]=ee,t(7,v)}const nt=(ee,Vt)=>{oe.handleNavAnchorClickedWithoutMetaKey(Vt)&&Lt(ee)};function ft(ee,Vt,Sn,ni){Sn[ni]=ee,t(7,v)}const Tt=ee=>Lt(ee),tn=()=>lt("overflowPopover"),In=()=>{kn(),lt("overflowPopover")},ei=ee=>Lt(ee),ti=ee=>en(ee);function _r(ee){m=ee,t(6,m)}const Ln=()=>lt("productSwitcherPopover");function yl(ee){m=ee,t(6,m)}function Ki(ee){be=ee,t(43,be)}function zl(ee){re=ee,t(44,re)}const pr=()=>lt("contextSwitcherPopover"),ji=()=>lt("profilePopover"),Pl=()=>lt("profilePopover"),Nl=()=>lt("profilePopover"),Tl=()=>lt("profilePopover"),Ii=()=>lt("profilePopover");function ql(ee){m=ee,t(6,m)}const Ji=()=>lt("productSwitcherPopover"),bt=()=>lt("profilePopover");return i.$$set=ee=>{"authorizationEnabled"in ee&&t(0,l=ee.authorizationEnabled),"autologinEnabled"in ee&&t(52,r=ee.autologinEnabled),"isLoggedIn"in ee&&t(1,a=ee.isLoggedIn),"hideNavComponent"in ee&&t(2,o=ee.hideNavComponent),"responsiveNavSetting"in ee&&t(3,c=ee.responsiveNavSetting),"profileTypeSettings"in ee&&t(4,g=ee.profileTypeSettings),"showGlobalNav"in ee&&t(5,d=ee.showGlobalNav),"pathData"in ee&&t(29,h=ee.pathData),"pathParams"in ee&&t(30,b=ee.pathParams),"dropDownStates"in ee&&t(6,m=ee.dropDownStates),"children"in ee&&t(7,v=ee.children),"selectedNode"in ee&&t(8,C=ee.selectedNode),"visibleNodeCount"in ee&&t(9,y=ee.visibleNodeCount),"globalNavNodeCount"in ee&&t(10,P=ee.globalNavNodeCount),"totalBadgeNode"in ee&&t(11,T=ee.totalBadgeNode),"isProductSwitcherAvailable"in ee&&t(12,E=ee.isProductSwitcherAvailable),"productSwitcherConfig"in ee&&t(13,V=ee.productSwitcherConfig),"openMobileDropDown"in ee&&t(14,I=ee.openMobileDropDown),"nodeForMobile"in ee&&t(15,H=ee.nodeForMobile),"profileItemsAvailable"in ee&&t(16,O=ee.profileItemsAvailable),"userInfo"in ee&&t(17,D=ee.userInfo),"globalSearchConfig"in ee&&t(18,q=ee.globalSearchConfig),"isGlobalSearchCentered"in ee&&t(19,Q=ee.isGlobalSearchCentered),"isSearchFieldVisible"in ee&&t(20,X=ee.isSearchFieldVisible),"inputElem"in ee&&t(21,ge=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(22,$=ee.luigiCustomSearchRenderer__slot),"displaySearchResult"in ee&&t(23,G=ee.displaySearchResult),"searchResult"in ee&&t(24,K=ee.searchResult),"burgerTooltip"in ee&&t(25,J=ee.burgerTooltip),"responsiveShellbarPadding"in ee&&t(26,he=ee.responsiveShellbarPadding),"addNavHrefForAnchor"in ee&&t(27,Be=ee.addNavHrefForAnchor),"showTopNav"in ee&&t(28,Ne=ee.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Ne=l&&(!r||a)||!l)},[l,a,o,c,g,d,m,v,C,y,P,T,E,V,I,H,O,D,q,Q,X,ge,$,G,K,J,he,Be,Ne,h,b,it,Pt,en,xn,Lt,ht,lt,Ht,kn,on,vi,se,be,re,Ee,tt,ze,Ze,ut,me,Qt,r,Te,Zt,un,wi,mn,ki,Si,Ci,yi,Pi,Ni,ml,bl,zi,qi,Ti,ui,vl,wl,kl,Gi,Sl,Cl,Y,Ce,nt,ft,Tt,tn,In,ei,ti,_r,Ln,yl,Ki,zl,pr,ji,Pl,Nl,Tl,Ii,ql,Ji,bt]}class dp extends Ft{constructor(e){super(),Mt(this,e,q8,F8,Dt,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Vg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function G8(i){let e,t=i[0]&&Vg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=Vg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function K8(i,e,t){let{node:n}=e;async function l(){var o,c;const r=ve.mapPathToNode(st.getCurrentPath(),n),a=await Bt.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 xt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");fr.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 j8 extends Ft{constructor(e){super(),Mt(this,e,K8,G8,Dt,{node:0})}}const{window:To}=_l;function Og(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Mg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Fg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Ug(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Bg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Hg(i,e,t){const n=i.slice();return n[56]=e[t],n}function J8(i){const e=i.slice(),t=hp(e[53]);return e[66]=t,e}function Wg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Io(i){const e=i.slice(),t=e[56]===e[2];return e[63]=t,e}function Y8(i){const e=i.slice(),t=`${e[55]}-0`;e[64]=t;const n=`lui-${e[64]}-popover`;return e[65]=n,e}function zg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&qg(i),P=Object.entries(i[0]),T=[];for(let O=0;O<P.length;O+=1)T[O]=$g(Ug(i,P,O));const E=O=>U(T[O],1,1,()=>{T[O]=null});let V=Object.entries(i[0]),I=[];for(let O=0;O<V.length;O+=1)I[O]=n_(Og(i,V,O));const H=O=>U(I[O],1,1,()=>{I[O]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let O=0;O<T.length;O+=1)T[O].c();r=W(),a=S("span"),o=S("div"),c=S("div"),g=S("button"),g.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
59
+ <span class="sap-icon--slim-arrow-down"></span>`,d=W(),h=S("div"),p=S("ul");for(let O=0;O<I.length;O+=1)I[O].c();f(g,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(h,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(h,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(O,D){A(O,e,D),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let q=0;q<T.length;q+=1)T[q].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,g),i[30](g),w(o,d),w(o,h),w(h,p);for(let q=0;q<I.length;q+=1)I[q].m(p,null);i[35](a),i[36](l),i[38](e),m=!0,v||(C=[te(g,"click",yt(i[10])),te(a,"click",a3),te(n,"toggleDropdownState",i[37])],v=!0)},p(O,D){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?y?(y.p(O,D),D[0]&2048&&R(y,1)):(y=qg(O),y.c(),R(y,1),y.m(e,t)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),D[0]&1900749){P=Object.entries(O[0]);let q;for(q=0;q<P.length;q+=1){const Q=Ug(O,P,q);T[q]?(T[q].p(Q,D),R(T[q],1)):(T[q]=$g(Q),T[q].c(),R(T[q],1),T[q].m(l,r))}for(we(),q=P.length;q<T.length;q+=1)E(q);ke()}if(D[0]&852205){V=Object.entries(O[0]);let q;for(q=0;q<V.length;q+=1){const Q=Og(O,V,q);I[q]?(I[q].p(Q,D),R(I[q],1)):(I[q]=n_(Q),I[q].c(),R(I[q],1),I[q].m(p,null))}for(we(),q=V.length;q<I.length;q+=1)H(q);ke()}(!m||D[0]&16&&b!==(b=!O[4]))&&f(h,"aria-hidden",b)},i(O){if(!m){R(y);for(let D=0;D<P.length;D+=1)R(T[D]);for(let D=0;D<V.length;D+=1)R(I[D]);m=!0}},o(O){U(y),T=T.filter(Boolean);for(let D=0;D<T.length;D+=1)U(T[D]);I=I.filter(Boolean);for(let D=0;D<I.length;D+=1)U(I[D]);m=!1},d(O){O&&L(e),y&&y.d(),_t(T,O),i[30](null),_t(I,O),i[35](null),i[36](null),i[38](null),v=!1,Qe(C)}}}function qg(i){let e,t;return e=new j8({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){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Q8(i){let e,t,n,l,r;const a=[$8,X8],o=[];function c(d,h){return h[0]&1&&(e=null),e==null&&(e=!!i3(d[53])),e?0:1}function g(d,h){return h===0?J8(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](g(i,t)),{c(){n.c(),l=Se()},m(d,h){o[t].m(d,h),A(d,l,h),r=!0},p(d,h){let p=t;t=c(d,h),t===p?o[t].p(g(d,t),h):(we(),U(o[p],1,1,()=>{o[p]=null}),ke(),n=o[t],n?n.p(g(d,t),h):(n=o[t]=a[t](g(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function Z8(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=Xg(Wg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=Wg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Xg(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function X8(i){let e,t,n,l,r,a,o=i[16](i[52])+"",c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[28](i[52])}let I=i[53],H=[];for(let D=0;D<I.length;D+=1)H[D]=jg(Bg(i,I,D));const O=D=>U(H[D],1,1,()=>{H[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ie(o),g=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let D=0;D<H.length;D+=1)H[D].c();C=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=dl(i[52],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",v=!i[3][i[52]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[64]),f(e,"isselected",y=dl(i[52],i[2]))},m(D,q){A(D,e,q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,g),w(r,d),w(t,p),w(t,b),w(b,m);for(let Q=0;Q<H.length;Q+=1)H[Q].m(m,null);w(e,C),P=!0,T||(E=[te(l,"click",yt(V)),te(e,"click",r3)],T=!0)},p(D,q){if(i=D,(!P||q[0]&65537)&&o!==(o=i[16](i[52])+"")&&Le(c,o),(!P||q[0]&5&&h!==(h=dl(i[52],i[2])))&&f(l,"aria-selected",h),q[0]&786501){I=i[53];let Q;for(Q=0;Q<I.length;Q+=1){const X=Bg(i,I,Q);H[Q]?(H[Q].p(X,q),R(H[Q],1)):(H[Q]=jg(X),H[Q].c(),R(H[Q],1),H[Q].m(m,null))}for(we(),Q=I.length;Q<H.length;Q+=1)O(Q);ke()}(!P||q[0]&9&&v!==(v=!i[3][i[52]]))&&f(b,"aria-hidden",v),(!P||q[0]&5&&y!==(y=dl(i[52],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let q=0;q<I.length;q+=1)R(H[q]);P=!0}},o(D){H=H.filter(Boolean);for(let q=0;q<H.length;q+=1)U(H[q]);P=!1},d(D){D&&L(e),_t(H,D),T=!1,Qe(E)}}}function $8(i){let e,t,n,l=i[16](i[52])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V;function I(){return i[25](i[66])}function H(){return i[26](i[52])}let O=i[53],D=[];for(let q=0;q<O.length;q+=1)D[q]=Yg(Hg(i,O,q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ie(l),c=W(),g=S("div"),d=S("div"),h=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let q=0;q<D.length;q+=1)D[q].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=dl(i[52],i[2])),f(t,"href",o=i[19](i[66])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[65]),f(p,"aria-expanded",m=!!i[3][i[52]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(h,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",P=!i[3][i[52]]),f(C,"id",i[65]),f(g,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(q,Q){A(q,e,Q),w(e,t),w(t,n),w(n,r),w(e,c),w(e,g),w(g,d),w(d,h),w(h,p),w(p,b),w(g,v),w(g,C),w(C,y);for(let X=0;X<D.length;X+=1)D[X].m(y,null);w(e,T),E||(V=[te(t,"click",yt(I)),te(p,"click",yt(H)),te(e,"click",l3)],E=!0)},p(q,Q){if(i=q,Q[0]&65537&&l!==(l=i[16](i[52])+"")&&Le(r,l),Q[0]&5&&a!==(a=dl(i[52],i[2]))&&f(t,"aria-selected",a),Q[0]&1&&o!==(o=i[19](i[66]))&&f(t,"href",o),Q[0]&9&&m!==(m=!!i[3][i[52]])&&f(p,"aria-expanded",m),Q[0]&786501){O=i[53];let X;for(X=0;X<O.length;X+=1){const ge=Hg(i,O,X);D[X]?D[X].p(ge,Q):(D[X]=Yg(ge),D[X].c(),D[X].m(y,null))}for(;X<D.length;X+=1)D[X].d(1);D.length=O.length}Q[0]&9&&P!==(P=!i[3][i[52]])&&f(C,"aria-hidden",P)},i:We,o:We,d(q){q&&L(e),_t(D,q),E=!1,Qe(V)}}}function Gg(i){let e,t,n=i[56].label&&Kg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Kg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Kg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new $n({props:{node:i[56]}});function v(){return i[29](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",yt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Me(o),b=!1,m()}}}function jg(i){let e,t,n=!i[56].hideFromNav&&Gg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Gg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d;function h(){return i[27](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[19](i[56])),f(t,"aria-selected",o=i[56]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=te(t,"click",yt(h)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[18](i[56])+"")&&Le(r,l),b[0]&1&&a!==(a=i[19](i[56]))&&f(t,"href",a),b[0]&5&&o!==(o=i[56]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),g=!1,d()}}}function Yg(i){let e,t=!i[56].hideFromNav&&i[56].label&&Jg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[56].hideFromNav&&n[56].label?t?t.p(n,l):(t=Jg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Qg(i){let e,t,n=i[56].label&&Zg(Io(i));return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(Io(l),r),r[0]&1&&R(n,1)):(n=Zg(Io(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m,v;o=new $n({props:{node:i[56]}});function C(){return i[24](i[56])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[63]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[55]+"-"+i[58]),f(e,"isselected",p=i[63])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,h),b=!0,m||(v=te(t,"click",yt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[18](i[56])+"")&&Le(r,l);const T={};P[0]&1&&(T.node=i[56]),o.$set(T),(!b||P[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!b||P[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!b||P[0]&5&&d!==(d=i[63]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[63]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Me(o),m=!1,v()}}}function Xg(i){let e,t,n=!i[56].hideFromNav&&Qg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $g(i){let e,t,n,l,r,a;const o=[Z8,Q8],c=[];function g(h,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!h[20](h[52],h[53])),e?0:(t==null&&(t=!!n3(h[53])),t?1:-1)}function d(h,p){return p===1?Y8(h):h}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Se()},m(h,p){~n&&c[n].m(h,p),A(h,r,p),a=!0},p(h,p){let b=n;n=g(h,p),n===b?~n&&c[n].p(d(h,n),p):(l&&(we(),U(c[b],1,1,()=>{c[b]=null}),ke()),~n?(l=c[n],l?l.p(d(h,n),p):(l=c[n]=o[n](d(h,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(h){a||(R(l),a=!0)},o(h){U(l),a=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function x8(i){let e,t,n,l,r=i[16](i[52])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[32](i[52],i[55])}function I(){return i[33](i[52],i[55])}let H=i[53],O=[];for(let q=0;q<H.length;q+=1)O[q]=e_(Mg(i,H,q));const D=q=>U(O[q],1,1,()=>{O[q]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ie(r),g=W(),d=S("button"),h=S("i"),m=W(),v=S("ul");for(let q=0;q<O.length;q+=1)O[q].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[55]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[52]+i[55]]),f(n,"aria-selected",c=dl(i[52],i[2])),f(h,"class",p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(h,"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[52]+i[55]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[52]+i[55]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-0")},m(q,Q){A(q,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,h),w(e,m),w(e,v);for(let X=0;X<O.length;X+=1)O[X].m(v,null);w(e,y),P=!0,T||(E=[te(n,"click",yt(V)),te(d,"click",yt(I))],T=!0)},p(q,Q){if(i=q,(!P||Q[0]&65537)&&r!==(r=i[16](i[52])+"")&&Le(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[52]+i[55]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=dl(i[52],i[2])))&&f(n,"aria-selected",c),(!P||Q[0]&9&&p!==(p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||Q[0]&9&&b!==(b=i[3][i[52]+i[55]]))&&f(d,"aria-expanded",b),Q[0]&786501){H=i[53];let X;for(X=0;X<H.length;X+=1){const ge=Mg(i,H,X);O[X]?(O[X].p(ge,Q),R(O[X],1)):(O[X]=e_(ge),O[X].c(),R(O[X],1),O[X].m(v,null))}for(we(),X=H.length;X<O.length;X+=1)D(X);ke()}(!P||Q[0]&9&&C!==(C=!i[3][i[52]+i[55]]))&&f(v,"aria-hidden",C)},i(q){if(!P){for(let Q=0;Q<H.length;Q+=1)R(O[Q]);P=!0}},o(q){O=O.filter(Boolean);for(let Q=0;Q<O.length;Q+=1)U(O[Q]);P=!1},d(q){q&&L(e),_t(O,q),T=!1,Qe(E)}}}function e3(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=t_(Fg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=Fg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=t_(g),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)U(l[o]);t=!1},d(a){_t(l,a),a&&L(e)}}}function xg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new $n({props:{node:i[56]}});function v(){return i[34](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[55])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",yt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Me(o),b=!1,m()}}}function e_(i){let e,t,n=i[56].label&&xg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function t_(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new $n({props:{node:i[56]}});function v(){return i[31](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ie(l),a=W(),Ue(o.$$.fragment),h=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-"+i[58])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,h),p=!0,b||(m=te(t,"click",yt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Me(o),b=!1,m()}}}function n_(i){let e,t,n,l,r;const a=[e3,x8],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[52]==="undefined"||g[52].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=Se()},m(g,d){o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(we(),U(o[h],1,1,()=>{o[h]=null}),ke(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){o[t].d(g),g&&L(l)}}}function t3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&zg(i);return{c(){r&&r.c(),e=Se()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[te(To,"click",i[8]),te(To,"blur",i[8]),te(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=zg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Qe(l)}}}function dl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function n3(i){return i.some(e=>!e.hideFromNav&&e.label)}function hp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function i3(i){return!!hp(i)}const l3=i=>i.stopPropagation(),r3=i=>i.stopPropagation(),a3=i=>i.stopPropagation();function s3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=oe.virtualGroupPrefix}=e,{selectedNodeForTabNav:g}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:h=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Ct("getTranslation");bi(i,C,Te=>t(16,n=Te));let y=Ct("store"),P,T,E,V,I;const H={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:g,dropDownStates:d,isMoreBtnExpanded:h}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(ht=>{ht==="pathData"?t(1,r=Te.pathData):ht==="context"?context=Te.context:ht==="children"?t(0,l=Te.children):ht==="selectedNode"?t(11,b=Te.selectedNode):ht==="selectedNodeForTabNav"&&t(2,g=Te.selectedNodeForTabNav)})}},O=jt();function D(Te){return oe.getNodeLabel(Te)}const q=async()=>{const Te=H.get(),ht=await Bt.getTabNavData({...Te},Te);ht&&(H.set({...ht}),m=r,window.LEFTNAVDATA=ht.groupedChildren,setTimeout(Q))},Q=()=>{if(X(),E&&V&&I){I.classList.remove("is-active");const Te=getComputedStyle(E),ht=E.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let lt=0,Ht=!1;[...E.children].forEach(Jt=>{const kn=Jt.getAttribute("uid");if(!kn)return;const on=getComputedStyle(Jt),Qt=parseFloat(on.marginLeft)+parseFloat(on.marginRight);lt+=Jt.offsetWidth+Qt,lt>=ht?(Jt.classList.add("hide_element"),Jt.getAttribute("isSelected")==="true"&&I.classList.add("is-active"),document.querySelector('li[uid="'+kn+'"]').classList.remove("hide_element"),Ht=!0):document.querySelector('li[uid="'+kn+'"]').classList.add("hide_element")}),Ht?V.classList.remove("hide_element"):V.classList.add("hide_element")}},X=()=>{E!==void 0&&[...E.children].forEach(ht=>{ht.classList.remove("hide_element")})},ge=()=>{P=new ResizeObserver(Te=>{for(const ht of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ht.contentRect.height+"px")}),setTimeout(()=>{T&&P.observe(T)})},$=()=>{P&&P.disconnect()};xt(()=>{t(21,o=ae.getConfigBooleanValue("settings.hideNavigation")),ge(),pn.doOnStoreChange(y,()=>{q()},["navigation.viewgroupdata"])}),Jr(()=>{$(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!m||m!=r)&&q(),(v===void 0||v!==p)&&(v=p,q())}),jr(()=>{$(),P?setTimeout(()=>{T&&P.observe(T)}):ge()});function G(Te){return ve.getNodeHref(Te,a)}function K(Te){he(),O("handleClick",{node:Te})}function J(Te){let ht={};d[Te]||(ht[Te]=!0),t(3,d=ht)}function he(){t(3,d={}),t(4,h=!1)}function ne(){X(),Q()}function se(){t(4,h=!h)}function be(Te,ht){const lt=Te==="undefined",Ht=Te.indexOf(c)===0;if(lt||Ht||re(ht))return!0}function re(Te){const ht=Te.find(Jt=>le.isObject(Jt.category));if(!ht)return;const lt=ht.category.label||ht.category.id;return Te.filter(Jt=>Jt.category===lt&&Jt.hideFromNav===!0).length===1}const Ee=Te=>K(Te),Be=Te=>K(Te),ie=Te=>J(Te),ce=Te=>K(Te),Ne=Te=>J(Te),tt=Te=>K(Te);function ze(Te){Ye[Te?"unshift":"push"](()=>{I=Te,t(15,I)})}const Ze=Te=>K(Te),ut=(Te,ht)=>J(Te+ht),me=(Te,ht)=>J(Te+ht),it=Te=>K(Te);function Pt(Te){Ye[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function en(Te){Ye[Te?"unshift":"push"](()=>{E=Te,t(13,E)})}const xn=Te=>J(Te.name);function Lt(Te){Ye[Te?"unshift":"push"](()=>{T=Te,t(12,T)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(22,a=Te.pathParams),"hideNavComponent"in Te&&t(21,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,g=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,h=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(23,p=Te.resizeTabNavToggle)},[l,r,g,d,h,c,K,J,he,ne,se,b,T,E,V,I,n,C,D,G,be,o,a,p,Ee,Be,ie,ce,Ne,tt,ze,Ze,ut,me,it,Pt,en,xn,Lt]}class gp extends Ft{constructor(e){super(),Mt(this,e,s3,t3,Dt,{children:0,pathData:1,pathParams:22,hideNavComponent:21,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:23,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-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 i_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function l_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function r_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&a_(i),o=i[0]&&i[3].length>=0&&f_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){A(c,e,g),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>=0?a?a.p(c,g):(a=a_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,g):(o=f_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function a_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=u_(l_(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-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=l_(l,t,a);n[a]?n[a].p(o,r):(n[a]=u_(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&&L(e),_t(n,l)}}}function s_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&o_(i);function P(...T){return i[17](i[23],...T)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ie(a),c=W(),g=S("div"),p=W(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),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,g),w(e,p),v||(C=te(t,"click",P),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=o_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function o_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?u3:o3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function o3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),et(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function u3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function u_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&s_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=s_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function f_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=h_(i_(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-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=i_(l,t,a);n[a]?n[a].p(o,r):(n[a]=h_(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&&L(e),_t(n,l)}}}function c_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&d_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ie(a),c=W(),g=S("div"),p=W(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),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,g),w(e,p),v||(C=te(n,"click",yt(P)),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=d_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function d_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?c3:f3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),A(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&&L(t)}}}function f3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),et(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function c3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function h_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&c_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=c_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function d3(i){let e,t,n,l=i[2]&&r_(i);return{c(){l&&l.c(),e=Se()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[te(window,"click",us),te(window,"blur",us)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=r_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:We,o:We,d(r){l&&l.d(r),r&&L(e),t=!1,Qe(n)}}}function us(){}function h3(i,e,t){let n;const l=jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=Ct("store"),h=Ct("getTranslation");bi(i,h,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await oe.generateTopNavNodes(r);t(0,c=D.children),t(1,g=D.selectedNode),a=r}};xt(()=>{pn.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.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(D){return oe.renderIconClassName(D)}function P(D){return oe.isOpenUIiconName(D.icon)}function T(D){return Nt.getTranslation(D.label)}function E(D){return ve.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function I(D){V(D.detail.node)}const H=(D,q)=>{oe.handleNavAnchorClickedWithoutMetaKey(q)&&V(D)},O=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,r,V,us,v,n,h,y,P,T,E,b,m,o,I,H,O]}class g3 extends Ft{constructor(e){super(),Mt(this,e,h3,d3,Dt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return us}}function _3(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:We,i:We,o:We,d(t){t&&L(e),i[4](null)}}}function p3(i,e,t){const n=jt();let{pathData:l}=e,r,a={},o,c=Ct("store"),{showBreadcrumb:g}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},h=v=>{v.last||b(v.node)};xt(()=>{pn.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=st.getCurrentPath();for(let T=y;T<l.length;T++){const E=l[T],V=ve.mapPathToNode(P,E);if(a[V])C.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)C.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?Nt.getTranslation(E.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:E,route:V,pending:!0});else{const I=await p(E);I&&C.push({label:I,node:E,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,h),C=[];for(let T=y;T<l.length;T++){const E=l[T],V=ve.mapPathToNode(P,E);if(E.titleResolver){const H=await Bt.extractDataFromPath(V),O=ve.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,E.context),H.pathData.pathParams);try{const D=await oe.fetchNodeTitleData(E,O);C.push({label:D.label,node:E,route:V});continue}catch{}}const I=await p(E);I&&C.push({label:I,node:E,route:V})}P===st.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,h)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(T=>{a[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return Nt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=ve.mapPathToNode(st.getCurrentPath(),v),y=await Bt.extractDataFromPath(C);return ve.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ye[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class _p extends Ft{constructor(e){super(),Mt(this,e,p3,_3,Dt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}const{Boolean:m3,window:g_}=_l;function __(i,e,t){const n=i.slice();return n[151]=e[t],n[153]=t,n}function p_(i){let e,t;return e=new ak({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function m_(i){let e,t;function n(){return i[69](i[153])}function l(...a){return i[70](i[153],...a)}function r(...a){return i[71](i[153],...a)}return e=new ep({props:{settings:i[151].mfModal.settings,nodepath:i[151].mfModal.nodepath,modalIndex:i[153],disableBackdrop:i[12]}}),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]&134217728&&(c.settings=i[151].mfModal.settings),o[0]&134217728&&(c.nodepath=i[151].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Me(e,a)}}}function b_(i){let e,t,n=i[151].mfModal.displayed&&m_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[151].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=m_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function v_(i){let e,t;return e=new ep({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[b3]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[4]&1073741824&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function b3(i){let e,t;return e=new Wl({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function w_(i){let e,t;return e=new ck({props:{settings:i[26].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]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function k_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new Tk({props:r}),Ye.push(()=>St(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],kt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Me(e,a)}}}function v3(i){let e,t,n,l,r,a,o,c;e=new Wl({props:{disable:i[12],$$slots:{default:[k3]},$$scope:{ctx:i}}});let g=i[10]&&C_(),d=!i[24]&&y_(i),h=!i[20]&&P_(i),p=!(i[20]||i[21])&&T_(i),b=i[15]&&!i[20]&&I_(i);return{c(){Ue(e.$$.fragment),t=W(),g&&g.c(),n=W(),d&&d.c(),l=W(),h&&h.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=Se()},m(m,v){Oe(e,m,v),A(m,t,v),g&&g.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),h&&h.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[4]&1073741824&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=C_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(we(),U(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=y_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?h&&(we(),U(h,1,1,()=>{h=null}),ke()):h?(h.p(m,v),v[0]&1048576&&R(h,1)):(h=P_(m),h.c(),R(h,1),h.m(r.parentNode,r)),m[20]||m[21]?p&&(we(),U(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=T_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=I_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(we(),U(b,1,1,()=>{b=null}),ke())},i(m){c||(R(e.$$.fragment,m),R(d),R(h),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(h),U(p),U(b),c=!1},d(m){Me(e,m),m&&L(t),g&&g.d(m),m&&L(n),d&&d.d(m),m&&L(l),h&&h.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function w3(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=!i[24]&&L_(i),v=!(i[20]||i[21])&&A_(i),C=i[19]&&E_(i);h=new Wl({props:{disable:i[12],$$slots:{default:[S3]},$$scope:{ctx:i}}});let y=i[10]&&V_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),g=W(),d=S("div"),Ue(h.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1nk76lp"),f(c,"class","fd-tool-layout__content-container svelte-1nk76lp"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1nk76lp"),f(e,"class","lui-core-layout svelte-1nk76lp")},m(P,T){A(P,e,T),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,g),w(c,d),Oe(h,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,T){P[24]?m&&(we(),U(m,1,1,()=>{m=null}),ke()):m?(m.p(P,T),T[0]&16777216&&R(m,1)):(m=L_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(we(),U(v,1,1,()=>{v=null}),ke()):v?(v.p(P,T),T[0]&3145728&&R(v,1)):(v=A_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,T),T[0]&524288&&R(C,1)):(C=E_(P),C.c(),R(C,1),C.m(c,g)):C&&(we(),U(C,1,1,()=>{C=null}),ke());const E={};T[0]&4096&&(E.disable=P[12]),T[0]&1177600|T[4]&1073741824&&(E.$$scope={dirty:T,ctx:P}),h.$set(E),P[10]?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(h.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(h.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Me(h),y&&y.d()}}}function S_(i){let e,t;return e=new np({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function k3(i){let e,t,n,l,r,a,o,c,g;t=new Wl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&S_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=Se(),f(l,"class","wcContainer svelte-1nk76lp"),f(e,"class","fd-page iframeContainer svelte-1nk76lp"),f(e,"tabindex","0"),Kt(e,"lui-split-view",i[11].displayed),Kt(e,"lui-collapsed",i[11].collapsed)},m(h,p){A(h,e,p),Oe(t,e,null),w(e,n),w(e,l),A(h,r,p),d&&d.m(h,p),A(h,a,p),o=!0,c||(g=W_(i[45].call(null,e)),c=!0)},p(h,p){const b={};p[0]&4096&&(b.disable=h[12]),t.$set(b),(!o||p[0]&2048)&&Kt(e,"lui-split-view",h[11].displayed),(!o||p[0]&2048)&&Kt(e,"lui-collapsed",h[11].collapsed),h[11].displayed?d?(d.p(h,p),p[0]&2048&&R(d,1)):(d=S_(h),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),U(d,1,1,()=>{d=null}),ke())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){U(t.$$.fragment,h),U(d),o=!1},d(h){h&&L(e),Me(t),h&&L(r),d&&d.d(h),h&&L(a),c=!1,g()}}}function C_(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>
60
60
  <div class="fd-busy-indicator__circle"></div>
61
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1nk76lp"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function N_(i){let e,t,n,l,r,a,o;function c(m){i[80](m)}function g(m){i[81](m)}function d(m){i[82](m)}function h(m){i[83](m)}function p(m){i[84](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new gp({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>bt(e,"displaySearchResult",g,i[3])),Je.push(()=>bt(e,"searchResult",d,i[4])),Je.push(()=>bt(e,"inputElem",h,i[1])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],mt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],mt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],mt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],mt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function T_(i){let e,t,n,l;e=new _3({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]);let r=i[19]&&I_(i);return{c(){Ue(e.$$.fragment),t=W(),r&&r.c(),n=Ce()},m(a,o){Me(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=I_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Fe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function I_(i){let e,t;return e=new mp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new rp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t;return e=new pp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function E_(i){let e,t,n,l,r,a,o;function c(m){i[75](m)}function g(m){i[76](m)}function d(m){i[77](m)}function h(m){i[78](m)}function p(m){i[79](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new gp({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>bt(e,"displaySearchResult",g,i[3])),Je.push(()=>bt(e,"searchResult",d,i[4])),Je.push(()=>bt(e,"inputElem",h,i[1])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],mt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],mt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],mt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],mt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function R_(i){let e,t,n,l;return n=new rp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[30]),n.$on("resizeTabNav",i[31]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-1nk76lp"),f(e,"class","fd-tool-layout__navigation-container svelte-1nk76lp")},m(r,a){A(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Fe(n)}}}function D_(i){let e,t;return e=new mp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function V_(i){let e,t;return e=new pp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O_(i){let e,t;return e=new lp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function y3(i){let e,t,n,l,r,a,o,c,g,d;t=new Ul({props:{area:"main",disable:i[12]}});let h=i[15]&&!i[20]&&V_(i),p=i[11].displayed&&O_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),h&&h.c(),a=W(),p&&p.c(),o=Ce(),f(l,"class","wcContainer svelte-1nk76lp"),f(e,"class","fd-page iframeContainer svelte-1nk76lp"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Me(t,e,null),w(e,n),w(e,l),A(b,r,m),h&&h.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,g||(d=q_(i[45].call(null,e)),g=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&jt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&jt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?h?(h.p(b,m),m[0]&1081344&&R(h,1)):(h=V_(b),h.c(),R(h,1),h.m(a.parentNode,a)):h&&(ke(),U(h,1,1,()=>{h=null}),Se()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=O_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ke(),U(p,1,1,()=>{p=null}),Se())},i(b){c||(R(t.$$.fragment,b),R(h),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(h),U(p),c=!1},d(b){b&&L(e),Fe(t),b&&L(r),h&&h.d(b),b&&L(a),p&&p.d(b),b&&L(o),g=!1,d()}}}function M_(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>
61
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1nk76lp"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function y_(i){let e,t,n,l,r,a,o;function c(m){i[80](m)}function g(m){i[81](m)}function d(m){i[82](m)}function h(m){i[83](m)}function p(m){i[84](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:b}),Ye.push(()=>St(e,"isSearchFieldVisible",c,i[0])),Ye.push(()=>St(e,"displaySearchResult",g,i[3])),Ye.push(()=>St(e,"searchResult",d,i[4])),Ye.push(()=>St(e,"inputElem",h,i[1])),Ye.push(()=>St(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Me(e,m)}}}function P_(i){let e,t,n,l;e=new g3({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]);let r=i[19]&&N_(i);return{c(){Ue(e.$$.fragment),t=W(),r&&r.c(),n=Se()},m(a,o){Oe(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=N_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Me(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function N_(i){let e,t;return e=new _p({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function T_(i){let e,t;return e=new ip({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function I_(i){let e,t;return e=new gp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function L_(i){let e,t,n,l,r,a,o;function c(m){i[75](m)}function g(m){i[76](m)}function d(m){i[77](m)}function h(m){i[78](m)}function p(m){i[79](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:b}),Ye.push(()=>St(e,"isSearchFieldVisible",c,i[0])),Ye.push(()=>St(e,"displaySearchResult",g,i[3])),Ye.push(()=>St(e,"searchResult",d,i[4])),Ye.push(()=>St(e,"inputElem",h,i[1])),Ye.push(()=>St(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Me(e,m)}}}function A_(i){let e,t,n,l;return n=new ip({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[30]),n.$on("resizeTabNav",i[31]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-1nk76lp"),f(e,"class","fd-tool-layout__navigation-container svelte-1nk76lp")},m(r,a){A(r,e,a),w(e,t),Oe(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Me(n)}}}function E_(i){let e,t;return e=new _p({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function R_(i){let e,t;return e=new gp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function D_(i){let e,t;return e=new np({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function S3(i){let e,t,n,l,r,a,o,c,g,d;t=new Wl({props:{area:"main",disable:i[12]}});let h=i[15]&&!i[20]&&R_(i),p=i[11].displayed&&D_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),h&&h.c(),a=W(),p&&p.c(),o=Se(),f(l,"class","wcContainer svelte-1nk76lp"),f(e,"class","fd-page iframeContainer svelte-1nk76lp"),f(e,"tabindex","0"),Kt(e,"lui-split-view",i[11].displayed),Kt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Oe(t,e,null),w(e,n),w(e,l),A(b,r,m),h&&h.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,g||(d=W_(i[45].call(null,e)),g=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Kt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Kt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?h?(h.p(b,m),m[0]&1081344&&R(h,1)):(h=R_(b),h.c(),R(h,1),h.m(a.parentNode,a)):h&&(we(),U(h,1,1,()=>{h=null}),ke()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=D_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(we(),U(p,1,1,()=>{p=null}),ke())},i(b){c||(R(t.$$.fragment,b),R(h),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(h),U(p),c=!1},d(b){b&&L(e),Me(t),b&&L(r),h&&h.d(b),b&&L(a),p&&p.d(b),b&&L(o),g=!1,d()}}}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>
62
62
  <div class="fd-busy-indicator__circle"></div>
63
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1nk76lp"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function P3(i){let e,t,n,l,r,a,o,c,g,d,h,p=i[25]&&i[25].length&&b_(i),b=i[27],m=[];for(let I=0;I<b.length;I+=1)m[I]=w_(m_(i,b,I));const v=I=>U(m[I],1,1,()=>{m[I]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&k_(i),y=i[26].displayed&&S_(i),P=i[17].displayed&&C_(i);const T=[S3,k3],E=[];function V(I,H){return I[29]?0:1}return o=V(i),c=E[o]=T[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let I=0;I<m.length;I+=1)m[I].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1nk76lp"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[21]),jt(e,"no-top-nav",i[24]),jt(e,"no-animation",i[22]),jt(e,"btp-layout",i[29])},m(I,H){A(I,e,H),p&&p.m(e,null),w(e,t);for(let O=0;O<m.length;O+=1)m[O].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),E[o].m(e,null),g=!0,d||(h=[te(p_,"resize",i[35]),te(p_,"keydown",i[46])],d=!0)},p(I,H){if(I[25]&&I[25].length?p?(p.p(I,H),H[0]&33554432&&R(p,1)):(p=b_(I),p.c(),R(p,1),p.m(e,t)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),H[0]&134221824|H[1]&896){b=I[27];let O;for(O=0;O<b.length;O+=1){const D=m_(I,b,O);m[O]?(m[O].p(D,H),R(m[O],1)):(m[O]=w_(D),m[O].c(),R(m[O],1),m[O].m(e,n))}for(ke(),O=b.length;O<m.length;O+=1)v(O);Se()}I[28].displayed&&I[28].settings.isDrawer?C?(C.p(I,H),H[0]&268435456&&R(C,1)):(C=k_(I),C.c(),R(C,1),C.m(e,l)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),I[26].displayed?y?(y.p(I,H),H[0]&67108864&&R(y,1)):(y=S_(I),y.c(),R(y,1),y.m(e,r)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),I[17].displayed?P?(P.p(I,H),H[0]&131072&&R(P,1)):(P=C_(I),P.c(),R(P,1),P.m(e,a)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),c.p(I,H),(!g||H[0]&8388608)&&f(e,"configversion",I[23]),(!g||H[0]&1048576)&&jt(e,"no-nav",I[20]),(!g||H[0]&2097152)&&jt(e,"no-side-nav",I[21]),(!g||H[0]&16777216)&&jt(e,"no-top-nav",I[24]),(!g||H[0]&4194304)&&jt(e,"no-animation",I[22])},i(I){if(!g){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),g=!0}},o(I){U(p),m=m.filter(v3);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),g=!1},d(I){I&&L(e),p&&p.d(),ht(m,I),C&&C.d(),y&&y.d(),P&&P.d(),E[o].d(),d=!1,Ye(h)}}}function N3(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,h,p,b,m,v,C,y,P,T,E,V,I,H,O,D,q,Z,$,pe,x=!0,G=!1,K,J,ge,ie=[],se={isDirty:!1,persistUrl:null},ve,re,Re=!1,ze,ne,ce={},Te,tt,Be,rt=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Pt}=e,{inputElem:_e}=e,{luigiCustomSearchRenderer__slot:$e}=e,{displaySearchResult:kt}=e,{searchResult:qt}=e,{storedUserSettings:Nn}=e;const Ft=async B=>{const fe=B.iframe.luigi,De=fe.currentNode&&fe.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Oe=De&&typeof qe=="object"&&qe!==null,de=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ie.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Oe?qe[De]:null,anchor:ul.getAnchor(),cssVariables:await Do.getCSSVariables()});return Ee.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{de[Ie]=B[Ie]||!1}),de},Ne=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||I)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Ft(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=De,Ee.sendMessageToIframe(B.iframe,De)},ct=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(fe)},at=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const De=Tn(B.params),qe=lt.getNodePath(O,H);ie.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(qe,fe.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:E}),fe.iframe.pv="pv"}},Ot=(B,fe,De,qe)=>{let Oe=Tn(B.params,De,qe);const{preventHistoryEntry:de,preserveQueryParams:Ie,preventContextUpdate:Ct}=B.params,Ht={keepBrowserHistory:!de,navSync:x,preventContextUpdate:Ct};return Oe=le.addLeadingSlash(Oe),Oe=Ie?we.composeSearchParamsToRoute(Oe):Oe,at(B,fe),lt.navigateTo(Oe,Ht)},Bt=B=>B.split("?")[0],wn=(B,fe)=>{if(B.length===0)return!1;const De=fe.startsWith("/")?fe:`/${fe}`,qe=[...B].pop();return[Bt(qe.path),Bt(qe.nextPath)].includes(Bt(De))},ei=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},xt=B=>new Promise((fe,De)=>{Wl(B)?Li().then(()=>{ei(),fe()},()=>{De()}):fe()}),kn=()=>({get:()=>({unsavedChanges:se,hideNav:ut,viewUrl:D,nodeParams:V,viewGroup:q,urlParamsRaw:H,currentNode:O,navigationPath:J,context:E,pathParams:I,hideSideNav:St,isolateView:Z,pageErrorHandler:$,previousNodeValues:pe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:x}),set:B=>{B&&(t(22,tn=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,ut=B.hideNav):fe==="viewUrl"?D=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?q=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?O=B.currentNode:fe==="navigationPath"?t(14,J=B.navigationPath):fe==="context"?E=B.context:fe==="pathParams"?t(13,I=B.pathParams):fe==="hideSideNav"?(St!=B.hideSideNav&&(t(22,tn=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,St=B.hideSideNav)):fe==="isolateView"?Z=B.isolateView:fe==="pageErrorHandler"?$=B.pageErrorHandler:fe==="previousNodeValues"?pe=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(Be),Be=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(Be)):fe==="tabNav"?t(15,re=B.tabNav):fe==="isNavigateBack"?G=B.isNavigateBack:fe==="goBackContext"?K=B.goBackContext:fe==="isNavigationSyncEnabled"&&(x=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Wl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Li,showAlert:Sl,prepareInternalData:Ft,dispatch:n}),Gn=(B,fe)=>{dn.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),zn.deleteCache();const qe=lt.getCurrentPath();lt.handleRouteChange(qe,kn(),B,fe)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Oe,preventContextUpdate:de}=qe||{};wn(ie,De)||(ie=[],oi.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Ji(Ct);Yr.removeBackdrop(),fi(),lt.handleRouteChange(De,kn(),B,fe,Oe,de)})},Yt=(B,fe)=>le.replaceVars(lt.getNodePath(B),fe,":",!1),Tn=(B,fe,De)=>{const qe=fe||O,Oe=De||I;let de=J;if(fe){let Ct=fe.parent;for(de=[fe];Ct;)de.push(Ct),Ct=Ct.parent;de=[...de].reverse()}let Ie=B.link;if(B.fromVirtualTreeRoot){const Ct=[...de].reverse().find(Ht=>Ht.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=lt.concatenatePath(Yt(Ct,Oe),B.link)}else if(B.fromParent)Ie=lt.concatenatePath(Yt(qe.parent,Oe),B.link);else if(B.fromClosestContext){const Ct=[...de].reverse().find(Ht=>Ht.navigationContext&&Ht.navigationContext.length>0);Ie=lt.concatenatePath(Yt(Ct,Oe),B.link)}else if(B.fromContext){const Ct=B.fromContext,Ht=[...de].reverse().find(Sr=>Ct===Sr.navigationContext);Ie=lt.concatenatePath(Yt(Ht,Oe),B.link)}else B.intent?Ie=we.getIntentPath(B.link):B.relative&&(Ie=lt.concatenatePath(Yt(qe,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,Ht)=>{Ie+=encodeURIComponent(we.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(Ht<Object.keys(B.nodeParams).length-1?"&":"")})),Ie},ki=B=>{const fe=B.detail.node;xt().then(()=>{if(Bl(),fe.openNodeInModal){const De=we.buildRoute(fe,`/${fe.pathSegment}`);_n(De,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const De=we.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Qr(De,fe.drawer)}else kn().set({isNavigationSyncEnabled:!0}),lt.handleRouteClick(fe,kn())},()=>{})},Si=()=>{t(16,Re=!Re)};Br("handleNavigation",Ot);const hn=B=>B?!0:(console.warn("No search provider defined."),!1),Ci=()=>{hn(ne)&&t(0,Pt=!1)},yi=()=>{hn(ne)&&_e&&(t(0,Pt=!0),_e.focus())},Pi=()=>{hn(ne)&&_e&&(t(1,_e.value="",_e),Ii())},Ni=()=>{t(0,Pt=!Pt),L2.clearSearchField()},Ti=()=>{if(hn(ne)&&_e)return _e.value},_l=B=>{hn(ne)&&_e&&(t(1,_e.value=B,_e),le.isFunction(ne.onInput)?ne.onInput():console.error("onInput is not a function. Please check the global search configuration."))},pl=B=>{hn(ne)&&_e&&t(1,_e.placeholder=B,_e)},ml=B=>{if(hn(ne))if(B&&B.length>0)if(le.isFunction(ne.customSearchResultRenderer)){let fe={fireItemSelected:De=>{ne.onSearchResultItemSelected(De)}};ne.customSearchResultRenderer(B,$e,fe)}else t(3,kt=!0),t(4,qt=B);else console.warn("Search result array is empty.")},Ii=()=>{if(hn(ne)&&(t(3,kt=!1),t(4,qt=[]),$e))for(;$e.lastElementChild;)$e.removeChild($e.lastElementChild)},zi=B=>{let fe=B.detail.node,De={params:{link:fe.link,nodeParams:fe.params}};Ot(De)},qi=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=dt.getDefaultData().mfSplitView),dt.open(kn(),B,fe)},fi=()=>{dt.close(kn())},bl=()=>{dt.collapse(kn()),t(11,o.collapsed=!0,o)},vl=()=>{dt.expand(kn()),t(11,o.collapsed=!1,o)},Gi=()=>o.displayed?o.collapsed:!1,wl=()=>o.displayed?!o.collapsed:!1,kl=()=>o.displayed,Q=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},ye=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},nt=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ut,St,tn,gn,ti,ni;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},gr=()=>{Yi();const B=window.innerWidth>=sn.desktopMinWidth&&gn<sn.desktopMinWidth,fe=window.innerWidth<sn.desktopMinWidth&&gn>=sn.desktopMinWidth;(B||fe)&&Bl(),gn=window.innerWidth};let In=[];const Ki=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(De=>De.settings.id===fe)[0]},Sl=(B,fe=!1)=>{const De=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Oe=De(B,fe);if(Oe!==!1)return Oe}const qe=In;return B.id||(B.id=le.getRandomId()),B.id&&qe&&Ki(qe,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{Ki(In,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Oe,de)=>{t(25,In=[...qe||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Oe}}])}))},Hl=(B,fe)=>{const De=Ki(In,B);if(!De){console.error("An unexisting alert has been dismissed.",In,B);return}if(t(25,In=In.filter(qe=>qe.settings.id!==B)),De.openFromClient){const qe=oi.getActiveIframe(ge),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ee.sendMessageToIframe(qe,Oe)}else De.promise&&De.promise.resolve(fe||B)},_r=B=>{Hl(B.detail.id,B.detail.dismissKey)};let ji;const Cl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Cl();const yl=(B,fe=!1,De)=>new Promise((qe,Oe)=>{t(26,ji={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:qe,reject:Oe},targetIframe:De})}),ci=B=>{const{promise:fe,openFromClient:De,targetIframe:qe}=ji;if(Cl(),B?fe.resolve():fe.reject(),De&&qe){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(qe,Oe)}},Wl=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},Li=()=>yl({header:yt.getTranslation("luigi.unsavedChangesAlert.header"),body:yt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:yt.getTranslation("luigi.button.dismiss"),buttonConfirm:yt.getTranslation("luigi.button.confirm")}),pr=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;Br("getUnsavedChangesModalPromise",xt);let Y=[];const Et=(B,fe)=>{var qe;if(typeof B>"u"){t(27,Y=[]);return}let De;if(t(27,Y=Y.filter((Oe,de)=>(B===de&&(De=Oe),B!==de))),(qe=De==null?void 0:De.mfModal)!=null&&qe.openerIframe){const Oe={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(De.mfModal.openerIframe,Oe)}};Et();const _n=async(B,fe,De)=>{if(await oe.shouldPreventNavigationForPath(B))return;const qe={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:De}};t(27,Y=[...Y,qe]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&lt.appendModalDataToUrl(B,fe)},ii=(B,fe)=>{t(27,Y[fe].modalIframe=B.detail.modalIframe,Y),t(27,Y[fe].modalIframeData=B.detail.modalIframeData,Y)},mr=(B,fe)=>{t(27,Y[fe].modalWC=B.detail.modalWC,Y),t(27,Y[fe].modalWCData=B.detail.modalWCData,Y)},Ji=(B,fe,De)=>{const qe=(Ie,Ct)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&lt.removeModalDataFromUrl(Ct),Et(Ie,De)},Oe=Y[B],de=le.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?xt(Oe.modalIframe.contentWindow).then(()=>{qe(B,fe),de&&de.doResolve(De)},()=>{}):Oe&&Oe.modalWC&&(qe(B,fe),de&&de.doResolve(De))};Br("openViewInModal",_n);let en={};const zl=()=>{t(28,en.displayed=!1,en),t(28,en.nodepath=void 0,en),t(28,en.settings={},en),t(12,h=!1)};zl();const Qr=async(B,fe)=>{await oe.shouldPreventNavigationForPath(B)||(t(28,en.displayed=!0,en),t(28,en.nodepath=B,en),t(28,en.settings=fe,en),en.settings&&en.settings.backdrop&&t(12,h=!0))},Zr=()=>window.innerWidth>=sn.desktopMinWidth&&en.displayed&&en.settings&&!en.settings.overlap,Yi=(B=!1)=>{if(!Zr())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(fe);De.forEach(Oe=>{Xr(Oe,qe)})}},Xr=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},br=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Yi()},cs=B=>{m=B.detail.modalWC,B.detail.modalWCData,Yi()},$r=B=>{d=B.detail.activeDrawer},Qi=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{zl()},()=>{}):m&&xt().then(()=>{zl()},()=>{}),Yi(!0)}catch(fe){console.log(fe)}},xr=()=>{const B=or.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,ce.userSettingGroups=[...B],ce),t(17,ce.displayed=!0,ce)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,ce.displayed=!1,ce)},ea=async B=>{if(await oe.shouldPreventNavigationForPath(B))return;ae.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},ta=B=>{let fe=J;if(O){let Oe=O.parent;for(fe=[O];Oe;)fe.push(Oe),Oe=Oe.parent;fe=[...fe].reverse()}let De=B.link,qe=Yt(O,I);if(B.fromVirtualTreeRoot){const Oe=[...fe].reverse().find(Ie=>Ie.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=Yt(Oe,I);De=qe.split(de).join("")}else if(B.fromParent){const Oe=Yt(O.parent,I);De=qe.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...fe].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),de=Yt(Oe,I);De=qe.split(de).join("")}else if(B.fromContext){const Oe=B.fromContext,de=[...fe].reverse().find(Ct=>Oe===Ct.navigationContext),Ie=Yt(de,I);De=qe.split(Ie).join("")}else De=qe;return De};function vr(B){sessionStorage.removeItem("historyState"),sr.shouldPreload=!0,sr.preload(!0),sr.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),De=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:De};yt.addCurrentLocaleChangeListener(de=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(Ie)}),On.addEventListener("popstate",async de=>{const Ie=In;if(!Ie||!(Ie.length>0))return;const Ct=Ie.map(Ht=>{if(Ht&&!Ht.openFromClient&&typeof Ht.settings.ttl=="number"){if(Ht.settings.ttl===0)return null;Ht.settings.ttl--}return Ht}).filter(Ht=>Ht);t(25,In=Ct)}),On.addEventListener("message",async de=>{const Ie=Ee.getValidMessageSource(de),Ct=Y[Y.length-1],Ht=Ct&&Ct.modalIframe,Sr=Ct&&Ct.modalIframeData,Xi={modalIframe:Ht,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!Ie)return;Ie._ready=!0;const Cr=Ee.getSpecialIframeMessageSource(de,Xi),$i=Cr&&Cr.length>0,Gl=ae.getConfigValue("communication.skipEventsWhenInactive");if(Gl&&Gl.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&Gl.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const Ke=ae.getConfigValue("communication.customMessagesListeners")||{},xe=rs.convertCustomMessageInternalToUser(de.data),Lt=Ke[xe.id],Wt="luigi.updateUserSettings";if(ce&&xe.id===Wt){Lt&&console.warn(`The key "${Wt}" is not allowed to use for custom messages.`);return}if(typeof Lt=="function"){const Ln=Hi.getMicrofrontends().find(Mn=>Ee.isMessageSource(de,Mn.container));Lt(xe,Ln,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${xe.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Oe.navigateOk=!0,sr.preload()),de.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=de.data.clientVersion,Ie.luigi.initOk=!1,$i)Cr.forEach(async Ke=>{let xe=Xi[Ke.dataKey].context;const Lt={...Oe,iframe:Xi[Ke.iframeKey],context:xe,pathParams:Xi[Ke.dataKey].pathParams,nodeParams:Xi[Ke.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Xi[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await Ne(Lt,{})});else if(Oe.iframe&&Ee.isMessageSource(de,Oe.iframe))await Ne(Oe,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&ia(),sr.preload();else if(Ie.luigi.preloading)await Ne({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=or.findActiveCustomUserSettingsIframe(de.source);if(Ke){let xe=Ke.getAttribute("userSettingsGroup"),Lt={context:{userSettingsData:Nn[xe]},iframe:Ke};await Ne(Lt)}}sr.viewGroupLoaded(Ie)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Be),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){G=!1;const Ke=window.location.href,xe=$i?Ie.luigi.currentNode:void 0,Lt=$i?Ie.luigi.pathParams:void 0,Wt=de.data.params,{intent:Ln,newTab:Mn,modal:on,splitView:Kl,drawer:Pl,withoutSync:ks}=Wt;let jl=Mn||on||Kl||Pl;const ca=()=>{const Gt=le.getRemotePromise(de.data.remotePromiseId);Gt&&Gt.doResolve()},Nl=()=>{const Gt=le.getRemotePromise(de.data.remotePromiseId);Gt&&Gt.doReject()},nn=Gt=>{!Gt||Ke!==window.location.href?ca():Nl()};de.source!==window&&!Ln&&Wt.link&&(Wt.link=Wt.link.split("?")[0]);let pn=Tn(de.data.params,xe,Lt);if(jl=jl||Ln&&pn.external,!jl)xt().then(()=>{x=!de.data.params.withoutSync,Ot(de.data,Oe,xe,Lt).then(()=>{nn(!0)}).catch(()=>{Nl()}),Y.forEach((Gt,Ss)=>{Ji(Ss)}),fi(),Qi(),x=!0}).catch(()=>{Nl()});else{if(Ln&&pn.external){lt.navigateToExternalLink({url:pn.url,sameWindow:!pn.openInNewTab});return}if(pn=le.addLeadingSlash(pn),Mn){await ea(pn),nn();return}const Gt=await ql(pn);if(pn=await we.handlePageNotFoundAndRetrieveRedirectPath(kn(),pn,Gt),!pn){Nl();return}ge=B,on!==void 0?(!on.keepPrevious&&Et(),await _n(pn,on===!0?{}:on,Ie),nn()):Kl!==void 0?(await qi(pn,Kl),nn()):Pl!==void 0&&(zl(),Pl.isDrawer=!0,await Qr(pn,Pl),nn())}}if(de.data.msg==="luigi.navigation.back"){const Ke=Y[Y.length-1],xe=Y.length>1&&Y[Y.length-2],Lt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,Ke&&Ke.modalIframe)){Ji(Y.length-1,!0,Lt);let Wt=Oe;if(xe&&xe.modalIframeData&&xe.modalIframe){const Ln=xe,Mn=Ln.modalIframeData;Wt={pathParams:Mn.pathParams,context:Mn.context,iframe:Ln.modalIframe}}Wt.iframe&&await Ne(Wt,{goBackContext:Lt})}else Ee.isMessageSource(de,C)?(fi(),Oe.iframe&&await Ne(Oe,{goBackContext:Lt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Qi(),Oe.iframe&&await Ne(Oe,{goBackContext:Lt})):ie&&ie.length>0?xt().then(()=>{oi.setActiveIframeToPrevious(B);const Wt=ie.pop();Oe.iframe=oi.getActiveIframe(B),G=!0,ie=ie,K=Lt,Ot({params:{link:Wt.path}},Oe)},()=>{}):(Lt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const Ke=de.data.data,Lt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ke),correlationId:Ke.id}};Ee.sendMessageToIframe(Ie,Lt)}if(de.data.msg==="luigi.auth.tokenIssued"&&ct(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const Ke=le.addLeadingSlash(Tn(de.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));lt.updateModalDataInUrl(Ke,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const Ke=Ie.luigi.currentNode,xe=Ie.luigi.pathParams,Lt=de.data.data,Wt=Tn(Lt,Ke,xe),Ln=Wt?await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Wt):!1,Mn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Lt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Ee.sendMessageToIframe(Ie,Mn)}if(de.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Ke=new Set;Ke.add(de.source),se={dirtySet:Ke}}se.persistUrl=window.location.href,de.data.dirty?se.dirtySet.add(de.source):se.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const Ke=de.data.data.settings;ge=B,Cl(),yl(Ke,!0,Ie).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=de.data.data;if(!Ke.text&&!le.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}ge=B,Sl(Ke,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=de.data.data;Ke&&yt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&na(),de.data.msg==="storage"&&nk.process(Ie.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let Ke=Ie.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(de.data.errorObj,Ke):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(de.data.errorObj,Ke)}if(de.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:xe}=de.data;we.addSearchParamsFromClient(Ie.luigi.currentNode,Ke,xe)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if($i)return;const{data:Ke,keepBrowserHistory:xe}=de.data;ul.addNodeParams(Ke,xe)}if(de.data.msg==="luigi.setAnchor"){const{anchor:Ke}=de.data;ul.setAnchor(Ke)}if(de.data.msg==="luigi.setVGData"){const Ke=de.data,xe=oe.findViewGroup(Ie.luigi.currentNode);if(xe){const Lt=oe.getViewGroupSettings(xe);Lt._liveCustomData=Ke.data,ae.configChanged("navigation.viewgroupdata")}}}),Gn(B,Oe)}Br("store",l),Br("getTranslation",r);const na=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function ia(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Be),t(10,a=!1)},250)):clearTimeout(Be)}const ql=async B=>{const fe={link:B,relative:B[0]!=="/",intent:we.hasIntent(B)},De=Tn(fe),qe=De?await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wr=()=>Y.length>0||ie.length!==0;$t(()=>{if(Do._init(),ne=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),gn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),oe.getBurgerTooltipConfig()){const[B,fe]=oe.getBurgerTooltipConfig();B&&fe&&t(18,Te=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(oe.getBurgerTooltipConfig()){const[B,fe]=oe.getBurgerTooltipConfig();if(B&&fe){const De=JSON.parse(localStorage.getItem(oe.COL_NAV_KEY));t(18,Te=De?B:fe)}}document.body.classList.add("lui-semiCollapsible")}ze=ae.getConfigValue("settings.thirdPartyCookieCheck"),ze&&ze.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ze.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{b3()==="disabled"&&na()}),document.body.removeChild(B)}})}),jr(()=>{Yi()}),qn(()=>{t(19,tt=ae.getConfigValue("navigation.breadcrumbs")),ne=ae.getConfigValue("globalSearch.searchProvider"),t(23,ti=ae.getConfigValue("tag")),t(24,ni=ae.getConfigValue("settings.header.disabled"))});const Zi=B=>{B.keyCode===mi&&Y&&Y.length>0&&Ji(Y.length-1)},la=B=>Ji(B,!0),ra=(B,fe)=>ii(fe,B),hs=(B,fe)=>mr(fe,B),aa=()=>ci(!0),sa=()=>ci(!1);function oa(B){Nn=B,t(5,Nn)}function ua(B){Pt=B,t(0,Pt)}function gs(B){kt=B,t(3,kt)}function _s(B){qt=B,t(4,qt)}function ps(B){_e=B,t(1,_e)}function fa(B){$e=B,t(2,$e)}function ms(B){Pt=B,t(0,Pt)}function bs(B){kt=B,t(3,kt)}function vs(B){qt=B,t(4,qt)}function ws(B){_e=B,t(1,_e)}function kr(B){$e=B,t(2,$e)}return i.$$set=B=>{"store"in B&&t(47,l=B.store),"getTranslation"in B&&t(48,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Pt=B.isSearchFieldVisible),"inputElem"in B&&t(1,_e=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,$e=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,kt=B.displaySearchResult),"searchResult"in B&&t(4,qt=B.searchResult),"storedUserSettings"in B&&t(5,Nn=B.storedUserSettings)},[Pt,_e,$e,kt,qt,Nn,Ni,Ii,zi,ds,a,o,h,I,J,re,Re,ce,Te,tt,ut,St,tn,ti,ni,In,ji,Y,en,rt,ki,Si,Q,ye,nt,gr,_r,ci,ii,mr,Ji,br,cs,$r,Qi,vr,Zi,l,r,Ci,yi,Pi,Ti,_l,pl,ml,qi,fi,bl,vl,Gi,wl,kl,Sl,yl,pr,xr,ql,wr,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,kr]}class T3 extends Vt{constructor(e){super(),Dt(this,e,N3,P3,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,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[6]}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[7]}get handleSearchNavigation(){return this.$$.ctx[8]}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[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const I3=()=>{const{subscribe:i,update:e,reset:t}=fr({}),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)})}}},bp=I3(),L3=S2((i,e,t)=>yt.getTranslation(i,e,t));Luigi._store=bp;const A3=()=>new Promise(i=>{yt._init(),fn.init().then(()=>{setTimeout(()=>{let e;Hi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new T3({target:Hi.getLuigiContainer(),props:{store:bp,getTranslation:L3}}),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(A3);
63
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1nk76lp"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function C3(i){let e,t,n,l,r,a,o,c,g,d,h,p=i[25]&&i[25].length&&p_(i),b=i[27],m=[];for(let I=0;I<b.length;I+=1)m[I]=b_(__(i,b,I));const v=I=>U(m[I],1,1,()=>{m[I]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&v_(i),y=i[26].displayed&&w_(i),P=i[17].displayed&&k_(i);const T=[w3,v3],E=[];function V(I,H){return I[29]?0:1}return o=V(i),c=E[o]=T[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let I=0;I<m.length;I+=1)m[I].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1nk76lp"),Kt(e,"no-nav",i[20]),Kt(e,"no-side-nav",i[21]),Kt(e,"no-top-nav",i[24]),Kt(e,"no-animation",i[22]),Kt(e,"btp-layout",i[29])},m(I,H){A(I,e,H),p&&p.m(e,null),w(e,t);for(let O=0;O<m.length;O+=1)m[O].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),E[o].m(e,null),g=!0,d||(h=[te(g_,"resize",i[35]),te(g_,"keydown",i[46])],d=!0)},p(I,H){if(I[25]&&I[25].length?p?(p.p(I,H),H[0]&33554432&&R(p,1)):(p=p_(I),p.c(),R(p,1),p.m(e,t)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),H[0]&134221824|H[1]&896){b=I[27];let O;for(O=0;O<b.length;O+=1){const D=__(I,b,O);m[O]?(m[O].p(D,H),R(m[O],1)):(m[O]=b_(D),m[O].c(),R(m[O],1),m[O].m(e,n))}for(we(),O=b.length;O<m.length;O+=1)v(O);ke()}I[28].displayed&&I[28].settings.isDrawer?C?(C.p(I,H),H[0]&268435456&&R(C,1)):(C=v_(I),C.c(),R(C,1),C.m(e,l)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),I[26].displayed?y?(y.p(I,H),H[0]&67108864&&R(y,1)):(y=w_(I),y.c(),R(y,1),y.m(e,r)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),I[17].displayed?P?(P.p(I,H),H[0]&131072&&R(P,1)):(P=k_(I),P.c(),R(P,1),P.m(e,a)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),c.p(I,H),(!g||H[0]&8388608)&&f(e,"configversion",I[23]),(!g||H[0]&1048576)&&Kt(e,"no-nav",I[20]),(!g||H[0]&2097152)&&Kt(e,"no-side-nav",I[21]),(!g||H[0]&16777216)&&Kt(e,"no-top-nav",I[24]),(!g||H[0]&4194304)&&Kt(e,"no-animation",I[22])},i(I){if(!g){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),g=!0}},o(I){U(p),m=m.filter(m3);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),g=!1},d(I){I&&L(e),p&&p.d(),_t(m,I),C&&C.d(),y&&y.d(),P&&P.d(),E[o].d(),d=!1,Qe(h)}}}function y3(i,e,t){const n=jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,h,p,b,m,v,C,y,P,T,E,V,I,H,O,D,q,Q,X,ge,$=!0,G=!1,K,J,he,ne=[],se={isDirty:!1,persistUrl:null},be,re,Ee=!1,Be,ie={},ce,Ne,tt,ze=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ze}=e,{inputElem:ut}=e,{luigiCustomSearchRenderer__slot:me}=e,{displaySearchResult:it}=e,{searchResult:Pt}=e,{storedUserSettings:en}=e;const xn=async B=>{const fe=B.iframe.luigi,Re=fe.currentNode&&fe.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Ve=Re&&typeof qe=="object"&&qe!==null,Pe=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ve?qe[Re]:null,anchor:fl.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ae.specialIframeTypes.map(Fe=>Fe.iframeConfigKey).forEach(Fe=>{Pe[Fe]=B[Fe]||!1}),Pe},Lt=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||I)),searchParams:JSON.stringify(Object.assign({},ve.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await xn(B)),authData:cl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ae.sendMessageToIframe(B.iframe,Re)},Te=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(fe)},ht=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Re=un(B.params),qe=st.getNodePath(O,H);ne.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(qe,fe.iframe.luigi.pathParams,":",!1):qe,nextPath:Re.startsWith("/")?Re:"/"+Re,context:E}),fe.iframe.pv="pv"}},lt=(B,fe,Re,qe)=>{let Ve=un(B.params,Re,qe);const{preventHistoryEntry:Pe,preserveQueryParams:Fe,preventContextUpdate:Ke}=B.params,xe={keepBrowserHistory:!Pe,navSync:$,preventContextUpdate:Ke};return Ve=le.addLeadingSlash(Ve),Ve=Fe?ve.composeSearchParamsToRoute(Ve):Ve,ht(B,fe),st.navigateTo(Ve,xe)},Ht=B=>B.split("?")[0],Jt=(B,fe)=>{if(B.length===0)return!1;const Re=fe.startsWith("/")?fe:`/${fe}`,qe=[...B].pop();return[Ht(qe.path),Ht(qe.nextPath)].includes(Ht(Re))},kn=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},on=B=>new Promise((fe,Re)=>{Ii(B)?ql().then(()=>{kn(),fe()},()=>{Re()}):fe()}),Qt=()=>({get:()=>({unsavedChanges:se,hideNav:nt,viewUrl:D,nodeParams:V,viewGroup:q,urlParamsRaw:H,currentNode:O,navigationPath:J,context:E,pathParams:I,hideSideNav:ft,isolateView:Q,pageErrorHandler:X,previousNodeValues:ge,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:$}),set:B=>{B&&(t(22,Tt=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,nt=B.hideNav):fe==="viewUrl"?D=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?q=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?O=B.currentNode:fe==="navigationPath"?t(14,J=B.navigationPath):fe==="context"?E=B.context:fe==="pathParams"?t(13,I=B.pathParams):fe==="hideSideNav"?(ft!=B.hideSideNav&&(t(22,Tt=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(21,ft=B.hideSideNav)):fe==="isolateView"?Q=B.isolateView:fe==="pageErrorHandler"?X=B.pageErrorHandler:fe==="previousNodeValues"?ge=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(tt),tt=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(tt)):fe==="tabNav"?t(15,re=B.tabNav):fe==="isNavigateBack"?G=B.isNavigateBack:fe==="goBackContext"?K=B.goBackContext:fe==="isNavigationSyncEnabled"&&($=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ii,getUnsavedChangesModalPromise:on,showUnsavedChangesModal:ql,showAlert:Ki,prepareInternalData:xn,dispatch:n}),pl=(B,fe)=>{pn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Hn.deleteCache();const qe=st.getCurrentPath();st.handleRouteChange(qe,Qt(),B,fe)},["navigation.nodes"]),ve.addRouteChangeListener((Re,qe)=>{const{withoutSync:Ve,preventContextUpdate:Pe}=qe||{};Jt(ne,Re)||(ne=[],si.removeInactiveIframes(B));for(let Ke=bt.length;Ke--;)Li(Ke);Yr.removeBackdrop(),ui(),st.handleRouteChange(Re,Qt(),B,fe,Ve,Pe)})},Zt=(B,fe)=>le.replaceVars(st.getNodePath(B),fe,":",!1),un=(B,fe,Re)=>{const qe=fe||O,Ve=Re||I;let Pe=J;if(fe){let Ke=fe.parent;for(Pe=[fe];Ke;)Pe.push(Ke),Ke=Ke.parent;Pe=[...Pe].reverse()}let Fe=B.link;if(B.fromVirtualTreeRoot){const Ke=[...Pe].reverse().find(xe=>xe.virtualTree);if(!Ke){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Fe=st.concatenatePath(Zt(Ke,Ve),B.link)}else if(B.fromParent)Fe=st.concatenatePath(Zt(qe.parent,Ve),B.link);else if(B.fromClosestContext){const Ke=[...Pe].reverse().find(xe=>xe.navigationContext&&xe.navigationContext.length>0);Fe=st.concatenatePath(Zt(Ke,Ve),B.link)}else if(B.fromContext){const Ke=B.fromContext,xe=[...Pe].reverse().find(kr=>Ke===kr.navigationContext);Fe=st.concatenatePath(Zt(xe,Ve),B.link)}else B.intent?Fe=ve.getIntentPath(B.link):B.relative&&(Fe=st.concatenatePath(Zt(qe,Ve),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Fe+=Fe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ke,xe)=>{Fe+=encodeURIComponent(ve.getContentViewParamPrefix()+Ke[0])+"="+encodeURIComponent(Ke[1])+(xe<Object.keys(B.nodeParams).length-1?"&":"")})),Fe},vi=B=>{const fe=B.detail.node;on().then(()=>{if(ti(),fe.openNodeInModal){const Re=ve.buildRoute(fe,`/${fe.pathSegment}`);Vt(Re,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Re=ve.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Qr(Re,fe.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),st.handleRouteClick(fe,Qt())},()=>{})},wi=()=>{t(16,Ee=!Ee)};Br("handleNavigation",lt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),ki=()=>{mn(Be)&&t(0,Ze=!1)},Si=()=>{mn(Be)&&ut&&(t(0,Ze=!0),ut.focus())},Ci=()=>{mn(Be)&&ut&&(t(1,ut.value="",ut),zi())},yi=()=>{t(0,Ze=!Ze),I2.clearSearchField()},Pi=()=>{if(mn(Be)&&ut)return ut.value},Ni=B=>{mn(Be)&&ut&&(t(1,ut.value=B,ut),le.isFunction(Be.onInput)?Be.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Be)&&ut&&t(1,ut.placeholder=B,ut)},bl=B=>{if(mn(Be))if(B&&B.length>0)if(le.isFunction(Be.customSearchResultRenderer)){let fe={fireItemSelected:Re=>{Be.onSearchResultItemSelected(Re)}};Be.customSearchResultRenderer(B,me,fe)}else t(3,it=!0),t(4,Pt=B);else console.warn("Search result array is empty.")},zi=()=>{if(mn(Be)&&(t(3,it=!1),t(4,Pt=[]),me))for(;me.lastElementChild;)me.removeChild(me.lastElementChild)},qi=B=>{let fe=B.detail.node,Re={params:{link:fe.link,nodeParams:fe.params}};lt(Re)},Ti=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=gt.getDefaultData().mfSplitView),gt.open(Qt(),B,fe)},ui=()=>{gt.close(Qt())},vl=()=>{gt.collapse(Qt()),t(11,o.collapsed=!0,o)},wl=()=>{gt.expand(Qt()),t(11,o.collapsed=!1,o)},kl=()=>o.displayed?o.collapsed:!1,Gi=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Y=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Ce=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let nt,ft,Tt,tn,In,ei;const ti=()=>{document.body.classList.remove("lui-leftNavToggle")},_r=()=>{Yi();const B=window.innerWidth>=sn.desktopMinWidth&&tn<sn.desktopMinWidth,fe=window.innerWidth<sn.desktopMinWidth&&tn>=sn.desktopMinWidth;(B||fe)&&ti(),tn=window.innerWidth};let Ln=[];const yl=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===fe)[0]},Ki=(B,fe=!1)=>{const Re=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(Re)){const Ve=Re(B,fe);if(Ve!==!1)return Ve}const qe=Ln;return B.id||(B.id=le.getRandomId()),B.id&&qe&&yl(qe,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{yl(Ln,B.id)&&zl(B.id)},B.closeAfter),new Promise((Ve,Pe)=>{t(25,Ln=[...qe||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ve}}])}))},zl=(B,fe)=>{const Re=yl(Ln,B);if(!Re){console.error("An unexisting alert has been dismissed.",Ln,B);return}if(t(25,Ln=Ln.filter(qe=>qe.settings.id!==B)),Re.openFromClient){const qe=si.getActiveIframe(he),Ve={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ae.sendMessageToIframe(qe,Ve)}else Re.promise&&Re.promise.resolve(fe||B)},pr=B=>{zl(B.detail.id,B.detail.dismissKey)};let ji;const Pl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const Nl=(B,fe=!1,Re)=>new Promise((qe,Ve)=>{t(26,ji={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:qe,reject:Ve},targetIframe:Re})}),Tl=B=>{const{promise:fe,openFromClient:Re,targetIframe:qe}=ji;if(Pl(),B?fe.resolve():fe.reject(),Re&&qe){const Ve={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(qe,Ve)}},Ii=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>Nl({header:Nt.getTranslation("luigi.unsavedChangesAlert.header"),body:Nt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Nt.getTranslation("luigi.button.dismiss"),buttonConfirm:Nt.getTranslation("luigi.button.confirm")}),Ji=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;Br("getUnsavedChangesModalPromise",on);let bt=[];const ee=(B,fe)=>{var qe;if(typeof B>"u"){t(27,bt=[]);return}let Re;if(t(27,bt=bt.filter((Ve,Pe)=>(B===Pe&&(Re=Ve),B!==Pe))),(qe=Re==null?void 0:Re.mfModal)!=null&&qe.openerIframe){const Ve={msg:"luigi.navigation.modal.close",data:fe};Ae.sendMessageToIframe(Re.mfModal.openerIframe,Ve)}};ee();const Vt=async(B,fe,Re)=>{if(await oe.shouldPreventNavigationForPath(B))return;const qe={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:Re}};t(27,bt=[...bt,qe]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&bt.length===1&&st.appendModalDataToUrl(B,fe)},Sn=(B,fe)=>{t(27,bt[fe].modalIframe=B.detail.modalIframe,bt),t(27,bt[fe].modalIframeData=B.detail.modalIframeData,bt)},ni=(B,fe)=>{t(27,bt[fe].modalWC=B.detail.modalWC,bt),t(27,bt[fe].modalWCData=B.detail.modalWCData,bt)},Li=(B,fe,Re)=>{const qe=(Fe,Ke)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&bt.length===1&&st.removeModalDataFromUrl(Ke),ee(Fe,Re)},Ve=bt[B],Pe=le.getRemotePromise(Ve.mfModal.settings.onClosePromiseId);Ve&&Ve.modalIframe?on(Ve.modalIframe.contentWindow).then(()=>{qe(B,fe),Pe&&Pe.doResolve(Re)},()=>{}):Ve&&Ve.modalWC&&(qe(B,fe),Pe&&Pe.doResolve(Re))};Br("openViewInModal",Vt);let nn={};const Gl=()=>{t(28,nn.displayed=!1,nn),t(28,nn.nodepath=void 0,nn),t(28,nn.settings={},nn),t(12,h=!1)};Gl();const Qr=async(B,fe)=>{await oe.shouldPreventNavigationForPath(B)||(t(28,nn.displayed=!0,nn),t(28,nn.nodepath=B,nn),t(28,nn.settings=fe,nn),nn.settings&&nn.settings.backdrop&&t(12,h=!0))},fs=()=>window.innerWidth>=sn.desktopMinWidth&&nn.displayed&&nn.settings&&!nn.settings.overlap,Yi=(B=!1)=>{if(!fs())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(fe);Re.forEach(Ve=>{Zr(Ve,qe)})}},Zr=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},Xr=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Yi()},mr=B=>{m=B.detail.modalWC,B.detail.modalWCData,Yi()},cs=B=>{d=B.detail.activeDrawer},Kl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?on(p.contentWindow).then(()=>{Gl()},()=>{}):m&&on().then(()=>{Gl()},()=>{}),Yi(!0)}catch(fe){console.log(fe)}},jl=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,ie.userSettingGroups=[...B],ie),t(17,ie.displayed=!0,ie)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},$r=()=>{t(17,ie.displayed=!1,ie)},ds=async B=>{if(await oe.shouldPreventNavigationForPath(B))return;ae.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},xr=B=>{let fe=J;if(O){let Ve=O.parent;for(fe=[O];Ve;)fe.push(Ve),Ve=Ve.parent;fe=[...fe].reverse()}let Re=B.link,qe=Zt(O,I);if(B.fromVirtualTreeRoot){const Ve=[...fe].reverse().find(Fe=>Fe.virtualTree);if(!Ve){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const Pe=Zt(Ve,I);Re=qe.split(Pe).join("")}else if(B.fromParent){const Ve=Zt(O.parent,I);Re=qe.split(Ve).join("")}else if(B.fromClosestContext){const Ve=[...fe].reverse().find(Fe=>Fe.navigationContext&&Fe.navigationContext.length>0),Pe=Zt(Ve,I);Re=qe.split(Pe).join("")}else if(B.fromContext){const Ve=B.fromContext,Pe=[...fe].reverse().find(Ke=>Ve===Ke.navigationContext),Fe=Zt(Pe,I);Re=qe.split(Fe).join("")}else Re=qe;return Re};function ea(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),Re=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ve={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Re};Nt.addCurrentLocaleChangeListener(Pe=>{const Fe={msg:"luigi.current-locale-changed",currentLocale:Pe};Ae.broadcastMessageToAllIframes(Fe)}),Wn.addEventListener("popstate",async Pe=>{const Fe=Ln;if(!Fe||!(Fe.length>0))return;const Ke=Fe.map(xe=>{if(xe&&!xe.openFromClient&&typeof xe.settings.ttl=="number"){if(xe.settings.ttl===0)return null;xe.settings.ttl--}return xe}).filter(xe=>xe);t(25,Ln=Ke)}),Wn.addEventListener("message",async Pe=>{const Fe=Ae.getValidMessageSource(Pe),Ke=bt[bt.length-1],xe=Ke&&Ke.modalIframe,kr=Ke&&Ke.modalIframeData,Zi={modalIframe:xe,modalIframeData:kr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!Fe)return;Fe._ready=!0;const Sr=Ae.getSpecialIframeMessageSource(Pe,Zi),Xi=Sr&&Sr.length>0,Cr=ae.getConfigValue("communication.skipEventsWhenInactive");if(Cr&&Cr.length>0&&!Xi&&Fe.contentWindow!==window&&!le.isElementVisible(Fe)&&Cr.includes(Pe.data.msg)){console.debug(`EVENT '${Pe.data.msg}' from inactive iframe -> SKIPPED`);return}if(Pe.data.msg==="custom"){const je=ae.getConfigValue("communication.customMessagesListeners")||{},Et=ls.convertCustomMessageInternalToUser(Pe.data),Ut=je[Et.id],wt="luigi.updateUserSettings";if(ie&&Et.id===wt){Ut&&console.warn(`The key "${wt}" is not allowed to use for custom messages.`);return}if(typeof Ut=="function"){const Cn=Hi.getMicrofrontends().find(dn=>Ae.isMessageSource(Pe,dn.container));Ut(Et,Cn,le.removeInternalProperties(Fe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Et.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(Pe.data.msg==="luigi.init.ok"&&(Fe.luigi.initOk=!0),Pe.data.msg==="luigi.navigate.ok"&&(Fe.luigi.viewUrl=Fe.luigi.nextViewUrl,Fe.luigi.nextViewUrl="",Fe.luigi.clientPermissions=Fe.luigi.nextClientPermissions,delete Fe.luigi.nextClientPermissions,Ve.navigateOk=!0,or.preload()),Pe.data.msg==="luigi.get-context"){if(Fe.luigi.clientVersion=Pe.data.clientVersion,Fe.luigi.initOk=!1,Xi)Sr.forEach(async je=>{let Et=Zi[je.dataKey].context;const Ut={...Ve,iframe:Zi[je.iframeKey],context:Et,pathParams:Zi[je.dataKey].pathParams,nodeParams:Zi[je.dataKey].nodeParams,searchParams:ve.prepareSearchParamsForClient(Zi[je.iframeKey].luigi.currentNode),modal:je.iframeKey.startsWith("modal"),drawer:je.iframeKey.startsWith("drawer"),splitView:je.iframeKey.startsWith("splitView")};await Lt(Ut,{})});else if(Ve.iframe&&Ae.isMessageSource(Pe,Ve.iframe))await Lt(Ve,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&br(),or.preload();else if(Fe.luigi.preloading)await Lt({iframe:Fe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let je=ur.findActiveCustomUserSettingsIframe(Pe.source);if(je){let Et=je.getAttribute("userSettingsGroup"),Ut={context:{userSettingsData:en[Et]},iframe:je};await Lt(Ut)}}or.viewGroupLoaded(Fe)}if(Pe.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),Pe.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(tt),t(10,a=!1)),Pe.data.msg==="luigi.navigation.open"){G=!1;const je=window.location.href,Et=Xi?Fe.luigi.currentNode:void 0,Ut=Xi?Fe.luigi.pathParams:void 0,wt=Pe.data.params,{intent:Cn,newTab:dn,modal:$i,splitView:Il,drawer:hn,withoutSync:ws}=wt;let Jl=dn||$i||Il||hn;const fa=()=>{const zt=le.getRemotePromise(Pe.data.remotePromiseId);zt&&zt.doResolve()},Ll=()=>{const zt=le.getRemotePromise(Pe.data.remotePromiseId);zt&&zt.doReject()},xi=zt=>{!zt||je!==window.location.href?fa():Ll()};Pe.source!==window&&!Cn&&wt.link&&(wt.link=wt.link.split("?")[0]);let gn=un(Pe.data.params,Et,Ut);if(Jl=Jl||Cn&&gn.external,!Jl)on().then(()=>{$=!Pe.data.params.withoutSync,lt(Pe.data,Ve,Et,Ut).then(()=>{xi(!0)}).catch(()=>{Ll()}),bt.forEach((zt,ks)=>{Li(ks)}),ui(),Kl(),$=!0}).catch(()=>{Ll()});else{if(Cn&&gn.external){st.navigateToExternalLink({url:gn.url,sameWindow:!gn.openInNewTab});return}if(gn=le.addLeadingSlash(gn),dn){await ds(gn),xi();return}const zt=await ta(gn);if(gn=await ve.handlePageNotFoundAndRetrieveRedirectPath(Qt(),gn,zt),!gn){Ll();return}he=B,$i!==void 0?(!$i.keepPrevious&&ee(),await Vt(gn,$i===!0?{}:$i,Fe),xi()):Il!==void 0?(await Ti(gn,Il),xi()):hn!==void 0&&(Gl(),hn.isDrawer=!0,await Qr(gn,hn),xi())}}if(Pe.data.msg==="luigi.navigation.back"){const je=bt[bt.length-1],Et=bt.length>1&&bt[bt.length-2],Ut=Pe.data.goBackContext&&JSON.parse(Pe.data.goBackContext);if(Ae.isMessageSource(Pe,je&&je.modalIframe)){Li(bt.length-1,!0,Ut);let wt=Ve;if(Et&&Et.modalIframeData&&Et.modalIframe){const Cn=Et,dn=Cn.modalIframeData;wt={pathParams:dn.pathParams,context:dn.context,iframe:Cn.modalIframe}}wt.iframe&&await Lt(wt,{goBackContext:Ut})}else Ae.isMessageSource(Pe,C)?(ui(),Ve.iframe&&await Lt(Ve,{goBackContext:Ut})):Ae.isMessageSource(Pe,p)?(d&&(d=!d),Kl(),Ve.iframe&&await Lt(Ve,{goBackContext:Ut})):ne&&ne.length>0?on().then(()=>{si.setActiveIframeToPrevious(B);const wt=ne.pop();Ve.iframe=si.getActiveIframe(B),G=!0,ne=ne,K=Ut,lt({params:{link:wt.path}},Ve)},()=>{}):(Ut&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(Pe.data.msg==="luigi.navigation.currentRoute"){const je=Pe.data.data,Ut={msg:"luigi.navigation.currentRoute.answer",data:{route:xr(je),correlationId:je.id}};Ae.sendMessageToIframe(Fe,Ut)}if(Pe.data.msg==="luigi.auth.tokenIssued"&&Te(Pe.data.authData),Pe.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Xi){const je=le.addLeadingSlash(un(Pe.data.params,Fe.luigi.currentNode,Fe.luigi.pathParams));st.updateModalDataInUrl(je,Pe.data.params.modal,Pe.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(Pe.data.msg==="luigi.navigation.pathExists"){const je=Fe.luigi.currentNode,Et=Fe.luigi.pathParams,Ut=Pe.data.data,wt=un(Ut,je,Et),Cn=wt?await Bt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),wt):!1,dn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Ut.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Fe,dn)}if(Pe.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const je=new Set;je.add(Pe.source),se={dirtySet:je}}se.persistUrl=window.location.href,Pe.data.dirty?se.dirtySet.add(Pe.source):se.dirtySet.delete(Pe.source)}if(Pe.data.msg==="luigi.ux.confirmationModal.show"){const je=Pe.data.data.settings;he=B,Pl(),Nl(je,!0,Fe).catch(()=>{})}if(Pe.data.msg==="luigi.ux.alert.show"){const{settings:je}=Pe.data.data;if(!je.text&&!le.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}he=B,Ki(je,!0).catch(()=>{})}if(Pe.data.msg==="luigi.ux.set-current-locale")if(Fe.luigi.clientPermissions&&Fe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:je}=Pe.data.data;je&&Nt.setCurrentLocale(je)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Pe.data.msg==="storage"&&tk.process(Fe.luigi.id,Pe.origin,Pe.data.data.id,Pe.data.data.operation,Pe.data.data.params),Pe.data.msg==="luigi-runtime-error-handling"){let je=Fe.luigi.currentNode;je&&je.runTimeErrorHandler&&le.isFunction(je.runTimeErrorHandler.errorFn)?je.runTimeErrorHandler.errorFn(Pe.data.errorObj,je):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(Pe.data.errorObj,je)}if(Pe.data.msg==="luigi.addSearchParams")if(Fe.luigi.currentNode.clientPermissions&&Fe.luigi.currentNode.clientPermissions.urlParameters){const{data:je,keepBrowserHistory:Et}=Pe.data;ve.addSearchParamsFromClient(Fe.luigi.currentNode,je,Et)}else console.warn("No client permissions to add url parameter for this node.");if(Pe.data.msg==="luigi.addNodeParams"){if(Xi)return;const{data:je,keepBrowserHistory:Et}=Pe.data;fl.addNodeParams(je,Et)}if(Pe.data.msg==="luigi.setAnchor"){const{anchor:je}=Pe.data;fl.setAnchor(je)}if(Pe.data.msg==="luigi.setVGData"){const je=Pe.data,Et=oe.findViewGroup(Fe.luigi.currentNode);if(Et){const Ut=oe.getViewGroupSettings(Et);Ut._liveCustomData=je.data,ae.configChanged("navigation.viewgroupdata")}}}),pl(B,Ve)}Br("store",l),Br("getTranslation",r);function br(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(tt),t(10,a=!1)},250)):clearTimeout(tt)}const ta=async B=>{const fe={link:B,relative:B[0]!=="/",intent:ve.hasIntent(B)},Re=un(fe),qe=Re?await Bt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Re):!1;return qe?qe.isExistingRoute:!1},na=()=>bt.length>0||ne.length!==0;xt(()=>{if(Ro._init(),Be=ae.getConfigValue("globalSearch.searchProvider"),be=ae.getConfigValue("settings.responsiveNavigation"),tn=window.innerWidth,be==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),oe.getBurgerTooltipConfig()){const[B,fe]=oe.getBurgerTooltipConfig();B&&fe&&t(18,ce=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(be==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(oe.getBurgerTooltipConfig()){const[B,fe]=oe.getBurgerTooltipConfig();if(B&&fe){const Re=JSON.parse(localStorage.getItem(oe.COL_NAV_KEY));t(18,ce=Re?B:fe)}}document.body.classList.add("lui-semiCollapsible")}}),jr(()=>{Yi()}),zn(()=>{t(19,Ne=ae.getConfigValue("navigation.breadcrumbs")),Be=ae.getConfigValue("globalSearch.searchProvider"),t(23,In=ae.getConfigValue("tag")),t(24,ei=ae.getConfigValue("settings.header.disabled"))});const vr=B=>{B.keyCode===_i&&bt&&bt.length>0&&Li(bt.length-1)},wr=B=>Li(B,!0),Qi=(B,fe)=>Sn(fe,B),ia=(B,fe)=>ni(fe,B),la=()=>Tl(!0),hs=()=>Tl(!1);function ra(B){en=B,t(5,en)}function aa(B){Ze=B,t(0,Ze)}function sa(B){it=B,t(3,it)}function oa(B){Pt=B,t(4,Pt)}function gs(B){ut=B,t(1,ut)}function _s(B){me=B,t(2,me)}function ps(B){Ze=B,t(0,Ze)}function ua(B){it=B,t(3,it)}function ms(B){Pt=B,t(4,Pt)}function bs(B){ut=B,t(1,ut)}function vs(B){me=B,t(2,me)}return i.$$set=B=>{"store"in B&&t(47,l=B.store),"getTranslation"in B&&t(48,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ze=B.isSearchFieldVisible),"inputElem"in B&&t(1,ut=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,me=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,it=B.displaySearchResult),"searchResult"in B&&t(4,Pt=B.searchResult),"storedUserSettings"in B&&t(5,en=B.storedUserSettings)},[Ze,ut,me,it,Pt,en,yi,zi,qi,$r,a,o,h,I,J,re,Ee,ie,ce,Ne,nt,ft,Tt,In,ei,Ln,ji,bt,nn,ze,vi,wi,Cl,Y,Ce,_r,pr,Tl,Sn,ni,Li,Xr,mr,cs,Kl,ea,vr,l,r,ki,Si,Ci,Pi,Ni,ml,bl,Ti,ui,vl,wl,kl,Gi,Sl,Ki,Nl,Ji,jl,ta,na,wr,Qi,ia,la,hs,ra,aa,sa,oa,gs,_s,ps,ua,ms,bs,vs]}class P3 extends Ft{constructor(e){super(),Mt(this,e,y3,C3,Dt,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-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[6]}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[7]}get handleSearchNavigation(){return this.$$.ctx[8]}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[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const N3=()=>{const{subscribe:i,update:e,reset:t}=cr({}),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)})}}},pp=N3(),T3=k2((i,e,t)=>Nt.getTranslation(i,e,t));Luigi._store=pp;const I3=()=>new Promise(i=>{Nt._init(),cn.init().then(()=>{setTimeout(()=>{let e;Hi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new P3({target:Hi.getLuigiContainer(),props:{store:pp,getTranslation:T3}}),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(I3);
64
64
  //# sourceMappingURL=luigi.js.map