@luigi-project/core 2.19.3-dev.202501230030 → 2.19.3-dev.202501241346

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 +16 -27
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,11 +1,11 @@
1
- var $w=Object.defineProperty;var xw=(i,e,t)=>e in i?$w(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ul=(i,e,t)=>(xw(i,typeof e!="symbol"?e+"":e,t),t);function We(){}function ek(i,e){for(const t in e)i[t]=e[t];return i}function tk(i){return i&&typeof i=="object"&&typeof i.then=="function"}function G_(i){return i()}function Kf(){return Object.create(null)}function Je(i){i.forEach(G_)}function bi(i){return typeof i=="function"}function Et(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function $e(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function nk(i){return Object.keys(i).length===0}function qo(i,...e){if(i==null)return We;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return qo(i,t=>e=t)(),e}function vi(i,e,t){i.$$.on_destroy.push(qo(e,t))}function ds(i,e,t,n){if(i){const l=K_(i,e,t,n);return i[0](l)}}function K_(i,e,t,n){return i[1]&&n?ek(t.ctx.slice(),i[1](n(e))):t.ctx}function hs(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 gs(i,e,t,n,l,r){if(l){const a=K_(e,t,n,r);i.p(a,l)}}function _s(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 Mn(i){return i??""}function j_(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 ft(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 ik(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function ke(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Bt(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 lk(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function On(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 rk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=ik(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 jr;function qi(i){jr=i}function _l(){if(!jr)throw new Error("Function called outside component initialization");return jr}function Gn(i){_l().$$.before_update.push(i)}function nn(i){_l().$$.on_mount.push(i)}function Zr(i){_l().$$.after_update.push(i)}function Xr(i){_l().$$.on_destroy.push(i)}function Jt(){const i=_l();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=rk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function qr(i,e){return _l().$$.context.set(i,e),e}function kt(i){return _l().$$.context.get(i)}function Bl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Gr=[],je=[],ts=[],Mo=[],ak=Promise.resolve();let Fo=!1;function sk(){Fo||(Fo=!0,ak.then(zo))}function Uo(i){ts.push(i)}function vt(i){Mo.push(i)}const Do=new Set;let xa=0;function zo(){const i=jr;do{for(;xa<Gr.length;){const e=Gr[xa];xa++,qi(e),ok(e.$$)}for(qi(null),Gr.length=0,xa=0;je.length;)je.pop()();for(let e=0;e<ts.length;e+=1){const t=ts[e];Do.has(t)||(Do.add(t),t())}ts.length=0}while(Gr.length);for(;Mo.length;)Mo.pop()();Fo=!1,Do.clear(),qi(i)}function ok(i){if(i.fragment!==null){i.update(),Je(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Uo)}}const ns=new Set;let Hl;function ve(){Hl={r:0,c:[],p:Hl}}function we(){Hl.r||Je(Hl.c),Hl=Hl.p}function R(i,e){i&&i.i&&(ns.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ns.has(i))return;ns.add(i),Hl.c.push(()=>{ns.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ls(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 h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(ve(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),we())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&zo()}if(tk(i)){const l=_l();if(i.then(r=>{qi(l),n(e.then,1,e.value,r),qi(null)},r=>{if(qi(l),n(e.catch,2,e.error,r),qi(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 J_(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 pl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function wt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Me(i){i&&i.c()}function Ve(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Uo(()=>{const a=i.$$.on_mount.map(G_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Je(a),i.$$.on_mount=[]}),r.forEach(Uo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&(Je(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function uk(i,e){i.$$.dirty[0]===-1&&(Gr.push(i),sk(),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=jr;qi(i);const h=i.$$={fragment:null,ctx:[],props:r,update:We,not_equal:l,bound:Kf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Kf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&uk(i,g)),p}):[],h.update(),d=!0,Je(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=lk(e.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Ve(i,e.target,e.anchor,e.customElement),zo()}qi(c)}class Vt{$destroy(){Oe(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&&!nk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class fk{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 rs=new fk;class ck{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new ck;class dk{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 dk;let hk=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()=>{Jk.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),zi.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 rs.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await rs.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return mi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),cn.unload(),Fn.removeAllEventListeners();const e=zi.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=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({},me.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 ss=new hk;let gk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&cn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&cn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.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 te.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:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>{si.setNewlyAuthorized(),cn.resetExpirationChecks()}}}};const Y_=new gk,fn={desktopMinWidth:600},_k=[{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"}],pk={cssSelector:"[luigi-app-root]"},mk={cssSelector:"[luigi-app-loading-indicator]"};let bk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(pk.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 Q_=new bk;class vk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Nn extends vk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,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}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}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.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!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)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class wk{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Nn().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Nn().navigateToIntent(e,t)}openAsModal(e,t,n){return new Nn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Nn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Nn().openAsDrawer(e,t)}fromContext(e){return new Nn().fromContext(e)}fromClosestContext(){return new Nn().fromClosestContext()}fromVirtualTreeRoot(){return new Nn().fromVirtualTreeRoot()}fromParent(){return new Nn().fromParent()}getCurrentRoute(){return new Nn().getCurrentRoute()}withParams(e){return new Nn().withParams(e)}pathExists(e){return new Nn().pathExists(e)}hasBack(){return new Nn().hasBack()}goBack(e){return new Nn().goBack(e)}}const Z_=new wk,kk={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"}}},Sk=kk;class Ck{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Sk,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)}),ss.configChanged()}_initCustomImplementation(){this.translationImpl=ss.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("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const X_=new Ck;class yk{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const Pk=new yk,ur=[];function Ik(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=We){let t;const n=new Set;function l(o){if(Et(i,o)&&(i=o,t)){const c=!ur.length;for(const h of n)h[1](),ur.push(h,i);if(c){for(let h=0;h<ur.length;h+=2)ur[h][0](ur[h+1]);ur.length=0}}}function r(o){l(o(i))}function a(o,c=We){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||We),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Nk{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.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<fn.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<fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>fn.desktopMinWidth&&this.previousWindowWidth>=fn.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(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.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 pi=new Nk;let Tk=class{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(mk.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){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Nn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const $_=new Tk;let Lk=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 x_=new Lk;let Ak=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.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=te.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!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.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(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.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=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Yr.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 ep=new Ak;let Ek=class{constructor(){this.featureToggleList=gr([])}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 tp=new Ek;let Rk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.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);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.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 te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.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 np=new Rk,te=ss,mi=Y_,zi=Q_,ip=Z_,Tt=X_,$r=$_,Dk=x_,Bo=ep,Go=tp,ul=np;window.Luigi=ss;window.Luigi.auth=()=>Y_;window.Luigi.elements=()=>Q_;window.Luigi.navigation=()=>Z_;window.Luigi.i18n=()=>X_;window.Luigi.customMessages=()=>Pk;window.Luigi.ux=()=>$_;window.Luigi.globalSearch=()=>x_;window.Luigi.theming=()=>ep;window.Luigi.featureToggles=()=>tp;window.Luigi.routing=()=>np;class Vk{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=re.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:Tt.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=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Tt.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}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)):re.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=me.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),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);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):h||(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({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(I=>{Ae.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:I[N.userSettingsGroup]},internal:Ae.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(N.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 ai=new Vk;class Ok{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,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 fr=new Ok;class Mk{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 g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),zn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).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 rs.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)?Ut.getChildrenFromCache(e):await Ut.getChildren(e)}getChildrenFromCache(e){let t=zn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.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 h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,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 h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
1
+ var xw=Object.defineProperty;var ek=(i,e,t)=>e in i?xw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Mn=(i,e,t)=>(ek(i,typeof e!="symbol"?e+"":e,t),t);function qe(){}function tk(i,e){for(const t in e)i[t]=e[t];return i}function nk(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function K_(i){return i()}function jf(){return Object.create(null)}function Ye(i){i.forEach(K_)}function wi(i){return typeof i=="function"}function Rt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ts;function xe(i,e){return i===e?!0:(ts||(ts=document.createElement("a")),ts.href=e,i===ts.href)}function ik(i){return Object.keys(i).length===0}function zo(i,...e){if(i==null){for(const n of e)n(void 0);return qe}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function fl(i){let e;return zo(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(zo(e,t))}function hs(i,e,t,n){if(i){const l=j_(i,e,t,n);return i[0](l)}}function j_(i,e,t,n){return i[1]&&n?tk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(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 _s(i,e,t,n,l,r){if(l){const a=j_(e,t,n,r);i.p(a,l)}}function ps(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 Un(i){return i??""}function J_(i){return i&&wi(i.destroy)?i.destroy:qe}const ml=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function w(i,e){i.appendChild(e)}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function lk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function ke(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function bt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ht(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 rk(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.data!==e&&(i.data=e)}function Jf(i,e){i.value=e??""}function Fn(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Jt(i,e,t){i.classList.toggle(e,!!t)}function ak(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class kr{constructor(e=!1){Mn(this,"is_svg",!1);Mn(this,"e");Mn(this,"n");Mn(this,"t");Mn(this,"a");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=lk(t.nodeName):this.e=S(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}let Qr;function Gi(i){Qr=i}function bl(){if(!Qr)throw new Error("Function called outside component initialization");return Qr}function jn(i){bl().$$.before_update.push(i)}function ln(i){bl().$$.on_mount.push(i)}function xr(i){bl().$$.after_update.push(i)}function ea(i){bl().$$.on_destroy.push(i)}function Yt(){const i=bl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=ak(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function jr(i,e){return bl().$$.context.set(i,e),e}function St(i){return bl().$$.context.get(i)}function Hl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const hr=[],Je=[];let _r=[];const Fo=[],sk=Promise.resolve();let Uo=!1;function ok(){Uo||(Uo=!0,sk.then(Go))}function Bo(i){_r.push(i)}function wt(i){Fo.push(i)}const Vo=new Set;let fr=0;function Go(){if(fr!==0)return;const i=Qr;do{try{for(;fr<hr.length;){const e=hr[fr];fr++,Gi(e),uk(e.$$)}}catch(e){throw hr.length=0,fr=0,e}for(Gi(null),hr.length=0,fr=0;Je.length;)Je.pop()();for(let e=0;e<_r.length;e+=1){const t=_r[e];Vo.has(t)||(Vo.add(t),t())}_r.length=0}while(hr.length);for(;Fo.length;)Fo.pop()();Uo=!1,Vo.clear(),Gi(i)}function uk(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(Bo)}}function fk(i){const e=[],t=[];_r.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),_r=e}const is=new Set;let Wl;function ve(){Wl={r:0,c:[],p:Wl}}function we(){Wl.r||Ye(Wl.c),Wl=Wl.p}function R(i,e){i&&i.i&&(is.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(is.has(i))return;is.add(i),Wl.c.push(()=>{is.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function rs(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 h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(ve(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),we())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&Go()}if(nk(i)){const l=bl();if(i.then(r=>{Gi(l),n(e.then,1,e.value,r),Gi(null)},r=>{if(Gi(l),n(e.catch,2,e.error,r),Gi(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 Y_(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)}function Re(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function kt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Fe(i){i&&i.c()}function Oe(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Bo(()=>{const r=i.$$.on_mount.map(K_).filter(wi);i.$$.on_destroy?i.$$.on_destroy.push(...r):Ye(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Me(i,e){const t=i.$$;t.fragment!==null&&(fk(t.after_update),Ye(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ck(i,e){i.$$.dirty[0]===-1&&(hr.push(i),ok(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Vt(i,e,t,n,l,r,a=null,o=[-1]){const c=Qr;Gi(i);const h=i.$$={fragment:null,ctx:[],props:r,update:qe,not_equal:l,bound:jf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:jf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&ck(i,g)),p}):[],h.update(),d=!0,Ye(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=rk(e.target);h.fragment&&h.fragment.l(g),g.forEach(A)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Oe(i,e.target,e.anchor),Go()}Gi(c)}class Ot{constructor(){Mn(this,"$$");Mn(this,"$$set")}$destroy(){Me(this,1),this.$destroy=qe}$on(e,t){if(!wi(t))return qe;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&&!ik(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const dk="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(dk);class hk{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 as=new hk;class gk{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new gk;class _k{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 Kn=new _k;let pk=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()=>{Zk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=mn.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),Ki.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 as.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await as.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return vi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),dn.unload(),Bn.removeAllEventListeners();const e=Ki.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(){Kn.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({},me.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 os=new pk;let mk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&dn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&dn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.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 te.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(),dn.resetExpirationChecks()}}}};const Q_=new mk,cn={desktopMinWidth:600},bk=[{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"}],vk={cssSelector:"[luigi-app-root]"},wk={cssSelector:"[luigi-app-loading-indicator]"};let kk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(vk.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 Z_=new kk;class Sk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Tn extends Sk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,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}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}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.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!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)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class Ck{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Tn().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Tn().navigateToIntent(e,t)}openAsModal(e,t,n){return new Tn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Tn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Tn().openAsDrawer(e,t)}fromContext(e){return new Tn().fromContext(e)}fromClosestContext(){return new Tn().fromClosestContext()}fromVirtualTreeRoot(){return new Tn().fromVirtualTreeRoot()}fromParent(){return new Tn().fromParent()}getCurrentRoute(){return new Tn().getCurrentRoute()}withParams(e){return new Tn().withParams(e)}pathExists(e){return new Tn().pathExists(e)}hasBack(){return new Tn().hasBack()}goBack(e){return new Tn().goBack(e)}}const X_=new Ck,yk={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"}}},Pk=yk;class Ik{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Pk,this.listeners={}}_init(){mn.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)}),os.configChanged()}_initCustomImplementation(){this.translationImpl=os.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("{"+wr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const $_=new Ik;class Nk{sendToAll(e){const t=ss.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=ss.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const Tk=new Nk,cr=[];function Lk(i,e){return{subscribe:br(i,e).subscribe}}function br(i,e=qe){let t;const n=new Set;function l(o){if(Rt(i,o)&&(i=o,t)){const c=!cr.length;for(const h of n)h[1](),cr.push(h,i);if(c){for(let h=0;h<cr.length;h+=2)cr[h][0](cr[h+1]);cr.length=0}}}function r(o){l(o(i))}function a(o,c=qe){const h=[o,c];return n.add(h),n.size===1&&(t=e(l,r)||qe),o(i),()=>{n.delete(h),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Ak{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.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<cn.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<cn.desktopMinWidth&&this.previousWindowWidth>=cn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>cn.desktopMinWidth&&this.previousWindowWidth>=cn.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(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.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 bi=new Ak;let Ek=class{constructor(){this.documentTitle=br()}hideAppLoadingIndicator(){const e=document.querySelector(wk.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 fl(this.documentTitle)}collapseLeftSideNav(e){bi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Tn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const x_=new Ek;let Rk=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 ep=new Rk;let Dk=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.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=te.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!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.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(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.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=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Xr.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")};mn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const tp=new Dk;let Vk=class{constructor(){this.featureToggleList=br([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||fl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=fl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}fl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...fl(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 fl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):fl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const np=new Vk;let Ok=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.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);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.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 te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.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 ip=new Ok,te=os,vi=Q_,Ki=Z_,lp=X_,Lt=$_,ta=x_,Mk=ep,Ho=tp,Ko=np,cl=ip;window.Luigi=os;window.Luigi.auth=()=>Q_;window.Luigi.elements=()=>Z_;window.Luigi.navigation=()=>X_;window.Luigi.i18n=()=>$_;window.Luigi.customMessages=()=>Tk;window.Luigi.ux=()=>x_;window.Luigi.globalSearch=()=>ep;window.Luigi.theming=()=>tp;window.Luigi.featureToggles=()=>np;window.Luigi.routing=()=>ip;class Fk{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=re.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:Lt.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=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Lt.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}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)):re.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=me.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),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);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):h||(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({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(I=>{Ae.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:I[N.userSettingsGroup]},internal:Ae.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(N.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 oi=new Fk;class Uk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,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 dr=new Uk;class Bk{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(Kn.hasRootNode()&&(l=Kn.getRootNode().node),!l){const g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Kn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Kn.hasChildren(e)){let r=Kn.getChildren(e);r&&(n=r.children)}else try{n=await as.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 Kn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Kn.hasChildren(e)?Bt.getChildrenFromCache(e):await Bt.getChildren(e)}getChildrenFromCache(e){let t=Kn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.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 h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=wr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,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 h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&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=te.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)?re.groupNodesBy(n,"category",!0):{children:re.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&&!me.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),h=this.getGroupedChildren(c,e);n.navParent=h.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=h.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,te.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,re.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&&re.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:re.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(te.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Ut=new Mk,dl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Fk={externalLink:{sameWindow:!1}};class _r{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class Uk extends _r{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=lp({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 Bk extends _r{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
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=te.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(Kn.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)?re.groupNodesBy(n,"category",!0):{children:re.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&&!me.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),h=this.getGroupedChildren(c,e);n.navParent=h.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=h.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,te.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,re.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&&re.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:re.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(te.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.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 Bk,gl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Hk={externalLink:{sameWindow:!1}};class vr{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 Wk extends vr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=rp({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 qk extends vr{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,31 @@ 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 lp=i=>{const e=i.use;if(e){if(e==="grid")return new Bk(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Uk(i)}else return new _r(i);return new _r(i)},Jf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},Hk=i=>Object.entries(i).reduce((e,t)=>(e[Yf(t[0])]=Yf(t[1]),e),{}),Yf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),Wk="500px",qk="0px";class zk{constructor(){Ul(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 h=document.createElement(e);a&&h.setAttribute("nodeId",a),h.setAttribute("lui_web_component",!0),this.initWC(h,e,n,r,l,a,o),n.replaceChild(h,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 h={linkManager:()=>{const g=window.Luigi.navigation();return new Proxy(g,{get(p,b){return b===p.getCurrentRoute.name?()=>{const m=new Promise(v=>{v(p.getCurrentRoute())});return m.toString=()=>p.getCurrentRoute(),m}:p[b]}})},uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:g=>{n.eventBus&&n.eventBus.onPublishEvent(g,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var g;return(g=e.extendedContext)!=null&&g.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const g={clientPermissions:e.extendedContext.clientPermissions};return me.prepareSearchParamsForClient(g)},getClientPermissions:()=>{var g;return(g=e.extendedContext)!=null&&g.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(g,p)=>{o||window.Luigi.routing().addNodeParams(g,p)},getNodeParams:g=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return g?Hk(p):e.extendedContext.nodeParams},setAnchor:g=>{o||window.Luigi.routing().setAnchor(g)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:g=>{const p=re.findViewGroup(n._luigi_node);if(p){const b=re.getViewGroupSettings(p);b._liveCustomData=g,te.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const g=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,g.origin+g.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=te.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=me.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 h=0;h<c.length&&(o=a[c[h]],!HTMLElement.isPrototypeOf(o));h++);}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=te.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,h=me.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(h),g=document.createElement("div");t.appendChild(g),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,g,t,n,h,r,a,o):window.luigiWCFn?window.luigiWCFn(h,d,g,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,h,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):this.registerWCFromUrl(h,d).then(()=>{this.attachWC(d,g,t,n,h,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 h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)})}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)||Wk;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 _r,l.viewUrl=me.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=lp(e.compound.renderer):l=new _r,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||qk})}renderWebComponentCompound(e,t,n){var c,h;const l=((h=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:h.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(g=>{const p={};g.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||g.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=g.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(g,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(g,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),Jf(p,b,y)}),t.appendChild(g),Jf(p,e.compound,"_root",g),d(g)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;te.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const dr=new zk;var zr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},os={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 rp=i=>{const e=i.use;if(e){if(e==="grid")return new qk(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Wk(i)}else return new vr(i);return new vr(i)},Yf=(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]})},zk=i=>Object.entries(i).reduce((e,t)=>(e[Qf(t[0])]=Qf(t[1]),e),{}),Qf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/"),Gk="500px",Kk="0px";class jk{constructor(){Mn(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 h=document.createElement(e);a&&h.setAttribute("nodeId",a),h.setAttribute("lui_web_component",!0),this.initWC(h,e,n,r,l,a,o),n.replaceChild(h,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 h={linkManager:()=>{const g=window.Luigi.navigation();return new Proxy(g,{get(p,b){return b===p.getCurrentRoute.name?()=>{const m=new Promise(v=>{v(p.getCurrentRoute())});return m.toString=()=>p.getCurrentRoute(),m}:p[b]}})},uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:g=>{n.eventBus&&n.eventBus.onPublishEvent(g,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var g;return(g=e.extendedContext)!=null&&g.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const g={clientPermissions:e.extendedContext.clientPermissions};return me.prepareSearchParamsForClient(g)},getClientPermissions:()=>{var g;return(g=e.extendedContext)!=null&&g.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(g,p)=>{o||window.Luigi.routing().addNodeParams(g,p)},getNodeParams:g=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return g?zk(p):e.extendedContext.nodeParams},setAnchor:g=>{o||window.Luigi.routing().setAnchor(g)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:g=>{const p=re.findViewGroup(n._luigi_node);if(p){const b=re.getViewGroupSettings(p);b._liveCustomData=g,te.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const g=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,g.origin+g.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=te.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=me.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 h=0;h<c.length&&(o=a[c[h]],!HTMLElement.isPrototypeOf(o));h++);}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=te.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,h=me.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(h),g=document.createElement("div");t.appendChild(g),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,g,t,n,h,r,a,o):window.luigiWCFn?window.luigiWCFn(h,d,g,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,h,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):this.registerWCFromUrl(h,d).then(()=>{this.attachWC(d,g,t,n,h,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 h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)})}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)||Gk;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 vr,l.viewUrl=me.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=rp(e.compound.renderer):l=new vr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||Kk})}renderWebComponentCompound(e,t,n){var c,h;const l=((h=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:h.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(g=>{const p={};g.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||g.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=g.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(g,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(g,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),Yf(p,b,y)}),t.appendChild(g),Yf(p,e.compound,"_root",g),d(g)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;te.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const pr=new jk;var Jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},us={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
- */os.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__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,N=8,I=16,V=32,E=64,H=128,D=256,O=512,z=30,Q="...",X=800,ce=16,Z=1,G=2,j=3,ae=1/0,fe=9007199254740991,ne=17976931348623157e292,se=0/0,Se=4294967295,ie=Se-1,Re=Se>>>1,ze=[["ary",H],["bind",C],["bindKey",y],["curry",N],["curryRight",I],["flip",O],["partial",V],["partialRight",E],["rearg",D]],Ce="[object Arguments]",Pe="[object Array]",Fe="[object AsyncFunction]",ct="[object Boolean]",qe="[object Date]",dt="[object DOMException]",Ft="[object Error]",de="[object Function]",xe="[object GeneratorFunction]",St="[object Map]",ln="[object Number]",Ln="[object Null]",an="[object Object]",Ht="[object Promise]",Te="[object Proxy]",rt="[object RegExp]",tt="[object Set]",Yt="[object String]",Qt="[object Symbol]",An="[object Undefined]",Lt="[object WeakMap]",gn="[object WeakSet]",xn="[object ArrayBuffer]",Gt="[object DataView]",Sn="[object Float32Array]",wi="[object Float64Array]",ki="[object Int8Array]",mn="[object Int16Array]",Si="[object Int32Array]",Ci="[object Uint8Array]",yi="[object Uint8ClampedArray]",Pi="[object Uint16Array]",Ii="[object Uint32Array]",ml=/\b__p \+= '';/g,bl=/\b(__p \+=) '' \+/g,vl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Gi=/[&<>"']/g,Ki=RegExp(Ni.source),oi=RegExp(Gi.source),wl=/<%-([\s\S]+?)%>/g,kl=/<%([\s\S]+?)%>/g,ji=/<%=([\s\S]+?)%>/g,Sl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cl=/^\w*$/,yl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ti=/[\\^$.*+?()[\]{}|]/g,Pl=RegExp(Ti.source),ei=/^\s+/,Li=/\s/,ui=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ai=/\{\n\/\* \[wrapped with (.+)\] \*/,fi=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,be=/[()=,{}\[\]\/\s]/,Xe=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,ci=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,Il=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Nl=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",ql="\\u0300-\\u036f",br="\\ufe20-\\ufe2f",Y="\\u20d0-\\u20ff",Rt=ql+br+Y,bn="\\u2700-\\u27bf",ti="a-z\\xdf-\\xf6\\xf8-\\xff",xr="\\xac\\xb1\\xd7\\xf7",Yi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rn="\\u2000-\\u206f",zl=" \\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",vr="A-Z\\xc0-\\xd6\\xd8-\\xde",ea="\\ufe0e\\ufe0f",Qi=xr+Yi+rn+zl,wr="['’]",ps="["+Ei+"]",ta="["+Qi+"]",Gl="["+Rt+"]",Kl="\\d+",ms="["+bn+"]",na="["+ti+"]",ia="[^"+Ei+Qi+Kl+bn+ti+vr+"]",jl="\\ud83c[\\udffb-\\udfff]",bs="(?:"+Gl+"|"+jl+")",kr="[^"+Ei+"]",Sr="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+vr+"]",la="\\u200d",ra="(?:"+na+"|"+ia+")",vs="(?:"+Zi+"|"+ia+")",aa="(?:"+wr+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+wr+"(?:D|LL|M|RE|S|T|VE))?",oa=bs+"?",ua="["+ea+"]?",ws="(?:"+la+"(?:"+[kr,Sr,Jl].join("|")+")"+ua+oa+")*",ks="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ss="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+ws,Cs="(?:"+[ms,Sr,Jl].join("|")+")"+fa,ys="(?:"+[kr+Gl+"?",Gl,Sr,Jl,ps].join("|")+")",Ps=RegExp(wr,"g"),Is=RegExp(Gl,"g"),Cr=RegExp(jl+"(?="+jl+")|"+ys+fa,"g"),Ns=RegExp([Zi+"?"+na+"+"+aa+"(?="+[ta,Zi,"$"].join("|")+")",vs+"+"+sa+"(?="+[ta,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,Ss,ks,Kl,Cs].join("|"),"g"),B=RegExp("["+la+Ei+Rt+ea+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ee=["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"],Ge=-1,Ie={};Ie[Sn]=Ie[wi]=Ie[ki]=Ie[mn]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=Ie[Ii]=!0,Ie[Ce]=Ie[Pe]=Ie[xn]=Ie[ct]=Ie[Gt]=Ie[qe]=Ie[Ft]=Ie[de]=Ie[St]=Ie[ln]=Ie[an]=Ie[rt]=Ie[tt]=Ie[Yt]=Ie[Lt]=!1;var he={};he[Ce]=he[Pe]=he[xn]=he[Gt]=he[ct]=he[qe]=he[Sn]=he[wi]=he[ki]=he[mn]=he[Si]=he[St]=he[ln]=he[an]=he[rt]=he[tt]=he[Yt]=he[Qt]=he[Ci]=he[yi]=he[Pi]=he[Ii]=!0,he[Ft]=he[de]=he[Lt]=!1;var Ue={À:"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"},Ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},qt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},yr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xi=parseFloat,Pr=parseInt,Ri=typeof zr=="object"&&zr&&zr.Object===Object&&zr,Ir=typeof self=="object"&&self&&self.Object===Object&&self,Be=Ri||Ir||Function("return this")(),It=e&&!e.nodeType&&e,yt=It&&!0&&i&&!i.nodeType&&i,sn=yt&&yt.exports===It,Cn=sn&&Ri.process,Xt=function(){try{var $=yt&&yt.require&&yt.require("util").types;return $||Cn&&Cn.binding&&Cn.binding("util")}catch{}}(),$i=Xt&&Xt.isArrayBuffer,Yl=Xt&&Xt.isDate,Tl=Xt&&Xt.isMap,Ts=Xt&&Xt.isRegExp,Ql=Xt&&Xt.isSet,ca=Xt&&Xt.isTypedArray;function dn($,ge,oe){switch(oe.length){case 0:return $.call(ge);case 1:return $.call(ge,oe[0]);case 2:return $.call(ge,oe[0],oe[1]);case 3:return $.call(ge,oe[0],oe[1],oe[2])}return $.apply(ge,oe)}function Ll($,ge,oe,He){for(var et=-1,Pt=$==null?0:$.length;++et<Pt;){var on=$[et];ge(He,on,oe(on),$)}return He}function Ot($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He&&ge($[oe],oe,$)!==!1;);return $}function Kn($,ge){for(var oe=$==null?0:$.length;oe--&&ge($[oe],oe,$)!==!1;);return $}function da($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(!ge($[oe],oe,$))return!1;return!0}function xi($,ge){for(var oe=-1,He=$==null?0:$.length,et=0,Pt=[];++oe<He;){var on=$[oe];ge(on,oe,$)&&(Pt[et++]=on)}return Pt}function ha($,ge){var oe=$==null?0:$.length;return!!oe&&Zl($,ge,0)>-1}function Ls($,ge,oe){for(var He=-1,et=$==null?0:$.length;++He<et;)if(oe(ge,$[He]))return!0;return!1}function zt($,ge){for(var oe=-1,He=$==null?0:$.length,et=Array(He);++oe<He;)et[oe]=ge($[oe],oe,$);return et}function el($,ge){for(var oe=-1,He=ge.length,et=$.length;++oe<He;)$[et+oe]=ge[oe];return $}function As($,ge,oe,He){var et=-1,Pt=$==null?0:$.length;for(He&&Pt&&(oe=$[++et]);++et<Pt;)oe=ge(oe,$[et],et,$);return oe}function Cp($,ge,oe,He){var et=$==null?0:$.length;for(He&&et&&(oe=$[--et]);et--;)oe=ge(oe,$[et],et,$);return oe}function Es($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(ge($[oe],oe,$))return!0;return!1}var yp=Rs("length");function Pp($){return $.split("")}function Ip($){return $.match(K)||[]}function jo($,ge,oe){var He;return oe($,function(et,Pt,on){if(ge(et,Pt,on))return He=Pt,!1}),He}function ga($,ge,oe,He){for(var et=$.length,Pt=oe+(He?1:-1);He?Pt--:++Pt<et;)if(ge($[Pt],Pt,$))return Pt;return-1}function Zl($,ge,oe){return ge===ge?Up($,ge,oe):ga($,Jo,oe)}function Np($,ge,oe,He){for(var et=oe-1,Pt=$.length;++et<Pt;)if(He($[et],ge))return et;return-1}function Jo($){return $!==$}function Yo($,ge){var oe=$==null?0:$.length;return oe?Vs($,ge)/oe:se}function Rs($){return function(ge){return ge==null?t:ge[$]}}function Ds($){return function(ge){return $==null?t:$[ge]}}function Qo($,ge,oe,He,et){return et($,function(Pt,on,Mt){oe=He?(He=!1,Pt):ge(oe,Pt,on,Mt)}),oe}function Tp($,ge){var oe=$.length;for($.sort(ge);oe--;)$[oe]=$[oe].value;return $}function Vs($,ge){for(var oe,He=-1,et=$.length;++He<et;){var Pt=ge($[He]);Pt!==t&&(oe=oe===t?Pt:oe+Pt)}return oe}function Os($,ge){for(var oe=-1,He=Array($);++oe<$;)He[oe]=ge(oe);return He}function Lp($,ge){return zt(ge,function(oe){return[oe,$[oe]]})}function Zo($){return $&&$.slice(0,eu($)+1).replace(ei,"")}function Un($){return function(ge){return $(ge)}}function Ms($,ge){return zt(ge,function(oe){return $[oe]})}function Nr($,ge){return $.has(ge)}function Xo($,ge){for(var oe=-1,He=$.length;++oe<He&&Zl(ge,$[oe],0)>-1;);return oe}function $o($,ge){for(var oe=$.length;oe--&&Zl(ge,$[oe],0)>-1;);return oe}function Ap($,ge){for(var oe=$.length,He=0;oe--;)$[oe]===ge&&++He;return He}var Ep=Ds(Ue),Rp=Ds(Ct);function Dp($){return"\\"+yr[$]}function Vp($,ge){return $==null?t:$[ge]}function Xl($){return B.test($)}function Op($){return ue.test($)}function Mp($){for(var ge,oe=[];!(ge=$.next()).done;)oe.push(ge.value);return oe}function Fs($){var ge=-1,oe=Array($.size);return $.forEach(function(He,et){oe[++ge]=[et,He]}),oe}function xo($,ge){return function(oe){return $(ge(oe))}}function tl($,ge){for(var oe=-1,He=$.length,et=0,Pt=[];++oe<He;){var on=$[oe];(on===ge||on===d)&&($[oe]=d,Pt[et++]=oe)}return Pt}function _a($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=He}),oe}function Fp($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=[He,He]}),oe}function Up($,ge,oe){for(var He=oe-1,et=$.length;++He<et;)if($[He]===ge)return He;return-1}function Bp($,ge,oe){for(var He=oe+1;He--;)if($[He]===ge)return He;return He}function $l($){return Xl($)?Wp($):yp($)}function ni($){return Xl($)?qp($):Pp($)}function eu($){for(var ge=$.length;ge--&&Li.test($.charAt(ge)););return ge}var Hp=Ds(qt);function Wp($){for(var ge=Cr.lastIndex=0;Cr.test($);)++ge;return ge}function qp($){return $.match(Cr)||[]}function zp($){return $.match(Ns)||[]}var Gp=function $(ge){ge=ge==null?Be:xl.defaults(Be.Object(),ge,xl.pick(Be,Ee));var oe=ge.Array,He=ge.Date,et=ge.Error,Pt=ge.Function,on=ge.Math,Mt=ge.Object,Us=ge.RegExp,Kp=ge.String,jn=ge.TypeError,pa=oe.prototype,jp=Pt.prototype,er=Mt.prototype,ma=ge["__core-js_shared__"],ba=jp.toString,At=er.hasOwnProperty,Jp=0,tu=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=er.toString,Yp=ba.call(Mt),Qp=Be._,Zp=Us("^"+ba.call(At).replace(Ti,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=sn?ge.Buffer:t,nl=ge.Symbol,ka=ge.Uint8Array,nu=wa?wa.allocUnsafe:t,Sa=xo(Mt.getPrototypeOf,Mt),iu=Mt.create,lu=er.propertyIsEnumerable,Ca=pa.splice,ru=nl?nl.isConcatSpreadable:t,Tr=nl?nl.iterator:t,Al=nl?nl.toStringTag:t,ya=function(){try{var s=Ol(Mt,"defineProperty");return s({},"",{}),s}catch{}}(),Xp=ge.clearTimeout!==Be.clearTimeout&&ge.clearTimeout,$p=He&&He.now!==Be.Date.now&&He.now,xp=ge.setTimeout!==Be.setTimeout&&ge.setTimeout,Pa=on.ceil,Ia=on.floor,Bs=Mt.getOwnPropertySymbols,em=wa?wa.isBuffer:t,au=ge.isFinite,tm=pa.join,nm=xo(Mt.keys,Mt),un=on.max,vn=on.min,im=He.now,lm=ge.parseInt,su=on.random,rm=pa.reverse,Hs=Ol(ge,"DataView"),Lr=Ol(ge,"Map"),Ws=Ol(ge,"Promise"),tr=Ol(ge,"Set"),Ar=Ol(ge,"WeakMap"),Er=Ol(Mt,"create"),Na=Ar&&new Ar,nr={},am=Ml(Hs),sm=Ml(Lr),om=Ml(Ws),um=Ml(tr),fm=Ml(Ar),Ta=nl?nl.prototype:t,Rr=Ta?Ta.valueOf:t,ou=Ta?Ta.toString:t;function M(s){if($t(s)&&!lt(s)&&!(s instanceof _t)){if(s instanceof Jn)return s;if(At.call(s,"__wrapped__"))return ff(s)}return new Jn(s)}var ir=function(){function s(){}return function(u){if(!Kt(u))return{};if(iu)return iu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function La(){}function Jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:wl,evaluate:kl,interpolate:ji,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Jn.prototype=ir(La.prototype),Jn.prototype.constructor=Jn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function cm(){var s=new _t(this.__wrapped__);return s.__actions__=En(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=En(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=En(this.__views__),s}function dm(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function hm(){var s=this.__wrapped__.value(),u=this.__dir__,_=lt(s),k=u<0,T=_?s.length:0,F=P1(0,T,this.__views__),q=F.start,J=F.end,x=J-q,_e=k?J:q-1,pe=this.__iteratees__,ye=pe.length,De=0,Ke=vn(x,this.__takeCount__);if(!_||!k&&T==x&&Ke==x)return Ru(s,this.__actions__);var Qe=[];e:for(;x--&&De<Ke;){_e+=u;for(var ot=-1,Ze=s[_e];++ot<ye;){var gt=pe[ot],pt=gt.iteratee,Wn=gt.type,In=pt(Ze);if(Wn==G)Ze=In;else if(!In){if(Wn==Z)continue e;break e}}Qe[De++]=Ze}return Qe}_t.prototype=ir(La.prototype),_t.prototype.constructor=_t;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 gm(){this.__data__=Er?Er(null):{},this.size=0}function _m(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function pm(s){var u=this.__data__;if(Er){var _=u[s];return _===c?t:_}return At.call(u,s)?u[s]:t}function mm(s){var u=this.__data__;return Er?u[s]!==t:At.call(u,s)}function bm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Er&&u===t?c:u,this}El.prototype.clear=gm,El.prototype.delete=_m,El.prototype.get=pm,El.prototype.has=mm,El.prototype.set=bm;function Di(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.__data__=[],this.size=0}function wm(s){var u=this.__data__,_=Aa(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ca.call(u,_,1),--this.size,!0}function km(s){var u=this.__data__,_=Aa(u,s);return _<0?t:u[_][1]}function Sm(s){return Aa(this.__data__,s)>-1}function Cm(s,u){var _=this.__data__,k=Aa(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Di.prototype.clear=vm,Di.prototype.delete=wm,Di.prototype.get=km,Di.prototype.has=Sm,Di.prototype.set=Cm;function Vi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function ym(){this.size=0,this.__data__={hash:new El,map:new(Lr||Di),string:new El}}function Pm(s){var u=qa(this,s).delete(s);return this.size-=u?1:0,u}function Im(s){return qa(this,s).get(s)}function Nm(s){return qa(this,s).has(s)}function Tm(s,u){var _=qa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Vi.prototype.clear=ym,Vi.prototype.delete=Pm,Vi.prototype.get=Im,Vi.prototype.has=Nm,Vi.prototype.set=Tm;function Rl(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Vi;++u<_;)this.add(s[u])}function Lm(s){return this.__data__.set(s,c),this}function Am(s){return this.__data__.has(s)}Rl.prototype.add=Rl.prototype.push=Lm,Rl.prototype.has=Am;function ii(s){var u=this.__data__=new Di(s);this.size=u.size}function Em(){this.__data__=new Di,this.size=0}function Rm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Dm(s){return this.__data__.get(s)}function Vm(s){return this.__data__.has(s)}function Om(s,u){var _=this.__data__;if(_ instanceof Di){var k=_.__data__;if(!Lr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Vi(k)}return _.set(s,u),this.size=_.size,this}ii.prototype.clear=Em,ii.prototype.delete=Rm,ii.prototype.get=Dm,ii.prototype.has=Vm,ii.prototype.set=Om;function uu(s,u){var _=lt(s),k=!_&&Fl(s),T=!_&&!k&&sl(s),F=!_&&!k&&!T&&sr(s),q=_||k||T||F,J=q?Os(s.length,Kp):[],x=J.length;for(var _e in s)(u||At.call(s,_e))&&!(q&&(_e=="length"||T&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ui(_e,x)))&&J.push(_e);return J}function fu(s){var u=s.length;return u?s[$s(0,u-1)]:t}function Mm(s,u){return za(En(s),Dl(u,0,s.length))}function Fm(s){return za(En(s))}function qs(s,u,_){(_!==t&&!li(s[u],_)||_===t&&!(u in s))&&Oi(s,u,_)}function Dr(s,u,_){var k=s[u];(!(At.call(s,u)&&li(k,_))||_===t&&!(u in s))&&Oi(s,u,_)}function Aa(s,u){for(var _=s.length;_--;)if(li(s[_][0],u))return _;return-1}function Um(s,u,_,k){return il(s,function(T,F,q){u(k,T,_(T),q)}),k}function cu(s,u){return s&&gi(u,hn(u),s)}function Bm(s,u){return s&&gi(u,Dn(u),s)}function Oi(s,u,_){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function zs(s,u){for(var _=-1,k=u.length,T=oe(k),F=s==null;++_<k;)T[_]=F?t:yo(s,u[_]);return T}function Dl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Yn(s,u,_,k,T,F){var q,J=u&g,x=u&p,_e=u&b;if(_&&(q=T?_(s,k,T,F):_(s)),q!==t)return q;if(!Kt(s))return s;var pe=lt(s);if(pe){if(q=N1(s),!J)return En(s,q)}else{var ye=wn(s),De=ye==de||ye==xe;if(sl(s))return Ou(s,J);if(ye==an||ye==Ce||De&&!T){if(q=x||De?{}:ef(s),!J)return x?p1(s,Bm(q,s)):_1(s,cu(q,s))}else{if(!he[ye])return T?s:{};q=T1(s,ye,J)}}F||(F=new ii);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Af(s)?s.forEach(function(Ze){q.add(Yn(Ze,u,_,Ze,s,F))}):Tf(s)&&s.forEach(function(Ze,gt){q.set(gt,Yn(Ze,u,_,gt,s,F))});var Qe=_e?x?uo:oo:x?Dn:hn,ot=pe?t:Qe(s);return Ot(ot||s,function(Ze,gt){ot&&(gt=Ze,Ze=s[gt]),Dr(q,gt,Yn(Ze,u,_,gt,s,F))}),q}function Hm(s){var u=hn(s);return function(_){return du(_,s,u)}}function du(s,u,_){var k=_.length;if(s==null)return!k;for(s=Mt(s);k--;){var T=_[k],F=u[T],q=s[T];if(q===t&&!(T in s)||!F(q))return!1}return!0}function hu(s,u,_){if(typeof s!="function")throw new jn(a);return Hr(function(){s.apply(t,_)},u)}function Vr(s,u,_,k){var T=-1,F=ha,q=!0,J=s.length,x=[],_e=u.length;if(!J)return x;_&&(u=zt(u,Un(_))),k?(F=Ls,q=!1):u.length>=l&&(F=Nr,q=!1,u=new Rl(u));e:for(;++T<J;){var pe=s[T],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&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 il=Hu(hi),gu=Hu(Ks,!0);function Wm(s,u){var _=!0;return il(s,function(k,T,F){return _=!!u(k,T,F),_}),_}function Ea(s,u,_){for(var k=-1,T=s.length;++k<T;){var F=s[k],q=u(F);if(q!=null&&(J===t?q===q&&!Hn(q):_(q,J)))var J=q,x=F}return x}function qm(s,u,_,k){var T=s.length;for(_=st(_),_<0&&(_=-_>T?0:T+_),k=k===t||k>T?T:st(k),k<0&&(k+=T),k=_>k?0:Rf(k);_<k;)s[_++]=u;return s}function _u(s,u){var _=[];return il(s,function(k,T,F){u(k,T,F)&&_.push(k)}),_}function _n(s,u,_,k,T){var F=-1,q=s.length;for(_||(_=A1),T||(T=[]);++F<q;){var J=s[F];u>0&&_(J)?u>1?_n(J,u-1,_,k,T):el(T,J):k||(T[T.length]=J)}return T}var Gs=Wu(),pu=Wu(!0);function hi(s,u){return s&&Gs(s,u,hn)}function Ks(s,u){return s&&pu(s,u,hn)}function Ra(s,u){return xi(u,function(_){return Bi(s[_])})}function Vl(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[_i(u[_++])];return _&&_==k?s:t}function mu(s,u,_){var k=u(s);return lt(s)?k:el(k,_(s))}function yn(s){return s==null?s===t?An:Ln:Al&&Al in Mt(s)?y1(s):F1(s)}function js(s,u){return s>u}function zm(s,u){return s!=null&&At.call(s,u)}function Gm(s,u){return s!=null&&u in Mt(s)}function Km(s,u,_){return s>=vn(u,_)&&s<un(u,_)}function Js(s,u,_){for(var k=_?Ls:ha,T=s[0].length,F=s.length,q=F,J=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=zt(pe,Un(u))),x=vn(pe.length,x),J[q]=!_&&(u||T>=120&&pe.length>=120)?new Rl(q&&pe):t}pe=s[0];var ye=-1,De=J[0];e:for(;++ye<T&&_e.length<x;){var Ke=pe[ye],Qe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(De?Nr(De,Qe):k(_e,Qe,_))){for(q=F;--q;){var ot=J[q];if(!(ot?Nr(ot,Qe):k(s[q],Qe,_)))continue e}De&&De.push(Qe),_e.push(Ke)}}return _e}function jm(s,u,_,k){return hi(s,function(T,F,q){u(k,_(T),F,q)}),k}function Or(s,u,_){u=rl(u,s),s=rf(s,u);var k=s==null?s:s[_i(Zn(u))];return k==null?t:dn(k,s,_)}function bu(s){return $t(s)&&yn(s)==Ce}function Jm(s){return $t(s)&&yn(s)==xn}function Ym(s){return $t(s)&&yn(s)==qe}function Mr(s,u,_,k,T){return s===u?!0:s==null||u==null||!$t(s)&&!$t(u)?s!==s&&u!==u:Qm(s,u,_,k,Mr,T)}function Qm(s,u,_,k,T,F){var q=lt(s),J=lt(u),x=q?Pe:wn(s),_e=J?Pe:wn(u);x=x==Ce?an:x,_e=_e==Ce?an:_e;var pe=x==an,ye=_e==an,De=x==_e;if(De&&sl(s)){if(!sl(u))return!1;q=!0,pe=!1}if(De&&!pe)return F||(F=new ii),q||sr(s)?Xu(s,u,_,k,T,F):S1(s,u,x,_,k,T,F);if(!(_&m)){var Ke=pe&&At.call(s,"__wrapped__"),Qe=ye&&At.call(u,"__wrapped__");if(Ke||Qe){var ot=Ke?s.value():s,Ze=Qe?u.value():u;return F||(F=new ii),T(ot,Ze,_,k,F)}}return De?(F||(F=new ii),C1(s,u,_,k,T,F)):!1}function Zm(s){return $t(s)&&wn(s)==St}function Ys(s,u,_,k){var T=_.length,F=T,q=!k;if(s==null)return!F;for(s=Mt(s);T--;){var J=_[T];if(q&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++T<F;){J=_[T];var x=J[0],_e=s[x],pe=J[1];if(q&&J[2]){if(_e===t&&!(x in s))return!1}else{var ye=new ii;if(k)var De=k(_e,pe,x,s,u,ye);if(!(De===t?Mr(pe,_e,m|v,k,ye):De))return!1}}return!0}function vu(s){if(!Kt(s)||R1(s))return!1;var u=Bi(s)?Zp:Zt;return u.test(Ml(s))}function Xm(s){return $t(s)&&yn(s)==rt}function $m(s){return $t(s)&&wn(s)==tt}function xm(s){return $t(s)&&Qa(s.length)&&!!Ie[yn(s)]}function wu(s){return typeof s=="function"?s:s==null?Vn:typeof s=="object"?lt(s)?Cu(s[0],s[1]):Su(s):zf(s)}function Qs(s){if(!Br(s))return nm(s);var u=[];for(var _ in Mt(s))At.call(s,_)&&_!="constructor"&&u.push(_);return u}function e1(s){if(!Kt(s))return M1(s);var u=Br(s),_=[];for(var k in s)k=="constructor"&&(u||!At.call(s,k))||_.push(k);return _}function Zs(s,u){return s<u}function ku(s,u){var _=-1,k=Rn(s)?oe(s.length):[];return il(s,function(T,F,q){k[++_]=u(T,F,q)}),k}function Su(s){var u=co(s);return u.length==1&&u[0][2]?nf(u[0][0],u[0][1]):function(_){return _===s||Ys(_,s,u)}}function Cu(s,u){return go(s)&&tf(u)?nf(_i(s),u):function(_){var k=yo(_,s);return k===t&&k===u?Po(_,s):Mr(u,k,m|v)}}function Da(s,u,_,k,T){s!==u&&Gs(u,function(F,q){if(T||(T=new ii),Kt(F))t1(s,u,q,_,Da,k,T);else{var J=k?k(po(s,q),F,q+"",s,u,T):t;J===t&&(J=F),qs(s,q,J)}},Dn)}function t1(s,u,_,k,T,F,q){var J=po(s,_),x=po(u,_),_e=q.get(x);if(_e){qs(s,_,_e);return}var pe=F?F(J,x,_+"",s,u,q):t,ye=pe===t;if(ye){var De=lt(x),Ke=!De&&sl(x),Qe=!De&&!Ke&&sr(x);pe=x,De||Ke||Qe?lt(J)?pe=J:xt(J)?pe=En(J):Ke?(ye=!1,pe=Ou(x,!0)):Qe?(ye=!1,pe=Mu(x,!0)):pe=[]:Wr(x)||Fl(x)?(pe=J,Fl(J)?pe=Df(J):(!Kt(J)||Bi(J))&&(pe=ef(x))):ye=!1}ye&&(q.set(x,pe),T(pe,x,k,F,q),q.delete(x)),qs(s,_,pe)}function yu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Ui(u,_)?s[u]:t}function Pu(s,u,_){u.length?u=zt(u,function(F){return lt(F)?function(q){return Vl(q,F.length===1?F[0]:F)}:F}):u=[Vn];var k=-1;u=zt(u,Un(Ye()));var T=ku(s,function(F,q,J){var x=zt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Tp(T,function(F,q){return g1(F,q,_)})}function n1(s,u){return Iu(s,u,function(_,k){return Po(s,k)})}function Iu(s,u,_){for(var k=-1,T=u.length,F={};++k<T;){var q=u[k],J=Vl(s,q);_(J,q)&&Fr(F,rl(q,s),J)}return F}function i1(s){return function(u){return Vl(u,s)}}function Xs(s,u,_,k){var T=k?Np:Zl,F=-1,q=u.length,J=s;for(s===u&&(u=En(u)),_&&(J=zt(s,Un(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=T(J,pe,x,k))>-1;)J!==s&&Ca.call(J,x,1),Ca.call(s,x,1);return s}function Nu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var T=u[_];if(_==k||T!==F){var F=T;Ui(T)?Ca.call(s,T,1):to(s,T)}}return s}function $s(s,u){return s+Ia(su()*(u-s+1))}function l1(s,u,_,k){for(var T=-1,F=un(Pa((u-s)/(_||1)),0),q=oe(F);F--;)q[k?F:++T]=s,s+=_;return q}function xs(s,u){var _="";if(!s||u<1||u>fe)return _;do u%2&&(_+=s),u=Ia(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return mo(lf(s,u,Vn),s+"")}function r1(s){return fu(or(s))}function a1(s,u){var _=or(s);return za(_,Dl(u,0,_.length))}function Fr(s,u,_,k){if(!Kt(s))return s;u=rl(u,s);for(var T=-1,F=u.length,q=F-1,J=s;J!=null&&++T<F;){var x=_i(u[T]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(T!=q){var pe=J[x];_e=k?k(pe,x,J):t,_e===t&&(_e=Kt(pe)?pe:Ui(u[T+1])?[]:{})}Dr(J,x,_e),J=J[x]}return s}var Tu=Na?function(s,u){return Na.set(s,u),s}:Vn,s1=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:No(u),writable:!0})}:Vn;function o1(s){return za(or(s))}function Qn(s,u,_){var k=-1,T=s.length;u<0&&(u=-u>T?0:T+u),_=_>T?T:_,_<0&&(_+=T),T=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(T);++k<T;)F[k]=s[k+u];return F}function u1(s,u){var _;return il(s,function(k,T,F){return _=u(k,T,F),!_}),!!_}function Va(s,u,_){var k=0,T=s==null?k:s.length;if(typeof u=="number"&&u===u&&T<=Re){for(;k<T;){var F=k+T>>>1,q=s[F];q!==null&&!Hn(q)&&(_?q<=u:q<u)?k=F+1:T=F}return T}return eo(s,u,Vn,_)}function eo(s,u,_,k){var T=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,J=u===null,x=Hn(u),_e=u===t;T<F;){var pe=Ia((T+F)/2),ye=_(s[pe]),De=ye!==t,Ke=ye===null,Qe=ye===ye,ot=Hn(ye);if(q)var Ze=k||Qe;else _e?Ze=Qe&&(k||De):J?Ze=Qe&&De&&(k||!Ke):x?Ze=Qe&&De&&!Ke&&(k||!ot):Ke||ot?Ze=!1:Ze=k?ye<=u:ye<u;Ze?T=pe+1:F=pe}return vn(F,ie)}function Lu(s,u){for(var _=-1,k=s.length,T=0,F=[];++_<k;){var q=s[_],J=u?u(q):q;if(!_||!li(J,x)){var x=J;F[T++]=q===0?0:q}}return F}function Au(s){return typeof s=="number"?s:Hn(s)?se:+s}function Bn(s){if(typeof s=="string")return s;if(lt(s))return zt(s,Bn)+"";if(Hn(s))return ou?ou.call(s):"";var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function ll(s,u,_){var k=-1,T=ha,F=s.length,q=!0,J=[],x=J;if(_)q=!1,T=Ls;else if(F>=l){var _e=u?null:w1(s);if(_e)return _a(_e);q=!1,T=Nr,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,q&&ye===ye){for(var De=x.length;De--;)if(x[De]===ye)continue e;u&&x.push(ye),J.push(pe)}else T(x,ye,_)||(x!==J&&x.push(ye),J.push(pe))}return J}function to(s,u){return u=rl(u,s),s=rf(s,u),s==null||delete s[_i(Zn(u))]}function Eu(s,u,_,k){return Fr(s,u,_(Vl(s,u)),k)}function Oa(s,u,_,k){for(var T=s.length,F=k?T:-1;(k?F--:++F<T)&&u(s[F],F,s););return _?Qn(s,k?0:F,k?F+1:T):Qn(s,k?F+1:0,k?T:F)}function Ru(s,u){var _=s;return _ instanceof _t&&(_=_.value()),As(u,function(k,T){return T.func.apply(T.thisArg,el([k],T.args))},_)}function no(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var T=-1,F=oe(k);++T<k;)for(var q=s[T],J=-1;++J<k;)J!=T&&(F[T]=Vr(F[T]||q,s[J],u,_));return ll(_n(F,1),u,_)}function Du(s,u,_){for(var k=-1,T=s.length,F=u.length,q={};++k<T;){var J=k<F?u[k]:t;_(q,s[k],J)}return q}function io(s){return xt(s)?s:[]}function lo(s){return typeof s=="function"?s:Vn}function rl(s,u){return lt(s)?s:go(s,u)?[s]:uf(Nt(s))}var f1=ut;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Qn(s,u,_)}var Vu=Xp||function(s){return Be.clearTimeout(s)};function Ou(s,u){if(u)return s.slice();var _=s.length,k=nu?nu(_):new s.constructor(_);return s.copy(k),k}function ro(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function c1(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function d1(s){var u=new s.constructor(s.source,it.exec(s));return u.lastIndex=s.lastIndex,u}function h1(s){return Rr?Mt(Rr.call(s)):{}}function Mu(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Fu(s,u){if(s!==u){var _=s!==t,k=s===null,T=s===s,F=Hn(s),q=u!==t,J=u===null,x=u===u,_e=Hn(u);if(!J&&!_e&&!F&&s>u||F&&q&&x&&!J&&!_e||k&&q&&x||!_&&x||!T)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&T&&!k&&!F||J&&_&&T||!q&&T||!x)return-1}return 0}function g1(s,u,_){for(var k=-1,T=s.criteria,F=u.criteria,q=T.length,J=_.length;++k<q;){var x=Fu(T[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 Uu(s,u,_,k){for(var T=-1,F=s.length,q=_.length,J=-1,x=u.length,_e=un(F-q,0),pe=oe(x+_e),ye=!k;++J<x;)pe[J]=u[J];for(;++T<q;)(ye||T<F)&&(pe[_[T]]=s[T]);for(;_e--;)pe[J++]=s[T++];return pe}function Bu(s,u,_,k){for(var T=-1,F=s.length,q=-1,J=_.length,x=-1,_e=u.length,pe=un(F-J,0),ye=oe(pe+_e),De=!k;++T<pe;)ye[T]=s[T];for(var Ke=T;++x<_e;)ye[Ke+x]=u[x];for(;++q<J;)(De||T<F)&&(ye[Ke+_[q]]=s[T++]);return ye}function En(s,u){var _=-1,k=s.length;for(u||(u=oe(k));++_<k;)u[_]=s[_];return u}function gi(s,u,_,k){var T=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var J=u[F],x=k?k(_[J],s[J],J,_,s):t;x===t&&(x=s[J]),T?Oi(_,J,x):Dr(_,J,x)}return _}function _1(s,u){return gi(s,ho(s),u)}function p1(s,u){return gi(s,$u(s),u)}function Ma(s,u){return function(_,k){var T=lt(_)?Ll:Um,F=u?u():{};return T(_,s,Ye(k,2),F)}}function lr(s){return ut(function(u,_){var k=-1,T=_.length,F=T>1?_[T-1]:t,q=T>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(T--,F):t,q&&Pn(_[0],_[1],q)&&(F=T<3?t:F,T=1),u=Mt(u);++k<T;){var J=_[k];J&&s(u,J,k,F)}return u})}function Hu(s,u){return function(_,k){if(_==null)return _;if(!Rn(_))return s(_,k);for(var T=_.length,F=u?T:-1,q=Mt(_);(u?F--:++F<T)&&k(q[F],F,q)!==!1;);return _}}function Wu(s){return function(u,_,k){for(var T=-1,F=Mt(u),q=k(u),J=q.length;J--;){var x=q[s?J:++T];if(_(F[x],x,F)===!1)break}return u}}function m1(s,u,_){var k=u&C,T=Ur(s);function F(){var q=this&&this!==Be&&this instanceof F?T:s;return q.apply(k?_:this,arguments)}return F}function qu(s){return function(u){u=Nt(u);var _=Xl(u)?ni(u):t,k=_?_[0]:u.charAt(0),T=_?al(_,1).join(""):u.slice(1);return k[s]()+T}}function rr(s){return function(u){return As(Wf(Hf(u).replace(Ps,"")),s,"")}}function Ur(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 _=ir(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function b1(s,u,_){var k=Ur(s);function T(){for(var F=arguments.length,q=oe(F),J=F,x=ar(T);J--;)q[J]=arguments[J];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:tl(q,x);if(F-=_e.length,F<_)return Ju(s,u,Fa,T.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==Be&&this instanceof T?k:s;return dn(pe,this,q)}return T}function zu(s){return function(u,_,k){var T=Mt(u);if(!Rn(u)){var F=Ye(_,3);u=hn(u),_=function(J){return F(T[J],J,T)}}var q=s(u,_,k);return q>-1?T[F?u[q]:q]:t}}function Gu(s){return Fi(function(u){var _=u.length,k=_,T=Jn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new jn(a);if(T&&!q&&Wa(F)=="wrapper")var q=new Jn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var J=Wa(F),x=J=="wrapper"?fo(F):t;x&&_o(x[0])&&x[1]==(H|N|V|D)&&!x[4].length&&x[9]==1?q=q[Wa(x[0])].apply(q,x[3]):q=F.length==1&&_o(F)?q[J]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&lt(pe))return q.plant(pe).value();for(var ye=0,De=_?u[ye].apply(this,_e):pe;++ye<_;)De=u[ye].call(this,De);return De}})}function Fa(s,u,_,k,T,F,q,J,x,_e){var pe=u&H,ye=u&C,De=u&y,Ke=u&(N|I),Qe=u&O,ot=De?t:Ur(s);function Ze(){for(var gt=arguments.length,pt=oe(gt),Wn=gt;Wn--;)pt[Wn]=arguments[Wn];if(Ke)var In=ar(Ze),qn=Ap(pt,In);if(k&&(pt=Uu(pt,k,T,Ke)),F&&(pt=Bu(pt,F,q,Ke)),gt-=qn,Ke&&gt<_e){var en=tl(pt,In);return Ju(s,u,Fa,Ze.placeholder,_,pt,en,J,x,_e-gt)}var ri=ye?_:this,Wi=De?ri[s]:s;return gt=pt.length,J?pt=U1(pt,J):Qe&&gt>1&&pt.reverse(),pe&&x<gt&&(pt.length=x),this&&this!==Be&&this instanceof Ze&&(Wi=ot||Ur(Wi)),Wi.apply(ri,pt)}return Ze}function Ku(s,u){return function(_,k){return jm(_,s,u(k),{})}}function Ua(s,u){return function(_,k){var T;if(_===t&&k===t)return u;if(_!==t&&(T=_),k!==t){if(T===t)return k;typeof _=="string"||typeof k=="string"?(_=Bn(_),k=Bn(k)):(_=Au(_),k=Au(k)),T=s(_,k)}return T}}function ao(s){return Fi(function(u){return u=zt(u,Un(Ye())),ut(function(_){var k=this;return s(u,function(T){return dn(T,k,_)})})})}function Ba(s,u){u=u===t?" ":Bn(u);var _=u.length;if(_<2)return _?xs(u,s):u;var k=xs(u,Pa(s/$l(u)));return Xl(u)?al(ni(k),0,s).join(""):k.slice(0,s)}function v1(s,u,_,k){var T=u&C,F=Ur(s);function q(){for(var J=-1,x=arguments.length,_e=-1,pe=k.length,ye=oe(pe+x),De=this&&this!==Be&&this instanceof q?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++J];return dn(De,T?_:this,ye)}return q}function ju(s){return function(u,_,k){return k&&typeof k!="number"&&Pn(u,_,k)&&(_=k=t),u=Hi(u),_===t?(_=u,u=0):_=Hi(_),k=k===t?u<_?1:-1:Hi(k),l1(u,_,k,s)}}function Ha(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=Xn(u),_=Xn(_)),s(u,_)}}function Ju(s,u,_,k,T,F,q,J,x,_e){var pe=u&N,ye=pe?q:t,De=pe?t:q,Ke=pe?F:t,Qe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var ot=[s,u,T,Ke,ye,Qe,De,J,x,_e],Ze=_.apply(t,ot);return _o(s)&&af(Ze,ot),Ze.placeholder=k,sf(Ze,s,u)}function so(s){var u=on[s];return function(_,k){if(_=Xn(_),k=k==null?0:vn(st(k),292),k&&au(_)){var T=(Nt(_)+"e").split("e"),F=u(T[0]+"e"+(+T[1]+k));return T=(Nt(F)+"e").split("e"),+(T[0]+"e"+(+T[1]-k))}return u(_)}}var w1=tr&&1/_a(new tr([,-0]))[1]==ae?function(s){return new tr(s)}:Ao;function Yu(s){return function(u){var _=wn(u);return _==St?Fs(u):_==tt?Fp(u):Lp(u,s(u))}}function Mi(s,u,_,k,T,F,q,J){var x=u&y;if(!x&&typeof s!="function")throw new jn(a);var _e=k?k.length:0;if(_e||(u&=~(V|E),k=T=t),q=q===t?q:un(st(q),0),J=J===t?J:st(J),_e-=T?T.length:0,u&E){var pe=k,ye=T;k=T=t}var De=x?t:fo(s),Ke=[s,u,_,k,T,pe,ye,F,q,J];if(De&&O1(Ke,De),s=Ke[0],u=Ke[1],_=Ke[2],k=Ke[3],T=Ke[4],J=Ke[9]=Ke[9]===t?x?0:s.length:un(Ke[9]-_e,0),!J&&u&(N|I)&&(u&=~(N|I)),!u||u==C)var Qe=m1(s,u,_);else u==N||u==I?Qe=b1(s,u,J):(u==V||u==(C|V))&&!T.length?Qe=v1(s,u,_,k):Qe=Fa.apply(t,Ke);var ot=De?Tu:af;return sf(ot(Qe,Ke),s,u)}function Qu(s,u,_,k){return s===t||li(s,er[_])&&!At.call(k,_)?u:s}function Zu(s,u,_,k,T,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Da(s,u,t,Zu,F),F.delete(u)),s}function k1(s){return Wr(s)?t:s}function Xu(s,u,_,k,T,F){var q=_&m,J=s.length,x=u.length;if(J!=x&&!(q&&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,Ke=_&v?new Rl:t;for(F.set(s,u),F.set(u,s);++ye<J;){var Qe=s[ye],ot=u[ye];if(k)var Ze=q?k(ot,Qe,ye,u,s,F):k(Qe,ot,ye,s,u,F);if(Ze!==t){if(Ze)continue;De=!1;break}if(Ke){if(!Es(u,function(gt,pt){if(!Nr(Ke,pt)&&(Qe===gt||T(Qe,gt,_,k,F)))return Ke.push(pt)})){De=!1;break}}else if(!(Qe===ot||T(Qe,ot,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function S1(s,u,_,k,T,F,q){switch(_){case Gt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case xn:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case ct:case qe:case ln:return li(+s,+u);case Ft:return s.name==u.name&&s.message==u.message;case rt:case Yt:return s==u+"";case St:var J=Fs;case tt:var x=k&m;if(J||(J=_a),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=Xu(J(s),J(u),k,T,F,q);return q.delete(s),pe;case Qt:if(Rr)return Rr.call(s)==Rr.call(u)}return!1}function C1(s,u,_,k,T,F){var q=_&m,J=oo(s),x=J.length,_e=oo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var ye=x;ye--;){var De=J[ye];if(!(q?De in u:At.call(u,De)))return!1}var Ke=F.get(s),Qe=F.get(u);if(Ke&&Qe)return Ke==u&&Qe==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Ze=q;++ye<x;){De=J[ye];var gt=s[De],pt=u[De];if(k)var Wn=q?k(pt,gt,De,u,s,F):k(gt,pt,De,s,u,F);if(!(Wn===t?gt===pt||T(gt,pt,_,k,F):Wn)){ot=!1;break}Ze||(Ze=De=="constructor")}if(ot&&!Ze){var In=s.constructor,qn=u.constructor;In!=qn&&"constructor"in s&&"constructor"in u&&!(typeof In=="function"&&In instanceof In&&typeof qn=="function"&&qn instanceof qn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Fi(s){return mo(lf(s,t,hf),s+"")}function oo(s){return mu(s,hn,ho)}function uo(s){return mu(s,Dn,$u)}var fo=Na?function(s){return Na.get(s)}:Ao;function Wa(s){for(var u=s.name+"",_=nr[u],k=At.call(nr,u)?_.length:0;k--;){var T=_[k],F=T.func;if(F==null||F==s)return T.name}return u}function ar(s){var u=At.call(M,"placeholder")?M:s;return u.placeholder}function Ye(){var s=M.iteratee||To;return s=s===To?wu:s,arguments.length?s(arguments[0],arguments[1]):s}function qa(s,u){var _=s.__data__;return E1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function co(s){for(var u=hn(s),_=u.length;_--;){var k=u[_],T=s[k];u[_]=[k,T,tf(T)]}return u}function Ol(s,u){var _=Vp(s,u);return vu(_)?_:t}function y1(s){var u=At.call(s,Al),_=s[Al];try{s[Al]=t;var k=!0}catch{}var T=va.call(s);return k&&(u?s[Al]=_:delete s[Al]),T}var ho=Bs?function(s){return s==null?[]:(s=Mt(s),xi(Bs(s),function(u){return lu.call(s,u)}))}:Eo,$u=Bs?function(s){for(var u=[];s;)el(u,ho(s)),s=Sa(s);return u}:Eo,wn=yn;(Hs&&wn(new Hs(new ArrayBuffer(1)))!=Gt||Lr&&wn(new Lr)!=St||Ws&&wn(Ws.resolve())!=Ht||tr&&wn(new tr)!=tt||Ar&&wn(new Ar)!=Lt)&&(wn=function(s){var u=yn(s),_=u==an?s.constructor:t,k=_?Ml(_):"";if(k)switch(k){case am:return Gt;case sm:return St;case om:return Ht;case um:return tt;case fm:return Lt}return u});function P1(s,u,_){for(var k=-1,T=_.length;++k<T;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=vn(u,s+q);break;case"takeRight":s=un(s,u-q);break}}return{start:s,end:u}}function I1(s){var u=s.match(Ai);return u?u[1].split(fi):[]}function xu(s,u,_){u=rl(u,s);for(var k=-1,T=u.length,F=!1;++k<T;){var q=_i(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=T?F:(T=s==null?0:s.length,!!T&&Qa(T)&&Ui(q,T)&&(lt(s)||Fl(s)))}function N1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&At.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function ef(s){return typeof s.constructor=="function"&&!Br(s)?ir(Sa(s)):{}}function T1(s,u,_){var k=s.constructor;switch(u){case xn:return ro(s);case ct:case qe:return new k(+s);case Gt:return c1(s,_);case Sn:case wi:case ki:case mn:case Si:case Ci:case yi:case Pi:case Ii:return Mu(s,_);case St:return new k;case ln:case Yt:return new k(s);case rt:return d1(s);case tt:return new k;case Qt:return h1(s)}}function L1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(ui,`{
33
+ */us.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__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,N=8,I=16,V=32,L=64,H=128,D=256,O=512,z=30,Q="...",Z=800,ce=16,X=1,G=2,j=3,ae=1/0,fe=9007199254740991,ne=17976931348623157e292,se=0/0,Se=4294967295,ie=Se-1,De=Se>>>1,Ge=[["ary",H],["bind",C],["bindKey",y],["curry",N],["curryRight",I],["flip",O],["partial",V],["partialRight",L],["rearg",D]],Ce="[object Arguments]",Pe="[object Array]",Ue="[object AsyncFunction]",dt="[object Boolean]",ze="[object Date]",ht="[object DOMException]",Ut="[object Error]",de="[object Function]",et="[object GeneratorFunction]",Ct="[object Map]",rn="[object Number]",An="[object Null]",sn="[object Object]",Wt="[object Promise]",Te="[object Proxy]",at="[object RegExp]",nt="[object Set]",Qt="[object String]",Zt="[object Symbol]",En="[object Undefined]",At="[object WeakMap]",_n="[object WeakSet]",ti="[object ArrayBuffer]",Kt="[object DataView]",Cn="[object Float32Array]",Si="[object Float64Array]",Ci="[object Int8Array]",bn="[object Int16Array]",yi="[object Int32Array]",Pi="[object Uint8Array]",Ii="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Ti="[object Uint32Array]",vl=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,kl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Li=/&(?:amp|lt|gt|quot|#39);/g,ji=/[&<>"']/g,Ji=RegExp(Li.source),fi=RegExp(ji.source),Sl=/<%-([\s\S]+?)%>/g,Cl=/<%([\s\S]+?)%>/g,Yi=/<%=([\s\S]+?)%>/g,yl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pl=/^\w*$/,Il=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ai=/[\\^$.*+?()[\]{}|]/g,Nl=RegExp(Ai.source),ni=/^\s+/,Ei=/\s/,ci=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ri=/\{\n\/\* \[wrapped with (.+)\] \*/,di=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,be=/[()=,{}\[\]\/\s]/,$e=/\\(\\)?/g,it=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,lt=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,hi=/^0o[0-7]+$/i,Qi=/^(?:0|[1-9]\d*)$/,Tl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gi=/($^)/,Ll=/['\n\r\u2028\u2029\\]/g,Di="\\ud800-\\udfff",zl="\\u0300-\\u036f",Sr="\\ufe20-\\ufe2f",Y="\\u20d0-\\u20ff",Dt=zl+Sr+Y,vn="\\u2700-\\u27bf",ii="a-z\\xdf-\\xf6\\xf8-\\xff",na="\\xac\\xb1\\xd7\\xf7",Zi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",Gl=" \\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",Cr="A-Z\\xc0-\\xd6\\xd8-\\xde",ia="\\ufe0e\\ufe0f",Xi=na+Zi+an+Gl,yr="['’]",ms="["+Di+"]",la="["+Xi+"]",Kl="["+Dt+"]",jl="\\d+",bs="["+vn+"]",ra="["+ii+"]",aa="[^"+Di+Xi+jl+vn+ii+Cr+"]",Jl="\\ud83c[\\udffb-\\udfff]",vs="(?:"+Kl+"|"+Jl+")",Pr="[^"+Di+"]",Ir="(?:\\ud83c[\\udde6-\\uddff]){2}",Yl="[\\ud800-\\udbff][\\udc00-\\udfff]",$i="["+Cr+"]",sa="\\u200d",oa="(?:"+ra+"|"+aa+")",ws="(?:"+$i+"|"+aa+")",ua="(?:"+yr+"(?:d|ll|m|re|s|t|ve))?",fa="(?:"+yr+"(?:D|LL|M|RE|S|T|VE))?",ca=vs+"?",da="["+ia+"]?",ks="(?:"+sa+"(?:"+[Pr,Ir,Yl].join("|")+")"+da+ca+")*",Ss="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ha=da+ca+ks,ys="(?:"+[bs,Ir,Yl].join("|")+")"+ha,Ps="(?:"+[Pr+Kl+"?",Kl,Ir,Yl,ms].join("|")+")",Is=RegExp(yr,"g"),Ns=RegExp(Kl,"g"),Nr=RegExp(Jl+"(?="+Jl+")|"+Ps+ha,"g"),Ts=RegExp([$i+"?"+ra+"+"+ua+"(?="+[la,$i,"$"].join("|")+")",ws+"+"+fa+"(?="+[la,$i+oa,"$"].join("|")+")",$i+"?"+oa+"+"+ua,$i+"+"+fa,Cs,Ss,jl,ys].join("|"),"g"),B=RegExp("["+sa+Di+Dt+ia+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ee=["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"],Ke=-1,Ie={};Ie[Cn]=Ie[Si]=Ie[Ci]=Ie[bn]=Ie[yi]=Ie[Pi]=Ie[Ii]=Ie[Ni]=Ie[Ti]=!0,Ie[Ce]=Ie[Pe]=Ie[ti]=Ie[dt]=Ie[Kt]=Ie[ze]=Ie[Ut]=Ie[de]=Ie[Ct]=Ie[rn]=Ie[sn]=Ie[at]=Ie[nt]=Ie[Qt]=Ie[At]=!1;var he={};he[Ce]=he[Pe]=he[ti]=he[Kt]=he[dt]=he[ze]=he[Cn]=he[Si]=he[Ci]=he[bn]=he[yi]=he[Ct]=he[rn]=he[sn]=he[at]=he[nt]=he[Qt]=he[Zt]=he[Pi]=he[Ii]=he[Ni]=he[Ti]=!0,he[Ut]=he[de]=he[At]=!1;var Be={À:"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"},yt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},zt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Tr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xi=parseFloat,Lr=parseInt,Vi=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,Ar=typeof self=="object"&&self&&self.Object===Object&&self,He=Vi||Ar||Function("return this")(),Nt=e&&!e.nodeType&&e,Pt=Nt&&!0&&i&&!i.nodeType&&i,on=Pt&&Pt.exports===Nt,yn=on&&Vi.process,$t=function(){try{var $=Pt&&Pt.require&&Pt.require("util").types;return $||yn&&yn.binding&&yn.binding("util")}catch{}}(),el=$t&&$t.isArrayBuffer,Ql=$t&&$t.isDate,Al=$t&&$t.isMap,Ls=$t&&$t.isRegExp,Zl=$t&&$t.isSet,ga=$t&&$t.isTypedArray;function hn($,ge,oe){switch(oe.length){case 0:return $.call(ge);case 1:return $.call(ge,oe[0]);case 2:return $.call(ge,oe[0],oe[1]);case 3:return $.call(ge,oe[0],oe[1],oe[2])}return $.apply(ge,oe)}function El($,ge,oe,We){for(var tt=-1,It=$==null?0:$.length;++tt<It;){var un=$[tt];ge(We,un,oe(un),$)}return We}function Mt($,ge){for(var oe=-1,We=$==null?0:$.length;++oe<We&&ge($[oe],oe,$)!==!1;);return $}function Jn($,ge){for(var oe=$==null?0:$.length;oe--&&ge($[oe],oe,$)!==!1;);return $}function _a($,ge){for(var oe=-1,We=$==null?0:$.length;++oe<We;)if(!ge($[oe],oe,$))return!1;return!0}function tl($,ge){for(var oe=-1,We=$==null?0:$.length,tt=0,It=[];++oe<We;){var un=$[oe];ge(un,oe,$)&&(It[tt++]=un)}return It}function pa($,ge){var oe=$==null?0:$.length;return!!oe&&Xl($,ge,0)>-1}function As($,ge,oe){for(var We=-1,tt=$==null?0:$.length;++We<tt;)if(oe(ge,$[We]))return!0;return!1}function Gt($,ge){for(var oe=-1,We=$==null?0:$.length,tt=Array(We);++oe<We;)tt[oe]=ge($[oe],oe,$);return tt}function nl($,ge){for(var oe=-1,We=ge.length,tt=$.length;++oe<We;)$[tt+oe]=ge[oe];return $}function Es($,ge,oe,We){var tt=-1,It=$==null?0:$.length;for(We&&It&&(oe=$[++tt]);++tt<It;)oe=ge(oe,$[tt],tt,$);return oe}function yp($,ge,oe,We){var tt=$==null?0:$.length;for(We&&tt&&(oe=$[--tt]);tt--;)oe=ge(oe,$[tt],tt,$);return oe}function Rs($,ge){for(var oe=-1,We=$==null?0:$.length;++oe<We;)if(ge($[oe],oe,$))return!0;return!1}var Pp=Ds("length");function Ip($){return $.split("")}function Np($){return $.match(K)||[]}function Jo($,ge,oe){var We;return oe($,function(tt,It,un){if(ge(tt,It,un))return We=It,!1}),We}function ma($,ge,oe,We){for(var tt=$.length,It=oe+(We?1:-1);We?It--:++It<tt;)if(ge($[It],It,$))return It;return-1}function Xl($,ge,oe){return ge===ge?Bp($,ge,oe):ma($,Yo,oe)}function Tp($,ge,oe,We){for(var tt=oe-1,It=$.length;++tt<It;)if(We($[tt],ge))return tt;return-1}function Yo($){return $!==$}function Qo($,ge){var oe=$==null?0:$.length;return oe?Os($,ge)/oe:se}function Ds($){return function(ge){return ge==null?t:ge[$]}}function Vs($){return function(ge){return $==null?t:$[ge]}}function Zo($,ge,oe,We,tt){return tt($,function(It,un,Ft){oe=We?(We=!1,It):ge(oe,It,un,Ft)}),oe}function Lp($,ge){var oe=$.length;for($.sort(ge);oe--;)$[oe]=$[oe].value;return $}function Os($,ge){for(var oe,We=-1,tt=$.length;++We<tt;){var It=ge($[We]);It!==t&&(oe=oe===t?It:oe+It)}return oe}function Ms($,ge){for(var oe=-1,We=Array($);++oe<$;)We[oe]=ge(oe);return We}function Ap($,ge){return Gt(ge,function(oe){return[oe,$[oe]]})}function Xo($){return $&&$.slice(0,tu($)+1).replace(ni,"")}function Hn($){return function(ge){return $(ge)}}function Fs($,ge){return Gt(ge,function(oe){return $[oe]})}function Er($,ge){return $.has(ge)}function $o($,ge){for(var oe=-1,We=$.length;++oe<We&&Xl(ge,$[oe],0)>-1;);return oe}function xo($,ge){for(var oe=$.length;oe--&&Xl(ge,$[oe],0)>-1;);return oe}function Ep($,ge){for(var oe=$.length,We=0;oe--;)$[oe]===ge&&++We;return We}var Rp=Vs(Be),Dp=Vs(yt);function Vp($){return"\\"+Tr[$]}function Op($,ge){return $==null?t:$[ge]}function $l($){return B.test($)}function Mp($){return ue.test($)}function Fp($){for(var ge,oe=[];!(ge=$.next()).done;)oe.push(ge.value);return oe}function Us($){var ge=-1,oe=Array($.size);return $.forEach(function(We,tt){oe[++ge]=[tt,We]}),oe}function eu($,ge){return function(oe){return $(ge(oe))}}function il($,ge){for(var oe=-1,We=$.length,tt=0,It=[];++oe<We;){var un=$[oe];(un===ge||un===d)&&($[oe]=d,It[tt++]=oe)}return It}function ba($){var ge=-1,oe=Array($.size);return $.forEach(function(We){oe[++ge]=We}),oe}function Up($){var ge=-1,oe=Array($.size);return $.forEach(function(We){oe[++ge]=[We,We]}),oe}function Bp($,ge,oe){for(var We=oe-1,tt=$.length;++We<tt;)if($[We]===ge)return We;return-1}function Hp($,ge,oe){for(var We=oe+1;We--;)if($[We]===ge)return We;return We}function xl($){return $l($)?qp($):Pp($)}function li($){return $l($)?zp($):Ip($)}function tu($){for(var ge=$.length;ge--&&Ei.test($.charAt(ge)););return ge}var Wp=Vs(zt);function qp($){for(var ge=Nr.lastIndex=0;Nr.test($);)++ge;return ge}function zp($){return $.match(Nr)||[]}function Gp($){return $.match(Ts)||[]}var Kp=function $(ge){ge=ge==null?He:er.defaults(He.Object(),ge,er.pick(He,Ee));var oe=ge.Array,We=ge.Date,tt=ge.Error,It=ge.Function,un=ge.Math,Ft=ge.Object,Bs=ge.RegExp,jp=ge.String,Yn=ge.TypeError,va=oe.prototype,Jp=It.prototype,tr=Ft.prototype,wa=ge["__core-js_shared__"],ka=Jp.toString,Et=tr.hasOwnProperty,Yp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=tr.toString,Qp=ka.call(Ft),Zp=He._,Xp=Bs("^"+ka.call(Et).replace(Ai,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=on?ge.Buffer:t,ll=ge.Symbol,ya=ge.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Ft.getPrototypeOf,Ft),lu=Ft.create,ru=tr.propertyIsEnumerable,Ia=va.splice,au=ll?ll.isConcatSpreadable:t,Rr=ll?ll.iterator:t,Rl=ll?ll.toStringTag:t,Na=function(){try{var s=Fl(Ft,"defineProperty");return s({},"",{}),s}catch{}}(),$p=ge.clearTimeout!==He.clearTimeout&&ge.clearTimeout,xp=We&&We.now!==He.Date.now&&We.now,em=ge.setTimeout!==He.setTimeout&&ge.setTimeout,Ta=un.ceil,La=un.floor,Hs=Ft.getOwnPropertySymbols,tm=Ca?Ca.isBuffer:t,su=ge.isFinite,nm=va.join,im=eu(Ft.keys,Ft),fn=un.max,wn=un.min,lm=We.now,rm=ge.parseInt,ou=un.random,am=va.reverse,Ws=Fl(ge,"DataView"),Dr=Fl(ge,"Map"),qs=Fl(ge,"Promise"),nr=Fl(ge,"Set"),Vr=Fl(ge,"WeakMap"),Or=Fl(Ft,"create"),Aa=Vr&&new Vr,ir={},sm=Ul(Ws),om=Ul(Dr),um=Ul(qs),fm=Ul(nr),cm=Ul(Vr),Ea=ll?ll.prototype:t,Mr=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(xt(s)&&!rt(s)&&!(s instanceof pt)){if(s instanceof Qn)return s;if(Et.call(s,"__wrapped__"))return cf(s)}return new Qn(s)}var lr=function(){function s(){}return function(u){if(!jt(u))return{};if(lu)return lu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ra(){}function Qn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:Sl,evaluate:Cl,interpolate:Yi,variable:"",imports:{_:M}},M.prototype=Ra.prototype,M.prototype.constructor=M,Qn.prototype=lr(Ra.prototype),Qn.prototype.constructor=Qn;function pt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function dm(){var s=new pt(this.__wrapped__);return s.__actions__=Rn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Rn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Rn(this.__views__),s}function hm(){if(this.__filtered__){var s=new pt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function gm(){var s=this.__wrapped__.value(),u=this.__dir__,_=rt(s),k=u<0,T=_?s.length:0,F=I1(0,T,this.__views__),q=F.start,J=F.end,x=J-q,_e=k?J:q-1,pe=this.__iteratees__,ye=pe.length,Ve=0,je=wn(x,this.__takeCount__);if(!_||!k&&T==x&&je==x)return Du(s,this.__actions__);var Ze=[];e:for(;x--&&Ve<je;){_e+=u;for(var ut=-1,Xe=s[_e];++ut<ye;){var _t=pe[ut],mt=_t.iteratee,zn=_t.type,Nn=mt(Xe);if(zn==G)Xe=Nn;else if(!Nn){if(zn==X)continue e;break e}}Ze[Ve++]=Xe}return Ze}pt.prototype=lr(Ra.prototype),pt.prototype.constructor=pt;function Dl(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__=Or?Or(null):{},this.size=0}function pm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function mm(s){var u=this.__data__;if(Or){var _=u[s];return _===c?t:_}return Et.call(u,s)?u[s]:t}function bm(s){var u=this.__data__;return Or?u[s]!==t:Et.call(u,s)}function vm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Or&&u===t?c:u,this}Dl.prototype.clear=_m,Dl.prototype.delete=pm,Dl.prototype.get=mm,Dl.prototype.has=bm,Dl.prototype.set=vm;function Oi(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.__data__=[],this.size=0}function km(s){var u=this.__data__,_=Da(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ia.call(u,_,1),--this.size,!0}function Sm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function Cm(s){return Da(this.__data__,s)>-1}function ym(s,u){var _=this.__data__,k=Da(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Oi.prototype.clear=wm,Oi.prototype.delete=km,Oi.prototype.get=Sm,Oi.prototype.has=Cm,Oi.prototype.set=ym;function Mi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function Pm(){this.size=0,this.__data__={hash:new Dl,map:new(Dr||Oi),string:new Dl}}function Im(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Nm(s){return Ka(this,s).get(s)}function Tm(s){return Ka(this,s).has(s)}function Lm(s,u){var _=Ka(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Mi.prototype.clear=Pm,Mi.prototype.delete=Im,Mi.prototype.get=Nm,Mi.prototype.has=Tm,Mi.prototype.set=Lm;function Vl(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Mi;++u<_;)this.add(s[u])}function Am(s){return this.__data__.set(s,c),this}function Em(s){return this.__data__.has(s)}Vl.prototype.add=Vl.prototype.push=Am,Vl.prototype.has=Em;function ri(s){var u=this.__data__=new Oi(s);this.size=u.size}function Rm(){this.__data__=new Oi,this.size=0}function Dm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Vm(s){return this.__data__.get(s)}function Om(s){return this.__data__.has(s)}function Mm(s,u){var _=this.__data__;if(_ instanceof Oi){var k=_.__data__;if(!Dr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Mi(k)}return _.set(s,u),this.size=_.size,this}ri.prototype.clear=Rm,ri.prototype.delete=Dm,ri.prototype.get=Vm,ri.prototype.has=Om,ri.prototype.set=Mm;function fu(s,u){var _=rt(s),k=!_&&Bl(s),T=!_&&!k&&ul(s),F=!_&&!k&&!T&&or(s),q=_||k||T||F,J=q?Ms(s.length,jp):[],x=J.length;for(var _e in s)(u||Et.call(s,_e))&&!(q&&(_e=="length"||T&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Hi(_e,x)))&&J.push(_e);return J}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Fm(s,u){return ja(Rn(s),Ol(u,0,s.length))}function Um(s){return ja(Rn(s))}function zs(s,u,_){(_!==t&&!ai(s[u],_)||_===t&&!(u in s))&&Fi(s,u,_)}function Fr(s,u,_){var k=s[u];(!(Et.call(s,u)&&ai(k,_))||_===t&&!(u in s))&&Fi(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(ai(s[_][0],u))return _;return-1}function Bm(s,u,_,k){return rl(s,function(T,F,q){u(k,T,_(T),q)}),k}function du(s,u){return s&&pi(u,gn(u),s)}function Hm(s,u){return s&&pi(u,Vn(u),s)}function Fi(s,u,_){u=="__proto__"&&Na?Na(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Gs(s,u){for(var _=-1,k=u.length,T=oe(k),F=s==null;++_<k;)T[_]=F?t:Po(s,u[_]);return T}function Ol(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Zn(s,u,_,k,T,F){var q,J=u&g,x=u&p,_e=u&b;if(_&&(q=T?_(s,k,T,F):_(s)),q!==t)return q;if(!jt(s))return s;var pe=rt(s);if(pe){if(q=T1(s),!J)return Rn(s,q)}else{var ye=kn(s),Ve=ye==de||ye==et;if(ul(s))return Mu(s,J);if(ye==sn||ye==Ce||Ve&&!T){if(q=x||Ve?{}:tf(s),!J)return x?m1(s,Hm(q,s)):p1(s,du(q,s))}else{if(!he[ye])return T?s:{};q=L1(s,ye,J)}}F||(F=new ri);var je=F.get(s);if(je)return je;F.set(s,q),Ef(s)?s.forEach(function(Xe){q.add(Zn(Xe,u,_,Xe,s,F))}):Lf(s)&&s.forEach(function(Xe,_t){q.set(_t,Zn(Xe,u,_,_t,s,F))});var Ze=_e?x?fo:uo:x?Vn:gn,ut=pe?t:Ze(s);return Mt(ut||s,function(Xe,_t){ut&&(_t=Xe,Xe=s[_t]),Fr(q,_t,Zn(Xe,u,_,_t,s,F))}),q}function Wm(s){var u=gn(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var k=_.length;if(s==null)return!k;for(s=Ft(s);k--;){var T=_[k],F=u[T],q=s[T];if(q===t&&!(T in s)||!F(q))return!1}return!0}function gu(s,u,_){if(typeof s!="function")throw new Yn(a);return Gr(function(){s.apply(t,_)},u)}function Ur(s,u,_,k){var T=-1,F=pa,q=!0,J=s.length,x=[],_e=u.length;if(!J)return x;_&&(u=Gt(u,Hn(_))),k?(F=As,q=!1):u.length>=l&&(F=Er,q=!1,u=new Vl(u));e:for(;++T<J;){var pe=s[T],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&ye===ye){for(var Ve=_e;Ve--;)if(u[Ve]===ye)continue e;x.push(pe)}else F(u,ye,k)||x.push(pe)}return x}var rl=Wu(_i),_u=Wu(js,!0);function qm(s,u){var _=!0;return rl(s,function(k,T,F){return _=!!u(k,T,F),_}),_}function Va(s,u,_){for(var k=-1,T=s.length;++k<T;){var F=s[k],q=u(F);if(q!=null&&(J===t?q===q&&!qn(q):_(q,J)))var J=q,x=F}return x}function zm(s,u,_,k){var T=s.length;for(_=ot(_),_<0&&(_=-_>T?0:T+_),k=k===t||k>T?T:ot(k),k<0&&(k+=T),k=_>k?0:Df(k);_<k;)s[_++]=u;return s}function pu(s,u){var _=[];return rl(s,function(k,T,F){u(k,T,F)&&_.push(k)}),_}function pn(s,u,_,k,T){var F=-1,q=s.length;for(_||(_=E1),T||(T=[]);++F<q;){var J=s[F];u>0&&_(J)?u>1?pn(J,u-1,_,k,T):nl(T,J):k||(T[T.length]=J)}return T}var Ks=qu(),mu=qu(!0);function _i(s,u){return s&&Ks(s,u,gn)}function js(s,u){return s&&mu(s,u,gn)}function Oa(s,u){return tl(u,function(_){return Wi(s[_])})}function Ml(s,u){u=sl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[mi(u[_++])];return _&&_==k?s:t}function bu(s,u,_){var k=u(s);return rt(s)?k:nl(k,_(s))}function Pn(s){return s==null?s===t?En:An:Rl&&Rl in Ft(s)?P1(s):U1(s)}function Js(s,u){return s>u}function Gm(s,u){return s!=null&&Et.call(s,u)}function Km(s,u){return s!=null&&u in Ft(s)}function jm(s,u,_){return s>=wn(u,_)&&s<fn(u,_)}function Ys(s,u,_){for(var k=_?As:pa,T=s[0].length,F=s.length,q=F,J=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=Gt(pe,Hn(u))),x=wn(pe.length,x),J[q]=!_&&(u||T>=120&&pe.length>=120)?new Vl(q&&pe):t}pe=s[0];var ye=-1,Ve=J[0];e:for(;++ye<T&&_e.length<x;){var je=pe[ye],Ze=u?u(je):je;if(je=_||je!==0?je:0,!(Ve?Er(Ve,Ze):k(_e,Ze,_))){for(q=F;--q;){var ut=J[q];if(!(ut?Er(ut,Ze):k(s[q],Ze,_)))continue e}Ve&&Ve.push(Ze),_e.push(je)}}return _e}function Jm(s,u,_,k){return _i(s,function(T,F,q){u(k,_(T),F,q)}),k}function Br(s,u,_){u=sl(u,s),s=af(s,u);var k=s==null?s:s[mi($n(u))];return k==null?t:hn(k,s,_)}function vu(s){return xt(s)&&Pn(s)==Ce}function Ym(s){return xt(s)&&Pn(s)==ti}function Qm(s){return xt(s)&&Pn(s)==ze}function Hr(s,u,_,k,T){return s===u?!0:s==null||u==null||!xt(s)&&!xt(u)?s!==s&&u!==u:Zm(s,u,_,k,Hr,T)}function Zm(s,u,_,k,T,F){var q=rt(s),J=rt(u),x=q?Pe:kn(s),_e=J?Pe:kn(u);x=x==Ce?sn:x,_e=_e==Ce?sn:_e;var pe=x==sn,ye=_e==sn,Ve=x==_e;if(Ve&&ul(s)){if(!ul(u))return!1;q=!0,pe=!1}if(Ve&&!pe)return F||(F=new ri),q||or(s)?$u(s,u,_,k,T,F):C1(s,u,x,_,k,T,F);if(!(_&m)){var je=pe&&Et.call(s,"__wrapped__"),Ze=ye&&Et.call(u,"__wrapped__");if(je||Ze){var ut=je?s.value():s,Xe=Ze?u.value():u;return F||(F=new ri),T(ut,Xe,_,k,F)}}return Ve?(F||(F=new ri),y1(s,u,_,k,T,F)):!1}function Xm(s){return xt(s)&&kn(s)==Ct}function Qs(s,u,_,k){var T=_.length,F=T,q=!k;if(s==null)return!F;for(s=Ft(s);T--;){var J=_[T];if(q&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++T<F;){J=_[T];var x=J[0],_e=s[x],pe=J[1];if(q&&J[2]){if(_e===t&&!(x in s))return!1}else{var ye=new ri;if(k)var Ve=k(_e,pe,x,s,u,ye);if(!(Ve===t?Hr(pe,_e,m|v,k,ye):Ve))return!1}}return!0}function wu(s){if(!jt(s)||D1(s))return!1;var u=Wi(s)?Xp:Xt;return u.test(Ul(s))}function $m(s){return xt(s)&&Pn(s)==at}function xm(s){return xt(s)&&kn(s)==nt}function e1(s){return xt(s)&&$a(s.length)&&!!Ie[Pn(s)]}function ku(s){return typeof s=="function"?s:s==null?On:typeof s=="object"?rt(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!zr(s))return im(s);var u=[];for(var _ in Ft(s))Et.call(s,_)&&_!="constructor"&&u.push(_);return u}function t1(s){if(!jt(s))return F1(s);var u=zr(s),_=[];for(var k in s)k=="constructor"&&(u||!Et.call(s,k))||_.push(k);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,k=Dn(s)?oe(s.length):[];return rl(s,function(T,F,q){k[++_]=u(T,F,q)}),k}function Cu(s){var u=ho(s);return u.length==1&&u[0][2]?lf(u[0][0],u[0][1]):function(_){return _===s||Qs(_,s,u)}}function yu(s,u){return _o(s)&&nf(u)?lf(mi(s),u):function(_){var k=Po(_,s);return k===t&&k===u?Io(_,s):Hr(u,k,m|v)}}function Ma(s,u,_,k,T){s!==u&&Ks(u,function(F,q){if(T||(T=new ri),jt(F))n1(s,u,q,_,Ma,k,T);else{var J=k?k(mo(s,q),F,q+"",s,u,T):t;J===t&&(J=F),zs(s,q,J)}},Vn)}function n1(s,u,_,k,T,F,q){var J=mo(s,_),x=mo(u,_),_e=q.get(x);if(_e){zs(s,_,_e);return}var pe=F?F(J,x,_+"",s,u,q):t,ye=pe===t;if(ye){var Ve=rt(x),je=!Ve&&ul(x),Ze=!Ve&&!je&&or(x);pe=x,Ve||je||Ze?rt(J)?pe=J:en(J)?pe=Rn(J):je?(ye=!1,pe=Mu(x,!0)):Ze?(ye=!1,pe=Fu(x,!0)):pe=[]:Kr(x)||Bl(x)?(pe=J,Bl(J)?pe=Vf(J):(!jt(J)||Wi(J))&&(pe=tf(x))):ye=!1}ye&&(q.set(x,pe),T(pe,x,k,F,q),q.delete(x)),zs(s,_,pe)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Hi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Gt(u,function(F){return rt(F)?function(q){return Ml(q,F.length===1?F[0]:F)}:F}):u=[On];var k=-1;u=Gt(u,Hn(Qe()));var T=Su(s,function(F,q,J){var x=Gt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Lp(T,function(F,q){return _1(F,q,_)})}function i1(s,u){return Nu(s,u,function(_,k){return Io(s,k)})}function Nu(s,u,_){for(var k=-1,T=u.length,F={};++k<T;){var q=u[k],J=Ml(s,q);_(J,q)&&Wr(F,sl(q,s),J)}return F}function l1(s){return function(u){return Ml(u,s)}}function $s(s,u,_,k){var T=k?Tp:Xl,F=-1,q=u.length,J=s;for(s===u&&(u=Rn(u)),_&&(J=Gt(s,Hn(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=T(J,pe,x,k))>-1;)J!==s&&Ia.call(J,x,1),Ia.call(s,x,1);return s}function Tu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var T=u[_];if(_==k||T!==F){var F=T;Hi(T)?Ia.call(s,T,1):no(s,T)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function r1(s,u,_,k){for(var T=-1,F=fn(Ta((u-s)/(_||1)),0),q=oe(F);F--;)q[k?F:++T]=s,s+=_;return q}function eo(s,u){var _="";if(!s||u<1||u>fe)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function ft(s,u){return bo(rf(s,u,On),s+"")}function a1(s){return cu(ur(s))}function s1(s,u){var _=ur(s);return ja(_,Ol(u,0,_.length))}function Wr(s,u,_,k){if(!jt(s))return s;u=sl(u,s);for(var T=-1,F=u.length,q=F-1,J=s;J!=null&&++T<F;){var x=mi(u[T]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(T!=q){var pe=J[x];_e=k?k(pe,x,J):t,_e===t&&(_e=jt(pe)?pe:Hi(u[T+1])?[]:{})}Fr(J,x,_e),J=J[x]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:On,o1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:On;function u1(s){return ja(ur(s))}function Xn(s,u,_){var k=-1,T=s.length;u<0&&(u=-u>T?0:T+u),_=_>T?T:_,_<0&&(_+=T),T=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(T);++k<T;)F[k]=s[k+u];return F}function f1(s,u){var _;return rl(s,function(k,T,F){return _=u(k,T,F),!_}),!!_}function Fa(s,u,_){var k=0,T=s==null?k:s.length;if(typeof u=="number"&&u===u&&T<=De){for(;k<T;){var F=k+T>>>1,q=s[F];q!==null&&!qn(q)&&(_?q<=u:q<u)?k=F+1:T=F}return T}return to(s,u,On,_)}function to(s,u,_,k){var T=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,J=u===null,x=qn(u),_e=u===t;T<F;){var pe=La((T+F)/2),ye=_(s[pe]),Ve=ye!==t,je=ye===null,Ze=ye===ye,ut=qn(ye);if(q)var Xe=k||Ze;else _e?Xe=Ze&&(k||Ve):J?Xe=Ze&&Ve&&(k||!je):x?Xe=Ze&&Ve&&!je&&(k||!ut):je||ut?Xe=!1:Xe=k?ye<=u:ye<u;Xe?T=pe+1:F=pe}return wn(F,ie)}function Au(s,u){for(var _=-1,k=s.length,T=0,F=[];++_<k;){var q=s[_],J=u?u(q):q;if(!_||!ai(J,x)){var x=J;F[T++]=q===0?0:q}}return F}function Eu(s){return typeof s=="number"?s:qn(s)?se:+s}function Wn(s){if(typeof s=="string")return s;if(rt(s))return Gt(s,Wn)+"";if(qn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function al(s,u,_){var k=-1,T=pa,F=s.length,q=!0,J=[],x=J;if(_)q=!1,T=As;else if(F>=l){var _e=u?null:k1(s);if(_e)return ba(_e);q=!1,T=Er,x=new Vl}else x=u?[]:J;e:for(;++k<F;){var pe=s[k],ye=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&ye===ye){for(var Ve=x.length;Ve--;)if(x[Ve]===ye)continue e;u&&x.push(ye),J.push(pe)}else T(x,ye,_)||(x!==J&&x.push(ye),J.push(pe))}return J}function no(s,u){return u=sl(u,s),s=af(s,u),s==null||delete s[mi($n(u))]}function Ru(s,u,_,k){return Wr(s,u,_(Ml(s,u)),k)}function Ua(s,u,_,k){for(var T=s.length,F=k?T:-1;(k?F--:++F<T)&&u(s[F],F,s););return _?Xn(s,k?0:F,k?F+1:T):Xn(s,k?F+1:0,k?T:F)}function Du(s,u){var _=s;return _ instanceof pt&&(_=_.value()),Es(u,function(k,T){return T.func.apply(T.thisArg,nl([k],T.args))},_)}function io(s,u,_){var k=s.length;if(k<2)return k?al(s[0]):[];for(var T=-1,F=oe(k);++T<k;)for(var q=s[T],J=-1;++J<k;)J!=T&&(F[T]=Ur(F[T]||q,s[J],u,_));return al(pn(F,1),u,_)}function Vu(s,u,_){for(var k=-1,T=s.length,F=u.length,q={};++k<T;){var J=k<F?u[k]:t;_(q,s[k],J)}return q}function lo(s){return en(s)?s:[]}function ro(s){return typeof s=="function"?s:On}function sl(s,u){return rt(s)?s:_o(s,u)?[s]:ff(Tt(s))}var c1=ft;function ol(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Xn(s,u,_)}var Ou=$p||function(s){return He.clearTimeout(s)};function Mu(s,u){if(u)return s.slice();var _=s.length,k=iu?iu(_):new s.constructor(_);return s.copy(k),k}function ao(s){var u=new s.constructor(s.byteLength);return new ya(u).set(new ya(s)),u}function d1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function h1(s){var u=new s.constructor(s.source,lt.exec(s));return u.lastIndex=s.lastIndex,u}function g1(s){return Mr?Ft(Mr.call(s)):{}}function Fu(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Uu(s,u){if(s!==u){var _=s!==t,k=s===null,T=s===s,F=qn(s),q=u!==t,J=u===null,x=u===u,_e=qn(u);if(!J&&!_e&&!F&&s>u||F&&q&&x&&!J&&!_e||k&&q&&x||!_&&x||!T)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&T&&!k&&!F||J&&_&&T||!q&&T||!x)return-1}return 0}function _1(s,u,_){for(var k=-1,T=s.criteria,F=u.criteria,q=T.length,J=_.length;++k<q;){var x=Uu(T[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 Bu(s,u,_,k){for(var T=-1,F=s.length,q=_.length,J=-1,x=u.length,_e=fn(F-q,0),pe=oe(x+_e),ye=!k;++J<x;)pe[J]=u[J];for(;++T<q;)(ye||T<F)&&(pe[_[T]]=s[T]);for(;_e--;)pe[J++]=s[T++];return pe}function Hu(s,u,_,k){for(var T=-1,F=s.length,q=-1,J=_.length,x=-1,_e=u.length,pe=fn(F-J,0),ye=oe(pe+_e),Ve=!k;++T<pe;)ye[T]=s[T];for(var je=T;++x<_e;)ye[je+x]=u[x];for(;++q<J;)(Ve||T<F)&&(ye[je+_[q]]=s[T++]);return ye}function Rn(s,u){var _=-1,k=s.length;for(u||(u=oe(k));++_<k;)u[_]=s[_];return u}function pi(s,u,_,k){var T=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var J=u[F],x=k?k(_[J],s[J],J,_,s):t;x===t&&(x=s[J]),T?Fi(_,J,x):Fr(_,J,x)}return _}function p1(s,u){return pi(s,go(s),u)}function m1(s,u){return pi(s,xu(s),u)}function Ba(s,u){return function(_,k){var T=rt(_)?El:Bm,F=u?u():{};return T(_,s,Qe(k,2),F)}}function rr(s){return ft(function(u,_){var k=-1,T=_.length,F=T>1?_[T-1]:t,q=T>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(T--,F):t,q&&In(_[0],_[1],q)&&(F=T<3?t:F,T=1),u=Ft(u);++k<T;){var J=_[k];J&&s(u,J,k,F)}return u})}function Wu(s,u){return function(_,k){if(_==null)return _;if(!Dn(_))return s(_,k);for(var T=_.length,F=u?T:-1,q=Ft(_);(u?F--:++F<T)&&k(q[F],F,q)!==!1;);return _}}function qu(s){return function(u,_,k){for(var T=-1,F=Ft(u),q=k(u),J=q.length;J--;){var x=q[s?J:++T];if(_(F[x],x,F)===!1)break}return u}}function b1(s,u,_){var k=u&C,T=qr(s);function F(){var q=this&&this!==He&&this instanceof F?T:s;return q.apply(k?_:this,arguments)}return F}function zu(s){return function(u){u=Tt(u);var _=$l(u)?li(u):t,k=_?_[0]:u.charAt(0),T=_?ol(_,1).join(""):u.slice(1);return k[s]()+T}}function ar(s){return function(u){return Es(qf(Wf(u).replace(Is,"")),s,"")}}function qr(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 _=lr(s.prototype),k=s.apply(_,u);return jt(k)?k:_}}function v1(s,u,_){var k=qr(s);function T(){for(var F=arguments.length,q=oe(F),J=F,x=sr(T);J--;)q[J]=arguments[J];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:il(q,x);if(F-=_e.length,F<_)return Yu(s,u,Ha,T.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==He&&this instanceof T?k:s;return hn(pe,this,q)}return T}function Gu(s){return function(u,_,k){var T=Ft(u);if(!Dn(u)){var F=Qe(_,3);u=gn(u),_=function(J){return F(T[J],J,T)}}var q=s(u,_,k);return q>-1?T[F?u[q]:q]:t}}function Ku(s){return Bi(function(u){var _=u.length,k=_,T=Qn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Yn(a);if(T&&!q&&Ga(F)=="wrapper")var q=new Qn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var J=Ga(F),x=J=="wrapper"?co(F):t;x&&po(x[0])&&x[1]==(H|N|V|D)&&!x[4].length&&x[9]==1?q=q[Ga(x[0])].apply(q,x[3]):q=F.length==1&&po(F)?q[J]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&rt(pe))return q.plant(pe).value();for(var ye=0,Ve=_?u[ye].apply(this,_e):pe;++ye<_;)Ve=u[ye].call(this,Ve);return Ve}})}function Ha(s,u,_,k,T,F,q,J,x,_e){var pe=u&H,ye=u&C,Ve=u&y,je=u&(N|I),Ze=u&O,ut=Ve?t:qr(s);function Xe(){for(var _t=arguments.length,mt=oe(_t),zn=_t;zn--;)mt[zn]=arguments[zn];if(je)var Nn=sr(Xe),Gn=Ep(mt,Nn);if(k&&(mt=Bu(mt,k,T,je)),F&&(mt=Hu(mt,F,q,je)),_t-=Gn,je&&_t<_e){var tn=il(mt,Nn);return Yu(s,u,Ha,Xe.placeholder,_,mt,tn,J,x,_e-_t)}var si=ye?_:this,zi=Ve?si[s]:s;return _t=mt.length,J?mt=B1(mt,J):Ze&&_t>1&&mt.reverse(),pe&&x<_t&&(mt.length=x),this&&this!==He&&this instanceof Xe&&(zi=ut||qr(zi)),zi.apply(si,mt)}return Xe}function ju(s,u){return function(_,k){return Jm(_,s,u(k),{})}}function Wa(s,u){return function(_,k){var T;if(_===t&&k===t)return u;if(_!==t&&(T=_),k!==t){if(T===t)return k;typeof _=="string"||typeof k=="string"?(_=Wn(_),k=Wn(k)):(_=Eu(_),k=Eu(k)),T=s(_,k)}return T}}function so(s){return Bi(function(u){return u=Gt(u,Hn(Qe())),ft(function(_){var k=this;return s(u,function(T){return hn(T,k,_)})})})}function qa(s,u){u=u===t?" ":Wn(u);var _=u.length;if(_<2)return _?eo(u,s):u;var k=eo(u,Ta(s/xl(u)));return $l(u)?ol(li(k),0,s).join(""):k.slice(0,s)}function w1(s,u,_,k){var T=u&C,F=qr(s);function q(){for(var J=-1,x=arguments.length,_e=-1,pe=k.length,ye=oe(pe+x),Ve=this&&this!==He&&this instanceof q?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++J];return hn(Ve,T?_:this,ye)}return q}function Ju(s){return function(u,_,k){return k&&typeof k!="number"&&In(u,_,k)&&(_=k=t),u=qi(u),_===t?(_=u,u=0):_=qi(_),k=k===t?u<_?1:-1:qi(k),r1(u,_,k,s)}}function za(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=xn(u),_=xn(_)),s(u,_)}}function Yu(s,u,_,k,T,F,q,J,x,_e){var pe=u&N,ye=pe?q:t,Ve=pe?t:q,je=pe?F:t,Ze=pe?t:F;u|=pe?V:L,u&=~(pe?L:V),u&P||(u&=~(C|y));var ut=[s,u,T,je,ye,Ze,Ve,J,x,_e],Xe=_.apply(t,ut);return po(s)&&sf(Xe,ut),Xe.placeholder=k,of(Xe,s,u)}function oo(s){var u=un[s];return function(_,k){if(_=xn(_),k=k==null?0:wn(ot(k),292),k&&su(_)){var T=(Tt(_)+"e").split("e"),F=u(T[0]+"e"+(+T[1]+k));return T=(Tt(F)+"e").split("e"),+(T[0]+"e"+(+T[1]-k))}return u(_)}}var k1=nr&&1/ba(new nr([,-0]))[1]==ae?function(s){return new nr(s)}:Eo;function Qu(s){return function(u){var _=kn(u);return _==Ct?Us(u):_==nt?Up(u):Ap(u,s(u))}}function Ui(s,u,_,k,T,F,q,J){var x=u&y;if(!x&&typeof s!="function")throw new Yn(a);var _e=k?k.length:0;if(_e||(u&=~(V|L),k=T=t),q=q===t?q:fn(ot(q),0),J=J===t?J:ot(J),_e-=T?T.length:0,u&L){var pe=k,ye=T;k=T=t}var Ve=x?t:co(s),je=[s,u,_,k,T,pe,ye,F,q,J];if(Ve&&M1(je,Ve),s=je[0],u=je[1],_=je[2],k=je[3],T=je[4],J=je[9]=je[9]===t?x?0:s.length:fn(je[9]-_e,0),!J&&u&(N|I)&&(u&=~(N|I)),!u||u==C)var Ze=b1(s,u,_);else u==N||u==I?Ze=v1(s,u,J):(u==V||u==(C|V))&&!T.length?Ze=w1(s,u,_,k):Ze=Ha.apply(t,je);var ut=Ve?Lu:sf;return of(ut(Ze,je),s,u)}function Zu(s,u,_,k){return s===t||ai(s,tr[_])&&!Et.call(k,_)?u:s}function Xu(s,u,_,k,T,F){return jt(s)&&jt(u)&&(F.set(u,s),Ma(s,u,t,Xu,F),F.delete(u)),s}function S1(s){return Kr(s)?t:s}function $u(s,u,_,k,T,F){var q=_&m,J=s.length,x=u.length;if(J!=x&&!(q&&x>J))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var ye=-1,Ve=!0,je=_&v?new Vl:t;for(F.set(s,u),F.set(u,s);++ye<J;){var Ze=s[ye],ut=u[ye];if(k)var Xe=q?k(ut,Ze,ye,u,s,F):k(Ze,ut,ye,s,u,F);if(Xe!==t){if(Xe)continue;Ve=!1;break}if(je){if(!Rs(u,function(_t,mt){if(!Er(je,mt)&&(Ze===_t||T(Ze,_t,_,k,F)))return je.push(mt)})){Ve=!1;break}}else if(!(Ze===ut||T(Ze,ut,_,k,F))){Ve=!1;break}}return F.delete(s),F.delete(u),Ve}function C1(s,u,_,k,T,F,q){switch(_){case Kt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case ti:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case dt:case ze:case rn:return ai(+s,+u);case Ut:return s.name==u.name&&s.message==u.message;case at:case Qt:return s==u+"";case Ct:var J=Us;case nt:var x=k&m;if(J||(J=ba),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=$u(J(s),J(u),k,T,F,q);return q.delete(s),pe;case Zt:if(Mr)return Mr.call(s)==Mr.call(u)}return!1}function y1(s,u,_,k,T,F){var q=_&m,J=uo(s),x=J.length,_e=uo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var ye=x;ye--;){var Ve=J[ye];if(!(q?Ve in u:Et.call(u,Ve)))return!1}var je=F.get(s),Ze=F.get(u);if(je&&Ze)return je==u&&Ze==s;var ut=!0;F.set(s,u),F.set(u,s);for(var Xe=q;++ye<x;){Ve=J[ye];var _t=s[Ve],mt=u[Ve];if(k)var zn=q?k(mt,_t,Ve,u,s,F):k(_t,mt,Ve,s,u,F);if(!(zn===t?_t===mt||T(_t,mt,_,k,F):zn)){ut=!1;break}Xe||(Xe=Ve=="constructor")}if(ut&&!Xe){var Nn=s.constructor,Gn=u.constructor;Nn!=Gn&&"constructor"in s&&"constructor"in u&&!(typeof Nn=="function"&&Nn instanceof Nn&&typeof Gn=="function"&&Gn instanceof Gn)&&(ut=!1)}return F.delete(s),F.delete(u),ut}function Bi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,gn,go)}function fo(s){return bu(s,Vn,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=ir[u],k=Et.call(ir,u)?_.length:0;k--;){var T=_[k],F=T.func;if(F==null||F==s)return T.name}return u}function sr(s){var u=Et.call(M,"placeholder")?M:s;return u.placeholder}function Qe(){var s=M.iteratee||Lo;return s=s===Lo?ku:s,arguments.length?s(arguments[0],arguments[1]):s}function Ka(s,u){var _=s.__data__;return R1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=gn(s),_=u.length;_--;){var k=u[_],T=s[k];u[_]=[k,T,nf(T)]}return u}function Fl(s,u){var _=Op(s,u);return wu(_)?_:t}function P1(s){var u=Et.call(s,Rl),_=s[Rl];try{s[Rl]=t;var k=!0}catch{}var T=Sa.call(s);return k&&(u?s[Rl]=_:delete s[Rl]),T}var go=Hs?function(s){return s==null?[]:(s=Ft(s),tl(Hs(s),function(u){return ru.call(s,u)}))}:Ro,xu=Hs?function(s){for(var u=[];s;)nl(u,go(s)),s=Pa(s);return u}:Ro,kn=Pn;(Ws&&kn(new Ws(new ArrayBuffer(1)))!=Kt||Dr&&kn(new Dr)!=Ct||qs&&kn(qs.resolve())!=Wt||nr&&kn(new nr)!=nt||Vr&&kn(new Vr)!=At)&&(kn=function(s){var u=Pn(s),_=u==sn?s.constructor:t,k=_?Ul(_):"";if(k)switch(k){case sm:return Kt;case om:return Ct;case um:return Wt;case fm:return nt;case cm:return At}return u});function I1(s,u,_){for(var k=-1,T=_.length;++k<T;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=wn(u,s+q);break;case"takeRight":s=fn(s,u-q);break}}return{start:s,end:u}}function N1(s){var u=s.match(Ri);return u?u[1].split(di):[]}function ef(s,u,_){u=sl(u,s);for(var k=-1,T=u.length,F=!1;++k<T;){var q=mi(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=T?F:(T=s==null?0:s.length,!!T&&$a(T)&&Hi(q,T)&&(rt(s)||Bl(s)))}function T1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Et.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!zr(s)?lr(Pa(s)):{}}function L1(s,u,_){var k=s.constructor;switch(u){case ti:return ao(s);case dt:case ze:return new k(+s);case Kt:return d1(s,_);case Cn:case Si:case Ci:case bn:case yi:case Pi:case Ii:case Ni:case Ti:return Fu(s,_);case Ct:return new k;case rn:case Qt:return new k(s);case at:return h1(s);case nt:return new k;case Zt:return g1(s)}}function A1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(ci,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function A1(s){return lt(s)||Fl(s)||!!(ru&&s&&s[ru])}function Ui(s,u){var _=typeof s;return u=u??fe,!!u&&(_=="number"||_!="symbol"&&Ji.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?Rn(_)&&Ui(u,_.length):k=="string"&&u in _)?li(_[u],s):!1}function go(s,u){if(lt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Hn(s)?!0:Cl.test(s)||!Sl.test(s)||u!=null&&s in Mt(u)}function E1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function _o(s){var u=Wa(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=fo(_);return!!k&&s===k[0]}function R1(s){return!!tu&&tu in s}var D1=ma?Bi:Ro;function Br(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||er;return s===_}function tf(s){return s===s&&!Kt(s)}function nf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Mt(_))}}function V1(s){var u=Ja(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function O1(s,u){var _=s[1],k=u[1],T=_|k,F=T<(C|y|H),q=k==H&&_==N||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==N;if(!(F||q))return s;k&C&&(s[2]=u[2],T|=_&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Uu(x,J,u[4]):J,s[4]=x?tl(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Bu(x,J,u[6]):J,s[6]=x?tl(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&H&&(s[8]=s[8]==null?u[8]:vn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=T,s}function M1(s){var u=[];if(s!=null)for(var _ in Mt(s))u.push(_);return u}function F1(s){return va.call(s)}function lf(s,u,_){return u=un(u===t?s.length-1:u,0),function(){for(var k=arguments,T=-1,F=un(k.length-u,0),q=oe(F);++T<F;)q[T]=k[u+T];T=-1;for(var J=oe(u+1);++T<u;)J[T]=k[T];return J[u]=_(q),dn(s,this,J)}}function rf(s,u){return u.length<2?s:Vl(s,Qn(u,0,-1))}function U1(s,u){for(var _=s.length,k=vn(u.length,_),T=En(s);k--;){var F=u[k];s[k]=Ui(F,_)?T[F]:t}return s}function po(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var af=of(Tu),Hr=xp||function(s,u){return Be.setTimeout(s,u)},mo=of(s1);function sf(s,u,_){var k=u+"";return mo(s,L1(k,B1(I1(k),_)))}function of(s){var u=0,_=0;return function(){var k=im(),T=ce-(k-_);if(_=k,T>0){if(++u>=X)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,T=k-1;for(u=u===t?k:u;++_<u;){var F=$s(_,T),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var uf=V1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(yl,function(_,k,T,F){u.push(T?F.replace(Xe,"$1"):k||_)}),u});function _i(s){if(typeof s=="string"||Hn(s))return s;var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function Ml(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function B1(s,u){return Ot(ze,function(_){var k="_."+_[0];u&_[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function ff(s){if(s instanceof _t)return s.clone();var u=new Jn(s.__wrapped__,s.__chain__);return u.__actions__=En(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function H1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=un(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var T=0,F=0,q=oe(Pa(k/u));T<k;)q[F++]=Qn(s,T,T+=u);return q}function W1(s){for(var u=-1,_=s==null?0:s.length,k=0,T=[];++u<_;){var F=s[u];F&&(T[k++]=F)}return T}function q1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(lt(_)?En(_):[_],_n(u,1))}var z1=ut(function(s,u){return xt(s)?Vr(s,_n(u,1,xt,!0)):[]}),G1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),Ye(_,2)):[]}),K1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),t,_):[]});function j1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Qn(s,u<0?0:u,k)):[]}function J1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,0,u<0?0:u)):[]}function Y1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0,!0):[]}function Q1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0):[]}function Z1(s,u,_,k){var T=s==null?0:s.length;return T?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,k=T),qm(s,u,_,k)):[]}function cf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=_==null?0:st(_);return T<0&&(T=un(k+T,0)),ga(s,Ye(u,3),T)}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=k-1;return _!==t&&(T=st(_),T=_<0?un(k+T,0):vn(T,k-1)),ga(s,Ye(u,3),T,!0)}function hf(s){var u=s==null?0:s.length;return u?_n(s,1):[]}function X1(s){var u=s==null?0:s.length;return u?_n(s,ae):[]}function $1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),_n(s,u)):[]}function x1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var T=s[u];k[T[0]]=T[1]}return k}function gf(s){return s&&s.length?s[0]:t}function eb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=_==null?0:st(_);return T<0&&(T=un(k+T,0)),Zl(s,u,T)}function tb(s){var u=s==null?0:s.length;return u?Qn(s,0,-1):[]}var nb=ut(function(s){var u=zt(s,io);return u.length&&u[0]===s[0]?Js(u):[]}),ib=ut(function(s){var u=Zn(s),_=zt(s,io);return u===Zn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Js(_,Ye(u,2)):[]}),lb=ut(function(s){var u=Zn(s),_=zt(s,io);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Js(_,t,u):[]});function rb(s,u){return s==null?"":tm.call(s,u)}function Zn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ab(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=k;return _!==t&&(T=st(_),T=T<0?un(k+T,0):vn(T,k-1)),u===u?Bp(s,u,T):ga(s,Jo,T,!0)}function sb(s,u){return s&&s.length?yu(s,st(u)):t}var ob=ut(_f);function _f(s,u){return s&&s.length&&u&&u.length?Xs(s,u):s}function ub(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,Ye(_,2)):s}function fb(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,t,_):s}var cb=Fi(function(s,u){var _=s==null?0:s.length,k=zs(s,u);return Nu(s,zt(u,function(T){return Ui(T,_)?+T:T}).sort(Fu)),k});function db(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,T=[],F=s.length;for(u=Ye(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),T.push(k))}return Nu(s,T),_}function bo(s){return s==null?s:rm.call(s)}function hb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Qn(s,u,_)):[]}function gb(s,u){return Va(s,u)}function _b(s,u,_){return eo(s,u,Ye(_,2))}function pb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u);if(k<_&&li(s[k],u))return k}return-1}function mb(s,u){return Va(s,u,!0)}function bb(s,u,_){return eo(s,u,Ye(_,2),!0)}function vb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u,!0)-1;if(li(s[k],u))return k}return-1}function wb(s){return s&&s.length?Lu(s):[]}function kb(s,u){return s&&s.length?Lu(s,Ye(u,2)):[]}function Sb(s){var u=s==null?0:s.length;return u?Qn(s,1,u):[]}function Cb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Qn(s,0,u<0?0:u)):[]}function yb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,u<0?0:u,k)):[]}function Pb(s,u){return s&&s.length?Oa(s,Ye(u,3),!1,!0):[]}function Ib(s,u){return s&&s.length?Oa(s,Ye(u,3)):[]}var Nb=ut(function(s){return ll(_n(s,1,xt,!0))}),Tb=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),ll(_n(s,1,xt,!0),Ye(u,2))}),Lb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,ll(_n(s,1,xt,!0),t,u)});function Ab(s){return s&&s.length?ll(s):[]}function Eb(s,u){return s&&s.length?ll(s,Ye(u,2)):[]}function Rb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function vo(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(xt(_))return u=un(_.length,u),!0}),Os(u,function(_){return zt(s,Rs(_))})}function pf(s,u){if(!(s&&s.length))return[];var _=vo(s);return u==null?_:zt(_,function(k){return dn(u,t,k)})}var Db=ut(function(s,u){return xt(s)?Vr(s,u):[]}),Vb=ut(function(s){return no(xi(s,xt))}),Ob=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),no(xi(s,xt),Ye(u,2))}),Mb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,no(xi(s,xt),t,u)}),Fb=ut(vo);function Ub(s,u){return Du(s||[],u||[],Dr)}function Bb(s,u){return Du(s||[],u||[],Fr)}var Hb=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,pf(s,_)});function mf(s){var u=M(s);return u.__chain__=!0,u}function Wb(s,u){return u(s),s}function Ga(s,u){return u(s)}var qb=Fi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,T=function(F){return zs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Ui(_)?this.thru(T):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ga,args:[T],thisArg:t}),new Jn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return mf(this)}function Gb(){return new Jn(this.value(),this.__chain__)}function Kb(){this.__values__===t&&(this.__values__=Ef(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function jb(){return this}function Jb(s){for(var u,_=this;_ instanceof La;){var k=ff(_);k.__index__=0,k.__values__=t,u?T.__wrapped__=k:u=k;var T=k;_=_.__wrapped__}return T.__wrapped__=s,u}function Yb(){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:Ga,args:[bo],thisArg:t}),new Jn(u,this.__chain__)}return this.thru(bo)}function Qb(){return Ru(this.__wrapped__,this.__actions__)}var Zb=Ma(function(s,u,_){At.call(s,_)?++s[_]:Oi(s,_,1)});function Xb(s,u,_){var k=lt(s)?da:Wm;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}function $b(s,u){var _=lt(s)?xi:_u;return _(s,Ye(u,3))}var xb=zu(cf),ev=zu(df);function tv(s,u){return _n(Ka(s,u),1)}function nv(s,u){return _n(Ka(s,u),ae)}function iv(s,u,_){return _=_===t?1:st(_),_n(Ka(s,u),_)}function bf(s,u){var _=lt(s)?Ot:il;return _(s,Ye(u,3))}function vf(s,u){var _=lt(s)?Kn:gu;return _(s,Ye(u,3))}var lv=Ma(function(s,u,_){At.call(s,_)?s[_].push(u):Oi(s,_,[u])});function rv(s,u,_,k){s=Rn(s)?s:or(s),_=_&&!k?st(_):0;var T=s.length;return _<0&&(_=un(T+_,0)),Za(s)?_<=T&&s.indexOf(u,_)>-1:!!T&&Zl(s,u,_)>-1}var av=ut(function(s,u,_){var k=-1,T=typeof u=="function",F=Rn(s)?oe(s.length):[];return il(s,function(q){F[++k]=T?dn(u,q,_):Or(q,u,_)}),F}),sv=Ma(function(s,u,_){Oi(s,_,u)});function Ka(s,u){var _=lt(s)?zt:ku;return _(s,Ye(u,3))}function ov(s,u,_,k){return s==null?[]:(lt(u)||(u=u==null?[]:[u]),_=k?t:_,lt(_)||(_=_==null?[]:[_]),Pu(s,u,_))}var uv=Ma(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function fv(s,u,_){var k=lt(s)?As:Qo,T=arguments.length<3;return k(s,Ye(u,4),_,T,il)}function cv(s,u,_){var k=lt(s)?Cp:Qo,T=arguments.length<3;return k(s,Ye(u,4),_,T,gu)}function dv(s,u){var _=lt(s)?xi:_u;return _(s,Ya(Ye(u,3)))}function hv(s){var u=lt(s)?fu:r1;return u(s)}function gv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=st(u);var k=lt(s)?Mm:a1;return k(s,u)}function _v(s){var u=lt(s)?Fm:o1;return u(s)}function pv(s){if(s==null)return 0;if(Rn(s))return Za(s)?$l(s):s.length;var u=wn(s);return u==St||u==tt?s.size:Qs(s).length}function mv(s,u,_){var k=lt(s)?Es:u1;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}var bv=ut(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]]),Pu(s,_n(u,1),[])}),ja=$p||function(){return Be.Date.now()};function vv(s,u){if(typeof u!="function")throw new jn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function wf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Mi(s,H,t,t,t,t,u)}function kf(s,u){var _;if(typeof u!="function")throw new jn(a);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var wo=ut(function(s,u,_){var k=C;if(_.length){var T=tl(_,ar(wo));k|=V}return Mi(s,k,u,_,T)}),Sf=ut(function(s,u,_){var k=C|y;if(_.length){var T=tl(_,ar(Sf));k|=V}return Mi(u,k,s,_,T)});function Cf(s,u,_){u=_?t:u;var k=Mi(s,N,t,t,t,t,t,u);return k.placeholder=Cf.placeholder,k}function yf(s,u,_){u=_?t:u;var k=Mi(s,I,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){var k,T,F,q,J,x,_e=0,pe=!1,ye=!1,De=!0;if(typeof s!="function")throw new jn(a);u=Xn(u)||0,Kt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?un(Xn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ke(en){var ri=k,Wi=T;return k=T=t,_e=en,q=s.apply(Wi,ri),q}function Qe(en){return _e=en,J=Hr(gt,u),pe?Ke(en):q}function ot(en){var ri=en-x,Wi=en-_e,Gf=u-ri;return ye?vn(Gf,F-Wi):Gf}function Ze(en){var ri=en-x,Wi=en-_e;return x===t||ri>=u||ri<0||ye&&Wi>=F}function gt(){var en=ja();if(Ze(en))return pt(en);J=Hr(gt,ot(en))}function pt(en){return J=t,De&&k?Ke(en):(k=T=t,q)}function Wn(){J!==t&&Vu(J),_e=0,k=x=T=J=t}function In(){return J===t?q:pt(ja())}function qn(){var en=ja(),ri=Ze(en);if(k=arguments,T=this,x=en,ri){if(J===t)return Qe(x);if(ye)return Vu(J),J=Hr(gt,u),Ke(x)}return J===t&&(J=Hr(gt,u)),q}return qn.cancel=Wn,qn.flush=In,qn}var wv=ut(function(s,u){return hu(s,1,u)}),kv=ut(function(s,u,_){return hu(s,Xn(u)||0,_)});function Sv(s){return Mi(s,O)}function Ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new jn(a);var _=function(){var k=arguments,T=u?u.apply(this,k):k[0],F=_.cache;if(F.has(T))return F.get(T);var q=s.apply(this,k);return _.cache=F.set(T,q)||F,q};return _.cache=new(Ja.Cache||Vi),_}Ja.Cache=Vi;function Ya(s){if(typeof s!="function")throw new jn(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 Cv(s){return kf(2,s)}var yv=f1(function(s,u){u=u.length==1&&lt(u[0])?zt(u[0],Un(Ye())):zt(_n(u,1),Un(Ye()));var _=u.length;return ut(function(k){for(var T=-1,F=vn(k.length,_);++T<F;)k[T]=u[T].call(this,k[T]);return dn(s,this,k)})}),ko=ut(function(s,u){var _=tl(u,ar(ko));return Mi(s,V,t,u,_)}),If=ut(function(s,u){var _=tl(u,ar(If));return Mi(s,E,t,u,_)}),Pv=Fi(function(s,u){return Mi(s,D,t,t,t,u)});function Iv(s,u){if(typeof s!="function")throw new jn(a);return u=u===t?u:st(u),ut(s,u)}function Nv(s,u){if(typeof s!="function")throw new jn(a);return u=u==null?0:un(st(u),0),ut(function(_){var k=_[u],T=al(_,0,u);return k&&el(T,k),dn(s,this,T)})}function Tv(s,u,_){var k=!0,T=!0;if(typeof s!="function")throw new jn(a);return Kt(_)&&(k="leading"in _?!!_.leading:k,T="trailing"in _?!!_.trailing:T),Pf(s,u,{leading:k,maxWait:u,trailing:T})}function Lv(s){return wf(s,1)}function Av(s,u){return ko(lo(u),s)}function Ev(){if(!arguments.length)return[];var s=arguments[0];return lt(s)?s:[s]}function Rv(s){return Yn(s,b)}function Dv(s,u){return u=typeof u=="function"?u:t,Yn(s,b,u)}function Vv(s){return Yn(s,g|b)}function Ov(s,u){return u=typeof u=="function"?u:t,Yn(s,g|b,u)}function Mv(s,u){return u==null||du(s,u,hn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Fv=Ha(js),Uv=Ha(function(s,u){return s>=u}),Fl=bu(function(){return arguments}())?bu:function(s){return $t(s)&&At.call(s,"callee")&&!lu.call(s,"callee")},lt=oe.isArray,Bv=$i?Un($i):Jm;function Rn(s){return s!=null&&Qa(s.length)&&!Bi(s)}function xt(s){return $t(s)&&Rn(s)}function Hv(s){return s===!0||s===!1||$t(s)&&yn(s)==ct}var sl=em||Ro,Wv=Yl?Un(Yl):Ym;function qv(s){return $t(s)&&s.nodeType===1&&!Wr(s)}function zv(s){if(s==null)return!0;if(Rn(s)&&(lt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||sr(s)||Fl(s)))return!s.length;var u=wn(s);if(u==St||u==tt)return!s.size;if(Br(s))return!Qs(s).length;for(var _ in s)if(At.call(s,_))return!1;return!0}function Gv(s,u){return Mr(s,u)}function Kv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Mr(s,u,t,_):!!k}function So(s){if(!$t(s))return!1;var u=yn(s);return u==Ft||u==dt||typeof s.message=="string"&&typeof s.name=="string"&&!Wr(s)}function jv(s){return typeof s=="number"&&au(s)}function Bi(s){if(!Kt(s))return!1;var u=yn(s);return u==de||u==xe||u==Fe||u==Te}function Nf(s){return typeof s=="number"&&s==st(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=fe}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function $t(s){return s!=null&&typeof s=="object"}var Tf=Tl?Un(Tl):Zm;function Jv(s,u){return s===u||Ys(s,u,co(u))}function Yv(s,u,_){return _=typeof _=="function"?_:t,Ys(s,u,co(u),_)}function Qv(s){return Lf(s)&&s!=+s}function Zv(s){if(D1(s))throw new et(r);return vu(s)}function Xv(s){return s===null}function $v(s){return s==null}function Lf(s){return typeof s=="number"||$t(s)&&yn(s)==ln}function Wr(s){if(!$t(s)||yn(s)!=an)return!1;var u=Sa(s);if(u===null)return!0;var _=At.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ba.call(_)==Yp}var Co=Ts?Un(Ts):Xm;function xv(s){return Nf(s)&&s>=-fe&&s<=fe}var Af=Ql?Un(Ql):$m;function Za(s){return typeof s=="string"||!lt(s)&&$t(s)&&yn(s)==Yt}function Hn(s){return typeof s=="symbol"||$t(s)&&yn(s)==Qt}var sr=ca?Un(ca):xm;function e0(s){return s===t}function t0(s){return $t(s)&&wn(s)==Lt}function n0(s){return $t(s)&&yn(s)==gn}var i0=Ha(Zs),l0=Ha(function(s,u){return s<=u});function Ef(s){if(!s)return[];if(Rn(s))return Za(s)?ni(s):En(s);if(Tr&&s[Tr])return Mp(s[Tr]());var u=wn(s),_=u==St?Fs:u==tt?_a:or;return _(s)}function Hi(s){if(!s)return s===0?s:0;if(s=Xn(s),s===ae||s===-ae){var u=s<0?-1:1;return u*ne}return s===s?s:0}function st(s){var u=Hi(s),_=u%1;return u===u?_?u-_:u:0}function Rf(s){return s?Dl(st(s),0,Se):0}function Xn(s){if(typeof s=="number")return s;if(Hn(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=Zo(s);var _=Wt.test(s);return _||ci.test(s)?Pr(s.slice(2),_?2:8):bt.test(s)?se:+s}function Df(s){return gi(s,Dn(s))}function r0(s){return s?Dl(st(s),-fe,fe):s===0?s:0}function Nt(s){return s==null?"":Bn(s)}var a0=lr(function(s,u){if(Br(u)||Rn(u)){gi(u,hn(u),s);return}for(var _ in u)At.call(u,_)&&Dr(s,_,u[_])}),Vf=lr(function(s,u){gi(u,Dn(u),s)}),Xa=lr(function(s,u,_,k){gi(u,Dn(u),s,k)}),s0=lr(function(s,u,_,k){gi(u,hn(u),s,k)}),o0=Fi(zs);function u0(s,u){var _=ir(s);return u==null?_:cu(_,u)}var f0=ut(function(s,u){s=Mt(s);var _=-1,k=u.length,T=k>2?u[2]:t;for(T&&Pn(u[0],u[1],T)&&(k=1);++_<k;)for(var F=u[_],q=Dn(F),J=-1,x=q.length;++J<x;){var _e=q[J],pe=s[_e];(pe===t||li(pe,er[_e])&&!At.call(s,_e))&&(s[_e]=F[_e])}return s}),c0=ut(function(s){return s.push(t,Zu),dn(Of,t,s)});function d0(s,u){return jo(s,Ye(u,3),hi)}function h0(s,u){return jo(s,Ye(u,3),Ks)}function g0(s,u){return s==null?s:Gs(s,Ye(u,3),Dn)}function _0(s,u){return s==null?s:pu(s,Ye(u,3),Dn)}function p0(s,u){return s&&hi(s,Ye(u,3))}function m0(s,u){return s&&Ks(s,Ye(u,3))}function b0(s){return s==null?[]:Ra(s,hn(s))}function v0(s){return s==null?[]:Ra(s,Dn(s))}function yo(s,u,_){var k=s==null?t:Vl(s,u);return k===t?_:k}function w0(s,u){return s!=null&&xu(s,u,zm)}function Po(s,u){return s!=null&&xu(s,u,Gm)}var k0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=_},No(Vn)),S0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),At.call(s,u)?s[u].push(_):s[u]=[_]},Ye),C0=ut(Or);function hn(s){return Rn(s)?uu(s):Qs(s)}function Dn(s){return Rn(s)?uu(s,!0):e1(s)}function y0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,T,F){Oi(_,u(k,T,F),k)}),_}function P0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,T,F){Oi(_,T,u(k,T,F))}),_}var I0=lr(function(s,u,_){Da(s,u,_)}),Of=lr(function(s,u,_,k){Da(s,u,_,k)}),N0=Fi(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}),gi(s,uo(s),_),k&&(_=Yn(_,g|p|b,k1));for(var T=u.length;T--;)to(_,u[T]);return _});function T0(s,u){return Mf(s,Ya(Ye(u)))}var L0=Fi(function(s,u){return s==null?{}:n1(s,u)});function Mf(s,u){if(s==null)return{};var _=zt(uo(s),function(k){return[k]});return u=Ye(u),Iu(s,_,function(k,T){return u(k,T[0])})}function A0(s,u,_){u=rl(u,s);var k=-1,T=u.length;for(T||(T=1,s=t);++k<T;){var F=s==null?t:s[_i(u[k])];F===t&&(k=T,F=_),s=Bi(F)?F.call(s):F}return s}function E0(s,u,_){return s==null?s:Fr(s,u,_)}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Fr(s,u,_,k)}var Ff=Yu(hn),Uf=Yu(Dn);function D0(s,u,_){var k=lt(s),T=k||sl(s)||sr(s);if(u=Ye(u,4),_==null){var F=s&&s.constructor;T?_=k?new F:[]:Kt(s)?_=Bi(F)?ir(Sa(s)):{}:_={}}return(T?Ot:hi)(s,function(q,J,x){return u(_,q,J,x)}),_}function V0(s,u){return s==null?!0:to(s,u)}function O0(s,u,_){return s==null?s:Eu(s,u,lo(_))}function M0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Eu(s,u,lo(_),k)}function or(s){return s==null?[]:Ms(s,hn(s))}function F0(s){return s==null?[]:Ms(s,Dn(s))}function U0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=Xn(_),_=_===_?_:0),u!==t&&(u=Xn(u),u=u===u?u:0),Dl(Xn(s),u,_)}function B0(s,u,_){return u=Hi(u),_===t?(_=u,u=0):_=Hi(_),s=Xn(s),Km(s,u,_)}function H0(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=Hi(s),u===t?(u=s,s=0):u=Hi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var T=su();return vn(s+T*(u-s+Xi("1e-"+((T+"").length-1))),u)}return $s(s,u)}var W0=rr(function(s,u,_){return u=u.toLowerCase(),s+(_?Bf(u):u)});function Bf(s){return Io(Nt(s).toLowerCase())}function Hf(s){return s=Nt(s),s&&s.replace(Il,Ep).replace(Is,"")}function q0(s,u,_){s=Nt(s),u=Bn(u);var k=s.length;_=_===t?k:Dl(st(_),0,k);var T=_;return _-=u.length,_>=0&&s.slice(_,T)==u}function z0(s){return s=Nt(s),s&&oi.test(s)?s.replace(Gi,Rp):s}function G0(s){return s=Nt(s),s&&Pl.test(s)?s.replace(Ti,"\\$&"):s}var K0=rr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),j0=rr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),J0=qu("toLowerCase");function Y0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;if(!u||k>=u)return s;var T=(u-k)/2;return Ba(Ia(T),_)+s+Ba(Pa(T),_)}function Q0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?s+Ba(u-k,_):s}function Z0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?Ba(u-k,_)+s:s}function X0(s,u,_){return _||u==null?u=0:u&&(u=+u),lm(Nt(s).replace(ei,""),u||0)}function $0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=st(u),xs(Nt(s),u)}function x0(){var s=arguments,u=Nt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var ew=rr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function tw(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Nt(s),s&&(typeof u=="string"||u!=null&&!Co(u))&&(u=Bn(u),!u&&Xl(s))?al(ni(s),0,_):s.split(u,_)):[]}var nw=rr(function(s,u,_){return s+(_?" ":"")+Io(u)});function iw(s,u,_){return s=Nt(s),_=_==null?0:Dl(st(_),0,s.length),u=Bn(u),s.slice(_,_+u.length)==u}function lw(s,u,_){var k=M.templateSettings;_&&Pn(s,u,_)&&(u=t),s=Nt(s),u=Xa({},u,k,Qu);var T=Xa({},u.imports,k.imports,Qu),F=hn(T),q=Ms(T,F),J,x,_e=0,pe=u.interpolate||di,ye="__p += '",De=Us((u.escape||di).source+"|"+pe.source+"|"+(pe===ji?nt:di).source+"|"+(u.evaluate||di).source+"|$","g"),Ke="//# sourceURL="+(At.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
36
- `;s.replace(De,function(Ze,gt,pt,Wn,In,qn){return pt||(pt=Wn),ye+=s.slice(_e,qn).replace(Nl,Dp),gt&&(J=!0,ye+=`' +
37
- __e(`+gt+`) +
38
- '`),In&&(x=!0,ye+=`';
39
- `+In+`;
40
- __p += '`),pt&&(ye+=`' +
41
- ((__t = (`+pt+`)) == null ? '' : __t) +
42
- '`),_e=qn+Ze.length,Ze}),ye+=`';
43
- `;var Qe=At.call(u,"variable")&&u.variable;if(!Qe)ye=`with (obj) {
35
+ `)}function E1(s){return rt(s)||Bl(s)||!!(au&&s&&s[au])}function Hi(s,u){var _=typeof s;return u=u??fe,!!u&&(_=="number"||_!="symbol"&&Qi.test(s))&&s>-1&&s%1==0&&s<u}function In(s,u,_){if(!jt(_))return!1;var k=typeof u;return(k=="number"?Dn(_)&&Hi(u,_.length):k=="string"&&u in _)?ai(_[u],s):!1}function _o(s,u){if(rt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||qn(s)?!0:Pl.test(s)||!yl.test(s)||u!=null&&s in Ft(u)}function R1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function po(s){var u=Ga(s),_=M[u];if(typeof _!="function"||!(u in pt.prototype))return!1;if(s===_)return!0;var k=co(_);return!!k&&s===k[0]}function D1(s){return!!nu&&nu in s}var V1=wa?Wi:Do;function zr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||tr;return s===_}function nf(s){return s===s&&!jt(s)}function lf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Ft(_))}}function O1(s){var u=Za(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function M1(s,u){var _=s[1],k=u[1],T=_|k,F=T<(C|y|H),q=k==H&&_==N||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==N;if(!(F||q))return s;k&C&&(s[2]=u[2],T|=_&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Bu(x,J,u[4]):J,s[4]=x?il(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Hu(x,J,u[6]):J,s[6]=x?il(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&H&&(s[8]=s[8]==null?u[8]:wn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=T,s}function F1(s){var u=[];if(s!=null)for(var _ in Ft(s))u.push(_);return u}function U1(s){return Sa.call(s)}function rf(s,u,_){return u=fn(u===t?s.length-1:u,0),function(){for(var k=arguments,T=-1,F=fn(k.length-u,0),q=oe(F);++T<F;)q[T]=k[u+T];T=-1;for(var J=oe(u+1);++T<u;)J[T]=k[T];return J[u]=_(q),hn(s,this,J)}}function af(s,u){return u.length<2?s:Ml(s,Xn(u,0,-1))}function B1(s,u){for(var _=s.length,k=wn(u.length,_),T=Rn(s);k--;){var F=u[k];s[k]=Hi(F,_)?T[F]:t}return s}function mo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var sf=uf(Lu),Gr=em||function(s,u){return He.setTimeout(s,u)},bo=uf(o1);function of(s,u,_){var k=u+"";return bo(s,A1(k,H1(N1(k),_)))}function uf(s){var u=0,_=0;return function(){var k=lm(),T=ce-(k-_);if(_=k,T>0){if(++u>=Z)return arguments[0]}else u=0;return s.apply(t,arguments)}}function ja(s,u){var _=-1,k=s.length,T=k-1;for(u=u===t?k:u;++_<u;){var F=xs(_,T),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var ff=O1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Il,function(_,k,T,F){u.push(T?F.replace($e,"$1"):k||_)}),u});function mi(s){if(typeof s=="string"||qn(s))return s;var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function Ul(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function H1(s,u){return Mt(Ge,function(_){var k="_."+_[0];u&_[1]&&!pa(s,k)&&s.push(k)}),s.sort()}function cf(s){if(s instanceof pt)return s.clone();var u=new Qn(s.__wrapped__,s.__chain__);return u.__actions__=Rn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function W1(s,u,_){(_?In(s,u,_):u===t)?u=1:u=fn(ot(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var T=0,F=0,q=oe(Ta(k/u));T<k;)q[F++]=Xn(s,T,T+=u);return q}function q1(s){for(var u=-1,_=s==null?0:s.length,k=0,T=[];++u<_;){var F=s[u];F&&(T[k++]=F)}return T}function z1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return nl(rt(_)?Rn(_):[_],pn(u,1))}var G1=ft(function(s,u){return en(s)?Ur(s,pn(u,1,en,!0)):[]}),K1=ft(function(s,u){var _=$n(u);return en(_)&&(_=t),en(s)?Ur(s,pn(u,1,en,!0),Qe(_,2)):[]}),j1=ft(function(s,u){var _=$n(u);return en(_)&&(_=t),en(s)?Ur(s,pn(u,1,en,!0),t,_):[]});function J1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),Xn(s,u<0?0:u,k)):[]}function Y1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),u=k-u,Xn(s,0,u<0?0:u)):[]}function Q1(s,u){return s&&s.length?Ua(s,Qe(u,3),!0,!0):[]}function Z1(s,u){return s&&s.length?Ua(s,Qe(u,3),!0):[]}function X1(s,u,_,k){var T=s==null?0:s.length;return T?(_&&typeof _!="number"&&In(s,u,_)&&(_=0,k=T),zm(s,u,_,k)):[]}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=_==null?0:ot(_);return T<0&&(T=fn(k+T,0)),ma(s,Qe(u,3),T)}function hf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=k-1;return _!==t&&(T=ot(_),T=_<0?fn(k+T,0):wn(T,k-1)),ma(s,Qe(u,3),T,!0)}function gf(s){var u=s==null?0:s.length;return u?pn(s,1):[]}function $1(s){var u=s==null?0:s.length;return u?pn(s,ae):[]}function x1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ot(u),pn(s,u)):[]}function eb(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var T=s[u];k[T[0]]=T[1]}return k}function _f(s){return s&&s.length?s[0]:t}function tb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=_==null?0:ot(_);return T<0&&(T=fn(k+T,0)),Xl(s,u,T)}function nb(s){var u=s==null?0:s.length;return u?Xn(s,0,-1):[]}var ib=ft(function(s){var u=Gt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),lb=ft(function(s){var u=$n(s),_=Gt(s,lo);return u===$n(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,Qe(u,2)):[]}),rb=ft(function(s){var u=$n(s),_=Gt(s,lo);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ys(_,t,u):[]});function ab(s,u){return s==null?"":nm.call(s,u)}function $n(s){var u=s==null?0:s.length;return u?s[u-1]:t}function sb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var T=k;return _!==t&&(T=ot(_),T=T<0?fn(k+T,0):wn(T,k-1)),u===u?Hp(s,u,T):ma(s,Yo,T,!0)}function ob(s,u){return s&&s.length?Pu(s,ot(u)):t}var ub=ft(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function fb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,Qe(_,2)):s}function cb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var db=Bi(function(s,u){var _=s==null?0:s.length,k=Gs(s,u);return Tu(s,Gt(u,function(T){return Hi(T,_)?+T:T}).sort(Uu)),k});function hb(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,T=[],F=s.length;for(u=Qe(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),T.push(k))}return Tu(s,T),_}function vo(s){return s==null?s:am.call(s)}function gb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&In(s,u,_)?(u=0,_=k):(u=u==null?0:ot(u),_=_===t?k:ot(_)),Xn(s,u,_)):[]}function _b(s,u){return Fa(s,u)}function pb(s,u,_){return to(s,u,Qe(_,2))}function mb(s,u){var _=s==null?0:s.length;if(_){var k=Fa(s,u);if(k<_&&ai(s[k],u))return k}return-1}function bb(s,u){return Fa(s,u,!0)}function vb(s,u,_){return to(s,u,Qe(_,2),!0)}function wb(s,u){var _=s==null?0:s.length;if(_){var k=Fa(s,u,!0)-1;if(ai(s[k],u))return k}return-1}function kb(s){return s&&s.length?Au(s):[]}function Sb(s,u){return s&&s.length?Au(s,Qe(u,2)):[]}function Cb(s){var u=s==null?0:s.length;return u?Xn(s,1,u):[]}function yb(s,u,_){return s&&s.length?(u=_||u===t?1:ot(u),Xn(s,0,u<0?0:u)):[]}function Pb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:ot(u),u=k-u,Xn(s,u<0?0:u,k)):[]}function Ib(s,u){return s&&s.length?Ua(s,Qe(u,3),!1,!0):[]}function Nb(s,u){return s&&s.length?Ua(s,Qe(u,3)):[]}var Tb=ft(function(s){return al(pn(s,1,en,!0))}),Lb=ft(function(s){var u=$n(s);return en(u)&&(u=t),al(pn(s,1,en,!0),Qe(u,2))}),Ab=ft(function(s){var u=$n(s);return u=typeof u=="function"?u:t,al(pn(s,1,en,!0),t,u)});function Eb(s){return s&&s.length?al(s):[]}function Rb(s,u){return s&&s.length?al(s,Qe(u,2)):[]}function Db(s,u){return u=typeof u=="function"?u:t,s&&s.length?al(s,t,u):[]}function wo(s){if(!(s&&s.length))return[];var u=0;return s=tl(s,function(_){if(en(_))return u=fn(_.length,u),!0}),Ms(u,function(_){return Gt(s,Ds(_))})}function mf(s,u){if(!(s&&s.length))return[];var _=wo(s);return u==null?_:Gt(_,function(k){return hn(u,t,k)})}var Vb=ft(function(s,u){return en(s)?Ur(s,u):[]}),Ob=ft(function(s){return io(tl(s,en))}),Mb=ft(function(s){var u=$n(s);return en(u)&&(u=t),io(tl(s,en),Qe(u,2))}),Fb=ft(function(s){var u=$n(s);return u=typeof u=="function"?u:t,io(tl(s,en),t,u)}),Ub=ft(wo);function Bb(s,u){return Vu(s||[],u||[],Fr)}function Hb(s,u){return Vu(s||[],u||[],Wr)}var Wb=ft(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,mf(s,_)});function bf(s){var u=M(s);return u.__chain__=!0,u}function qb(s,u){return u(s),s}function Ja(s,u){return u(s)}var zb=Bi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,T=function(F){return Gs(F,s)};return u>1||this.__actions__.length||!(k instanceof pt)||!Hi(_)?this.thru(T):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ja,args:[T],thisArg:t}),new Qn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Gb(){return bf(this)}function Kb(){return new Qn(this.value(),this.__chain__)}function jb(){this.__values__===t&&(this.__values__=Rf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Jb(){return this}function Yb(s){for(var u,_=this;_ instanceof Ra;){var k=cf(_);k.__index__=0,k.__values__=t,u?T.__wrapped__=k:u=k;var T=k;_=_.__wrapped__}return T.__wrapped__=s,u}function Qb(){var s=this.__wrapped__;if(s instanceof pt){var u=s;return this.__actions__.length&&(u=new pt(this)),u=u.reverse(),u.__actions__.push({func:Ja,args:[vo],thisArg:t}),new Qn(u,this.__chain__)}return this.thru(vo)}function Zb(){return Du(this.__wrapped__,this.__actions__)}var Xb=Ba(function(s,u,_){Et.call(s,_)?++s[_]:Fi(s,_,1)});function $b(s,u,_){var k=rt(s)?_a:qm;return _&&In(s,u,_)&&(u=t),k(s,Qe(u,3))}function xb(s,u){var _=rt(s)?tl:pu;return _(s,Qe(u,3))}var ev=Gu(df),tv=Gu(hf);function nv(s,u){return pn(Ya(s,u),1)}function iv(s,u){return pn(Ya(s,u),ae)}function lv(s,u,_){return _=_===t?1:ot(_),pn(Ya(s,u),_)}function vf(s,u){var _=rt(s)?Mt:rl;return _(s,Qe(u,3))}function wf(s,u){var _=rt(s)?Jn:_u;return _(s,Qe(u,3))}var rv=Ba(function(s,u,_){Et.call(s,_)?s[_].push(u):Fi(s,_,[u])});function av(s,u,_,k){s=Dn(s)?s:ur(s),_=_&&!k?ot(_):0;var T=s.length;return _<0&&(_=fn(T+_,0)),xa(s)?_<=T&&s.indexOf(u,_)>-1:!!T&&Xl(s,u,_)>-1}var sv=ft(function(s,u,_){var k=-1,T=typeof u=="function",F=Dn(s)?oe(s.length):[];return rl(s,function(q){F[++k]=T?hn(u,q,_):Br(q,u,_)}),F}),ov=Ba(function(s,u,_){Fi(s,_,u)});function Ya(s,u){var _=rt(s)?Gt:Su;return _(s,Qe(u,3))}function uv(s,u,_,k){return s==null?[]:(rt(u)||(u=u==null?[]:[u]),_=k?t:_,rt(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var fv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function cv(s,u,_){var k=rt(s)?Es:Zo,T=arguments.length<3;return k(s,Qe(u,4),_,T,rl)}function dv(s,u,_){var k=rt(s)?yp:Zo,T=arguments.length<3;return k(s,Qe(u,4),_,T,_u)}function hv(s,u){var _=rt(s)?tl:pu;return _(s,Xa(Qe(u,3)))}function gv(s){var u=rt(s)?cu:a1;return u(s)}function _v(s,u,_){(_?In(s,u,_):u===t)?u=1:u=ot(u);var k=rt(s)?Fm:s1;return k(s,u)}function pv(s){var u=rt(s)?Um:u1;return u(s)}function mv(s){if(s==null)return 0;if(Dn(s))return xa(s)?xl(s):s.length;var u=kn(s);return u==Ct||u==nt?s.size:Zs(s).length}function bv(s,u,_){var k=rt(s)?Rs:f1;return _&&In(s,u,_)&&(u=t),k(s,Qe(u,3))}var vv=ft(function(s,u){if(s==null)return[];var _=u.length;return _>1&&In(s,u[0],u[1])?u=[]:_>2&&In(u[0],u[1],u[2])&&(u=[u[0]]),Iu(s,pn(u,1),[])}),Qa=xp||function(){return He.Date.now()};function wv(s,u){if(typeof u!="function")throw new Yn(a);return s=ot(s),function(){if(--s<1)return u.apply(this,arguments)}}function kf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Ui(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new Yn(a);return s=ot(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=ft(function(s,u,_){var k=C;if(_.length){var T=il(_,sr(ko));k|=V}return Ui(s,k,u,_,T)}),Cf=ft(function(s,u,_){var k=C|y;if(_.length){var T=il(_,sr(Cf));k|=V}return Ui(u,k,s,_,T)});function yf(s,u,_){u=_?t:u;var k=Ui(s,N,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){u=_?t:u;var k=Ui(s,I,t,t,t,t,t,u);return k.placeholder=Pf.placeholder,k}function If(s,u,_){var k,T,F,q,J,x,_e=0,pe=!1,ye=!1,Ve=!0;if(typeof s!="function")throw new Yn(a);u=xn(u)||0,jt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?fn(xn(_.maxWait)||0,u):F,Ve="trailing"in _?!!_.trailing:Ve);function je(tn){var si=k,zi=T;return k=T=t,_e=tn,q=s.apply(zi,si),q}function Ze(tn){return _e=tn,J=Gr(_t,u),pe?je(tn):q}function ut(tn){var si=tn-x,zi=tn-_e,Kf=u-si;return ye?wn(Kf,F-zi):Kf}function Xe(tn){var si=tn-x,zi=tn-_e;return x===t||si>=u||si<0||ye&&zi>=F}function _t(){var tn=Qa();if(Xe(tn))return mt(tn);J=Gr(_t,ut(tn))}function mt(tn){return J=t,Ve&&k?je(tn):(k=T=t,q)}function zn(){J!==t&&Ou(J),_e=0,k=x=T=J=t}function Nn(){return J===t?q:mt(Qa())}function Gn(){var tn=Qa(),si=Xe(tn);if(k=arguments,T=this,x=tn,si){if(J===t)return Ze(x);if(ye)return Ou(J),J=Gr(_t,u),je(x)}return J===t&&(J=Gr(_t,u)),q}return Gn.cancel=zn,Gn.flush=Nn,Gn}var kv=ft(function(s,u){return gu(s,1,u)}),Sv=ft(function(s,u,_){return gu(s,xn(u)||0,_)});function Cv(s){return Ui(s,O)}function Za(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Yn(a);var _=function(){var k=arguments,T=u?u.apply(this,k):k[0],F=_.cache;if(F.has(T))return F.get(T);var q=s.apply(this,k);return _.cache=F.set(T,q)||F,q};return _.cache=new(Za.Cache||Mi),_}Za.Cache=Mi;function Xa(s){if(typeof s!="function")throw new Yn(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 yv(s){return Sf(2,s)}var Pv=c1(function(s,u){u=u.length==1&&rt(u[0])?Gt(u[0],Hn(Qe())):Gt(pn(u,1),Hn(Qe()));var _=u.length;return ft(function(k){for(var T=-1,F=wn(k.length,_);++T<F;)k[T]=u[T].call(this,k[T]);return hn(s,this,k)})}),So=ft(function(s,u){var _=il(u,sr(So));return Ui(s,V,t,u,_)}),Nf=ft(function(s,u){var _=il(u,sr(Nf));return Ui(s,L,t,u,_)}),Iv=Bi(function(s,u){return Ui(s,D,t,t,t,u)});function Nv(s,u){if(typeof s!="function")throw new Yn(a);return u=u===t?u:ot(u),ft(s,u)}function Tv(s,u){if(typeof s!="function")throw new Yn(a);return u=u==null?0:fn(ot(u),0),ft(function(_){var k=_[u],T=ol(_,0,u);return k&&nl(T,k),hn(s,this,T)})}function Lv(s,u,_){var k=!0,T=!0;if(typeof s!="function")throw new Yn(a);return jt(_)&&(k="leading"in _?!!_.leading:k,T="trailing"in _?!!_.trailing:T),If(s,u,{leading:k,maxWait:u,trailing:T})}function Av(s){return kf(s,1)}function Ev(s,u){return So(ro(u),s)}function Rv(){if(!arguments.length)return[];var s=arguments[0];return rt(s)?s:[s]}function Dv(s){return Zn(s,b)}function Vv(s,u){return u=typeof u=="function"?u:t,Zn(s,b,u)}function Ov(s){return Zn(s,g|b)}function Mv(s,u){return u=typeof u=="function"?u:t,Zn(s,g|b,u)}function Fv(s,u){return u==null||hu(s,u,gn(u))}function ai(s,u){return s===u||s!==s&&u!==u}var Uv=za(Js),Bv=za(function(s,u){return s>=u}),Bl=vu(function(){return arguments}())?vu:function(s){return xt(s)&&Et.call(s,"callee")&&!ru.call(s,"callee")},rt=oe.isArray,Hv=el?Hn(el):Ym;function Dn(s){return s!=null&&$a(s.length)&&!Wi(s)}function en(s){return xt(s)&&Dn(s)}function Wv(s){return s===!0||s===!1||xt(s)&&Pn(s)==dt}var ul=tm||Do,qv=Ql?Hn(Ql):Qm;function zv(s){return xt(s)&&s.nodeType===1&&!Kr(s)}function Gv(s){if(s==null)return!0;if(Dn(s)&&(rt(s)||typeof s=="string"||typeof s.splice=="function"||ul(s)||or(s)||Bl(s)))return!s.length;var u=kn(s);if(u==Ct||u==nt)return!s.size;if(zr(s))return!Zs(s).length;for(var _ in s)if(Et.call(s,_))return!1;return!0}function Kv(s,u){return Hr(s,u)}function jv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Hr(s,u,t,_):!!k}function Co(s){if(!xt(s))return!1;var u=Pn(s);return u==Ut||u==ht||typeof s.message=="string"&&typeof s.name=="string"&&!Kr(s)}function Jv(s){return typeof s=="number"&&su(s)}function Wi(s){if(!jt(s))return!1;var u=Pn(s);return u==de||u==et||u==Ue||u==Te}function Tf(s){return typeof s=="number"&&s==ot(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=fe}function jt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function xt(s){return s!=null&&typeof s=="object"}var Lf=Al?Hn(Al):Xm;function Yv(s,u){return s===u||Qs(s,u,ho(u))}function Qv(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function Zv(s){return Af(s)&&s!=+s}function Xv(s){if(V1(s))throw new tt(r);return wu(s)}function $v(s){return s===null}function xv(s){return s==null}function Af(s){return typeof s=="number"||xt(s)&&Pn(s)==rn}function Kr(s){if(!xt(s)||Pn(s)!=sn)return!1;var u=Pa(s);if(u===null)return!0;var _=Et.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==Qp}var yo=Ls?Hn(Ls):$m;function e0(s){return Tf(s)&&s>=-fe&&s<=fe}var Ef=Zl?Hn(Zl):xm;function xa(s){return typeof s=="string"||!rt(s)&&xt(s)&&Pn(s)==Qt}function qn(s){return typeof s=="symbol"||xt(s)&&Pn(s)==Zt}var or=ga?Hn(ga):e1;function t0(s){return s===t}function n0(s){return xt(s)&&kn(s)==At}function i0(s){return xt(s)&&Pn(s)==_n}var l0=za(Xs),r0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(Dn(s))return xa(s)?li(s):Rn(s);if(Rr&&s[Rr])return Fp(s[Rr]());var u=kn(s),_=u==Ct?Us:u==nt?ba:ur;return _(s)}function qi(s){if(!s)return s===0?s:0;if(s=xn(s),s===ae||s===-ae){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ot(s){var u=qi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Ol(ot(s),0,Se):0}function xn(s){if(typeof s=="number")return s;if(qn(s))return se;if(jt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=jt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Xo(s);var _=qt.test(s);return _||hi.test(s)?Lr(s.slice(2),_?2:8):vt.test(s)?se:+s}function Vf(s){return pi(s,Vn(s))}function a0(s){return s?Ol(ot(s),-fe,fe):s===0?s:0}function Tt(s){return s==null?"":Wn(s)}var s0=rr(function(s,u){if(zr(u)||Dn(u)){pi(u,gn(u),s);return}for(var _ in u)Et.call(u,_)&&Fr(s,_,u[_])}),Of=rr(function(s,u){pi(u,Vn(u),s)}),es=rr(function(s,u,_,k){pi(u,Vn(u),s,k)}),o0=rr(function(s,u,_,k){pi(u,gn(u),s,k)}),u0=Bi(Gs);function f0(s,u){var _=lr(s);return u==null?_:du(_,u)}var c0=ft(function(s,u){s=Ft(s);var _=-1,k=u.length,T=k>2?u[2]:t;for(T&&In(u[0],u[1],T)&&(k=1);++_<k;)for(var F=u[_],q=Vn(F),J=-1,x=q.length;++J<x;){var _e=q[J],pe=s[_e];(pe===t||ai(pe,tr[_e])&&!Et.call(s,_e))&&(s[_e]=F[_e])}return s}),d0=ft(function(s){return s.push(t,Xu),hn(Mf,t,s)});function h0(s,u){return Jo(s,Qe(u,3),_i)}function g0(s,u){return Jo(s,Qe(u,3),js)}function _0(s,u){return s==null?s:Ks(s,Qe(u,3),Vn)}function p0(s,u){return s==null?s:mu(s,Qe(u,3),Vn)}function m0(s,u){return s&&_i(s,Qe(u,3))}function b0(s,u){return s&&js(s,Qe(u,3))}function v0(s){return s==null?[]:Oa(s,gn(s))}function w0(s){return s==null?[]:Oa(s,Vn(s))}function Po(s,u,_){var k=s==null?t:Ml(s,u);return k===t?_:k}function k0(s,u){return s!=null&&ef(s,u,Gm)}function Io(s,u){return s!=null&&ef(s,u,Km)}var S0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(On)),C0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Et.call(s,u)?s[u].push(_):s[u]=[_]},Qe),y0=ft(Br);function gn(s){return Dn(s)?fu(s):Zs(s)}function Vn(s){return Dn(s)?fu(s,!0):t1(s)}function P0(s,u){var _={};return u=Qe(u,3),_i(s,function(k,T,F){Fi(_,u(k,T,F),k)}),_}function I0(s,u){var _={};return u=Qe(u,3),_i(s,function(k,T,F){Fi(_,T,u(k,T,F))}),_}var N0=rr(function(s,u,_){Ma(s,u,_)}),Mf=rr(function(s,u,_,k){Ma(s,u,_,k)}),T0=Bi(function(s,u){var _={};if(s==null)return _;var k=!1;u=Gt(u,function(F){return F=sl(F,s),k||(k=F.length>1),F}),pi(s,fo(s),_),k&&(_=Zn(_,g|p|b,S1));for(var T=u.length;T--;)no(_,u[T]);return _});function L0(s,u){return Ff(s,Xa(Qe(u)))}var A0=Bi(function(s,u){return s==null?{}:i1(s,u)});function Ff(s,u){if(s==null)return{};var _=Gt(fo(s),function(k){return[k]});return u=Qe(u),Nu(s,_,function(k,T){return u(k,T[0])})}function E0(s,u,_){u=sl(u,s);var k=-1,T=u.length;for(T||(T=1,s=t);++k<T;){var F=s==null?t:s[mi(u[k])];F===t&&(k=T,F=_),s=Wi(F)?F.call(s):F}return s}function R0(s,u,_){return s==null?s:Wr(s,u,_)}function D0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Wr(s,u,_,k)}var Uf=Qu(gn),Bf=Qu(Vn);function V0(s,u,_){var k=rt(s),T=k||ul(s)||or(s);if(u=Qe(u,4),_==null){var F=s&&s.constructor;T?_=k?new F:[]:jt(s)?_=Wi(F)?lr(Pa(s)):{}:_={}}return(T?Mt:_i)(s,function(q,J,x){return u(_,q,J,x)}),_}function O0(s,u){return s==null?!0:no(s,u)}function M0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function F0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Ru(s,u,ro(_),k)}function ur(s){return s==null?[]:Fs(s,gn(s))}function U0(s){return s==null?[]:Fs(s,Vn(s))}function B0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=xn(_),_=_===_?_:0),u!==t&&(u=xn(u),u=u===u?u:0),Ol(xn(s),u,_)}function H0(s,u,_){return u=qi(u),_===t?(_=u,u=0):_=qi(_),s=xn(s),jm(s,u,_)}function W0(s,u,_){if(_&&typeof _!="boolean"&&In(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=qi(s),u===t?(u=s,s=0):u=qi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var T=ou();return wn(s+T*(u-s+xi("1e-"+((T+"").length-1))),u)}return xs(s,u)}var q0=ar(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(Tt(s).toLowerCase())}function Wf(s){return s=Tt(s),s&&s.replace(Tl,Rp).replace(Ns,"")}function z0(s,u,_){s=Tt(s),u=Wn(u);var k=s.length;_=_===t?k:Ol(ot(_),0,k);var T=_;return _-=u.length,_>=0&&s.slice(_,T)==u}function G0(s){return s=Tt(s),s&&fi.test(s)?s.replace(ji,Dp):s}function K0(s){return s=Tt(s),s&&Nl.test(s)?s.replace(Ai,"\\$&"):s}var j0=ar(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),J0=ar(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),Y0=zu("toLowerCase");function Q0(s,u,_){s=Tt(s),u=ot(u);var k=u?xl(s):0;if(!u||k>=u)return s;var T=(u-k)/2;return qa(La(T),_)+s+qa(Ta(T),_)}function Z0(s,u,_){s=Tt(s),u=ot(u);var k=u?xl(s):0;return u&&k<u?s+qa(u-k,_):s}function X0(s,u,_){s=Tt(s),u=ot(u);var k=u?xl(s):0;return u&&k<u?qa(u-k,_)+s:s}function $0(s,u,_){return _||u==null?u=0:u&&(u=+u),rm(Tt(s).replace(ni,""),u||0)}function x0(s,u,_){return(_?In(s,u,_):u===t)?u=1:u=ot(u),eo(Tt(s),u)}function ew(){var s=arguments,u=Tt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var tw=ar(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function nw(s,u,_){return _&&typeof _!="number"&&In(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Tt(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=Wn(u),!u&&$l(s))?ol(li(s),0,_):s.split(u,_)):[]}var iw=ar(function(s,u,_){return s+(_?" ":"")+No(u)});function lw(s,u,_){return s=Tt(s),_=_==null?0:Ol(ot(_),0,s.length),u=Wn(u),s.slice(_,_+u.length)==u}function rw(s,u,_){var k=M.templateSettings;_&&In(s,u,_)&&(u=t),s=Tt(s),u=es({},u,k,Zu);var T=es({},u.imports,k.imports,Zu),F=gn(T),q=Fs(T,F),J,x,_e=0,pe=u.interpolate||gi,ye="__p += '",Ve=Bs((u.escape||gi).source+"|"+pe.source+"|"+(pe===Yi?it:gi).source+"|"+(u.evaluate||gi).source+"|$","g"),je="//# sourceURL="+(Et.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+`
36
+ `;s.replace(Ve,function(Xe,_t,mt,zn,Nn,Gn){return mt||(mt=zn),ye+=s.slice(_e,Gn).replace(Ll,Vp),_t&&(J=!0,ye+=`' +
37
+ __e(`+_t+`) +
38
+ '`),Nn&&(x=!0,ye+=`';
39
+ `+Nn+`;
40
+ __p += '`),mt&&(ye+=`' +
41
+ ((__t = (`+mt+`)) == null ? '' : __t) +
42
+ '`),_e=Gn+Xe.length,Xe}),ye+=`';
43
+ `;var Ze=Et.call(u,"variable")&&u.variable;if(!Ze)ye=`with (obj) {
44
44
  `+ye+`
45
45
  }
46
- `;else if(be.test(Qe))throw new et(o);ye=(x?ye.replace(ml,""):ye).replace(bl,"$1").replace(vl,"$1;"),ye="function("+(Qe||"obj")+`) {
47
- `+(Qe?"":`obj || (obj = {});
46
+ `;else if(be.test(Ze))throw new tt(o);ye=(x?ye.replace(vl,""):ye).replace(wl,"$1").replace(kl,"$1;"),ye="function("+(Ze||"obj")+`) {
47
+ `+(Ze?"":`obj || (obj = {});
48
48
  `)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+ye+`return __p
52
- }`;var ot=qf(function(){return Pt(F,Ke+"return "+ye).apply(t,q)});if(ot.source=ye,So(ot))throw ot;return ot}function rw(s){return Nt(s).toLowerCase()}function aw(s){return Nt(s).toUpperCase()}function sw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Bn(u)))return s;var k=ni(s),T=ni(u),F=Xo(k,T),q=$o(k,T)+1;return al(k,F,q).join("")}function ow(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Bn(u)))return s;var k=ni(s),T=$o(k,ni(u))+1;return al(k,0,T).join("")}function uw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(ei,"");if(!s||!(u=Bn(u)))return s;var k=ni(s),T=Xo(k,ni(u));return al(k,T).join("")}function fw(s,u){var _=z,k=Q;if(Kt(u)){var T="separator"in u?u.separator:T;_="length"in u?st(u.length):_,k="omission"in u?Bn(u.omission):k}s=Nt(s);var F=s.length;if(Xl(s)){var q=ni(s);F=q.length}if(_>=F)return s;var J=_-$l(k);if(J<1)return k;var x=q?al(q,0,J).join(""):s.slice(0,J);if(T===t)return x+k;if(q&&(J+=x.length-J),Co(T)){if(s.slice(J).search(T)){var _e,pe=x;for(T.global||(T=Us(T.source,Nt(it.exec(T))+"g")),T.lastIndex=0;_e=T.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Bn(T),J)!=J){var De=x.lastIndexOf(T);De>-1&&(x=x.slice(0,De))}return x+k}function cw(s){return s=Nt(s),s&&Ki.test(s)?s.replace(Ni,Hp):s}var dw=rr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Io=qu("toUpperCase");function Wf(s,u,_){return s=Nt(s),u=_?t:u,u===t?Op(s)?zp(s):Ip(s):s.match(u)||[]}var qf=ut(function(s,u){try{return dn(s,t,u)}catch(_){return So(_)?_:new et(_)}}),hw=Fi(function(s,u){return Ot(u,function(_){_=_i(_),Oi(s,_,wo(s[_],s))}),s});function gw(s){var u=s==null?0:s.length,_=Ye();return s=u?zt(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[_(k[0]),k[1]]}):[],ut(function(k){for(var T=-1;++T<u;){var F=s[T];if(dn(F[0],this,k))return dn(F[1],this,k)}})}function _w(s){return Hm(Yn(s,g))}function No(s){return function(){return s}}function pw(s,u){return s==null||s!==s?u:s}var mw=Gu(),bw=Gu(!0);function Vn(s){return s}function To(s){return wu(typeof s=="function"?s:Yn(s,g))}function vw(s){return Su(Yn(s,g))}function ww(s,u){return Cu(s,Yn(u,g))}var kw=ut(function(s,u){return function(_){return Or(_,s,u)}}),Sw=ut(function(s,u){return function(_){return Or(s,_,u)}});function Lo(s,u,_){var k=hn(u),T=Ra(u,k);_==null&&!(Kt(u)&&(T.length||!k.length))&&(_=u,u=s,s=this,T=Ra(u,hn(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,q=Bi(s);return Ot(T,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=En(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,el([this.value()],arguments))})}),s}function Cw(){return Be._===this&&(Be._=Qp),this}function Ao(){}function yw(s){return s=st(s),ut(function(u){return yu(u,s)})}var Pw=ao(zt),Iw=ao(da),Nw=ao(Es);function zf(s){return go(s)?Rs(_i(s)):i1(s)}function Tw(s){return function(u){return s==null?t:Vl(s,u)}}var Lw=ju(),Aw=ju(!0);function Eo(){return[]}function Ro(){return!1}function Ew(){return{}}function Rw(){return""}function Dw(){return!0}function Vw(s,u){if(s=st(s),s<1||s>fe)return[];var _=Se,k=vn(s,Se);u=Ye(u),s-=Se;for(var T=Os(k,u);++_<s;)u(_);return T}function Ow(s){return lt(s)?zt(s,_i):Hn(s)?[s]:En(uf(Nt(s)))}function Mw(s){var u=++Jp;return Nt(s)+u}var Fw=Ua(function(s,u){return s+u},0),Uw=so("ceil"),Bw=Ua(function(s,u){return s/u},1),Hw=so("floor");function Ww(s){return s&&s.length?Ea(s,Vn,js):t}function qw(s,u){return s&&s.length?Ea(s,Ye(u,2),js):t}function zw(s){return Yo(s,Vn)}function Gw(s,u){return Yo(s,Ye(u,2))}function Kw(s){return s&&s.length?Ea(s,Vn,Zs):t}function jw(s,u){return s&&s.length?Ea(s,Ye(u,2),Zs):t}var Jw=Ua(function(s,u){return s*u},1),Yw=so("round"),Qw=Ua(function(s,u){return s-u},0);function Zw(s){return s&&s.length?Vs(s,Vn):0}function Xw(s,u){return s&&s.length?Vs(s,Ye(u,2)):0}return M.after=vv,M.ary=wf,M.assign=a0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=s0,M.at=o0,M.before=kf,M.bind=wo,M.bindAll=hw,M.bindKey=Sf,M.castArray=Ev,M.chain=mf,M.chunk=H1,M.compact=W1,M.concat=q1,M.cond=gw,M.conforms=_w,M.constant=No,M.countBy=Zb,M.create=u0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=f0,M.defaultsDeep=c0,M.defer=wv,M.delay=kv,M.difference=z1,M.differenceBy=G1,M.differenceWith=K1,M.drop=j1,M.dropRight=J1,M.dropRightWhile=Y1,M.dropWhile=Q1,M.fill=Z1,M.filter=$b,M.flatMap=tv,M.flatMapDeep=nv,M.flatMapDepth=iv,M.flatten=hf,M.flattenDeep=X1,M.flattenDepth=$1,M.flip=Sv,M.flow=mw,M.flowRight=bw,M.fromPairs=x1,M.functions=b0,M.functionsIn=v0,M.groupBy=lv,M.initial=tb,M.intersection=nb,M.intersectionBy=ib,M.intersectionWith=lb,M.invert=k0,M.invertBy=S0,M.invokeMap=av,M.iteratee=To,M.keyBy=sv,M.keys=hn,M.keysIn=Dn,M.map=Ka,M.mapKeys=y0,M.mapValues=P0,M.matches=vw,M.matchesProperty=ww,M.memoize=Ja,M.merge=I0,M.mergeWith=Of,M.method=kw,M.methodOf=Sw,M.mixin=Lo,M.negate=Ya,M.nthArg=yw,M.omit=N0,M.omitBy=T0,M.once=Cv,M.orderBy=ov,M.over=Pw,M.overArgs=yv,M.overEvery=Iw,M.overSome=Nw,M.partial=ko,M.partialRight=If,M.partition=uv,M.pick=L0,M.pickBy=Mf,M.property=zf,M.propertyOf=Tw,M.pull=ob,M.pullAll=_f,M.pullAllBy=ub,M.pullAllWith=fb,M.pullAt=cb,M.range=Lw,M.rangeRight=Aw,M.rearg=Pv,M.reject=dv,M.remove=db,M.rest=Iv,M.reverse=bo,M.sampleSize=gv,M.set=E0,M.setWith=R0,M.shuffle=_v,M.slice=hb,M.sortBy=bv,M.sortedUniq=wb,M.sortedUniqBy=kb,M.split=tw,M.spread=Nv,M.tail=Sb,M.take=Cb,M.takeRight=yb,M.takeRightWhile=Pb,M.takeWhile=Ib,M.tap=Wb,M.throttle=Tv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Ow,M.toPlainObject=Df,M.transform=D0,M.unary=Lv,M.union=Nb,M.unionBy=Tb,M.unionWith=Lb,M.uniq=Ab,M.uniqBy=Eb,M.uniqWith=Rb,M.unset=V0,M.unzip=vo,M.unzipWith=pf,M.update=O0,M.updateWith=M0,M.values=or,M.valuesIn=F0,M.without=Db,M.words=Wf,M.wrap=Av,M.xor=Vb,M.xorBy=Ob,M.xorWith=Mb,M.zip=Fb,M.zipObject=Ub,M.zipObjectDeep=Bb,M.zipWith=Hb,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,Lo(M,M),M.add=Fw,M.attempt=qf,M.camelCase=W0,M.capitalize=Bf,M.ceil=Uw,M.clamp=U0,M.clone=Rv,M.cloneDeep=Vv,M.cloneDeepWith=Ov,M.cloneWith=Dv,M.conformsTo=Mv,M.deburr=Hf,M.defaultTo=pw,M.divide=Bw,M.endsWith=q0,M.eq=li,M.escape=z0,M.escapeRegExp=G0,M.every=Xb,M.find=xb,M.findIndex=cf,M.findKey=d0,M.findLast=ev,M.findLastIndex=df,M.findLastKey=h0,M.floor=Hw,M.forEach=bf,M.forEachRight=vf,M.forIn=g0,M.forInRight=_0,M.forOwn=p0,M.forOwnRight=m0,M.get=yo,M.gt=Fv,M.gte=Uv,M.has=w0,M.hasIn=Po,M.head=gf,M.identity=Vn,M.includes=rv,M.indexOf=eb,M.inRange=B0,M.invoke=C0,M.isArguments=Fl,M.isArray=lt,M.isArrayBuffer=Bv,M.isArrayLike=Rn,M.isArrayLikeObject=xt,M.isBoolean=Hv,M.isBuffer=sl,M.isDate=Wv,M.isElement=qv,M.isEmpty=zv,M.isEqual=Gv,M.isEqualWith=Kv,M.isError=So,M.isFinite=jv,M.isFunction=Bi,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Jv,M.isMatchWith=Yv,M.isNaN=Qv,M.isNative=Zv,M.isNil=$v,M.isNull=Xv,M.isNumber=Lf,M.isObject=Kt,M.isObjectLike=$t,M.isPlainObject=Wr,M.isRegExp=Co,M.isSafeInteger=xv,M.isSet=Af,M.isString=Za,M.isSymbol=Hn,M.isTypedArray=sr,M.isUndefined=e0,M.isWeakMap=t0,M.isWeakSet=n0,M.join=rb,M.kebabCase=K0,M.last=Zn,M.lastIndexOf=ab,M.lowerCase=j0,M.lowerFirst=J0,M.lt=i0,M.lte=l0,M.max=Ww,M.maxBy=qw,M.mean=zw,M.meanBy=Gw,M.min=Kw,M.minBy=jw,M.stubArray=Eo,M.stubFalse=Ro,M.stubObject=Ew,M.stubString=Rw,M.stubTrue=Dw,M.multiply=Jw,M.nth=sb,M.noConflict=Cw,M.noop=Ao,M.now=ja,M.pad=Y0,M.padEnd=Q0,M.padStart=Z0,M.parseInt=X0,M.random=H0,M.reduce=fv,M.reduceRight=cv,M.repeat=$0,M.replace=x0,M.result=A0,M.round=Yw,M.runInContext=$,M.sample=hv,M.size=pv,M.snakeCase=ew,M.some=mv,M.sortedIndex=gb,M.sortedIndexBy=_b,M.sortedIndexOf=pb,M.sortedLastIndex=mb,M.sortedLastIndexBy=bb,M.sortedLastIndexOf=vb,M.startCase=nw,M.startsWith=iw,M.subtract=Qw,M.sum=Zw,M.sumBy=Xw,M.template=lw,M.times=Vw,M.toFinite=Hi,M.toInteger=st,M.toLength=Rf,M.toLower=rw,M.toNumber=Xn,M.toSafeInteger=r0,M.toString=Nt,M.toUpper=aw,M.trim=sw,M.trimEnd=ow,M.trimStart=uw,M.truncate=fw,M.unescape=cw,M.uniqueId=Mw,M.upperCase=dw,M.upperFirst=Io,M.each=bf,M.eachRight=vf,M.first=gf,Lo(M,function(){var s={};return hi(M,function(u,_){At.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ot(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:un(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=vn(_,k.__takeCount__):k.__views__.push({size:vn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ot(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==Z||_==j;_t.prototype[s]=function(T){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(T,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ot(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Ot(["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(Vn)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ut(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Or(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ya(Ye(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(Se)},hi(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),T=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);T&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof _t,_e=J[0],pe=x||lt(q),ye=function(gt){var pt=T.apply(M,el([gt],J));return k&&De?pt[0]:pt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!De,ot=x&&!Ke;if(!F&&pe){q=ot?q:new _t(this);var Ze=s.apply(q,J);return Ze.__actions__.push({func:Ga,args:[ye],thisArg:t}),new Jn(Ze,De)}return Qe&&ot?s.apply(this,J):(Ze=this.thru(ye),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var T=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(lt(F)?F:[],T)}return this[_](function(q){return u.apply(lt(q)?q:[],T)})}}),hi(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";At.call(nr,k)||(nr[k]=[]),nr[k].push({name:u,func:_})}}),nr[Fa(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=cm,_t.prototype.reverse=dm,_t.prototype.value=hm,M.prototype.at=qb,M.prototype.chain=zb,M.prototype.commit=Gb,M.prototype.next=Kb,M.prototype.plant=Jb,M.prototype.reverse=Yb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Qb,M.prototype.first=M.prototype.head,Tr&&(M.prototype[Tr]=jb),M},xl=Gp();yt?((yt.exports=xl)._=xl,It._=xl):Be._=xl}).call(zr)})(os,os.exports);var Jr=os.exports;class Gk{getNodePath(e,t){return me.getNodePath(e,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 Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ut.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;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 te.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=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.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=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.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(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}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 me.getDefaultChildNode(n,async(h,d)=>await Ut.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ut.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(le.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=re.getParentNode(I,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const ce=t.get(),Z=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Z),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ut.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ut.extractDataFromPath(e);ip.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(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){zn.deleteNodesRecursively(c);break}}else r=!1}}else zn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.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=me.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}me.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={...Fk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.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=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:dr.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&&dr.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&&Jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),dr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.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 at=new Gk;class Kk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=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 Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){dr.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="",ht.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 ht=new Kk;class jk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Jk=new jk;class Yk{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=te.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 si=new Yk;class Qk{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.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),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.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(te.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),si.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=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=te.getConfigValue(`auth.${te.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(te.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const cn=new Qk;class Zk{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 Yr=new Zk;class Xk{getStoredAuthData(){return si.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 mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new Xk;class $k{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new $k;class xk{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)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}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,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(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 _k.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=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Yr.hasDecorators()?Yr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(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:Go.getActiveFeatureToggleList(),currentLocale:Tt.getCurrentLocale(),currentTheme:Bo.getCurrentTheme()}}}const Ae=new xk;class e2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Jr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Jr.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(zi.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=!!te.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=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new e2;class t2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.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=Go.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(mi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.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 me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),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=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Tt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ut.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 g;const p=!!d.badgeCounter;if(p&&(g=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:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;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:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ut.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.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}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(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||"/";at.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Tt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Tt.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 Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Tt.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 te.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:re.prepareForTests(e.pathSegment,e.label)}}const re=new t2;class n2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await rs.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.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=te.getConfigValue("routing.useHashRouting");Fn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?at.getHashPath():at.getModifiedPathname();e(l)}}),Fn.addEventListener("popstate",n=>{const l=t?at.getHashPath(location.href):at.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:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:at.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}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=me.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=Tt.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[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Go.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=te.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=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in 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=te.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:Tt.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}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new n2;class i2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const pn=new i2;class l2{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 Fn=new l2;class r2{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 a2=new r2;class s2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.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 cr=new s2,Kr=38,hr=40,hl=13,Wl=27,Qr=32,o2=36,u2=35;class rp{constructor(e,t){Ul(this,"dispatch");Ul(this,"search");Ul(this,"isCustomSearchRenderer");Ul(this,"isCustomSearchResultItemRenderer");Ul(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}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)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Tt.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Tt.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===hl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Wl?this.search.searchProvider.onEscape():e===hr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===hr&&(o=r!==null?r:t[0]),e===Kr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Wl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===hl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Kr||t===hr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Wl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?at.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){A(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&L(e),p=!1,b()}}}function f2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(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-120xz9q"),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=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(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),ft(n,l),i[5](null)}}}function c2(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=kt("getUnsavedChangesModalPromise"),c=kt("handleNavigation");Gn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=pr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),nn(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;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 g(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,g]}class d2 extends Vt{constructor(e){super(),Dt(this,e,c2,f2,Et,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Mn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=Mn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(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 h2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,N=i[0].buttonDismiss+"",I,V,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),I=Ne(N),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(g,"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",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[X]){Q[0].type?O?O.p(Q,X):(O=Xf(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=Q[0].header+"")&&Le(h,c),X&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,X):(z=$f(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),X&1&&N!==(N=Q[0].buttonDismiss+"")&&Le(I,N),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&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:We,o:We,d(Q){Q&&L(e),O&&O.d(),z&&z.d(),H=!1,Je(D)}}}function g2(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"};Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),nn(()=>{const d={icon:r[l.type],header:Tt.getTranslation("luigi.confirmationModal.header"),body:Tt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Wl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class _2 extends Vt{constructor(e){super(),Dt(this,e,g2,h2,Et,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function p2(i){let e,t,n;const l=i[5].default,r=ds(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)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(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 m2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return nn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Fn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!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()))}))}),Gn(()=>{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,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class gl extends Vt{constructor(e){super(),Dt(this,e,m2,p2,Et,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new gl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=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-1hy363a")},m(C,y){A(C,e,y),Ve(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=ee(h,"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=ec(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(t),v&&v.d(),b=!1,m()}}}function ec(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){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 tc(i){let e;const t=i[10].default,n=ds(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)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(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 nc(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
- <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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function b2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),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-1hy363a"),f(t,"data-testid",g=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=Mn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){A(P,e,N),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,h),y&&y.m(t,null),m=!0},p(P,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,N),N&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!m||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=nc(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&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-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Mn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&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 v2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Jt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=kt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ae);const fe=await Ut.extractDataFromPath(G);g=fe.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),dr.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(I).appendChild(ae),ae};async function Q(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}Zr(()=>{D(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,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&ce()),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 O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&at.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};nn(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Fn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Xr(()=>{Fn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;N?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 Z=()=>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,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,Z]}class ap extends Vt{constructor(e){super(),Dt(this,e,v2,b2,Et,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(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 lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=ke()},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=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(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=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(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),ft(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?k2:w2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},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 w2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,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 k2(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),jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(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]]&&jf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function uc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,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 N(){return i[19](i[28])}let I=v&&fc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),I&&I.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Bt(N))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,E):(I=fc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&L(e),I&&I.d(),C=!1,Je(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(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=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(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),ft(n,l)}}}function cc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ne(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,g){A(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&jt(e,"is-selected",i[4]===i[33]),g[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Je(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(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 h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),ft(r,a)}}}function hc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ne(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),h||(d=ee(e,"click",g),h=!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),h=!1,d()}}}function gc(i){let e,t,n,l,r,a,o,c,h,d;function g(){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),h||(d=ee(n,"change",g),h=!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),h=!1,d()}}}function _c(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=ee(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 pc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),N&&N.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(I,V){A(I,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,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Le(r,l),I[28].type==="string"?v?v.p(I,V):(v=oc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=uc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=dc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=gc(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=_c(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function S2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(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=[ee(window,"click",i[7]),ee(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ac(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,Je(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function C2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=kt("getTranslation");vi(i,o,Z=>t(5,n=Z));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Z,G){let j=is(Z.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m(Z,G){const j=Z.querySelector(".lui-activate-dropdown"),ae=Z.parentNode.querySelector(".fd-popover__body"),fe=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v(Z,G,j){t(4,c=j),t(0,r[l[0]][Z]=G.value||G,r)}function C(Z,G){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${Z}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=G.value||G,r)}function y(Z,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===Z){j=G[ae].label,t(4,c=ae);break}}else{j=Z,t(4,c=G.indexOf(Z));break}return n(j)}}function P(Z){return n(le.isObject(Z)?Z.label:Z)}function N(Z,G,j){return le.isObject(j)?`${Z}_${G}_${j.value}`:`${Z}_${G}_${j}`}function I(Z,G,j,ae){let fe=is(Z.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if(Z.keyCode===Kr&&Z.altKey&&(fe.click(),fe.focus()),Z.keyCode===hr&&!Z.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if(Z.keyCode===Kr&&!Z.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}(Z.keyCode===hl||Z.keyCode===Qr)&&v(G,ae.options[se],se)}else fe.focus(),Z.keyCode===hr&&Z.altKey&&fe.click(),Z.keyCode===hr&&!Z.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),Z.keyCode===Kr&&!Z.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V(Z){if(h){let G=is(Z.target,".fd-popover",20);G.blur(),(Z.keyCode===Qr||Z.keyCode===hl)&&(Z.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const H=(Z,G,j,ae)=>I(ae,Z,G,j),D=Z=>b(event,Z.isEditable),O=(Z,G,j)=>v(Z,G,j),z=Z=>V(Z),Q=(Z,G)=>C(Z,G);function X(Z){r[l[0]][Z]=this.checked,t(0,r)}function ce(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,h=Z.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Q,X,ce]}class y2 extends Vt{constructor(e){super(),Dt(this,e,C2,S2,Et,{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:mc}=pl;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?I2:P2}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 P2(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Mn(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:""),On(e,"background-image","url('"+i[37][1].icon+"')"),On(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=Mn(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&&On(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(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 I2(i){let e,t,n,l;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Mn(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class",l="fd-list__thumbnail "+(i[37][1].iconClassAttribute||"")+" svelte-12fj8b7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Mn(r[18](r[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[37][1].iconClassAttribute||"")+" svelte-12fj8b7")&&f(e,"class",l)},d(r){r&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Mn(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=Mn(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 Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(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=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"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,N){A(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[ee(e,"click",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[37][1].icon?v?v.p(i,N):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),N[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Je(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},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=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(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){ft(n,l),l&&L(e)}}}function yc(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 y2({props:o}),je.push(()=>wt(e,"closeDropDown",r,i[9])),je.push(()=>wt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Me(e.$$.fragment)},m(c,h){Ve(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],vt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],vt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function N2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",N,I,V,E,H,D,O,z,Q,X,ce,Z=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,Re,ze=Object.entries(i[1]),Ce=[];for(let Fe=0;Fe<ze.length;Fe+=1)Ce[Fe]=Cc(bc(i,ze,Fe));let Pe=i[11]&&yc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let Fe=0;Fe<Ce.length;Fe+=1)Ce[Fe].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),N=Ne(P),I=W(),V=S("div"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Q=S("div"),X=S("div"),ce=S("button"),G=Ne(Z),j=W(),ae=S("div"),fe=S("button"),se=Ne(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(g,"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(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"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(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Q,"class","fd-bar__right"),f(z,"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(Fe,ct){A(Fe,e,ct),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let qe=0;qe<Ce.length;qe+=1)Ce[qe].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Q),w(Q,X),w(X,ce),w(ce,G),w(Q,j),w(Q,ae),w(ae,fe),w(fe,se),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Fe,ct){if((!Se||ct[0]&1040)&&c!==(c=Fe[10](Fe[4])+"")&&Le(h,c),ct[0]&803846){ze=Object.entries(Fe[1]);let qe;for(qe=0;qe<ze.length;qe+=1){const dt=bc(Fe,ze,qe);Ce[qe]?Ce[qe].p(dt,ct):(Ce[qe]=Cc(dt),Ce[qe].c(),Ce[qe].m(p,null))}for(;qe<Ce.length;qe+=1)Ce[qe].d(1);Ce.length=ze.length}(!Se||ct[0]&1152)&&P!==(P=Fe[10](Fe[7])+"")&&Le(N,P),Fe[11]?Pe?(Pe.p(Fe,ct),ct[0]&2048&&R(Pe,1)):(Pe=yc(Fe),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||ct[0]&1056)&&Z!==(Z=Fe[10](Fe[5])+"")&&Le(G,Z),(!Se||ct[0]&1088)&&ne!==(ne=Fe[10](Fe[6])+"")&&Le(se,ne)},i(Fe){Se||(R(Pe),Se=!0)},o(Fe){U(Pe),Se=!1},d(Fe){Fe&&L(e),ft(Ce,Fe),Pe&&Pe.d(),ie=!1,Je(Re)}}}function Pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function T2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function L2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function sp(i,e,t){if(i&&t>0)return i.matches(e)?i:sp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function A2(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},h=kt("getTranslation");vi(i,h,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,g=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),nn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Fn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const ze=as.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(ze.id===Ce){const Pe=cr.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Fe=Pe.getAttribute("userSettingsGroup");t(0,o[Fe]=ze.data,o)}}ze.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),N([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.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 Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function N(se,Se){t(11,a=se);let ie=se[0],Re=se[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),sp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<fn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()),Re.viewUrl){if(cr.hideUserSettingsIframe(),b.hasOwnProperty(ie))cr.getUserSettingsIframesInDom().forEach(ze=>{ze.userSettingsGroup===ie&&(ze.style.display="block")});else{const ze=Yr.hasDecorators()?Yr.applyDecorators(Re.viewUrl):Re.viewUrl;let Ce=cr.createIframe(ze,ie);b[ie]=Ce}T2()}else L2()}const I=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Q=()=>{const se=window.innerWidth>=fn.desktopMinWidth&&z<fn.desktopMinWidth;if(window.innerWidth<fn.desktopMinWidth&&z>=fn.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"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<fn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function X(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===hl||se.keyCode===Qr)&&ie[Se].click(),se.keyCode===u2&&ie[Object.keys(l).length-1].focus(),se.keyCode===o2&&ie[0].focus()}function ce(se){se.keyCode===Wl&&C?y():se.keyCode===Wl&&!C&&r("close")}const Z=se=>N(se,event),G=(se,Se)=>X(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>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,ce,d,g,p,v,C,y,n,a,r,h,N,I,V,H,D,O,Q,Z,G,j,ae,fe,ne]}class E2 extends Vt{constructor(e){super(),Dt(this,e,A2,N2,Et,{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:R2}=pl;function D2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function V2(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=Ne(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Bt(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(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-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Bt(mt(i[3]))),ee(n,"mousedown",Bt(i[6]))],o=!0)},p:We,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Je(c)}}}function O2(i){let e,t,n,l,r,a,o,c,h,d;t=new gl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?V2:D2}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){A(v,e,C),Ve(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,h||(d=ee(R2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(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-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Nc(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),Oe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function M2(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,N=!1,I=kt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||ht.createAndSetView(V()):await ht.prepareSplitViewData(V(),m)},H=()=>{l.split=ht.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ht.getDragger()},D=()=>{const j=ht.getDraggerBackdrop();j&&(j.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ht.splitViewValues.top}px`),l.split.style.top=`${ht.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&ht.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Q(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(ht.calculateAndSetSplitViewValues(ae,ht.internalValues),v)return;D(),ht.sendMessageToClients("resize.ok",ht.splitViewValues.percent)}}nn(()=>{X(),h=O.bind(this),Fn.addEventListener("message",h)}),Zr(()=>{E(),N!==y&&!v&&(N=y,D())}),Xr(()=>{window.removeEventListener("message",h)});function z(){ht.collapse(V())}async function Q(){await ht.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const j=le.getShellbarHeight();ht.internalValues.innerHeight=le.getInnerHeight(),ht.internalValues.rightContentHeight=ht.internalValues.innerHeight-j,ht.internalValues.thresholdBottom=30,ht.internalValues.thresholdTop=j+30,ht.calculateAndSetSplitViewValues(ht.splitViewValues.percent,ht.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(ze){const Ce=ae-ze.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Fe=Pe-Ce,ct=ht.internalValues.innerHeight-Fe,qe=ht.enforceTresholds(Fe,ct);Fe<qe.top||ct<qe.bottom||(fe=qe,ae=ze.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==ht.internalValues.m_pos_prev){ht.getDraggerBackdrop().style.display="none";return}ht.internalValues.m_pos_prev=fe.top,ht.splitViewValues=fe,D(),ht.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ht.getDraggerBackdrop().style.display="block"}const Z=j=>{let ae=ht.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=ht.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Q,X,ce,G,y,m]}class op extends Vt{constructor(e){super(),Dt(this,e,M2,O2,Et,{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 Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:B2,then:U2,catch:F2,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=ke(),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())&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function F2(i){return{c:We,m:We,p:We,d:We}}function U2(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?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=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-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 B2(i){return{c:We,m:We,p:We,d:We}}function H2(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=ke()},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=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 W2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Vt{constructor(e){super(),Dt(this,e,W2,H2,Et,{node:0})}}function Ac(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-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 q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=ke()},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=Ac(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 z2(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 Vt{constructor(e){super(),Dt(this,e,z2,q2,Et,{node:0})}}function G2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,N=ds(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),N&&N.c(),p=W(),b=S("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(I,V){A(I,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Bt(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Le(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&gs(N,P,I,I[3],v?hs(P,I[3],V,null):_s(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&L(e),N&&N.d(I),C=!1,Je(y)}}}function K2(i){let e;const t=i[4].default,n=ds(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function j2(i){let e,t,n,l;const r=[K2,G2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function J2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class Y2 extends Vt{constructor(e){super(),Dt(this,e,J2,j2,Et,{navGroup:1,expanded:0})}}const{window:es}=pl;function Ec(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Rc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Uc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Q2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Gc(i),b=(i[2]||i[3])&&_d(i);return{c(){e=S("div"),g&&g.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-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},m(m,v){A(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=ee(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=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=Gc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=_d(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-1bekqg6"))&&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-1bekqg6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Z2(i){let e,t,n,l,r=i[12]&&md(i),a=i[0]&&i[5].length>1&&kd(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-1bekqg6"),f(e,"role","navigation"),On(e,"width","var(--luigi__left-sidenav--width)"),On(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=md(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=kd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!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-1bekqg6"))&&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 Hc(i){let e,t=!i[12].renderer&&Wc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[62](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=Wc(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[62](null)}}}function Wc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&qc(i),g=i[12].showUpLink&&zc(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=qc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=zc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function qc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?$2:X2}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 X2(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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 $2(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),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[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function zc(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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Gc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=gd(Ec(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=Mn(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=gd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n=Mn(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ft(a,c)}}}function x2(i){let e,t,n,l;const r=[nS,tS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function eS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=hd(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=ke()},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]&1090592960|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=hd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function tS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&Kc(i),g=i[96],p=[];for(let m=0;m<g.length;m+=1)p[m]=Xc(Rc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},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),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=Kc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=m[96];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Xc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ft(p,m),m&&L(c)}}}function nS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Q,X,ce;function Z(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?fS:uS}let G=Z(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=i[96],Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=nd(Vc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let Re=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&id(i);function ze(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),Re&&Re.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=tn(i[96],i[9])),f(C,"class",y=tn(i[96],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=tn(i[96],i[9])),f(v,"title",N=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!tn(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),jt(e,"lui-item-expanded",tn(i[96],i[9]))},m(Ce,Pe){A(Ce,e,Pe),w(e,t),w(t,n),j.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,E);for(let Fe=0;Fe<Se.length;Fe+=1)Se[Fe].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Q=!0,X||(ce=[ee(n,"click",mt(ae)),ee(v,"click",mt(fe)),ee(t,"keypress",ne),ee(e,"click",Bt(ze))],X=!0)},p(Ce,Pe){if(i=Ce,G===(G=Z(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Q||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Q||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Pe[0]&8704&&b!==(b=tn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Pe[0]&8704&&y!==(y=tn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Pe[0]&8704&&P!==(P=tn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Pe[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Pe[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Pe[0]&1090592896|Pe[1]&532){se=i[96];let Fe;for(Fe=0;Fe<se.length;Fe+=1){const ct=Vc(i,se,Fe);Se[Fe]?(Se[Fe].p(ct,Pe),R(Se[Fe],1)):(Se[Fe]=nd(ct),Se[Fe].c(),R(Se[Fe],1),Se[Fe].m(E,null))}for(ve(),Fe=se.length;Fe<Se.length;Fe+=1)ie(Fe);we()}(!Q||Pe[0]&8704&&H!==(H=!tn(i[96],i[9])))&&f(E,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=id(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(ve(),U(Re,1,1,()=>{Re=null}),we()),(!Q||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Pe[0]&8704)&&jt(e,"lui-item-expanded",tn(i[96],i[9]))},i(Ce){if(!Q){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(Re),Q=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Q=!1},d(Ce){Ce&&L(e),j.d(),ft(Se,Ce),Re&&Re.d(),X=!1,Je(ce)}}}function Kc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?lS:iS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 iS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function lS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),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[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function jc(i){let e,t,n=i[99].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].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&&(ve(),U(n,1,1,()=>{n=null}),we())},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,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(X,ce){return X[99].icon?aS:rS}let V=I(i),E=V(i),H=i[99].statusBadge&&Yc(i),D=i[99].externalLink&&i[99].externalLink.url&&Qc(),O=i[99].badgeCounter&&Zc(i);function z(...X){return i[73](i[99],...X)}function Q(...X){return i[74](i[99],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(X,ce){A(X,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(X,ce){i=X,V===(V=I(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Yc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?D||(D=Qc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Zc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(X){y||(R(H),R(O),y=!0)},o(X){U(H),U(O),y=!1},d(X){X&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Je(N)}}}function rS(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=Ne(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 aS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?oS:sS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function oS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Yc(i){let e,t;return e=new $n({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}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 Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Xc(i){let e,t,n=!i[99].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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 uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.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="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),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[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function $c(i){let e,t,n=i[99].label&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xc(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ed(),V=i[99].badgeCounter&&td(i);function E(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=ed(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ed(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 td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[99].hideFromNav&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(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 id(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=od(Dc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},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]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=od(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.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),ft(d,p)}}}function ld(i){let e,t,n=i[99].label&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].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&&(ve(),U(n,1,1,()=>{n=null}),we())},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=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ad(),V=i[99].badgeCounter&&sd(i);function E(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=ad(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=sd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ad(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[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function od(i){let e,t,n=!i[99].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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=i[99].label&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function fd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(X,ce){return X[99].icon?dS:cS}let E=V(i),H=E(i);c=new $n({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&cd(),O=i[99].badgeCounter&&dd(i);function z(...X){return i[63](i[99],...X)}function Q(...X){return i[64](i[99],...X)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(X,ce){A(X,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(X,ce){i=X,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Z={};ce[0]&8192&&(Z.node=i[99]),c.$set(Z),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?D||(D=cd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=dd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(O),P=!0)},o(X){U(c.$$.fragment,X),U(O),P=!1},d(X){X&&L(e),H.d(),Oe(c),D&&D.d(),O&&O.d(),N=!1,Je(I)}}}function cS(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 dS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?gS:hS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function gS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),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[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function cd(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 dd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function hd(i){let e,t,n=!i[99].hideFromNav&&ud(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(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 gd(i){let e,t,n,l,r,a;const o=[eS,x2],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(RS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(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 _d(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&pd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=pd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function pd(i){let e;function t(r,a){return r[4]=="button"?pS:_S}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},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 _S(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-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Je(l)}}}function pS(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-1bekqg6"),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-1bekqg6")},m(a,o){A(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),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-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function md(i){let e,t=!i[12].renderer&&bd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=bd(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[49](null)}}}function bd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&vd(i),g=i[12].showUpLink&&wd(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=vd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=wd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function vd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 mS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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 bS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),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[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function wd(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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function kd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ud(Mc(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>`,h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){A(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=y[14];let N;for(N=0;N<m.length;N+=1){const I=Mc(y,m,N);v[N]?(v[N].p(I,P),R(v[N],1)):(v[N]=Ud(I),v[N].c(),R(v[N],1),v[N].m(t,n))}for(ve(),N=m.length;N<v.length;N+=1)C(N);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ft(v,y),i[61](null),p=!1,Je(b)}}}function vS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?SS:kS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function X(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let Z=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Sd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),Z&&Z.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-1bekqg6"),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[35](i[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[96].metaInfo,i[95]))},m(G,j){A(G,e,j),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Z&&Z.m(e,null),I=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Q)),ee(n,"keypress",mt(X)),ee(t,"click",Bt(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!I||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!I||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])))&&f(t,"aria-expanded",v),(!I||j[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?Z?(Z.p(i,j),j[0]&16704&&R(Z,1)):(Z=Sd(i),Z.c(),R(Z,1),Z.m(e,null)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),(!I||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||j[0]&16384&&N!==(N=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",N)},i(G){I||(R(Z),I=!0)},o(G){U(Z),I=!1},d(G){G&&L(e),O.d(),Z&&Z.d(),V=!1,Je(E)}}}function wS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=Md(Bc(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=ke()},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]&1090601152|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Md(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function SS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Sd(i){let e,t,n,l,r,a,o,c=i[6]&&Cd(i),h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ed(Uc(i,h,p));const g=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(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6")},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=Cd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ed(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!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-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.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(),ft(d,p)}}}function Cd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&yd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){A(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[96].metaInfo.icon?g?g.p(p,b):(g=yd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&L(e),g&&g.d()}}}function yd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 CS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function yS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Pd(i){let e,t,n=i[99].label&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},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[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E=i[30](i[99])+"",H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,se;c=new $n({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Nd(),ie=i[99].badgeCounter&&Td(i);function Re(...qe){return i[56](i[99],...qe)}function ze(...qe){return i[57](i[99],...qe)}O=new $n({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ld(),Pe=i[99].badgeCounter&&Ad(i);function Fe(...qe){return i[58](i[99],...qe)}function ct(...qe){return i[59](i[99],...qe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),N=S("li"),I=S("a"),V=S("span"),H=Ne(E),D=W(),Me(O.$$.fragment),Q=W(),Ce&&Ce.c(),X=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=re.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",ce=i[33](i[99])),f(I,"class",Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",j=re.getTestId(i[99])),f(I,"title",ae=i[35](i[99],i[30](i[99]))),On(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[98])},m(qe,dt){A(qe,e,dt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(qe,P,dt),A(qe,N,dt),w(N,I),w(I,V),w(V,H),w(V,D),Ve(O,V,null),w(I,Q),Ce&&Ce.m(I,null),w(I,X),Pe&&Pe.m(I,null),fe=!0,ne||(se=[ee(n,"click",Re),ee(n,"keyup",function(){bi(i[24]?void 0:ze)&&(i[24]?void 0:ze).apply(this,arguments)}),ee(I,"click",Fe),ee(I,"keyup",function(){bi(i[24]?void 0:ct)&&(i[24]?void 0:ct).apply(this,arguments)})],ne=!0)},p(qe,dt){i=qe,(!fe||dt[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Ft={};dt[0]&16384&&(Ft.node=i[99]),c.$set(Ft),(!fe||dt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?Se||(Se=Nd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,dt),dt[0]&16384&&R(ie,1)):(ie=Td(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||dt[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||dt[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||dt[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||dt[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||dt[0]&16384)&&E!==(E=i[30](i[99])+"")&&Le(H,E);const de={};dt[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||dt[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?Ce||(Ce=Ld(),Ce.c(),Ce.m(I,X)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,dt),dt[0]&16384&&R(Pe,1)):(Pe=Ad(i),Pe.c(),R(Pe,1),Pe.m(I,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||dt[0]&16384&&ce!==(ce=i[33](i[99])))&&f(I,"href",ce),(!fe||dt[0]&16512&&Z!==(Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",Z),(!fe||dt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!fe||dt[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(I,"data-testid",j),(!fe||dt[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(I,"title",ae)},i(qe){fe||(R(c.$$.fragment,qe),R(ie),R(O.$$.fragment,qe),R(Pe),fe=!0)},o(qe){U(c.$$.fragment,qe),U(ie),U(O.$$.fragment,qe),U(Pe),fe=!1},d(qe){qe&&L(e),Oe(c),Se&&Se.d(),ie&&ie.d(),qe&&L(P),qe&&L(N),Oe(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Je(se)}}}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[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(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 Ad(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ed(i){let e,t,n=!i[99].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Pd(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 Rd(i){let e,t,n=i[99].label&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H;function D(G,j){return G[99].icon?IS:PS}let O=D(i),z=O(i);h=new $n({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Vd(),X=i[99].badgeCounter&&Od(i);function ce(...G){return i[50](i[99],...G)}function Z(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Me(h.$$.fragment),g=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[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=re.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,j){A(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),X&&X.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){bi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],E=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Vd(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?X?(X.p(i,j),j[0]&16384&&R(X,1)):(X=Od(i),X.c(),R(X,1),X.m(n,b)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&N!==(N=re.getTestId(i[99])))&&f(n,"data-testid",N),(!V||j[0]&16512&&I!==(I=i[99]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(R(h.$$.fragment,G),R(X),V=!0)},o(G){U(h.$$.fragment,G),U(X),V=!1},d(G){G&&L(e),z.d(),Oe(h),Q&&Q.d(),X&&X.d(),E=!1,Je(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 IS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?TS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 NS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function TS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}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 Od(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Md(i){let e,t,n=!i[99].hideFromNav&&Rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Rd(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 Fd(i){let e,t,n,l,r,a;const o=[wS,vS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(ES).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(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 LS(i){let e,t,n=i[92].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Fc(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=ke()},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]&1227081664|o[1]&799){n=a[92].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function Ud(i){let e,t;return e=new Y2({props:{navGroup:i[92],expanded:i[92].groupEntry&&tn(i[92].groupEntry[1],i[9]),$$slots:{default:[LS]},$$scope:{ctx:i}}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&tn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(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){Oe(e,n)}}}function AS(i){let e,t,n,l,r,a;const o=[Z2,Q2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}function tn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Ho(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 ES=i=>!i.hideFromNav&&i.label,RS=i=>!i.hideFromNav&&i.label;function DS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async be=>{if(be==="pathData")t(5,p=K.pathData);else if(be==="context")D=K.context;else if(be==="children")t(0,a=K.children);else if(be==="selectedNode")t(7,C=K.selectedNode);else if(be==="hasCategoriesWithIcon")t(10,N=K.hasCategoriesWithIcon);else if(be==="navParent"){t(12,E=void 0);let Xe=K.navParent;if(t(45,H=Xe),Xe&&Xe.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let nt=Xe.navHeader,it=Xe;if(nt==="inherit"){for(it=Xe.parent;it&&it.navHeader==="inherit";)it=it.parent;nt=it?it.navHeader:void 0}if(nt instanceof Function){t(12,E={});let bt=nt(re.stripNode(Xe),re.stripNode(it),D);bt instanceof Promise?bt.then(Wt=>{t(12,E=Wt)}):t(12,E=bt)}else if(nt==="auto")t(12,E={label:Xe.label,icon:Xe.icon});else if(nt&&nt.useTitleResolver&&it.titleResolver){it.titleResolver.prerenderFallback?t(12,E={...nt,label:it.titleResolver.fallbackTitle||"",icon:it.titleResolver.fallbackIcon}):t(12,E=nt);const bt=me.mapPathToNode(at.getCurrentPath(),it);Ut.extractDataFromPath(bt).then(Wt=>{const Zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,it.context),Wt.pathData.pathParams);re.fetchNodeTitleData(it,Zt).then(ci=>{t(12,E={...nt,...ci})}).catch(ci=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...nt,label:Xe.label,icon:Xe.icon})})})}else t(12,E=await dt(nt,it))}}}),t(44,I=re.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Q=kt("store"),X=kt("getTranslation");vi(i,X,K=>t(27,n=K));let ce=!1,Z=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),be=await Ut.getLeftNavData({...K},K);be&&(l.set(be),O=p,window.LEFTNAVDATA=be.children)};nn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),pn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let K=pi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),pi.onValueChanged(be=>{t(6,v=be.isSemiCollapsed)}),Fn.addEventListener("message",be=>{be.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),be=G.querySelector(".fd-navigation__list"),Xe=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(nt=>{nt.navGroupId?be.querySelector(`[navGroupId="${nt.navGroupId}"]`).appendChild(nt):be.insertBefore(nt,Xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),be=G.querySelector(".lui-moreItems"),Xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let nt=Xe.length-1;nt>0&&(lastNode=Xe[nt-1],Xe[nt].navGroupId=Xe[nt].parentNode.getAttribute("navGroupId"),be.insertBefore(Xe[nt],be.firstChild),!(K.clientHeight>0));nt--);}},ie=()=>{const K=be=>{be&&de(be)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K))};Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((be,Xe)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),Gn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Re(K){if(Z){const be={},Xe=[],nt=j;let it=[];return K.forEach(bt=>{if(bt[0].startsWith(m))it.push({isSingleEntry:!0,entries:[bt]});else{const Wt=bt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(nt)>0)Xe.push(bt);else{const Zt=bt[1].metaInfo.isGroup;be[Wt]={isSingleEntry:!Zt,title:n(bt[1].metaInfo.label),groupEntry:bt,uid:Wt,entries:[Zt?["undefined",bt[1]]:bt]},it.push(be[Wt]),!re.isCollapsedSuperCategory(Wt)&&Zt&&Ht(bt[1],!0)}}}),Xe.forEach(bt=>{const Wt=bt[1].metaInfo.categoryUid.split(nt)[0],Zt=be[Wt];Zt&&(Zt.isSingleEntry&&(Zt.isSingleEntry=!1,Zt.entries=[["undefined",Zt.groupEntry[1]]]),Zt.entries.push(bt))}),it}else return K}let{sortedChildrenEntries:ze}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Fe(K){return re.isOpenUIiconName(K)}function ct(K){return me.getNodeHref(K,b)}function qe(K,be){return K&&K.testId?K.testId:re.prepareForTests(be||K.label)}async function dt(K,be){const Xe=me.mapPathToNode(at.getCurrentPath(),be),it=(await Ut.extractDataFromPath(Xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,it)}function Ft(K,be){return re.generateTooltipText(K,be)}function de(K){r("handleClick",{node:K})}function xe(K,be){if(pi.getCollapsed()){let Xe,nt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Xe=K.metaInfo.label:Xe=K.category&&K.category.label||K.category,nt&&!nt.classList.contains("isBlocked")&&(nt.className+=" isBlocked"),Xe===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=Xe),nt?St(be):Z&&(Ho(be),be.closest(".lui-moreItems")||Te())}}function St(K){const be=K.closest(".fd-nested-list__item"),Xe=be.offsetTop,nt=zi.getShellbar().offsetHeight;let it;zi.isCustomLuigiContainer()?it=zi.getCustomLuigiContainer().clientHeight:it=window.innerHeight,setTimeout(()=>{const bt=be.getElementsByClassName("lui-flyout-sublist")[0],Wt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Zt=Xe+nt-Wt,ci=it-Xe-be.offsetHeight+Wt-nt;Zt+bt.offsetHeight>=it?(bt.style.bottom=ci+"px",bt.className+=" has-bottom-position"):bt.style.top=Zt-nt+"px"})}function ln(){if(h){let K=pi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function Ln(K){if(K.code==="ArrowRight"){const Xe=Ae.getCurrentMicrofrontendIframe();Xe&&Xe.contentWindow&&Xe.contentWindow.focus()}}function an(K){let be=H?H.parent:void 0;for(;be;){if(be.pathSegment&&be.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:be});return}be=be.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ip.navigate("/")}function Ht(K,be){pi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,be,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function rt(){t(8,y=pi.closePopupMenu(y)),Te()}function tt(K){K&&K.code==="Escape"&&rt()}function Yt(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),gn()}function Qt(K){const be=K.code;(be==="Enter"||be==="Space")&&Yt()}function An(K,be){(K.code==="Enter"||K==="Space")&&xe(be,K.currentTarget)}function Lt(K,be){K.keyCode===hl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(be)}function gn(){if(!re.getBurgerTooltipConfig())return;const[K,be]=re.getBurgerTooltipConfig(),Xe=document.body.classList.contains("lui-semiCollapsible");K&&be&&Xe&&t(11,V=document.body.classList.contains("semiCollapsed")?K:be)}function xn(K,be){return tn(K,be)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Gt(K){if(!K)return;const be=K.target.parentElement;be.getAttribute("aria-expanded")==="true"?be.setAttribute("aria-expanded","false"):(rt(),be.setAttribute("aria-expanded","true")),K.stopPropagation()}function Sn(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const wi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ki=(K,be)=>Lt(be,K),mn=K=>Ht(K,!tn(K,P)),Si=K=>Ht(K,!tn(K,P)),Ci=(K,be)=>An(be,K),yi=(K,be)=>xe(K,be.currentTarget),Pi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ii=(K,be)=>Lt(be,K),ml=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},bl=(K,be)=>Lt(be,K),vl=K=>{(K.code==="Enter"||K.code==="Space")&&Gt(K)};function Ni(K){je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Gi(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Ki=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},oi=(K,be)=>Lt(be,K),wl=K=>Ht(K,!tn(K,P)),kl=K=>Ht(K,!tn(K,P)),ji=(K,be)=>An(be,K),Sl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Cl=(K,be)=>Lt(be,K),yl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ti=(K,be)=>Lt(be,K),Pl=K=>xe(K,event.currentTarget),ei=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Li=(K,be)=>Lt(be,K),ui=K=>Yt(),Ai=K=>Yt(),fi=K=>Qt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,N=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,I=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ze=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((be,Xe)=>be[1].metaInfo.order-Xe[1].metaInfo.order),t(13,ze=K),t(14,Ce=Re(K))}},[a,o,c,d,g,p,v,C,y,P,N,V,E,ze,Ce,m,de,xe,ln,Ln,an,Ht,rt,z,ce,G,ae,n,X,Z,fe,Pe,Fe,ct,qe,Ft,tt,Yt,Qt,An,Lt,xn,Gt,h,I,H,b,St,Ho,Sn,wi,ki,mn,Si,Ci,yi,Pi,Ii,ml,bl,vl,Ni,Gi,Ki,oi,wl,kl,ji,Sl,Cl,yl,Ti,Pl,ei,Li,ui,Ai,fi]}class up extends Vt{constructor(e){super(),Dt(this,e,DS,AS,Et,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Ho}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const VS=i=>{pn.doOnStoreChange(i.store,()=>{const e=te.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}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),fp(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"])},OS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),fp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!OS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=$r.getDocumentTitle()||r;i.set({title:r}),document.title=Tt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n}function MS(i){let e,t,n,l,r=i[1]&&Wd(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=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Wd(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 FS(i){let e,t,n,l,r=i[1]&&qd(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=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=qd(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 Wd(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 qd(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 zd(i){let e,t,n,l=(!i[3]||i[4])&&Gd(i),r=i[3]&&Kd(i),a=i[12]&&i[5]&&th(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},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=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=th(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 Gd(i){let e;function t(r,a){return r[14]?BS:US}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},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 US(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=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(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 BS(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=Ne(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,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[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 Kd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?WS:HS}let b=p(i),m=b(i),v=i[6]&&i[7]&&Xd(i),C=i[9]&&i[9].length>0&&$d(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",h="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||(g=ee(t,"click",Bt(KS)),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=Xd(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=$d(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&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function HS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(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,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Bt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function WS(i){let e,t,n,l=i[9]&&i[9].length===1&&jd(i),r=i[9]&&i[9].length>1&&Jd(i),a=i[9].length>1&&!i[7]&&Zd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},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=jd(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=Jd(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=Zd(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 jd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(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 Jd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},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=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(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){ft(n,l),l&&L(e)}}}function Yd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(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",h=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||(g=ee(e,"click",mt(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&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&L(e),d=!1,g()}}}function Qd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Yd(i);return{c(){n&&n.c(),t=ke()},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=Yd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(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,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function Xd(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=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function $d(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=eh(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},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=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=eh(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){ft(n,l),l&&L(e)}}}function qS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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),h||(d=ee(t,"click",g),h=!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),h=!1,d()}}}function zS(i){let e,t=i[18]&&xd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new mr(!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 eh(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 zS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return qS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},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 th(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(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 GS(i){let e,t;function n(o,c){return o[14]?FS:MS}let l=n(i),r=l(i),a=i[2]&&zd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},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=zd(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 KS=()=>{};function jS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,E,H,D=kt("getUnsavedChangesModalPromise"),O=kt("getTranslation");vi(i,O,de=>t(19,n=de));let z=kt("store");const Q={closeDropDown:()=>{ae("appSwitcherPopover")}},X=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(xe=>{xe==="pathData"?t(26,I=de.pathData):xe==="appSwitcherItems"?t(9,v=de.appSwitcherItems):xe==="itemRenderer"?t(10,C=de.itemRenderer):xe==="pathParams"?t(11,y=de.pathParams):xe==="selectedItem"?t(7,b=de.selectedItem):xe==="title"?t(2,o=de.title):xe==="defaultSubTitle"?t(25,N=de.defaultSubTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="defaultTitle"?t(8,m=de.defaultTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="showMainAppEntry"?t(6,p=de.showMainAppEntry):xe==="hasApps"?t(3,c=de.hasApps):xe==="keepMainTitle"?t(4,h=de.keepMainTitle):xe==="showSubTitle"?t(5,d=de.showSubTitle):xe==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});nn(()=>{VS(X())}),Gn(()=>{(!H||H!=I)&&(fp(X()),H=I)});function ce(de,xe,St){return setTimeout(()=>{xe&&C(de,xe.children[St],Q)}),""}function Z(de){D().then(()=>{at.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{at.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,xe){if(de.link){const St=me.applyPathParams(de.link,xe);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function se(de){return me.getNodeHref(de)}function Se(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")};function Re(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ze=()=>Z("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")},Pe=()=>Z("/"),Fe=()=>ae("appSwitcherPopover"),ct=()=>ae("appSwitcherPopover"),qe=()=>ae("appSwitcherPopover"),dt=(de,xe)=>{re.handleNavAnchorClickedWithoutMetaKey(xe)&&Z(de.link)};function Ft(de){je[de?"unshift":"push"](()=>{E=de,t(18,E)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,N=de.defaultSubTitle),"pathData"in de&&t(26,I=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Z,G,ae,E,n,O,ce,fe,ne,se,N,I,j,Se,ie,Re,ze,Ce,Pe,Fe,ct,qe,dt,Ft]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,GS,Et,{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 nh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ih(i){let e,t,n,l,r,a,o=i[0]&&lh(i),c=(i[10]||i[11])&&ch(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(h,d){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=lh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ch(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function lh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?QS:YS}let h=c(i),d=h(i),g=i[7].name&&rh(i),p=i[7].description&&ah(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=oh(nh(i,b,C));let v=i[12]&&uh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.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),g&&g.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(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=rh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=ah(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 N=nh(C,b,P);m[P]?m[P].p(N,y):(m[P]=oh(N),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=uh(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),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ft(m,C),v&&v.d()}}}function YS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){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 QS(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"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function rh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){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 ah(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){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 sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),On(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&&On(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 XS(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 oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=sh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=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),g&&g.d(),h=!1,Je(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){A(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=fh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Je(c)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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-ydef8m"),$e(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&&!$e(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,"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 ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&hh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},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=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=hh(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 dh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function hh(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=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Je(r)}}}function eC(i){let e,t=!i[1]&&ih(i);return{c(){t&&t.c(),e=ke()},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=ih(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,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){cn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(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,z,Q,X,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,ce,j,ae,fe]}class nC extends Vt{constructor(e){super(),Dt(this,e,tC,eC,Et,{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 gh(i,e,t){const n=i.slice();return n[34]=e[t],n}function _h(i){let e,t,n,l,r,a=i[0]&&ph(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=bh(gh(i,o,g));let h=i[12]&&vh(i),d=(i[10]||i[11])&&kh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.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(g,p){A(g,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),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=ph(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=gh(g,o,b);c[b]?c[b].p(m,p):(c[b]=bh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=vh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ft(c,g),h&&h.d(),d&&d.d()}}}function ph(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,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 mh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(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&&!$e(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 lC(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 bh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&mh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=mh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=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),g&&g.d(),h=!1,Je(d)}}}function vh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&wh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=wh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Je(h)}}}function wh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(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&&!$e(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 aC(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 kh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Sh(i),l=i[10]&&!i[8]&&yh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},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=Sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=yh(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 Sh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ch(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function Ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?oC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},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 sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(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&&!$e(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 oC(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 yh(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=ee(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function uC(i){let e,t=!i[1]&&_h(i);return{c(){t&&t.c(),e=ke()},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=_h(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function fC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){cn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(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,z,Q,X,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,ce,j,ae,fe]}class cp extends Vt{constructor(e){super(),Dt(this,e,fC,uC,Et,{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 Ih(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(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=ke()},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 h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function N(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?dC:cC}let I=N(i,-1),V=I(i);r=new Tn({props:{node:i[11]}});let E=p&&Th(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Me(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-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=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Th(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&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||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function cC(i){let e,t,n;return{c(){e=S("img"),$e(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&&!$e(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 dC(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 Th(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(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 Lh(i){let e,t,n=i[11].label&&Nh(i);return{c(){n&&n.c(),e=ke()},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=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},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,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Ih(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),I&&I.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(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Bt(gC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?I?(I.p(V,E),E&2&&R(I,1)):(I=Ih(V),I.c(),R(I,1),I.m(g,null)):I&&(ve(),U(I,1,1,()=>{I=null}),we())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&L(e),I&&I.d(),P=!1,Je(N)}}}const gC=()=>{};function _C(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Bl.call(this,i,m)}const b=m=>g(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,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class dp extends Vt{constructor(e){super(),Dt(this,e,_C,hC,Et,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:pC}=pl;function Ah(i,e,t){const n=i.slice();return n[7]=e[t],n}function Eh(i){let e,t,n,l=i[0]&&Rh(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=Rh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Rh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vh(Ah(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=ke()},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 h=Ah(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function Dh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?bC:mC}let P=y(i,-1),N=P(i);a=new Tn({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=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=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),N.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.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),N.d(),Oe(a),v=!1,Je(C)}}}function mC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),$e(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&&!$e(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 bC(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 Vh(i){let e,t,n=i[7].label&&Dh(i);return{c(){n&&n.c(),e=ke()},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=Dh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Oh(i){let e,t;return e=new dp({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(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function vC(i){let e,t,n,l,r,a=!i[1]&&Eh(i),o=i[1]&&Oh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(pC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Eh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Oh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},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 us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function wC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=kt("getUnsavedChangesModalPromise"),h=kt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});nn(async()=>{us()}),Gn(async()=>{r||t(0,r=await Ut.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else at.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Tt.getTranslation(E.label)}function N(E){return me.getNodeHref(E,o)}const I=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,N,I,V]}class hp extends Vt{constructor(e){super(),Dt(this,e,wC,vC,Et,{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 us}}const kn={_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(at.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=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=kn._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),!!kn.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=kn.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 kn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await kn.generateSwitcherNav(e,t)}};function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wh(Uh(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=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Wh(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),ft(n,l)}}}function Hh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(NC)),ee(e,"click",g)],h=!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=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Wh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Hh(i);return{c(){n&&n.c(),t=ke()},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=Hh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qh(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
- <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 zh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gh(Fh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},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=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gh(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){ft(n,l),l&&L(e)}}}function kC(i){return{c:We,m:We,p:We,d:We}}function SC(i){let e,t,n,l,r;function a(d,g){return d[2]?yC:CC}let o=a(i),c=o(i);function h(){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=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function CC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){A(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,h()}}}function yC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),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 Gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:PC,then:SC,catch:kC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),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))&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Kh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Mh(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=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(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),ft(n,l)}}}function jh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!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=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Jh(i){let e,t=i[20].position==="bottom"&&jh(i);return{c(){t&&t.c(),e=ke()},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=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 IC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Bh(i),c=i[3]&&i[3].length===0&&i[10]&&qh(),h=i[3]&&i[3].length&&zh(i),d=i[0]&&i[0].length&&Kh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.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(g,p){A(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Bh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=qh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=zh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Kh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:We,o:We,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const NC=()=>{};function TC(i,e,t){let n,l=We,r=()=>(l(),l=qo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>N(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,N,n,I,V,E,H,D]}class gp extends Vt{constructor(e){super(),Dt(this,e,TC,IC,Et,{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 Yh(i){let e,t,n,l=!i[9]&&Qh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Zh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},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&&(ve(),U(l,1,1,()=>{l=null}),we()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Qh(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=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},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 Qh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?AC:LC}let p=g(i),b=p(i);return a=new gp({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"),Me(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),Ve(a,r,null),c=!0,h||(d=ee(n,"click",Bt(HC)),h=!0)},p(m,v){p===(p=g(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(),Oe(a),h=!1,d()}}}function LC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?RC:EC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-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,g){A(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),h.d(),r=!1,a()}}}function AC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?MC:OC}let h=c(i),d=h(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(g,p){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&L(e),d.d(),a=!1,o()}}}function EC(i){let e,t;function n(a,o){return a[4]?DC:VC}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 RC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),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 DC(i){let e;return{c(){e=Ne(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 VC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 OC(i){let e,t;function n(a,o){return a[4]?FC:UC}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 MC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),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 FC(i){let e;return{c(){e=Ne(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 UC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 Zh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&Xh(i),I=i[4]&&$h(i);return d=new gp({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"),N&&N.c(),o=W(),I&&I.c(),c=W(),h=S("div"),Me(d.$$.fragment),g=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(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),N&&N.m(a,null),w(a,o),I&&I.m(a,null),w(t,c),w(t,h),Ve(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Bt(WC))],y=!0)},p(V,E){V[4]?N&&(N.d(1),N=null):N?N.p(V,E):(N=Xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,E):(I=$h(V),I.c(),I.m(a,null)):I&&(I.d(1),I=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[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),N&&N.d(),I&&I.d(),Oe(d),y=!1,Je(P)}}}function Xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(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 $h(i){let e;return{c(){e=Ne(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 BC(i){let e,t,n=i[3]&&Yh(i);return{c(){n&&n.c(),e=ke()},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=Yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const HC=()=>{},WC=()=>{};function qC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:I}=e,V,E=kt("getUnsavedChangesModalPromise"),H=kt("store"),D=kt("getTranslation");vi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Q;nn(async()=>{pn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=at.getCurrentPath();t(20,m=ie.fallbackLabelResolver),kn.resetFallbackLabelCache(),ie.lazyloadOptions||await Z(),kn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Fn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Z())}),t(21,I=h.defaultLabel)}),Gn(()=>{O!==N&&(O=N,Z()),t(14,Q=o.contextSwitcherPopover||!1)});function X(ie,Re,ze){return ie?Promise.resolve(ie):kn.getFallbackLabel(Re,ze)}function ce(ie){return me.getNodeHref(ie,v)}async function Z(){t(1,g=await kn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,ze=ie.fallbackLabelResolver,Ce=at.getCurrentPath();t(2,b=await kn.getSelectedOption(Ce,g,Re)),t(4,c=await kn.getSelectedLabel(Ce,g,Re,ze)),await kn.getSelectedNode(Ce,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},ze=Re.parentNodePath,Ce=Re.fallbackLabelResolver;t(2,b=await kn.getSelectedOption(ie,g,ze)),t(4,c=await kn.getSelectedLabel(ie,g,ze,Ce)),await kn.getSelectedNode(ie,g,ze)}async function j(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{ae(Re.link)}),P&&r("toggleDropdownState"))}function ae(ie){E().then(()=>{at.navigateTo(ie)},()=>{})}function fe(ie){let Re=ie.detail.option,ze=ie.detail.selectedOption;E().then(()=>{V&&ze?at.navigateTo(kn.getNodePathFromCurrentPath(Re,ze)):at.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Z()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,N=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,I=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,j,fe,ne,Q,n,l,D,X,ce,m,I,v,N,Z,G,ae,p,se,Se]}class _p extends Vt{constructor(e){super(),Dt(this,e,qC,BC,Et,{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:zC}=pl;function xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function eg(i){let e,t,n,l=!i[2]&&tg(i),r=i[2]&&i[3].productSwitcherPopover&&ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},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=tg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},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 tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?KC:GC}let N=P(i,-1),I=N(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=rg(xh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),I.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<E.length;H+=1)E[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",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Mn(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"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,D){A(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),I.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Bt(i[7])),ee(l,"click",Bt(xC))],C=!0)},p(H,D){if(N===(N=P(H,D))&&I?I.p(H,D):(I.d(1),I=N(H),I&&(I.c(),I.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=rg(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Mn(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),I.d(),ft(E,H),C=!1,Je(y)}}}function GC(i){let e,t,n;return{c(){e=S("img"),$e(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&&!$e(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 KC(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 ng(i){let e,t,n,l,r,a;function o(g,p){return g[4]?JC:jC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88"),f(e,"data-testid",l=i[14](i[22]))},m(g,p){A(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88")&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&L(e),h.d(),r=!1,a()}}}function jC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?QC:YC}let g=d(i,-1),p=g(i),b=h&&ig(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),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){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=ig(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 JC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?XC:ZC}let v=m(i,-1),C=v(i),y=d&&lg(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link svelte-1mzhx88")},m(P,N){A(P,e,N),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=lg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function YC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(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 QC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},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-1mzhx88")&&f(e,"class",t)},d(n){n&&L(e)}}}function ig(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){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 ZC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(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 XC(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-1mzhx88")},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-1mzhx88")&&f(e,"class",t)},d(n){n&&L(e)}}}function lg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){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 rg(i){let e,t=i[22].label&&ng(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ng(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ag(i){let e,t;return e=new dp({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(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function $C(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&eg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(zC,"resize",fs),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=eg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},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 fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const xC=()=>{};function e3(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=kt("store"),h=kt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;nn(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{at.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Tt.getTranslation(D.label)}function P(D){return Tt.getTranslation(D.subTitle)}function N(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,I,V,E,H]}class pp extends Vt{constructor(e){super(),Dt(this,e,e3,$C,Et,{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 fs}}function sg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function t3(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[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:We,d(l){l&&L(e),i[15](null),t=!1,n()}}}function n3(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 i3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:We,d(t){t&&L(e),i[19](null)}}}function l3(i){let e,t,n,l=i[4]&&og(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[5])},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=og(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function og(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ug(sg(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[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=sg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ug(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),ft(n,l),i[18](null)}}}function r3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function a3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(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,h),d||(g=ee(e,"click",mt(o3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function ug(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?r3:a3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function s3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?n3:t3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?i3:l3}let E=V(i),H=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),I.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=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[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"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[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),I.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(D,d,O),A(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Bt(u3)),ee(b,"click",i[6]),ee(p,"click",Bt(f3))],C=!0)},p(D,[O]){N===(N=P(D))&&I?I.p(D,O):(I.d(1),I=N(D),I&&(I.c(),I.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:We,o:We,d(D){D&&L(e),I.d(),H.d(),D&&L(d),D&&L(g),C=!1,Je(y)}}}const o3=()=>{},u3=()=>{},f3=()=>{};function c3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g={},p;nn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Gn(()=>{t(7,g=h),p||t(8,p=new rp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function N(D){je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const I=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,N,I,V,E,H]}class d3 extends Vt{constructor(e){super(),Dt(this,e,c3,s3,Et,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function fg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function h3(i){let e,t,n,l,r,a,o,c,h,d,g;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(),h=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(h,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[23](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,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:We,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Je(g)}}}function g3(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 _3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:We,d(t){t&&L(e),i[28](null)}}}function p3(i){let e,t,n,l=i[3]&&cg(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[4])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=cg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function cg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=dg(fg(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[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=fg(l,t,a);n[a]?n[a].p(o,r):(n[a]=dg(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),ft(n,l),i[27](null)}}}function m3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function b3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(w3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function dg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?m3:b3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function hg(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,h){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Bt(S3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Je(o)}}}function gg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-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(h,d){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Bt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&L(e),o=!1,c()}}}function v3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?g3:h3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?_3:p3}let y=C(i),P=y(i),N=!i[5]&&hg(i),I=i[5]&&gg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=ke(),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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),N&&N.m(V,E),A(V,h,E),I&&I.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Bt(k3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[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]?N&&(N.d(1),N=null):N?N.p(V,E):(N=hg(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,E):(I=gg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),N&&N.d(V),V&&L(h),I&&I.d(V),V&&L(d),g=!1,Je(p)}}}const w3=()=>{},k3=()=>{},S3=()=>{};function C3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=kt("getTranslation");vi(i,m,fe=>t(10,n=fe));let v;nn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),Gn(()=>{t(8,b=h),v||t(9,v=new rp(b,d)),v.getCustomRenderer(),I()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function N(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Q(fe){je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const X=()=>I(),ce=(fe,ne)=>E(fe),Z=(fe,ne)=>H(fe,ne);function G(fe){je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,E,H,h,D,z,Q,X,ce,Z,G,j,ae]}class y3 extends Vt{constructor(e){super(),Dt(this,e,C3,v3,Et,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function _g(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?I3:P3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},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 P3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),$e(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&&!$e(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 I3(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 pg(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=Ne(t),l=W(),Me(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Oe(r)}}}function N3(i){let e,t,n,l=i[0].icon&&_g(i),r=(!i[0].icon||i[0].showLabel)&&pg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},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=_g(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=pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},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 T3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Ko extends Vt{constructor(e){super(),Dt(this,e,T3,N3,Et,{node:0})}}const{Boolean:mp,window:mg}=pl;function bg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function vg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function L3(i){let e,t;return e=new cp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function A3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&wg(i);function v(E){i[57](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new JS({props:C}),je.push(()=>wt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&kg(i),P=(!i[0]||i[1])&&Sg(i),N=(i[18]||i[7]&&i[30].length>0)&&yg(i),I=(i[0]||i[16])&&Hg(i),V=i[12]&&Wg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Me(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),N&&N.c(),d=W(),I&&I.c(),g=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(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),N&&N.m(c,null),w(c,d),I&&I.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=wg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],vt(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=kg(E),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Sg(E),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),E[18]||E[7]&&E[30].length>0?N?(N.p(E,H),H[0]&1074004096&&R(N,1)):(N=yg(E),N.c(),R(N,1),N.m(c,d)):N&&(ve(),U(N,1,1,()=>{N=null}),we()),E[0]||E[16]?I?(I.p(E,H),H[0]&65537&&R(I,1)):(I=Hg(E),I.c(),R(I,1),I.m(c,g)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Wg(E),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(N),R(I),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(N),U(I),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function wg(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=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new y3({props:m}),je.push(()=>wt(t,"isSearchFieldVisible",h,i[20])),je.push(()=>wt(t,"searchResult",d,i[24])),je.push(()=>wt(t,"displaySearchResult",g,i[23])),je.push(()=>wt(t,"inputElem",p,i[21])),je.push(()=>wt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Ve(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],vt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],vt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],vt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],vt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],vt(()=>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),Oe(t)}}}function Sg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Cg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new _p({props:o}),je.push(()=>wt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Me(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Ve(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Cg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],vt(()=>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),Oe(t,c)}}}function Cg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](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.customSearchItemRendererSlot=i[22]),e=new d3({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[20])),je.push(()=>wt(e,"searchResult",h,i[24])),je.push(()=>wt(e,"displaySearchResult",d,i[23])),je.push(()=>wt(e,"inputElem",g,i[21])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Me(e.$$.fragment)},m(m,v){Ve(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],vt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],vt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],vt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],vt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function yg(i){let e,t,n,l=i[7]&&i[30].length>0&&Pg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},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[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},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]=Tg(vg(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=ke()},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]&134218208|o[1]&1835169){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Tg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ig(i){let e,t,n,l;const r=[R3,E3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function E3(i){let e,t,n,l,r;const a=[V3,D3],o=[];function c(h,d){return h[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(h,d){A(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function R3(i){let e=i[107].visibleChildren.filter(qg).length>0,t,n,l=e&&Ng(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(qg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ng(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function D3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new Ko({props:b}),je.push(()=>wt(t,"node",p,i[107])),r=new Tn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[107]))},m(v,C){A(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],vt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Oe(t),Oe(r),d=!1,g()}}}function V3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new Ko({props:m}),je.push(()=>wt(t,"node",b,i[107])),r=new Tn({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[107]))},m(C,y){A(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],vt(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[107]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[107])))&&f(e,"data-testid",h)},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),Oe(t),Oe(r),g=!1,p()}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(D){i[76](D,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Ko({props:E}),je.push(()=>wt(r,"node",V,i[107])),c=new Tn({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new hp({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Me(r.$$.fragment),o=W(),Me(c.$$.fragment),b=W(),m=S("div"),Me(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[107])),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[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,N||(I=[ee(l,"click",H),ee(n,"click",Bt(Q3))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],vt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[107])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[107]),O[1]&1&&(X.pathParams=i[31]),O[0]&134217728&&(X.addNavHrefForAnchor=i[27]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Oe(r),Oe(c),Oe(v),N=!1,Je(I)}}}function Tg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Ig(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ig(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,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D;h=new Tn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Ag(i),z=i[46]&&(!i[0]||i[1])&&Eg(i),Q=i[7]&&Rg(i),X=i[12]&&Mg(i),ce=i[12]&&Fg(i),Z=i[14]&&Ug(i),G=(!i[0]||i[1])&&Bg(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(),Me(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),X&&X.c(),N=W(),ce&&ce.c(),I=W(),Z&&Z.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(j,ae){A(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),X&&X.m(m,null),w(n,N),ce&&ce.m(n,null),w(n,I),Z&&Z.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[82]),ee(l,"click",Bt(Z3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!E||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]&&!j[29]?O?O.p(j,ae):(O=Ag(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[46]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Eg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Q?(Q.p(j,ae),ae[0]&128&&R(Q,1)):(Q=Rg(j),Q.c(),R(Q,1),Q.m(m,y)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),j[12]?X?X.p(j,ae):(X=Mg(j),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Fg(j),ce.c(),R(ce,1),ce.m(n,I)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?Z?(Z.p(j,ae),ae[0]&16384&&R(Z,1)):(Z=Ug(j),Z.c(),R(Z,1),Z.m(n,V)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Bg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){E||(R(h.$$.fragment,j),R(Q),R(ce),R(Z),R(G),E=!0)},o(j){U(h.$$.fragment,j),U(Q),U(ce),U(Z),U(G),E=!1},d(j){j&&L(e),Oe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),X&&X.d(),ce&&ce.d(),Z&&Z.d(),G&&G.d(),H=!1,Je(D)}}}function Ag(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=ee(t,"click",Bt(i[83])),n=!0)},p:We,d(r){r&&L(e),n=!1,l()}}}function Eg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){A(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Bt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Le(c,o)},d(g){g&&L(e),h=!1,d()}}}function Rg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Og(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=ke()},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]&2031656){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=bg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Og(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dg(i){let e,t,n,l,r;const a=[M3,O3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(Y3).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=ke()},m(h,d){~t&&o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(ve(),U(o[g],1,1,()=>{o[g]=null}),we()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){~t&&o[t].d(h),h&&L(l)}}}function O3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?U3:F3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new Tn({props:{node:i[107]}});function I(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),N.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ee(t,"click",mt(I)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[107])+"")&&Le(d,h),(!m||E[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&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),N.d(),Oe(a),v=!1,C()}}}function M3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,N=l&&Vg(i);a=new Tn({props:{node:i[107]}});function I(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N&&N.c(),r=W(),Me(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=re.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Ve(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",mt(I)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[48](i[107])),l?N?N.p(i,E):(N=Vg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[49](i[107])+"")&&Le(g,d),(!C||E[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=re.getTestId(i[107])+"-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),N&&N.d(),Oe(a),y=!1,P()}}}function F3(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function U3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vg(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Og(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Dg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Dg(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 Mg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?H3:B3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Bt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(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,h()}}}function B3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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&&!$e(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 H3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fg(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[87]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Ug(i){let e,t;return e=new hp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Bg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new _p({props:h}),je.push(()=>wt(e,"dropDownStates",a,i[6])),je.push(()=>wt(e,"selectedLabel",o,i[44])),je.push(()=>wt(e,"defaultLabel",c,i[45])),e.$on("toggleDropdownState",i[91]),{c(){Me(e.$$.fragment)},m(d,g){Ve(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],vt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],vt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],vt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Hg(i){let e,t,n,l,r;const a=[q3,W3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[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(h,d){A(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&L(e),o[n].d()}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?G3:z3}let y=C(i),P=y(i);return g=new cp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Me(g.$$.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(N,I){A(N,e,I),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Ve(g,d,null),b=!0,m||(v=[ee(r,"click",i[95]),ee(n,"click",Bt($3))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(R(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&L(e),P.d(),Oe(g),m=!1,Je(v)}}}function q3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?j3:K3}let g=d(i),p=g(i);return r=new nC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Me(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),Ve(r,l,null),o=!0,c||(h=ee(t,"click",Bt(X3)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(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(),Oe(r),c=!1,h()}}}function z3(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 G3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function K3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-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=ee(e,"click",i[93]),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 j3(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"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ee(e,"click",i[92]),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&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Wg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[98]),{c(){Me(e.$$.fragment)},m(a,o){Ve(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],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function J3(i){let e,t,n,l,r,a;const o=[A3,L3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(mg,"click",i[41]),ee(mg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(ve(),U(c[p],1,1,()=>{c[p]=null}),we(),t=c[e],t?t.p(d,g):(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,Je(a)}}}const Y3=i=>!i.hideFromNav&&i.label,qg=i=>!i.hideFromNav&&i.label,Q3=()=>{},Z3=()=>{},X3=()=>{},$3=()=>{};function x3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:ce}=e,{inputElem:Z}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:j}=e,{searchResult:ae}=e,{burgerTooltip:fe}=e,{responsiveShellbarPadding:ne}=e,se=kt("store"),Se=!1,ie,Re,ze=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Ce=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Pe=async()=>{if(p&&0<p.length){const Y=await re.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,N=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},Fe=()=>{t(1,a=fl.isLoggedIn())};nn(()=>{pn.doOnStoreChange(se,()=>{t(0,l=mi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=re.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,X=Q&&Q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Ce=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,ze=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),pn.doOnStoreChange(se,()=>{Pe()},["navigation.viewgroupdata"]),Fn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})}),Gn(()=>{(!b||b!=p)&&Pe(),Fe()});let{showTopNav:ct}=e;function qe(Y){return re.renderIconClassName(Y)}function dt(Y){return re.isOpenUIiconName(Y.icon)}const Ft=Y=>re.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function xe(Y,Rt){return re.generateTooltipText(Y,Rt)}function St(){tt("productSwitcherPopover")}function ln(){t(43,Se=!Se),tt("contextSwitcherPopover")}function Ln(Y){t(14,H=!0),t(15,D=Y)}function an(){t(14,H=!1)}function Ht(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function rt(Y){Ht(Y.detail.node)}function tt(Y){const Rt=v||{},bn=!Rt[Y];Lt(),an(),Rt[Y]=bn,t(6,v=Rt)}function Yt(Y){tt(Y.detail.name)}function Qt(){Z&&Z.focus()}function An(){ce||setTimeout(()=>{Qt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Z,customSearchItemRendererSlot:G})}function Lt(){const Y=v||{},Rt=Object.keys(Y);Rt&&Rt.length>0&&Rt.forEach(bn=>{Y[bn]=!1,t(6,v=Y)})}function gn(){h==="simple"||h==="simpleMobileOnly"?Gt():Sn(),xn()}function xn(){if(!re.getBurgerTooltipConfig())return;const[Y,Rt]=re.getBurgerTooltipConfig();Y&&Rt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,fe=document.body.classList.contains("lui-leftNavToggle")?Y:Rt),document.body.classList.contains("lui-semiCollapsible")&&t(25,fe=document.body.classList.contains("semiCollapsed")?Y:Rt))}function Gt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Sn(){pi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wi(Y){const Rt=Y.detail;t(17,z=Rt||{})}function ki(Y){v=Y,t(6,v)}function mn(Y){ce=Y,t(20,ce)}function Si(Y){ae=Y,t(24,ae)}function Ci(Y){j=Y,t(23,j)}function yi(Y){Z=Y,t(21,Z)}function Pi(Y){G=Y,t(22,G)}function Ii(Y){Bl.call(this,i,Y)}function ml(Y){Bl.call(this,i,Y)}function bl(Y){Bl.call(this,i,Y)}function vl(Y){ce=Y,t(20,ce)}function Ni(Y){ae=Y,t(24,ae)}function Gi(Y){j=Y,t(23,j)}function Ki(Y){Z=Y,t(21,Z)}function oi(Y){G=Y,t(22,G)}function wl(Y){Bl.call(this,i,Y)}function kl(Y){Bl.call(this,i,Y)}function ji(Y){Bl.call(this,i,Y)}function Sl(Y){v=Y,t(6,v)}const Cl=()=>tt("contextSwitcherPopover");function yl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const Ti=Y=>tt(`dropDownPopover-${Y}`);function Pl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ei=(Y,Rt)=>{re.handleNavAnchorClickedWithoutMetaKey(Rt)&&Ht(Y)};function Li(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ui=Y=>Ht(Y),Ai=()=>tt("overflowPopover"),fi=()=>{An(),tt("overflowPopover")},K=Y=>Ht(Y),be=Y=>Ln(Y);function Xe(Y){v=Y,t(6,v)}const nt=()=>tt("productSwitcherPopover");function it(Y){v=Y,t(6,v)}function bt(Y){ie=Y,t(44,ie)}function Wt(Y){Re=Y,t(45,Re)}const Zt=()=>tt("contextSwitcherPopover"),ci=()=>tt("profilePopover"),Ji=()=>tt("profilePopover"),Il=()=>tt("profilePopover"),di=()=>tt("profilePopover"),Nl=()=>tt("profilePopover");function Ei(Y){v=Y,t(6,v)}const ql=()=>tt("productSwitcherPopover"),br=()=>tt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,N=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,E=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,D=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,X=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,ce=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,Z=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"searchResult"in Y&&t(24,ae=Y.searchResult),"burgerTooltip"in Y&&t(25,fe=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,Ce=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,ct=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,ct=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,E,H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,Ce,ct,o,p,m,St,ln,Ln,an,Ht,rt,tt,Yt,An,Lt,wi,Se,ie,Re,ze,qe,dt,Ft,de,xe,gn,r,Te,Gt,Sn,ki,mn,Si,Ci,yi,Pi,Ii,ml,bl,vl,Ni,Gi,Ki,oi,wl,kl,ji,Sl,Cl,yl,Ti,Pl,ei,Li,ui,Ai,fi,K,be,Xe,nt,it,bt,Wt,Zt,ci,Ji,Il,di,Nl,Ei,ql,br]}class bp extends Vt{constructor(e){super(),Dt(this,e,x3,J3,Et,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function zg(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 e9(i){let e,t=i[0]&&zg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=zg(),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 t9(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(at.getCurrentPath(),n),a=await Ut.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 nn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");dr.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)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}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 n9 extends Vt{constructor(e){super(),Dt(this,e,t9,e9,Et,{node:0})}}const{window:Vo}=pl;function Gg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Kg(i,e,t){const n=i.slice();return n[57]=e[t],n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function i9(i){const e=i.slice(),t=vp(e[54]);return e[67]=t,e}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Oo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function l9(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function Xg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&$g(i),P=Object.entries(i[0]),N=[];for(let D=0;D<P.length;D+=1)N[D]=s_(Jg(i,P,D));const I=D=>U(N[D],1,1,()=>{N[D]=null});let V=Object.entries(i[0]),E=[];for(let D=0;D<V.length;D+=1)E[D]=c_(Gg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<N.length;D+=1)N[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
59
- <span class="sap-icon--slim-arrow-down"></span>`,d=W(),g=S("div"),p=S("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"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(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"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(D,O){A(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<N.length;z+=1)N[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<E.length;z+=1)E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",mt(i[10])),ee(a,"click",b9),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=$g(D),y.c(),R(y,1),y.m(e,t)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),O[0]&3866829){P=Object.entries(D[0]);let z;for(z=0;z<P.length;z+=1){const Q=Jg(D,P,z);N[z]?(N[z].p(Q,O),R(N[z],1)):(N[z]=s_(Q),N[z].c(),R(N[z],1),N[z].m(l,r))}for(ve(),z=P.length;z<N.length;z+=1)I(z);we()}if(O[0]&1704173){V=Object.entries(D[0]);let z;for(z=0;z<V.length;z+=1){const Q=Gg(D,V,z);E[z]?(E[z].p(Q,O),R(E[z],1)):(E[z]=c_(Q),E[z].c(),R(E[z],1),E[z].m(p,null))}for(ve(),z=V.length;z<E.length;z+=1)H(z);we()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(N[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&L(e),y&&y.d(),ft(N,D),i[31](null),ft(E,D),i[36](null),i[37](null),i[39](null),v=!1,Je(C)}}}function $g(i){let e,t;return e=new n9({props:{node:i[11].parent}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function r9(i){let e,t,n,l,r;const a=[o9,s9],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!h9(d[54])),e?0:1}function h(d,g){return g===0?i9(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=ke()},m(d,g){o[t].m(d,g),A(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(ve(),U(o[p],1,1,()=>{o[p]=null}),we(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(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 a9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=a_(Zg(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=ke()},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]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=a_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function s9(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function E(){return i[29](i[53])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=t_(Yg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=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 z=0;z<D.length;z+=1)D[z].c();y=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",g=cl(i[53],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",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=cl(i[53],i[2]))},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let X=0;X<D.length;X+=1)D[X].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",mt(E)),ee(e,"click",m9)],I=!0)},p(z,Q){if(i=z,(!N||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!N||Q[0]&5&&g!==(g=cl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Yg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=t_(ce),D[X].c(),R(D[X],1),D[X].m(m,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!N||Q[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!N||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Q[0]&5&&P!==(P=cl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);N=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);N=!1},d(z){z&&L(e),ft(D,z),I=!1,Je(V)}}}function o9(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=i[54],z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=i_(Qg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();I=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[53],i[2])),f(t,"href",o=i[20](i[67])),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[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"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",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",N=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce].m(y,null);w(e,I),V||(E=[ee(t,"click",mt(H)),ee(p,"click",mt(D)),ee(e,"click",p9)],V=!0)},p(Q,X){if(i=Q,X[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),X[0]&5&&a!==(a=cl(i[53],i[2]))&&f(t,"aria-selected",a),X[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),X[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),X[0]&1572933){O=i[54];let ce;for(ce=0;ce<O.length;ce+=1){const Z=Qg(i,O,ce);z[ce]?z[ce].p(Z,X):(z[ce]=i_(Z),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}X[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),X[0]&9&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:We,o:We,d(Q){Q&&L(e),ft(z,Q),V=!1,Je(E)}}}function xg(i){let e,t,n=i[57].label&&e_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},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=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===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),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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),Oe(o),b=!1,m()}}}function t_(i){let e,t,n=!i[57].hideFromNav&&xg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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 n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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[20](i[57])),f(t,"aria-selected",o=i[57]===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),h||(d=ee(t,"click",mt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),h=!1,d()}}}function i_(i){let e,t=!i[57].hideFromNav&&i[57].label&&n_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=n_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function l_(i){let e,t,n=i[57].label&&r_(Oo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Oo(l),r),r[0]&1&&R(n,1)):(n=r_(Oo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function r_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new $n({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=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[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",mt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&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),Oe(o),m=!1,v()}}}function a_(i){let e,t,n=!i[57].hideFromNav&&l_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(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 s_(i){let e,t,n,l,r,a;const o=[a9,r9],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!d9(g[54])),t?1:-1)}function d(g,p){return p===1?l9(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=ke()},m(g,p){~n&&c[n].m(g,p),A(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(ve(),U(c[b],1,1,()=>{c[b]=null}),we()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){~n&&c[n].d(g),g&&L(r)}}}function u9(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=u_(Kg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].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[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=cl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"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[53]+i[56]]),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[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let X=0;X<D.length;X+=1)D[X].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",mt(V)),ee(d,"click",mt(E))],N=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=cl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Kg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=u_(ce),D[X].c(),R(D[X],1),D[X].m(v,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);P=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);P=!1},d(z){z&&L(e),ft(D,z),N=!1,Je(I)}}}function f9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(jg(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=ke()},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]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=jg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){ft(l,a),a&&L(e)}}}function o_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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),Oe(o),b=!1,m()}}}function u_(i){let e,t,n=i[57].label&&o_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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),Oe(o),b=!1,m()}}}function c_(i){let e,t,n,l,r;const a=[f9,u9],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ke()},m(h,d){o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){o[t].d(h),h&&L(l)}}}function c9(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Xg(i);return{c(){r&&r.c(),e=ke()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ee(Vo,"click",i[8]),ee(Vo,"blur",i[8]),ee(Vo,"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=Xg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Je(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function d9(i){return i.some(e=>!e.hideFromNav&&e.label)}function vp(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 h9(i){return!!vp(i)}function g9(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function _9(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),g9(e)||e.classList.add("fd-popover__body--right")})}const p9=i=>i.stopPropagation(),m9=i=>i.stopPropagation(),b9=i=>i.stopPropagation();function v9(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=kt("getTranslation");vi(i,C,Te=>t(17,n=Te));let y=kt("store"),P,N,I,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(rt=>{rt==="pathData"?t(1,r=Te.pathData):rt==="context"?context=Te.context:rt==="children"?t(0,l=Te.children):rt==="selectedNode"?t(11,b=Te.selectedNode):rt==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Jt();function z(Te){return re.getNodeLabel(Te)}const Q=async()=>{const Te=D.get(),rt=await Ut.getTabNavData({...Te},Te);rt&&(D.set({...rt}),m=r,window.LEFTNAVDATA=rt.groupedChildren,setTimeout(X))},X=()=>{if(ce(),I&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(I),rt=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let tt=0,Yt=!1;[...I.children].forEach(Qt=>{const An=Qt.getAttribute("uid");if(!An)return;const Lt=getComputedStyle(Qt),gn=parseFloat(Lt.marginLeft)+parseFloat(Lt.marginRight);tt+=Qt.offsetWidth+gn,tt>=rt?(Qt.classList.add("hide_element"),Qt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+An+'"]').classList.remove("hide_element"),Yt=!0):document.querySelector('li[uid="'+An+'"]').classList.add("hide_element")}),Yt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{I!==void 0&&[...I.children].forEach(rt=>{rt.classList.remove("hide_element")})},Z=()=>{P=new ResizeObserver(Te=>{for(const rt of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",rt.contentRect.height+"px");H&&_9()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};nn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Z(),pn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),Xr(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Gn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),Zr(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):Z()});function j(Te){return me.getNodeHref(Te,a)}function ae(Te){ne(),O("handleClick",{node:Te})}function fe(Te){let rt={};d[Te]||(rt[Te]=!0),t(3,d=rt)}function ne(){t(3,d={}),t(4,g=!1)}function se(){ce(),X()}function Se(){t(4,g=!g)}function ie(Te,rt){const tt=Te==="undefined",Yt=Te.indexOf(c)===0;if(tt||Yt||Re(rt))return!0}function Re(Te){const rt=Te.find(Qt=>le.isObject(Qt.category));if(!rt)return;const tt=rt.category.label||rt.category.id;return Te.filter(Qt=>Qt.category===tt&&Qt.hideFromNav===!0).length===1}const ze=Te=>ae(Te),Ce=Te=>ae(Te),Pe=Te=>fe(Te),Fe=Te=>ae(Te),ct=Te=>fe(Te),qe=Te=>ae(Te);function dt(Te){je[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const Ft=Te=>ae(Te),de=(Te,rt)=>fe(Te+rt),xe=(Te,rt)=>fe(Te+rt),St=Te=>ae(Te);function ln(Te){je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function Ln(Te){je[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const an=Te=>fe(Te.name);function Ht(Te){je[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,ae,fe,ne,se,Se,b,N,I,V,E,H,n,C,z,j,ie,o,a,p,ze,Ce,Pe,Fe,ct,qe,dt,Ft,de,xe,St,ln,Ln,an,Ht]}class wp extends Vt{constructor(e){super(),Dt(this,e,v9,c9,Et,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,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 d_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function h_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function g_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&__(i),o=i[0]&&i[3].length>=0&&v_(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-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){A(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=__(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=v_(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 __(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=b_(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-nested-list svelte-fn8cef")},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=h_(l,t,a);n[a]?n[a].p(o,r):(n[a]=b_(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),ft(n,l)}}}function p_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&m_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(N,I){A(N,e,I),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=m_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&L(e),y&&y.d(),v=!1,C()}}}function m_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?k9:w9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},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 w9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(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&&!$e(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 k9(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-fn8cef")},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-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function b_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&p_(i);return{c(){t&&t.c(),e=ke()},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=p_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function v_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(d_(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-fn8cef")},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=d_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(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),ft(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(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=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(N,I){A(N,e,I),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(n,"click",mt(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&L(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?C9:S9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},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 S9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(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&&!$e(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 C9(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-fn8cef")},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-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function S_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=ke()},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=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function y9(i){let e,t,n,l=i[2]&&g_(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ee(window,"click",cs),ee(window,"blur",cs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=g_(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,Je(n)}}}function cs(){}function P9(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=kt("store"),g=kt("getTranslation");vi(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};nn(()=>{pn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Gn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function N(O){return Tt.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,cs,v,n,g,y,P,N,I,b,m,o,E,H,D]}class I9 extends Vt{constructor(e){super(),Dt(this,e,P9,y9,Et,{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 cs}}function N9(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 T9(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=kt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};nn(()=>{pn.doOnStoreChange(c,()=>{},["navigation"])}),Gn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=at.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?Tt.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const E=await p(I);E&&C.push({label:E,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await Ut.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(I,D);C.push({label:O.label,node:I,route:V});continue}catch{}}const E=await p(I);E&&C.push({label:E,node:I,route:V})}P===at.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,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(N=>{a[N.route]=N}))}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 Tt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(at.getCurrentPath(),v),y=await Ut.extractDataFromPath(C);return me.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,h=v.showBreadcrumb)},[o,h,l,b,m]}class kp extends Vt{constructor(e){super(),Dt(this,e,T9,N9,Et,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Wo="not_checked";Fn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Wo="disabled"):i.data==="luigi.tpcEnabled"&&(Wo="enabled")},!1);function L9(){return Wo}const{Boolean:A9,window:C_}=pl;function y_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function P_(i){let e,t;return e=new d2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function I_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new ap({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&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){Oe(e,a)}}}function N_(i){let e,t,n=i[154].mfModal.displayed&&I_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=I_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},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;return e=new ap({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[E9]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&4096|l[5]&4&&(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){Oe(e,n)}}}function E9(i){let e,t;return e=new gl({props:{area:"drawer",disable:i[12]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function L_(i){let e,t;return e=new _2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new E2({props:r}),je.push(()=>wt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(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],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function R9(i){let e,t,n,l,r,a,o,c;e=new gl({props:{disable:i[12],$$slots:{default:[V9]},$$scope:{ctx:i}}});let h=i[10]&&R_(),d=!i[25]&&D_(i),g=!i[20]&&V_(i),p=!(i[20]||i[22])&&M_(i),b=i[15]&&!i[20]&&F_(i);return{c(){Me(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){Ve(e,m,v),A(m,t,v),h&&h.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),g&&g.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]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=R_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(ve(),U(d,1,1,()=>{d=null}),we()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=D_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(ve(),U(g,1,1,()=>{g=null}),we()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=V_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[22]?p&&(ve(),U(p,1,1,()=>{p=null}),we()):p?(p.p(m,v),v[0]&5242880&&R(p,1)):(p=M_(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=F_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ve(),U(b,1,1,()=>{b=null}),we())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){Oe(e,m),m&&L(t),h&&h.d(m),m&&L(n),d&&d.d(m),m&&L(l),g&&g.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function D9(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new gl({props:{disable:i[12]}});let C=!i[25]&&U_(i),y=!(i[20]||i[22])&&B_(i),P=i[19]&&H_(i);b=new gl({props:{disable:i[12],$$slots:{default:[O9]},$$scope:{ctx:i}}});let N=i[10]&&z_();return{c(){Me(e.$$.fragment),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),C&&C.c(),o=W(),c=S("div"),y&&y.c(),h=W(),d=S("div"),P&&P.c(),g=W(),p=S("div"),Me(b.$$.fragment),m=W(),N&&N.c(),f(a,"class","fd-tool-layout__header-container"),f(r,"class","fd-tool-layout__container"),f(p,"class","lui-box svelte-qmtge1"),f(d,"class","fd-tool-layout__content-container svelte-qmtge1"),f(c,"class","fd-tool-layout__container lui-main-content"),f(l,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(n,"class","lui-core-layout svelte-qmtge1")},m(I,V){Ve(e,I,V),A(I,t,V),A(I,n,V),w(n,l),w(l,r),w(r,a),C&&C.m(a,null),w(l,o),w(l,c),y&&y.m(c,null),w(c,h),w(c,d),P&&P.m(d,null),w(d,g),w(d,p),Ve(b,p,null),w(p,m),N&&N.m(p,null),v=!0},p(I,V){const E={};V[0]&4096&&(E.disable=I[12]),e.$set(E),I[25]?C&&(ve(),U(C,1,1,()=>{C=null}),we()):C?(C.p(I,V),V[0]&33554432&&R(C,1)):(C=U_(I),C.c(),R(C,1),C.m(a,null)),I[20]||I[22]?y&&(ve(),U(y,1,1,()=>{y=null}),we()):y?(y.p(I,V),V[0]&5242880&&R(y,1)):(y=B_(I),y.c(),R(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&R(P,1)):(P=H_(I),P.c(),R(P,1),P.m(d,g)):P&&(ve(),U(P,1,1,()=>{P=null}),we());const H={};V[0]&4096&&(H.disable=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=z_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(R(e.$$.fragment,I),R(C),R(y),R(P),R(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){Oe(e,I),I&&L(t),I&&L(n),C&&C.d(),y&&y.d(),P&&P.d(),Oe(b),N&&N.d()}}}function E_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function V9(i){let e,t,n,l,r,a,o,c,h;t=new gl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&E_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){A(g,e,p),Ve(t,e,null),w(e,n),w(e,l),A(g,r,p),d&&d.m(g,p),A(g,a,p),o=!0,c||(h=j_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=E_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ve(),U(d,1,1,()=>{d=null}),we())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&L(e),Oe(t),g&&L(r),d&&d.d(g),g&&L(a),c=!1,h()}}}function R_(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
- <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-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function D_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],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.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),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],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function V_(i){let e,t,n,l;e=new I9({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&O_(i);return{c(){Me(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Ve(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=O_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Oe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function O_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function M_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function F_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function U_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],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.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),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],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function B_(i){let e,t,n,l;return n=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Me(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){A(r,e,a),w(e,t),Ve(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),Oe(n)}}}function H_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function W_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function q_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(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){Oe(e,n)}}}function O9(i){let e,t,n,l,r,a,o,c,h,d;t=new gl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&W_(i),p=i[11].displayed&&q_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),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),Ve(t,e,null),w(e,n),w(e,l),A(b,r,m),g&&g.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,h||(d=j_(i[46].call(null,e)),h=!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]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=W_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=q_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&L(e),Oe(t),b&&L(r),g&&g.d(b),b&&L(a),p&&p.d(b),b&&L(o),h=!1,d()}}}function z_(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
- <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-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&P_(i),b=i[28],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&T_(i),y=i[27].displayed&&L_(i),P=i[17].displayed&&A_(i);const N=[D9,R9],I=[];function V(E,H){return E[30]?0:1}return o=V(i),c=I[o]=N[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].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[24]),f(e,"class","svelte-qmtge1"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[22]),jt(e,"no-top-nav",i[25]),jt(e,"no-animation",i[23]),jt(e,"btp-layout",i[30])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].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),I[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[36]),ee(C_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=E[28];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&jt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&jt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&jt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(A9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Je(g)}}}function F9(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Q,X,ce,Z=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,ze,Ce,Pe={},Fe,ct,qe,dt=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ft}=e,{inputElem:de}=e,{customSearchItemRendererSlot:xe}=e,{displaySearchResult:St}=e,{searchResult:ln}=e,{storedUserSettings:Ln}=e;const an=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Ee&&typeof Ge=="object"&&Ge!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Bo.getCSSVariables()});return Ae.specialIframeTypes.map(Ue=>Ue.iframeConfigKey).forEach(Ue=>{he[Ue]=B[Ue]||!1}),he},Ht=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||I,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await an(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},rt=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Sn(B.params),Ge=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:I}),ue.iframe.pv="pv"}},tt=(B,ue,Ee,Ge)=>{let Ie=Sn(B.params,Ee,Ge);const{preventHistoryEntry:he,preserveQueryParams:Ue,preventContextUpdate:Ct}=B.params,qt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:Ct};return Ie=le.addLeadingSlash(Ie),Ie=Ue?me.composeSearchParamsToRoute(Ie):Ie,rt(B,ue),at.navigateTo(Ie,qt)},Yt=B=>B.split("?")[0],Qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Yt(Ge.path),Yt(Ge.nextPath)].includes(Yt(Ee))},An=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{Ei(B)?ql().then(()=>{An(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ei,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:I,pathParams:E,hideGlobalSearch:Li,hideSideNav:ui,isolateView:Q,pageErrorHandler:X,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ei=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Li=B.hideGlobalSearch):ue==="hideSideNav"?(ui!=B.hideSideNav&&(t(23,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ui=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?X=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(qe),qe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(qe)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ei,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:ql,showAlert:Wt,prepareInternalData:an,dispatch:n}),xn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),zn.deleteCache();const Ge=at.getCurrentPath();at.handleRouteChange(Ge,gn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Qt(ne,Ee)||(ne=[],ai.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Yi(Ct);$r.removeBackdrop(),oi(),at.handleRouteChange(Ee,gn(),B,ue,Ie,he)})},Gt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Sn=(B,ue,Ee)=>{const Ge=ue||D,Ie=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ue=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(qt=>qt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromParent)Ue=at.concatenatePath(Gt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(qt=>qt.navigationContext&&qt.navigationContext.length>0);Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromContext){const Ct=B.fromContext,qt=[...he].reverse().find(yr=>Ct===yr.navigationContext);Ue=at.concatenatePath(Gt(qt,Ie),B.link)}else B.intent?Ue=me.getIntentPath(B.link):B.relative&&(Ue=at.concatenatePath(Gt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ue+=Ue.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,qt)=>{Ue+=encodeURIComponent(me.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(qt<Object.keys(B.nodeParams).length-1?"&":"")})),Ue},wi=B=>{const ue=B.detail.node;Lt().then(()=>{if(Xe(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,gn())},()=>{})},ki=()=>{t(16,Re=!Re)};qr("handleNavigation",tt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Si=()=>{mn(Ce)&&t(0,Ft=!1)},Ci=()=>{mn(Ce)&&de&&(t(0,Ft=!0),de.focus())},yi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ni())},Pi=()=>{t(0,Ft=!Ft),Dk.clearSearchField()},Ii=()=>{if(mn(Ce)&&de)return de.value},ml=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},bl=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},vl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,xe,ue)}else t(3,St=!0),t(4,ln=B);else console.warn("Search result array is empty.")},Ni=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,ln=[]),xe))for(;xe.lastElementChild;)xe.removeChild(xe.lastElementChild)},Gi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};tt(Ee)},Ki=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ht.getDefaultData().mfSplitView),ht.open(gn(),B,ue)},oi=()=>{ht.close(gn())},wl=()=>{ht.collapse(gn()),t(11,o.collapsed=!0,o)},kl=()=>{ht.expand(gn()),t(11,o.collapsed=!1,o)},ji=()=>o.displayed?o.collapsed:!1,Sl=()=>o.displayed?!o.collapsed:!1,Cl=()=>o.displayed,yl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ti=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)},Pl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ei,Li,ui,Ai,fi,K,be;const Xe=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{Qi();const B=window.innerWidth>=fn.desktopMinWidth&&fi<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&fi>=fn.desktopMinWidth;(B||ue)&&Xe(),fi=window.innerWidth};let it=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Wt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ge=it;return B.id||(B.id=le.getRandomId()),B.id&&Ge&&bt(Ge,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(()=>{bt(it,B.id)&&Zt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,it=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Zt=(B,ue)=>{const Ee=bt(it,B);if(!Ee){console.error("An unexisting alert has been dismissed.",it,B);return}if(t(26,it=it.filter(Ge=>Ge.settings.id!==B)),Ee.openFromClient){const Ge=ai.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ge,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},ci=B=>{Zt(B.detail.id,B.detail.dismissKey)};let Ji;const Il=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Il();const di=(B,ue=!1,Ee)=>new Promise((Ge,Ie)=>{t(27,Ji={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Ee})}),Nl=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ge}=Ji;if(Il(),B?ue.resolve():ue.reject(),Ee&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ge,Ie)}},Ei=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>di({header:Tt.getTranslation("luigi.unsavedChangesAlert.header"),body:Tt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")}),br=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;qr("getUnsavedChangesModalPromise",Lt);let Y=[];const Rt=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ge=Ee==null?void 0:Ee.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Rt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ti=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},xr=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Yi=(B,ue,Ee)=>{const Ge=(Ue,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(Ct),Rt(Ue,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Lt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Ee))};qr("openViewInModal",bn);let rn={};const zl=()=>{t(29,rn.displayed=!1,rn),t(29,rn.nodepath=void 0,rn),t(29,rn.settings={},rn),t(12,g=!1)};zl();const vr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,rn.displayed=!0,rn),t(29,rn.nodepath=B,rn),t(29,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},ea=()=>window.innerWidth>=fn.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Qi=(B=!1)=>{if(!ea())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Ee.forEach(Ie=>{wr(Ie,Ge)})}},wr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ps=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Qi()},ta=B=>{m=B.detail.modalWC,B.detail.modalWCData,Qi()},Gl=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?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ms=()=>{const B=cr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},na=()=>{t(17,Pe.displayed=!1,Pe)},ia=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ge=Gt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Ue=>Ue.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromParent){const Ie=Gt(D.parent,E);Ee=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Ue=>Ue.navigationContext&&Ue.navigationContext.length>0),he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Ct=>Ie===Ct.navigationContext),Ue=Gt(he,E);Ee=Ge.split(Ue).join("")}else Ee=Ge;return Ee};function bs(B){sessionStorage.removeItem("historyState"),fr.shouldPreload=!0,fr.preload(!0),fr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Tt.addCurrentLocaleChangeListener(he=>{const Ue={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ue)}),Fn.addEventListener("popstate",async he=>{const Ue=it;if(!Ue||!(Ue.length>0))return;const Ct=Ue.map(qt=>{if(qt&&!qt.openFromClient&&typeof qt.settings.ttl=="number"){if(qt.settings.ttl===0)return null;qt.settings.ttl--}return qt}).filter(qt=>qt);t(26,it=Ct)}),Fn.addEventListener("message",async he=>{const Ue=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],qt=Ct&&Ct.modalIframe,yr=Ct&&Ct.modalIframeData,Xi={modalIframe:qt,modalIframeData:yr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!Ue)return;Ue._ready=!0;const Pr=Ae.getSpecialIframeMessageSource(he,Xi),Ri=Pr&&Pr.length>0,Ir=te.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Ri&&Ue.contentWindow!==window&&!le.isElementVisible(Ue)&&Ir.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=te.getConfigValue("communication.customMessagesListeners")||{},It=as.convertCustomMessageInternalToUser(he.data),yt=Be[It.id],sn="luigi.updateUserSettings";if(Pe&&It.id===sn){yt&&console.warn(`The key "${sn}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Cn=zi.getMicrofrontends().find(Xt=>Ae.isMessageSource(he,Xt.container));yt(It,Cn,le.removeInternalProperties(Ue.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ue.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ue.luigi.viewUrl=Ue.luigi.nextViewUrl,Ue.luigi.nextViewUrl="",Ue.luigi.clientPermissions=Ue.luigi.nextClientPermissions,delete Ue.luigi.nextClientPermissions,Ie.navigateOk=!0,fr.preload()),he.data.msg==="luigi.get-context"){if(Ue.luigi.clientVersion=he.data.clientVersion,Ue.luigi.initOk=!1,Ri)Pr.forEach(async Be=>{let It=Xi[Be.dataKey].context;const yt={...Ie,iframe:Xi[Be.iframeKey],context:It,pathParams:Xi[Be.dataKey].pathParams,nodeParams:Xi[Be.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Xi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Ht(yt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Ht(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Sr(),fr.preload();else if(Ue.luigi.preloading)await Ht({iframe:Ue,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let It=Be.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ln[It]},iframe:Be};await Ht(yt)}}fr.viewGroupLoaded(Ue)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(qe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Be=window.location.href,It=Ri?Ue.luigi.currentNode:void 0,yt=Ri?Ue.luigi.pathParams:void 0,sn=he.data.params,{intent:Cn,newTab:Xt,modal:$i,splitView:Yl,drawer:Tl,withoutSync:Ts}=sn;let Ql=Xt||$i||Yl||Tl;const ca=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doResolve()},dn=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doReject()},Ll=Kn=>{!Kn||Be!==window.location.href?ca():dn()};he.source!==window&&!Cn&&sn.link&&(sn.link=sn.link.split("?")[0]);let Ot=Sn(he.data.params,It,yt);if(Ql=Ql||Cn&&Ot.external,!Ql)Lt().then(()=>{Z=!he.data.params.withoutSync,tt(he.data,Ie,It,yt).then(()=>{Ll(!0)}).catch(()=>{dn()}),Y.forEach((Kn,da)=>{Yi(da)}),oi(),Kl(),Z=!0}).catch(()=>{dn()});else{if(Cn&&Ot.external){at.navigateToExternalLink({url:Ot.url,sameWindow:!Ot.openInNewTab});return}if(Ot=le.addLeadingSlash(Ot),Xt){await ia(Ot),Ll();return}const Kn=await Jl(Ot);if(Ot=await me.handlePageNotFoundAndRetrieveRedirectPath(gn(),Ot,Kn),!Ot){dn();return}fe=B,$i!==void 0?(!$i.keepPrevious&&Rt(),await bn(Ot,$i===!0?{}:$i,Ue),Ll()):Yl!==void 0?(await Ki(Ot,Yl),Ll()):Tl!==void 0&&(zl(),Tl.isDrawer=!0,await vr(Ot,Tl),Ll())}}if(he.data.msg==="luigi.navigation.back"){const Be=Y[Y.length-1],It=Y.length>1&&Y[Y.length-2],yt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Be&&Be.modalIframe)){Yi(Y.length-1,!0,yt);let sn=Ie;if(It&&It.modalIframeData&&It.modalIframe){const Cn=It,Xt=Cn.modalIframeData;sn={pathParams:Xt.pathParams,context:Xt.context,iframe:Cn.modalIframe}}sn.iframe&&await Ht(sn,{goBackContext:yt})}else Ae.isMessageSource(he,C)?(oi(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Kl(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):ne&&ne.length>0?Lt().then(()=>{ai.setActiveIframeToPrevious(B);const sn=ne.pop();Ie.iframe=ai.getActiveIframe(B),G=!0,ne=ne,j=yt,tt({params:{link:sn.path}},Ie)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:jl(Be),correlationId:Be.id}};Ae.sendMessageToIframe(Ue,yt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ri){const Be=le.addLeadingSlash(Sn(he.data.params,Ue.luigi.currentNode,Ue.luigi.pathParams));at.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=Ue.luigi.currentNode,It=Ue.luigi.pathParams,yt=he.data.data,sn=Sn(yt,Be,It),Cn=sn?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),sn):!1,Xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ue,Xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Be=new Set;Be.add(he.source),se={dirtySet:Be}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;fe=B,Il(),di(Be,!0,Ue).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,Wt(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ue.luigi.clientPermissions&&Ue.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&Tt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&kr(),he.data.msg==="storage"&&a2.process(Ue.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=Ue.luigi.currentNode;Be&&Be.runTimeErrorHandler&&le.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Ge&&le.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(Ue.luigi.currentNode.clientPermissions&&Ue.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:It}=he.data;me.addSearchParamsFromClient(Ue.luigi.currentNode,Be,It)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ri)return;const{data:Be,keepBrowserHistory:It}=he.data;ul.addNodeParams(Be,It)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ul.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,It=re.findViewGroup(Ue.luigi.currentNode);if(It){const yt=re.getViewGroupSettings(It);yt._liveCustomData=Be.data,te.configChanged("navigation.viewgroupdata")}}}),xn(B,Ie)}qr("store",l),qr("getTranslation",r);const kr=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function Sr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(qe),t(10,a=!1)},250)):clearTimeout(qe)}const Jl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Sn(ue),Ge=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ge?Ge.isExistingRoute:!1},Zi=()=>Y.length>0||ne.length!==0;nn(()=>{if(Bo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),fi=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Fe=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Fe=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ze=te.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(()=>{L9()==="disabled"&&kr()}),document.body.removeChild(B)}})}),Zr(()=>{Qi()}),Gn(()=>{t(19,ct=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const la=B=>{B.keyCode===Wl&&Y&&Y.length>0&&Yi(Y.length-1)},ra=B=>Yi(B,!0),vs=(B,ue)=>ti(ue,B),aa=(B,ue)=>xr(ue,B),sa=()=>Nl(!0),oa=()=>Nl(!1);function ua(B){Ln=B,t(5,Ln)}function ws(B){Ft=B,t(0,Ft)}function ks(B){St=B,t(3,St)}function Ss(B){ln=B,t(4,ln)}function fa(B){de=B,t(1,de)}function Cs(B){xe=B,t(2,xe)}function ys(B){Ft=B,t(0,Ft)}function Ps(B){St=B,t(3,St)}function Is(B){ln=B,t(4,ln)}function Cr(B){de=B,t(1,de)}function Ns(B){xe=B,t(2,xe)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ft=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,xe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,ln=B.searchResult),"storedUserSettings"in B&&t(5,Ln=B.storedUserSettings)},[Ft,de,xe,St,ln,Ln,Pi,Ni,Gi,na,a,o,g,E,ae,ie,Re,Pe,Fe,ct,ei,Li,ui,Ai,K,be,it,Ji,Y,rn,dt,wi,ki,yl,Ti,Pl,nt,ci,Nl,ti,xr,Yi,ps,ta,Gl,Kl,bs,la,l,r,Si,Ci,yi,Ii,ml,bl,vl,Ki,oi,wl,kl,ji,Sl,Cl,Wt,di,br,ms,jl,Jl,Zi,ra,vs,aa,sa,oa,ua,ws,ks,Ss,fa,Cs,ys,Ps,Is,Cr,Ns]}class U9 extends Vt{constructor(e){super(),Dt(this,e,F9,M9,Et,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const B9=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Sp=B9(),H9=Ik((i,e,t)=>Tt.getTranslation(i,e,t));Luigi._store=Sp;const W9=()=>new Promise(i=>{Tt._init(),cn.init().then(()=>{setTimeout(()=>{let e;zi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new U9({target:zi.getLuigiContainer(),props:{store:Sp,getTranslation:H9}}),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(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(W9);
52
+ }`;var ut=zf(function(){return It(F,je+"return "+ye).apply(t,q)});if(ut.source=ye,Co(ut))throw ut;return ut}function aw(s){return Tt(s).toLowerCase()}function sw(s){return Tt(s).toUpperCase()}function ow(s,u,_){if(s=Tt(s),s&&(_||u===t))return Xo(s);if(!s||!(u=Wn(u)))return s;var k=li(s),T=li(u),F=$o(k,T),q=xo(k,T)+1;return ol(k,F,q).join("")}function uw(s,u,_){if(s=Tt(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=Wn(u)))return s;var k=li(s),T=xo(k,li(u))+1;return ol(k,0,T).join("")}function fw(s,u,_){if(s=Tt(s),s&&(_||u===t))return s.replace(ni,"");if(!s||!(u=Wn(u)))return s;var k=li(s),T=$o(k,li(u));return ol(k,T).join("")}function cw(s,u){var _=z,k=Q;if(jt(u)){var T="separator"in u?u.separator:T;_="length"in u?ot(u.length):_,k="omission"in u?Wn(u.omission):k}s=Tt(s);var F=s.length;if($l(s)){var q=li(s);F=q.length}if(_>=F)return s;var J=_-xl(k);if(J<1)return k;var x=q?ol(q,0,J).join(""):s.slice(0,J);if(T===t)return x+k;if(q&&(J+=x.length-J),yo(T)){if(s.slice(J).search(T)){var _e,pe=x;for(T.global||(T=Bs(T.source,Tt(lt.exec(T))+"g")),T.lastIndex=0;_e=T.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Wn(T),J)!=J){var Ve=x.lastIndexOf(T);Ve>-1&&(x=x.slice(0,Ve))}return x+k}function dw(s){return s=Tt(s),s&&Ji.test(s)?s.replace(Li,Wp):s}var hw=ar(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=Tt(s),u=_?t:u,u===t?Mp(s)?Gp(s):Np(s):s.match(u)||[]}var zf=ft(function(s,u){try{return hn(s,t,u)}catch(_){return Co(_)?_:new tt(_)}}),gw=Bi(function(s,u){return Mt(u,function(_){_=mi(_),Fi(s,_,ko(s[_],s))}),s});function _w(s){var u=s==null?0:s.length,_=Qe();return s=u?Gt(s,function(k){if(typeof k[1]!="function")throw new Yn(a);return[_(k[0]),k[1]]}):[],ft(function(k){for(var T=-1;++T<u;){var F=s[T];if(hn(F[0],this,k))return hn(F[1],this,k)}})}function pw(s){return Wm(Zn(s,g))}function To(s){return function(){return s}}function mw(s,u){return s==null||s!==s?u:s}var bw=Ku(),vw=Ku(!0);function On(s){return s}function Lo(s){return ku(typeof s=="function"?s:Zn(s,g))}function ww(s){return Cu(Zn(s,g))}function kw(s,u){return yu(s,Zn(u,g))}var Sw=ft(function(s,u){return function(_){return Br(_,s,u)}}),Cw=ft(function(s,u){return function(_){return Br(s,_,u)}});function Ao(s,u,_){var k=gn(u),T=Oa(u,k);_==null&&!(jt(u)&&(T.length||!k.length))&&(_=u,u=s,s=this,T=Oa(u,gn(u)));var F=!(jt(_)&&"chain"in _)||!!_.chain,q=Wi(s);return Mt(T,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=Rn(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,nl([this.value()],arguments))})}),s}function yw(){return He._===this&&(He._=Zp),this}function Eo(){}function Pw(s){return s=ot(s),ft(function(u){return Pu(u,s)})}var Iw=so(Gt),Nw=so(_a),Tw=so(Rs);function Gf(s){return _o(s)?Ds(mi(s)):l1(s)}function Lw(s){return function(u){return s==null?t:Ml(s,u)}}var Aw=Ju(),Ew=Ju(!0);function Ro(){return[]}function Do(){return!1}function Rw(){return{}}function Dw(){return""}function Vw(){return!0}function Ow(s,u){if(s=ot(s),s<1||s>fe)return[];var _=Se,k=wn(s,Se);u=Qe(u),s-=Se;for(var T=Ms(k,u);++_<s;)u(_);return T}function Mw(s){return rt(s)?Gt(s,mi):qn(s)?[s]:Rn(ff(Tt(s)))}function Fw(s){var u=++Yp;return Tt(s)+u}var Uw=Wa(function(s,u){return s+u},0),Bw=oo("ceil"),Hw=Wa(function(s,u){return s/u},1),Ww=oo("floor");function qw(s){return s&&s.length?Va(s,On,Js):t}function zw(s,u){return s&&s.length?Va(s,Qe(u,2),Js):t}function Gw(s){return Qo(s,On)}function Kw(s,u){return Qo(s,Qe(u,2))}function jw(s){return s&&s.length?Va(s,On,Xs):t}function Jw(s,u){return s&&s.length?Va(s,Qe(u,2),Xs):t}var Yw=Wa(function(s,u){return s*u},1),Qw=oo("round"),Zw=Wa(function(s,u){return s-u},0);function Xw(s){return s&&s.length?Os(s,On):0}function $w(s,u){return s&&s.length?Os(s,Qe(u,2)):0}return M.after=wv,M.ary=kf,M.assign=s0,M.assignIn=Of,M.assignInWith=es,M.assignWith=o0,M.at=u0,M.before=Sf,M.bind=ko,M.bindAll=gw,M.bindKey=Cf,M.castArray=Rv,M.chain=bf,M.chunk=W1,M.compact=q1,M.concat=z1,M.cond=_w,M.conforms=pw,M.constant=To,M.countBy=Xb,M.create=f0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=c0,M.defaultsDeep=d0,M.defer=kv,M.delay=Sv,M.difference=G1,M.differenceBy=K1,M.differenceWith=j1,M.drop=J1,M.dropRight=Y1,M.dropRightWhile=Q1,M.dropWhile=Z1,M.fill=X1,M.filter=xb,M.flatMap=nv,M.flatMapDeep=iv,M.flatMapDepth=lv,M.flatten=gf,M.flattenDeep=$1,M.flattenDepth=x1,M.flip=Cv,M.flow=bw,M.flowRight=vw,M.fromPairs=eb,M.functions=v0,M.functionsIn=w0,M.groupBy=rv,M.initial=nb,M.intersection=ib,M.intersectionBy=lb,M.intersectionWith=rb,M.invert=S0,M.invertBy=C0,M.invokeMap=sv,M.iteratee=Lo,M.keyBy=ov,M.keys=gn,M.keysIn=Vn,M.map=Ya,M.mapKeys=P0,M.mapValues=I0,M.matches=ww,M.matchesProperty=kw,M.memoize=Za,M.merge=N0,M.mergeWith=Mf,M.method=Sw,M.methodOf=Cw,M.mixin=Ao,M.negate=Xa,M.nthArg=Pw,M.omit=T0,M.omitBy=L0,M.once=yv,M.orderBy=uv,M.over=Iw,M.overArgs=Pv,M.overEvery=Nw,M.overSome=Tw,M.partial=So,M.partialRight=Nf,M.partition=fv,M.pick=A0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Lw,M.pull=ub,M.pullAll=pf,M.pullAllBy=fb,M.pullAllWith=cb,M.pullAt=db,M.range=Aw,M.rangeRight=Ew,M.rearg=Iv,M.reject=hv,M.remove=hb,M.rest=Nv,M.reverse=vo,M.sampleSize=_v,M.set=R0,M.setWith=D0,M.shuffle=pv,M.slice=gb,M.sortBy=vv,M.sortedUniq=kb,M.sortedUniqBy=Sb,M.split=nw,M.spread=Tv,M.tail=Cb,M.take=yb,M.takeRight=Pb,M.takeRightWhile=Ib,M.takeWhile=Nb,M.tap=qb,M.throttle=Lv,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Mw,M.toPlainObject=Vf,M.transform=V0,M.unary=Av,M.union=Tb,M.unionBy=Lb,M.unionWith=Ab,M.uniq=Eb,M.uniqBy=Rb,M.uniqWith=Db,M.unset=O0,M.unzip=wo,M.unzipWith=mf,M.update=M0,M.updateWith=F0,M.values=ur,M.valuesIn=U0,M.without=Vb,M.words=qf,M.wrap=Ev,M.xor=Ob,M.xorBy=Mb,M.xorWith=Fb,M.zip=Ub,M.zipObject=Bb,M.zipObjectDeep=Hb,M.zipWith=Wb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Uw,M.attempt=zf,M.camelCase=q0,M.capitalize=Hf,M.ceil=Bw,M.clamp=B0,M.clone=Dv,M.cloneDeep=Ov,M.cloneDeepWith=Mv,M.cloneWith=Vv,M.conformsTo=Fv,M.deburr=Wf,M.defaultTo=mw,M.divide=Hw,M.endsWith=z0,M.eq=ai,M.escape=G0,M.escapeRegExp=K0,M.every=$b,M.find=ev,M.findIndex=df,M.findKey=h0,M.findLast=tv,M.findLastIndex=hf,M.findLastKey=g0,M.floor=Ww,M.forEach=vf,M.forEachRight=wf,M.forIn=_0,M.forInRight=p0,M.forOwn=m0,M.forOwnRight=b0,M.get=Po,M.gt=Uv,M.gte=Bv,M.has=k0,M.hasIn=Io,M.head=_f,M.identity=On,M.includes=av,M.indexOf=tb,M.inRange=H0,M.invoke=y0,M.isArguments=Bl,M.isArray=rt,M.isArrayBuffer=Hv,M.isArrayLike=Dn,M.isArrayLikeObject=en,M.isBoolean=Wv,M.isBuffer=ul,M.isDate=qv,M.isElement=zv,M.isEmpty=Gv,M.isEqual=Kv,M.isEqualWith=jv,M.isError=Co,M.isFinite=Jv,M.isFunction=Wi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Yv,M.isMatchWith=Qv,M.isNaN=Zv,M.isNative=Xv,M.isNil=xv,M.isNull=$v,M.isNumber=Af,M.isObject=jt,M.isObjectLike=xt,M.isPlainObject=Kr,M.isRegExp=yo,M.isSafeInteger=e0,M.isSet=Ef,M.isString=xa,M.isSymbol=qn,M.isTypedArray=or,M.isUndefined=t0,M.isWeakMap=n0,M.isWeakSet=i0,M.join=ab,M.kebabCase=j0,M.last=$n,M.lastIndexOf=sb,M.lowerCase=J0,M.lowerFirst=Y0,M.lt=l0,M.lte=r0,M.max=qw,M.maxBy=zw,M.mean=Gw,M.meanBy=Kw,M.min=jw,M.minBy=Jw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Rw,M.stubString=Dw,M.stubTrue=Vw,M.multiply=Yw,M.nth=ob,M.noConflict=yw,M.noop=Eo,M.now=Qa,M.pad=Q0,M.padEnd=Z0,M.padStart=X0,M.parseInt=$0,M.random=W0,M.reduce=cv,M.reduceRight=dv,M.repeat=x0,M.replace=ew,M.result=E0,M.round=Qw,M.runInContext=$,M.sample=gv,M.size=mv,M.snakeCase=tw,M.some=bv,M.sortedIndex=_b,M.sortedIndexBy=pb,M.sortedIndexOf=mb,M.sortedLastIndex=bb,M.sortedLastIndexBy=vb,M.sortedLastIndexOf=wb,M.startCase=iw,M.startsWith=lw,M.subtract=Zw,M.sum=Xw,M.sumBy=$w,M.template=rw,M.times=Ow,M.toFinite=qi,M.toInteger=ot,M.toLength=Df,M.toLower=aw,M.toNumber=xn,M.toSafeInteger=a0,M.toString=Tt,M.toUpper=sw,M.trim=ow,M.trimEnd=uw,M.trimStart=fw,M.truncate=cw,M.unescape=dw,M.uniqueId=Fw,M.upperCase=hw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return _i(M,function(u,_){Et.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Mt(["drop","take"],function(s,u){pt.prototype[s]=function(_){_=_===t?1:fn(ot(_),0);var k=this.__filtered__&&!u?new pt(this):this.clone();return k.__filtered__?k.__takeCount__=wn(_,k.__takeCount__):k.__views__.push({size:wn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},pt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Mt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==X||_==j;pt.prototype[s]=function(T){var F=this.clone();return F.__iteratees__.push({iteratee:Qe(T,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Mt(["head","last"],function(s,u){var _="take"+(u?"Right":"");pt.prototype[s]=function(){return this[_](1).value()[0]}}),Mt(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");pt.prototype[s]=function(){return this.__filtered__?new pt(this):this[_](1)}}),pt.prototype.compact=function(){return this.filter(On)},pt.prototype.find=function(s){return this.filter(s).head()},pt.prototype.findLast=function(s){return this.reverse().find(s)},pt.prototype.invokeMap=ft(function(s,u){return typeof s=="function"?new pt(this):this.map(function(_){return Br(_,s,u)})}),pt.prototype.reject=function(s){return this.filter(Xa(Qe(s)))},pt.prototype.slice=function(s,u){s=ot(s);var _=this;return _.__filtered__&&(s>0||u<0)?new pt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ot(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},pt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},pt.prototype.toArray=function(){return this.take(Se)},_i(pt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),T=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);T&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof pt,_e=J[0],pe=x||rt(q),ye=function(_t){var mt=T.apply(M,nl([_t],J));return k&&Ve?mt[0]:mt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var Ve=this.__chain__,je=!!this.__actions__.length,Ze=F&&!Ve,ut=x&&!je;if(!F&&pe){q=ut?q:new pt(this);var Xe=s.apply(q,J);return Xe.__actions__.push({func:Ja,args:[ye],thisArg:t}),new Qn(Xe,Ve)}return Ze&&ut?s.apply(this,J):(Xe=this.thru(ye),Ze?k?Xe.value()[0]:Xe.value():Xe)})}),Mt(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var T=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(rt(F)?F:[],T)}return this[_](function(q){return u.apply(rt(q)?q:[],T)})}}),_i(pt.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";Et.call(ir,k)||(ir[k]=[]),ir[k].push({name:u,func:_})}}),ir[Ha(t,y).name]=[{name:"wrapper",func:t}],pt.prototype.clone=dm,pt.prototype.reverse=hm,pt.prototype.value=gm,M.prototype.at=zb,M.prototype.chain=Gb,M.prototype.commit=Kb,M.prototype.next=jb,M.prototype.plant=Yb,M.prototype.reverse=Qb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Zb,M.prototype.first=M.prototype.head,Rr&&(M.prototype[Rr]=Jb),M},er=Kp();Pt?((Pt.exports=er)._=er,Nt._=er):He._=er}).call(Jr)})(us,us.exports);var Zr=us.exports;class Jk{getNodePath(e,t){return me.getNodePath(e,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=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;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 te.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=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.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=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.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(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Bt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}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 me.getDefaultChildNode(n,async(h,d)=>await Bt.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Bt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Bt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(le.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=re.getParentNode(I,g.navigationPath)}let V=P,L=d.hideGlobalSearch;L===void 0&&(L=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:L||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await oi.navigateIframe(l,t,n);else{const ce=t.get(),X=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(X),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=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Bt.extractDataFromPath(e);lp.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(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Kn.deleteNodesRecursively(c);break}}else r=!1}}else Kn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=oi.getActiveIframe(r);a&&a.vg&&oi.canCache(a.vg)?(oi.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.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=me.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}me.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={...Hk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.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=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:pr.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&&pr.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&&Zr.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=>re.checkVisibleForFeatureToggles(a))),pr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.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 Jk;class Yk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=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(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){pr.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 Yk;class Qk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{ta.hideAppLoadingIndicator()},0)}}const Zk=new Qk;class Xk{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=te.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 Xk;class $k{constructor(){return this._userInfoStore=br({}),this._loggedInStore=br(!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=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=dl.parseUrlAuthErrors()||{};if(await dl.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),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=dl.getStoredAuthData();if(!t||!dl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.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(fl(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await vi.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=dl.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=te.getConfigValue(`auth.${te.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(te.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const dn=new $k;class xk{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 Xr=new xk;class e2{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 vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const dl=new e2;class t2{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const wr=new t2;class n2{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)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}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,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(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 bk.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=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Xr.hasDecorators()?Xr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(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:Ko.getActiveFeatureToggleList(),currentLocale:Lt.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ae=new n2;class i2{getRandomId(){return window.crypto.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=Zr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Zr.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(Ki.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=!!te.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=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new i2;class l2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.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=Ko.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(vi.isAuthorizationEnabled()){const r=dl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.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 me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),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=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Lt.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 g;const p=!!d.badgeCounter;if(p&&(g=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:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;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:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Bt.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.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}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(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=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Lt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Lt.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:Zr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Zr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Lt.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 te.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:re.prepareForTests(e.pathSegment,e.label)}}const re=new l2;class r2{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 as.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.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=te.getConfigValue("routing.useHashRouting");Bn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?st.getHashPath():st.getModifiedPathname();e(l)}}),Bn.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:me.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=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}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=me.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=Lt.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];cl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,cl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[wr.sanitizeParam(n[0])]=wr.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=>Ko.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=te.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=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in cl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=cl.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&&cl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.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:Lt.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}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new r2;class a2{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 mn=new a2;class s2{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 Bn=new s2;class o2{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 u2=new o2;class f2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.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 gr=new f2,Yr=38,mr=40,_l=13,ql=27,$r=32,c2=36,d2=35;class ap{constructor(e,t){Mn(this,"dispatch");Mn(this,"search");Mn(this,"isCustomSearchRenderer");Mn(this,"isCustomSearchResultItemRenderer");Mn(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}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)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Lt.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Lt.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===_l?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===ql?this.search.searchProvider.onEscape():e===mr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===mr&&(o=r!==null?r:t[0]),e===Yr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===ql&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===_l&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Yr||t===mr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===ql&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?st.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Xf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){E(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&A(e),p=!1,b()}}}function h2(i){let e,t=Re(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=Re(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:qe,o:qe,d(l){l&&A(e),ct(n,l),i[5](null)}}}function g2(i,e,t){const n=Yt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=St("getUnsavedChangesModalPromise"),c=St("handleNavigation");jn(()=>{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=wr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),ln(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;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 g(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,g]}class _2 extends Ot{constructor(e){super(),Vt(this,e,g2,h2,Rt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=Un(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&A(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&A(e),r=!1,a()}}}function p2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,N=i[0].buttonDismiss+"",I,V,L,H,D,O=i[0].type&&$f(i),z=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),I=Ne(N),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(g,"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",L="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,Z){E(Q,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[Z]){Q[0].type?O?O.p(Q,Z):(O=$f(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=Q[0].header+"")&&Le(h,c),Z&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,Z):(z=xf(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Z&1&&N!==(N=Q[0].buttonDismiss+"")&&Le(I,N),Z&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),Z&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",L)},i:qe,o:qe,d(Q){Q&&A(e),O&&O.d(),z&&z.d(),H=!1,Ye(D)}}}function m2(i,e,t){const n=Yt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ea(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),ln(()=>{const d={icon:r[l.type],header:Lt.getTranslation("luigi.confirmationModal.header"),body:Lt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Lt.getTranslation("luigi.button.dismiss"),buttonConfirm:Lt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:wr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===ql&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class b2 extends Ot{constructor(e){super(),Vt(this,e,m2,p2,Rt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function v2(i){let e,t,n;const l=i[5].default,r=hs(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){E(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_s(r,l,a,a[4],n?gs(l,a[4],o,null):ps(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&&A(e),r&&r.d(a)}}}function w2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Yt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return ln(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Bn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!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()))}))}),jn(()=>{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,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class pl extends Ot{constructor(e){super(),Vt(this,e,w2,v2,Rt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ec(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new pl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=S("div"),Fe(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=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-1hy363a")},m(C,y){E(C,e,y),Oe(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=ee(h,"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=tc(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&A(e),Me(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&A(e)}}}function nc(i){let e;const t=i[10].default,n=hs(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)&&_s(n,t,l,l[9],e?gs(t,l[9],r,null):ps(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 ic(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer fade-out svelte-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function k2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&ec(i),C=i[4]&&nc(i),y=i[3]&&ic();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),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-1hy363a"),f(t,"data-testid",g=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=Un(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){E(P,e,N),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,h),y&&y.m(t,null),m=!0},p(P,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&R(v,1)):(v=ec(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,N),N&16&&R(C,1)):(C=nc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!m||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&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-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Un(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&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&&A(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function S2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Yt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=St("store");const L=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ae);const fe=await Bt.extractDataFromPath(G);g=fe.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(g),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=L(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),pr.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(I).appendChild(ae),ae};async function Q(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}xr(()=>{D(o)});const Z=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,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&ce()),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 O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&st.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};ln(()=>{mn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=L(g),r)},["navigation.viewgroupdata"]),Bn.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),ea(()=>{Bn.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;N?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,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,X]}class sp extends Ot{constructor(e){super(),Vt(this,e,S2,k2,Rt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function lc(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 rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function sc(i){let e,t=i[1][1].settings&&oc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function oc(i){let e,t,n=Re(Object.entries(i[1][1].settings)),l=[];for(let r=0;r<n.length;r+=1)l[r]=mc(lc(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){E(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Re(Object.entries(r[1][1].settings));let o;for(o=0;o<n.length;o+=1){const c=lc(r,n,o);l[o]?l[o].p(c,a):(l[o]=mc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&A(e),ct(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?y2:C2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),E(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){r&&A(e),l.d(r)}}}function C2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){E(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&&A(e)}}}function y2(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){E(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(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]]&&Jf(e,i[0][i[1][0]][i[27]])},d(o){o&&A(e),l=!1,r()}}}function fc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,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 N(){return i[19](i[28])}let I=v&&cc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),I&&I.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"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,L){E(V,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Ht(N))],C=!0)},p(V,L){i=V,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),L[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),L[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),L[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,L):(I=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&A(e),I&&I.d(),C=!1,Ye(y)}}}function cc(i){let e,t=Re(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(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){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Re(l[28].options);let a;for(a=0;a<t.length;a+=1){const o=ac(l,t,a);n[a]?n[a].p(o,r):(n[a]=dc(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&&A(e),ct(n,l)}}}function dc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ne(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,g){E(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Jt(e,"is-selected",i[4]===i[33]),g[0]&16&&Jt(e,"is-focus",i[4]===i[33])},d(d){d&&A(e),o=!1,Ye(c)}}}function hc(i){let e,t,n,l=Re(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(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){E(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null)},p(a,o){if(o[0]&13315){l=Re(a[28].options);let c;for(c=0;c<l.length;c+=1){const h=rc(a,l,c);r[c]?r[c].p(h,o):(r[c]=gc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&A(e),ct(r,a)}}}function gc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ne(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){E(p,e,b),w(e,n),w(e,l),h||(d=ee(e,"click",g),h=!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&&A(e),h=!1,d()}}}function _c(i){let e,t,n,l,r,a,o,c,h,d;function g(){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){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=ee(n,"change",g),h=!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&&A(e),h=!1,d()}}}function pc(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){E(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(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&&A(e),n=!1,l()}}}function mc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&uc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&fc(i),y=g&&hc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&_c(i),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),N&&N.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(I,V){E(I,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,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Le(r,l),I[28].type==="string"?v?v.p(I,V):(v=uc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=fc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=hc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=_c(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=pc(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&A(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function P2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){E(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=sc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&A(e),l&&l.d(),t=!1,Ye(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function I2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Yt();let o=St("getTranslation");ki(i,o,X=>t(5,n=X));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(X){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(X,G){let j=ls(X.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m(X,G){const j=X.querySelector(".lui-activate-dropdown"),ae=X.parentNode.querySelector(".fd-popover__body"),fe=X.parentNode.querySelector(".fd-select__control");X.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v(X,G,j){t(4,c=j),t(0,r[l[0]][X]=G.value||G,r)}function C(X,G){document.querySelectorAll(".enum-buttons-container-"+X+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${X}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][X]=G.value||G,r)}function y(X,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===X){j=G[ae].label,t(4,c=ae);break}}else{j=X,t(4,c=G.indexOf(X));break}return n(j)}}function P(X){return n(le.isObject(X)?X.label:X)}function N(X,G,j){return le.isObject(j)?`${X}_${G}_${j.value}`:`${X}_${G}_${j}`}function I(X,G,j,ae){let fe=ls(X.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if(X.keyCode===Yr&&X.altKey&&(fe.click(),fe.focus()),X.keyCode===mr&&!X.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if(X.keyCode===Yr&&!X.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}(X.keyCode===_l||X.keyCode===$r)&&v(G,ae.options[se],se)}else fe.focus(),X.keyCode===mr&&X.altKey&&fe.click(),X.keyCode===mr&&!X.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),X.keyCode===Yr&&!X.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V(X){if(h){let G=ls(X.target,".fd-popover",20);G.blur(),(X.keyCode===$r||X.keyCode===_l)&&(X.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function L(X){r[l[0]][X]=this.value,t(0,r)}const H=(X,G,j,ae)=>I(ae,X,G,j),D=X=>b(event,X.isEditable),O=(X,G,j)=>v(X,G,j),z=X=>V(X),Q=(X,G)=>C(X,G);function Z(X){r[l[0]][X]=this.checked,t(0,r)}function ce(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,h=X.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,L,H,D,O,z,Q,Z,ce]}class N2 extends Ot{constructor(e){super(),Vt(this,e,I2,P2,Rt,{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:bc}=ml;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function wc(i,e,t){const n=i.slice();return n[37]=e[t],n}function kc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?L2:T2}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),E(o,t,c),E(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){o&&(A(t),A(n)),a.d(o)}}}function T2(i){let e,t,n,l,r,a=i[37][1].initials&&Sc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Un(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:""),Fn(e,"background-image","url('"+i[37][1].icon+"')"),Fn(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),a&&a.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(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&&Fn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=Sc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(l),A(r)),a&&a.d(o)}}}function L2(i){let e,t,n,l;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class",l="fd-list__thumbnail "+(i[37][1].iconClassAttribute||"")+" svelte-12fj8b7")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[37][1].iconClassAttribute||"")+" svelte-12fj8b7")&&f(e,"class",l)},d(r){r&&A(e)}}}function Sc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Un(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){E(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=Un(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&&A(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&kc(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=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"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,N){E(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[ee(e,"click",bt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[37][1].icon?v?v.p(i,N):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),N[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&A(e),v&&v.d(),b=!1,Ye(m)}}}function yc(i){let e,t=Re(Object.entries(i[11])),n=[];for(let l=0;l<t.length;l+=1)n[l]=Cc(wc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(l,e,r)},p(l,r){if(r[0]&803846){t=Re(Object.entries(l[11]));let a;for(a=0;a<t.length;a+=1){const o=wc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Cc(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){l&&A(e),ct(n,l)}}}function Pc(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 N2({props:o}),Je.push(()=>kt(e,"closeDropDown",r)),Je.push(()=>kt(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Fe(e.$$.fragment)},m(c,h){Oe(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],wt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],wt(()=>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 A2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",N,I,V,L,H,D,O,z,Q,Z,ce,X=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,De,Ge=Re(Object.entries(i[1])),Ce=[];for(let Ue=0;Ue<Ge.length;Ue+=1)Ce[Ue]=yc(vc(i,Ge,Ue));let Pe=i[11]&&Pc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let Ue=0;Ue<Ce.length;Ue+=1)Ce[Ue].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),N=Ne(P),I=W(),V=S("div"),L=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Q=S("div"),Z=S("div"),ce=S("button"),G=Ne(X),j=W(),ae=S("div"),fe=S("button"),se=Ne(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(g,"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(L,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"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(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Z,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Q,"class","fd-bar__right"),f(z,"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(Ue,dt){E(Ue,e,dt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let ze=0;ze<Ce.length;ze+=1)Ce[ze]&&Ce[ze].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,L),Pe&&Pe.m(L,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Q),w(Q,Z),w(Z,ce),w(ce,G),w(Q,j),w(Q,ae),w(ae,fe),w(fe,se),Se=!0,ie||(De=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Ue,dt){if((!Se||dt[0]&1040)&&c!==(c=Ue[10](Ue[4])+"")&&Le(h,c),dt[0]&803846){Ge=Re(Object.entries(Ue[1]));let ze;for(ze=0;ze<Ge.length;ze+=1){const ht=vc(Ue,Ge,ze);Ce[ze]?Ce[ze].p(ht,dt):(Ce[ze]=yc(ht),Ce[ze].c(),Ce[ze].m(p,null))}for(;ze<Ce.length;ze+=1)Ce[ze].d(1);Ce.length=Ge.length}(!Se||dt[0]&1152)&&P!==(P=Ue[10](Ue[7])+"")&&Le(N,P),Ue[11]?Pe?(Pe.p(Ue,dt),dt[0]&2048&&R(Pe,1)):(Pe=Pc(Ue),Pe.c(),R(Pe,1),Pe.m(L,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||dt[0]&1056)&&X!==(X=Ue[10](Ue[5])+"")&&Le(G,X),(!Se||dt[0]&1088)&&ne!==(ne=Ue[10](Ue[6])+"")&&Le(se,ne)},i(Ue){Se||(R(Pe),Se=!0)},o(Ue){U(Pe),Se=!1},d(Ue){Ue&&A(e),ct(Ce,Ue),Pe&&Pe.d(),ie=!1,Ye(De)}}}function Ic(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 E2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function op(i,e,t){if(i&&t>0)return i.matches(e)?i:op(i.parentNode,e,t-1)}function Nc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function D2(i,e,t){let n,{userSettingGroups:l}=e;const r=Yt();let a,{storedUserSettings:o={}}=e,c={},h=St("getTranslation");ki(i,h,se=>t(10,n=se));let d=gl.userSettingsDialog.dialogHeader,g=gl.userSettingsDialog.saveBtn,p=gl.userSettingsDialog.dismissBtn,b={},m,v,C,y;ea(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),ln(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Bn.addEventListener("message",ie=>{const De=Ae.getValidMessageSource(ie);if(!De||ie.data.msg!=="custom")return;De._ready=!0;const Ge=ss.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(Ge.id===Ce){const Pe=gr.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Ue=Pe.getAttribute("userSettingsGroup");t(0,o[Ue]=Ge.data,o)}}Ge.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),ie)),N([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.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 Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function N(se,Se){t(11,a=se);let ie=se[0],De=se[1];if(P(De),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),op(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<cn.desktopMinWidth&&L()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()),De.viewUrl){if(gr.hideUserSettingsIframe(),b.hasOwnProperty(ie))gr.getUserSettingsIframesInDom().forEach(Ge=>{Ge.userSettingsGroup===ie&&(Ge.style.display="block")});else{const Ge=Xr.hasDecorators()?Xr.applyDecorators(De.viewUrl):De.viewUrl;let Ce=gr.createIframe(Ge,ie);b[ie]=Ce}E2()}else R2()}const I=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function L(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Q=()=>{const se=window.innerWidth>=cn.desktopMinWidth&&z<cn.desktopMinWidth;if(window.innerWidth<cn.desktopMinWidth&&z>=cn.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"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<cn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function Z(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===_l||se.keyCode===$r)&&ie[Se].click(),se.keyCode===d2&&ie[Object.keys(l).length-1].focus(),se.keyCode===c2&&ie[0].focus()}function ce(se){se.keyCode===ql&&C?y():se.keyCode===ql&&!C&&r("close")}const X=se=>N(se,event),G=(se,Se)=>Z(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>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,Z,ce,d,g,p,v,C,y,n,a,r,h,N,I,V,H,D,O,Q,X,G,j,ae,fe,ne]}class V2 extends Ot{constructor(e){super(),Vt(this,e,D2,A2,Rt,{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:O2}=ml;function M2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function F2(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=Ne(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){E(h,e,d),w(e,t),E(h,n,d),E(h,l,d),w(l,a),o||(c=ee(t,"click",Ht(bt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&(A(e),A(n),A(l)),o=!1,c()}}}function Tc(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-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){E(h,e,d),E(h,t,d),E(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Ht(bt(i[3]))),ee(n,"mousedown",Ht(i[6]))],o=!0)},p:qe,d(h){h&&(A(e),A(t),A(n)),o=!1,Ye(c)}}}function U2(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?F2:M2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=S("div"),Fe(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){E(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),E(v,a,C),m&&m.m(v,C),E(v,o,C),c=!0,h||(d=ee(O2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(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-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Tc(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&&(A(e),A(a),A(o)),Me(t),b.d(),m&&m.d(v),h=!1,d()}}}function B2(i,e,t){const n=Yt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,N=!1,I=St("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),L=async()=>{y?v||gt.createAndSetView(V()):await gt.prepareSplitViewData(V(),m)},H=()=>{l.split=gt.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=gt.getDragger()},D=()=>{const j=gt.getDraggerBackdrop();j&&(j.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 O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&gt.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Q(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(gt.calculateAndSetSplitViewValues(ae,gt.internalValues),v)return;D(),gt.sendMessageToClients("resize.ok",gt.splitViewValues.percent)}}ln(()=>{Z(),h=O.bind(this),Bn.addEventListener("message",h)}),xr(()=>{L(),N!==y&&!v&&(N=y,D())}),ea(()=>{window.removeEventListener("message",h)});function z(){gt.collapse(V())}async function Q(){await gt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const j=le.getShellbarHeight();gt.internalValues.innerHeight=le.getInnerHeight(),gt.internalValues.rightContentHeight=gt.internalValues.innerHeight-j,gt.internalValues.thresholdBottom=30,gt.internalValues.thresholdTop=j+30,gt.calculateAndSetSplitViewValues(gt.splitViewValues.percent,gt.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(Ge){const Ce=ae-Ge.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Ue=Pe-Ce,dt=gt.internalValues.innerHeight-Ue,ze=gt.enforceTresholds(Ue,dt);Ue<ze.top||dt<ze.bottom||(fe=ze,ae=Ge.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==gt.internalValues.m_pos_prev){gt.getDraggerBackdrop().style.display="none";return}gt.internalValues.m_pos_prev=fe.top,gt.splitViewValues=fe,D(),gt.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),gt.getDraggerBackdrop().style.display="block"}const X=j=>{let ae=gt.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=gt.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{X(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Q,Z,ce,G,y,m]}class up extends Ot{constructor(e){super(),Vt(this,e,B2,U2,Rt,{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 Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:q2,then:W2,catch:H2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||Y_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function H2(i){return{c:qe,m:qe,p:qe,d:qe}}function W2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){E(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&&A(e)}}}function q2(i){return{c:qe,m:qe,p:qe,d:qe}}function z2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function G2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Ln extends Ot{constructor(e){super(),Vt(this,e,G2,z2,Rt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){E(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&&A(e)}}}function K2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function j2(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 ei extends Ot{constructor(e){super(),Vt(this,e,j2,K2,Rt,{node:0})}}function J2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,N=hs(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),N&&N.c(),p=W(),b=S("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(I,V){E(I,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Ht(bt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Le(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&_s(N,P,I,I[3],v?gs(P,I[3],V,null):ps(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&A(e),N&&N.d(I),C=!1,Ye(y)}}}function Y2(i){let e;const t=i[4].default,n=hs(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&_s(n,t,l,l[3],e?gs(t,l[3],r,null):ps(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function Q2(i){let e,t,n,l;const r=[Y2,J2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function Z2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class X2 extends Ot{constructor(e){super(),Vt(this,e,Z2,Q2,Rt,{navGroup:1,expanded:0})}}const{window:ns}=ml;function Rc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[99]=e[t],n}function $2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Wc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Kc(i),b=(i[2]||i[3])&&pd(i);return{c(){e=S("div"),g&&g.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-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},m(m,v){E(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=ee(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Wc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=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=Kc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=pd(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-1bekqg6"))&&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-1bekqg6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&A(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function x2(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(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-1bekqg6"),f(e,"role","navigation"),Fn(e,"width","var(--luigi__left-sidenav--width)"),Fn(e,"height","100%")},m(o,c){E(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=bd(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=Sd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!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-1bekqg6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&A(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(n,e,l),t&&t.m(e,null),i[62](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=qc(n),t.c(),t.m(e,null))},d(n){n&&A(e),t&&t.d(),i[62](null)}}}function qc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&zc(i),g=i[12].showUpLink&&Gc(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){E(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=zc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=Gc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&A(e),d&&d.d(),g&&g.d()}}}function zc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?tS:eS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function eS(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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function tS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gc(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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",bt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Re(i[13]),a=[];for(let c=0;c<r.length;c+=1)a[c]=_d(Rc(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=Un(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){E(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=Re(c[13]);let d;for(d=0;d<r.length;d+=1){const g=Rc(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=_d(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&A(e),ct(a,c)}}}function nS(i){let e,t,n,l;const r=[rS,lS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function iS(i){let e,t,n=Re(i[96]),l=[];for(let a=0;a<n.length;a+=1)l[a]=gd(Mc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Re(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=gd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function lS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&jc(i),g=Re(i[96]),p=[];for(let m=0;m<g.length;m+=1)p[m]=$c(Dc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},m(m,v){E(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),E(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);E(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=jc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Re(m[96]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=$c(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&(A(e),A(o),A(c)),d&&d.d(),ct(p,m)}}}function rS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,D,O,z,Q,Z,ce;function X(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?hS:dS}let G=X(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=Re(i[96]),Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=id(Oc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let De=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&ld(i);function Ge(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),L=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),De&&De.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=nn(i[96],i[9])),f(C,"class",y=nn(i[96],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=nn(i[96],i[9])),f(v,"title",N=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(L,"aria-hidden",H=!nn(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),Jt(e,"lui-item-expanded",nn(i[96],i[9]))},m(Ce,Pe){E(Ce,e,Pe),w(e,t),w(t,n),j.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,L);for(let Ue=0;Ue<Se.length;Ue+=1)Se[Ue]&&Se[Ue].m(L,null);w(e,D),De&&De.m(e,null),w(e,O),Q=!0,Z||(ce=[ee(n,"click",bt(ae)),ee(v,"click",bt(fe)),ee(t,"keypress",ne),ee(e,"click",Ht(Ge))],Z=!0)},p(Ce,Pe){if(i=Ce,G===(G=X(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Q||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Q||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Pe[0]&8704&&b!==(b=nn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Pe[0]&8704&&y!==(y=nn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Pe[0]&8704&&P!==(P=nn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Pe[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Pe[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Pe[0]&1090592896|Pe[1]&532){se=Re(i[96]);let Ue;for(Ue=0;Ue<se.length;Ue+=1){const dt=Oc(i,se,Ue);Se[Ue]?(Se[Ue].p(dt,Pe),R(Se[Ue],1)):(Se[Ue]=id(dt),Se[Ue].c(),R(Se[Ue],1),Se[Ue].m(L,null))}for(ve(),Ue=se.length;Ue<Se.length;Ue+=1)ie(Ue);we()}(!Q||Pe[0]&8704&&H!==(H=!nn(i[96],i[9])))&&f(L,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?De?(De.p(i,Pe),Pe[0]&8448&&R(De,1)):(De=ld(i),De.c(),R(De,1),De.m(e,O)):De&&(ve(),U(De,1,1,()=>{De=null}),we()),(!Q||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Pe[0]&8704)&&Jt(e,"lui-item-expanded",nn(i[96],i[9]))},i(Ce){if(!Q){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(De),Q=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(De),Q=!1},d(Ce){Ce&&A(e),j.d(),ct(Se,Ce),De&&De.d(),Z=!1,Ye(ce)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?sS:aS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function aS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function sS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jc(i){let e,t,n=i[99].label&&Yc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].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&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Z,ce){return Z[99].icon?uS:oS}let V=I(i),L=V(i),H=i[99].statusBadge&&Qc(i),D=i[99].externalLink&&i[99].externalLink.url&&Zc(),O=i[99].badgeCounter&&Xc(i);function z(...Z){return i[73](i[99],...Z)}function Q(...Z){return i[74](i[99],...Z)}return{c(){e=S("li"),t=S("a"),L.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(Z,ce){E(Z,e,ce),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){wi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(Z,ce){i=Z,V===(V=I(i))&&L?L.p(i,ce):(L.d(1),L=V(i),L&&(L.c(),L.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Qc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Xc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(Z){y||(R(H),R(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&A(e),L.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Ye(N)}}}function oS(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=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),w(l,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&&(A(e),A(n),A(l))}}}function uS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function fS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function cS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qc(i){let e,t;return e=new ei({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),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){E(t,e,n)},d(t){t&&A(e)}}}function Xc(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),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 $c(i){let e,t,n=!i[99].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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){l&&A(e),n&&n.d(l)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function hS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function xc(i){let e,t,n=i[99].label&&ed(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].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&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ei({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&td(),V=i[99].badgeCounter&&nd(i);function L(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(D,O){E(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){wi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&A(e),Me(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function td(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function nd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),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[99].hideFromNav&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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){l&&A(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=Re(i[96]),d=[];for(let p=0;p<h.length;p+=1)d[p]=ud(Vc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){E(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]&&d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=Re(p[96]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=ud(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.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&&A(e),ct(d,p)}}}function rd(i){let e,t,n=i[99].label&&ad(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ad(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ei({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&sd(),V=i[99].badgeCounter&&od(i);function L(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){E(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){wi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=od(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&A(e),Me(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function sd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function od(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),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 ud(i){let e,t,n=!i[99].hideFromNav&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(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){l&&A(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[99].label&&cd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=cd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Z,ce){return Z[99].icon?_S:gS}let L=V(i),H=L(i);c=new ei({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&dd(),O=i[99].badgeCounter&&hd(i);function z(...Z){return i[63](i[99],...Z)}function Q(...Z){return i[64](i[99],...Z)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Fe(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(Z,ce){E(Z,e,ce),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),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){wi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(Z,ce){i=Z,L===(L=V(i))&&H?H.p(i,ce):(H.d(1),H=L(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const X={};ce[0]&8192&&(X.node=i[99]),c.$set(X),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=hd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(Z){P||(R(c.$$.fragment,Z),R(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&A(e),H.d(),Me(c),D&&D.d(),O&&O.d(),N=!1,Ye(I)}}}function gS(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){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function _S(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?mS:pS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function pS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function mS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function dd(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){E(t,e,n)},d(t){t&&A(e)}}}function hd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),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 gd(i){let e,t,n=!i[99].hideFromNav&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(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){l&&A(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[iS,nS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(OS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(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){d&&A(r),~n&&c[n].d(d)}}}function pd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&md(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){E(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=md(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?vS:bS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),E(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){r&&A(e),l.d(r)}}}function bS(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-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){E(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ye(l)}}}function vS(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-1bekqg6"),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-1bekqg6")},m(a,o){E(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),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-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&A(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e,null))},d(n){n&&A(e),t&&t.d(),i[49](null)}}}function vd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&wd(i),g=i[12].showUpLink&&kd(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){E(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=wd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=kd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&A(e),d&&d.d(),g&&g.d()}}}function wd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function wS(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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function kS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function kd(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-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",bt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Re(i[14]),v=[];for(let y=0;y<m.length;y+=1)v[y]=Bd(Fc(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> <span class="fd-navigation__text">More Items</span>',h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){E(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N]&&v[N].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Re(y[14]);let N;for(N=0;N<m.length;N+=1){const I=Fc(y,m,N);v[N]?(v[N].p(I,P),R(v[N],1)):(v[N]=Bd(I),v[N].c(),R(v[N],1),v[N].m(t,n))}for(ve(),N=m.length;N<v.length;N+=1)C(N);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&A(e),ct(v,y),i[61](null),p=!1,Ye(b)}}}function SS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?PS:yS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function Z(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let X=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Cd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=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-1bekqg6"),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[35](i[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[96].metaInfo,i[95]))},m(G,j){E(G,e,j),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),X&&X.m(e,null),I=!0,V||(L=[ee(n,"click",bt(z)),ee(n,"keypress",bt(Q)),ee(n,"keypress",bt(Z)),ee(t,"click",Ht(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!I||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!I||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])))&&f(t,"aria-expanded",v),(!I||j[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?X?(X.p(i,j),j[0]&16704&&R(X,1)):(X=Cd(i),X.c(),R(X,1),X.m(e,null)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),(!I||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||j[0]&16384&&N!==(N=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",N)},i(G){I||(R(X),I=!0)},o(G){U(X),I=!1},d(G){G&&A(e),O.d(),X&&X.d(),V=!1,Ye(L)}}}function CS(i){let e,t,n=Re(i[96]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Hc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Re(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function yS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function PS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Re(i[96]),d=[];for(let p=0;p<h.length;p+=1)d[p]=Rd(Bc(i,h,p));const g=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(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6")},m(p,b){E(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]&&d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=Re(p[96]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Rd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!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-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.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&&A(e),c&&c.d(),ct(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&Pd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){E(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[96].metaInfo.icon?g?g.p(p,b):(g=Pd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&A(e),g&&g.d()}}}function Pd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?NS:IS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function IS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function NS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Id(i){let e,t,n=i[99].label&&Nd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L=i[30](i[99])+"",H,D,O,z,Q,Z,ce,X,G,j,ae,fe,ne,se;c=new ei({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Td(),ie=i[99].badgeCounter&&Ld(i);function De(...ze){return i[56](i[99],...ze)}function Ge(...ze){return i[57](i[99],...ze)}O=new ei({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ad(),Pe=i[99].badgeCounter&&Ed(i);function Ue(...ze){return i[58](i[99],...ze)}function dt(...ze){return i[59](i[99],...ze)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Fe(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),N=S("li"),I=S("a"),V=S("span"),H=Ne(L),D=W(),Fe(O.$$.fragment),Q=W(),Ce&&Ce.c(),Z=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=re.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",ce=i[33](i[99])),f(I,"class",X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",j=re.getTestId(i[99])),f(I,"title",ae=i[35](i[99],i[30](i[99]))),Fn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[98])},m(ze,ht){E(ze,e,ht),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Oe(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),E(ze,P,ht),E(ze,N,ht),w(N,I),w(I,V),w(V,H),w(V,D),Oe(O,V,null),w(I,Q),Ce&&Ce.m(I,null),w(I,Z),Pe&&Pe.m(I,null),fe=!0,ne||(se=[ee(n,"click",De),ee(n,"keyup",function(){wi(i[24]?void 0:Ge)&&(i[24]?void 0:Ge).apply(this,arguments)}),ee(I,"click",Ue),ee(I,"keyup",function(){wi(i[24]?void 0:dt)&&(i[24]?void 0:dt).apply(this,arguments)})],ne=!0)},p(ze,ht){i=ze,(!fe||ht[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Ut={};ht[0]&16384&&(Ut.node=i[99]),c.$set(Ut),(!fe||ht[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?Se||(Se=Td(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,ht),ht[0]&16384&&R(ie,1)):(ie=Ld(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||ht[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||ht[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||ht[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||ht[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||ht[0]&16384)&&L!==(L=i[30](i[99])+"")&&Le(H,L);const de={};ht[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||ht[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?Ce||(Ce=Ad(),Ce.c(),Ce.m(I,Z)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,ht),ht[0]&16384&&R(Pe,1)):(Pe=Ed(i),Pe.c(),R(Pe,1),Pe.m(I,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||ht[0]&16384&&ce!==(ce=i[33](i[99])))&&f(I,"href",ce),(!fe||ht[0]&16512&&X!==(X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",X),(!fe||ht[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!fe||ht[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(I,"data-testid",j),(!fe||ht[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(I,"title",ae)},i(ze){fe||(R(c.$$.fragment,ze),R(ie),R(O.$$.fragment,ze),R(Pe),fe=!0)},o(ze){U(c.$$.fragment,ze),U(ie),U(O.$$.fragment,ze),U(Pe),fe=!1},d(ze){ze&&(A(e),A(P),A(N)),Me(c),Se&&Se.d(),ie&&ie.d(),Me(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Ye(se)}}}function Td(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){E(t,e,n)},d(t){t&&A(e)}}}function Ld(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),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;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Ed(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),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 Rd(i){let e,t,n=!i[99].hideFromNav&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(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){l&&A(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[99].label&&Vd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H;function D(G,j){return G[99].icon?LS:TS}let O=D(i),z=O(i);h=new ei({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Od(),Z=i[99].badgeCounter&&Md(i);function ce(...G){return i[50](i[99],...G)}function X(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Fe(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),Z&&Z.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=re.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,j){E(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Oe(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,L||(H=[ee(n,"click",ce),ee(n,"keyup",function(){wi(i[24]?void 0:X)&&(i[24]?void 0:X).apply(this,arguments)})],L=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Od(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?Z?(Z.p(i,j),j[0]&16384&&R(Z,1)):(Z=Md(i),Z.c(),R(Z,1),Z.m(n,b)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&N!==(N=re.getTestId(i[99])))&&f(n,"data-testid",N),(!V||j[0]&16512&&I!==(I=i[99]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(R(h.$$.fragment,G),R(Z),V=!0)},o(G){U(h.$$.fragment,G),U(Z),V=!1},d(G){G&&A(e),z.d(),Me(h),Q&&Q.d(),Z&&Z.d(),L=!1,Ye(H)}}}function TS(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){E(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&&A(e)}}}function LS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?ES:AS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function AS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function ES(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Od(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){E(t,e,n)},d(t){t&&A(e)}}}function Md(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),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 Fd(i){let e,t,n=!i[99].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(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){l&&A(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[CS,SS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(VS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(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){d&&A(r),~n&&c[n].d(d)}}}function RS(i){let e,t,n=Re(i[92].entries),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ud(Uc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Re(a[92].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ud(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function Bd(i){let e,t;return e=new X2({props:{navGroup:i[92],expanded:i[92].groupEntry&&nn(i[92].groupEntry[1],i[9]),$$slots:{default:[RS]},$$scope:{ctx:i}}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&nn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(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 DS(i){let e,t,n,l,r,a;const o=[x2,$2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(ns,"resize",i[18]),ee(ns,"click",i[22]),ee(ns,"blur",i[22]),ee(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}function nn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Wo(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 VS=i=>!i.hideFromNav&&i.label,OS=i=>!i.hideFromNav&&i.label;function MS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async be=>{if(be==="pathData")t(5,p=K.pathData);else if(be==="context")D=K.context;else if(be==="children")t(0,a=K.children);else if(be==="selectedNode")t(7,C=K.selectedNode);else if(be==="hasCategoriesWithIcon")t(10,N=K.hasCategoriesWithIcon);else if(be==="navParent"){t(12,L=void 0);let $e=K.navParent;if(t(45,H=$e),$e&&$e.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let it=$e.navHeader,lt=$e;if(it==="inherit"){for(lt=$e.parent;lt&&lt.navHeader==="inherit";)lt=lt.parent;it=lt?lt.navHeader:void 0}if(it instanceof Function){t(12,L={});let vt=it(re.stripNode($e),re.stripNode(lt),D);vt instanceof Promise?vt.then(qt=>{t(12,L=qt)}):t(12,L=vt)}else if(it==="auto")t(12,L={label:$e.label,icon:$e.icon});else if(it&&it.useTitleResolver&&lt.titleResolver){lt.titleResolver.prerenderFallback?t(12,L={...it,label:lt.titleResolver.fallbackTitle||"",icon:lt.titleResolver.fallbackIcon}):t(12,L=it);const vt=me.mapPathToNode(st.getCurrentPath(),lt);Bt.extractDataFromPath(vt).then(qt=>{const Xt=me.substituteDynamicParamsInObject(Object.assign({},qt.pathData.context,lt.context),qt.pathData.pathParams);re.fetchNodeTitleData(lt,Xt).then(hi=>{t(12,L={...it,...hi})}).catch(hi=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...it,label:$e.label,icon:$e.icon})})})}else t(12,L=await ht(it,lt))}}}),t(44,I=re.getSideNavAccordionMode(C)))}},r=Yt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:L}=e,{navParentNode:H}=e,D,O,z,Q=St("store"),Z=St("getTranslation");ki(i,Z,K=>t(27,n=K));let ce=!1,X=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),be=await Bt.getLeftNavData({...K},K);be&&(l.set(be),O=p,window.LEFTNAVDATA=be.children)};ln(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),mn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),mn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let K=bi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),bi.onValueChanged(be=>{t(6,v=be.isSemiCollapsed)}),Bn.addEventListener("message",be=>{be.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),be=G.querySelector(".fd-navigation__list"),$e=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(it=>{it.navGroupId?be.querySelector(`[navGroupId="${it.navGroupId}"]`).appendChild(it):be.insertBefore(it,$e)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),be=G.querySelector(".lui-moreItems"),$e=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&$e.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let it=$e.length-1;it>0&&(lastNode=$e[it-1],$e[it].navGroupId=$e[it].parentNode.getAttribute("navGroupId"),be.insertBefore($e[it],be.firstChild),!(K.clientHeight>0));it--);}},ie=()=>{const K=be=>{be&&de(be)};L!=null&&L.renderer&&ae&&(L.clearBeforeRender&&t(26,ae.innerHTML="",ae),L.renderer(ae,H,K,L))};xr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((be,$e)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),jn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function De(K){if(X){const be={},$e=[],it=j;let lt=[];return K.forEach(vt=>{if(vt[0].startsWith(m))lt.push({isSingleEntry:!0,entries:[vt]});else{const qt=vt[1].metaInfo.categoryUid;if(qt&&qt.indexOf(it)>0)$e.push(vt);else{const Xt=vt[1].metaInfo.isGroup;be[qt]={isSingleEntry:!Xt,title:n(vt[1].metaInfo.label),groupEntry:vt,uid:qt,entries:[Xt?["undefined",vt[1]]:vt]},lt.push(be[qt]),!re.isCollapsedSuperCategory(qt)&&Xt&&Wt(vt[1],!0)}}}),$e.forEach(vt=>{const qt=vt[1].metaInfo.categoryUid.split(it)[0],Xt=be[qt];Xt&&(Xt.isSingleEntry&&(Xt.isSingleEntry=!1,Xt.entries=[["undefined",Xt.groupEntry[1]]]),Xt.entries.push(vt))}),lt}else return K}let{sortedChildrenEntries:Ge}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Ue(K){return re.isOpenUIiconName(K)}function dt(K){return me.getNodeHref(K,b)}function ze(K,be){return K&&K.testId?K.testId:re.prepareForTests(be||K.label)}async function ht(K,be){const $e=me.mapPathToNode(st.getCurrentPath(),be),lt=(await Bt.extractDataFromPath($e)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,lt)}function Ut(K,be){return re.generateTooltipText(K,be)}function de(K){r("handleClick",{node:K})}function et(K,be){if(bi.getCollapsed()){let $e,it=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?$e=K.metaInfo.label:$e=K.category&&K.category.label||K.category,it&&!it.classList.contains("isBlocked")&&(it.className+=" isBlocked"),$e===y){t(8,y=bi.closePopupMenu(y));return}t(8,y=$e),it?Ct(be):X&&(Wo(be),be.closest(".lui-moreItems")||Te())}}function Ct(K){const be=K.closest(".fd-nested-list__item"),$e=be.offsetTop,it=Ki.getShellbar().offsetHeight;let lt;Ki.isCustomLuigiContainer()?lt=Ki.getCustomLuigiContainer().clientHeight:lt=window.innerHeight,setTimeout(()=>{const vt=be.getElementsByClassName("lui-flyout-sublist")[0],qt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Xt=$e+it-qt,hi=lt-$e-be.offsetHeight+qt-it;Xt+vt.offsetHeight>=lt?(vt.style.bottom=hi+"px",vt.className+=" has-bottom-position"):vt.style.top=Xt-it+"px"})}function rn(){if(h){let K=bi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function An(K){if(K.code==="ArrowRight"){const $e=Ae.getCurrentMicrofrontendIframe();$e&&$e.contentWindow&&$e.contentWindow.focus()}}function sn(K){let be=H?H.parent:void 0;for(;be;){if(be.pathSegment&&be.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:be});return}be=be.parent}console.warn('Could not resolve "up"-node, redirecting to root'),lp.navigate("/")}function Wt(K,be){bi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,be,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function at(){t(8,y=bi.closePopupMenu(y)),Te()}function nt(K){K&&K.code==="Escape"&&at()}function Qt(){t(6,v=bi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),_n()}function Zt(K){const be=K.code;(be==="Enter"||be==="Space")&&Qt()}function En(K,be){(K.code==="Enter"||K==="Space")&&et(be,K.currentTarget)}function At(K,be){K.keyCode===_l&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(be)}function _n(){if(!re.getBurgerTooltipConfig())return;const[K,be]=re.getBurgerTooltipConfig(),$e=document.body.classList.contains("lui-semiCollapsible");K&&be&&$e&&t(11,V=document.body.classList.contains("semiCollapsed")?K:be)}function ti(K,be){return nn(K,be)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Kt(K){if(!K)return;const be=K.target.parentElement;be.getAttribute("aria-expanded")==="true"?be.setAttribute("aria-expanded","false"):(at(),be.setAttribute("aria-expanded","true")),K.stopPropagation()}function Cn(K){Je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Si=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ci=(K,be)=>At(be,K),bn=K=>Wt(K,!nn(K,P)),yi=K=>Wt(K,!nn(K,P)),Pi=(K,be)=>En(be,K),Ii=(K,be)=>et(K,be.currentTarget),Ni=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ti=(K,be)=>At(be,K),vl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},wl=(K,be)=>At(be,K),kl=K=>{(K.code==="Enter"||K.code==="Space")&&Kt(K)};function Li(K){Je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function ji(K){Je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Ji=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},fi=(K,be)=>At(be,K),Sl=K=>Wt(K,!nn(K,P)),Cl=K=>Wt(K,!nn(K,P)),Yi=(K,be)=>En(be,K),yl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Pl=(K,be)=>At(be,K),Il=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ai=(K,be)=>At(be,K),Nl=K=>et(K,event.currentTarget),ni=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ei=(K,be)=>At(be,K),ci=K=>Qt(),Ri=K=>Qt(),di=K=>Zt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,N=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,I=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,L=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,Ge=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((be,$e)=>be[1].metaInfo.order-$e[1].metaInfo.order),t(13,Ge=K),t(14,Ce=De(K))}},[a,o,c,d,g,p,v,C,y,P,N,V,L,Ge,Ce,m,de,et,rn,An,sn,Wt,at,z,ce,G,ae,n,Z,X,fe,Pe,Ue,dt,ze,Ut,nt,Qt,Zt,En,At,ti,Kt,h,I,H,b,Ct,Wo,Cn,Si,Ci,bn,yi,Pi,Ii,Ni,Ti,vl,wl,kl,Li,ji,Ji,fi,Sl,Cl,Yi,yl,Pl,Il,Ai,Nl,ni,Ei,ci,Ri,di]}class fp extends Ot{constructor(e){super(),Vt(this,e,MS,DS,Rt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Wo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const FS=i=>{mn.doOnStoreChange(i.store,()=>{const e=te.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}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),cp(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"])},US=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),cp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!US(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=ta.getDocumentTitle()||r;i.set({title:r}),document.title=Lt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Wd(i,e,t){const n=i.slice();return n[45]=e[t],n}function BS(i){let e,t,n,l,r=i[1]&&qd(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){E(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=qd(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&&A(e),r&&r.d(),n=!1,l()}}}function HS(i){let e,t,n,l,r=i[1]&&zd(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){E(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=zd(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&&A(e),r&&r.d(),n=!1,l()}}}function qd(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){E(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[30](null)}}}function zd(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){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function Gd(i){let e,t,n,l=(!i[3]||i[4])&&Kd(i),r=i[3]&&jd(i),a=i[12]&&i[5]&&nh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Kd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=nh(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Kd(i){let e;function t(r,a){return r[14]?qS:WS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),E(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){r&&A(e),l.d(r)}}}function WS(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=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(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&&A(e),r=!1,a()}}}function qS(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=Ne(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,h){E(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[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&&A(e),a=!1,o()}}}function jd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?GS:zS}let b=p(i),m=b(i),v=i[6]&&i[7]&&$d(i),C=i[9]&&i[9].length>0&&xd(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",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){E(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||(g=ee(t,"click",Ht(YS)),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=$d(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=xd(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&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&A(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function zS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(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,g){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Ht(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&A(e),c=!1,h()}}}function GS(i){let e,t,n,l=i[9]&&i[9].length===1&&Jd(i),r=i[9]&&i[9].length>1&&Yd(i),a=i[9].length>1&&!i[7]&&Xd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Jd(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=Yd(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=Xd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Jd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(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){E(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&&A(e)}}}function Yd(i){let e,t=Re(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Zd(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(l,e,r)},p(l,r){if(r[0]&25832068){t=Re(l[9]);let a;for(a=0;a<t.length;a+=1){const o=Wd(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){l&&A(e),ct(n,l)}}}function Qd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(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",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",bt(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&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&A(e),d=!1,g()}}}function Zd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Qd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Qd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function Xd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(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,g){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",bt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&A(e),c=!1,h()}}}function $d(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=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){E(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",bt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&A(e),o=!1,c()}}}function xd(i){let e,t=Re(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=th(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(l,e,r)},p(l,r){if(r[0]&32296576){t=Re(l[9]);let a;for(a=0;a<t.length;a+=1){const o=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=th(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){l&&A(e),ct(n,l)}}}function KS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!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&&A(e),h=!1,d()}}}function jS(i){let e,t=i[18]&&eh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=eh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function eh(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new kr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){E(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&&A(e)}}}function th(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 jS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return KS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},m(o,c){a&&a.m(o,c),E(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){o&&A(n),a&&a.d(o)}}}function nh(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&A(e)}}}function JS(i){let e,t;function n(o,c){return o[14]?HS:BS}let l=n(i),r=l(i),a=i[2]&&Gd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),E(o,e,c),a&&a.m(o,c),E(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Gd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:qe,o:qe,d(o){o&&(A(e),A(t)),r.d(o),a&&a.d(o)}}}const YS=()=>{};function QS(i,e,t){let n;const l=Yt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,L,H,D=St("getUnsavedChangesModalPromise"),O=St("getTranslation");ki(i,O,de=>t(19,n=de));let z=St("store");const Q={closeDropDown:()=>{ae("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(et=>{et==="pathData"?t(26,I=de.pathData):et==="appSwitcherItems"?t(9,v=de.appSwitcherItems):et==="itemRenderer"?t(10,C=de.itemRenderer):et==="pathParams"?t(11,y=de.pathParams):et==="selectedItem"?t(7,b=de.selectedItem):et==="title"?t(2,o=de.title):et==="defaultSubTitle"?t(25,N=de.defaultSubTitle):et==="subTitle"?t(12,P=de.subTitle):et==="defaultTitle"?t(8,m=de.defaultTitle):et==="subTitle"?t(12,P=de.subTitle):et==="showMainAppEntry"?t(6,p=de.showMainAppEntry):et==="hasApps"?t(3,c=de.hasApps):et==="keepMainTitle"?t(4,h=de.keepMainTitle):et==="showSubTitle"?t(5,d=de.showSubTitle):et==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});ln(()=>{FS(Z())}),jn(()=>{(!H||H!=I)&&(cp(Z()),H=I)});function ce(de,et,Ct){return setTimeout(()=>{et&&C(de,et.children[Ct],Q)}),""}function X(de){D().then(()=>{st.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{st.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,et){if(de.link){const Ct=me.applyPathParams(de.link,et);if(Ct.indexOf(":")!==0&&Ct.indexOf("/:")===-1)return!0}return!1}function se(de){return me.getNodeHref(de)}function Se(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")};function De(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const Ge=()=>X("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")},Pe=()=>X("/"),Ue=()=>ae("appSwitcherPopover"),dt=()=>ae("appSwitcherPopover"),ze=()=>ae("appSwitcherPopover"),ht=(de,et)=>{re.handleNavAnchorClickedWithoutMetaKey(et)&&X(de.link)};function Ut(de){Je[de?"unshift":"push"](()=>{L=de,t(18,L)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,N=de.defaultSubTitle),"pathData"in de&&t(26,I=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,X,G,ae,L,n,O,ce,fe,ne,se,N,I,j,Se,ie,De,Ge,Ce,Pe,Ue,dt,ze,ht,Ut]}class ZS extends Ot{constructor(e){super(),Vt(this,e,QS,JS,Rt,{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 ih(i,e,t){const n=i.slice();return n[34]=e[t],n}function lh(i){let e,t,n,l,r,a,o=i[0]&&rh(i),c=(i[10]||i[11])&&dh(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(h,d){E(h,e,d),o&&o.m(e,null),E(h,t,d),E(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=rh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=dh(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(A(e),A(t),A(n)),o&&o.d(),c&&c.d()}}}function rh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?$S:XS}let h=c(i),d=h(i),g=i[7].name&&ah(i),p=i[7].description&&sh(i),b=Re(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=uh(ih(i,b,C));let v=i[12]&&fh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.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){E(C,e,y),d.m(e,null),E(C,t,y),E(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),E(C,r,y),E(C,a,y);for(let P=0;P<m.length;P+=1)m[P]&&m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=ah(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=sh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Re(C[9].items);let P;for(P=0;P<b.length;P+=1){const N=ih(C,b,P);m[P]?m[P].p(N,y):(m[P]=uh(N),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=fh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(A(e),A(t),A(n),A(r),A(a)),d.d(),g&&g.d(),p&&p.d(),ct(m,C),v&&v.d()}}}function XS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){E(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&&A(e)}}}function $S(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"),Fn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&Fn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function ah(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&A(e)}}}function sh(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&A(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?eC:xS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function xS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Fn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&Fn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function eC(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){E(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&&A(e)}}}function uh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&oh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=oh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function fh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&ch(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){E(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",bt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=ch(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&A(e),h&&h.d(),o=!1,Ye(c)}}}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?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function tC(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){E(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&&A(e)}}}function nC(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){E(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&&A(e)}}}function dh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&hh(i),l=i[10]&&!i[8]&&gh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(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=gh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function hh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){E(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),a=!1,o()}}}function gh(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){E(a,e,o),E(a,t,o),E(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:qe,d(a){a&&(A(e),A(t),A(n)),l=!1,Ye(r)}}}function iC(i){let e,t=!i[1]&&lh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=lh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function lC(i,e,t){let n;const l=Yt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=St("store"),C=St("getTranslation");ki(i,C,ne=>t(13,n=ne));let y=St("getUnsavedChangesModalPromise"),P=St("openViewInModal");ln(async()=>{vi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(mn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const De=Se.userSettingsProfileMenuEntry;ie.settings={...gl.userSettingsProfileMenuEntry,...De}}ie.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,dn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else st.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function ce(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>X(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,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,D,O,ce,j,ae,fe]}class rC extends Ot{constructor(e){super(),Vt(this,e,lC,iC,Rt,{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 _h(i,e,t){const n=i.slice();return n[34]=e[t],n}function ph(i){let e,t,n,l,r,a=i[0]&&mh(i),o=Re(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=vh(_h(i,o,g));let h=i[12]&&wh(i),d=(i[10]||i[11])&&Sh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.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(g,p){E(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=mh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Re(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=_h(g,o,b);c[b]?c[b].p(m,p):(c[b]=vh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=wh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Sh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&A(e),a&&a.d(),ct(c,g),h&&h.d(),d&&d.d()}}}function mh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){E(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&&A(e)}}}function bh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?sC:aC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function aC(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){E(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&&A(e)}}}function sC(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){E(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&&A(e)}}}function vh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&bh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=bh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function wh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&kh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",bt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&A(e),d&&d.d(),c=!1,Ye(h)}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function oC(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){E(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&&A(e)}}}function uC(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){E(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&&A(e)}}}function Sh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ch(i),l=i[10]&&!i[8]&&Ph(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Ch(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ph(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function Ch(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&yh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=yh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&A(e),d&&d.d(),c=!1,h()}}}function yh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function fC(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){E(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&&A(e)}}}function cC(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){E(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&&A(e)}}}function Ph(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){E(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:qe,d(l){l&&A(e),t=!1,n()}}}function dC(i){let e,t=!i[1]&&ph(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ph(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function hC(i,e,t){let n;const l=Yt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=St("store"),C=St("getTranslation");ki(i,C,ne=>t(13,n=ne));let y=St("getUnsavedChangesModalPromise"),P=St("openViewInModal");ln(async()=>{vi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(mn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const De=Se.userSettingsProfileMenuEntry;ie.settings={...gl.userSettingsProfileMenuEntry,...De}}ie.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,dn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else st.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function ce(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>X(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,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,D,O,ce,j,ae,fe]}class dp extends Ot{constructor(e){super(),Vt(this,e,hC,dC,Rt,{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 Ih(i,e,t){const n=i.slice();return n[11]=e[t],n}function Nh(i){let e,t,n=Re(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ah(Ih(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o&254){n=Re(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Ih(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ah(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function Th(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function N(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?_C:gC}let I=N(i,-1),V=I(i);r=new Ln({props:{node:i[11]}});let L=p&&Lh(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Fe(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),L&&L.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-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=re.getTestId(i[11]))},m(D,O){E(D,e,O),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,g),L&&L.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?L?L.p(i,O):(L=Lh(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!C||O&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||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&A(e),V.d(),Me(r),L&&L.d(),y=!1,P()}}}function gC(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){E(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&&A(e)}}}function _C(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){E(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&&A(e)}}}function Lh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&A(e)}}}function Ah(i){let e,t,n=i[11].label&&Th(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Th(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function pC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Nh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),I&&I.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(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"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,L){E(V,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Ht(mC))],P=!0)},p(V,[L]){(!y||L&1)&&Le(o,V[0]),V[1]?I?(I.p(V,L),L&2&&R(I,1)):(I=Nh(V),I.c(),R(I,1),I.m(g,null)):I&&(ve(),U(I,1,1,()=>{I=null}),we())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&A(e),I&&I.d(),P=!1,Ye(N)}}}const mC=()=>{};function bC(i,e,t){const n=Yt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Hl.call(this,i,m)}const b=m=>g(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,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class hp extends Ot{constructor(e){super(),Vt(this,e,bC,pC,Rt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:vC}=ml;function Eh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Rh(i){let e,t,n,l=i[0]&&Dh(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){E(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=Dh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Dh(i){let e,t,n=Re(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Oh(Eh(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o&7693){n=Re(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Eh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Oh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function Vh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,L){return L&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?kC:wC}let P=y(i,-1),N=P(i);a=new Ln({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Fe(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=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=re.getTestId(i[7]))},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L&1&&(H.node=i[7]),a.$set(H),(!m||L&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||L&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||L&1&&b!==(b=re.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&&A(e),N.d(),Me(a),v=!1,Ye(C)}}}function wC(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){E(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&&A(e)}}}function kC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Oh(i){let e,t,n=i[7].label&&Vh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Vh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Mh(i){let e,t;return e=new hp({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(){Fe(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 SC(i){let e,t,n,l,r,a=!i[1]&&Rh(i),o=i[1]&&Mh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),E(c,e,h),o&&o.m(c,h),E(c,t,h),n=!0,l||(r=ee(vC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Rh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Mh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(A(e),A(t)),a&&a.d(c),o&&o.d(c),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function CC(i,e,t){const n=Yt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=St("getUnsavedChangesModalPromise"),h=St("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:L=>{}});ln(async()=>{fs()}),jn(async()=>{r||t(0,r=await Bt.getChildren(a)),t(0,r)});function b(L){c().then(()=>{if(L.openNodeInModal){const H=me.buildRoute(L,`/${L.pathSegment}`);h(H,L.openNodeInModal===!0?{}:L.openNodeInModal)}else st.handleRouteClick(L,p())},()=>{}),v()}function m(L){b(L.detail)}function v(){n("close")}function C(L){return re.isOpenUIiconName(L.icon)}function y(L){return re.renderIconClassName(L)}function P(L){return Lt.getTranslation(L.label)}function N(L){return me.getNodeHref(L,o)}const I=L=>{re.handleNavAnchorClickedWithoutMetaKey(L)},V=L=>b(L);return i.$$set=L=>{"isMobile"in L&&t(1,l=L.isMobile),"children"in L&&t(0,r=L.children),"node"in L&&t(7,a=L.node),"addNavHrefForAnchor"in L&&t(2,d=L.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,N,I,V]}class gp extends Ot{constructor(e){super(),Vt(this,e,CC,SC,Rt,{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 fs}}const Sn={_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=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=Sn._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),!!Sn.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=Sn.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 Sn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await Sn.generateSwitcherNav(e,t)}};function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Hh(i){let e,t=Re(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=qh(Bh(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){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Re(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Bh(l,t,a);n[a]?n[a].p(o,r):(n[a]=qh(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&&A(e),ct(n,l)}}}function Wh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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=re.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",bt(AC)),ee(e,"click",g)],h=!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=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function qh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Wh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Wh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function zh(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Gh(i){let e,t=Re(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(Uh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(l,e,r)},p(l,r){if(r&4542){t=Re(l[3]);let a;for(a=0;a<t.length;a+=1){const o=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(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){l&&A(e),ct(n,l)}}}function yC(i){return{c:qe,m:qe,p:qe,d:qe}}function PC(i){let e,t,n,l,r;function a(d,g){return d[2]?NC:IC}let o=a(i),c=o(i);function h(){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=re.getTestId(i[20]))},m(d,g){E(d,e,g),c.m(e,null),E(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(A(e),A(n)),c.d(),l=!1,r()}}}function IC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){E(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&A(e),c=!1,h()}}}function NC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new kr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function TC(i){return{c:qe,m:qe,p:qe,d:qe}}function Kh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:TC,then:PC,catch:yC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||Y_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function jh(i){let e,t=Re(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Yh(Fh(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){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Re(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Yh(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&&A(e),ct(n,l)}}}function Jh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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=re.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!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=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function Yh(i){let e,t=i[20].position==="bottom"&&Jh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function LC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Hh(i),c=i[3]&&i[3].length===0&&i[10]&&zh(),h=i[3]&&i[3].length&&Gh(i),d=i[0]&&i[0].length&&jh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.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(g,p){E(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Hh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=zh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Gh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=jh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:qe,o:qe,d(g){g&&A(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const AC=()=>{};function EC(i,e,t){let n,l=qe,r=()=>(l(),l=zo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Yt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>N(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,N,n,I,V,L,H,D]}class _p extends Ot{constructor(e){super(),Vt(this,e,EC,LC,Rt,{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 Qh(i){let e,t,n,l=!i[9]&&Zh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Xh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[9]?l&&(ve(),U(l,1,1,()=>{l=null}),we()):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=Xh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?DC:RC}let p=g(i),b=p(i);return a=new _p({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"),Fe(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){E(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Oe(a,r,null),c=!0,h||(d=ee(n,"click",Ht(zC)),h=!0)},p(m,v){p===(p=g(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&&A(e),b.d(),Me(a),h=!1,d()}}}function RC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?OC:VC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-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,g){E(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&A(e),h.d(),r=!1,a()}}}function DC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?BC:UC}let h=c(i),d=h(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(g,p){E(g,e,p),d.m(e,null),a||(o=ee(e,"click",bt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&A(e),d.d(),a=!1,o()}}}function VC(i){let e,t;function n(a,o){return a[4]?MC:FC}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),E(a,e,o),E(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){a&&(A(e),A(t)),r.d(a)}}}function OC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new kr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function MC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&A(e)}}}function FC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&A(t)}}}function UC(i){let e,t;function n(a,o){return a[4]?HC:WC}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),E(a,e,o),E(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){a&&(A(e),A(t)),r.d(a)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new kr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function HC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&A(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&A(t)}}}function Xh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&$h(i),I=i[4]&&xh(i);return d=new _p({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"),N&&N.c(),o=W(),I&&I.c(),c=W(),h=S("div"),Fe(d.$$.fragment),g=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(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,L){E(V,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),N&&N.m(a,null),w(a,o),I&&I.m(a,null),w(t,c),w(t,h),Oe(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Ht(GC))],y=!0)},p(V,L){V[4]?N&&(N.d(1),N=null):N?N.p(V,L):(N=$h(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,L):(I=xh(V),I.c(),I.m(a,null)):I&&(I.d(1),I=null);const H={};L[0]&1&&(H.actions=V[0]),L[0]&32&&(H.config=V[5]),L[0]&64&&(H.customOptionsRenderer=V[6]),L[0]&2&&(H.options=V[1]),L[0]&16&&(H.selectedLabel=V[4]),L[0]&4&&(H.selectedOption=V[2]),L[0]&512&&(H.isMobile=V[9]),L[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&&A(e),N&&N.d(),I&&I.d(),Me(d),y=!1,Ye(P)}}}function $h(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&A(t)}}}function xh(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&A(e)}}}function qC(i){let e,t,n=i[3]&&Qh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Qh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}const zC=()=>{},GC=()=>{};function KC(i,e,t){let n,l;const r=Yt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:I}=e,V,L=St("getUnsavedChangesModalPromise"),H=St("store"),D=St("getTranslation");ki(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Q;ln(async()=>{mn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const De=st.getCurrentPath();t(20,m=ie.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ie.lazyloadOptions||await X(),Sn.isContextSwitcherDetailsView(De,ie.parentNodePath)&&await G(De)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Bn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),X())}),t(21,I=h.defaultLabel)}),jn(()=>{O!==N&&(O=N,X()),t(14,Q=o.contextSwitcherPopover||!1)});function Z(ie,De,Ge){return ie?Promise.resolve(ie):Sn.getFallbackLabel(De,Ge)}function ce(ie){return me.getNodeHref(ie,v)}async function X(){t(1,g=await Sn.fetchOptions(g));const ie=h||{},De=ie.parentNodePath,Ge=ie.fallbackLabelResolver,Ce=st.getCurrentPath();t(2,b=await Sn.getSelectedOption(Ce,g,De)),t(4,c=await Sn.getSelectedLabel(Ce,g,De,Ge)),await Sn.getSelectedNode(Ce,g,De),V=ie.preserveSubPathOnSwitch}async function G(ie){const De=h||{},Ge=De.parentNodePath,Ce=De.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ie,g,Ge)),t(4,c=await Sn.getSelectedLabel(ie,g,Ge,Ce)),await Sn.getSelectedNode(ie,g,Ge)}async function j(ie){let De=ie.detail.node;De.clickHandler&&!await De.clickHandler(De)||(setTimeout(()=>{ae(De.link)}),P&&r("toggleDropdownState"))}function ae(ie){L().then(()=>{st.navigateTo(ie)},()=>{})}function fe(ie){let De=ie.detail.option,Ge=ie.detail.selectedOption;L().then(()=>{V&&Ge?st.navigateTo(Sn.getNodePathFromCurrentPath(De,Ge)):st.navigateTo(De.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&X()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,N=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,I=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,j,fe,ne,Q,n,l,D,Z,ce,m,I,v,N,X,G,ae,p,se,Se]}class pp extends Ot{constructor(e){super(),Vt(this,e,KC,qC,Rt,{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:jC}=ml;function eg(i,e,t){const n=i.slice();return n[22]=e[t],n}function tg(i){let e,t,n,l=!i[2]&&ng(i),r=i[2]&&i[3].productSwitcherPopover&&sg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=ng(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=sg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?YC:JC}let N=P(i,-1),I=N(i),V=Re(i[0]),L=[];for(let H=0;H<V.length;H+=1)L[H]=ag(eg(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),I.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<L.length;H+=1)L[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",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Un(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"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,D){E(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),I.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<L.length;O+=1)L[O]&&L[O].m(b,null);C||(y=[ee(r,"click",Ht(i[7])),ee(l,"click",Ht(n3))],C=!0)},p(H,D){if(N===(N=P(H,D))&&I?I.p(H,D):(I.d(1),I=N(H),I&&(I.c(),I.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=Re(H[0]);let O;for(O=0;O<V.length;O+=1){const z=eg(H,V,O);L[O]?L[O].p(z,D):(L[O]=ag(z),L[O].c(),L[O].m(b,null))}for(;O<L.length;O+=1)L[O].d(1);L.length=V.length}D&512&&m!==(m=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&A(e),I.d(),ct(L,H),C=!1,Ye(y)}}}function JC(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){E(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&&A(e)}}}function YC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function ig(i){let e,t,n,l,r,a;function o(g,p){return g[4]?ZC:QC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88"),f(e,"data-testid",l=i[14](i[22]))},m(g,p){E(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88")&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&A(e),h.d(),r=!1,a()}}}function QC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?$C:XC}let g=d(i,-1),p=g(i),b=h&&lg(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){E(m,e,v),p.m(e,null),E(m,n,v),E(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=lg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(A(e),A(n),A(l)),p.d(),b&&b.d()}}}function ZC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?e3:xC}let v=m(i,-1),C=v(i),y=d&&rg(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link svelte-1mzhx88")},m(P,N){E(P,e,N),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=rg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&A(e),C.d(),y&&y.d(),p=!1,b()}}}function XC(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-1mzhx88")},m(l,r){E(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&&A(e)}}}function $C(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-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function lg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&A(e)}}}function xC(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-1mzhx88")},m(l,r){E(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&&A(e)}}}function e3(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-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&A(e)}}}function ag(i){let e,t=i[22].label&&ig(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ig(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function sg(i){let e,t;return e=new hp({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(){Fe(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 t3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&tg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),E(o,t,c),n=!0,l||(r=ee(jC,"resize",cs),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=tg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&A(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const n3=()=>{};function i3(i,e,t){const n=Yt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=St("store"),h=St("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;ln(async()=>{mn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{st.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Lt.getTranslation(D.label)}function P(D){return Lt.getTranslation(D.subTitle)}function N(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const L=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,I,V,L,H]}class mp extends Ot{constructor(e){super(),Vt(this,e,i3,t3,Rt,{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 cs}}function og(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function l3(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){E(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:qe,d(l){l&&A(e),i[15](null),t=!1,n()}}}function r3(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){E(t,e,n),e.focus()},p:qe,d(t){t&&A(e)}}}function a3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[19](e)},p:qe,d(t){t&&A(e),i[19](null)}}}function s3(i){let e,t,n,l=i[4]&&ug(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[5])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=ug(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function ug(i){let e,t=Re(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=fg(og(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){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Re(l[4]);let a;for(a=0;a<t.length;a+=1){const o=og(l,t,a);n[a]?n[a].p(o,r):(n[a]=fg(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&&A(e),ct(n,l),i[18](null)}}}function o3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new kr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function u3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(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){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",bt(c3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&A(e),d=!1,g()}}}function fg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?o3:u3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&A(e),o.d(),n=!1,Ye(l)}}}function f3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?r3:l3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?a3:s3}let L=V(i),H=L(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),I.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=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[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"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[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){E(D,e,O),w(e,t),w(t,n),w(n,l),I.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),E(D,d,O),E(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Ht(d3)),ee(b,"click",i[6]),ee(p,"click",Ht(h3))],C=!0)},p(D,[O]){N===(N=P(D))&&I?I.p(D,O):(I.d(1),I=N(D),I&&(I.c(),I.m(l,r))),L===(L=V(D))&&H?H.p(D,O):(H.d(1),H=L(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:qe,o:qe,d(D){D&&(A(e),A(d),A(g)),I.d(),H.d(),C=!1,Ye(y)}}}const c3=()=>{},d3=()=>{},h3=()=>{};function g3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Yt();let g={},p;ln(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),jn(()=>{t(7,g=h),p||t(8,p=new ap(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function N(D){Je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const I=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function L(D){Je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,N,I,V,L,H]}class _3 extends Ot{constructor(e){super(),Vt(this,e,g3,f3,Rt,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function cg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function p3(i){let e,t,n,l,r,a,o,c,h,d,g;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(),h=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(h,"class","fd-shellbar__search-field-helper")},m(p,b){E(p,e,b),i[23](e),E(p,t,b),E(p,n,b),w(n,l),E(p,r,b),E(p,a,b),w(a,o),E(p,c,b),E(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:qe,d(p){p&&(A(e),A(t),A(n),A(r),A(a),A(c),A(h)),i[23](null),d=!1,Ye(g)}}}function m3(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){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function b3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[28](e)},p:qe,d(t){t&&A(e),i[28](null)}}}function v3(i){let e,t,n,l=i[3]&&dg(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[4])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=dg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function dg(i){let e,t=Re(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hg(cg(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){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Re(l[3]);let a;for(a=0;a<t.length;a+=1){const o=cg(l,t,a);n[a]?n[a].p(o,r):(n[a]=hg(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&&A(e),ct(n,l),i[27](null)}}}function w3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new kr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function k3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",bt(C3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&A(e),d=!1,g()}}}function hg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?w3:k3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&A(e),o.d(),n=!1,Ye(l)}}}function gg(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,h){E(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Ht(P3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),a=!1,Ye(o)}}}function _g(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-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(h,d){E(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Ht(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&A(e),o=!1,c()}}}function S3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,L){return V[8]&&V[8].disableInputHandlers?m3:p3}let m=b(i),v=m(i);function C(V,L){return V[9].isCustomSearchRenderer?b3:v3}let y=C(i),P=y(i),N=!i[5]&&gg(i),I=i[5]&&_g(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=ke(),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,L){E(V,e,L),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),E(V,c,L),N&&N.m(V,L),E(V,h,L),I&&I.m(V,L),E(V,d,L),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Ht(y3))],g=!0)},p(V,L){m===(m=b(V))&&v?v.p(V,L):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,L):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),L[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),L[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]?N&&(N.d(1),N=null):N?N.p(V,L):(N=gg(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,L):(I=_g(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:qe,o:qe,d(V){V&&(A(e),A(c),A(h),A(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Ye(p)}}}const C3=()=>{},y3=()=>{},P3=()=>{};function I3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Yt();let g=gl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=St("getTranslation");ki(i,m,fe=>t(10,n=fe));let v;ln(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),jn(()=>{t(8,b=h),v||t(9,v=new ap(b,d)),v.getCustomRenderer(),I()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function N(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function L(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Q(fe){Je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const Z=()=>I(),ce=(fe,ne)=>L(fe),X=(fe,ne)=>H(fe,ne);function G(fe){Je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){Je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,L,H,h,D,z,Q,Z,ce,X,G,j,ae]}class N3 extends Ot{constructor(e){super(),Vt(this,e,I3,S3,Rt,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function pg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?L3:T3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function T3(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){E(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&&A(e)}}}function L3(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){E(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function mg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ei({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Fe(r.$$.fragment)},m(o,c){E(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 h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&A(e),Me(r)}}}function A3(i){let e,t,n,l=i[0].icon&&pg(i),r=(!i[0].icon||i[0].showLabel)&&mg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=pg(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=mg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function E3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Ot{constructor(e){super(),Vt(this,e,E3,A3,Rt,{node:0})}}const{Boolean:bp,window:bg}=ml;function vg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function wg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function R3(i){let e,t;return e=new dp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Fe(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 D3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&kg(i);function v(L){i[57](L)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new ZS({props:C}),Je.push(()=>kt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Sg(i),P=(!i[0]||i[1])&&Cg(i),N=(i[18]||i[7]&&i[30].length>0)&&Pg(i),I=(i[0]||i[16])&&Wg(i),V=i[12]&&qg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Fe(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),N&&N.c(),d=W(),I&&I.c(),g=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(L,H){E(L,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,h),N&&N.m(c,null),w(c,d),I&&I.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(L,H){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?m?m.p(L,H):(m=kg(L),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=L[30]),H[1]&1&&(D.pathParams=L[31]),H[0]&134217728&&(D.addNavHrefForAnchor=L[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=L[6],wt(()=>r=!1)),l.$set(D),L[18]&&L[19]&&!L[29]?y?(y.p(L,H),H[0]&537657344&&R(y,1)):(y=Sg(L),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!L[0]||L[1]?P?(P.p(L,H),H[0]&3&&R(P,1)):(P=Cg(L),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),L[18]||L[7]&&L[30].length>0?N?(N.p(L,H),H[0]&1074004096&&R(N,1)):(N=Pg(L),N.c(),R(N,1),N.m(c,d)):N&&(ve(),U(N,1,1,()=>{N=null}),we()),L[0]||L[16]?I?(I.p(L,H),H[0]&65537&&R(I,1)):(I=Wg(L),I.c(),R(I,1),I.m(c,g)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),L[12]?V?(V.p(L,H),H[0]&4096&&R(V,1)):(V=qg(L),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(L[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(L){b||(R(l.$$.fragment,L),R(y),R(P),R(N),R(I),R(V),b=!0)},o(L){U(l.$$.fragment,L),U(y),U(P),U(N),U(I),U(V),b=!1},d(L){L&&A(e),m&&m.d(),Me(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function kg(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){E(r,e,a),w(e,t),n||(l=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&A(e),n=!1,l()}}}function Sg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new N3({props:m}),Je.push(()=>kt(t,"isSearchFieldVisible",h)),Je.push(()=>kt(t,"searchResult",d)),Je.push(()=>kt(t,"displaySearchResult",g)),Je.push(()=>kt(t,"inputElem",p)),Je.push(()=>kt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Fe(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){E(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],wt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],wt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],wt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],wt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],wt(()=>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&&A(e),Me(t)}}}function Cg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&yg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new pp({props:o}),Je.push(()=>kt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Fe(t.$$.fragment)},m(c,h){r&&r.m(c,h),E(c,e,h),Oe(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=yg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],wt(()=>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){c&&A(e),r&&r.d(c),Me(t,c)}}}function yg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](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.customSearchItemRendererSlot=i[22]),e=new _3({props:b}),Je.push(()=>kt(e,"isSearchFieldVisible",c)),Je.push(()=>kt(e,"searchResult",h)),Je.push(()=>kt(e,"displaySearchResult",d)),Je.push(()=>kt(e,"inputElem",g)),Je.push(()=>kt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Fe(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],wt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],wt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],wt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],wt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],wt(()=>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 Pg(i){let e,t,n,l=i[7]&&i[30].length>0&&Ig(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Ig(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function Ig(i){let e,t,n=Re(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Lg(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Re(a[7]);let c;for(c=0;c<n.length;c+=1){const h=wg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(bp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),ct(l,a)}}}function Ng(i){let e,t,n,l;const r=[O3,V3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function V3(i){let e,t,n,l,r;const a=[F3,M3],o=[];function c(h,d){return h[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(h,d){E(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(e),o[t].d()}}}function O3(i){let e=i[107].visibleChildren.filter(zg).length>0,t,n,l=e&&Tg(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),E(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(zg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Tg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(t),l&&l.d(r)}}}function M3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new jo({props:b}),Je.push(()=>kt(t,"node",p)),r=new Ln({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Fe(t.$$.fragment),l=W(),Fe(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[107]))},m(v,C){E(v,e,C),Oe(t,e,null),w(e,l),Oe(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],wt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&A(e),Me(t),Me(r),d=!1,g()}}}function F3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new jo({props:m}),Je.push(()=>kt(t,"node",b)),r=new Ln({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Fe(t.$$.fragment),l=W(),Fe(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[107]))},m(C,y){E(C,e,y),Oe(t,e,null),w(e,l),Oe(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],wt(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[107]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[107])))&&f(e,"data-testid",h)},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&&A(e),Me(t),Me(r),g=!1,p()}}}function Tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(D){i[76](D,i[107],i[110],i[109])}let L={};i[107]!==void 0&&(L.node=i[107]),r=new jo({props:L}),Je.push(()=>kt(r,"node",V)),c=new Ln({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new gp({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Fe(r.$$.fragment),o=W(),Fe(c.$$.fragment),b=W(),m=S("div"),Fe(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[107])),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[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){E(D,e,O),w(e,t),w(t,n),w(n,l),Oe(r,l,null),w(l,o),Oe(c,l,null),w(t,b),w(t,m),Oe(v,m,null),w(e,y),P=!0,N||(I=[ee(l,"click",H),ee(n,"click",Ht($3))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],wt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[107])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[107]),O[1]&1&&(Z.pathParams=i[31]),O[0]&134217728&&(Z.addNavHrefForAnchor=i[27]),v.$set(Z),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&A(e),Me(r),Me(c),Me(v),N=!1,Ye(I)}}}function Lg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Ng(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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){l&&A(e),n&&n.d(l)}}}function Ag(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,D;h=new Ln({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Eg(i),z=i[46]&&(!i[0]||i[1])&&Rg(i),Q=i[7]&&Dg(i),Z=i[12]&&Fg(i),ce=i[12]&&Ug(i),X=i[14]&&Bg(i),G=(!i[0]||i[1])&&Hg(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(),Fe(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),Z&&Z.c(),N=W(),ce&&ce.c(),I=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(j,ae){E(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Oe(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,N),ce&&ce.m(n,null),w(n,I),X&&X.m(n,null),w(n,V),G&&G.m(n,null),L=!0,H||(D=[ee(a,"click",i[82]),ee(l,"click",Ht(x3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!L||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]&&!j[29]?O?O.p(j,ae):(O=Eg(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[46]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Rg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Q?(Q.p(j,ae),ae[0]&128&&R(Q,1)):(Q=Dg(j),Q.c(),R(Q,1),Q.m(m,y)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),j[12]?Z?Z.p(j,ae):(Z=Fg(j),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!L||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Ug(j),ce.c(),R(ce,1),ce.m(n,I)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?X?(X.p(j,ae),ae[0]&16384&&R(X,1)):(X=Bg(j),X.c(),R(X,1),X.m(n,V)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Hg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){L||(R(h.$$.fragment,j),R(Q),R(ce),R(X),R(G),L=!0)},o(j){U(h.$$.fragment,j),U(Q),U(ce),U(X),U(G),L=!1},d(j){j&&A(e),Me(h),O&&O.d(),z&&z.d(),Q&&Q.d(),Z&&Z.d(),ce&&ce.d(),X&&X.d(),G&&G.d(),H=!1,Ye(D)}}}function Eg(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> <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){E(r,e,a),w(e,t),n||(l=ee(t,"click",Ht(i[83])),n=!0)},p:qe,d(r){r&&A(e),n=!1,l()}}}function Rg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){E(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Ht(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Le(c,o)},d(g){g&&A(e),h=!1,d()}}}function Dg(i){let e,t,n=Re(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mg(vg(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Re(a[7]);let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Mg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(bp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),ct(l,a)}}}function Vg(i){let e,t,n,l,r;const a=[B3,U3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(X3).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=ke()},m(h,d){~t&&o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(ve(),U(o[g],1,1,()=>{o[g]=null}),we()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),~t&&o[t].d(h)}}}function U3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,L){return L[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?W3:H3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new Ln({props:{node:i[107]}});function I(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Fe(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=ee(t,"click",bt(I)),v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!m||L[0]&128)&&h!==(h=i[49](i[107])+"")&&Le(d,h),(!m||L[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||L[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&A(e),N.d(),Me(a),v=!1,C()}}}function B3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,N=l&&Og(i);a=new Ln({props:{node:i[107]}});function I(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N&&N.c(),r=W(),Fe(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=re.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Oe(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",bt(I)),y=!0)},p(V,L){i=V,L[0]&128&&(l=!i[48](i[107])),l?N?N.p(i,L):(N=Og(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!C||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||L[0]&128)&&d!==(d=i[49](i[107])+"")&&Le(g,d),(!C||L[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||L[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||L[0]&128&&m!==(m=re.getTestId(i[107])+"-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&&A(e),N&&N.d(),Me(a),y=!1,P()}}}function H3(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!xe(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function W3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Og(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!xe(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Mg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Vg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):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){l&&A(e),n&&n.d(l)}}}function Fg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?z3:q3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){E(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Ht(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&A(e),p.d(),c=!1,h()}}}function q3(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){E(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&&A(e)}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ug(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new mp({props:r}),Je.push(()=>kt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[87]),{c(){Fe(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],wt(()=>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 Bg(i){let e,t;return e=new gp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Hg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new pp({props:h}),Je.push(()=>kt(e,"dropDownStates",a)),Je.push(()=>kt(e,"selectedLabel",o)),Je.push(()=>kt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[91]),{c(){Fe(e.$$.fragment)},m(d,g){Oe(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],wt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],wt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],wt(()=>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 Wg(i){let e,t,n,l,r;const a=[K3,G3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[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(h,d){E(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&A(e),o[n].d()}}}function G3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?J3:j3}let y=C(i),P=y(i);return g=new dp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Fe(g.$$.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(N,I){E(N,e,I),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Oe(g,d,null),b=!0,m||(v=[ee(r,"click",i[95]),ee(n,"click",Ht(t9))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(R(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&A(e),P.d(),Me(g),m=!1,Ye(v)}}}function K3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?Q3:Y3}let g=d(i),p=g(i);return r=new rC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Fe(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){E(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Oe(r,l,null),o=!0,c||(h=ee(t,"click",Ht(e9)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(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&&A(e),p.d(),Me(r),c=!1,h()}}}function j3(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){E(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function J3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Fn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&Fn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function Y3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-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){E(o,e,c),w(e,n),r||(a=ee(e,"click",i[93]),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&&A(e),r=!1,a()}}}function Q3(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"),Fn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){E(r,e,a),n||(l=ee(e,"click",i[92]),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&&Fn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function qg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new mp({props:r}),Je.push(()=>kt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[98]),{c(){Fe(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],wt(()=>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 Z3(i){let e,t,n,l,r,a;const o=[D3,R3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(bg,"click",i[41]),ee(bg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(ve(),U(c[p],1,1,()=>{c[p]=null}),we(),t=c[e],t?t.p(d,g):(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){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}const X3=i=>!i.hideFromNav&&i.label,zg=i=>!i.hideFromNav&&i.label,$3=()=>{},x3=()=>{},e9=()=>{},t9=()=>{};function n9(i,e,t){const n=Yt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:ce}=e,{inputElem:X}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:j}=e,{searchResult:ae}=e,{burgerTooltip:fe}=e,{responsiveShellbarPadding:ne}=e,se=St("store"),Se=!1,ie,De,Ge=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Ce=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Pe=async()=>{if(p&&0<p.length){const Y=await re.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,N=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},Ue=()=>{t(1,a=dl.isLoggedIn())};ln(()=>{mn.doOnStoreChange(se,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,L=re.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,Z=Q&&Q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Ce=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Ge=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),mn.doOnStoreChange(se,()=>{Pe()},["navigation.viewgroupdata"]),Bn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})}),jn(()=>{(!b||b!=p)&&Pe(),Ue()});let{showTopNav:dt}=e;function ze(Y){return re.renderIconClassName(Y)}function ht(Y){return re.isOpenUIiconName(Y.icon)}const Ut=Y=>re.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function et(Y,Dt){return re.generateTooltipText(Y,Dt)}function Ct(){nt("productSwitcherPopover")}function rn(){t(43,Se=!Se),nt("contextSwitcherPopover")}function An(Y){t(14,H=!0),t(15,D=Y)}function sn(){t(14,H=!1)}function Wt(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function at(Y){Wt(Y.detail.node)}function nt(Y){const Dt=v||{},vn=!Dt[Y];At(),sn(),Dt[Y]=vn,t(6,v=Dt)}function Qt(Y){nt(Y.detail.name)}function Zt(){X&&X.focus()}function En(){ce||setTimeout(()=>{Zt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:X,customSearchItemRendererSlot:G})}function At(){const Y=v||{},Dt=Object.keys(Y);Dt&&Dt.length>0&&Dt.forEach(vn=>{Y[vn]=!1,t(6,v=Y)})}function _n(){h==="simple"||h==="simpleMobileOnly"?Kt():Cn(),ti()}function ti(){if(!re.getBurgerTooltipConfig())return;const[Y,Dt]=re.getBurgerTooltipConfig();Y&&Dt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,fe=document.body.classList.contains("lui-leftNavToggle")?Y:Dt),document.body.classList.contains("lui-semiCollapsible")&&t(25,fe=document.body.classList.contains("semiCollapsed")?Y:Dt))}function Kt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Cn(){bi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Si(Y){const Dt=Y.detail;t(17,z=Dt||{})}function Ci(Y){v=Y,t(6,v)}function bn(Y){ce=Y,t(20,ce)}function yi(Y){ae=Y,t(24,ae)}function Pi(Y){j=Y,t(23,j)}function Ii(Y){X=Y,t(21,X)}function Ni(Y){G=Y,t(22,G)}function Ti(Y){Hl.call(this,i,Y)}function vl(Y){Hl.call(this,i,Y)}function wl(Y){Hl.call(this,i,Y)}function kl(Y){ce=Y,t(20,ce)}function Li(Y){ae=Y,t(24,ae)}function ji(Y){j=Y,t(23,j)}function Ji(Y){X=Y,t(21,X)}function fi(Y){G=Y,t(22,G)}function Sl(Y){Hl.call(this,i,Y)}function Cl(Y){Hl.call(this,i,Y)}function Yi(Y){Hl.call(this,i,Y)}function yl(Y){v=Y,t(6,v)}const Pl=()=>nt("contextSwitcherPopover");function Il(Y,Dt,vn,ii){vn[ii]=Y,t(7,C)}const Ai=Y=>nt(`dropDownPopover-${Y}`);function Nl(Y,Dt,vn,ii){vn[ii]=Y,t(7,C)}const ni=(Y,Dt)=>{re.handleNavAnchorClickedWithoutMetaKey(Dt)&&Wt(Y)};function Ei(Y,Dt,vn,ii){vn[ii]=Y,t(7,C)}const ci=Y=>Wt(Y),Ri=()=>nt("overflowPopover"),di=()=>{En(),nt("overflowPopover")},K=Y=>Wt(Y),be=Y=>An(Y);function $e(Y){v=Y,t(6,v)}const it=()=>nt("productSwitcherPopover");function lt(Y){v=Y,t(6,v)}function vt(Y){ie=Y,t(44,ie)}function qt(Y){De=Y,t(45,De)}const Xt=()=>nt("contextSwitcherPopover"),hi=()=>nt("profilePopover"),Qi=()=>nt("profilePopover"),Tl=()=>nt("profilePopover"),gi=()=>nt("profilePopover"),Ll=()=>nt("profilePopover");function Di(Y){v=Y,t(6,v)}const zl=()=>nt("productSwitcherPopover"),Sr=()=>nt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,N=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,L=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,D=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,ce=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,X=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"searchResult"in Y&&t(24,ae=Y.searchResult),"burgerTooltip"in Y&&t(25,fe=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,Ce=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,dt=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,dt=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,L,H,D,O,z,Q,Z,ce,X,G,j,ae,fe,ne,Ce,dt,o,p,m,Ct,rn,An,sn,Wt,at,nt,Qt,En,At,Si,Se,ie,De,Ge,ze,ht,Ut,de,et,_n,r,Te,Kt,Cn,Ci,bn,yi,Pi,Ii,Ni,Ti,vl,wl,kl,Li,ji,Ji,fi,Sl,Cl,Yi,yl,Pl,Il,Ai,Nl,ni,Ei,ci,Ri,di,K,be,$e,it,lt,vt,qt,Xt,hi,Qi,Tl,gi,Ll,Di,zl,Sr]}class vp extends Ot{constructor(e){super(),Vt(this,e,n9,Z3,Rt,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function Gg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function i9(i){let e,t=i[0]&&Gg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=Gg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function l9(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.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 ln(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");pr.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)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}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 r9 extends Ot{constructor(e){super(),Vt(this,e,l9,i9,Rt,{node:0})}}const{window:Oo}=ml;function Kg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Jg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Yg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n}function a9(i){const e=i.slice(),t=wp(e[54]);return e[67]=t,e}function Xg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Mo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function s9(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function $g(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&xg(i),P=Re(Object.entries(i[0])),N=[];for(let D=0;D<P.length;D+=1)N[D]=o_(Yg(i,P,D));const I=D=>U(N[D],1,1,()=>{N[D]=null});let V=Re(Object.entries(i[0])),L=[];for(let D=0;D<V.length;D+=1)L[D]=d_(Kg(i,V,D));const H=D=>U(L[D],1,1,()=>{L[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<N.length;D+=1)N[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML='<span class="label fd-icon-tab-bar__overflow-text">More</span> <span class="sap-icon--slim-arrow-down"></span>',d=W(),g=S("div"),p=S("ul");for(let D=0;D<L.length;D+=1)L[D].c();f(h,"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(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"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(D,O){E(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<N.length;z+=1)N[z]&&N[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<L.length;z+=1)L[z]&&L[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",bt(i[10])),ee(a,"click",k9),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=xg(D),y.c(),R(y,1),y.m(e,t)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),O[0]&3866829){P=Re(Object.entries(D[0]));let z;for(z=0;z<P.length;z+=1){const Q=Yg(D,P,z);N[z]?(N[z].p(Q,O),R(N[z],1)):(N[z]=o_(Q),N[z].c(),R(N[z],1),N[z].m(l,r))}for(ve(),z=P.length;z<N.length;z+=1)I(z);we()}if(O[0]&1704173){V=Re(Object.entries(D[0]));let z;for(z=0;z<V.length;z+=1){const Q=Kg(D,V,z);L[z]?(L[z].p(Q,O),R(L[z],1)):(L[z]=d_(Q),L[z].c(),R(L[z],1),L[z].m(p,null))}for(ve(),z=V.length;z<L.length;z+=1)H(z);we()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(N[O]);for(let O=0;O<V.length;O+=1)R(L[O]);m=!0}},o(D){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[O]);L=L.filter(Boolean);for(let O=0;O<L.length;O+=1)U(L[O]);m=!1},d(D){D&&A(e),y&&y.d(),ct(N,D),i[31](null),ct(L,D),i[36](null),i[37](null),i[39](null),v=!1,Ye(C)}}}function xg(i){let e,t;return e=new r9({props:{node:i[11].parent}}),{c(){Fe(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 o9(i){let e,t,n,l,r;const a=[c9,f9],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!p9(d[54])),e?0:1}function h(d,g){return g===0?a9(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=ke()},m(d,g){o[t].m(d,g),E(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(ve(),U(o[p],1,1,()=>{o[p]=null}),we(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(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){d&&A(l),o[t].d(d)}}}function u9(i){let e,t,n=Re(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=s_(Xg(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Re(a[54]);let c;for(c=0;c<n.length;c+=1){const h=Xg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=s_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function f9(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function L(){return i[29](i[53])}let H=Re(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=n_(Qg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=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 z=0;z<D.length;z+=1)D[z].c();y=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",g=hl(i[53],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",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=hl(i[53],i[2]))},m(z,Q){E(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",bt(L)),ee(e,"click",w9)],I=!0)},p(z,Q){if(i=z,(!N||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!N||Q[0]&5&&g!==(g=hl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=Re(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=Qg(i,H,Z);D[Z]?(D[Z].p(ce,Q),R(D[Z],1)):(D[Z]=n_(ce),D[Z].c(),R(D[Z],1),D[Z].m(m,null))}for(ve(),Z=H.length;Z<D.length;Z+=1)O(Z);we()}(!N||Q[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!N||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Q[0]&5&&P!==(P=hl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);N=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);N=!1},d(z){z&&A(e),ct(D,z),I=!1,Ye(V)}}}function c9(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Re(i[54]),z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=l_(Zg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();I=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=hl(i[53],i[2])),f(t,"href",o=i[20](i[67])),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[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"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",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",N=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Q,Z){E(Q,e,Z),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce]&&z[ce].m(y,null);w(e,I),V||(L=[ee(t,"click",bt(H)),ee(p,"click",bt(D)),ee(e,"click",v9)],V=!0)},p(Q,Z){if(i=Q,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),Z[0]&5&&a!==(a=hl(i[53],i[2]))&&f(t,"aria-selected",a),Z[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Z[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Z[0]&1572933){O=Re(i[54]);let ce;for(ce=0;ce<O.length;ce+=1){const X=Zg(i,O,ce);z[ce]?z[ce].p(X,Z):(z[ce]=l_(X),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}Z[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),Z[0]&9&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:qe,o:qe,d(Q){Q&&A(e),ct(z,Q),V=!1,Ye(L)}}}function e_(i){let e,t,n=i[57].label&&t_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].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&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function t_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ei({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){E(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",bt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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&&A(e),Me(o),b=!1,m()}}}function n_(i){let e,t,n=!i[57].hideFromNav&&e_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(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){l&&A(e),n&&n.d(l)}}}function i_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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[20](i[57])),f(t,"aria-selected",o=i[57]===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){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",bt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),h=!1,d()}}}function l_(i){let e,t=!i[57].hideFromNav&&i[57].label&&i_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=i_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function r_(i){let e,t,n=i[57].label&&a_(Mo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=a_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function a_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ei({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),g=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[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){E(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",bt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&A(e),Me(o),m=!1,v()}}}function s_(i){let e,t,n=!i[57].hideFromNav&&r_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=r_(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){l&&A(e),n&&n.d(l)}}}function o_(i){let e,t,n,l,r,a;const o=[u9,o9],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!_9(g[54])),t?1:-1)}function d(g,p){return p===1?s9(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=ke()},m(g,p){~n&&c[n].m(g,p),E(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(ve(),U(c[b],1,1,()=>{c[b]=null}),we()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){g&&A(r),~n&&c[n].d(g)}}}function d9(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function L(){return i[34](i[53],i[56])}let H=Re(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=f_(jg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].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[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=hl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"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[53]+i[56]]),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[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Q){E(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",bt(V)),ee(d,"click",bt(L))],N=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=hl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=Re(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=jg(i,H,Z);D[Z]?(D[Z].p(ce,Q),R(D[Z],1)):(D[Z]=f_(ce),D[Z].c(),R(D[Z],1),D[Z].m(v,null))}for(ve(),Z=H.length;Z<D.length;Z+=1)O(Z);we()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);P=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);P=!1},d(z){z&&A(e),ct(D,z),N=!1,Ye(I)}}}function h9(i){let e,t,n=Re(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=c_(Jg(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Re(a[54]);let c;for(c=0;c<n.length;c+=1){const h=Jg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=c_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},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){a&&A(e),ct(l,a)}}}function u_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ei({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){E(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",bt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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&&A(e),Me(o),b=!1,m()}}}function f_(i){let e,t,n=i[57].label&&u_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=u_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function c_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ei({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Fe(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){E(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",bt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===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&&A(e),Me(o),b=!1,m()}}}function d_(i){let e,t,n,l,r;const a=[h9,d9],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ke()},m(h,d){o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),o[t].d(h)}}}function g9(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&$g(i);return{c(){r&&r.c(),e=ke()},m(a,o){r&&r.m(a,o),E(a,e,o),t=!0,n||(l=[ee(Oo,"click",i[8]),ee(Oo,"blur",i[8]),ee(Oo,"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=$g(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&A(e),r&&r.d(a),n=!1,Ye(l)}}}function hl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function _9(i){return i.some(e=>!e.hideFromNav&&e.label)}function wp(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 p9(i){return!!wp(i)}function m9(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function b9(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),m9(e)||e.classList.add("fd-popover__body--right")})}const v9=i=>i.stopPropagation(),w9=i=>i.stopPropagation(),k9=i=>i.stopPropagation();function S9(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=St("getTranslation");ki(i,C,Te=>t(17,n=Te));let y=St("store"),P,N,I,V,L,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(at=>{at==="pathData"?t(1,r=Te.pathData):at==="context"?context=Te.context:at==="children"?t(0,l=Te.children):at==="selectedNode"?t(11,b=Te.selectedNode):at==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Yt();function z(Te){return re.getNodeLabel(Te)}const Q=async()=>{const Te=D.get(),at=await Bt.getTabNavData({...Te},Te);at&&(D.set({...at}),m=r,window.LEFTNAVDATA=at.groupedChildren,setTimeout(Z))},Z=()=>{if(ce(),I&&V&&L){L.classList.remove("is-active");const Te=getComputedStyle(I),at=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let nt=0,Qt=!1;[...I.children].forEach(Zt=>{const En=Zt.getAttribute("uid");if(!En)return;const At=getComputedStyle(Zt),_n=parseFloat(At.marginLeft)+parseFloat(At.marginRight);nt+=Zt.offsetWidth+_n,nt>=at?(Zt.classList.add("hide_element"),Zt.getAttribute("isSelected")==="true"&&L.classList.add("is-active"),document.querySelector('li[uid="'+En+'"]').classList.remove("hide_element"),Qt=!0):document.querySelector('li[uid="'+En+'"]').classList.add("hide_element")}),Qt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{I!==void 0&&[...I.children].forEach(at=>{at.classList.remove("hide_element")})},X=()=>{P=new ResizeObserver(Te=>{for(const at of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",at.contentRect.height+"px");H&&b9()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};ln(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),X(),mn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),ea(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),jn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),xr(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):X()});function j(Te){return me.getNodeHref(Te,a)}function ae(Te){ne(),O("handleClick",{node:Te})}function fe(Te){let at={};d[Te]||(at[Te]=!0),t(3,d=at)}function ne(){t(3,d={}),t(4,g=!1)}function se(){ce(),Z()}function Se(){t(4,g=!g)}function ie(Te,at){const nt=Te==="undefined",Qt=Te.indexOf(c)===0;if(nt||Qt||De(at))return!0}function De(Te){const at=Te.find(Zt=>le.isObject(Zt.category));if(!at)return;const nt=at.category.label||at.category.id;return Te.filter(Zt=>Zt.category===nt&&Zt.hideFromNav===!0).length===1}const Ge=Te=>ae(Te),Ce=Te=>ae(Te),Pe=Te=>fe(Te),Ue=Te=>ae(Te),dt=Te=>fe(Te),ze=Te=>ae(Te);function ht(Te){Je[Te?"unshift":"push"](()=>{L=Te,t(15,L)})}const Ut=Te=>ae(Te),de=(Te,at)=>fe(Te+at),et=(Te,at)=>fe(Te+at),Ct=Te=>ae(Te);function rn(Te){Je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function An(Te){Je[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const sn=Te=>fe(Te.name);function Wt(Te){Je[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,ae,fe,ne,se,Se,b,N,I,V,L,H,n,C,z,j,ie,o,a,p,Ge,Ce,Pe,Ue,dt,ze,ht,Ut,de,et,Ct,rn,An,sn,Wt]}class kp extends Ot{constructor(e){super(),Vt(this,e,S9,g9,Rt,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,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 h_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&p_(i),o=i[0]&&i[3].length>=0&&w_(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-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){E(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=p_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=w_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),a&&a.d(),o&&o.d()}}}function p_(i){let e,t=Re(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=v_(g_(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-fn8cef")},m(l,r){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Re(l[0]);let a;for(a=0;a<t.length;a+=1){const o=g_(l,t,a);n[a]?n[a].p(o,r):(n[a]=v_(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&&A(e),ct(n,l)}}}function m_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&b_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(N,I){E(N,e,I),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=b_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function b_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?y9:C9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function C9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){E(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&&A(e)}}}function y9(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-fn8cef")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&A(e)}}}function v_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&m_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=m_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function w_(i){let e,t=Re(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=C_(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-nested-list svelte-fn8cef")},m(l,r){E(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Re(l[0]);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]=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&&A(e),ct(n,l)}}}function k_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&S_(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=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(N,I){E(N,e,I),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(n,"click",bt(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=S_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function S_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?I9:P9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),E(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){a&&A(t),r.d(a)}}}function P9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){E(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&&A(e)}}}function I9(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-fn8cef")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&A(e)}}}function C_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&k_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=k_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function N9(i){let e,t,n,l=i[2]&&__(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),E(r,e,a),t||(n=[ee(window,"click",ds),ee(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=__(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&A(e),l&&l.d(r),t=!1,Ye(n)}}}function ds(){}function T9(i,e,t){let n;const l=Yt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=St("store"),g=St("getTranslation");ki(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};ln(()=>{mn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),jn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function N(O){return Lt.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function L(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,ds,v,n,g,y,P,N,I,b,m,o,L,H,D]}class L9 extends Ot{constructor(e){super(),Vt(this,e,T9,N9,Rt,{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 ds}}function A9(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){E(t,e,n),i[4](e)},p:qe,i:qe,o:qe,d(t){t&&A(e),i[4](null)}}}function E9(i,e,t){const n=Yt();let{pathData:l}=e,r,a={},o,c=St("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};ln(()=>{mn.doOnStoreChange(c,()=>{},["navigation"])}),jn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=st.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?Lt.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const L=await p(I);L&&C.push({label:L,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await Bt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(I,D);C.push({label:O.label,node:I,route:V});continue}catch{}}const L=await p(I);L&&C.push({label:L,node:I,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,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(N=>{a[N.route]=N}))}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 Lt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(st.getCurrentPath(),v),y=await Bt.extractDataFromPath(C);return me.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,h=v.showBreadcrumb)},[o,h,l,b,m]}class Sp extends Ot{constructor(e){super(),Vt(this,e,E9,A9,Rt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";Bn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),qo="disabled"):i.data==="luigi.tpcEnabled"&&(qo="enabled")},!1);function R9(){return qo}const{Boolean:D9,window:y_}=ml;function P_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function I_(i){let e,t;return e=new _2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function N_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new sp({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Fe(e.$$.fragment)},m(a,o){Oe(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&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 T_(i){let e,t,n=i[154].mfModal.displayed&&N_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=N_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function L_(i){let e,t;return e=new sp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[V9]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&4096|l[5]&4&&(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 V9(i){let e,t;return e=new pl({props:{area:"drawer",disable:i[12]}}),{c(){Fe(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 A_(i){let e,t;return e=new b2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function E_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new V2({props:r}),Je.push(()=>kt(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Fe(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],wt(()=>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 O9(i){let e,t,n,l,r,a,o,c;e=new pl({props:{disable:i[12],$$slots:{default:[F9]},$$scope:{ctx:i}}});let h=i[10]&&D_(),d=!i[25]&&V_(i),g=!i[20]&&O_(i),p=!(i[20]||i[22])&&F_(i),b=i[15]&&!i[20]&&U_(i);return{c(){Fe(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){Oe(e,m,v),E(m,t,v),h&&h.m(m,v),E(m,n,v),d&&d.m(m,v),E(m,l,v),g&&g.m(m,v),E(m,r,v),p&&p.m(m,v),E(m,a,v),b&&b.m(m,v),E(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=D_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(ve(),U(d,1,1,()=>{d=null}),we()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=V_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(ve(),U(g,1,1,()=>{g=null}),we()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=O_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[22]?p&&(ve(),U(p,1,1,()=>{p=null}),we()):p?(p.p(m,v),v[0]&5242880&&R(p,1)):(p=F_(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=U_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ve(),U(b,1,1,()=>{b=null}),we())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){m&&(A(t),A(n),A(l),A(r),A(a),A(o)),Me(e,m),h&&h.d(m),d&&d.d(m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new pl({props:{disable:i[12]}});let C=!i[25]&&B_(i),y=!(i[20]||i[22])&&H_(i),P=i[19]&&W_(i);b=new pl({props:{disable:i[12],$$slots:{default:[U9]},$$scope:{ctx:i}}});let N=i[10]&&G_();return{c(){Fe(e.$$.fragment),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),C&&C.c(),o=W(),c=S("div"),y&&y.c(),h=W(),d=S("div"),P&&P.c(),g=W(),p=S("div"),Fe(b.$$.fragment),m=W(),N&&N.c(),f(a,"class","fd-tool-layout__header-container"),f(r,"class","fd-tool-layout__container"),f(p,"class","lui-box svelte-qmtge1"),f(d,"class","fd-tool-layout__content-container svelte-qmtge1"),f(c,"class","fd-tool-layout__container lui-main-content"),f(l,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(n,"class","lui-core-layout svelte-qmtge1")},m(I,V){Oe(e,I,V),E(I,t,V),E(I,n,V),w(n,l),w(l,r),w(r,a),C&&C.m(a,null),w(l,o),w(l,c),y&&y.m(c,null),w(c,h),w(c,d),P&&P.m(d,null),w(d,g),w(d,p),Oe(b,p,null),w(p,m),N&&N.m(p,null),v=!0},p(I,V){const L={};V[0]&4096&&(L.disable=I[12]),e.$set(L),I[25]?C&&(ve(),U(C,1,1,()=>{C=null}),we()):C?(C.p(I,V),V[0]&33554432&&R(C,1)):(C=B_(I),C.c(),R(C,1),C.m(a,null)),I[20]||I[22]?y&&(ve(),U(y,1,1,()=>{y=null}),we()):y?(y.p(I,V),V[0]&5242880&&R(y,1)):(y=H_(I),y.c(),R(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&R(P,1)):(P=W_(I),P.c(),R(P,1),P.m(d,g)):P&&(ve(),U(P,1,1,()=>{P=null}),we());const H={};V[0]&4096&&(H.disable=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=G_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(R(e.$$.fragment,I),R(C),R(y),R(P),R(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){I&&(A(t),A(n)),Me(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Me(b),N&&N.d()}}}function R_(i){let e,t;return e=new up({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Fe(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 F9(i){let e,t,n,l,r,a,o,c,h;t=new pl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&R_(i);return{c(){e=S("div"),Fe(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Jt(e,"lui-split-view",i[11].displayed),Jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){E(g,e,p),Oe(t,e,null),w(e,n),w(e,l),E(g,r,p),d&&d.m(g,p),E(g,a,p),o=!0,c||(h=J_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&Jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=R_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ve(),U(d,1,1,()=>{d=null}),we())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(A(e),A(r),A(a)),Me(t),d&&d.d(g),c=!1,h()}}}function D_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function V_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],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.customSearchItemRendererSlot=i[2]),e=new vp({props:b}),Je.push(()=>kt(e,"isSearchFieldVisible",c)),Je.push(()=>kt(e,"displaySearchResult",h)),Je.push(()=>kt(e,"searchResult",d)),Je.push(()=>kt(e,"inputElem",g)),Je.push(()=>kt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Fe(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),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],wt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],wt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],wt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],wt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],wt(()=>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 O_(i){let e,t,n,l;e=new L9({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&M_(i);return{c(){Fe(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Oe(e,a,o),E(a,t,o),r&&r.m(a,o),E(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=M_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(A(t),A(n)),Me(e,a),r&&r.d(a)}}}function M_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Fe(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 F_(i){let e,t;return e=new fp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Fe(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 U_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Fe(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 B_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],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.customSearchItemRendererSlot=i[2]),e=new vp({props:b}),Je.push(()=>kt(e,"isSearchFieldVisible",c)),Je.push(()=>kt(e,"displaySearchResult",h)),Je.push(()=>kt(e,"searchResult",d)),Je.push(()=>kt(e,"inputElem",g)),Je.push(()=>kt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Fe(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),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],wt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],wt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],wt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],wt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],wt(()=>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 H_(i){let e,t,n,l;return n=new fp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Fe(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){E(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&&A(e),Me(n)}}}function W_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Fe(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 q_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Fe(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 z_(i){let e,t;return e=new up({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Fe(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 U9(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&q_(i),p=i[11].displayed&&z_(i);return{c(){e=S("div"),Fe(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Jt(e,"lui-split-view",i[11].displayed),Jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){E(b,e,m),Oe(t,e,null),w(e,n),w(e,l),E(b,r,m),g&&g.m(b,m),E(b,a,m),p&&p.m(b,m),E(b,o,m),c=!0,h||(d=J_(i[46].call(null,e)),h=!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]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=q_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=z_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(A(e),A(r),A(a),A(o)),Me(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function G_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function B9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&I_(i),b=Re(i[28]),m=[];for(let L=0;L<b.length;L+=1)m[L]=T_(P_(i,b,L));const v=L=>U(m[L],1,1,()=>{m[L]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&L_(i),y=i[27].displayed&&A_(i),P=i[17].displayed&&E_(i);const N=[M9,O9],I=[];function V(L,H){return L[30]?0:1}return o=V(i),c=I[o]=N[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let L=0;L<m.length;L+=1)m[L].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[24]),f(e,"class","svelte-qmtge1"),Jt(e,"no-nav",i[20]),Jt(e,"no-side-nav",i[22]),Jt(e,"no-top-nav",i[25]),Jt(e,"no-animation",i[23]),Jt(e,"btp-layout",i[30])},m(L,H){E(L,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D]&&m[D].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),I[o].m(e,null),h=!0,d||(g=[ee(y_,"resize",i[36]),ee(y_,"keydown",i[47])],d=!0)},p(L,H){if(L[26]&&L[26].length?p?(p.p(L,H),H[0]&67108864&&R(p,1)):(p=I_(L),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=Re(L[28]);let D;for(D=0;D<b.length;D+=1){const O=P_(L,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=T_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}L[29].displayed&&L[29].settings.isDrawer?C?(C.p(L,H),H[0]&536870912&&R(C,1)):(C=L_(L),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),L[27].displayed?y?(y.p(L,H),H[0]&134217728&&R(y,1)):(y=A_(L),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),L[17].displayed?P?(P.p(L,H),H[0]&131072&&R(P,1)):(P=E_(L),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(L,H),(!h||H[0]&16777216)&&f(e,"configversion",L[24]),(!h||H[0]&1048576)&&Jt(e,"no-nav",L[20]),(!h||H[0]&4194304)&&Jt(e,"no-side-nav",L[22]),(!h||H[0]&33554432)&&Jt(e,"no-top-nav",L[25]),(!h||H[0]&8388608)&&Jt(e,"no-animation",L[23])},i(L){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(L){U(p),m=m.filter(D9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(L){L&&A(e),p&&p.d(),ct(m,L),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Ye(g)}}}function H9(i,e,t){const n=Yt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,N,I,V,L,H,D,O,z,Q,Z,ce,X=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,De=!1,Ge,Ce,Pe={},Ue,dt,ze,ht=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ut}=e,{inputElem:de}=e,{customSearchItemRendererSlot:et}=e,{displaySearchResult:Ct}=e,{searchResult:rn}=e,{storedUserSettings:An}=e;const sn=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ke=await te.readUserSettings(),Ie=Ee&&typeof Ke=="object"&&Ke!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ke[Ee]:null,anchor:cl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ae.specialIframeTypes.map(Be=>Be.iframeConfigKey).forEach(Be=>{he[Be]=B[Be]||!1}),he},Wt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||I,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await sn(B)),authData:dl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},at=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Cn(B.params),Ke=st.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ke,ue.iframe.luigi.pathParams,":",!1):Ke,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:I}),ue.iframe.pv="pv"}},nt=(B,ue,Ee,Ke)=>{let Ie=Cn(B.params,Ee,Ke);const{preventHistoryEntry:he,preserveQueryParams:Be,preventContextUpdate:yt}=B.params,zt={keepBrowserHistory:!he,navSync:X,preventContextUpdate:yt};return Ie=le.addLeadingSlash(Ie),Ie=Be?me.composeSearchParamsToRoute(Ie):Ie,at(B,ue),st.navigateTo(Ie,zt)},Qt=B=>B.split("?")[0],Zt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ke=[...B].pop();return[Qt(Ke.path),Qt(Ke.nextPath)].includes(Qt(Ee))},En=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},At=B=>new Promise((ue,Ee)=>{Di(B)?zl().then(()=>{En(),ue()},()=>{Ee()}):ue()}),_n=()=>({get:()=>({unsavedChanges:se,hideNav:ni,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:I,pathParams:L,hideGlobalSearch:Ei,hideSideNav:ci,isolateView:Q,pageErrorHandler:Z,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:X}),set:B=>{B&&(t(23,Ri=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ni=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,L=B.pathParams):ue==="hideGlobalSearch"?t(21,Ei=B.hideGlobalSearch):ue==="hideSideNav"?(ci!=B.hideSideNav&&(t(23,Ri=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ci=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(ze),ze=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(ze)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(X=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Di,getUnsavedChangesModalPromise:At,showUnsavedChangesModal:zl,showAlert:qt,prepareInternalData:sn,dispatch:n}),ti=(B,ue)=>{mn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Kn.deleteCache();const Ke=st.getCurrentPath();st.handleRouteChange(Ke,_n(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ke)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ke||{};Zt(ne,Ee)||(ne=[],oi.removeInactiveIframes(B));for(let yt=Y.length;yt--;)Zi(yt);ta.removeBackdrop(),fi(),st.handleRouteChange(Ee,_n(),B,ue,Ie,he)})},Kt=(B,ue)=>le.replaceVars(st.getNodePath(B),ue,":",!1),Cn=(B,ue,Ee)=>{const Ke=ue||D,Ie=Ee||L;let he=ae;if(ue){let yt=ue.parent;for(he=[ue];yt;)he.push(yt),yt=yt.parent;he=[...he].reverse()}let Be=B.link;if(B.fromVirtualTreeRoot){const yt=[...he].reverse().find(zt=>zt.virtualTree);if(!yt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Be=st.concatenatePath(Kt(yt,Ie),B.link)}else if(B.fromParent)Be=st.concatenatePath(Kt(Ke.parent,Ie),B.link);else if(B.fromClosestContext){const yt=[...he].reverse().find(zt=>zt.navigationContext&&zt.navigationContext.length>0);Be=st.concatenatePath(Kt(yt,Ie),B.link)}else if(B.fromContext){const yt=B.fromContext,zt=[...he].reverse().find(Tr=>yt===Tr.navigationContext);Be=st.concatenatePath(Kt(zt,Ie),B.link)}else B.intent?Be=me.getIntentPath(B.link):B.relative&&(Be=st.concatenatePath(Kt(Ke,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Be+=Be.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((yt,zt)=>{Be+=encodeURIComponent(me.getContentViewParamPrefix()+yt[0])+"="+encodeURIComponent(yt[1])+(zt<Object.keys(B.nodeParams).length-1?"&":"")})),Be},Si=B=>{const ue=B.detail.node;At().then(()=>{if($e(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);vn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Cr(Ee,ue.drawer)}else _n().set({isNavigationSyncEnabled:!0}),st.handleRouteClick(ue,_n())},()=>{})},Ci=()=>{t(16,De=!De)};jr("handleNavigation",nt);const bn=B=>B?!0:(console.warn("No search provider defined."),!1),yi=()=>{bn(Ce)&&t(0,Ut=!1)},Pi=()=>{bn(Ce)&&de&&(t(0,Ut=!0),de.focus())},Ii=()=>{bn(Ce)&&de&&(t(1,de.value="",de),Li())},Ni=()=>{t(0,Ut=!Ut),Mk.clearSearchField()},Ti=()=>{if(bn(Ce)&&de)return de.value},vl=B=>{bn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},wl=B=>{bn(Ce)&&de&&t(1,de.placeholder=B,de)},kl=B=>{if(bn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,et,ue)}else t(3,Ct=!0),t(4,rn=B);else console.warn("Search result array is empty.")},Li=()=>{if(bn(Ce)&&(t(3,Ct=!1),t(4,rn=[]),et))for(;et.lastElementChild;)et.removeChild(et.lastElementChild)},ji=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};nt(Ee)},Ji=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=gt.getDefaultData().mfSplitView),gt.open(_n(),B,ue)},fi=()=>{gt.close(_n())},Sl=()=>{gt.collapse(_n()),t(11,o.collapsed=!0,o)},Cl=()=>{gt.expand(_n()),t(11,o.collapsed=!1,o)},Yi=()=>o.displayed?o.collapsed:!1,yl=()=>o.displayed?!o.collapsed:!1,Pl=()=>o.displayed,Il=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ai=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)},Nl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ni,Ei,ci,Ri,di,K,be;const $e=()=>{document.body.classList.remove("lui-leftNavToggle")},it=()=>{Xi();const B=window.innerWidth>=cn.desktopMinWidth&&di<cn.desktopMinWidth,ue=window.innerWidth<cn.desktopMinWidth&&di>=cn.desktopMinWidth;(B||ue)&&$e(),di=window.innerWidth};let lt=[];const vt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},qt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ke=lt;return B.id||(B.id=le.getRandomId()),B.id&&Ke&&vt(Ke,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(()=>{vt(lt,B.id)&&Xt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,lt=[...Ke||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Xt=(B,ue)=>{const Ee=vt(lt,B);if(!Ee){console.error("An unexisting alert has been dismissed.",lt,B);return}if(t(26,lt=lt.filter(Ke=>Ke.settings.id!==B)),Ee.openFromClient){const Ke=oi.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ke,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},hi=B=>{Xt(B.detail.id,B.detail.dismissKey)};let Qi;const Tl=()=>{t(27,Qi={displayed:!1,content:{},openFromClient:!1,promise:null})};Tl();const gi=(B,ue=!1,Ee)=>new Promise((Ke,Ie)=>{t(27,Qi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ke,reject:Ie},targetIframe:Ee})}),Ll=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ke}=Qi;if(Tl(),B?ue.resolve():ue.reject(),Ee&&Ke){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ke,Ie)}},Di=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},zl=()=>gi({header:Lt.getTranslation("luigi.unsavedChangesAlert.header"),body:Lt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Lt.getTranslation("luigi.button.dismiss"),buttonConfirm:Lt.getTranslation("luigi.button.confirm")}),Sr=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;jr("getUnsavedChangesModalPromise",At);let Y=[];const Dt=(B,ue)=>{var Ke;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ke=Ee==null?void 0:Ee.mfModal)!=null&&Ke.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Dt();const vn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ke={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ke]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&st.appendModalDataToUrl(B,ue)},ii=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},na=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Zi=(B,ue,Ee)=>{const Ke=(Be,yt)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&st.removeModalDataFromUrl(yt),Dt(Be,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?At(Ie.modalIframe.contentWindow).then(()=>{Ke(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ke(B,ue),he&&he.doResolve(Ee))};jr("openViewInModal",vn);let an={};const Gl=()=>{t(29,an.displayed=!1,an),t(29,an.nodepath=void 0,an),t(29,an.settings={},an),t(12,g=!1)};Gl();const Cr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,an.displayed=!0,an),t(29,an.nodepath=B,an),t(29,an.settings=ue,an),an.settings&&an.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=cn.desktopMinWidth&&an.displayed&&an.settings&&!an.settings.overlap,Xi=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ke=>{Ke==null||Ke.style.removeProperty("width")});else{const{width:Ke}=getComputedStyle(ue);Ee.forEach(Ie=>{yr(Ie,Ke)})}},yr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Xi()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,Xi()},Kl=B=>{d=B.detail.activeDrawer},jl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?At(p.contentWindow).then(()=>{Gl()},()=>{}):m&&At().then(()=>{Gl()},()=>{}),Xi(!0)}catch(ue){console.log(ue)}},bs=()=>{const B=gr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Pe.displayed=!1,Pe)},aa=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ke=Kt(D,L);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Be=>Be.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Kt(Ie,L);Ee=Ke.split(he).join("")}else if(B.fromParent){const Ie=Kt(D.parent,L);Ee=Ke.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Be=>Be.navigationContext&&Be.navigationContext.length>0),he=Kt(Ie,L);Ee=Ke.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(yt=>Ie===yt.navigationContext),Be=Kt(he,L);Ee=Ke.split(Be).join("")}else Ee=Ke;return Ee};function vs(B){sessionStorage.removeItem("historyState"),dr.shouldPreload=!0,dr.preload(!0),dr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ke=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Lt.addCurrentLocaleChangeListener(he=>{const Be={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Be)}),Bn.addEventListener("popstate",async he=>{const Be=lt;if(!Be||!(Be.length>0))return;const yt=Be.map(zt=>{if(zt&&!zt.openFromClient&&typeof zt.settings.ttl=="number"){if(zt.settings.ttl===0)return null;zt.settings.ttl--}return zt}).filter(zt=>zt);t(26,lt=yt)}),Bn.addEventListener("message",async he=>{const Be=Ae.getValidMessageSource(he),yt=Y[Y.length-1],zt=yt&&yt.modalIframe,Tr=yt&&yt.modalIframeData,xi={modalIframe:zt,modalIframeData:Tr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!Be)return;Be._ready=!0;const Lr=Ae.getSpecialIframeMessageSource(he,xi),Vi=Lr&&Lr.length>0,Ar=te.getConfigValue("communication.skipEventsWhenInactive");if(Ar&&Ar.length>0&&!Vi&&Be.contentWindow!==window&&!le.isElementVisible(Be)&&Ar.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const He=te.getConfigValue("communication.customMessagesListeners")||{},Nt=ss.convertCustomMessageInternalToUser(he.data),Pt=He[Nt.id],on="luigi.updateUserSettings";if(Pe&&Nt.id===on){Pt&&console.warn(`The key "${on}" is not allowed to use for custom messages.`);return}if(typeof Pt=="function"){const yn=Ki.getMicrofrontends().find($t=>Ae.isMessageSource(he,$t.container));Pt(Nt,yn,le.removeInternalProperties(Be.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Nt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Be.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Be.luigi.viewUrl=Be.luigi.nextViewUrl,Be.luigi.nextViewUrl="",Be.luigi.clientPermissions=Be.luigi.nextClientPermissions,delete Be.luigi.nextClientPermissions,Ie.navigateOk=!0,dr.preload()),he.data.msg==="luigi.get-context"){if(Be.luigi.clientVersion=he.data.clientVersion,Be.luigi.initOk=!1,Vi)Lr.forEach(async He=>{let Nt=xi[He.dataKey].context;const Pt={...Ie,iframe:xi[He.iframeKey],context:Nt,pathParams:xi[He.dataKey].pathParams,nodeParams:xi[He.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(xi[He.iframeKey].luigi.currentNode),modal:He.iframeKey.startsWith("modal"),drawer:He.iframeKey.startsWith("drawer"),splitView:He.iframeKey.startsWith("splitView")};await Wt(Pt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Wt(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Ir(),dr.preload();else if(Be.luigi.preloading)await Wt({iframe:Be,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let He=gr.findActiveCustomUserSettingsIframe(he.source);if(He){let Nt=He.getAttribute("userSettingsGroup"),Pt={context:{userSettingsData:An[Nt]},iframe:He};await Wt(Pt)}}dr.viewGroupLoaded(Be)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(ze),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const He=window.location.href,Nt=Vi?Be.luigi.currentNode:void 0,Pt=Vi?Be.luigi.pathParams:void 0,on=he.data.params,{intent:yn,newTab:$t,modal:el,splitView:Ql,drawer:Al,withoutSync:Ls}=on;let Zl=$t||el||Ql||Al;const ga=()=>{const Jn=le.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doResolve()},hn=()=>{const Jn=le.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doReject()},El=Jn=>{!Jn||He!==window.location.href?ga():hn()};he.source!==window&&!yn&&on.link&&(on.link=on.link.split("?")[0]);let Mt=Cn(he.data.params,Nt,Pt);if(Zl=Zl||yn&&Mt.external,!Zl)At().then(()=>{X=!he.data.params.withoutSync,nt(he.data,Ie,Nt,Pt).then(()=>{El(!0)}).catch(()=>{hn()}),Y.forEach((Jn,_a)=>{Zi(_a)}),fi(),jl(),X=!0}).catch(()=>{hn()});else{if(yn&&Mt.external){st.navigateToExternalLink({url:Mt.url,sameWindow:!Mt.openInNewTab});return}if(Mt=le.addLeadingSlash(Mt),$t){await aa(Mt),El();return}const Jn=await Yl(Mt);if(Mt=await me.handlePageNotFoundAndRetrieveRedirectPath(_n(),Mt,Jn),!Mt){hn();return}fe=B,el!==void 0?(!el.keepPrevious&&Dt(),await vn(Mt,el===!0?{}:el,Be),El()):Ql!==void 0?(await Ji(Mt,Ql),El()):Al!==void 0&&(Gl(),Al.isDrawer=!0,await Cr(Mt,Al),El())}}if(he.data.msg==="luigi.navigation.back"){const He=Y[Y.length-1],Nt=Y.length>1&&Y[Y.length-2],Pt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,He&&He.modalIframe)){Zi(Y.length-1,!0,Pt);let on=Ie;if(Nt&&Nt.modalIframeData&&Nt.modalIframe){const yn=Nt,$t=yn.modalIframeData;on={pathParams:$t.pathParams,context:$t.context,iframe:yn.modalIframe}}on.iframe&&await Wt(on,{goBackContext:Pt})}else Ae.isMessageSource(he,C)?(fi(),Ie.iframe&&await Wt(Ie,{goBackContext:Pt})):Ae.isMessageSource(he,p)?(d&&(d=!d),jl(),Ie.iframe&&await Wt(Ie,{goBackContext:Pt})):ne&&ne.length>0?At().then(()=>{oi.setActiveIframeToPrevious(B);const on=ne.pop();Ie.iframe=oi.getActiveIframe(B),G=!0,ne=ne,j=Pt,nt({params:{link:on.path}},Ie)},()=>{}):(Pt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const He=he.data.data,Pt={msg:"luigi.navigation.currentRoute.answer",data:{route:Jl(He),correlationId:He.id}};Ae.sendMessageToIframe(Be,Pt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Vi){const He=le.addLeadingSlash(Cn(he.data.params,Be.luigi.currentNode,Be.luigi.pathParams));st.updateModalDataInUrl(He,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const He=Be.luigi.currentNode,Nt=Be.luigi.pathParams,Pt=he.data.data,on=Cn(Pt,He,Nt),yn=on?await Bt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),on):!1,$t={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Pt.id,pathExists:yn?yn.isExistingRoute:!1}};Ae.sendMessageToIframe(Be,$t)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const He=new Set;He.add(he.source),se={dirtySet:He}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const He=he.data.data.settings;fe=B,Tl(),gi(He,!0,Be).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:He}=he.data.data;if(!He.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,qt(He,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Be.luigi.clientPermissions&&Be.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:He}=he.data.data;He&&Lt.setCurrentLocale(He)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Ge&&!Ge.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&Pr(),he.data.msg==="storage"&&u2.process(Be.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let He=Be.luigi.currentNode;He&&He.runTimeErrorHandler&&le.isFunction(He.runTimeErrorHandler.errorFn)?He.runTimeErrorHandler.errorFn(he.data.errorObj,He):Ke&&le.isFunction(Ke.errorFn)&&Ke.errorFn(he.data.errorObj,He)}if(he.data.msg==="luigi.addSearchParams")if(Be.luigi.currentNode.clientPermissions&&Be.luigi.currentNode.clientPermissions.urlParameters){const{data:He,keepBrowserHistory:Nt}=he.data;me.addSearchParamsFromClient(Be.luigi.currentNode,He,Nt)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Vi)return;const{data:He,keepBrowserHistory:Nt}=he.data;cl.addNodeParams(He,Nt)}if(he.data.msg==="luigi.setAnchor"){const{anchor:He}=he.data;cl.setAnchor(He)}if(he.data.msg==="luigi.setVGData"){const He=he.data,Nt=re.findViewGroup(Be.luigi.currentNode);if(Nt){const Pt=re.getViewGroupSettings(Nt);Pt._liveCustomData=He.data,te.configChanged("navigation.viewgroupdata")}}}),ti(B,Ie)}jr("store",l),jr("getTranslation",r);const Pr=B=>{Ge&&Ge.thirdPartyCookieErrorHandling&&le.isFunction(Ge.thirdPartyCookieErrorHandling)&&Ge.thirdPartyCookieErrorHandling()};function Ir(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(ze),t(10,a=!1)},250)):clearTimeout(ze)}const Yl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Cn(ue),Ke=Ee?await Bt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ke?Ke.isExistingRoute:!1},$i=()=>Y.length>0||ne.length!==0;ln(()=>{if(Ho._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),di=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Ue=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Ue=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}Ge=te.getConfigValue("settings.thirdPartyCookieCheck"),Ge&&Ge.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=Ge.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{R9()==="disabled"&&Pr()}),document.body.removeChild(B)}})}),xr(()=>{Xi()}),jn(()=>{t(19,dt=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===ql&&Y&&Y.length>0&&Zi(Y.length-1)},oa=B=>Zi(B,!0),ws=(B,ue)=>ii(ue,B),ua=(B,ue)=>na(ue,B),fa=()=>Ll(!0),ca=()=>Ll(!1);function da(B){An=B,t(5,An)}function ks(B){Ut=B,t(0,Ut)}function Ss(B){Ct=B,t(3,Ct)}function Cs(B){rn=B,t(4,rn)}function ha(B){de=B,t(1,de)}function ys(B){et=B,t(2,et)}function Ps(B){Ut=B,t(0,Ut)}function Is(B){Ct=B,t(3,Ct)}function Ns(B){rn=B,t(4,rn)}function Nr(B){de=B,t(1,de)}function Ts(B){et=B,t(2,et)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ut=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,et=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Ct=B.displaySearchResult),"searchResult"in B&&t(4,rn=B.searchResult),"storedUserSettings"in B&&t(5,An=B.storedUserSettings)},[Ut,de,et,Ct,rn,An,Ni,Li,ji,ra,a,o,g,L,ae,ie,De,Pe,Ue,dt,ni,Ei,ci,Ri,K,be,lt,Qi,Y,an,ht,Si,Ci,Il,Ai,Nl,it,hi,Ll,ii,na,Zi,ms,la,Kl,jl,vs,sa,l,r,yi,Pi,Ii,Ti,vl,wl,kl,Ji,fi,Sl,Cl,Yi,yl,Pl,qt,gi,Sr,bs,Jl,Yl,$i,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Nr,Ts]}class W9 extends Ot{constructor(e){super(),Vt(this,e,H9,B9,Rt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const q9=()=>{const{subscribe:i,update:e,reset:t}=br({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Cp=q9(),z9=Lk((i,e,t)=>Lt.getTranslation(i,e,t));Luigi._store=Cp;const G9=()=>new Promise(i=>{Lt._init(),dn.init().then(()=>{setTimeout(()=>{let e;Ki.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new W9({target:Ki.getLuigiContainer(),props:{store:Cp,getTranslation:z9}}),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(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(G9);
64
53
  //# sourceMappingURL=luigi.js.map